call.c:_PyVectorcall_NARGS:
   34|   284k|{
   35|   284k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   284k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   284k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   284k|}
exceptions.c:_PyVectorcall_NARGS:
   34|  53.3k|{
   35|  53.3k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  53.3k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  53.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  53.3k|}
listobject.c:_PyVectorcall_NARGS:
   34|    475|{
   35|    475|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    475|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    475|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    475|}
longobject.c:_PyVectorcall_NARGS:
   34|    111|{
   35|    111|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    111|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    111|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    111|}
dictobject.c:_PyVectorcall_NARGS:
   34|     19|{
   35|     19|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     19|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     19|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     19|}
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|    558|{
   35|    558|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    558|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    558|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    558|}
setobject.c:_PyVectorcall_NARGS:
   34|    107|{
   35|    107|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    107|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    107|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    107|}
tupleobject.c:_PyVectorcall_NARGS:
   34|      4|{
   35|      4|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      4|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|      4|}
typeobject.c:_PyVectorcall_NARGS:
   34|  1.58k|{
   35|  1.58k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  1.58k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.58k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  1.58k|}
unicodeobject.c:_PyVectorcall_NARGS:
   34|     13|{
   35|     13|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     13|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     13|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     13|}
weakrefobject.c:_PyVectorcall_NARGS:
   34|  1.00k|{
   35|  1.00k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  1.00k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.00k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  1.00k|}
bltinmodule.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|}
import.c:PyObject_CallMethodOneArg:
   70|     33|{
   71|     33|    PyObject *args[2] = {self, arg};
   72|     33|    size_t nargsf = 2 | 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))
  |  |  ------------------
  ------------------
   73|     33|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 33, False: 0]
  ------------------
   74|     33|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     33|#  define _Py_NULL NULL
  ------------------
   75|     33|}
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|    101|{
   64|    101|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    101|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    101|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    101|#  define _Py_NULL NULL
  ------------------
   66|    101|}
iobase.c:PyObject_CallMethodNoArgs:
   63|    196|{
   64|    196|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    196|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    196|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    196|#  define _Py_NULL NULL
  ------------------
   66|    196|}
fileio.c:PyObject_CallMethodOneArg:
   70|     95|{
   71|     95|    PyObject *args[2] = {self, arg};
   72|     95|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     95|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     95|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     95|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 95, False: 0]
  ------------------
   74|     95|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     95|#  define _Py_NULL NULL
  ------------------
   75|     95|}
bytesio.c:_PyVectorcall_NARGS:
   34|  16.8k|{
   35|  16.8k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  16.8k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  16.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  16.8k|}
bufferedio.c:PyObject_CallMethodNoArgs:
   63|    307|{
   64|    307|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    307|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    307|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    307|#  define _Py_NULL NULL
  ------------------
   66|    307|}
bufferedio.c:_PyVectorcall_NARGS:
   34|     95|{
   35|     95|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     95|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     95|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     95|}
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|      2|{
   71|      2|    PyObject *args[2] = {self, arg};
   72|      2|    size_t nargsf = 2 | 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))
  |  |  ------------------
  ------------------
   73|      2|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 2, False: 0]
  ------------------
   74|      2|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
   75|      2|}
_abc.c:PyObject_CallMethodOneArg:
   70|     78|{
   71|     78|    PyObject *args[2] = {self, arg};
   72|     78|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     78|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     78|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     78|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 78, False: 0]
  ------------------
   74|     78|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     78|#  define _Py_NULL NULL
  ------------------
   75|     78|}
_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|   403k|{
   35|   403k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   403k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   403k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   403k|}
abstract.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|}
boolobject.c:_PyVectorcall_NARGS:
   34|      6|{
   35|      6|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      6|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|      6|}
bytearrayobject.c:_PyVectorcall_NARGS:
   34|      4|{
   35|      4|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      4|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|      4|}
descrobject.c:_PyVectorcall_NARGS:
   34|  19.7k|{
   35|  19.7k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  19.7k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  19.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  19.7k|}
descrobject.c:PyObject_CallMethodNoArgs:
   63|     83|{
   64|     83|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     83|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     83|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     83|#  define _Py_NULL NULL
  ------------------
   66|     83|}
enumobject.c:_PyVectorcall_NARGS:
   34|     33|{
   35|     33|    return n & ~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))
  |  |  ------------------
  ------------------
   36|     33|}
fileobject.c:PyObject_CallMethodNoArgs:
   63|    190|{
   64|    190|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    190|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    190|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    190|#  define _Py_NULL NULL
  ------------------
   66|    190|}
methodobject.c:_PyVectorcall_NARGS:
   34|   834k|{
   35|   834k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   834k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   834k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   834k|}

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

exceptions.c:PyBytes_GET_SIZE:
   29|  4.68k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  4.68k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  4.68k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  4.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 4.68k, False: 0]
  ------------------
   31|  4.68k|    return Py_SIZE(self);
  ------------------
  |  |  214|  4.68k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  4.68k|}
longobject.c:PyBytes_AS_STRING:
   24|    285|{
   25|    285|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    285|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    285|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 285, False: 0]
  ------------------
   26|    285|}
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|  4.79k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  4.79k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  4.79k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  4.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 4.79k, False: 0]
  ------------------
   31|  4.79k|    return Py_SIZE(self);
  ------------------
  |  |  214|  4.79k|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  4.79k|}
unicodeobject.c:PyBytes_AS_STRING:
   24|  4.78k|{
   25|  4.78k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  4.78k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  4.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 4.78k, False: 0]
  ------------------
   26|  4.78k|}
ceval.c:PyBytes_AS_STRING:
   24|  3.76k|{
   25|  3.76k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  3.76k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  3.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 3.76k, False: 0]
  ------------------
   26|  3.76k|}
ceval.c:PyBytes_GET_SIZE:
   29|  3.76k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  3.76k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  3.76k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  3.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 3.76k, False: 0]
  ------------------
   31|  3.76k|    return Py_SIZE(self);
  ------------------
  |  |  214|  3.76k|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  3.76k|}
codecs.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|}
import.c:PyBytes_AS_STRING:
   24|     38|{
   25|     38|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     38|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 38, False: 0]
  ------------------
   26|     38|}
importdl.c:PyBytes_AS_STRING:
   24|     24|{
   25|     24|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     24|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 24, False: 0]
  ------------------
   26|     24|}
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|    723|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|    723|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    723|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    723|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 723, False: 0]
  ------------------
   31|    723|    return Py_SIZE(self);
  ------------------
  |  |  214|    723|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    723|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    723|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|    723|}
posixmodule.c:PyBytes_AS_STRING:
   24|    723|{
   25|    723|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    723|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    723|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 723, False: 0]
  ------------------
   26|    723|}
fileio.c:PyBytes_AS_STRING:
   24|     95|{
   25|     95|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     95|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 95, False: 0]
  ------------------
   26|     95|}
bytesio.c:PyBytes_AS_STRING:
   24|  4.85k|{
   25|  4.85k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  4.85k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  4.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 4.85k, False: 0]
  ------------------
   26|  4.85k|}
bytesio.c:PyBytes_GET_SIZE:
   29|  64.3k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  64.3k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  64.3k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  64.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 64.3k, False: 0]
  ------------------
   31|  64.3k|    return Py_SIZE(self);
  ------------------
  |  |  214|  64.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  64.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  64.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  64.3k|}
bytearrayobject.c:PyBytes_GET_SIZE:
   29|     26|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|     26|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|     26|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 26, False: 0]
  ------------------
   31|     26|    return Py_SIZE(self);
  ------------------
  |  |  214|     26|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     26|}
bytearrayobject.c:PyBytes_AS_STRING:
   24|     26|{
   25|     26|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     26|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 26, False: 0]
  ------------------
   26|     26|}
bytesobject.c:PyBytes_AS_STRING:
   24|  10.8k|{
   25|  10.8k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  10.8k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 10.8k, False: 0]
  ------------------
   26|  10.8k|}
bytesobject.c:PyBytes_GET_SIZE:
   29|  27.0k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  27.0k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  27.0k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  27.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 27.0k, False: 0]
  ------------------
   31|  27.0k|    return Py_SIZE(self);
  ------------------
  |  |  214|  27.0k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  27.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  27.0k|}
codeobject.c:PyBytes_GET_SIZE:
   29|  32.6k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  32.6k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  32.6k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  32.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 32.6k, False: 0]
  ------------------
   31|  32.6k|    return Py_SIZE(self);
  ------------------
  |  |  214|  32.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  32.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  32.6k|}
codeobject.c:PyBytes_AS_STRING:
   24|  23.2k|{
   25|  23.2k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  23.2k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  23.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 23.2k, False: 0]
  ------------------
   26|  23.2k|}
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|     11|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|     11|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|     11|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 11, False: 0]
  ------------------
   31|     11|    return Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     11|}

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

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

call.c:PyDict_GET_SIZE:
   53|  1.54k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  1.54k|    PyDictObject *mp;
   55|  1.54k|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 1.54k, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|  1.54k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  1.54k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|  1.54k|    return mp->ma_used;
   61|  1.54k|#endif
   62|  1.54k|}
exceptions.c:PyDict_GET_SIZE:
   53|     13|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     13|    PyDictObject *mp;
   55|     13|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 13, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     13|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     13|#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|     13|    return mp->ma_used;
   61|     13|#endif
   62|     13|}
listobject.c:PyDict_GET_SIZE:
   53|      5|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      5|    PyDictObject *mp;
   55|      5|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 5, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|      5|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|      5|    return mp->ma_used;
   61|      5|#endif
   62|      5|}
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|  3.16k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  3.16k|    PyDictObject *mp;
   55|  3.16k|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 3.16k, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|  3.16k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  3.16k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|  3.16k|    return mp->ma_used;
   61|  3.16k|#endif
   62|  3.16k|}
ceval.c:PyDict_GET_SIZE:
   53|     97|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     97|    PyDictObject *mp;
   55|     97|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 97, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     97|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|     97|    return mp->ma_used;
   61|     97|#endif
   62|     97|}
compile.c:PyDict_GET_SIZE:
   53|      9|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      9|    PyDictObject *mp;
   55|      9|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 9, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|      9|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|      9|    return mp->ma_used;
   61|      9|#endif
   62|      9|}
flowgraph.c:PyDict_GET_SIZE:
   53|     26|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     26|    PyDictObject *mp;
   55|     26|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 26, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     26|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|     26|    return mp->ma_used;
   61|     26|#endif
   62|     26|}
getargs.c:PyDict_GET_SIZE:
   53|     13|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     13|    PyDictObject *mp;
   55|     13|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 13, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     13|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     13|#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|     13|    return mp->ma_used;
   61|     13|#endif
   62|     13|}
import.c:PyDict_GET_SIZE:
   53|    148|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|    148|    PyDictObject *mp;
   55|    148|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 148, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|    148|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|    148|#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|    148|    return mp->ma_used;
   61|    148|#endif
   62|    148|}
sre.c:PyDict_GET_SIZE:
   53|      3|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      3|    PyDictObject *mp;
   55|      3|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 3, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|      3|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|      3|    return mp->ma_used;
   61|      3|#endif
   62|      3|}
assemble.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|}

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

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

listobject.c:PyList_GET_SIZE:
   30|   400k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   400k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   400k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   400k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 400k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   400k|    return Py_SIZE(list);
  ------------------
  |  |  214|   400k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   400k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   400k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   400k|#endif
   37|   400k|}
listobject.c:PyList_SET_ITEM:
   43|  62.2M|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  62.2M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  62.2M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  62.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 62.2M, False: 0]
  ------------------
   45|  62.2M|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 62.2M, False: 0]
  ------------------
   46|  62.2M|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 62.2M, False: 0]
  ------------------
   47|  62.2M|    list->ob_item[index] = value;
   48|  62.2M|}
dictobject.c:PyList_SET_ITEM:
   43|  2.35k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  2.35k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  2.35k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 2.35k, False: 0]
  ------------------
   45|  2.35k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 2.35k, False: 0]
  ------------------
   46|  2.35k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 2.35k, False: 0]
  ------------------
   47|  2.35k|    list->ob_item[index] = value;
   48|  2.35k|}
typeobject.c:PyList_SET_ITEM:
   43|    227|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    227|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    227|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    227|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 227, False: 0]
  ------------------
   45|    227|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 227, False: 0]
  ------------------
   46|    227|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 227, False: 0]
  ------------------
   47|    227|    list->ob_item[index] = value;
   48|    227|}
unicodeobject.c:PyList_GET_SIZE:
   30|  39.9k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  39.9k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  39.9k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  39.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 39.9k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  39.9k|    return Py_SIZE(list);
  ------------------
  |  |  214|  39.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  39.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  39.9k|#endif
   37|  39.9k|}
unicodeobject.c:PyList_SET_ITEM:
   43|    867|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    867|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    867|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    867|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 867, False: 0]
  ------------------
   45|    867|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 867, False: 0]
  ------------------
   46|    867|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 867, False: 0]
  ------------------
   47|    867|    list->ob_item[index] = value;
   48|    867|}
unionobject.c:PyList_GET_SIZE:
   30|      1|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|      1|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      1|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 1, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|      1|    return Py_SIZE(list);
  ------------------
  |  |  214|      1|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      1|#endif
   37|      1|}
_warnings.c:PyList_SET_ITEM:
   43|     10|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|     10|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     10|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 10, False: 0]
  ------------------
   45|     10|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 10, False: 0]
  ------------------
   46|     10|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 10, False: 0]
  ------------------
   47|     10|    list->ob_item[index] = value;
   48|     10|}
ceval.c:PyList_GET_SIZE:
   30|  9.93k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  9.93k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  9.93k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 9.93k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  9.93k|    return Py_SIZE(list);
  ------------------
  |  |  214|  9.93k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  9.93k|#endif
   37|  9.93k|}
ceval.c:PyList_SET_ITEM:
   43|  11.0k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  11.0k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  11.0k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 11.0k, False: 0]
  ------------------
   45|  11.0k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 11.0k, False: 0]
  ------------------
   46|  11.0k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 11.0k, False: 0]
  ------------------
   47|  11.0k|    list->ob_item[index] = value;
   48|  11.0k|}
compile.c:PyList_GET_SIZE:
   30|     12|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     12|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     12|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 12, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     12|    return Py_SIZE(list);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     12|#endif
   37|     12|}
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|      8|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|      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 (31:26): [True: 8, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|      8|    return Py_SIZE(list);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      8|#endif
   37|      8|}
gc.c:PyList_GET_SIZE:
   30|  18.8k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  18.8k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  18.8k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 18.8k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  18.8k|    return Py_SIZE(list);
  ------------------
  |  |  214|  18.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  18.8k|#endif
   37|  18.8k|}
import.c:PyList_GET_SIZE:
   30|     14|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     14|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     14|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 14, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     14|    return Py_SIZE(list);
  ------------------
  |  |  214|     14|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     14|#endif
   37|     14|}
initconfig.c:PyList_SET_ITEM:
   43|      8|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|      8|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      8|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 8, False: 0]
  ------------------
   45|      8|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 8, False: 0]
  ------------------
   46|      8|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 8, False: 0]
  ------------------
   47|      8|    list->ob_item[index] = value;
   48|      8|}
initconfig.c:PyList_GET_SIZE:
   30|      2|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|      2|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      2|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 2, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|      2|    return Py_SIZE(list);
  ------------------
  |  |  214|      2|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      2|#endif
   37|      2|}
marshal.c:PyList_SET_ITEM:
   43|  1.14k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  1.14k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  1.14k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 1.14k, False: 0]
  ------------------
   45|  1.14k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 1.14k, False: 0]
  ------------------
   46|  1.14k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 1.14k, False: 0]
  ------------------
   47|  1.14k|    list->ob_item[index] = value;
   48|  1.14k|}
marshal.c:PyList_GET_SIZE:
   30|  33.6k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  33.6k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  33.6k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  33.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 33.6k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  33.6k|    return Py_SIZE(list);
  ------------------
  |  |  214|  33.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  33.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  33.6k|#endif
   37|  33.6k|}
specialize.c:PyList_GET_SIZE:
   30|      5|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|      5|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      5|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 5, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|      5|    return Py_SIZE(list);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      5|#endif
   37|      5|}
symtable.c:PyList_GET_SIZE:
   30|      5|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|      5|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      5|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 5, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|      5|    return Py_SIZE(list);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      5|#endif
   37|      5|}
sre.c:PyList_GET_SIZE:
   30|      3|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|      3|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      3|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 3, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|      3|    return Py_SIZE(list);
  ------------------
  |  |  214|      3|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      3|#endif
   37|      3|}
_abc.c:PyList_GET_SIZE:
   30|    966|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|    966|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    966|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    966|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 966, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|    966|    return Py_SIZE(list);
  ------------------
  |  |  214|    966|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    966|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    966|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    966|#endif
   37|    966|}

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|  1.56M|_PyLong_IsCompact(const PyLongObject* op) {
  123|  1.56M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 1.56M, False: 0]
  ------------------
  124|  1.56M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  1.56M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  1.56M|}
longobject.c:_PyLong_CompactValue:
  131|   750k|{
  132|   750k|    Py_ssize_t sign;
  133|   750k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 750k, False: 0]
  ------------------
  134|   750k|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 750k, False: 0]
  ------------------
  135|   750k|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|   750k|#define _PyLong_SIGN_MASK 3
  ------------------
  136|   750k|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 3.19k, False: 747k]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|  3.19k|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 3.19k, False: 0]
  ------------------
  140|  3.19k|    }
  141|   750k|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|   750k|}
ceval.c:_PyLong_CompactValue:
  131|  14.3k|{
  132|  14.3k|    Py_ssize_t sign;
  133|  14.3k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 14.3k, False: 0]
  ------------------
  134|  14.3k|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 14.3k, False: 0]
  ------------------
  135|  14.3k|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  14.3k|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  14.3k|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 5.80k, False: 8.57k]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|  5.80k|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 5.80k, False: 0]
  ------------------
  140|  5.80k|    }
  141|  14.3k|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  14.3k|}
ceval.c:_PyLong_IsCompact:
  122|  46.4k|_PyLong_IsCompact(const PyLongObject* op) {
  123|  46.4k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 46.4k, False: 0]
  ------------------
  124|  46.4k|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  46.4k|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  46.4k|}
specialize.c:_PyLong_CompactValue:
  131|    774|{
  132|    774|    Py_ssize_t sign;
  133|    774|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 774, False: 0]
  ------------------
  134|    774|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 774, False: 0]
  ------------------
  135|    774|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|    774|#define _PyLong_SIGN_MASK 3
  ------------------
  136|    774|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 207, False: 567]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|    207|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 207, False: 0]
  ------------------
  140|    207|    }
  141|    774|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|    774|}
specialize.c:_PyLong_IsCompact:
  122|  1.79k|_PyLong_IsCompact(const PyLongObject* op) {
  123|  1.79k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 1.79k, False: 0]
  ------------------
  124|  1.79k|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  1.79k|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  1.79k|}

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

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

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|    412|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_add_int64:
   31|    412|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_compare_exchange_uint8:
  105|     24|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|     24|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
ceval.c:_Py_atomic_load_uintptr_relaxed:
  375|   518k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_compare_exchange_int:
   70|  4.77k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
   71|  4.77k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_store_int:
  402|  4.77k|{ __atomic_store_n(obj, value, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_load_uint32_relaxed:
  367|  4.70k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_store_uint32_relaxed:
  493|  4.70k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_fence_seq_cst:
  619|  4.70k|{ __atomic_thread_fence(__ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_store_uint32_release:
  597|  4.70k|{ __atomic_store_n(obj, value, __ATOMIC_RELEASE); }
gc.c:_Py_atomic_load_uintptr_relaxed:
  375|  8.66M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_or_uintptr:
  241|  4.77k|{ return __atomic_fetch_or(obj, value, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_load_int_relaxed:
  307|  8.66M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
getargs.c:_Py_atomic_load_uint8:
  272|    807|{ 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:
  593|  2.21k|{ return __atomic_load_n(obj, __ATOMIC_ACQUIRE); }
ceval_gil.c:_Py_atomic_load_int_relaxed:
  307|  4.42k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_ptr_relaxed:
  387|  2.21k|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_store_ptr_relaxed:
  509|  2.21k|{ __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|  4.42k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_and_uintptr:
  218|  6.99k|{ return __atomic_fetch_and(obj, value, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_load_int32_relaxed:
  347|  4.42k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_uintptr_relaxed:
  375|  11.4k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
import.c:_Py_atomic_add_ssize:
   63|     46|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
import.c:_Py_atomic_compare_exchange_uint8:
  105|    100|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|    100|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_uint8_relaxed:
  359|  1.28k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_compare_exchange_uint8:
  105|  6.91k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|  6.91k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_uint8:
  272|      4|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_exchange_uint8:
  171|      4|{ return __atomic_exchange_n(obj, value, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_ullong_relaxed:
  391|  8.94k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_store_ullong_relaxed:
  518|  6.63k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_load_int:
  248|  2.31k|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
pylifecycle.c:_Py_atomic_store_ptr_relaxed:
  509|      2|{ __atomic_store_n((void **)obj, value, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_store_uint64_relaxed:
  497|      2|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_store_int:
  402|      6|{ __atomic_store_n(obj, value, __ATOMIC_SEQ_CST); }
pystate.c:_Py_atomic_load_int:
  248|      4|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
pystate.c:_Py_atomic_compare_exchange_uint8:
  105|      8|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|      8|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
pystate.c:_Py_atomic_load_uintptr_relaxed:
  375|      2|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
pystate.c:_Py_atomic_load_int_relaxed:
  307|  8.84k|{ 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|    285|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|    285|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
fileutils.c:_Py_atomic_load_int_relaxed:
  307|    190|{ 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|    701|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
signalmodule.c:_Py_atomic_load_int:
  248|    701|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
codeobject.c:_Py_atomic_add_uint64:
   55|    845|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }

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

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

call.c:PyTuple_GET_SIZE:
   23|   589k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   589k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   589k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   589k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 589k, False: 0]
  ------------------
   25|   589k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   589k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   589k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   589k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   589k|}
call.c:PyTuple_SET_ITEM:
   33|  1.73k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  1.73k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.73k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 1.73k, False: 0]
  ------------------
   35|  1.73k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 1.73k, False: 0]
  ------------------
   36|  1.73k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 1.73k, False: 0]
  ------------------
   37|  1.73k|    tuple->ob_item[index] = value;
   38|  1.73k|}
exceptions.c:PyTuple_GET_SIZE:
   23|  16.8k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  16.8k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  16.8k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 16.8k, False: 0]
  ------------------
   25|  16.8k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  16.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  16.8k|}
listobject.c:PyTuple_GET_SIZE:
   23|  1.72k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.72k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.72k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.72k, False: 0]
  ------------------
   25|  1.72k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.72k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.72k|}
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|    436|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    436|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    436|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    436|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 436, False: 0]
  ------------------
   35|    436|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 436, False: 0]
  ------------------
   36|    436|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 436, False: 0]
  ------------------
   37|    436|    tuple->ob_item[index] = value;
   38|    436|}
dictobject.c:PyTuple_GET_SIZE:
   23|  1.09k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.09k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.09k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.09k, False: 0]
  ------------------
   25|  1.09k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.09k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.09k|}
moduleobject.c:PyTuple_GET_SIZE:
   23|    118|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    118|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    118|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 118, False: 0]
  ------------------
   25|    118|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    118|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    118|}
sentinelobject.c:PyTuple_GET_SIZE:
   23|      6|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      6|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      6|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 6, False: 0]
  ------------------
   25|      6|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      6|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      6|}
structseq.c:PyTuple_SET_ITEM:
   33|    213|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    213|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    213|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 213, False: 0]
  ------------------
   35|    213|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 213, False: 0]
  ------------------
   36|    213|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 213, False: 0]
  ------------------
   37|    213|    tuple->ob_item[index] = value;
   38|    213|}
tupleobject.c:PyTuple_GET_SIZE:
   23|  1.84k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.84k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.84k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.84k, False: 0]
  ------------------
   25|  1.84k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.84k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.84k|}
tupleobject.c:PyTuple_SET_ITEM:
   33|    828|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    828|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    828|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    828|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 828, False: 0]
  ------------------
   35|    828|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 828, False: 0]
  ------------------
   36|    828|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 828, False: 0]
  ------------------
   37|    828|    tuple->ob_item[index] = value;
   38|    828|}
typeobject.c:PyTuple_GET_SIZE:
   23|  2.91M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  2.91M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  2.91M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 2.91M, False: 0]
  ------------------
   25|  2.91M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  2.91M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.91M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  2.91M|}
typeobject.c:PyTuple_SET_ITEM:
   33|  3.59k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  3.59k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  3.59k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 3.59k, False: 0]
  ------------------
   35|  3.59k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 3.59k, False: 0]
  ------------------
   36|  3.59k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 3.59k, False: 0]
  ------------------
   37|  3.59k|    tuple->ob_item[index] = value;
   38|  3.59k|}
unicodeobject.c:PyTuple_GET_SIZE:
   23|    112|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    112|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    112|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 112, False: 0]
  ------------------
   25|    112|    return Py_SIZE(tuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    112|}
unicodeobject.c:PyTuple_SET_ITEM:
   33|  6.10k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  6.10k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  6.10k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 6.10k, False: 0]
  ------------------
   35|  6.10k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 6.10k, False: 0]
  ------------------
   36|  6.10k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 6.10k, False: 0]
  ------------------
   37|  6.10k|    tuple->ob_item[index] = value;
   38|  6.10k|}
weakrefobject.c:PyTuple_GET_SIZE:
   23|  3.01k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  3.01k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  3.01k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 3.01k, False: 0]
  ------------------
   25|  3.01k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  3.01k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  3.01k|}
weakrefobject.c:PyTuple_SET_ITEM:
   33|  1.94k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  1.94k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.94k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 1.94k, False: 0]
  ------------------
   35|  1.94k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 1.94k, False: 0]
  ------------------
   36|  1.94k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 1.94k, False: 0]
  ------------------
   37|  1.94k|    tuple->ob_item[index] = value;
   38|  1.94k|}
bltinmodule.c:PyTuple_GET_SIZE:
   23|  1.23k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.23k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.23k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.23k, False: 0]
  ------------------
   25|  1.23k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.23k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.23k|}
bltinmodule.c:PyTuple_SET_ITEM:
   33|    142|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    142|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    142|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 142, False: 0]
  ------------------
   35|    142|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 142, False: 0]
  ------------------
   36|    142|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 142, False: 0]
  ------------------
   37|    142|    tuple->ob_item[index] = value;
   38|    142|}
ceval.c:PyTuple_GET_SIZE:
   23|   238k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   238k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   238k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 238k, False: 0]
  ------------------
   25|   238k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   238k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   238k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   238k|}
codecs.c:PyTuple_GET_SIZE:
   23|   585k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   585k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   585k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 585k, False: 0]
  ------------------
   25|   585k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   585k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   585k|}
codecs.c:PyTuple_SET_ITEM:
   33|   586k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   586k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   586k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   586k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 586k, False: 0]
  ------------------
   35|   586k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 586k, False: 0]
  ------------------
   36|   586k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 586k, False: 0]
  ------------------
   37|   586k|    tuple->ob_item[index] = value;
   38|   586k|}
errors.c:PyTuple_GET_SIZE:
   23|    338|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    338|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    338|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 338, False: 0]
  ------------------
   25|    338|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    338|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    338|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    338|}
getargs.c:PyTuple_GET_SIZE:
   23|  10.7k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  10.7k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  10.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 10.7k, False: 0]
  ------------------
   25|  10.7k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  10.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  10.7k|}
import.c:PyTuple_GET_SIZE:
   23|     10|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     10|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     10|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 10, False: 0]
  ------------------
   25|     10|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     10|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     10|}
initconfig.c:PyTuple_GET_SIZE:
   23|      6|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      6|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      6|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 6, False: 0]
  ------------------
   25|      6|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      6|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      6|}
initconfig.c:PyTuple_SET_ITEM:
   33|      2|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|      2|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 2, False: 0]
  ------------------
   35|      2|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 2, False: 0]
  ------------------
   36|      2|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 2, False: 0]
  ------------------
   37|      2|    tuple->ob_item[index] = value;
   38|      2|}
marshal.c:PyTuple_SET_ITEM:
   33|  39.9k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  39.9k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  39.9k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  39.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 39.9k, False: 0]
  ------------------
   35|  39.9k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 39.9k, False: 0]
  ------------------
   36|  39.9k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 39.9k, False: 0]
  ------------------
   37|  39.9k|    tuple->ob_item[index] = value;
   38|  39.9k|}
modsupport.c:PyTuple_SET_ITEM:
   33|   443k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   443k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   443k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   443k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 443k, False: 0]
  ------------------
   35|   443k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 443k, False: 0]
  ------------------
   36|   443k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 443k, False: 0]
  ------------------
   37|   443k|    tuple->ob_item[index] = value;
   38|   443k|}
specialize.c:PyTuple_GET_SIZE:
   23|     96|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     96|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     96|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 96, False: 0]
  ------------------
   25|     96|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     96|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     96|}
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|      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|}
fileio.c:PyTuple_GET_SIZE:
   23|    101|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    101|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    101|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 101, False: 0]
  ------------------
   25|    101|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    101|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    101|}
bufferedio.c:PyTuple_GET_SIZE:
   23|    101|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    101|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    101|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 101, False: 0]
  ------------------
   25|    101|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    101|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    101|}
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_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|}
_abc.c:PyTuple_GET_SIZE:
   23|  1.00k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.00k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.00k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.00k, False: 0]
  ------------------
   25|  1.00k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.00k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.00k|}
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|     99|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     99|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     99|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 99, False: 0]
  ------------------
   25|     99|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     99|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     99|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     99|}
codeobject.c:PyTuple_SET_ITEM:
   33|     13|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|     13|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     13|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 13, False: 0]
  ------------------
   35|     13|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 13, False: 0]
  ------------------
   36|     13|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 13, False: 0]
  ------------------
   37|     13|    tuple->ob_item[index] = value;
   38|     13|}
codeobject.c:PyTuple_GET_SIZE:
   23|  23.0k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  23.0k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  23.0k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  23.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 23.0k, False: 0]
  ------------------
   25|  23.0k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  23.0k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  23.0k|}
descrobject.c:PyTuple_GET_SIZE:
   23|    631|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    631|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    631|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 631, False: 0]
  ------------------
   25|    631|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    631|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    631|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    631|}
enumobject.c:PyTuple_SET_ITEM:
   33|    364|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    364|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    364|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    364|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 364, False: 0]
  ------------------
   35|    364|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 364, False: 0]
  ------------------
   36|    364|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 364, False: 0]
  ------------------
   37|    364|    tuple->ob_item[index] = value;
   38|    364|}
frameobject.c:PyTuple_GET_SIZE:
   23|      2|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      2|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 2, False: 0]
  ------------------
   25|      2|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      2|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      2|}
lazyimportobject.c:PyTuple_GET_SIZE:
   23|      2|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      2|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 2, False: 0]
  ------------------
   25|      2|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      2|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      2|}
memoryobject.c:PyTuple_GET_SIZE:
   23|     95|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     95|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     95|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 95, False: 0]
  ------------------
   25|     95|    return Py_SIZE(tuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     95|}
assemble.c:PyTuple_SET_ITEM:
   33|      1|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|      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 (34:28): [True: 1, False: 0]
  ------------------
   35|      1|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 1, False: 0]
  ------------------
   36|      1|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 1, False: 0]
  ------------------
   37|      1|    tuple->ob_item[index] = value;
   38|      1|}
assemble.c:PyTuple_GET_SIZE:
   23|     10|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     10|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     10|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 10, False: 0]
  ------------------
   25|     10|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     10|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     10|}

listobject.c:PyUnicode_GET_LENGTH:
  297|  10.5k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  10.5k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  10.5k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  10.5k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 10.5k, False: 0]
  ------------------
  299|  10.5k|}
listobject.c:_PyUnicode_DATA:
  279|  10.3k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  10.3k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  10.3k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 10.3k, False: 0]
  |  |  ------------------
  ------------------
  281|  10.3k|        return _PyUnicode_COMPACT_DATA(op);
  282|  10.3k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  10.3k|}
listobject.c:PyUnicode_IS_COMPACT:
  232|  10.3k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  10.3k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  10.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  10.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 10.3k, False: 0]
  ------------------
  234|  10.3k|}
listobject.c:_PyUnicode_COMPACT_DATA:
  262|  10.3k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  10.3k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  10.3k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 10.3k, False: 0]
  |  |  ------------------
  ------------------
  264|  10.3k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  20.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 10.3k, False: 0]
  |  |  ------------------
  ------------------
  265|  10.3k|    }
  266|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
listobject.c:PyUnicode_IS_ASCII:
  225|  10.3k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  10.3k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  10.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  10.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 10.3k, False: 0]
  ------------------
  227|  10.3k|}
longobject.c:PyUnicode_IS_COMPACT:
  232|     52|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|     52|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     52|    (assert(PyUnicode_Check(op)), \
  |  |  187|     52|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 52, False: 0]
  ------------------
  234|     52|}
longobject.c:_PyUnicode_DATA:
  279|     52|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|     52|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|     52|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 52, False: 0]
  |  |  ------------------
  ------------------
  281|     52|        return _PyUnicode_COMPACT_DATA(op);
  282|     52|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|     52|}
longobject.c:_PyUnicode_COMPACT_DATA:
  262|     52|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|     52|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|     52|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 52, False: 0]
  |  |  ------------------
  ------------------
  264|     52|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    104|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 52, False: 0]
  |  |  ------------------
  ------------------
  265|     52|    }
  266|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
longobject.c:PyUnicode_IS_ASCII:
  225|     52|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|     52|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     52|    (assert(PyUnicode_Check(op)), \
  |  |  187|     52|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 52, False: 0]
  ------------------
  227|     52|}
dictobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|  3.95M|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  305|       |#ifdef Py_GIL_DISABLED
  306|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  307|       |#else
  308|  3.95M|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  3.95M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.95M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.95M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 3.95M, False: 0]
  ------------------
  309|  3.95M|#endif
  310|  3.95M|}
dictobject.c:PyUnicode_GET_LENGTH:
  297|  1.49M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  1.49M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.49M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.49M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 1.49M, False: 0]
  ------------------
  299|  1.49M|}
dictobject.c:_PyUnicode_DATA:
  279|  1.49M|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  1.49M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  1.49M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 1.49M, False: 0]
  |  |  ------------------
  ------------------
  281|  1.49M|        return _PyUnicode_COMPACT_DATA(op);
  282|  1.49M|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  1.49M|}
dictobject.c:PyUnicode_IS_COMPACT:
  232|  1.49M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  1.49M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.49M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.49M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 1.49M, False: 0]
  ------------------
  234|  1.49M|}
dictobject.c:_PyUnicode_COMPACT_DATA:
  262|  1.49M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  1.49M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  1.49M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 1.49M, False: 0]
  |  |  ------------------
  ------------------
  264|  1.49M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  2.98M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.49M, False: 0]
  |  |  ------------------
  ------------------
  265|  1.49M|    }
  266|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
dictobject.c:PyUnicode_IS_ASCII:
  225|  1.49M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  1.49M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.49M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.49M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 1.49M, False: 0]
  ------------------
  227|  1.49M|}
setobject.c:PyUnicode_GET_LENGTH:
  297|    210|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|    210|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    210|    (assert(PyUnicode_Check(op)), \
  |  |  187|    210|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 210, False: 0]
  ------------------
  299|    210|}
setobject.c:_PyUnicode_DATA:
  279|    210|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|    210|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|    210|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 210, False: 0]
  |  |  ------------------
  ------------------
  281|    210|        return _PyUnicode_COMPACT_DATA(op);
  282|    210|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|    210|}
setobject.c:PyUnicode_IS_COMPACT:
  232|    210|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|    210|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    210|    (assert(PyUnicode_Check(op)), \
  |  |  187|    210|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 210, False: 0]
  ------------------
  234|    210|}
setobject.c:_PyUnicode_COMPACT_DATA:
  262|    210|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|    210|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|    210|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 210, False: 0]
  |  |  ------------------
  ------------------
  264|    210|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    420|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 210, False: 0]
  |  |  ------------------
  ------------------
  265|    210|    }
  266|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
setobject.c:PyUnicode_IS_ASCII:
  225|    210|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|    210|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    210|    (assert(PyUnicode_Check(op)), \
  |  |  187|    210|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 210, False: 0]
  ------------------
  227|    210|}
typeobject.c:PyUnicode_GET_LENGTH:
  297|  40.8k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  40.8k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  40.8k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  40.8k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  40.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 40.8k, False: 0]
  ------------------
  299|  40.8k|}
typeobject.c:_PyUnicode_DATA:
  279|  39.4k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  39.4k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  39.4k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  39.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 39.4k, False: 0]
  |  |  ------------------
  ------------------
  281|  39.4k|        return _PyUnicode_COMPACT_DATA(op);
  282|  39.4k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  39.4k|}
typeobject.c:PyUnicode_IS_COMPACT:
  232|  39.4k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  39.4k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  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 (233:12): [True: 39.4k, False: 0]
  ------------------
  234|  39.4k|}
typeobject.c:_PyUnicode_COMPACT_DATA:
  262|  39.4k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  39.4k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  39.4k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  39.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 39.4k, False: 0]
  |  |  ------------------
  ------------------
  264|  39.4k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  78.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 39.4k, False: 0]
  |  |  ------------------
  ------------------
  265|  39.4k|    }
  266|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
typeobject.c:PyUnicode_IS_ASCII:
  225|  39.4k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  39.4k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  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 (226:12): [True: 39.4k, False: 0]
  ------------------
  227|  39.4k|}
typeobject.c:PyUnicode_CHECK_INTERNED:
  208|  1.44M|static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
  209|       |#ifdef Py_GIL_DISABLED
  210|       |    return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
  211|       |#else
  212|  1.44M|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  1.44M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.44M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (212:12): [True: 1.44M, False: 0]
  ------------------
  213|  1.44M|#endif
  214|  1.44M|}
typeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|   197k|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  305|       |#ifdef Py_GIL_DISABLED
  306|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  307|       |#else
  308|   197k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|   197k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   197k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   197k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 197k, False: 0]
  ------------------
  309|   197k|#endif
  310|   197k|}
unicode_writer.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|  1.23M|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  305|       |#ifdef Py_GIL_DISABLED
  306|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  307|       |#else
  308|  1.23M|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  1.23M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.23M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 1.23M, False: 0]
  ------------------
  309|  1.23M|#endif
  310|  1.23M|}
unicode_writer.c:PyUnicode_CHECK_INTERNED:
  208|  1.23M|static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
  209|       |#ifdef Py_GIL_DISABLED
  210|       |    return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
  211|       |#else
  212|  1.23M|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  1.23M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.23M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (212:12): [True: 1.23M, False: 0]
  ------------------
  213|  1.23M|#endif
  214|  1.23M|}
unicode_writer.c:PyUnicode_IS_COMPACT_ASCII:
  239|  1.23M|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  240|  2.46M|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  1.23M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.23M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  235|  1.22M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.22M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 1.22M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (240:13): [True: 1.23M, False: 0]
  |  Branch (240:13): [True: 1.22M, False: 6.37k]
  ------------------
  241|  1.23M|}
unicode_writer.c:PyUnicode_IS_COMPACT:
  232|  3.57M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  3.57M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  3.57M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.57M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.57M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 3.57M, False: 0]
  ------------------
  234|  3.57M|}
unicode_writer.c:PyUnicode_GET_LENGTH:
  297|  7.45M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  7.45M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  7.45M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  7.45M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 7.45M, False: 0]
  ------------------
  299|  7.45M|}
unicode_writer.c:PyUnicode_MAX_CHAR_VALUE:
  388|  2.37M|{
  389|  2.37M|    int kind;
  390|       |
  391|  2.37M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  2.37M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.37M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.37M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 1.07M, False: 1.30M]
  |  |  ------------------
  ------------------
  392|  1.07M|        return 0x7fU;
  393|  1.07M|    }
  394|       |
  395|  1.30M|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  259|  1.30M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  2.60M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.30M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  396|  1.30M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (396:9): [True: 81.2k, False: 1.22M]
  ------------------
  397|  81.2k|       return 0xffU;
  398|  81.2k|    }
  399|  1.22M|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (399:9): [True: 847k, False: 374k]
  ------------------
  400|   847k|        return 0xffffU;
  401|   847k|    }
  402|  1.22M|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (402:5): [True: 374k, False: 0]
  ------------------
  403|   374k|    return 0x10ffffU;
  404|   374k|}
unicode_writer.c:PyUnicode_IS_ASCII:
  225|  4.73M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  4.73M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  4.73M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.73M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 4.73M, False: 0]
  ------------------
  227|  4.73M|}
unicode_writer.c:_PyUnicodeWriter_Prepare:
  523|   219k|{
  524|   219k|    assert(0 <= length);
  ------------------
  |  Branch (524:5): [True: 219k, False: 0]
  ------------------
  525|   219k|    if (maxchar <= writer->maxchar && length <= (writer->size - writer->pos)) {
  ------------------
  |  Branch (525:9): [True: 167k, False: 51.9k]
  |  Branch (525:39): [True: 167k, False: 18]
  ------------------
  526|   167k|        return 0;
  527|   167k|    }
  528|  51.9k|    if (length == 0) {
  ------------------
  |  Branch (528:9): [True: 0, False: 51.9k]
  ------------------
  529|      0|        return 0;
  530|      0|    }
  531|  51.9k|_Py_COMP_DIAG_PUSH
  532|  51.9k|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
  533|  51.9k|    return _PyUnicodeWriter_PrepareInternal(writer, length, maxchar);
  534|  51.9k|_Py_COMP_DIAG_POP
  535|  51.9k|}
unicode_writer.c:_PyUnicode_DATA:
  279|  2.35M|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  2.35M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  2.35M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 2.35M, False: 0]
  |  |  ------------------
  ------------------
  281|  2.35M|        return _PyUnicode_COMPACT_DATA(op);
  282|  2.35M|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  2.35M|}
unicode_writer.c:_PyUnicode_COMPACT_DATA:
  262|  2.35M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  2.35M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  2.35M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 1.02M, False: 1.32M]
  |  |  ------------------
  ------------------
  264|  1.02M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  2.05M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.02M, False: 0]
  |  |  ------------------
  ------------------
  265|  1.02M|    }
  266|  1.32M|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  7.95M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.32M, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 1.32M]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|  1.32M|}
unicodeobject.c:PyUnicode_CHECK_INTERNED:
  208|  3.27M|static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
  209|       |#ifdef Py_GIL_DISABLED
  210|       |    return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
  211|       |#else
  212|  3.27M|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  3.27M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.27M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (212:12): [True: 3.27M, False: 0]
  ------------------
  213|  3.27M|#endif
  214|  3.27M|}
unicodeobject.c:_PyUnicode_DATA:
  279|   258M|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|   258M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|   258M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   258M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   258M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 258M, False: 7]
  |  |  ------------------
  ------------------
  281|   258M|        return _PyUnicode_COMPACT_DATA(op);
  282|   258M|    }
  283|      7|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|   258M|}
unicodeobject.c:_PyUnicode_COMPACT_DATA:
  262|   258M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|   258M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|   258M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   258M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   258M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 93.2M, False: 165M]
  |  |  ------------------
  ------------------
  264|  93.2M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   186M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 93.2M, False: 0]
  |  |  ------------------
  ------------------
  265|  93.2M|    }
  266|   165M|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   991M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 165M, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 165M]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|   165M|}
unicodeobject.c:_PyUnicode_NONCOMPACT_DATA:
  269|      7|static inline void* _PyUnicode_NONCOMPACT_DATA(PyObject *op) {
  270|      7|    void *data;
  271|      7|    assert(!PyUnicode_IS_COMPACT(op));
  ------------------
  |  Branch (271:5): [True: 7, False: 0]
  ------------------
  272|      7|    data = _PyUnicodeObject_CAST(op)->data.any;
  ------------------
  |  |  193|      7|    (assert(!_PyASCIIObject_CAST(op)->state.compact), \
  |  |  194|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (272:12): [True: 7, False: 0]
  |  Branch (272:12): [True: 7, False: 0]
  ------------------
  273|      7|    assert(data != NULL);
  ------------------
  |  Branch (273:5): [True: 7, False: 0]
  ------------------
  274|      7|    return data;
  275|      7|}
unicodeobject.c:PyUnicode_READ:
  343|  2.56G|{
  344|  2.56G|    assert(index >= 0);
  ------------------
  |  Branch (344:5): [True: 2.56G, False: 0]
  ------------------
  345|  2.56G|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (345:9): [True: 514M, False: 2.04G]
  ------------------
  346|   514M|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|   514M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  347|   514M|    }
  348|  2.04G|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (348:9): [True: 1.53G, False: 515M]
  ------------------
  349|  1.53G|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|  1.53G|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  350|  1.53G|    }
  351|  2.04G|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (351:5): [True: 515M, False: 0]
  ------------------
  352|   515M|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|   515M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  353|   515M|}
unicodeobject.c:PyUnicode_GET_LENGTH:
  297|   210M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|   210M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   210M|    (assert(PyUnicode_Check(op)), \
  |  |  187|   210M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   210M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 210M, False: 0]
  ------------------
  299|   210M|}
unicodeobject.c:PyUnicode_IS_COMPACT:
  232|   281M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|   281M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   281M|    (assert(PyUnicode_Check(op)), \
  |  |  187|   281M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   281M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 281M, False: 0]
  ------------------
  234|   281M|}
unicodeobject.c:PyUnicode_IS_ASCII:
  225|   285M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|   285M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   285M|    (assert(PyUnicode_Check(op)), \
  |  |  187|   285M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   285M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 285M, False: 0]
  ------------------
  227|   285M|}
unicodeobject.c:PyUnicode_IS_COMPACT_ASCII:
  239|  16.6M|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  240|  33.2M|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  16.6M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  16.6M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  16.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  235|  10.3M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 10.3M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (240:13): [True: 16.6M, False: 0]
  |  Branch (240:13): [True: 10.3M, False: 6.25M]
  ------------------
  241|  16.6M|}
unicodeobject.c:PyUnicode_WRITE:
  319|  2.29M|{
  320|  2.29M|    assert(index >= 0);
  ------------------
  |  Branch (320:5): [True: 2.29M, False: 0]
  ------------------
  321|  2.29M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (321:9): [True: 192k, False: 2.10M]
  ------------------
  322|   192k|        assert(value <= 0xffU);
  ------------------
  |  Branch (322:9): [True: 192k, False: 0]
  ------------------
  323|   192k|        _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|   192k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|   192k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  324|   192k|    }
  325|  2.10M|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (325:14): [True: 1.35M, False: 748k]
  ------------------
  326|  1.35M|        assert(value <= 0xffffU);
  ------------------
  |  Branch (326:9): [True: 1.35M, False: 0]
  ------------------
  327|  1.35M|        _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|  1.35M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|  1.35M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  328|  1.35M|    }
  329|   748k|    else {
  330|   748k|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (330:9): [True: 748k, False: 0]
  ------------------
  331|   748k|        assert(value <= 0x10ffffU);
  ------------------
  |  Branch (331:9): [True: 748k, False: 0]
  ------------------
  332|   748k|        _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
  ------------------
  |  |   34|   748k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  333|   748k|    }
  334|  2.29M|}
unicodeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|  3.24M|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  305|       |#ifdef Py_GIL_DISABLED
  306|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  307|       |#else
  308|  3.24M|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  3.24M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.24M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 3.24M, False: 0]
  ------------------
  309|  3.24M|#endif
  310|  3.24M|}
unicodeobject.c:_PyUnicodeWriter_Prepare:
  523|   101k|{
  524|   101k|    assert(0 <= length);
  ------------------
  |  Branch (524:5): [True: 101k, False: 0]
  ------------------
  525|   101k|    if (maxchar <= writer->maxchar && length <= (writer->size - writer->pos)) {
  ------------------
  |  Branch (525:9): [True: 84.4k, False: 16.6k]
  |  Branch (525:39): [True: 84.1k, False: 277]
  ------------------
  526|  84.1k|        return 0;
  527|  84.1k|    }
  528|  16.8k|    if (length == 0) {
  ------------------
  |  Branch (528:9): [True: 0, False: 16.8k]
  ------------------
  529|      0|        return 0;
  530|      0|    }
  531|  16.8k|_Py_COMP_DIAG_PUSH
  532|  16.8k|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
  533|  16.8k|    return _PyUnicodeWriter_PrepareInternal(writer, length, maxchar);
  534|  16.8k|_Py_COMP_DIAG_POP
  535|  16.8k|}
unicodeobject.c:PyUnicode_MAX_CHAR_VALUE:
  388|  25.0M|{
  389|  25.0M|    int kind;
  390|       |
  391|  25.0M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  25.0M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 24.9M, False: 129k]
  |  |  ------------------
  ------------------
  392|  24.9M|        return 0x7fU;
  393|  24.9M|    }
  394|       |
  395|   129k|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  259|   129k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   258k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 129k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  396|   129k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (396:9): [True: 18.2k, False: 111k]
  ------------------
  397|  18.2k|       return 0xffU;
  398|  18.2k|    }
  399|   111k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (399:9): [True: 71.4k, False: 39.6k]
  ------------------
  400|  71.4k|        return 0xffffU;
  401|  71.4k|    }
  402|   111k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (402:5): [True: 39.6k, False: 0]
  ------------------
  403|  39.6k|    return 0x10ffffU;
  404|  39.6k|}
bltinmodule.c:PyUnicode_GET_LENGTH:
  297|     90|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     90|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     90|    (assert(PyUnicode_Check(op)), \
  |  |  187|     90|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 90, False: 0]
  ------------------
  299|     90|}
bltinmodule.c:PyUnicode_READ_CHAR:
  364|     45|{
  365|     45|    int kind;
  366|       |
  367|     45|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 45, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|     45|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 45, False: 0]
  ------------------
  370|       |
  371|     45|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|     45|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     90|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 45, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|     45|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 45, False: 0]
  ------------------
  373|     45|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|     45|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     45|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|     45|    }
  375|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 0, False: 0]
  ------------------
  376|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|      0|    }
  378|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 0, False: 0]
  ------------------
  379|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|      0|}
bltinmodule.c:_PyUnicode_DATA:
  279|     45|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|     45|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|     45|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 45, False: 0]
  |  |  ------------------
  ------------------
  281|     45|        return _PyUnicode_COMPACT_DATA(op);
  282|     45|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|     45|}
bltinmodule.c:PyUnicode_IS_COMPACT:
  232|     45|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|     45|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     45|    (assert(PyUnicode_Check(op)), \
  |  |  187|     45|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 45, False: 0]
  ------------------
  234|     45|}
bltinmodule.c:_PyUnicode_COMPACT_DATA:
  262|     45|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|     45|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|     45|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 45, False: 0]
  |  |  ------------------
  ------------------
  264|     45|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|     90|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 45, False: 0]
  |  |  ------------------
  ------------------
  265|     45|    }
  266|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
bltinmodule.c:PyUnicode_IS_ASCII:
  225|     45|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|     45|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     45|    (assert(PyUnicode_Check(op)), \
  |  |  187|     45|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 45, False: 0]
  ------------------
  227|     45|}
ceval.c:PyUnicode_IS_COMPACT_ASCII:
  239|  1.15k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  240|  2.31k|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  1.15k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.15k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  235|  1.15k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 1.15k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (240:13): [True: 1.15k, False: 0]
  |  Branch (240:13): [True: 1.15k, False: 0]
  ------------------
  241|  1.15k|}
ceval.c:PyUnicode_IS_COMPACT:
  232|  2.31k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  2.31k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  2.31k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.31k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 2.31k, False: 0]
  ------------------
  234|  2.31k|}
ceval.c:PyUnicode_GET_LENGTH:
  297|  1.15k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  1.15k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.15k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.15k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 1.15k, False: 0]
  ------------------
  299|  1.15k|}
ceval.c:_PyUnicode_DATA:
  279|  1.15k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  1.15k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  1.15k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 1.15k, False: 0]
  |  |  ------------------
  ------------------
  281|  1.15k|        return _PyUnicode_COMPACT_DATA(op);
  282|  1.15k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  1.15k|}
ceval.c:_PyUnicode_COMPACT_DATA:
  262|  1.15k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  1.15k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  1.15k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 1.15k, False: 0]
  |  |  ------------------
  ------------------
  264|  1.15k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  2.31k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.15k, False: 0]
  |  |  ------------------
  ------------------
  265|  1.15k|    }
  266|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
ceval.c:PyUnicode_IS_ASCII:
  225|  1.15k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  1.15k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.15k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.15k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 1.15k, False: 0]
  ------------------
  227|  1.15k|}
codecs.c:_PyUnicode_DATA:
  279|  4.67k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  4.67k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  4.67k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 4.67k, False: 0]
  |  |  ------------------
  ------------------
  281|  4.67k|        return _PyUnicode_COMPACT_DATA(op);
  282|  4.67k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  4.67k|}
codecs.c:PyUnicode_IS_COMPACT:
  232|  4.67k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  4.67k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  4.67k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.67k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 4.67k, False: 0]
  ------------------
  234|  4.67k|}
codecs.c:_PyUnicode_COMPACT_DATA:
  262|  4.67k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  4.67k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  4.67k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 0, False: 4.67k]
  |  |  ------------------
  ------------------
  264|      0|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  265|      0|    }
  266|  4.67k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  28.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 4.67k, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 4.67k]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|  4.67k|}
codecs.c:PyUnicode_IS_ASCII:
  225|  4.67k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  4.67k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  4.67k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.67k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 4.67k, False: 0]
  ------------------
  227|  4.67k|}
codecs.c:Py_UNICODE_IS_SURROGATE:
   16|      2|static inline int Py_UNICODE_IS_SURROGATE(Py_UCS4 ch) {
   17|      2|    return (0xD800 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (17:13): [True: 2, False: 0]
  |  Branch (17:29): [True: 2, False: 0]
  ------------------
   18|      2|}
import.c:PyUnicode_GET_LENGTH:
  297|  1.46k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  1.46k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.46k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.46k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 1.46k, False: 0]
  ------------------
  299|  1.46k|}
importdl.c:PyUnicode_IS_ASCII:
  225|     38|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|     38|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     38|    (assert(PyUnicode_Check(op)), \
  |  |  187|     38|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 38, False: 0]
  ------------------
  227|     38|}
intrinsics.c:PyUnicode_READ_CHAR:
  364|  1.59k|{
  365|  1.59k|    int kind;
  366|       |
  367|  1.59k|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 1.59k, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|  1.59k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 1.59k, False: 0]
  ------------------
  370|       |
  371|  1.59k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  1.59k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  3.19k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.59k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|  1.59k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 1.59k, False: 0]
  ------------------
  373|  1.59k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|  1.59k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.59k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|  1.59k|    }
  375|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 0, False: 0]
  ------------------
  376|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|      0|    }
  378|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 0, False: 0]
  ------------------
  379|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|      0|}
intrinsics.c:PyUnicode_GET_LENGTH:
  297|  1.59k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  1.59k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.59k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.59k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 1.59k, False: 0]
  ------------------
  299|  1.59k|}
intrinsics.c:_PyUnicode_DATA:
  279|  1.59k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  1.59k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  1.59k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 1.59k, False: 0]
  |  |  ------------------
  ------------------
  281|  1.59k|        return _PyUnicode_COMPACT_DATA(op);
  282|  1.59k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  1.59k|}
intrinsics.c:PyUnicode_IS_COMPACT:
  232|  1.59k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  1.59k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.59k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.59k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 1.59k, False: 0]
  ------------------
  234|  1.59k|}
intrinsics.c:_PyUnicode_COMPACT_DATA:
  262|  1.59k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  1.59k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  1.59k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 1.59k, False: 0]
  |  |  ------------------
  ------------------
  264|  1.59k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  3.19k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.59k, False: 0]
  |  |  ------------------
  ------------------
  265|  1.59k|    }
  266|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
intrinsics.c:PyUnicode_IS_ASCII:
  225|  1.59k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  1.59k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.59k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.59k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 1.59k, False: 0]
  ------------------
  227|  1.59k|}
specialize.c:PyUnicode_IS_COMPACT_ASCII:
  239|     11|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  240|     22|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|     11|    (assert(PyUnicode_Check(op)), \
  |  |  187|     11|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  235|     11|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 11, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (240:13): [True: 11, False: 0]
  |  Branch (240:13): [True: 11, False: 0]
  ------------------
  241|     11|}
specialize.c:PyUnicode_IS_COMPACT:
  232|     11|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|     11|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     11|    (assert(PyUnicode_Check(op)), \
  |  |  187|     11|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 11, False: 0]
  ------------------
  234|     11|}
symtable.c:PyUnicode_GET_LENGTH:
  297|     84|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     84|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     84|    (assert(PyUnicode_Check(op)), \
  |  |  187|     84|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 84, False: 0]
  ------------------
  299|     84|}
symtable.c:PyUnicode_READ_CHAR:
  364|     84|{
  365|     84|    int kind;
  366|       |
  367|     84|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 84, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|     84|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 84, False: 0]
  ------------------
  370|       |
  371|     84|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|     84|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    168|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 84, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|     84|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 84, False: 0]
  ------------------
  373|     84|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|     84|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     84|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|     84|    }
  375|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 0, False: 0]
  ------------------
  376|      0|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|      0|    }
  378|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 0, False: 0]
  ------------------
  379|      0|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|      0|}
symtable.c:_PyUnicode_DATA:
  279|     84|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|     84|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|     84|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 84, False: 0]
  |  |  ------------------
  ------------------
  281|     84|        return _PyUnicode_COMPACT_DATA(op);
  282|     84|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|     84|}
symtable.c:PyUnicode_IS_COMPACT:
  232|     84|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|     84|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     84|    (assert(PyUnicode_Check(op)), \
  |  |  187|     84|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 84, False: 0]
  ------------------
  234|     84|}
symtable.c:_PyUnicode_COMPACT_DATA:
  262|     84|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|     84|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|     84|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 84, False: 0]
  |  |  ------------------
  ------------------
  264|     84|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    168|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 84, False: 0]
  |  |  ------------------
  ------------------
  265|     84|    }
  266|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
symtable.c:PyUnicode_IS_ASCII:
  225|     84|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|     84|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     84|    (assert(PyUnicode_Check(op)), \
  |  |  187|     84|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 84, False: 0]
  ------------------
  227|     84|}
typecache.c:PyUnicode_CHECK_INTERNED:
  208|  1.25M|static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
  209|       |#ifdef Py_GIL_DISABLED
  210|       |    return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
  211|       |#else
  212|  1.25M|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  1.25M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.25M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (212:12): [True: 1.25M, False: 0]
  ------------------
  213|  1.25M|#endif
  214|  1.25M|}
typecache.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|  1.26M|PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op) {
  305|       |#ifdef Py_GIL_DISABLED
  306|       |    return _Py_atomic_load_ssize_relaxed(&_PyASCIIObject_CAST(op)->hash);
  307|       |#else
  308|  1.26M|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  1.26M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.26M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 1.26M, False: 0]
  ------------------
  309|  1.26M|#endif
  310|  1.26M|}
fileutils.c:Py_UNICODE_IS_SURROGATE:
   16|  1.40k|static inline int Py_UNICODE_IS_SURROGATE(Py_UCS4 ch) {
   17|  1.40k|    return (0xD800 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (17:13): [True: 0, False: 1.40k]
  |  Branch (17:29): [True: 0, False: 0]
  ------------------
   18|  1.40k|}
_codecsmodule.c:PyUnicode_GET_LENGTH:
  297|    378|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|    378|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    378|    (assert(PyUnicode_Check(op)), \
  |  |  187|    378|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 378, False: 0]
  ------------------
  299|    378|}
textio.c:PyUnicode_IS_ASCII:
  225|      6|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|      6|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|      6|    (assert(PyUnicode_Check(op)), \
  |  |  187|      6|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 6, False: 0]
  ------------------
  227|      6|}
textio.c:_PyUnicode_DATA:
  279|      6|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|      6|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|      6|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 6, False: 0]
  |  |  ------------------
  ------------------
  281|      6|        return _PyUnicode_COMPACT_DATA(op);
  282|      6|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|      6|}
textio.c:PyUnicode_IS_COMPACT:
  232|      6|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|      6|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|      6|    (assert(PyUnicode_Check(op)), \
  |  |  187|      6|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 6, False: 0]
  ------------------
  234|      6|}
textio.c:_PyUnicode_COMPACT_DATA:
  262|      6|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|      6|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|      6|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 6, False: 0]
  |  |  ------------------
  ------------------
  264|      6|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|     12|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 6, False: 0]
  |  |  ------------------
  ------------------
  265|      6|    }
  266|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
sre.c:PyUnicode_GET_LENGTH:
  297|      4|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|      4|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|      4|    (assert(PyUnicode_Check(op)), \
  |  |  187|      4|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 4, False: 0]
  ------------------
  299|      4|}
sre.c:_PyUnicode_DATA:
  279|      4|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|      4|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|      4|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 4, False: 0]
  |  |  ------------------
  ------------------
  281|      4|        return _PyUnicode_COMPACT_DATA(op);
  282|      4|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|      4|}
sre.c:PyUnicode_IS_COMPACT:
  232|      4|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|      4|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|      4|    (assert(PyUnicode_Check(op)), \
  |  |  187|      4|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 4, False: 0]
  ------------------
  234|      4|}
sre.c:_PyUnicode_COMPACT_DATA:
  262|      4|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|      4|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|      4|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 4, False: 0]
  |  |  ------------------
  ------------------
  264|      4|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|      8|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 4, False: 0]
  |  |  ------------------
  ------------------
  265|      4|    }
  266|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
sre.c:PyUnicode_IS_ASCII:
  225|      4|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|      4|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|      4|    (assert(PyUnicode_Check(op)), \
  |  |  187|      4|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 4, False: 0]
  ------------------
  227|      4|}
getpath.c:PyUnicode_GET_LENGTH:
  297|     12|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     12|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     12|    (assert(PyUnicode_Check(op)), \
  |  |  187|     12|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 12, False: 0]
  ------------------
  299|     12|}
codeobject.c:PyUnicode_IS_ASCII:
  225|  16.6k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  16.6k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  16.6k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  16.6k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  16.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 16.6k, False: 0]
  ------------------
  227|  16.6k|}
codeobject.c:_PyUnicode_DATA:
  279|  8.30k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  8.30k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  8.30k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 8.30k, False: 0]
  |  |  ------------------
  ------------------
  281|  8.30k|        return _PyUnicode_COMPACT_DATA(op);
  282|  8.30k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  8.30k|}
codeobject.c:PyUnicode_IS_COMPACT:
  232|  8.30k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  8.30k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  8.30k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  8.30k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 8.30k, False: 0]
  ------------------
  234|  8.30k|}
codeobject.c:_PyUnicode_COMPACT_DATA:
  262|  8.30k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  8.30k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  8.30k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 8.30k, False: 0]
  |  |  ------------------
  ------------------
  264|  8.30k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  16.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 8.30k, False: 0]
  |  |  ------------------
  ------------------
  265|  8.30k|    }
  266|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
codeobject.c:PyUnicode_GET_LENGTH:
  297|  8.30k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  8.30k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  8.30k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  8.30k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 8.30k, False: 0]
  ------------------
  299|  8.30k|}
unicode_format.c:PyUnicode_IS_ASCII:
  225|     21|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|     21|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     21|    (assert(PyUnicode_Check(op)), \
  |  |  187|     21|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 21, False: 0]
  ------------------
  227|     21|}
unicode_format.c:_PyUnicode_DATA:
  279|     21|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|     21|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|     21|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  281|     21|        return _PyUnicode_COMPACT_DATA(op);
  282|     21|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|     21|}
unicode_format.c:PyUnicode_IS_COMPACT:
  232|     21|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|     21|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     21|    (assert(PyUnicode_Check(op)), \
  |  |  187|     21|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 21, False: 0]
  ------------------
  234|     21|}
unicode_format.c:_PyUnicode_COMPACT_DATA:
  262|     21|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|     21|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|     21|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  264|     21|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|     42|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  265|     21|    }
  266|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
unicode_format.c:PyUnicode_GET_LENGTH:
  297|     21|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     21|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     21|    (assert(PyUnicode_Check(op)), \
  |  |  187|     21|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 21, False: 0]
  ------------------
  299|     21|}
unicode_format.c:PyUnicode_READ:
  343|    399|{
  344|    399|    assert(index >= 0);
  ------------------
  |  Branch (344:5): [True: 399, False: 0]
  ------------------
  345|    399|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (345:9): [True: 399, False: 0]
  ------------------
  346|    399|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|    399|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  347|    399|    }
  348|      0|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (348:9): [True: 0, False: 0]
  ------------------
  349|      0|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  350|      0|    }
  351|      0|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (351:5): [True: 0, False: 0]
  ------------------
  352|      0|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  353|      0|}
pegen.c:PyUnicode_IS_ASCII:
  225|      6|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|      6|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|      6|    (assert(PyUnicode_Check(op)), \
  |  |  187|      6|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 6, False: 0]
  ------------------
  227|      6|}

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

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

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

listobject.c:_PyIndex_Check:
   14|     83|{
   15|     83|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     83|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 48, False: 35]
  |  Branch (16:37): [True: 48, False: 0]
  ------------------
   17|     83|}
rangeobject.c:_PyIndex_Check:
   14|     15|{
   15|     15|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     15|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 15]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|     15|}
sliceobject.c:_PyIndex_Check:
   14|     15|{
   15|     15|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     15|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 15, False: 0]
  |  Branch (16:37): [True: 15, False: 0]
  ------------------
   17|     15|}
tupleobject.c:_PyIndex_Check:
   14|     76|{
   15|     76|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|     76|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     76|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 65, False: 11]
  |  Branch (16:37): [True: 65, False: 0]
  ------------------
   17|     76|}
unicodeobject.c:_PyIndex_Check:
   14|    306|{
   15|    306|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    306|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    306|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    306|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    306|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 199, False: 107]
  |  Branch (16:37): [True: 199, False: 0]
  ------------------
   17|    306|}
modsupport.c:_PyIndex_Check:
   14|  30.6k|{
   15|  30.6k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  30.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  30.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  30.6k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 30.6k, False: 0]
  |  Branch (16:37): [True: 30.6k, False: 0]
  ------------------
   17|  30.6k|}
fileio.c:_PyIndex_Check:
   14|    101|{
   15|    101|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    101|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    101|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 101, False: 0]
  |  Branch (16:37): [True: 6, False: 95]
  ------------------
   17|    101|}
abstract.c:_PyIndex_Check:
   14|    729|{
   15|    729|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    729|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    729|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    729|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    729|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 729, False: 0]
  |  Branch (16:37): [True: 6, False: 723]
  ------------------
   17|    729|}
bytes_methods.c:_PyIndex_Check:
   14|     10|{
   15|     10|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     10|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 10, False: 0]
  |  Branch (16:37): [True: 10, False: 0]
  ------------------
   17|     10|}
bytearrayobject.c:_PyIndex_Check:
   14|     38|{
   15|     38|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|     38|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     38|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 20, False: 18]
  |  Branch (16:37): [True: 20, False: 0]
  ------------------
   17|     38|}
bytesobject.c:_PyIndex_Check:
   14|    381|{
   15|    381|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    381|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    381|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    381|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    381|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 381]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|    381|}
memoryobject.c:_PyIndex_Check:
   14|     95|{
   15|     95|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|     95|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     95|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 95]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|     95|}

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

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

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

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

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

call.c:_Py_EnterRecursiveCallTstate:
  234|  39.5k|                                               const char *where) {
  235|  39.5k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 39.5k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  39.5k|}
call.c:_Py_ReachedRecursionLimit:
  211|  39.5k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  39.5k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  39.5k|    _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|  39.5k|#if _Py_STACK_GROWS_DOWN
  218|  39.5k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  39.5k|}
call.c:_Py_LeaveRecursiveCallTstate:
  243|  39.5k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  39.5k|    (void)tstate;
  245|  39.5k|}
object.c:_Py_EnterRecursiveCallTstate:
  234|  4.51M|                                               const char *where) {
  235|  4.51M|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 4.51M]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  4.51M|}
object.c:_Py_ReachedRecursionLimit:
  211|  4.51M|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  4.51M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  4.51M|    _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.51M|#if _Py_STACK_GROWS_DOWN
  218|  4.51M|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  4.51M|}
object.c:_Py_LeaveRecursiveCallTstate:
  243|  4.51M|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  4.51M|    (void)tstate;
  245|  4.51M|}
tupleobject.c:_Py_EnterRecursiveCall:
  238|     44|static inline int _Py_EnterRecursiveCall(const char *where) {
  239|     44|    PyThreadState *tstate = _PyThreadState_GET();
  240|     44|    return _Py_EnterRecursiveCallTstate(tstate, where);
  241|     44|}
tupleobject.c:_Py_EnterRecursiveCallTstate:
  234|     44|                                               const char *where) {
  235|     44|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 44]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|     44|}
tupleobject.c:_Py_ReachedRecursionLimit:
  211|     44|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|     44|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|     44|    _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|     44|#if _Py_STACK_GROWS_DOWN
  218|     44|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|     44|}
tupleobject.c:_Py_LeaveRecursiveCall:
  254|     44|static inline void _Py_LeaveRecursiveCall(void)  {
  255|     44|}
ceval.c:_PyEval_EvalFrame:
  119|   207k|{
  120|   207k|    EVAL_CALL_STAT_INC(EVAL_CALL_TOTAL);
  ------------------
  |  |   79|   207k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  121|   207k|    if (tstate->interp->eval_frame == NULL) {
  ------------------
  |  Branch (121:9): [True: 207k, False: 0]
  ------------------
  122|   207k|        return _PyEval_EvalFrameDefault(tstate, frame, throwflag);
  123|   207k|    }
  124|      0|    return tstate->interp->eval_frame(tstate, frame, throwflag);
  125|   207k|}
ceval.c:_Py_EnterRecursiveCallTstate:
  234|   207k|                                               const char *where) {
  235|   207k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 207k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|   207k|}
ceval.c:_Py_ReachedRecursionLimit:
  211|   215k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|   215k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|   215k|    _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|   215k|#if _Py_STACK_GROWS_DOWN
  218|   215k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|   215k|}
ceval.c:_Py_LeaveRecursiveCallTstate:
  243|  8.07k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  8.07k|    (void)tstate;
  245|  8.07k|}
ceval.c:_Py_EnterRecursiveCall:
  238|     27|static inline int _Py_EnterRecursiveCall(const char *where) {
  239|     27|    PyThreadState *tstate = _PyThreadState_GET();
  240|     27|    return _Py_EnterRecursiveCallTstate(tstate, where);
  241|     27|}
ceval.c:_Py_LeaveRecursiveCall:
  254|     18|static inline void _Py_LeaveRecursiveCall(void)  {
  255|     18|}
gc.c:_Py_eval_breaker_bit_is_set:
  372|  8.66M|{
  373|  8.66M|    uintptr_t b = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  374|  8.66M|    return (b & bit) != 0;
  375|  8.66M|}
gc.c:_Py_set_eval_breaker_bit:
  360|  4.77k|{
  361|  4.77k|    _Py_atomic_or_uintptr(&tstate->eval_breaker, bit);
  362|  4.77k|}
ceval_gil.c:_Py_eval_breaker_bit_is_set:
  372|  2.21k|{
  373|  2.21k|    uintptr_t b = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  374|  2.21k|    return (b & bit) != 0;
  375|  2.21k|}
ceval_gil.c:_Py_unset_eval_breaker_bit:
  366|  6.99k|{
  367|  6.99k|    _Py_atomic_and_uintptr(&tstate->eval_breaker, ~bit);
  368|  6.99k|}
abstract.c:_Py_EnterRecursiveCallTstate:
  234|    189|                                               const char *where) {
  235|    189|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 189]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|    189|}
abstract.c:_Py_ReachedRecursionLimit:
  211|    189|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|    189|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|    189|    _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|    189|#if _Py_STACK_GROWS_DOWN
  218|    189|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|    189|}
abstract.c:_Py_LeaveRecursiveCallTstate:
  243|    189|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|    189|    (void)tstate;
  245|    189|}
descrobject.c:_Py_EnterRecursiveCallTstate:
  234|  19.7k|                                               const char *where) {
  235|  19.7k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 19.7k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  19.7k|}
descrobject.c:_Py_ReachedRecursionLimit:
  211|  19.7k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  19.7k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  19.7k|    _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|  19.7k|#if _Py_STACK_GROWS_DOWN
  218|  19.7k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  19.7k|}
descrobject.c:_Py_LeaveRecursiveCallTstate:
  243|  19.6k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  19.6k|    (void)tstate;
  245|  19.6k|}
descrobject.c:_Py_LeaveRecursiveCall:
  254|     96|static inline void _Py_LeaveRecursiveCall(void)  {
  255|     96|}
genobject.c:_PyEval_EvalFrame:
  119|    343|{
  120|    343|    EVAL_CALL_STAT_INC(EVAL_CALL_TOTAL);
  ------------------
  |  |   79|    343|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  121|    343|    if (tstate->interp->eval_frame == NULL) {
  ------------------
  |  Branch (121:9): [True: 343, False: 0]
  ------------------
  122|    343|        return _PyEval_EvalFrameDefault(tstate, frame, throwflag);
  123|    343|    }
  124|      0|    return tstate->interp->eval_frame(tstate, frame, throwflag);
  125|    343|}
methodobject.c:_Py_EnterRecursiveCallTstate:
  234|   834k|                                               const char *where) {
  235|   834k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 834k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|   834k|}
methodobject.c:_Py_ReachedRecursionLimit:
  211|   834k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|   834k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|   834k|    _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|   834k|#if _Py_STACK_GROWS_DOWN
  218|   834k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|   834k|}
methodobject.c:_Py_LeaveRecursiveCallTstate:
  243|   834k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|   834k|    (void)tstate;
  245|   834k|}

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

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

listobject.c:_Py_freelists_GET:
   19|  4.85M|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  4.85M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  4.85M|    return &interp->object_state.freelists;
   30|  4.85M|#endif
   31|  4.85M|}
listobject.c:_PyFreeList_Pop:
   88|  2.42M|{
   89|  2.42M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  2.42M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 481k, False: 1.94M]
  ------------------
   91|   481k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|   481k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|   481k|        _Py_NewReference(op);
   93|   481k|    }
   94|  2.42M|    return op;
   95|  2.42M|}
listobject.c:_PyFreeList_PopNoStats:
   76|  2.42M|{
   77|  2.42M|    void *obj = fl->freelist;
   78|  2.42M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 481k, False: 1.94M]
  ------------------
   79|   481k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 481k, False: 0]
  ------------------
   80|   481k|        fl->freelist = *(void **)obj;
   81|   481k|        fl->size--;
   82|   481k|    }
   83|  2.42M|    return obj;
   84|  2.42M|}
listobject.c:_PyFreeList_Free:
   68|  2.42M|{
   69|  2.42M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 1.94M, False: 483k]
  ------------------
   70|  1.94M|        dofree(obj);
   71|  1.94M|    }
   72|  2.42M|}
listobject.c:_PyFreeList_Push:
   54|  2.42M|{
   55|  2.42M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 483k, False: 1.94M]
  |  Branch (55:31): [True: 483k, False: 0]
  ------------------
   56|   483k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|   483k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|   483k|        fl->freelist = obj;
   58|   483k|        fl->size++;
   59|   483k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|   483k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|   483k|        return 1;
   61|   483k|    }
   62|  1.94M|    return 0;
   63|  2.42M|}
longobject.c:_PyFreeList_Pop:
   88|  53.8k|{
   89|  53.8k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  53.8k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 52.2k, False: 1.63k]
  ------------------
   91|  52.2k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  52.2k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  52.2k|        _Py_NewReference(op);
   93|  52.2k|    }
   94|  53.8k|    return op;
   95|  53.8k|}
longobject.c:_PyFreeList_PopNoStats:
   76|  53.8k|{
   77|  53.8k|    void *obj = fl->freelist;
   78|  53.8k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 52.2k, False: 1.63k]
  ------------------
   79|  52.2k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 52.2k, False: 0]
  ------------------
   80|  52.2k|        fl->freelist = *(void **)obj;
   81|  52.2k|        fl->size--;
   82|  52.2k|    }
   83|  53.8k|    return obj;
   84|  53.8k|}
longobject.c:_PyFreeList_Free:
   68|  52.3k|{
   69|  52.3k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 52.3k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  52.3k|}
longobject.c:_PyFreeList_Push:
   54|  52.3k|{
   55|  52.3k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 52.3k, False: 0]
  |  Branch (55:31): [True: 52.3k, False: 0]
  ------------------
   56|  52.3k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  52.3k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  52.3k|        fl->freelist = obj;
   58|  52.3k|        fl->size++;
   59|  52.3k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  52.3k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  52.3k|        return 1;
   61|  52.3k|    }
   62|      0|    return 0;
   63|  52.3k|}
longobject.c:_Py_freelists_GET:
   19|   106k|{
   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|   106k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   106k|    return &interp->object_state.freelists;
   30|   106k|#endif
   31|   106k|}
dictobject.c:_Py_freelists_GET:
   19|  1.54M|{
   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.54M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  1.54M|    return &interp->object_state.freelists;
   30|  1.54M|#endif
   31|  1.54M|}
dictobject.c:_PyFreeList_Pop:
   88|   405k|{
   89|   405k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|   405k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 73.9k, False: 331k]
  ------------------
   91|  73.9k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  73.9k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  73.9k|        _Py_NewReference(op);
   93|  73.9k|    }
   94|   405k|    return op;
   95|   405k|}
dictobject.c:_PyFreeList_PopNoStats:
   76|   771k|{
   77|   771k|    void *obj = fl->freelist;
   78|   771k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 112k, False: 659k]
  ------------------
   79|   112k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 112k, False: 0]
  ------------------
   80|   112k|        fl->freelist = *(void **)obj;
   81|   112k|        fl->size--;
   82|   112k|    }
   83|   771k|    return obj;
   84|   771k|}
dictobject.c:_PyFreeList_PopMem:
   99|   366k|{
  100|   366k|    void *op = _PyFreeList_PopNoStats(fl);
  101|   366k|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 38.4k, False: 328k]
  ------------------
  102|  38.4k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  38.4k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|  38.4k|    }
  104|   366k|    return op;
  105|   366k|}
dictobject.c:_PyFreeList_Free:
   68|   769k|{
   69|   769k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 652k, False: 116k]
  ------------------
   70|   652k|        dofree(obj);
   71|   652k|    }
   72|   769k|}
dictobject.c:_PyFreeList_Push:
   54|   769k|{
   55|   769k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 116k, False: 652k]
  |  Branch (55:31): [True: 116k, False: 0]
  ------------------
   56|   116k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|   116k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|   116k|        fl->freelist = obj;
   58|   116k|        fl->size++;
   59|   116k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|   116k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|   116k|        return 1;
   61|   116k|    }
   62|   652k|    return 0;
   63|   769k|}
object.c:_PyFreeList_PopNoStats:
   76|  7.42k|{
   77|  7.42k|    void *obj = fl->freelist;
   78|  7.42k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 5.99k, False: 1.43k]
  ------------------
   79|  5.99k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 5.99k, False: 0]
  ------------------
   80|  5.99k|        fl->freelist = *(void **)obj;
   81|  5.99k|        fl->size--;
   82|  5.99k|    }
   83|  7.42k|    return obj;
   84|  7.42k|}
rangeobject.c:_PyFreeList_Free:
   68|  1.12k|{
   69|  1.12k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 1.12k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  1.12k|}
rangeobject.c:_PyFreeList_Push:
   54|  1.12k|{
   55|  1.12k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 1.12k, False: 0]
  |  Branch (55:31): [True: 1.12k, False: 0]
  ------------------
   56|  1.12k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  1.12k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  1.12k|        fl->freelist = obj;
   58|  1.12k|        fl->size++;
   59|  1.12k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  1.12k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  1.12k|        return 1;
   61|  1.12k|    }
   62|      0|    return 0;
   63|  1.12k|}
rangeobject.c:_Py_freelists_GET:
   19|  2.25k|{
   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.25k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  2.25k|    return &interp->object_state.freelists;
   30|  2.25k|#endif
   31|  2.25k|}
rangeobject.c:_PyFreeList_Pop:
   88|  1.12k|{
   89|  1.12k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  1.12k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 1.10k, False: 29]
  ------------------
   91|  1.10k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  1.10k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  1.10k|        _Py_NewReference(op);
   93|  1.10k|    }
   94|  1.12k|    return op;
   95|  1.12k|}
rangeobject.c:_PyFreeList_PopNoStats:
   76|  1.12k|{
   77|  1.12k|    void *obj = fl->freelist;
   78|  1.12k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 1.10k, False: 29]
  ------------------
   79|  1.10k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 1.10k, False: 0]
  ------------------
   80|  1.10k|        fl->freelist = *(void **)obj;
   81|  1.10k|        fl->size--;
   82|  1.10k|    }
   83|  1.12k|    return obj;
   84|  1.12k|}
sliceobject.c:_PyFreeList_Pop:
   88|    169|{
   89|    169|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|    169|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 47, False: 122]
  ------------------
   91|     47|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|     47|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|     47|        _Py_NewReference(op);
   93|     47|    }
   94|    169|    return op;
   95|    169|}
sliceobject.c:_PyFreeList_PopNoStats:
   76|    169|{
   77|    169|    void *obj = fl->freelist;
   78|    169|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 47, False: 122]
  ------------------
   79|     47|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 47, False: 0]
  ------------------
   80|     47|        fl->freelist = *(void **)obj;
   81|     47|        fl->size--;
   82|     47|    }
   83|    169|    return obj;
   84|    169|}
sliceobject.c:_Py_freelists_GET:
   19|    234|{
   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|    234|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|    234|    return &interp->object_state.freelists;
   30|    234|#endif
   31|    234|}
sliceobject.c:_PyFreeList_Free:
   68|     65|{
   69|     65|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 16, False: 49]
  ------------------
   70|     16|        dofree(obj);
   71|     16|    }
   72|     65|}
sliceobject.c:_PyFreeList_Push:
   54|     65|{
   55|     65|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 49, False: 16]
  |  Branch (55:31): [True: 49, False: 0]
  ------------------
   56|     49|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|     49|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|     49|        fl->freelist = obj;
   58|     49|        fl->size++;
   59|     49|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|     49|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|     49|        return 1;
   61|     49|    }
   62|     16|    return 0;
   63|     65|}
tupleobject.c:_PyFreeList_Pop:
   88|  1.29M|{
   89|  1.29M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  1.29M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 1.28M, False: 8.85k]
  ------------------
   91|  1.28M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  1.28M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  1.28M|        _Py_NewReference(op);
   93|  1.28M|    }
   94|  1.29M|    return op;
   95|  1.29M|}
tupleobject.c:_PyFreeList_PopNoStats:
   76|  1.29M|{
   77|  1.29M|    void *obj = fl->freelist;
   78|  1.29M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 1.28M, False: 8.85k]
  ------------------
   79|  1.28M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 1.28M, False: 0]
  ------------------
   80|  1.28M|        fl->freelist = *(void **)obj;
   81|  1.28M|        fl->size--;
   82|  1.28M|    }
   83|  1.29M|    return obj;
   84|  1.29M|}
tupleobject.c:_PyFreeList_Free:
   68|     73|{
   69|     73|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 73]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|     73|}
tupleobject.c:_PyFreeList_Push:
   54|  1.28M|{
   55|  1.28M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 1.28M, False: 0]
  |  Branch (55:31): [True: 1.28M, False: 0]
  ------------------
   56|  1.28M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  1.28M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  1.28M|        fl->freelist = obj;
   58|  1.28M|        fl->size++;
   59|  1.28M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  1.28M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  1.28M|        return 1;
   61|  1.28M|    }
   62|      0|    return 0;
   63|  1.28M|}
tupleobject.c:_Py_freelists_GET:
   19|  2.57M|{
   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.57M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  2.57M|    return &interp->object_state.freelists;
   30|  2.57M|#endif
   31|  2.57M|}
traceback.c:_PyFreeList_Free:
   68|  3.11k|{
   69|  3.11k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 3.11k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  3.11k|}
traceback.c:_PyFreeList_Push:
   54|  3.11k|{
   55|  3.11k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 3.11k, False: 0]
  |  Branch (55:31): [True: 3.11k, False: 0]
  ------------------
   56|  3.11k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  3.11k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  3.11k|        fl->freelist = obj;
   58|  3.11k|        fl->size++;
   59|  3.11k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  3.11k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  3.11k|        return 1;
   61|  3.11k|    }
   62|      0|    return 0;
   63|  3.11k|}
traceback.c:_Py_freelists_GET:
   19|  6.23k|{
   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|  6.23k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  6.23k|    return &interp->object_state.freelists;
   30|  6.23k|#endif
   31|  6.23k|}
traceback.c:_PyFreeList_Pop:
   88|  3.11k|{
   89|  3.11k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  3.11k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 3.07k, False: 41]
  ------------------
   91|  3.07k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  3.07k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  3.07k|        _Py_NewReference(op);
   93|  3.07k|    }
   94|  3.11k|    return op;
   95|  3.11k|}
traceback.c:_PyFreeList_PopNoStats:
   76|  3.11k|{
   77|  3.11k|    void *obj = fl->freelist;
   78|  3.11k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 3.07k, False: 41]
  ------------------
   79|  3.07k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 3.07k, False: 0]
  ------------------
   80|  3.07k|        fl->freelist = *(void **)obj;
   81|  3.07k|        fl->size--;
   82|  3.07k|    }
   83|  3.11k|    return obj;
   84|  3.11k|}
bytesobject.c:_PyFreeList_PopMem:
   99|  7.09k|{
  100|  7.09k|    void *op = _PyFreeList_PopNoStats(fl);
  101|  7.09k|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 7.05k, False: 38]
  ------------------
  102|  7.05k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  7.05k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|  7.05k|    }
  104|  7.09k|    return op;
  105|  7.09k|}
bytesobject.c:_PyFreeList_PopNoStats:
   76|  7.09k|{
   77|  7.09k|    void *obj = fl->freelist;
   78|  7.09k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 7.05k, False: 38]
  ------------------
   79|  7.05k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 7.05k, False: 0]
  ------------------
   80|  7.05k|        fl->freelist = *(void **)obj;
   81|  7.05k|        fl->size--;
   82|  7.05k|    }
   83|  7.09k|    return obj;
   84|  7.09k|}
bytesobject.c:_PyFreeList_Free:
   68|  7.09k|{
   69|  7.09k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 4, False: 7.08k]
  ------------------
   70|      4|        dofree(obj);
   71|      4|    }
   72|  7.09k|}
bytesobject.c:_PyFreeList_Push:
   54|  7.09k|{
   55|  7.09k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 7.08k, False: 4]
  |  Branch (55:31): [True: 7.08k, False: 0]
  ------------------
   56|  7.08k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  7.08k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  7.08k|        fl->freelist = obj;
   58|  7.08k|        fl->size++;
   59|  7.08k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  7.08k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  7.08k|        return 1;
   61|  7.08k|    }
   62|      4|    return 0;
   63|  7.09k|}
bytesobject.c:_Py_freelists_GET:
   19|  14.1k|{
   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|  14.1k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  14.1k|    return &interp->object_state.freelists;
   30|  14.1k|#endif
   31|  14.1k|}
classobject.c:_PyFreeList_Pop:
   88|  2.87k|{
   89|  2.87k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  2.87k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 2.68k, False: 186]
  ------------------
   91|  2.68k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  2.68k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  2.68k|        _Py_NewReference(op);
   93|  2.68k|    }
   94|  2.87k|    return op;
   95|  2.87k|}
classobject.c:_PyFreeList_PopNoStats:
   76|  2.87k|{
   77|  2.87k|    void *obj = fl->freelist;
   78|  2.87k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 2.68k, False: 186]
  ------------------
   79|  2.68k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 2.68k, False: 0]
  ------------------
   80|  2.68k|        fl->freelist = *(void **)obj;
   81|  2.68k|        fl->size--;
   82|  2.68k|    }
   83|  2.87k|    return obj;
   84|  2.87k|}
classobject.c:_Py_freelists_GET:
   19|  5.58k|{
   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|  5.58k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  5.58k|    return &interp->object_state.freelists;
   30|  5.58k|#endif
   31|  5.58k|}
classobject.c:_PyFreeList_Free:
   68|  2.71k|{
   69|  2.71k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 2.71k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  2.71k|}
classobject.c:_PyFreeList_Push:
   54|  2.71k|{
   55|  2.71k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 2.71k, False: 0]
  |  Branch (55:31): [True: 2.71k, False: 0]
  ------------------
   56|  2.71k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  2.71k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  2.71k|        fl->freelist = obj;
   58|  2.71k|        fl->size++;
   59|  2.71k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  2.71k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  2.71k|        return 1;
   61|  2.71k|    }
   62|      0|    return 0;
   63|  2.71k|}
floatobject.c:_PyFreeList_Pop:
   88|  2.00k|{
   89|  2.00k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  2.00k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 1.93k, False: 62]
  ------------------
   91|  1.93k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  1.93k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  1.93k|        _Py_NewReference(op);
   93|  1.93k|    }
   94|  2.00k|    return op;
   95|  2.00k|}
floatobject.c:_PyFreeList_PopNoStats:
   76|  2.00k|{
   77|  2.00k|    void *obj = fl->freelist;
   78|  2.00k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 1.93k, False: 62]
  ------------------
   79|  1.93k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 1.93k, False: 0]
  ------------------
   80|  1.93k|        fl->freelist = *(void **)obj;
   81|  1.93k|        fl->size--;
   82|  1.93k|    }
   83|  2.00k|    return obj;
   84|  2.00k|}
floatobject.c:_Py_freelists_GET:
   19|  3.98k|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  3.98k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  3.98k|    return &interp->object_state.freelists;
   30|  3.98k|#endif
   31|  3.98k|}
floatobject.c:_PyFreeList_Free:
   68|  1.98k|{
   69|  1.98k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 1.98k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  1.98k|}
floatobject.c:_PyFreeList_Push:
   54|  1.98k|{
   55|  1.98k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 1.98k, False: 0]
  |  Branch (55:31): [True: 1.98k, False: 0]
  ------------------
   56|  1.98k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  1.98k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  1.98k|        fl->freelist = obj;
   58|  1.98k|        fl->size++;
   59|  1.98k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  1.98k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  1.98k|        return 1;
   61|  1.98k|    }
   62|      0|    return 0;
   63|  1.98k|}
methodobject.c:_PyFreeList_Pop:
   88|   525k|{
   89|   525k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|   525k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 523k, False: 1.46k]
  ------------------
   91|   523k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|   523k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|   523k|        _Py_NewReference(op);
   93|   523k|    }
   94|   525k|    return op;
   95|   525k|}
methodobject.c:_PyFreeList_PopNoStats:
   76|   525k|{
   77|   525k|    void *obj = fl->freelist;
   78|   525k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 523k, False: 1.46k]
  ------------------
   79|   523k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 523k, False: 0]
  ------------------
   80|   523k|        fl->freelist = *(void **)obj;
   81|   523k|        fl->size--;
   82|   523k|    }
   83|   525k|    return obj;
   84|   525k|}
methodobject.c:_Py_freelists_GET:
   19|  1.04M|{
   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.04M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  1.04M|    return &interp->object_state.freelists;
   30|  1.04M|#endif
   31|  1.04M|}
methodobject.c:_PyFreeList_Free:
   68|   523k|{
   69|   523k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 523k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|   523k|}
methodobject.c:_PyFreeList_Push:
   54|   523k|{
   55|   523k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 523k, False: 0]
  |  Branch (55:31): [True: 523k, False: 0]
  ------------------
   56|   523k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|   523k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|   523k|        fl->freelist = obj;
   58|   523k|        fl->size++;
   59|   523k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|   523k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|   523k|        return 1;
   61|   523k|    }
   62|      0|    return 0;
   63|   523k|}

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

exceptions.c:_PyObject_GC_UNTRACK:
  269|  68.2k|{
  270|  68.2k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  68.2k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 68.2k, False: 0]
  |  |  ------------------
  |  |  352|  68.2k|      ? (void)(0) \
  |  |  353|  68.2k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|  68.2k|                          "object not tracked by the garbage collector",
  272|  68.2k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  68.2k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  68.2k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  68.2k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  68.2k|    _PyGCHead_SET_NEXT(prev, next);
  281|  68.2k|    _PyGCHead_SET_PREV(next, prev);
  282|  68.2k|    gc->_gc_next = 0;
  283|  68.2k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  68.2k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  68.2k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  68.2k|    gcstate->heap_size--;
  286|  68.2k|#endif
  287|  68.2k|}
exceptions.c:_PyObject_GC_IS_TRACKED:
   73|  68.2k|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.2k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  68.2k|    return (gc->_gc_next != 0);
   79|  68.2k|#endif
   80|  68.2k|}
exceptions.c:_Py_AS_GC:
   17|   136k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   136k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   136k|    return (PyGC_Head*)gc;
   20|   136k|}
exceptions.c:_PyGCHead_PREV:
  171|  68.2k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  68.2k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  68.2k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  68.2k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  68.2k|    return (PyGC_Head*)prev;
  174|  68.2k|}
exceptions.c:_PyGCHead_NEXT:
  162|  68.2k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  68.2k|    uintptr_t next = gc->_gc_next;
  164|  68.2k|    return (PyGC_Head*)next;
  165|  68.2k|}
exceptions.c:_PyGCHead_SET_NEXT:
  166|  68.2k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  68.2k|    gc->_gc_next = (uintptr_t)next;
  168|  68.2k|}
exceptions.c:_PyGCHead_SET_PREV:
  176|  68.2k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  68.2k|    uintptr_t uprev = (uintptr_t)prev;
  178|  68.2k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 68.2k, False: 0]
  ------------------
  179|  68.2k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  68.2k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  68.2k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  68.2k|}
genericaliasobject.c:_PyObject_GC_UNTRACK:
  269|      5|{
  270|      5|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      5|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 5, False: 0]
  |  |  ------------------
  |  |  352|      5|      ? (void)(0) \
  |  |  353|      5|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|      5|                          "object not tracked by the garbage collector",
  272|      5|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|      5|    PyGC_Head *gc = _Py_AS_GC(op);
  278|      5|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|      5|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|      5|    _PyGCHead_SET_NEXT(prev, next);
  281|      5|    _PyGCHead_SET_PREV(next, prev);
  282|      5|    gc->_gc_next = 0;
  283|      5|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|      5|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|      5|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|      5|    gcstate->heap_size--;
  286|      5|#endif
  287|      5|}
genericaliasobject.c:_PyObject_GC_IS_TRACKED:
   73|      5|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|      5|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      5|    return (gc->_gc_next != 0);
   79|      5|#endif
   80|      5|}
genericaliasobject.c:_Py_AS_GC:
   17|     10|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     10|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     10|    return (PyGC_Head*)gc;
   20|     10|}
genericaliasobject.c:_PyGCHead_PREV:
  171|      5|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|      5|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|      5|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      5|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|      5|    return (PyGC_Head*)prev;
  174|      5|}
genericaliasobject.c:_PyGCHead_NEXT:
  162|      5|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|      5|    uintptr_t next = gc->_gc_next;
  164|      5|    return (PyGC_Head*)next;
  165|      5|}
genericaliasobject.c:_PyGCHead_SET_NEXT:
  166|      5|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|      5|    gc->_gc_next = (uintptr_t)next;
  168|      5|}
genericaliasobject.c:_PyGCHead_SET_PREV:
  176|      5|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|      5|    uintptr_t uprev = (uintptr_t)prev;
  178|      5|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 5, False: 0]
  ------------------
  179|      5|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|      5|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      5|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|      5|}
funcobject.c:_PyObject_GC_TRACK:
  229|  4.11k|{
  230|  4.11k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  4.11k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 4.11k, False: 0]
  |  |  ------------------
  |  |  352|  4.11k|      ? (void)(0) \
  |  |  353|  4.11k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|  4.11k|                          "object already tracked by the garbage collector",
  232|  4.11k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  4.11k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  4.11k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  4.11k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 4.11k, False: 0]
  |  |  ------------------
  |  |  352|  4.11k|      ? (void)(0) \
  |  |  353|  4.11k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|  4.11k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  4.11k|                          "object is in generation which is garbage collected",
  240|  4.11k|                          filename, lineno, __func__);
  241|       |
  242|  4.11k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  4.11k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  4.11k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  4.11k|    _PyGCHead_SET_NEXT(last, gc);
  246|  4.11k|    _PyGCHead_SET_PREV(gc, last);
  247|  4.11k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  4.11k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  4.11k|    gcstate->heap_size++;
  250|  4.11k|#endif
  251|  4.11k|}
funcobject.c:_PyObject_GC_IS_TRACKED:
   73|  5.80k|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.80k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  5.80k|    return (gc->_gc_next != 0);
   79|  5.80k|#endif
   80|  5.80k|}
funcobject.c:_Py_AS_GC:
   17|  11.6k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  11.6k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  11.6k|    return (PyGC_Head*)gc;
   20|  11.6k|}
funcobject.c:_PyGCHead_SET_NEXT:
  166|  9.91k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  9.91k|    gc->_gc_next = (uintptr_t)next;
  168|  9.91k|}
funcobject.c:_PyGCHead_SET_PREV:
  176|  5.80k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  5.80k|    uintptr_t uprev = (uintptr_t)prev;
  178|  5.80k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 5.80k, False: 0]
  ------------------
  179|  5.80k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  5.80k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  5.80k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  5.80k|}
funcobject.c:_PyObject_GC_UNTRACK:
  269|  1.69k|{
  270|  1.69k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  1.69k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1.69k, False: 0]
  |  |  ------------------
  |  |  352|  1.69k|      ? (void)(0) \
  |  |  353|  1.69k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|  1.69k|                          "object not tracked by the garbage collector",
  272|  1.69k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  1.69k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  1.69k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  1.69k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  1.69k|    _PyGCHead_SET_NEXT(prev, next);
  281|  1.69k|    _PyGCHead_SET_PREV(next, prev);
  282|  1.69k|    gc->_gc_next = 0;
  283|  1.69k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  1.69k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  1.69k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  1.69k|    gcstate->heap_size--;
  286|  1.69k|#endif
  287|  1.69k|}
funcobject.c:_PyGCHead_PREV:
  171|  1.69k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  1.69k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  1.69k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  1.69k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  1.69k|    return (PyGC_Head*)prev;
  174|  1.69k|}
funcobject.c:_PyGCHead_NEXT:
  162|  1.69k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  1.69k|    uintptr_t next = gc->_gc_next;
  164|  1.69k|    return (PyGC_Head*)next;
  165|  1.69k|}
listobject.c:_PyObject_GC_TRACK:
  229|  2.42M|{
  230|  2.42M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  2.42M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.42M, False: 0]
  |  |  ------------------
  |  |  352|  2.42M|      ? (void)(0) \
  |  |  353|  2.42M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|  2.42M|                          "object already tracked by the garbage collector",
  232|  2.42M|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  2.42M|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  2.42M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  2.42M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.42M, False: 0]
  |  |  ------------------
  |  |  352|  2.42M|      ? (void)(0) \
  |  |  353|  2.42M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|  2.42M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  2.42M|                          "object is in generation which is garbage collected",
  240|  2.42M|                          filename, lineno, __func__);
  241|       |
  242|  2.42M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  2.42M|    PyGC_Head *generation0 = gcstate->generation0;
  244|  2.42M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  2.42M|    _PyGCHead_SET_NEXT(last, gc);
  246|  2.42M|    _PyGCHead_SET_PREV(gc, last);
  247|  2.42M|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  2.42M|    generation0->_gc_prev = (uintptr_t)gc;
  249|  2.42M|    gcstate->heap_size++;
  250|  2.42M|#endif
  251|  2.42M|}
listobject.c:_PyObject_GC_IS_TRACKED:
   73|  2.42M|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  2.42M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  2.42M|    return (gc->_gc_next != 0);
   79|  2.42M|#endif
   80|  2.42M|}
listobject.c:_Py_AS_GC:
   17|  4.85M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.85M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.85M|    return (PyGC_Head*)gc;
   20|  4.85M|}
listobject.c:_PyGCHead_SET_NEXT:
  166|  4.85M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  4.85M|    gc->_gc_next = (uintptr_t)next;
  168|  4.85M|}
listobject.c:_PyGCHead_SET_PREV:
  176|  2.42M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  2.42M|    uintptr_t uprev = (uintptr_t)prev;
  178|  2.42M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 2.42M, False: 0]
  ------------------
  179|  2.42M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  2.42M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  2.42M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  2.42M|}
listobject.c:_PyObject_GC_UNTRACK:
  269|     56|{
  270|     56|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     56|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 56, False: 0]
  |  |  ------------------
  |  |  352|     56|      ? (void)(0) \
  |  |  353|     56|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|     56|                          "object not tracked by the garbage collector",
  272|     56|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|     56|    PyGC_Head *gc = _Py_AS_GC(op);
  278|     56|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|     56|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|     56|    _PyGCHead_SET_NEXT(prev, next);
  281|     56|    _PyGCHead_SET_PREV(next, prev);
  282|     56|    gc->_gc_next = 0;
  283|     56|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|     56|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|     56|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|     56|    gcstate->heap_size--;
  286|     56|#endif
  287|     56|}
listobject.c:_PyGCHead_PREV:
  171|     56|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|     56|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|     56|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     56|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|     56|    return (PyGC_Head*)prev;
  174|     56|}
listobject.c:_PyGCHead_NEXT:
  162|     56|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|     56|    uintptr_t next = gc->_gc_next;
  164|     56|    return (PyGC_Head*)next;
  165|     56|}
dictobject.c:_PyType_IS_GC:
   86|     10|{
   87|     10|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|     10|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|     10|}
dictobject.c:_PyObject_GC_IS_TRACKED:
   73|   409k|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|   409k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   409k|    return (gc->_gc_next != 0);
   79|   409k|#endif
   80|   409k|}
dictobject.c:_Py_AS_GC:
   17|   814k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   814k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   814k|    return (PyGC_Head*)gc;
   20|   814k|}
dictobject.c:_PyObject_GC_TRACK:
  229|   405k|{
  230|   405k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|   405k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 405k, False: 0]
  |  |  ------------------
  |  |  352|   405k|      ? (void)(0) \
  |  |  353|   405k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|   405k|                          "object already tracked by the garbage collector",
  232|   405k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|   405k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|   405k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|   405k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 405k, False: 0]
  |  |  ------------------
  |  |  352|   405k|      ? (void)(0) \
  |  |  353|   405k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|   405k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|   405k|                          "object is in generation which is garbage collected",
  240|   405k|                          filename, lineno, __func__);
  241|       |
  242|   405k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|   405k|    PyGC_Head *generation0 = gcstate->generation0;
  244|   405k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|   405k|    _PyGCHead_SET_NEXT(last, gc);
  246|   405k|    _PyGCHead_SET_PREV(gc, last);
  247|   405k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|   405k|    generation0->_gc_prev = (uintptr_t)gc;
  249|   405k|    gcstate->heap_size++;
  250|   405k|#endif
  251|   405k|}
dictobject.c:_PyGCHead_SET_NEXT:
  166|   811k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|   811k|    gc->_gc_next = (uintptr_t)next;
  168|   811k|}
dictobject.c:_PyGCHead_SET_PREV:
  176|   405k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|   405k|    uintptr_t uprev = (uintptr_t)prev;
  178|   405k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 405k, False: 0]
  ------------------
  179|   405k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|   405k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   405k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|   405k|}
dictobject.c:_PyObject_GC_UNTRACK:
  269|    232|{
  270|    232|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    232|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 232, False: 0]
  |  |  ------------------
  |  |  352|    232|      ? (void)(0) \
  |  |  353|    232|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    232|                          "object not tracked by the garbage collector",
  272|    232|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    232|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    232|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    232|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    232|    _PyGCHead_SET_NEXT(prev, next);
  281|    232|    _PyGCHead_SET_PREV(next, prev);
  282|    232|    gc->_gc_next = 0;
  283|    232|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    232|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    232|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    232|    gcstate->heap_size--;
  286|    232|#endif
  287|    232|}
dictobject.c:_PyGCHead_PREV:
  171|    232|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    232|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    232|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    232|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    232|    return (PyGC_Head*)prev;
  174|    232|}
dictobject.c:_PyGCHead_NEXT:
  162|    232|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    232|    uintptr_t next = gc->_gc_next;
  164|    232|    return (PyGC_Head*)next;
  165|    232|}
object.c:_PyType_IS_GC:
   86|    768|{
   87|    768|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|    768|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|    768|}
object.c:_PyGC_FINALIZED:
  182|    384|static inline int _PyGC_FINALIZED(PyObject *op) {
  183|       |#ifdef Py_GIL_DISABLED
  184|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_FINALIZED);
  185|       |#else
  186|    384|    PyGC_Head *gc = _Py_AS_GC(op);
  187|    384|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  133|    384|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  188|    384|#endif
  189|    384|}
object.c:_PyGC_SET_FINALIZED:
  190|    384|static inline void _PyGC_SET_FINALIZED(PyObject *op) {
  191|       |#ifdef Py_GIL_DISABLED
  192|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_FINALIZED);
  193|       |#else
  194|    384|    PyGC_Head *gc = _Py_AS_GC(op);
  195|    384|    gc->_gc_prev |= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    384|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  196|    384|#endif
  197|    384|}
object.c:_PyObject_GC_IS_TRACKED:
   73|  90.8k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  90.8k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  90.8k|    return (gc->_gc_next != 0);
   79|  90.8k|#endif
   80|  90.8k|}
object.c:_PyObject_GC_UNTRACK:
  269|  30.4k|{
  270|  30.4k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  30.4k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 30.4k, False: 0]
  |  |  ------------------
  |  |  352|  30.4k|      ? (void)(0) \
  |  |  353|  30.4k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|  30.4k|                          "object not tracked by the garbage collector",
  272|  30.4k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  30.4k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  30.4k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  30.4k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  30.4k|    _PyGCHead_SET_NEXT(prev, next);
  281|  30.4k|    _PyGCHead_SET_PREV(next, prev);
  282|  30.4k|    gc->_gc_next = 0;
  283|  30.4k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  30.4k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  30.4k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  30.4k|    gcstate->heap_size--;
  286|  30.4k|#endif
  287|  30.4k|}
object.c:_PyGCHead_PREV:
  171|  30.4k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  30.4k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  30.4k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  30.4k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  30.4k|    return (PyGC_Head*)prev;
  174|  30.4k|}
object.c:_PyGCHead_NEXT:
  162|  30.4k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  30.4k|    uintptr_t next = gc->_gc_next;
  164|  30.4k|    return (PyGC_Head*)next;
  165|  30.4k|}
object.c:_PyGCHead_SET_NEXT:
  166|  89.6k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  89.6k|    gc->_gc_next = (uintptr_t)next;
  168|  89.6k|}
object.c:_PyGCHead_SET_PREV:
  176|  60.0k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  60.0k|    uintptr_t uprev = (uintptr_t)prev;
  178|  60.0k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 60.0k, False: 0]
  ------------------
  179|  60.0k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  60.0k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  60.0k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  60.0k|}
object.c:_Py_AS_GC:
   17|   240k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   240k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   240k|    return (PyGC_Head*)gc;
   20|   240k|}
object.c:_PyObject_GC_TRACK:
  229|  29.5k|{
  230|  29.5k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  29.5k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 29.5k, False: 0]
  |  |  ------------------
  |  |  352|  29.5k|      ? (void)(0) \
  |  |  353|  29.5k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|  29.5k|                          "object already tracked by the garbage collector",
  232|  29.5k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  29.5k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  29.5k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  29.5k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 29.5k, False: 0]
  |  |  ------------------
  |  |  352|  29.5k|      ? (void)(0) \
  |  |  353|  29.5k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|  29.5k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  29.5k|                          "object is in generation which is garbage collected",
  240|  29.5k|                          filename, lineno, __func__);
  241|       |
  242|  29.5k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  29.5k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  29.5k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  29.5k|    _PyGCHead_SET_NEXT(last, gc);
  246|  29.5k|    _PyGCHead_SET_PREV(gc, last);
  247|  29.5k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  29.5k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  29.5k|    gcstate->heap_size++;
  250|  29.5k|#endif
  251|  29.5k|}
sentinelobject.c:_PyObject_GC_TRACK:
  229|      7|{
  230|      7|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      7|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 7, False: 0]
  |  |  ------------------
  |  |  352|      7|      ? (void)(0) \
  |  |  353|      7|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|      7|                          "object already tracked by the garbage collector",
  232|      7|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|      7|    PyGC_Head *gc = _Py_AS_GC(op);
  237|      7|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|      7|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 7, False: 0]
  |  |  ------------------
  |  |  352|      7|      ? (void)(0) \
  |  |  353|      7|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|      7|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|      7|                          "object is in generation which is garbage collected",
  240|      7|                          filename, lineno, __func__);
  241|       |
  242|      7|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|      7|    PyGC_Head *generation0 = gcstate->generation0;
  244|      7|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|      7|    _PyGCHead_SET_NEXT(last, gc);
  246|      7|    _PyGCHead_SET_PREV(gc, last);
  247|      7|    _PyGCHead_SET_NEXT(gc, generation0);
  248|      7|    generation0->_gc_prev = (uintptr_t)gc;
  249|      7|    gcstate->heap_size++;
  250|      7|#endif
  251|      7|}
sentinelobject.c:_PyObject_GC_IS_TRACKED:
   73|      8|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|      8|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      8|    return (gc->_gc_next != 0);
   79|      8|#endif
   80|      8|}
sentinelobject.c:_Py_AS_GC:
   17|     16|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     16|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     16|    return (PyGC_Head*)gc;
   20|     16|}
sentinelobject.c:_PyGCHead_SET_NEXT:
  166|     15|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     15|    gc->_gc_next = (uintptr_t)next;
  168|     15|}
sentinelobject.c:_PyGCHead_SET_PREV:
  176|      8|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|      8|    uintptr_t uprev = (uintptr_t)prev;
  178|      8|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 8, False: 0]
  ------------------
  179|      8|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|      8|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      8|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|      8|}
sentinelobject.c:_PyObject_GC_UNTRACK:
  269|      1|{
  270|      1|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  352|      1|      ? (void)(0) \
  |  |  353|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|      1|                          "object not tracked by the garbage collector",
  272|      1|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|      1|    PyGC_Head *gc = _Py_AS_GC(op);
  278|      1|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|      1|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|      1|    _PyGCHead_SET_NEXT(prev, next);
  281|      1|    _PyGCHead_SET_PREV(next, prev);
  282|      1|    gc->_gc_next = 0;
  283|      1|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|      1|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|      1|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|      1|    gcstate->heap_size--;
  286|      1|#endif
  287|      1|}
sentinelobject.c:_PyGCHead_PREV:
  171|      1|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|      1|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|      1|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      1|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|      1|    return (PyGC_Head*)prev;
  174|      1|}
sentinelobject.c:_PyGCHead_NEXT:
  162|      1|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|      1|    uintptr_t next = gc->_gc_next;
  164|      1|    return (PyGC_Head*)next;
  165|      1|}
setobject.c:_PyObject_GC_UNTRACK:
  269|    172|{
  270|    172|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    172|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 172, False: 0]
  |  |  ------------------
  |  |  352|    172|      ? (void)(0) \
  |  |  353|    172|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    172|                          "object not tracked by the garbage collector",
  272|    172|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    172|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    172|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    172|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    172|    _PyGCHead_SET_NEXT(prev, next);
  281|    172|    _PyGCHead_SET_PREV(next, prev);
  282|    172|    gc->_gc_next = 0;
  283|    172|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    172|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    172|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    172|    gcstate->heap_size--;
  286|    172|#endif
  287|    172|}
setobject.c:_PyObject_GC_IS_TRACKED:
   73|    586|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|    586|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    586|    return (gc->_gc_next != 0);
   79|    586|#endif
   80|    586|}
setobject.c:_Py_AS_GC:
   17|  1.17k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.17k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.17k|    return (PyGC_Head*)gc;
   20|  1.17k|}
setobject.c:_PyGCHead_PREV:
  171|    172|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    172|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    172|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    172|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    172|    return (PyGC_Head*)prev;
  174|    172|}
setobject.c:_PyGCHead_NEXT:
  162|    172|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    172|    uintptr_t next = gc->_gc_next;
  164|    172|    return (PyGC_Head*)next;
  165|    172|}
setobject.c:_PyGCHead_SET_NEXT:
  166|  1.00k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.00k|    gc->_gc_next = (uintptr_t)next;
  168|  1.00k|}
setobject.c:_PyGCHead_SET_PREV:
  176|    586|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    586|    uintptr_t uprev = (uintptr_t)prev;
  178|    586|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 586, False: 0]
  ------------------
  179|    586|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    586|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    586|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    586|}
setobject.c:_PyObject_GC_MAY_BE_TRACKED:
  101|    801|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
  102|    801|    if (!_PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (102:9): [True: 775, False: 26]
  ------------------
  103|    775|        return 0;
  104|    775|    }
  105|     26|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|     26|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     26|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|      0|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|      0|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  107|      0|    }
  108|     26|    return 1;
  109|     26|}
setobject.c:_PyObject_IS_GC:
   93|    801|{
   94|    801|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|    801|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    801|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    801|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|    801|    return (_PyType_IS_GC(type)
  ------------------
  |  Branch (95:13): [True: 69, False: 732]
  ------------------
   96|     69|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (96:17): [True: 26, False: 43]
  |  Branch (96:43): [True: 0, False: 43]
  ------------------
   97|    801|}
setobject.c:_PyType_IS_GC:
   86|    801|{
   87|    801|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|    801|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|    801|}
setobject.c:_PyObject_GC_TRACK:
  229|    414|{
  230|    414|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    414|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 414, False: 0]
  |  |  ------------------
  |  |  352|    414|      ? (void)(0) \
  |  |  353|    414|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    414|                          "object already tracked by the garbage collector",
  232|    414|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    414|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    414|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    414|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 414, False: 0]
  |  |  ------------------
  |  |  352|    414|      ? (void)(0) \
  |  |  353|    414|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    414|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    414|                          "object is in generation which is garbage collected",
  240|    414|                          filename, lineno, __func__);
  241|       |
  242|    414|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    414|    PyGC_Head *generation0 = gcstate->generation0;
  244|    414|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    414|    _PyGCHead_SET_NEXT(last, gc);
  246|    414|    _PyGCHead_SET_PREV(gc, last);
  247|    414|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    414|    generation0->_gc_prev = (uintptr_t)gc;
  249|    414|    gcstate->heap_size++;
  250|    414|#endif
  251|    414|}
sliceobject.c:_PyObject_GC_TRACK:
  229|    169|{
  230|    169|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    169|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 169, False: 0]
  |  |  ------------------
  |  |  352|    169|      ? (void)(0) \
  |  |  353|    169|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    169|                          "object already tracked by the garbage collector",
  232|    169|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    169|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    169|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    169|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 169, False: 0]
  |  |  ------------------
  |  |  352|    169|      ? (void)(0) \
  |  |  353|    169|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    169|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    169|                          "object is in generation which is garbage collected",
  240|    169|                          filename, lineno, __func__);
  241|       |
  242|    169|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    169|    PyGC_Head *generation0 = gcstate->generation0;
  244|    169|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    169|    _PyGCHead_SET_NEXT(last, gc);
  246|    169|    _PyGCHead_SET_PREV(gc, last);
  247|    169|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    169|    generation0->_gc_prev = (uintptr_t)gc;
  249|    169|    gcstate->heap_size++;
  250|    169|#endif
  251|    169|}
sliceobject.c:_PyObject_GC_IS_TRACKED:
   73|    169|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|    169|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    169|    return (gc->_gc_next != 0);
   79|    169|#endif
   80|    169|}
sliceobject.c:_Py_AS_GC:
   17|    338|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    338|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    338|    return (PyGC_Head*)gc;
   20|    338|}
sliceobject.c:_PyGCHead_SET_NEXT:
  166|    338|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|    338|    gc->_gc_next = (uintptr_t)next;
  168|    338|}
sliceobject.c:_PyGCHead_SET_PREV:
  176|    169|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    169|    uintptr_t uprev = (uintptr_t)prev;
  178|    169|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 169, False: 0]
  ------------------
  179|    169|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    169|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    169|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    169|}
tupleobject.c:_PyObject_GC_TRACK:
  229|   828k|{
  230|   828k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|   828k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 828k, False: 0]
  |  |  ------------------
  |  |  352|   828k|      ? (void)(0) \
  |  |  353|   828k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|   828k|                          "object already tracked by the garbage collector",
  232|   828k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|   828k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|   828k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|   828k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 828k, False: 0]
  |  |  ------------------
  |  |  352|   828k|      ? (void)(0) \
  |  |  353|   828k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|   828k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|   828k|                          "object is in generation which is garbage collected",
  240|   828k|                          filename, lineno, __func__);
  241|       |
  242|   828k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|   828k|    PyGC_Head *generation0 = gcstate->generation0;
  244|   828k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|   828k|    _PyGCHead_SET_NEXT(last, gc);
  246|   828k|    _PyGCHead_SET_PREV(gc, last);
  247|   828k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|   828k|    generation0->_gc_prev = (uintptr_t)gc;
  249|   828k|    gcstate->heap_size++;
  250|   828k|#endif
  251|   828k|}
tupleobject.c:_Py_AS_GC:
   17|  1.75M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.75M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.75M|    return (PyGC_Head*)gc;
   20|  1.75M|}
tupleobject.c:_PyGCHead_SET_NEXT:
  166|  1.66M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.66M|    gc->_gc_next = (uintptr_t)next;
  168|  1.66M|}
tupleobject.c:_PyGCHead_SET_PREV:
  176|   834k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|   834k|    uintptr_t uprev = (uintptr_t)prev;
  178|   834k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 834k, False: 0]
  ------------------
  179|   834k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|   834k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   834k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|   834k|}
tupleobject.c:_PyObject_GC_IS_TRACKED:
   73|   918k|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|   918k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   918k|    return (gc->_gc_next != 0);
   79|   918k|#endif
   80|   918k|}
tupleobject.c:_PyObject_GC_MAY_BE_TRACKED:
  101|   125k|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
  102|   125k|    if (!_PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (102:9): [True: 48.0k, False: 77.5k]
  ------------------
  103|  48.0k|        return 0;
  104|  48.0k|    }
  105|  77.5k|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|  77.5k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  77.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  77.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  77.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.13k, False: 76.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|  1.13k|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|  1.13k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  107|  1.13k|    }
  108|  76.4k|    return 1;
  109|  77.5k|}
tupleobject.c:_PyObject_IS_GC:
   93|   125k|{
   94|   125k|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|   125k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   125k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   125k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|   125k|    return (_PyType_IS_GC(type)
  ------------------
  |  Branch (95:13): [True: 77.9k, False: 47.6k]
  ------------------
   96|  77.9k|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (96:17): [True: 23.4k, False: 54.4k]
  |  Branch (96:43): [True: 54.0k, False: 373]
  ------------------
   97|   125k|}
tupleobject.c:_PyType_IS_GC:
   86|   995k|{
   87|   995k|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|   995k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|   995k|}
tupleobject.c:_PyObject_GC_UNTRACK:
  269|  5.93k|{
  270|  5.93k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  5.93k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 5.93k, False: 0]
  |  |  ------------------
  |  |  352|  5.93k|      ? (void)(0) \
  |  |  353|  5.93k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|  5.93k|                          "object not tracked by the garbage collector",
  272|  5.93k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  5.93k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  5.93k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  5.93k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  5.93k|    _PyGCHead_SET_NEXT(prev, next);
  281|  5.93k|    _PyGCHead_SET_PREV(next, prev);
  282|  5.93k|    gc->_gc_next = 0;
  283|  5.93k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  5.93k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  5.93k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  5.93k|    gcstate->heap_size--;
  286|  5.93k|#endif
  287|  5.93k|}
tupleobject.c:_PyGCHead_PREV:
  171|  5.93k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  5.93k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  5.93k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  5.93k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  5.93k|    return (PyGC_Head*)prev;
  174|  5.93k|}
tupleobject.c:_PyGCHead_NEXT:
  162|  5.93k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  5.93k|    uintptr_t next = gc->_gc_next;
  164|  5.93k|    return (PyGC_Head*)next;
  165|  5.93k|}
typeobject.c:_PyType_IS_GC:
   86|   312k|{
   87|   312k|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|   312k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|   312k|}
typeobject.c:_PyObject_GC_TRACK:
  229|   152k|{
  230|   152k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|   152k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 152k, False: 0]
  |  |  ------------------
  |  |  352|   152k|      ? (void)(0) \
  |  |  353|   152k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|   152k|                          "object already tracked by the garbage collector",
  232|   152k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|   152k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|   152k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|   152k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 152k, False: 0]
  |  |  ------------------
  |  |  352|   152k|      ? (void)(0) \
  |  |  353|   152k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|   152k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|   152k|                          "object is in generation which is garbage collected",
  240|   152k|                          filename, lineno, __func__);
  241|       |
  242|   152k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|   152k|    PyGC_Head *generation0 = gcstate->generation0;
  244|   152k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|   152k|    _PyGCHead_SET_NEXT(last, gc);
  246|   152k|    _PyGCHead_SET_PREV(gc, last);
  247|   152k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|   152k|    generation0->_gc_prev = (uintptr_t)gc;
  249|   152k|    gcstate->heap_size++;
  250|   152k|#endif
  251|   152k|}
typeobject.c:_PyObject_GC_IS_TRACKED:
   73|   153k|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|   153k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   153k|    return (gc->_gc_next != 0);
   79|   153k|#endif
   80|   153k|}
typeobject.c:_Py_AS_GC:
   17|   306k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   306k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   306k|    return (PyGC_Head*)gc;
   20|   306k|}
typeobject.c:_PyGCHead_SET_NEXT:
  166|   306k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|   306k|    gc->_gc_next = (uintptr_t)next;
  168|   306k|}
typeobject.c:_PyGCHead_SET_PREV:
  176|   153k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|   153k|    uintptr_t uprev = (uintptr_t)prev;
  178|   153k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 153k, False: 0]
  ------------------
  179|   153k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|   153k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   153k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|   153k|}
typeobject.c:_PyObject_GC_UNTRACK:
  269|    811|{
  270|    811|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    811|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 811, False: 0]
  |  |  ------------------
  |  |  352|    811|      ? (void)(0) \
  |  |  353|    811|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    811|                          "object not tracked by the garbage collector",
  272|    811|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    811|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    811|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    811|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    811|    _PyGCHead_SET_NEXT(prev, next);
  281|    811|    _PyGCHead_SET_PREV(next, prev);
  282|    811|    gc->_gc_next = 0;
  283|    811|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    811|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    811|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    811|    gcstate->heap_size--;
  286|    811|#endif
  287|    811|}
typeobject.c:_PyGCHead_PREV:
  171|    811|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    811|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    811|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    811|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    811|    return (PyGC_Head*)prev;
  174|    811|}
typeobject.c:_PyGCHead_NEXT:
  162|    811|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    811|    uintptr_t next = gc->_gc_next;
  164|    811|    return (PyGC_Head*)next;
  165|    811|}
unicodeobject.c:_PyObject_GC_UNTRACK:
  269|   403k|{
  270|   403k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|   403k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 403k, False: 0]
  |  |  ------------------
  |  |  352|   403k|      ? (void)(0) \
  |  |  353|   403k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|   403k|                          "object not tracked by the garbage collector",
  272|   403k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|   403k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|   403k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|   403k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|   403k|    _PyGCHead_SET_NEXT(prev, next);
  281|   403k|    _PyGCHead_SET_PREV(next, prev);
  282|   403k|    gc->_gc_next = 0;
  283|   403k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|   403k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|   403k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|   403k|    gcstate->heap_size--;
  286|   403k|#endif
  287|   403k|}
unicodeobject.c:_PyObject_GC_IS_TRACKED:
   73|   807k|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|   807k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   807k|    return (gc->_gc_next != 0);
   79|   807k|#endif
   80|   807k|}
unicodeobject.c:_Py_AS_GC:
   17|  1.61M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.61M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.61M|    return (PyGC_Head*)gc;
   20|  1.61M|}
unicodeobject.c:_PyGCHead_PREV:
  171|   403k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|   403k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|   403k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   403k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|   403k|    return (PyGC_Head*)prev;
  174|   403k|}
unicodeobject.c:_PyGCHead_NEXT:
  162|   403k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|   403k|    uintptr_t next = gc->_gc_next;
  164|   403k|    return (PyGC_Head*)next;
  165|   403k|}
unicodeobject.c:_PyGCHead_SET_NEXT:
  166|  1.21M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.21M|    gc->_gc_next = (uintptr_t)next;
  168|  1.21M|}
unicodeobject.c:_PyGCHead_SET_PREV:
  176|   807k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|   807k|    uintptr_t uprev = (uintptr_t)prev;
  178|   807k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 807k, False: 0]
  ------------------
  179|   807k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|   807k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   807k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|   807k|}
unicodeobject.c:_PyObject_GC_TRACK:
  229|   403k|{
  230|   403k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|   403k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 403k, False: 0]
  |  |  ------------------
  |  |  352|   403k|      ? (void)(0) \
  |  |  353|   403k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|   403k|                          "object already tracked by the garbage collector",
  232|   403k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|   403k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|   403k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|   403k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 403k, False: 0]
  |  |  ------------------
  |  |  352|   403k|      ? (void)(0) \
  |  |  353|   403k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|   403k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|   403k|                          "object is in generation which is garbage collected",
  240|   403k|                          filename, lineno, __func__);
  241|       |
  242|   403k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|   403k|    PyGC_Head *generation0 = gcstate->generation0;
  244|   403k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|   403k|    _PyGCHead_SET_NEXT(last, gc);
  246|   403k|    _PyGCHead_SET_PREV(gc, last);
  247|   403k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|   403k|    generation0->_gc_prev = (uintptr_t)gc;
  249|   403k|    gcstate->heap_size++;
  250|   403k|#endif
  251|   403k|}
unionobject.c:_PyObject_GC_UNTRACK:
  269|      1|{
  270|      1|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  352|      1|      ? (void)(0) \
  |  |  353|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|      1|                          "object not tracked by the garbage collector",
  272|      1|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|      1|    PyGC_Head *gc = _Py_AS_GC(op);
  278|      1|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|      1|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|      1|    _PyGCHead_SET_NEXT(prev, next);
  281|      1|    _PyGCHead_SET_PREV(next, prev);
  282|      1|    gc->_gc_next = 0;
  283|      1|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|      1|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|      1|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|      1|    gcstate->heap_size--;
  286|      1|#endif
  287|      1|}
unionobject.c:_PyObject_GC_IS_TRACKED:
   73|      2|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|      2|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      2|    return (gc->_gc_next != 0);
   79|      2|#endif
   80|      2|}
unionobject.c:_Py_AS_GC:
   17|      4|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|      4|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|      4|    return (PyGC_Head*)gc;
   20|      4|}
unionobject.c:_PyGCHead_PREV:
  171|      1|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|      1|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|      1|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      1|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|      1|    return (PyGC_Head*)prev;
  174|      1|}
unionobject.c:_PyGCHead_NEXT:
  162|      1|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|      1|    uintptr_t next = gc->_gc_next;
  164|      1|    return (PyGC_Head*)next;
  165|      1|}
unionobject.c:_PyGCHead_SET_NEXT:
  166|      3|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|      3|    gc->_gc_next = (uintptr_t)next;
  168|      3|}
unionobject.c:_PyGCHead_SET_PREV:
  176|      2|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|      2|    uintptr_t uprev = (uintptr_t)prev;
  178|      2|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 2, False: 0]
  ------------------
  179|      2|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|      2|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      2|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|      2|}
unionobject.c:_PyObject_GC_TRACK:
  229|      1|{
  230|      1|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  352|      1|      ? (void)(0) \
  |  |  353|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|      1|                          "object already tracked by the garbage collector",
  232|      1|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|      1|    PyGC_Head *gc = _Py_AS_GC(op);
  237|      1|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  352|      1|      ? (void)(0) \
  |  |  353|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|      1|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|      1|                          "object is in generation which is garbage collected",
  240|      1|                          filename, lineno, __func__);
  241|       |
  242|      1|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|      1|    PyGC_Head *generation0 = gcstate->generation0;
  244|      1|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|      1|    _PyGCHead_SET_NEXT(last, gc);
  246|      1|    _PyGCHead_SET_PREV(gc, last);
  247|      1|    _PyGCHead_SET_NEXT(gc, generation0);
  248|      1|    generation0->_gc_prev = (uintptr_t)gc;
  249|      1|    gcstate->heap_size++;
  250|      1|#endif
  251|      1|}
bltinmodule.c:_PyObject_GC_IS_TRACKED:
   73|     68|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     68|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     68|    return (gc->_gc_next != 0);
   79|     68|#endif
   80|     68|}
bltinmodule.c:_Py_AS_GC:
   17|     68|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     68|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     68|    return (PyGC_Head*)gc;
   20|     68|}
context.c:_PyObject_GC_MAY_BE_TRACKED:
  101|      2|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
  102|      2|    if (!_PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (102:9): [True: 2, False: 0]
  ------------------
  103|      2|        return 0;
  104|      2|    }
  105|      0|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|      0|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|      0|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  107|      0|    }
  108|      0|    return 1;
  109|      0|}
context.c:_PyObject_IS_GC:
   93|      2|{
   94|      2|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|      2|    return (_PyType_IS_GC(type)
  ------------------
  |  Branch (95:13): [True: 0, False: 2]
  ------------------
   96|      0|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (96:17): [True: 0, False: 0]
  |  Branch (96:43): [True: 0, False: 0]
  ------------------
   97|      2|}
context.c:_PyType_IS_GC:
   86|      2|{
   87|      2|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|      2|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|      2|}
frame.c:_PyObject_GC_IS_TRACKED:
   73|  1.71k|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.71k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  1.71k|    return (gc->_gc_next != 0);
   79|  1.71k|#endif
   80|  1.71k|}
frame.c:_Py_AS_GC:
   17|  2.57k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  2.57k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  2.57k|    return (PyGC_Head*)gc;
   20|  2.57k|}
frame.c:_PyObject_GC_TRACK:
  229|    859|{
  230|    859|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    859|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 859, False: 0]
  |  |  ------------------
  |  |  352|    859|      ? (void)(0) \
  |  |  353|    859|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    859|                          "object already tracked by the garbage collector",
  232|    859|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    859|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    859|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    859|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 859, False: 0]
  |  |  ------------------
  |  |  352|    859|      ? (void)(0) \
  |  |  353|    859|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    859|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    859|                          "object is in generation which is garbage collected",
  240|    859|                          filename, lineno, __func__);
  241|       |
  242|    859|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    859|    PyGC_Head *generation0 = gcstate->generation0;
  244|    859|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    859|    _PyGCHead_SET_NEXT(last, gc);
  246|    859|    _PyGCHead_SET_PREV(gc, last);
  247|    859|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    859|    generation0->_gc_prev = (uintptr_t)gc;
  249|    859|    gcstate->heap_size++;
  250|    859|#endif
  251|    859|}
frame.c:_PyGCHead_SET_NEXT:
  166|  1.71k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.71k|    gc->_gc_next = (uintptr_t)next;
  168|  1.71k|}
frame.c:_PyGCHead_SET_PREV:
  176|    859|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    859|    uintptr_t uprev = (uintptr_t)prev;
  178|    859|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 859, False: 0]
  ------------------
  179|    859|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    859|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    859|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    859|}
gc.c:_PyGCHead_NEXT:
  162|  66.3M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  66.3M|    uintptr_t next = gc->_gc_next;
  164|  66.3M|    return (PyGC_Head*)next;
  165|  66.3M|}
gc.c:_PyGCHead_PREV:
  171|  20.4M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  20.4M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  20.4M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  20.4M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  20.4M|    return (PyGC_Head*)prev;
  174|  20.4M|}
gc.c:_PyGCHead_SET_NEXT:
  166|  52.8M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  52.8M|    gc->_gc_next = (uintptr_t)next;
  168|  52.8M|}
gc.c:_PyGCHead_SET_PREV:
  176|  59.5M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  59.5M|    uintptr_t uprev = (uintptr_t)prev;
  178|  59.5M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 59.5M, False: 0]
  ------------------
  179|  59.5M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  59.5M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  59.5M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  59.5M|}
gc.c:_Py_FROM_GC:
   23|  68.7M|static inline PyObject* _Py_FROM_GC(PyGC_Head *gc) {
   24|  68.7M|    char *op = ((char *)gc) + sizeof(PyGC_Head);
   25|  68.7M|    return (PyObject *)op;
   26|  68.7M|}
gc.c:_PyObject_GC_IS_TRACKED:
   73|  93.8M|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|  93.8M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  93.8M|    return (gc->_gc_next != 0);
   79|  93.8M|#endif
   80|  93.8M|}
gc.c:_PyObject_GC_TRACK:
  229|  16.1M|{
  230|  16.1M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  16.1M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 16.1M, False: 0]
  |  |  ------------------
  |  |  352|  16.1M|      ? (void)(0) \
  |  |  353|  16.1M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|  16.1M|                          "object already tracked by the garbage collector",
  232|  16.1M|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  16.1M|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  16.1M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  16.1M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 16.1M, False: 0]
  |  |  ------------------
  |  |  352|  16.1M|      ? (void)(0) \
  |  |  353|  16.1M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|  16.1M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  16.1M|                          "object is in generation which is garbage collected",
  240|  16.1M|                          filename, lineno, __func__);
  241|       |
  242|  16.1M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  16.1M|    PyGC_Head *generation0 = gcstate->generation0;
  244|  16.1M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  16.1M|    _PyGCHead_SET_NEXT(last, gc);
  246|  16.1M|    _PyGCHead_SET_PREV(gc, last);
  247|  16.1M|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  16.1M|    generation0->_gc_prev = (uintptr_t)gc;
  249|  16.1M|    gcstate->heap_size++;
  250|  16.1M|#endif
  251|  16.1M|}
gc.c:_PyObject_GC_UNTRACK:
  269|  20.4M|{
  270|  20.4M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  20.4M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 20.4M, False: 0]
  |  |  ------------------
  |  |  352|  20.4M|      ? (void)(0) \
  |  |  353|  20.4M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|  20.4M|                          "object not tracked by the garbage collector",
  272|  20.4M|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  20.4M|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  20.4M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  20.4M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  20.4M|    _PyGCHead_SET_NEXT(prev, next);
  281|  20.4M|    _PyGCHead_SET_PREV(next, prev);
  282|  20.4M|    gc->_gc_next = 0;
  283|  20.4M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  20.4M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  20.4M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  20.4M|    gcstate->heap_size--;
  286|  20.4M|#endif
  287|  20.4M|}
gc.c:_PyObject_IS_GC:
   93|   239M|{
   94|   239M|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|   239M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   239M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   239M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|   239M|    return (_PyType_IS_GC(type)
  ------------------
  |  Branch (95:13): [True: 102M, False: 137M]
  ------------------
   96|   102M|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (96:17): [True: 56.6M, False: 45.5M]
  |  Branch (96:43): [True: 45.3M, False: 256k]
  ------------------
   97|   239M|}
gc.c:_PyType_IS_GC:
   86|   280M|{
   87|   280M|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|   280M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|   280M|}
gc.c:_Py_AS_GC:
   17|   272M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   272M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   272M|    return (PyGC_Head*)gc;
   20|   272M|}
gc.c:_PyGC_FINALIZED:
  182|    153|static inline int _PyGC_FINALIZED(PyObject *op) {
  183|       |#ifdef Py_GIL_DISABLED
  184|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_FINALIZED);
  185|       |#else
  186|    153|    PyGC_Head *gc = _Py_AS_GC(op);
  187|    153|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  133|    153|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  188|    153|#endif
  189|    153|}
fileio.c:_PyObject_GC_UNTRACK:
  269|     95|{
  270|     95|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     95|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 95, False: 0]
  |  |  ------------------
  |  |  352|     95|      ? (void)(0) \
  |  |  353|     95|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|     95|                          "object not tracked by the garbage collector",
  272|     95|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|     95|    PyGC_Head *gc = _Py_AS_GC(op);
  278|     95|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|     95|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|     95|    _PyGCHead_SET_NEXT(prev, next);
  281|     95|    _PyGCHead_SET_PREV(next, prev);
  282|     95|    gc->_gc_next = 0;
  283|     95|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|     95|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|     95|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|     95|    gcstate->heap_size--;
  286|     95|#endif
  287|     95|}
fileio.c:_PyObject_GC_IS_TRACKED:
   73|     95|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|     95|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     95|    return (gc->_gc_next != 0);
   79|     95|#endif
   80|     95|}
fileio.c:_Py_AS_GC:
   17|    190|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    190|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    190|    return (PyGC_Head*)gc;
   20|    190|}
fileio.c:_PyGCHead_PREV:
  171|     95|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|     95|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|     95|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     95|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|     95|    return (PyGC_Head*)prev;
  174|     95|}
fileio.c:_PyGCHead_NEXT:
  162|     95|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|     95|    uintptr_t next = gc->_gc_next;
  164|     95|    return (PyGC_Head*)next;
  165|     95|}
fileio.c:_PyGCHead_SET_NEXT:
  166|     95|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     95|    gc->_gc_next = (uintptr_t)next;
  168|     95|}
fileio.c:_PyGCHead_SET_PREV:
  176|     95|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|     95|    uintptr_t uprev = (uintptr_t)prev;
  178|     95|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 95, False: 0]
  ------------------
  179|     95|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|     95|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     95|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|     95|}
bytesio.c:_PyObject_GC_UNTRACK:
  269|  16.8k|{
  270|  16.8k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  16.8k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 16.8k, False: 0]
  |  |  ------------------
  |  |  352|  16.8k|      ? (void)(0) \
  |  |  353|  16.8k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|  16.8k|                          "object not tracked by the garbage collector",
  272|  16.8k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  16.8k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  16.8k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  16.8k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  16.8k|    _PyGCHead_SET_NEXT(prev, next);
  281|  16.8k|    _PyGCHead_SET_PREV(next, prev);
  282|  16.8k|    gc->_gc_next = 0;
  283|  16.8k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  16.8k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  16.8k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  16.8k|    gcstate->heap_size--;
  286|  16.8k|#endif
  287|  16.8k|}
bytesio.c:_PyObject_GC_IS_TRACKED:
   73|  16.8k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  16.8k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  16.8k|    return (gc->_gc_next != 0);
   79|  16.8k|#endif
   80|  16.8k|}
bytesio.c:_Py_AS_GC:
   17|  33.7k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  33.7k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  33.7k|    return (PyGC_Head*)gc;
   20|  33.7k|}
bytesio.c:_PyGCHead_PREV:
  171|  16.8k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  16.8k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  16.8k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  16.8k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  16.8k|    return (PyGC_Head*)prev;
  174|  16.8k|}
bytesio.c:_PyGCHead_NEXT:
  162|  16.8k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  16.8k|    uintptr_t next = gc->_gc_next;
  164|  16.8k|    return (PyGC_Head*)next;
  165|  16.8k|}
bytesio.c:_PyGCHead_SET_NEXT:
  166|  16.8k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  16.8k|    gc->_gc_next = (uintptr_t)next;
  168|  16.8k|}
bytesio.c:_PyGCHead_SET_PREV:
  176|  16.8k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  16.8k|    uintptr_t uprev = (uintptr_t)prev;
  178|  16.8k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 16.8k, False: 0]
  ------------------
  179|  16.8k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  16.8k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  16.8k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  16.8k|}
bufferedio.c:_PyObject_GC_UNTRACK:
  269|     95|{
  270|     95|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     95|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 95, False: 0]
  |  |  ------------------
  |  |  352|     95|      ? (void)(0) \
  |  |  353|     95|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|     95|                          "object not tracked by the garbage collector",
  272|     95|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|     95|    PyGC_Head *gc = _Py_AS_GC(op);
  278|     95|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|     95|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|     95|    _PyGCHead_SET_NEXT(prev, next);
  281|     95|    _PyGCHead_SET_PREV(next, prev);
  282|     95|    gc->_gc_next = 0;
  283|     95|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|     95|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|     95|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|     95|    gcstate->heap_size--;
  286|     95|#endif
  287|     95|}
bufferedio.c:_PyObject_GC_IS_TRACKED:
   73|     95|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|     95|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     95|    return (gc->_gc_next != 0);
   79|     95|#endif
   80|     95|}
bufferedio.c:_Py_AS_GC:
   17|    190|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    190|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    190|    return (PyGC_Head*)gc;
   20|    190|}
bufferedio.c:_PyGCHead_PREV:
  171|     95|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|     95|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|     95|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     95|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|     95|    return (PyGC_Head*)prev;
  174|     95|}
bufferedio.c:_PyGCHead_NEXT:
  162|     95|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|     95|    uintptr_t next = gc->_gc_next;
  164|     95|    return (PyGC_Head*)next;
  165|     95|}
bufferedio.c:_PyGCHead_SET_NEXT:
  166|     95|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     95|    gc->_gc_next = (uintptr_t)next;
  168|     95|}
bufferedio.c:_PyGCHead_SET_PREV:
  176|     95|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|     95|    uintptr_t uprev = (uintptr_t)prev;
  178|     95|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 95, False: 0]
  ------------------
  179|     95|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|     95|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     95|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|     95|}
bytearrayobject.c:_PyObject_GC_UNTRACK:
  269|      2|{
  270|      2|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  352|      2|      ? (void)(0) \
  |  |  353|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|      2|                          "object not tracked by the garbage collector",
  272|      2|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  278|      2|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|      2|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|      2|    _PyGCHead_SET_NEXT(prev, next);
  281|      2|    _PyGCHead_SET_PREV(next, prev);
  282|      2|    gc->_gc_next = 0;
  283|      2|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|      2|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|      2|    gcstate->heap_size--;
  286|      2|#endif
  287|      2|}
bytearrayobject.c:_PyObject_GC_IS_TRACKED:
   73|      4|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|      4|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      4|    return (gc->_gc_next != 0);
   79|      4|#endif
   80|      4|}
bytearrayobject.c:_Py_AS_GC:
   17|      8|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|      8|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|      8|    return (PyGC_Head*)gc;
   20|      8|}
bytearrayobject.c:_PyGCHead_PREV:
  171|      2|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|      2|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|      2|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      2|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|      2|    return (PyGC_Head*)prev;
  174|      2|}
bytearrayobject.c:_PyGCHead_NEXT:
  162|      2|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|      2|    uintptr_t next = gc->_gc_next;
  164|      2|    return (PyGC_Head*)next;
  165|      2|}
bytearrayobject.c:_PyGCHead_SET_NEXT:
  166|      6|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|      6|    gc->_gc_next = (uintptr_t)next;
  168|      6|}
bytearrayobject.c:_PyGCHead_SET_PREV:
  176|      4|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|      4|    uintptr_t uprev = (uintptr_t)prev;
  178|      4|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 4, False: 0]
  ------------------
  179|      4|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|      4|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      4|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|      4|}
bytearrayobject.c:_PyObject_GC_TRACK:
  229|      2|{
  230|      2|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  352|      2|      ? (void)(0) \
  |  |  353|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|      2|                          "object already tracked by the garbage collector",
  232|      2|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  237|      2|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  352|      2|      ? (void)(0) \
  |  |  353|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|      2|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|      2|                          "object is in generation which is garbage collected",
  240|      2|                          filename, lineno, __func__);
  241|       |
  242|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|      2|    PyGC_Head *generation0 = gcstate->generation0;
  244|      2|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|      2|    _PyGCHead_SET_NEXT(last, gc);
  246|      2|    _PyGCHead_SET_PREV(gc, last);
  247|      2|    _PyGCHead_SET_NEXT(gc, generation0);
  248|      2|    generation0->_gc_prev = (uintptr_t)gc;
  249|      2|    gcstate->heap_size++;
  250|      2|#endif
  251|      2|}
bytesobject.c:_PyObject_GC_UNTRACK:
  269|      2|{
  270|      2|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  352|      2|      ? (void)(0) \
  |  |  353|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|      2|                          "object not tracked by the garbage collector",
  272|      2|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  278|      2|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|      2|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|      2|    _PyGCHead_SET_NEXT(prev, next);
  281|      2|    _PyGCHead_SET_PREV(next, prev);
  282|      2|    gc->_gc_next = 0;
  283|      2|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|      2|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|      2|    gcstate->heap_size--;
  286|      2|#endif
  287|      2|}
bytesobject.c:_PyObject_GC_IS_TRACKED:
   73|      4|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|      4|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      4|    return (gc->_gc_next != 0);
   79|      4|#endif
   80|      4|}
bytesobject.c:_Py_AS_GC:
   17|      8|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|      8|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|      8|    return (PyGC_Head*)gc;
   20|      8|}
bytesobject.c:_PyGCHead_PREV:
  171|      2|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|      2|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|      2|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      2|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|      2|    return (PyGC_Head*)prev;
  174|      2|}
bytesobject.c:_PyGCHead_NEXT:
  162|      2|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|      2|    uintptr_t next = gc->_gc_next;
  164|      2|    return (PyGC_Head*)next;
  165|      2|}
bytesobject.c:_PyGCHead_SET_NEXT:
  166|      6|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|      6|    gc->_gc_next = (uintptr_t)next;
  168|      6|}
bytesobject.c:_PyGCHead_SET_PREV:
  176|      4|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|      4|    uintptr_t uprev = (uintptr_t)prev;
  178|      4|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 4, False: 0]
  ------------------
  179|      4|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|      4|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      4|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|      4|}
bytesobject.c:_PyObject_GC_TRACK:
  229|      2|{
  230|      2|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  352|      2|      ? (void)(0) \
  |  |  353|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|      2|                          "object already tracked by the garbage collector",
  232|      2|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|      2|    PyGC_Head *gc = _Py_AS_GC(op);
  237|      2|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  352|      2|      ? (void)(0) \
  |  |  353|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|      2|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|      2|                          "object is in generation which is garbage collected",
  240|      2|                          filename, lineno, __func__);
  241|       |
  242|      2|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|      2|    PyGC_Head *generation0 = gcstate->generation0;
  244|      2|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|      2|    _PyGCHead_SET_NEXT(last, gc);
  246|      2|    _PyGCHead_SET_PREV(gc, last);
  247|      2|    _PyGCHead_SET_NEXT(gc, generation0);
  248|      2|    generation0->_gc_prev = (uintptr_t)gc;
  249|      2|    gcstate->heap_size++;
  250|      2|#endif
  251|      2|}
cellobject.c:_PyObject_GC_TRACK:
  229|    981|{
  230|    981|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    981|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 981, False: 0]
  |  |  ------------------
  |  |  352|    981|      ? (void)(0) \
  |  |  353|    981|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    981|                          "object already tracked by the garbage collector",
  232|    981|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    981|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    981|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    981|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 981, False: 0]
  |  |  ------------------
  |  |  352|    981|      ? (void)(0) \
  |  |  353|    981|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    981|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    981|                          "object is in generation which is garbage collected",
  240|    981|                          filename, lineno, __func__);
  241|       |
  242|    981|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    981|    PyGC_Head *generation0 = gcstate->generation0;
  244|    981|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    981|    _PyGCHead_SET_NEXT(last, gc);
  246|    981|    _PyGCHead_SET_PREV(gc, last);
  247|    981|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    981|    generation0->_gc_prev = (uintptr_t)gc;
  249|    981|    gcstate->heap_size++;
  250|    981|#endif
  251|    981|}
cellobject.c:_PyObject_GC_IS_TRACKED:
   73|  1.73k|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.73k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  1.73k|    return (gc->_gc_next != 0);
   79|  1.73k|#endif
   80|  1.73k|}
cellobject.c:_Py_AS_GC:
   17|  3.46k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  3.46k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  3.46k|    return (PyGC_Head*)gc;
   20|  3.46k|}
cellobject.c:_PyGCHead_SET_NEXT:
  166|  2.71k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  2.71k|    gc->_gc_next = (uintptr_t)next;
  168|  2.71k|}
cellobject.c:_PyGCHead_SET_PREV:
  176|  1.73k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  1.73k|    uintptr_t uprev = (uintptr_t)prev;
  178|  1.73k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 1.73k, False: 0]
  ------------------
  179|  1.73k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  1.73k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  1.73k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  1.73k|}
cellobject.c:_PyObject_GC_UNTRACK:
  269|    752|{
  270|    752|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    752|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 752, False: 0]
  |  |  ------------------
  |  |  352|    752|      ? (void)(0) \
  |  |  353|    752|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    752|                          "object not tracked by the garbage collector",
  272|    752|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    752|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    752|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    752|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    752|    _PyGCHead_SET_NEXT(prev, next);
  281|    752|    _PyGCHead_SET_PREV(next, prev);
  282|    752|    gc->_gc_next = 0;
  283|    752|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    752|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    752|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    752|    gcstate->heap_size--;
  286|    752|#endif
  287|    752|}
cellobject.c:_PyGCHead_PREV:
  171|    752|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    752|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    752|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    752|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    752|    return (PyGC_Head*)prev;
  174|    752|}
cellobject.c:_PyGCHead_NEXT:
  162|    752|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    752|    uintptr_t next = gc->_gc_next;
  164|    752|    return (PyGC_Head*)next;
  165|    752|}
classobject.c:_PyObject_GC_TRACK:
  229|  2.87k|{
  230|  2.87k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  2.87k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.87k, False: 0]
  |  |  ------------------
  |  |  352|  2.87k|      ? (void)(0) \
  |  |  353|  2.87k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|  2.87k|                          "object already tracked by the garbage collector",
  232|  2.87k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  2.87k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  2.87k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  2.87k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.87k, False: 0]
  |  |  ------------------
  |  |  352|  2.87k|      ? (void)(0) \
  |  |  353|  2.87k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|  2.87k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  2.87k|                          "object is in generation which is garbage collected",
  240|  2.87k|                          filename, lineno, __func__);
  241|       |
  242|  2.87k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  2.87k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  2.87k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  2.87k|    _PyGCHead_SET_NEXT(last, gc);
  246|  2.87k|    _PyGCHead_SET_PREV(gc, last);
  247|  2.87k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  2.87k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  2.87k|    gcstate->heap_size++;
  250|  2.87k|#endif
  251|  2.87k|}
classobject.c:_PyObject_GC_IS_TRACKED:
   73|  5.58k|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.58k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  5.58k|    return (gc->_gc_next != 0);
   79|  5.58k|#endif
   80|  5.58k|}
classobject.c:_Py_AS_GC:
   17|  11.1k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  11.1k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  11.1k|    return (PyGC_Head*)gc;
   20|  11.1k|}
classobject.c:_PyGCHead_SET_NEXT:
  166|  8.45k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  8.45k|    gc->_gc_next = (uintptr_t)next;
  168|  8.45k|}
classobject.c:_PyGCHead_SET_PREV:
  176|  5.58k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  5.58k|    uintptr_t uprev = (uintptr_t)prev;
  178|  5.58k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 5.58k, False: 0]
  ------------------
  179|  5.58k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  5.58k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  5.58k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  5.58k|}
classobject.c:_PyObject_GC_UNTRACK:
  269|  2.71k|{
  270|  2.71k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  2.71k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.71k, False: 0]
  |  |  ------------------
  |  |  352|  2.71k|      ? (void)(0) \
  |  |  353|  2.71k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|  2.71k|                          "object not tracked by the garbage collector",
  272|  2.71k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  2.71k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  2.71k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  2.71k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  2.71k|    _PyGCHead_SET_NEXT(prev, next);
  281|  2.71k|    _PyGCHead_SET_PREV(next, prev);
  282|  2.71k|    gc->_gc_next = 0;
  283|  2.71k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  2.71k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  2.71k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  2.71k|    gcstate->heap_size--;
  286|  2.71k|#endif
  287|  2.71k|}
classobject.c:_PyGCHead_PREV:
  171|  2.71k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  2.71k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  2.71k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  2.71k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  2.71k|    return (PyGC_Head*)prev;
  174|  2.71k|}
classobject.c:_PyGCHead_NEXT:
  162|  2.71k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  2.71k|    uintptr_t next = gc->_gc_next;
  164|  2.71k|    return (PyGC_Head*)next;
  165|  2.71k|}
descrobject.c:_PyObject_GC_UNTRACK:
  269|    469|{
  270|    469|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    469|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 469, False: 0]
  |  |  ------------------
  |  |  352|    469|      ? (void)(0) \
  |  |  353|    469|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    469|                          "object not tracked by the garbage collector",
  272|    469|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    469|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    469|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    469|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    469|    _PyGCHead_SET_NEXT(prev, next);
  281|    469|    _PyGCHead_SET_PREV(next, prev);
  282|    469|    gc->_gc_next = 0;
  283|    469|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    469|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    469|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    469|    gcstate->heap_size--;
  286|    469|#endif
  287|    469|}
descrobject.c:_PyObject_GC_IS_TRACKED:
   73|    956|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|    956|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    956|    return (gc->_gc_next != 0);
   79|    956|#endif
   80|    956|}
descrobject.c:_Py_AS_GC:
   17|  1.91k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.91k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.91k|    return (PyGC_Head*)gc;
   20|  1.91k|}
descrobject.c:_PyGCHead_PREV:
  171|    469|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    469|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    469|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    469|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    469|    return (PyGC_Head*)prev;
  174|    469|}
descrobject.c:_PyGCHead_NEXT:
  162|    469|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    469|    uintptr_t next = gc->_gc_next;
  164|    469|    return (PyGC_Head*)next;
  165|    469|}
descrobject.c:_PyGCHead_SET_NEXT:
  166|  1.44k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.44k|    gc->_gc_next = (uintptr_t)next;
  168|  1.44k|}
descrobject.c:_PyGCHead_SET_PREV:
  176|    956|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    956|    uintptr_t uprev = (uintptr_t)prev;
  178|    956|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 956, False: 0]
  ------------------
  179|    956|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    956|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    956|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    956|}
descrobject.c:_PyObject_GC_TRACK:
  229|    487|{
  230|    487|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    487|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 487, False: 0]
  |  |  ------------------
  |  |  352|    487|      ? (void)(0) \
  |  |  353|    487|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    487|                          "object already tracked by the garbage collector",
  232|    487|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    487|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    487|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    487|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 487, False: 0]
  |  |  ------------------
  |  |  352|    487|      ? (void)(0) \
  |  |  353|    487|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    487|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    487|                          "object is in generation which is garbage collected",
  240|    487|                          filename, lineno, __func__);
  241|       |
  242|    487|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    487|    PyGC_Head *generation0 = gcstate->generation0;
  244|    487|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    487|    _PyGCHead_SET_NEXT(last, gc);
  246|    487|    _PyGCHead_SET_PREV(gc, last);
  247|    487|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    487|    generation0->_gc_prev = (uintptr_t)gc;
  249|    487|    gcstate->heap_size++;
  250|    487|#endif
  251|    487|}
enumobject.c:_PyObject_GC_IS_TRACKED:
   73|    209|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|    209|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    209|    return (gc->_gc_next != 0);
   79|    209|#endif
   80|    209|}
enumobject.c:_Py_AS_GC:
   17|    236|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    236|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    236|    return (PyGC_Head*)gc;
   20|    236|}
enumobject.c:_PyObject_GC_TRACK:
  229|     27|{
  230|     27|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     27|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 27, False: 0]
  |  |  ------------------
  |  |  352|     27|      ? (void)(0) \
  |  |  353|     27|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|     27|                          "object already tracked by the garbage collector",
  232|     27|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|     27|    PyGC_Head *gc = _Py_AS_GC(op);
  237|     27|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|     27|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 27, False: 0]
  |  |  ------------------
  |  |  352|     27|      ? (void)(0) \
  |  |  353|     27|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|     27|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|     27|                          "object is in generation which is garbage collected",
  240|     27|                          filename, lineno, __func__);
  241|       |
  242|     27|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|     27|    PyGC_Head *generation0 = gcstate->generation0;
  244|     27|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|     27|    _PyGCHead_SET_NEXT(last, gc);
  246|     27|    _PyGCHead_SET_PREV(gc, last);
  247|     27|    _PyGCHead_SET_NEXT(gc, generation0);
  248|     27|    generation0->_gc_prev = (uintptr_t)gc;
  249|     27|    gcstate->heap_size++;
  250|     27|#endif
  251|     27|}
enumobject.c:_PyGCHead_SET_NEXT:
  166|     54|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     54|    gc->_gc_next = (uintptr_t)next;
  168|     54|}
enumobject.c:_PyGCHead_SET_PREV:
  176|     27|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|     27|    uintptr_t uprev = (uintptr_t)prev;
  178|     27|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 27, False: 0]
  ------------------
  179|     27|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|     27|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     27|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|     27|}
genobject.c:_PyObject_GC_UNTRACK:
  269|    388|{
  270|    388|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    388|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 388, False: 0]
  |  |  ------------------
  |  |  352|    388|      ? (void)(0) \
  |  |  353|    388|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    388|                          "object not tracked by the garbage collector",
  272|    388|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    388|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    388|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    388|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    388|    _PyGCHead_SET_NEXT(prev, next);
  281|    388|    _PyGCHead_SET_PREV(next, prev);
  282|    388|    gc->_gc_next = 0;
  283|    388|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    388|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    388|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    388|    gcstate->heap_size--;
  286|    388|#endif
  287|    388|}
genobject.c:_PyObject_GC_IS_TRACKED:
   73|    776|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|    776|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    776|    return (gc->_gc_next != 0);
   79|    776|#endif
   80|    776|}
genobject.c:_Py_AS_GC:
   17|  1.55k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.55k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.55k|    return (PyGC_Head*)gc;
   20|  1.55k|}
genobject.c:_PyGCHead_PREV:
  171|    388|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    388|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    388|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    388|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    388|    return (PyGC_Head*)prev;
  174|    388|}
genobject.c:_PyGCHead_NEXT:
  162|    388|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    388|    uintptr_t next = gc->_gc_next;
  164|    388|    return (PyGC_Head*)next;
  165|    388|}
genobject.c:_PyGCHead_SET_NEXT:
  166|  1.16k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.16k|    gc->_gc_next = (uintptr_t)next;
  168|  1.16k|}
genobject.c:_PyGCHead_SET_PREV:
  176|    776|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    776|    uintptr_t uprev = (uintptr_t)prev;
  178|    776|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 776, False: 0]
  ------------------
  179|    776|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    776|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    776|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    776|}
genobject.c:_PyObject_GC_TRACK:
  229|    388|{
  230|    388|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    388|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 388, False: 0]
  |  |  ------------------
  |  |  352|    388|      ? (void)(0) \
  |  |  353|    388|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|    388|                          "object already tracked by the garbage collector",
  232|    388|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    388|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    388|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    388|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 388, False: 0]
  |  |  ------------------
  |  |  352|    388|      ? (void)(0) \
  |  |  353|    388|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|    388|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    388|                          "object is in generation which is garbage collected",
  240|    388|                          filename, lineno, __func__);
  241|       |
  242|    388|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    388|    PyGC_Head *generation0 = gcstate->generation0;
  244|    388|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    388|    _PyGCHead_SET_NEXT(last, gc);
  246|    388|    _PyGCHead_SET_PREV(gc, last);
  247|    388|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    388|    generation0->_gc_prev = (uintptr_t)gc;
  249|    388|    gcstate->heap_size++;
  250|    388|#endif
  251|    388|}
frameobject.c:_PyObject_GC_IS_TRACKED:
   73|  3.66k|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.66k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  3.66k|    return (gc->_gc_next != 0);
   79|  3.66k|#endif
   80|  3.66k|}
frameobject.c:_Py_AS_GC:
   17|  4.51k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.51k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.51k|    return (PyGC_Head*)gc;
   20|  4.51k|}
frameobject.c:_PyObject_GC_UNTRACK:
  269|    859|{
  270|    859|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    859|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 859, False: 0]
  |  |  ------------------
  |  |  352|    859|      ? (void)(0) \
  |  |  353|    859|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    859|                          "object not tracked by the garbage collector",
  272|    859|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    859|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    859|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    859|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    859|    _PyGCHead_SET_NEXT(prev, next);
  281|    859|    _PyGCHead_SET_PREV(next, prev);
  282|    859|    gc->_gc_next = 0;
  283|    859|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    859|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    859|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    859|    gcstate->heap_size--;
  286|    859|#endif
  287|    859|}
frameobject.c:_PyGCHead_PREV:
  171|    859|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    859|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    859|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    859|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    859|    return (PyGC_Head*)prev;
  174|    859|}
frameobject.c:_PyGCHead_NEXT:
  162|    859|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    859|    uintptr_t next = gc->_gc_next;
  164|    859|    return (PyGC_Head*)next;
  165|    859|}
frameobject.c:_PyGCHead_SET_NEXT:
  166|    859|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|    859|    gc->_gc_next = (uintptr_t)next;
  168|    859|}
frameobject.c:_PyGCHead_SET_PREV:
  176|    859|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    859|    uintptr_t uprev = (uintptr_t)prev;
  178|    859|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 859, False: 0]
  ------------------
  179|    859|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    859|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    859|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    859|}
iterobject.c:_PyObject_GC_TRACK:
  229|     20|{
  230|     20|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     20|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 20, False: 0]
  |  |  ------------------
  |  |  352|     20|      ? (void)(0) \
  |  |  353|     20|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|     20|                          "object already tracked by the garbage collector",
  232|     20|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|     20|    PyGC_Head *gc = _Py_AS_GC(op);
  237|     20|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|     20|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 20, False: 0]
  |  |  ------------------
  |  |  352|     20|      ? (void)(0) \
  |  |  353|     20|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|     20|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|     20|                          "object is in generation which is garbage collected",
  240|     20|                          filename, lineno, __func__);
  241|       |
  242|     20|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|     20|    PyGC_Head *generation0 = gcstate->generation0;
  244|     20|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|     20|    _PyGCHead_SET_NEXT(last, gc);
  246|     20|    _PyGCHead_SET_PREV(gc, last);
  247|     20|    _PyGCHead_SET_NEXT(gc, generation0);
  248|     20|    generation0->_gc_prev = (uintptr_t)gc;
  249|     20|    gcstate->heap_size++;
  250|     20|#endif
  251|     20|}
iterobject.c:_PyObject_GC_IS_TRACKED:
   73|     40|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|     40|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     40|    return (gc->_gc_next != 0);
   79|     40|#endif
   80|     40|}
iterobject.c:_Py_AS_GC:
   17|     80|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     80|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     80|    return (PyGC_Head*)gc;
   20|     80|}
iterobject.c:_PyGCHead_SET_NEXT:
  166|     60|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     60|    gc->_gc_next = (uintptr_t)next;
  168|     60|}
iterobject.c:_PyGCHead_SET_PREV:
  176|     40|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|     40|    uintptr_t uprev = (uintptr_t)prev;
  178|     40|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 40, False: 0]
  ------------------
  179|     40|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|     40|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     40|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|     40|}
iterobject.c:_PyObject_GC_UNTRACK:
  269|     20|{
  270|     20|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     20|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 20, False: 0]
  |  |  ------------------
  |  |  352|     20|      ? (void)(0) \
  |  |  353|     20|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|     20|                          "object not tracked by the garbage collector",
  272|     20|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|     20|    PyGC_Head *gc = _Py_AS_GC(op);
  278|     20|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|     20|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|     20|    _PyGCHead_SET_NEXT(prev, next);
  281|     20|    _PyGCHead_SET_PREV(next, prev);
  282|     20|    gc->_gc_next = 0;
  283|     20|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|     20|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|     20|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|     20|    gcstate->heap_size--;
  286|     20|#endif
  287|     20|}
iterobject.c:_PyGCHead_PREV:
  171|     20|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|     20|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|     20|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     20|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|     20|    return (PyGC_Head*)prev;
  174|     20|}
iterobject.c:_PyGCHead_NEXT:
  162|     20|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|     20|    uintptr_t next = gc->_gc_next;
  164|     20|    return (PyGC_Head*)next;
  165|     20|}
lazyimportobject.c:_PyObject_GC_TRACK:
  229|     13|{
  230|     13|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     13|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 13, False: 0]
  |  |  ------------------
  |  |  352|     13|      ? (void)(0) \
  |  |  353|     13|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|     13|                          "object already tracked by the garbage collector",
  232|     13|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|     13|    PyGC_Head *gc = _Py_AS_GC(op);
  237|     13|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|     13|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 13, False: 0]
  |  |  ------------------
  |  |  352|     13|      ? (void)(0) \
  |  |  353|     13|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|     13|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|     13|                          "object is in generation which is garbage collected",
  240|     13|                          filename, lineno, __func__);
  241|       |
  242|     13|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|     13|    PyGC_Head *generation0 = gcstate->generation0;
  244|     13|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|     13|    _PyGCHead_SET_NEXT(last, gc);
  246|     13|    _PyGCHead_SET_PREV(gc, last);
  247|     13|    _PyGCHead_SET_NEXT(gc, generation0);
  248|     13|    generation0->_gc_prev = (uintptr_t)gc;
  249|     13|    gcstate->heap_size++;
  250|     13|#endif
  251|     13|}
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:
  166|     27|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     27|    gc->_gc_next = (uintptr_t)next;
  168|     27|}
lazyimportobject.c:_PyGCHead_SET_PREV:
  176|     14|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|     14|    uintptr_t uprev = (uintptr_t)prev;
  178|     14|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 14, False: 0]
  ------------------
  179|     14|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|     14|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     14|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|     14|}
lazyimportobject.c:_PyObject_GC_UNTRACK:
  269|      1|{
  270|      1|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  352|      1|      ? (void)(0) \
  |  |  353|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|      1|                          "object not tracked by the garbage collector",
  272|      1|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|      1|    PyGC_Head *gc = _Py_AS_GC(op);
  278|      1|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|      1|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|      1|    _PyGCHead_SET_NEXT(prev, next);
  281|      1|    _PyGCHead_SET_PREV(next, prev);
  282|      1|    gc->_gc_next = 0;
  283|      1|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|      1|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|      1|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|      1|    gcstate->heap_size--;
  286|      1|#endif
  287|      1|}
lazyimportobject.c:_PyGCHead_PREV:
  171|      1|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|      1|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|      1|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      1|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|      1|    return (PyGC_Head*)prev;
  174|      1|}
lazyimportobject.c:_PyGCHead_NEXT:
  162|      1|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|      1|    uintptr_t next = gc->_gc_next;
  164|      1|    return (PyGC_Head*)next;
  165|      1|}
memoryobject.c:_PyObject_GC_UNTRACK:
  269|  1.17M|{
  270|  1.17M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  1.17M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1.17M, False: 0]
  |  |  ------------------
  |  |  352|  1.17M|      ? (void)(0) \
  |  |  353|  1.17M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|  1.17M|                          "object not tracked by the garbage collector",
  272|  1.17M|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  1.17M|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  1.17M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  1.17M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  1.17M|    _PyGCHead_SET_NEXT(prev, next);
  281|  1.17M|    _PyGCHead_SET_PREV(next, prev);
  282|  1.17M|    gc->_gc_next = 0;
  283|  1.17M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  1.17M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  1.17M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  1.17M|    gcstate->heap_size--;
  286|  1.17M|#endif
  287|  1.17M|}
memoryobject.c:_PyObject_GC_IS_TRACKED:
   73|  2.34M|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.34M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  2.34M|    return (gc->_gc_next != 0);
   79|  2.34M|#endif
   80|  2.34M|}
memoryobject.c:_Py_AS_GC:
   17|  4.68M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.68M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.68M|    return (PyGC_Head*)gc;
   20|  4.68M|}
memoryobject.c:_PyGCHead_PREV:
  171|  1.17M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  1.17M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  1.17M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  1.17M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  1.17M|    return (PyGC_Head*)prev;
  174|  1.17M|}
memoryobject.c:_PyGCHead_NEXT:
  162|  1.17M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  1.17M|    uintptr_t next = gc->_gc_next;
  164|  1.17M|    return (PyGC_Head*)next;
  165|  1.17M|}
memoryobject.c:_PyGCHead_SET_NEXT:
  166|  3.51M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  3.51M|    gc->_gc_next = (uintptr_t)next;
  168|  3.51M|}
memoryobject.c:_PyGCHead_SET_PREV:
  176|  2.34M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  2.34M|    uintptr_t uprev = (uintptr_t)prev;
  178|  2.34M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 2.34M, False: 0]
  ------------------
  179|  2.34M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  2.34M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  2.34M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  2.34M|}
memoryobject.c:_PyObject_GC_TRACK:
  229|  1.17M|{
  230|  1.17M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  1.17M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1.17M, False: 0]
  |  |  ------------------
  |  |  352|  1.17M|      ? (void)(0) \
  |  |  353|  1.17M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|  1.17M|                          "object already tracked by the garbage collector",
  232|  1.17M|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  1.17M|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  1.17M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  1.17M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1.17M, False: 0]
  |  |  ------------------
  |  |  352|  1.17M|      ? (void)(0) \
  |  |  353|  1.17M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|  1.17M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  1.17M|                          "object is in generation which is garbage collected",
  240|  1.17M|                          filename, lineno, __func__);
  241|       |
  242|  1.17M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  1.17M|    PyGC_Head *generation0 = gcstate->generation0;
  244|  1.17M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  1.17M|    _PyGCHead_SET_NEXT(last, gc);
  246|  1.17M|    _PyGCHead_SET_PREV(gc, last);
  247|  1.17M|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  1.17M|    generation0->_gc_prev = (uintptr_t)gc;
  249|  1.17M|    gcstate->heap_size++;
  250|  1.17M|#endif
  251|  1.17M|}
methodobject.c:_PyObject_GC_TRACK:
  229|   525k|{
  230|   525k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|   525k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 525k, False: 0]
  |  |  ------------------
  |  |  352|   525k|      ? (void)(0) \
  |  |  353|   525k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|   525k|                          "object already tracked by the garbage collector",
  232|   525k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|   525k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|   525k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|   525k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 525k, False: 0]
  |  |  ------------------
  |  |  352|   525k|      ? (void)(0) \
  |  |  353|   525k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|   525k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|   525k|                          "object is in generation which is garbage collected",
  240|   525k|                          filename, lineno, __func__);
  241|       |
  242|   525k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|   525k|    PyGC_Head *generation0 = gcstate->generation0;
  244|   525k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|   525k|    _PyGCHead_SET_NEXT(last, gc);
  246|   525k|    _PyGCHead_SET_PREV(gc, last);
  247|   525k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|   525k|    generation0->_gc_prev = (uintptr_t)gc;
  249|   525k|    gcstate->heap_size++;
  250|   525k|#endif
  251|   525k|}
methodobject.c:_PyObject_GC_IS_TRACKED:
   73|   525k|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|   525k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   525k|    return (gc->_gc_next != 0);
   79|   525k|#endif
   80|   525k|}
methodobject.c:_Py_AS_GC:
   17|  1.05M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.05M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.05M|    return (PyGC_Head*)gc;
   20|  1.05M|}
methodobject.c:_PyGCHead_SET_NEXT:
  166|  1.05M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.05M|    gc->_gc_next = (uintptr_t)next;
  168|  1.05M|}
methodobject.c:_PyGCHead_SET_PREV:
  176|   525k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|   525k|    uintptr_t uprev = (uintptr_t)prev;
  178|   525k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 525k, False: 0]
  ------------------
  179|   525k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|   525k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   525k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|   525k|}

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

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

sentinelobject.c:_PyFrame_GetFunction:
   96|      6|static inline PyFunctionObject *_PyFrame_GetFunction(_PyInterpreterFrame *f) {
   97|      6|    PyObject *func = PyStackRef_AsPyObjectBorrow(f->f_funcobj);
   98|      6|    assert(PyFunction_Check(func));
  ------------------
  |  Branch (98:5): [True: 6, False: 0]
  ------------------
   99|      6|    return (PyFunctionObject *)func;
  100|      6|}
typeobject.c:_PyThreadState_GetFrame:
  314|     14|{
  315|     14|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  316|     14|}
typeobject.c:_PyFrame_GetFirstComplete:
  305|     14|{
  306|     14|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (306:12): [True: 14, False: 0]
  |  Branch (306:21): [True: 0, False: 14]
  ------------------
  307|      0|        frame = frame->previous;
  308|      0|    }
  309|     14|    return frame;
  310|     14|}
typeobject.c:_PyFrame_IsIncomplete:
  294|     14|{
  295|     14|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 0, False: 14]
  ------------------
  296|      0|        return true;
  297|      0|    }
  298|     14|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 14, False: 0]
  ------------------
  299|     14|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 14]
  ------------------
  300|     14|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|     14|}
typeobject.c:_PyFrame_GetBytecode:
   60|     14|{
   61|       |#ifdef Py_GIL_DISABLED
   62|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   63|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   64|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   65|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   66|       |#else
   67|     14|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|     14|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|     14|#endif
   69|     14|}
typeobject.c:_PyFrame_GetCode:
   21|     56|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|     56|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 56, False: 0]
  ------------------
   23|     56|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|     56|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 56, False: 0]
  ------------------
   25|     56|    return (PyCodeObject *)executable;
   26|     56|}
typeobject.c:_PyFrame_GetLocalsArray:
  226|     28|{
  227|     28|    return frame->localsplus;
  228|     28|}
ceval.c:_PyFrame_GetCode:
   21|   944k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|   944k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 944k, False: 0]
  ------------------
   23|   944k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|   944k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 944k, False: 0]
  ------------------
   25|   944k|    return (PyCodeObject *)executable;
   26|   944k|}
ceval.c:_PyFrame_GetStackPointer:
  235|  1.22M|{
  236|  1.22M|    return frame->stackpointer;
  237|  1.22M|}
ceval.c:_PyFrame_StackPointerInvalidate:
  259|  2.35M|{
  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|  2.35M|}
ceval.c:_PyFrame_SetStackPointer:
  241|  1.38M|{
  242|  1.38M|    frame->stackpointer = stack_pointer;
  243|  1.38M|}
ceval.c:_PyFrame_StackPointerValidate:
  247|  2.14M|{
  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|  2.14M|}
ceval.c:_PyFrame_StackAssertInvalid:
  271|  2.82M|{
  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|  2.82M|}
ceval.c:_PyThreadState_HasStackSpace:
  384|  13.8k|{
  385|  13.8k|    assert(
  ------------------
  |  Branch (385:5): [True: 0, False: 13.8k]
  |  Branch (385:5): [True: 0, False: 0]
  |  Branch (385:5): [True: 13.8k, False: 0]
  |  Branch (385:5): [True: 13.8k, False: 0]
  ------------------
  386|  13.8k|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  387|  13.8k|        ||
  388|  13.8k|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  389|  13.8k|    );
  390|  13.8k|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (390:12): [True: 13.8k, False: 0]
  ------------------
  391|  13.8k|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (391:9): [True: 13.8k, False: 0]
  ------------------
  392|  13.8k|}
ceval.c:_PyFrame_PushUnchecked:
  405|  12.7k|{
  406|  12.7k|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  12.7k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  407|  12.7k|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  408|  12.7k|    PyCodeObject *code = (PyCodeObject *)func_obj->func_code;
  409|  12.7k|    _PyInterpreterFrame *new_frame = (_PyInterpreterFrame *)tstate->datastack_top;
  410|  12.7k|    tstate->datastack_top += code->co_framesize;
  411|  12.7k|    assert(tstate->datastack_top < tstate->datastack_limit);
  ------------------
  |  Branch (411:5): [True: 12.7k, False: 0]
  ------------------
  412|  12.7k|    _PyFrame_Initialize(tstate, new_frame, func, NULL, code, null_locals_from,
  413|  12.7k|                        previous);
  414|  12.7k|    return new_frame;
  415|  12.7k|}
ceval.c:_PyFrame_PushTrampolineUnchecked:
  421|  1.08k|{
  422|  1.08k|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  1.08k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  423|  1.08k|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)tstate->datastack_top;
  424|  1.08k|    tstate->datastack_top += code->co_framesize;
  425|  1.08k|    assert(tstate->datastack_top < tstate->datastack_limit);
  ------------------
  |  Branch (425:5): [True: 1.08k, False: 0]
  ------------------
  426|  1.08k|    frame->previous = previous;
  427|  1.08k|    frame->f_funcobj = PyStackRef_None;
  ------------------
  |  |  485|  1.08k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|  1.08k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  428|  1.08k|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  611|  1.08k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|       |#ifdef Py_DEBUG
  430|       |    frame->f_builtins = NULL;
  431|       |    frame->f_globals = NULL;
  432|       |#endif
  433|  1.08k|    frame->f_locals = NULL;
  434|  1.08k|    assert(stackdepth <= code->co_stacksize);
  ------------------
  |  Branch (434:5): [True: 1.08k, False: 0]
  ------------------
  435|  1.08k|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus + stackdepth;
  436|  1.08k|    frame->frame_obj = NULL;
  437|       |#ifdef Py_GIL_DISABLED
  438|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  439|       |#else
  440|  1.08k|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|  1.08k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  1.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  441|  1.08k|#endif
  442|  1.08k|    frame->owner = FRAME_OWNED_BY_THREAD;
  443|  1.08k|    frame->visited = 0;
  444|       |#ifdef Py_DEBUG
  445|       |    frame->stackpointer_valid = 1;
  446|       |    frame->lltrace = 0;
  447|       |#endif
  448|  1.08k|    frame->return_offset = 0;
  449|  1.08k|    return frame;
  450|  1.08k|}
ceval.c:_PyFrame_GetBytecode:
   60|  36.5k|{
   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|  36.5k|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  36.5k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  36.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|  36.5k|#endif
   69|  36.5k|}
ceval.c:_PyFrame_StackPush:
  118|  3.31k|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  119|  3.31k|    *f->stackpointer = value;
  120|  3.31k|    f->stackpointer++;
  121|  3.31k|}
ceval.c:_PyFrame_Stackbase:
  102|   245k|static inline _PyStackRef *_PyFrame_Stackbase(_PyInterpreterFrame *f) {
  103|   245k|    return (f->localsplus + _PyFrame_GetCode(f)->co_nlocalsplus);
  104|   245k|}
ceval.c:_PyFrame_IsIncomplete:
  294|   213k|{
  295|   213k|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 207k, False: 6.78k]
  ------------------
  296|   207k|        return true;
  297|   207k|    }
  298|  6.78k|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 6.78k, False: 0]
  ------------------
  299|  6.78k|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 6.78k]
  ------------------
  300|  6.78k|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|   213k|}
ceval.c:_PyFrame_Copy:
  135|    194|{
  136|    194|    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|    194|    dest->previous = NULL;
  140|    194|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  141|    194|    dest->f_globals = src->f_globals;
  142|    194|    dest->f_builtins = src->f_builtins;
  143|    194|    dest->f_locals = src->f_locals;
  144|    194|    dest->frame_obj = src->frame_obj;
  145|    194|    dest->instr_ptr = src->instr_ptr;
  146|       |#ifdef Py_GIL_DISABLED
  147|       |    dest->tlbc_index = src->tlbc_index;
  148|       |#endif
  149|    194|    assert(src->stackpointer != NULL);
  ------------------
  |  Branch (149:5): [True: 194, False: 0]
  ------------------
  150|    194|    int stacktop = (int)(src->stackpointer - src->localsplus);
  151|    194|    assert(stacktop >= 0);
  ------------------
  |  Branch (151:5): [True: 194, False: 0]
  ------------------
  152|    194|    dest->stackpointer = dest->localsplus + stacktop;
  153|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  154|    194|    dest->visited = 0;
  155|       |#ifdef Py_DEBUG
  156|       |    dest->stackpointer_valid =  src->stackpointer_valid;
  157|       |    dest->lltrace = src->lltrace;
  158|       |#endif
  159|  1.03k|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (159:21): [True: 836, False: 194]
  ------------------
  160|    836|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  161|    836|    }
  162|    194|}
ceval.c:_PyFrame_GetFrameObject:
  345|  3.11k|{
  346|       |
  347|  3.11k|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (347:5): [True: 3.11k, False: 0]
  ------------------
  348|  3.11k|    PyFrameObject *res = (PyFrameObject*)FT_ATOMIC_LOAD_PTR_ACQUIRE(frame->frame_obj);
  ------------------
  |  |  152|  3.11k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  349|  3.11k|    if (res != NULL) {
  ------------------
  |  Branch (349:9): [True: 1.04k, False: 2.07k]
  ------------------
  350|  1.04k|        return res;
  351|  1.04k|    }
  352|  2.07k|    return _PyFrame_MakeAndSetFrameObject(frame);
  353|  3.11k|}
ceval.c:_PyFrame_StackPop:
  112|  5.12k|static inline _PyStackRef _PyFrame_StackPop(_PyInterpreterFrame *f) {
  113|  5.12k|    assert(f->stackpointer > _PyFrame_Stackbase(f));
  ------------------
  |  Branch (113:5): [True: 5.12k, False: 0]
  ------------------
  114|  5.12k|    f->stackpointer--;
  115|  5.12k|    return *f->stackpointer;
  116|  5.12k|}
ceval.c:_PyFrame_Initialize:
  192|   233k|{
  193|   233k|    frame->previous = previous;
  194|   233k|    frame->f_funcobj = func;
  195|   233k|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  611|   233k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   233k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   233k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|   233k|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  197|   233k|    frame->f_builtins = func_obj->func_builtins;
  198|   233k|    frame->f_globals = func_obj->func_globals;
  199|   233k|    frame->f_locals = locals;
  200|   233k|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus;
  201|   233k|    frame->frame_obj = NULL;
  202|       |#ifdef Py_GIL_DISABLED
  203|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  204|       |#else
  205|   233k|    (void)tstate;
  206|   233k|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|   233k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|   233k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  207|   233k|#endif
  208|   233k|    frame->return_offset = 0;
  209|   233k|    frame->owner = FRAME_OWNED_BY_THREAD;
  210|   233k|    frame->visited = 0;
  211|       |#ifdef Py_DEBUG
  212|       |    frame->stackpointer_valid = 1;
  213|       |    frame->lltrace = 0;
  214|       |#endif
  215|       |
  216|   730k|    for (int i = null_locals_from; i < code->co_nlocalsplus; i++) {
  ------------------
  |  Branch (216:36): [True: 497k, False: 233k]
  ------------------
  217|   497k|        frame->localsplus[i] = PyStackRef_NULL;
  218|   497k|    }
  219|   233k|}
ceval.c:_PyThreadState_GetFrame:
  314|    581|{
  315|    581|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  316|    581|}
ceval.c:_PyFrame_GetFirstComplete:
  305|    581|{
  306|    603|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (306:12): [True: 581, False: 22]
  |  Branch (306:21): [True: 22, False: 559]
  ------------------
  307|     22|        frame = frame->previous;
  308|     22|    }
  309|    581|    return frame;
  310|    581|}
frame.c:_PyFrame_GetCode:
   21|  9.15k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|  9.15k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 9.15k, False: 0]
  ------------------
   23|  9.15k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|  9.15k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 9.15k, False: 0]
  ------------------
   25|  9.15k|    return (PyCodeObject *)executable;
   26|  9.15k|}
frame.c:_PyFrame_Copy:
  135|    859|{
  136|    859|    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|    859|    dest->previous = NULL;
  140|    859|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  141|    859|    dest->f_globals = src->f_globals;
  142|    859|    dest->f_builtins = src->f_builtins;
  143|    859|    dest->f_locals = src->f_locals;
  144|    859|    dest->frame_obj = src->frame_obj;
  145|    859|    dest->instr_ptr = src->instr_ptr;
  146|       |#ifdef Py_GIL_DISABLED
  147|       |    dest->tlbc_index = src->tlbc_index;
  148|       |#endif
  149|    859|    assert(src->stackpointer != NULL);
  ------------------
  |  Branch (149:5): [True: 859, False: 0]
  ------------------
  150|    859|    int stacktop = (int)(src->stackpointer - src->localsplus);
  151|    859|    assert(stacktop >= 0);
  ------------------
  |  Branch (151:5): [True: 859, False: 0]
  ------------------
  152|    859|    dest->stackpointer = dest->localsplus + stacktop;
  153|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  154|    859|    dest->visited = 0;
  155|       |#ifdef Py_DEBUG
  156|       |    dest->stackpointer_valid =  src->stackpointer_valid;
  157|       |    dest->lltrace = src->lltrace;
  158|       |#endif
  159|  7.14k|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (159:21): [True: 6.28k, False: 859]
  ------------------
  160|  6.28k|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  161|  6.28k|    }
  162|    859|}
frame.c:_PyFrame_IsIncomplete:
  294|  3.79k|{
  295|  3.79k|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 620, False: 3.17k]
  ------------------
  296|    620|        return true;
  297|    620|    }
  298|  3.17k|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 3.17k, False: 0]
  ------------------
  299|  3.17k|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 3.17k]
  ------------------
  300|  3.17k|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|  3.79k|}
frame.c:_PyFrame_GetFirstComplete:
  305|    859|{
  306|  1.47k|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (306:12): [True: 1.34k, False: 130]
  |  Branch (306:21): [True: 620, False: 729]
  ------------------
  307|    620|        frame = frame->previous;
  308|    620|    }
  309|    859|    return frame;
  310|    859|}
frame.c:_PyFrame_GetFrameObject:
  345|    729|{
  346|       |
  347|    729|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (347:5): [True: 729, False: 0]
  ------------------
  348|    729|    PyFrameObject *res = (PyFrameObject*)FT_ATOMIC_LOAD_PTR_ACQUIRE(frame->frame_obj);
  ------------------
  |  |  152|    729|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  349|    729|    if (res != NULL) {
  ------------------
  |  Branch (349:9): [True: 4, False: 725]
  ------------------
  350|      4|        return res;
  351|      4|    }
  352|    725|    return _PyFrame_MakeAndSetFrameObject(frame);
  353|    729|}
frame.c:_PyFrame_GetBytecode:
   60|  3.17k|{
   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|  3.17k|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  3.17k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  3.17k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|  3.17k|#endif
   69|  3.17k|}
pystate.c:_PyThreadState_HasStackSpace:
  384|   220k|{
  385|   220k|    assert(
  ------------------
  |  Branch (385:5): [True: 2, False: 220k]
  |  Branch (385:5): [True: 2, False: 0]
  |  Branch (385:5): [True: 220k, False: 0]
  |  Branch (385:5): [True: 220k, False: 0]
  ------------------
  386|   220k|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  387|   220k|        ||
  388|   220k|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  389|   220k|    );
  390|   220k|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (390:12): [True: 220k, False: 2]
  ------------------
  391|   220k|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (391:9): [True: 220k, False: 0]
  ------------------
  392|   220k|}
sysmodule.c:_PyFrame_IsIncomplete:
  294|      4|{
  295|      4|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 0, False: 4]
  ------------------
  296|      0|        return true;
  297|      0|    }
  298|      4|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 4, False: 0]
  ------------------
  299|      4|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 4]
  ------------------
  300|      4|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|      4|}
sysmodule.c:_PyFrame_GetBytecode:
   60|      4|{
   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|      4|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|      4|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|      4|#endif
   69|      4|}
sysmodule.c:_PyFrame_GetCode:
   21|      8|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|      8|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 8, False: 0]
  ------------------
   23|      8|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|      8|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 8, False: 0]
  ------------------
   25|      8|    return (PyCodeObject *)executable;
   26|      8|}
sysmodule.c:_PyFrame_GetFrameObject:
  345|      2|{
  346|       |
  347|      2|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (347:5): [True: 2, False: 0]
  ------------------
  348|      2|    PyFrameObject *res = (PyFrameObject*)FT_ATOMIC_LOAD_PTR_ACQUIRE(frame->frame_obj);
  ------------------
  |  |  152|      2|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  349|      2|    if (res != NULL) {
  ------------------
  |  Branch (349:9): [True: 0, False: 2]
  ------------------
  350|      0|        return res;
  351|      0|    }
  352|      2|    return _PyFrame_MakeAndSetFrameObject(frame);
  353|      2|}
traceback.c:_PyFrame_GetCode:
   21|  3.11k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|  3.11k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 3.11k, False: 0]
  ------------------
   23|  3.11k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|  3.11k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 3.11k, False: 0]
  ------------------
   25|  3.11k|    return (PyCodeObject *)executable;
   26|  3.11k|}
traceback.c:_PyFrame_GetBytecode:
   60|  3.11k|{
   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|  3.11k|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  3.11k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  3.11k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|  3.11k|#endif
   69|  3.11k|}
genobject.c:_PyFrame_StackPush:
  118|    343|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  119|    343|    *f->stackpointer = value;
  120|    343|    f->stackpointer++;
  121|    343|}
genobject.c:_PyFrame_NumSlotsForCodeObject:
  127|    194|{
  128|       |    /* This function needs to remain in sync with the calculation of
  129|       |     * co_framesize in Tools/build/deepfreeze.py */
  130|    194|    assert(code->co_framesize >= FRAME_SPECIALS_SIZE);
  ------------------
  |  Branch (130:5): [True: 194, False: 0]
  ------------------
  131|    194|    return code->co_framesize - FRAME_SPECIALS_SIZE;
  ------------------
  |  |  123|    194|#define FRAME_SPECIALS_SIZE ((int)((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *)))
  ------------------
  132|    194|}
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|    860|{
  227|    860|    return frame->localsplus;
  228|    860|}
frameobject.c:_PyFrame_IsIncomplete:
  294|    644|{
  295|    644|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 0, False: 644]
  ------------------
  296|      0|        return true;
  297|      0|    }
  298|    644|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 644, False: 0]
  ------------------
  299|    644|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 644]
  ------------------
  300|    644|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|    644|}
frameobject.c:_PyFrame_GetCode:
   21|  1.96k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|  1.96k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 1.96k, False: 0]
  ------------------
   23|  1.96k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|  1.96k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 1.96k, False: 0]
  ------------------
   25|  1.96k|    return (PyCodeObject *)executable;
   26|  1.96k|}
frameobject.c:_PyFrame_GetBytecode:
   60|    644|{
   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|    644|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|    644|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|    644|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|    644|#endif
   69|    644|}
lazyimportobject.c:_PyFrame_GetCode:
   21|     26|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|     26|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 26, False: 0]
  ------------------
   23|     26|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|     26|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 26, False: 0]
  ------------------
   25|     26|    return (PyCodeObject *)executable;
   26|     26|}
lazyimportobject.c:_PyFrame_GetBytecode:
   60|     13|{
   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|     13|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|     13|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|     13|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|     13|#endif
   69|     13|}

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

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|    807|{
  158|    807|    if (_Py_atomic_load_uint8(&flag->v) == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|    807|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (158:9): [True: 803, False: 4]
  ------------------
  159|    803|        return 0;
  160|    803|    }
  161|      4|    return _PyOnceFlag_CallOnceSlow(flag, fn, arg);
  162|    807|}
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|}

longobject.c:_PyLong_InitTag:
  292|  8.68k|{
  293|  8.68k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (293:5): [True: 8.68k, False: 0]
  ------------------
  294|  8.68k|    op->long_value.lv_tag = SIGN_ZERO; /* non-immortal zero */
  ------------------
  |  |  173|  8.68k|#define SIGN_ZERO 1
  ------------------
  295|  8.68k|}
longobject.c:_PyLong_SetSignAndDigitCount:
  302|  65.3k|{
  303|  65.3k|    assert(size >= 0);
  ------------------
  |  Branch (303:5): [True: 65.3k, False: 0]
  ------------------
  304|  65.3k|    assert(-1 <= sign && sign <= 1);
  ------------------
  |  Branch (304:5): [True: 65.3k, False: 0]
  |  Branch (304:5): [True: 65.3k, False: 0]
  ------------------
  305|  65.3k|    assert(sign != 0 || size == 0);
  ------------------
  |  Branch (305:5): [True: 65.1k, False: 207]
  |  Branch (305:5): [True: 207, False: 0]
  ------------------
  306|  65.3k|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (306:5): [True: 65.3k, False: 0]
  ------------------
  307|  65.3k|    op->long_value.lv_tag = TAG_FROM_SIGN_AND_SIZE(sign, size);
  ------------------
  |  |  298|  65.3k|    ((uintptr_t)(1 - (sign)) | ((uintptr_t)(size) << NON_SIZE_BITS))
  |  |  ------------------
  |  |  |  |  175|  65.3k|#define NON_SIZE_BITS 3
  |  |  ------------------
  ------------------
  308|  65.3k|}
longobject.c:_PyLong_CompactSign:
  268|    168|{
  269|    168|    assert(PyLong_Check(op));
  ------------------
  |  Branch (269:5): [True: 168, False: 0]
  ------------------
  270|    168|    assert(_PyLong_IsCompact((PyLongObject *)op));
  ------------------
  |  Branch (270:5): [True: 168, False: 0]
  ------------------
  271|    168|    return 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|    168|#define SIGN_MASK 3
  ------------------
  272|    168|}
longobject.c:_PyLong_NonCompactSign:
  276|  3.03k|{
  277|  3.03k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (277:5): [True: 3.03k, False: 0]
  ------------------
  278|  3.03k|    assert(!_PyLong_IsCompact((PyLongObject *)op));
  ------------------
  |  Branch (278:5): [True: 3.03k, False: 0]
  ------------------
  279|  3.03k|    return 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  3.03k|#define SIGN_MASK 3
  ------------------
  280|  3.03k|}
longobject.c:_PyLong_DigitCount:
  252|  4.77k|{
  253|  4.77k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (253:5): [True: 4.77k, False: 0]
  ------------------
  254|  4.77k|    return (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  4.77k|#define NON_SIZE_BITS 3
  ------------------
  255|  4.77k|}
longobject.c:_PyLong_IsNonNegativeCompact:
  205|    169|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|    169|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 169, False: 0]
  ------------------
  207|    169|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|    169|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|    169|#define NON_SIZE_BITS 3
  ------------------
  208|    169|}
longobject.c:_PyLong_IsNegative:
  225|  1.08k|{
  226|  1.08k|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|  1.08k|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|  1.08k|#define SIGN_NEGATIVE 2
  ------------------
  227|  1.08k|}
longobject.c:_PyLong_IsZero:
  219|     47|{
  220|     47|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|     47|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|     47|#define SIGN_ZERO 1
  ------------------
  221|     47|}
longobject.c:_PyLong_SetDigitCount:
  312|      8|{
  313|      8|    assert(size >= 0);
  ------------------
  |  Branch (313:5): [True: 8, False: 0]
  ------------------
  314|      8|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (314:5): [True: 8, False: 0]
  ------------------
  315|      8|    op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  175|      8|#define NON_SIZE_BITS 3
  ------------------
                  op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|      8|#define SIGN_MASK 3
  ------------------
  316|      8|}
longobject.c:_PyLong_IsSmallInt:
  238|   123k|{
  239|   123k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (239:5): [True: 123k, False: 0]
  ------------------
  240|   123k|    bool is_small_int = (op->long_value.lv_tag & IMMORTALITY_BIT_MASK) != 0;
  ------------------
  |  |  176|   123k|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
  241|   123k|    if (is_small_int) {
  ------------------
  |  Branch (241:9): [True: 0, False: 123k]
  ------------------
  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|   123k|    return is_small_int;
  248|   123k|}
longobject.c:_PyLong_BothAreCompact:
  212|  1.81k|_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
  213|  1.81k|    assert(PyLong_Check(a));
  ------------------
  |  Branch (213:5): [True: 1.81k, False: 0]
  ------------------
  214|  1.81k|    assert(PyLong_Check(b));
  ------------------
  |  Branch (214:5): [True: 1.81k, False: 0]
  ------------------
  215|  1.81k|    return (a->long_value.lv_tag | b->long_value.lv_tag) < (2 << NON_SIZE_BITS);
  ------------------
  |  |  175|  1.81k|#define NON_SIZE_BITS 3
  ------------------
  216|  1.81k|}
longobject.c:_PyLong_SignedDigitCount:
  260|  1.40k|{
  261|  1.40k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (261:5): [True: 1.40k, False: 0]
  ------------------
  262|  1.40k|    Py_ssize_t sign = 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  1.40k|#define SIGN_MASK 3
  ------------------
  263|  1.40k|    return sign * (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  1.40k|#define NON_SIZE_BITS 3
  ------------------
  264|  1.40k|}
longobject.c:_PyLong_SameSign:
  285|      1|{
  286|      1|    return (a->long_value.lv_tag & SIGN_MASK) == (b->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|      1|#define SIGN_MASK 3
  ------------------
                  return (a->long_value.lv_tag & SIGN_MASK) == (b->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|      1|#define SIGN_MASK 3
  ------------------
  287|      1|}
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|    660|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|    660|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|    660|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    660|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|    660|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_GetOne:
   78|    690|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|    690|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|    690|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    690|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|    690|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_IsPositive:
  231|     87|{
  232|     87|    return (op->long_value.lv_tag & SIGN_MASK) == 0;
  ------------------
  |  |  172|     87|#define SIGN_MASK 3
  ------------------
  233|     87|}
rangeobject.c:_PyLong_IsZero:
  219|      2|{
  220|      2|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|      2|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|      2|#define SIGN_ZERO 1
  ------------------
  221|      2|}
typeobject.c:_PyLong_IsNegative:
  225|     43|{
  226|     43|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|     43|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|     43|#define SIGN_NEGATIVE 2
  ------------------
  227|     43|}
_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|  17.9k|{
  346|  17.9k|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|  17.9k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  35.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  17.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  17.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 17.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 17.9k, False: 3]
  ------------------
  347|  17.9k|}
ceval.c:_PyLong_BothAreCompact:
  212|    802|_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
  213|    802|    assert(PyLong_Check(a));
  ------------------
  |  Branch (213:5): [True: 802, False: 0]
  ------------------
  214|    802|    assert(PyLong_Check(b));
  ------------------
  |  Branch (214:5): [True: 802, False: 0]
  ------------------
  215|    802|    return (a->long_value.lv_tag | b->long_value.lv_tag) < (2 << NON_SIZE_BITS);
  ------------------
  |  |  175|    802|#define NON_SIZE_BITS 3
  ------------------
  216|    802|}
ceval.c:_PyLong_IsNonNegativeCompact:
  205|  3.20k|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|  3.20k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 3.20k, False: 0]
  ------------------
  207|  3.20k|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|  3.20k|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|  3.20k|#define NON_SIZE_BITS 3
  ------------------
  208|  3.20k|}
ceval.c:_PyLong_DigitCount:
  252|  12.8k|{
  253|  12.8k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (253:5): [True: 12.8k, False: 0]
  ------------------
  254|  12.8k|    return (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  12.8k|#define NON_SIZE_BITS 3
  ------------------
  255|  12.8k|}
ceval.c:_PyLong_IsZero:
  219|  1.18k|{
  220|  1.18k|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|  1.18k|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|  1.18k|#define SIGN_ZERO 1
  ------------------
  221|  1.18k|}
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|     90|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|     90|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 90, False: 0]
  ------------------
  207|     90|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|     90|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|     90|#define NON_SIZE_BITS 3
  ------------------
  208|     90|}
specialize.c:_PyLong_CheckExactAndCompact:
  345|     70|{
  346|     70|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|     70|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    140|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 69, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 65, False: 4]
  ------------------
  347|     70|}
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
  ------------------
itertoolsmodule.c:_PyLong_GetZero:
   73|      1|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|      1|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|      1|#define _PY_NSMALLNEGINTS           5
  ------------------
itertoolsmodule.c:_PyLong_GetOne:
   78|      1|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|      1|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|      1|#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|     29|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|     29|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|     29|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     29|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|     29|#define _PY_NSMALLNEGINTS           5
  ------------------

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

moduleobject.c:_PyModule_GetDefOrNull:
   48|     38|static inline PyModuleDef *_PyModule_GetDefOrNull(PyObject *arg) {
   49|     38|    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|     38|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (49:27): [True: 38, False: 0]
  ------------------
   50|     38|    if (mod->md_token_is_def) {
  ------------------
  |  Branch (50:9): [True: 38, False: 0]
  ------------------
   51|     38|        return (PyModuleDef *)mod->md_token;
   52|     38|    }
   53|      0|    return NULL;
   54|     38|}
moduleobject.c:_PyModule_GetDict:
   67|    788|static inline PyObject* _PyModule_GetDict(PyObject *mod) {
   68|    788|    PyObject *dict = _PyModule_CAST(mod)->md_dict;
  ------------------
  |  |   46|    788|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    788|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:22): [True: 788, False: 0]
  ------------------
   69|       |    // _PyModule_GetDict(mod) must not be used after calling module_clear(mod)
   70|    788|    assert(dict != NULL);
  ------------------
  |  Branch (70:5): [True: 788, False: 0]
  ------------------
   71|    788|    return dict;  // borrowed reference
   72|    788|}
moduleobject.c:_PyModule_GetState:
   63|  34.0k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|  34.0k|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  34.0k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  34.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 34.0k, False: 0]
  ------------------
   65|  34.0k|}
typeobject.c:_PyModule_GetToken:
   57|  34.2k|static inline PyModuleDef *_PyModule_GetToken(PyObject *arg) {
   58|  34.2k|    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|  34.2k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  34.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (58:27): [True: 34.2k, False: 0]
  ------------------
   59|      0|    return (PyModuleDef *)mod->md_token;
   60|  34.2k|}
import.c:_PyModule_GetDefOrNull:
   48|      8|static inline PyModuleDef *_PyModule_GetDefOrNull(PyObject *arg) {
   49|      8|    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|      8|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (49:27): [True: 8, False: 0]
  ------------------
   50|      8|    if (mod->md_token_is_def) {
  ------------------
  |  Branch (50:9): [True: 8, False: 0]
  ------------------
   51|      8|        return (PyModuleDef *)mod->md_token;
   52|      8|    }
   53|      0|    return NULL;
   54|      8|}
import.c:_PyModule_GetDict:
   67|    764|static inline PyObject* _PyModule_GetDict(PyObject *mod) {
   68|    764|    PyObject *dict = _PyModule_CAST(mod)->md_dict;
  ------------------
  |  |   46|    764|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    764|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:22): [True: 764, False: 0]
  ------------------
   69|       |    // _PyModule_GetDict(mod) must not be used after calling module_clear(mod)
   70|    764|    assert(dict != NULL);
  ------------------
  |  Branch (70:5): [True: 764, False: 0]
  ------------------
   71|    764|    return dict;  // borrowed reference
   72|    764|}
posixmodule.c:_PyModule_GetState:
   63|    742|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    742|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    742|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    742|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 742, False: 0]
  ------------------
   65|    742|}
_collectionsmodule.c:_PyModule_GetState:
   63|     75|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     75|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     75|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 75, False: 0]
  ------------------
   65|     75|}
_iomodule.c:_PyModule_GetState:
   63|    179|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    179|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    179|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    179|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 179, False: 0]
  ------------------
   65|    179|}
bufferedio.c:_PyModule_GetState:
   63|    101|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    101|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    101|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 101, False: 0]
  ------------------
   65|    101|}
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|     75|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     75|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     75|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 75, False: 0]
  ------------------
   65|     75|}
sre.c:_PyModule_GetState:
   63|     79|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     79|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     79|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 79, False: 0]
  ------------------
   65|     79|}
_threadmodule.c:_PyModule_GetState:
   63|  1.01k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|  1.01k|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  1.01k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 1.01k, False: 0]
  ------------------
   65|  1.01k|}
timemodule.c:_PyModule_GetState:
   63|     78|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     78|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     78|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 78, False: 0]
  ------------------
   65|     78|}
_abc.c:_PyModule_GetState:
   63|    399|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    399|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    399|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    399|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 399, False: 0]
  ------------------
   65|    399|}
_functoolsmodule.c:_PyModule_GetState:
   63|     76|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     76|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     76|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 76, False: 0]
  ------------------
   65|     76|}
_operator.c:_PyModule_GetState:
   63|     75|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     75|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     75|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 75, False: 0]
  ------------------
   65|     75|}
lazyimportobject.c:_PyModule_GetDict:
   67|      1|static inline PyObject* _PyModule_GetDict(PyObject *mod) {
   68|      1|    PyObject *dict = _PyModule_CAST(mod)->md_dict;
  ------------------
  |  |   46|      1|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:22): [True: 1, False: 0]
  ------------------
   69|       |    // _PyModule_GetDict(mod) must not be used after calling module_clear(mod)
   70|      1|    assert(dict != NULL);
  ------------------
  |  Branch (70:5): [True: 1, False: 0]
  ------------------
   71|      1|    return dict;  // borrowed reference
   72|      1|}

call.c:Py_DECREF_MORTAL:
  442|  18.7k|{
  443|  18.7k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 18.7k, False: 0]
  ------------------
  444|  18.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  18.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|  18.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 124, False: 18.6k]
  ------------------
  446|    124|        _Py_Dealloc(op);
  447|    124|    }
  448|  18.7k|}
funcobject.c:_PyObject_XSetRefDelayed:
  755|    103|{
  756|    103|    Py_XSETREF(*p_obj, obj);
  ------------------
  |  |  576|    103|    do { \
  |  |  577|    103|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    103|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    103|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    103|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    103|        *_tmp_dst_ptr = (src); \
  |  |  580|    103|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    103|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    103|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 103]
  |  |  ------------------
  ------------------
  757|    103|}
funcobject.c:_PyObject_ResurrectStart:
  671|  1.68k|{
  672|  1.68k|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (672:5): [True: 1.68k, False: 0]
  ------------------
  673|       |#ifdef Py_REF_DEBUG
  674|       |    _Py_IncRefTotal(_PyThreadState_GET());
  675|       |#endif
  676|       |#ifdef Py_GIL_DISABLED
  677|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  678|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  679|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  680|       |#else
  681|  1.68k|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  1.68k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|  1.68k|#endif
  683|       |#ifdef Py_TRACE_REFS
  684|       |    _Py_ResurrectReference(op);
  685|       |#endif
  686|  1.68k|}
funcobject.c:_PyObject_ResurrectEnd:
  693|  1.68k|{
  694|       |#ifdef Py_REF_DEBUG
  695|       |    _Py_DecRefTotal(_PyThreadState_GET());
  696|       |#endif
  697|  1.68k|#ifndef Py_GIL_DISABLED
  698|  1.68k|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  1.68k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|  1.68k|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  1.68k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (699:9): [True: 1.68k, False: 0]
  ------------------
  700|       |# ifdef Py_TRACE_REFS
  701|       |        _Py_ForgetReference(op);
  702|       |# endif
  703|  1.68k|        return 0;
  704|  1.68k|    }
  705|      0|    return 1;
  706|       |#else
  707|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  708|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  709|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  710|       |        // Fast-path: object has a single refcount and is owned by this thread
  711|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  712|       |        _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_UNOWNED_TID);
  713|       |        _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, _Py_REF_MERGED);
  714|       |# ifdef Py_TRACE_REFS
  715|       |        _Py_ForgetReference(op);
  716|       |# endif
  717|       |        return 0;
  718|       |    }
  719|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  720|       |    return _PyObject_ResurrectEndSlow(op);
  721|       |#endif
  722|  1.68k|}
listobject.c:_Py_RefcntAdd:
  132|      3|{
  133|      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: 3, False: 0]
  |  |  ------------------
  ------------------
  134|      3|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      3|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  135|      3|        return;
  136|      3|    }
  137|      0|#ifndef Py_GIL_DISABLED
  138|      0|    Py_ssize_t refcnt = _Py_REFCNT(op);
  139|      0|    Py_ssize_t new_refcnt = refcnt + n;
  140|      0|    if (new_refcnt >= (Py_ssize_t)_Py_IMMORTAL_MINIMUM_REFCNT) {
  ------------------
  |  |   48|      0|#define _Py_IMMORTAL_MINIMUM_REFCNT (1ULL << 31)
  ------------------
  |  Branch (140:9): [True: 0, False: 0]
  ------------------
  141|      0|        new_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
  ------------------
  |  |   47|      0|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  142|      0|    }
  143|      0|#  if SIZEOF_VOID_P > 4
  144|      0|    op->ob_refcnt = (uint32_t)new_refcnt;
  145|       |#  else
  146|       |    op->ob_refcnt = new_refcnt;
  147|       |#  endif
  148|       |#  ifdef Py_REF_DEBUG
  149|       |    _Py_AddRefTotal(_PyThreadState_GET(), new_refcnt - refcnt);
  150|       |#  endif
  151|       |#else
  152|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  153|       |        uint32_t local = op->ob_ref_local;
  154|       |        Py_ssize_t refcnt = (Py_ssize_t)local + n;
  155|       |#  if PY_SSIZE_T_MAX > UINT32_MAX
  156|       |        if (refcnt > (Py_ssize_t)UINT32_MAX) {
  157|       |            // Make the object immortal if the 32-bit local reference count
  158|       |            // would overflow.
  159|       |            refcnt = _Py_IMMORTAL_REFCNT_LOCAL;
  160|       |        }
  161|       |#  endif
  162|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, (uint32_t)refcnt);
  163|       |    }
  164|       |    else {
  165|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (n << _Py_REF_SHARED_SHIFT));
  166|       |    }
  167|       |#  ifdef Py_REF_DEBUG
  168|       |    _Py_AddRefTotal(_PyThreadState_GET(), n);
  169|       |#  endif
  170|       |#endif
  171|       |    // Although the ref count was increased by `n` (which may be greater than 1)
  172|       |    // it is only a single increment (i.e. addition) operation, so only 1 refcnt
  173|       |    // increment operation is counted.
  174|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  175|      0|}
longobject.c:_PyObject_Init:
  475|  8.54k|{
  476|  8.54k|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 8.54k, False: 0]
  ------------------
  477|  8.54k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  8.54k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  8.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  8.54k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 8.54k]
  |  Branch (478:5): [True: 8.54k, False: 0]
  ------------------
  479|  8.54k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  8.54k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  8.54k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  8.54k|    _Py_NewReference(op);
  481|  8.54k|}
longobject.c:_PyType_HasFeature:
  281|  8.54k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  8.54k|    return ((type->tp_flags) & feature) != 0;
  283|  8.54k|}
longobject.c:_Py_DECREF_SPECIALIZED:
  231|    137|{
  232|    137|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    137|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    137|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    137|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 137]
  |  |  ------------------
  ------------------
  233|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  234|      0|        return;
  235|      0|    }
  236|    137|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    137|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  237|       |#ifdef Py_REF_DEBUG
  238|       |    _Py_DEC_REFTOTAL(PyInterpreterState_Get());
  239|       |#endif
  240|    137|    if (--op->ob_refcnt != 0) {
  ------------------
  |  Branch (240:9): [True: 0, False: 137]
  ------------------
  241|      0|        assert(op->ob_refcnt > 0);
  ------------------
  |  Branch (241:9): [True: 0, False: 0]
  ------------------
  242|      0|    }
  243|    137|    else {
  244|       |#ifdef Py_TRACE_REFS
  245|       |        _Py_ForgetReference(op);
  246|       |#endif
  247|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  109|    137|    do { \
  |  |  110|    137|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|    137|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 137]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|    137|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 137]
  |  |  ------------------
  ------------------
  248|    137|        destruct(op);
  249|    137|    }
  250|    137|}
dictobject.c:_Py_INCREF_MORTAL:
  989|   150k|{
  990|   150k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 150k, False: 0]
  ------------------
  991|   150k|    op->ob_refcnt++;
  992|   150k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   150k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  993|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
  994|       |    if (!_Py_IsImmortal(op)) {
  995|       |        _Py_INCREF_IncRefTotal();
  996|       |    }
  997|       |#endif
  998|   150k|}
dictobject.c:Py_DECREF_MORTAL:
  442|  4.11k|{
  443|  4.11k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 4.11k, False: 0]
  ------------------
  444|  4.11k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.11k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|  4.11k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 4.11k]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|  4.11k|}
dictobject.c:_PyObject_HashDictKey:
  826|  19.4M|{
  827|  19.4M|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  19.4M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  19.4M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.56M, False: 16.8M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|  2.56M|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  829|  2.56M|        if (hash != -1) {
  ------------------
  |  Branch (829:13): [True: 2.55M, False: 6.87k]
  ------------------
  830|  2.55M|            return hash;
  831|  2.55M|        }
  832|  2.56M|    }
  833|  16.8M|    return PyObject_Hash(op);
  834|  19.4M|}
dictobject.c:_PyObject_ResurrectStart:
  671|   402k|{
  672|   402k|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (672:5): [True: 402k, False: 0]
  ------------------
  673|       |#ifdef Py_REF_DEBUG
  674|       |    _Py_IncRefTotal(_PyThreadState_GET());
  675|       |#endif
  676|       |#ifdef Py_GIL_DISABLED
  677|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  678|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  679|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  680|       |#else
  681|   402k|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|   402k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|   402k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   402k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|   402k|#endif
  683|       |#ifdef Py_TRACE_REFS
  684|       |    _Py_ResurrectReference(op);
  685|       |#endif
  686|   402k|}
dictobject.c:_PyObject_ResurrectEnd:
  693|   402k|{
  694|       |#ifdef Py_REF_DEBUG
  695|       |    _Py_DecRefTotal(_PyThreadState_GET());
  696|       |#endif
  697|   402k|#ifndef Py_GIL_DISABLED
  698|   402k|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|   402k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|   402k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   402k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|   402k|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|   402k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   402k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   402k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (699:9): [True: 402k, False: 0]
  ------------------
  700|       |# ifdef Py_TRACE_REFS
  701|       |        _Py_ForgetReference(op);
  702|       |# endif
  703|   402k|        return 0;
  704|   402k|    }
  705|      0|    return 1;
  706|       |#else
  707|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  708|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  709|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  710|       |        // Fast-path: object has a single refcount and is owned by this thread
  711|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  712|       |        _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_UNOWNED_TID);
  713|       |        _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, _Py_REF_MERGED);
  714|       |# ifdef Py_TRACE_REFS
  715|       |        _Py_ForgetReference(op);
  716|       |# endif
  717|       |        return 0;
  718|       |    }
  719|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  720|       |    return _PyObject_ResurrectEndSlow(op);
  721|       |#endif
  722|   402k|}
dictobject.c:_PyObject_IsUniquelyReferenced:
  182|    992|{
  183|    992|#if !defined(Py_GIL_DISABLED)
  184|    992|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    992|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    992|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    992|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|    992|}
dictobject.c:_PyObject_InlineValues:
  934|  41.2k|{
  935|  41.2k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  41.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  936|  41.2k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (936:5): [True: 41.2k, False: 0]
  |  Branch (936:5): [True: 41.2k, False: 0]
  ------------------
  937|  41.2k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (937:5): [True: 41.2k, False: 0]
  ------------------
  938|  41.2k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (938:5): [True: 41.2k, False: 0]
  ------------------
  939|  41.2k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  940|  41.2k|}
dictobject.c:_PyObject_ManagedDictPointer:
  920|  63.4k|{
  921|  63.4k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (921:5): [True: 63.4k, False: 0]
  ------------------
  922|  63.4k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  910|  63.4k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  923|  63.4k|}
dictobject.c:_PyObject_GetManagedDict:
  927|  3.59k|{
  928|  3.59k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  929|  3.59k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  152|  3.59k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  930|  3.59k|}
dictobject.c:_PyType_HasFeature:
  281|  17.4k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  17.4k|    return ((type->tp_flags) & feature) != 0;
  283|  17.4k|}
object.c:_PyObject_Init:
  475|  3.18k|{
  476|  3.18k|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 3.18k, False: 0]
  ------------------
  477|  3.18k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  3.18k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  3.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  3.18k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 3.18k]
  |  Branch (478:5): [True: 3.18k, False: 0]
  ------------------
  479|  3.18k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  3.18k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  3.18k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  3.18k|    _Py_NewReference(op);
  481|  3.18k|}
object.c:_PyObject_InitVar:
  485|  3.13k|{
  486|  3.13k|    assert(op != NULL);
  ------------------
  |  Branch (486:5): [True: 3.13k, False: 0]
  ------------------
  487|  3.13k|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (487:5): [True: 3.13k, False: 0]
  ------------------
  488|  3.13k|    _PyObject_Init((PyObject *)op, typeobj);
  489|  3.13k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  3.13k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  3.13k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|  3.13k|}
object.c:_PyObject_ResurrectStart:
  671|    384|{
  672|    384|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (672:5): [True: 384, False: 0]
  ------------------
  673|       |#ifdef Py_REF_DEBUG
  674|       |    _Py_IncRefTotal(_PyThreadState_GET());
  675|       |#endif
  676|       |#ifdef Py_GIL_DISABLED
  677|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  678|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  679|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  680|       |#else
  681|    384|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|    384|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    384|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|    384|#endif
  683|       |#ifdef Py_TRACE_REFS
  684|       |    _Py_ResurrectReference(op);
  685|       |#endif
  686|    384|}
object.c:_PyObject_ResurrectEnd:
  693|    384|{
  694|       |#ifdef Py_REF_DEBUG
  695|       |    _Py_DecRefTotal(_PyThreadState_GET());
  696|       |#endif
  697|    384|#ifndef Py_GIL_DISABLED
  698|    384|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|    384|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    384|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|    384|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|    384|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    384|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (699:9): [True: 384, False: 0]
  ------------------
  700|       |# ifdef Py_TRACE_REFS
  701|       |        _Py_ForgetReference(op);
  702|       |# endif
  703|    384|        return 0;
  704|    384|    }
  705|      0|    return 1;
  706|       |#else
  707|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  708|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  709|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  710|       |        // Fast-path: object has a single refcount and is owned by this thread
  711|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  712|       |        _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_UNOWNED_TID);
  713|       |        _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, _Py_REF_MERGED);
  714|       |# ifdef Py_TRACE_REFS
  715|       |        _Py_ForgetReference(op);
  716|       |# endif
  717|       |        return 0;
  718|       |    }
  719|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  720|       |    return _PyObject_ResurrectEndSlow(op);
  721|       |#endif
  722|    384|}
object.c:_PyObject_GetManagedDict:
  927|   588k|{
  928|   588k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  929|   588k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  152|   588k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  930|   588k|}
object.c:_PyObject_ManagedDictPointer:
  920|   590k|{
  921|   590k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (921:5): [True: 590k, False: 0]
  ------------------
  922|   590k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  910|   590k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  923|   590k|}
object.c:_PyType_HasFeature:
  281|  21.6k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  21.6k|    return ((type->tp_flags) & feature) != 0;
  283|  21.6k|}
object.c:Py_DECREF_MORTAL:
  442|   297k|{
  443|   297k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 297k, False: 0]
  ------------------
  444|   297k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   297k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|   297k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 297k]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|   297k|}
object.c:_PyObject_IsUniquelyReferenced:
  182|   956k|{
  183|   956k|#if !defined(Py_GIL_DISABLED)
  184|   956k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|   956k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   956k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   956k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|   956k|}
setobject.c:_PyObject_IsUniquelyReferenced:
  182|    139|{
  183|    139|#if !defined(Py_GIL_DISABLED)
  184|    139|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    139|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    139|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    139|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|    139|}
structseq.c:_PyType_HasFeature:
  281|    666|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|    666|    return ((type->tp_flags) & feature) != 0;
  283|    666|}
tupleobject.c:_PyObject_IsUniquelyReferenced:
  182|     35|{
  183|     35|#if !defined(Py_GIL_DISABLED)
  184|     35|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|     35|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|     35|}
typeobject.c:_PyType_PreHeaderSize:
  838|   136k|{
  839|   136k|    return (
  840|   136k|#ifndef Py_GIL_DISABLED
  841|   136k|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  842|   136k|#endif
  843|   136k|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|   136k|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|   136k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|   136k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  844|   136k|    );
  845|   136k|}
typeobject.c:_PyObject_Init:
  475|   136k|{
  476|   136k|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 136k, False: 0]
  ------------------
  477|   136k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|   136k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|   136k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   136k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|   136k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 72.5k, False: 63.6k]
  |  Branch (478:5): [True: 63.6k, False: 0]
  ------------------
  479|   136k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|   136k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|   136k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   136k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   136k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|   136k|    _Py_NewReference(op);
  481|   136k|}
typeobject.c:_PyObject_InitVar:
  485|  1.26k|{
  486|  1.26k|    assert(op != NULL);
  ------------------
  |  Branch (486:5): [True: 1.26k, False: 0]
  ------------------
  487|  1.26k|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (487:5): [True: 1.26k, False: 0]
  ------------------
  488|  1.26k|    _PyObject_Init((PyObject *)op, typeobj);
  489|  1.26k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  1.26k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.26k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|  1.26k|}
typeobject.c:_PyType_HasFeature:
  281|   321k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|   321k|    return ((type->tp_flags) & feature) != 0;
  283|   321k|}
typeobject.c:Py_DECREF_MORTAL:
  442|   201k|{
  443|   201k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 201k, False: 0]
  ------------------
  444|   201k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   201k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|   201k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 201k]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|   201k|}
typeobject.c:_Py_INCREF_MORTAL:
  989|   192k|{
  990|   192k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 192k, False: 0]
  ------------------
  991|   192k|    op->ob_refcnt++;
  992|   192k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   192k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  993|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
  994|       |    if (!_Py_IsImmortal(op)) {
  995|       |        _Py_INCREF_IncRefTotal();
  996|       |    }
  997|       |#endif
  998|   192k|}
typeobject.c:_PyObject_XDecRefDelayed:
  744|    245|{
  745|    245|    Py_XDECREF(obj);
  ------------------
  |  |  621|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  746|    245|}
typeobject.c:_PyObject_HashDictKey:
  826|   191k|{
  827|   191k|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|   191k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   191k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   191k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   191k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 191k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|   191k|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  829|   191k|        if (hash != -1) {
  ------------------
  |  Branch (829:13): [True: 4.71k, False: 187k]
  ------------------
  830|  4.71k|            return hash;
  831|  4.71k|        }
  832|   191k|    }
  833|   187k|    return PyObject_Hash(op);
  834|   191k|}
unicodeobject.c:_PyObject_Init:
  475|  10.9M|{
  476|  10.9M|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 10.9M, False: 0]
  ------------------
  477|  10.9M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  10.9M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  10.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  10.9M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 10.9M]
  |  Branch (478:5): [True: 10.9M, False: 0]
  ------------------
  479|  10.9M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  10.9M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  10.9M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  10.9M|    _Py_NewReference(op);
  481|  10.9M|}
unicodeobject.c:_PyType_HasFeature:
  281|  10.9M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  10.9M|    return ((type->tp_flags) & feature) != 0;
  283|  10.9M|}
unicodeobject.c:_PyObject_IsUniquelyReferenced:
  182|  1.31M|{
  183|  1.31M|#if !defined(Py_GIL_DISABLED)
  184|  1.31M|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  1.31M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|  1.31M|}
weakrefobject.c:_PyType_SUPPORTS_WEAKREFS:
  856|  24.0k|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  857|  24.0k|    return (type->tp_weaklistoffset != 0);
  858|  24.0k|}
weakrefobject.c:_PyObject_GET_WEAKREFS_LISTPTR:
  784|  25.0k|{
  785|  25.0k|    if (PyType_Check(op) &&
  ------------------
  |  |  766|  50.0k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.72k, False: 23.3k]
  |  |  ------------------
  ------------------
  786|  1.72k|            ((PyTypeObject *)op)->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.72k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (786:13): [True: 572, False: 1.15k]
  ------------------
  787|    572|        PyInterpreterState *interp = _PyInterpreterState_GET();
  788|    572|        managed_static_type_state *state = _PyStaticType_GetState(
  789|    572|                                                interp, (PyTypeObject *)op);
  790|    572|        return _PyStaticType_GET_WEAKREFS_LISTPTR(state);
  791|    572|    }
  792|       |    // Essentially _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET():
  793|  24.4k|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  213|  24.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  24.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  794|  24.4k|    return (PyObject **)((char *)op + offset);
  795|  25.0k|}
weakrefobject.c:_Py_TryIncref:
  727|  2.00k|{
  728|       |#ifdef Py_GIL_DISABLED
  729|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  730|       |#else
  731|  2.00k|    if (Py_REFCNT(op) > 0) {
  ------------------
  |  |  119|  2.00k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (731:9): [True: 2.00k, False: 0]
  ------------------
  732|  2.00k|        Py_INCREF(op);
  ------------------
  |  |  310|  2.00k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  733|  2.00k|        return 1;
  734|  2.00k|    }
  735|      0|    return 0;
  736|  2.00k|#endif
  737|  2.00k|}
bltinmodule.c:_PyObject_IsUniquelyReferenced:
  182|     69|{
  183|     69|#if !defined(Py_GIL_DISABLED)
  184|     69|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|     69|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|     69|}
ceval.c:Py_DECREF_MORTAL:
  442|   812k|{
  443|   812k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 812k, False: 0]
  ------------------
  444|   812k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   812k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|   812k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 21.3k, False: 791k]
  ------------------
  446|  21.3k|        _Py_Dealloc(op);
  447|  21.3k|    }
  448|   812k|}
ceval.c:Py_DECREF_MORTAL_SPECIALIZED:
  452|  2.05k|{
  453|  2.05k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (453:5): [True: 2.05k, False: 0]
  ------------------
  454|  2.05k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.05k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  455|  2.05k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (455:9): [True: 553, False: 1.49k]
  ------------------
  456|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  109|    553|    do { \
  |  |  110|    553|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|    553|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 553]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|    553|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 553]
  |  |  ------------------
  ------------------
  457|    553|        destruct(op);
  458|    553|    }
  459|  2.05k|}
ceval.c:_Py_INCREF_MORTAL:
  989|  1.22M|{
  990|  1.22M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 1.22M, False: 0]
  ------------------
  991|  1.22M|    op->ob_refcnt++;
  992|  1.22M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.22M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  993|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
  994|       |    if (!_Py_IsImmortal(op)) {
  995|       |        _Py_INCREF_IncRefTotal();
  996|       |    }
  997|       |#endif
  998|  1.22M|}
ceval.c:_PyObject_InlineValues:
  934|  40.4k|{
  935|  40.4k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  40.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  40.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  936|  40.4k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (936:5): [True: 40.4k, False: 0]
  |  Branch (936:5): [True: 40.4k, False: 0]
  ------------------
  937|  40.4k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (937:5): [True: 40.4k, False: 0]
  ------------------
  938|  40.4k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (938:5): [True: 40.4k, False: 0]
  ------------------
  939|  40.4k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  940|  40.4k|}
ceval.c:_PyType_HasFeature:
  281|  24.5k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  24.5k|    return ((type->tp_flags) & feature) != 0;
  283|  24.5k|}
ceval.c:_PyObject_GetManagedDict:
  927|  20.0k|{
  928|  20.0k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  929|  20.0k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  152|  20.0k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  930|  20.0k|}
ceval.c:_PyObject_ManagedDictPointer:
  920|  20.0k|{
  921|  20.0k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (921:5): [True: 20.0k, False: 0]
  ------------------
  922|  20.0k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  910|  20.0k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  923|  20.0k|}
frame.c:Py_DECREF_MORTAL:
  442|   489k|{
  443|   489k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 489k, False: 0]
  ------------------
  444|   489k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   489k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|   489k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 19.5k, False: 469k]
  ------------------
  446|  19.5k|        _Py_Dealloc(op);
  447|  19.5k|    }
  448|   489k|}
frame.c:_PyObject_IsUniquelyReferenced:
  182|  2.80k|{
  183|  2.80k|#if !defined(Py_GIL_DISABLED)
  184|  2.80k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  2.80k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|  2.80k|}
frame.c:_Py_INCREF_MORTAL:
  989|    859|{
  990|    859|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 859, False: 0]
  ------------------
  991|    859|    op->ob_refcnt++;
  992|    859|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    859|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  993|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
  994|       |    if (!_Py_IsImmortal(op)) {
  995|       |        _Py_INCREF_IncRefTotal();
  996|       |    }
  997|       |#endif
  998|    859|}
gc.c:_PyType_SUPPORTS_WEAKREFS:
  856|    306|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  857|    306|    return (type->tp_weaklistoffset != 0);
  858|    306|}
gc.c:_PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET:
  811|    156|{
  812|    156|    assert(!PyType_Check(op) ||
  ------------------
  |  Branch (812:5): [True: 142, False: 14]
  |  Branch (812:5): [True: 14, False: 0]
  ------------------
  813|    156|            ((PyTypeObject *)op)->tp_flags & Py_TPFLAGS_HEAPTYPE);
  814|    156|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  815|    156|    return (PyWeakReference **)((char *)op + offset);
  816|    156|}
gc.c:_PyType_PreHeaderSize:
  838|  40.2M|{
  839|  40.2M|    return (
  840|  40.2M|#ifndef Py_GIL_DISABLED
  841|  40.2M|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  842|  40.2M|#endif
  843|  40.2M|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|  40.2M|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  40.2M|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  40.2M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  844|  40.2M|    );
  845|  40.2M|}
gc.c:_PyType_HasFeature:
  281|  79.7M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  79.7M|    return ((type->tp_flags) & feature) != 0;
  283|  79.7M|}
gc.c:_PyObject_Init:
  475|  20.0M|{
  476|  20.0M|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 20.0M, False: 0]
  ------------------
  477|  20.0M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  20.0M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  20.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  20.0M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 16.1M, False: 3.87M]
  |  Branch (478:5): [True: 3.87M, False: 0]
  ------------------
  479|  20.0M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  20.0M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  20.0M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  20.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  20.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  20.0M|    _Py_NewReference(op);
  481|  20.0M|}
gc.c:_PyObject_InitVar:
  485|   598k|{
  486|   598k|    assert(op != NULL);
  ------------------
  |  Branch (486:5): [True: 598k, False: 0]
  ------------------
  487|   598k|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (487:5): [True: 598k, False: 0]
  ------------------
  488|   598k|    _PyObject_Init((PyObject *)op, typeobj);
  489|   598k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|   598k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   598k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   598k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|   598k|}
import.c:_Py_TryIncref:
  727|      2|{
  728|       |#ifdef Py_GIL_DISABLED
  729|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  730|       |#else
  731|      2|    if (Py_REFCNT(op) > 0) {
  ------------------
  |  |  119|      2|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (731:9): [True: 2, False: 0]
  ------------------
  732|      2|        Py_INCREF(op);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  733|      2|        return 1;
  734|      2|    }
  735|      0|    return 0;
  736|      2|#endif
  737|      2|}
intrinsics.c:_PyObject_IsUniquelyReferenced:
  182|    189|{
  183|    189|#if !defined(Py_GIL_DISABLED)
  184|    189|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    189|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    189|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    189|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|    189|}
specialize.c:_PyObject_GetManagedDict:
  927|    555|{
  928|    555|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  929|    555|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  152|    555|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  930|    555|}
specialize.c:_PyObject_ManagedDictPointer:
  920|    555|{
  921|    555|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (921:5): [True: 555, False: 0]
  ------------------
  922|    555|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  910|    555|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  923|    555|}
specialize.c:_PyObject_InlineValues:
  934|  1.04k|{
  935|  1.04k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  1.04k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  936|  1.04k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (936:5): [True: 1.04k, False: 0]
  |  Branch (936:5): [True: 1.04k, False: 0]
  ------------------
  937|  1.04k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (937:5): [True: 1.04k, False: 0]
  ------------------
  938|  1.04k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (938:5): [True: 1.04k, False: 0]
  ------------------
  939|  1.04k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  940|  1.04k|}
typecache.c:_Py_INCREF_MORTAL:
  989|   600k|{
  990|   600k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 600k, False: 0]
  ------------------
  991|   600k|    op->ob_refcnt++;
  992|   600k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   600k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  993|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
  994|       |    if (!_Py_IsImmortal(op)) {
  995|       |        _Py_INCREF_IncRefTotal();
  996|       |    }
  997|       |#endif
  998|   600k|}
_datetimemodule.c:_PyObject_Init:
  475|      8|{
  476|      8|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 8, False: 0]
  ------------------
  477|      8|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|      8|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|      8|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 8]
  |  Branch (478:5): [True: 8, False: 0]
  ------------------
  479|      8|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|      8|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|      8|    _Py_NewReference(op);
  481|      8|}
_datetimemodule.c:_PyType_HasFeature:
  281|      8|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|      8|    return ((type->tp_flags) & feature) != 0;
  283|      8|}
abstract.c:Py_DECREF_MORTAL:
  442|     90|{
  443|     90|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 90, False: 0]
  ------------------
  444|     90|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     90|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|     90|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 90]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|     90|}
bytesobject.c:_PyObject_InitVar:
  485|  4.55M|{
  486|  4.55M|    assert(op != NULL);
  ------------------
  |  Branch (486:5): [True: 4.55M, False: 0]
  ------------------
  487|  4.55M|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (487:5): [True: 4.55M, False: 0]
  ------------------
  488|  4.55M|    _PyObject_Init((PyObject *)op, typeobj);
  489|  4.55M|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  4.55M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  4.55M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|  4.55M|}
bytesobject.c:_PyObject_Init:
  475|  4.55M|{
  476|  4.55M|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 4.55M, False: 0]
  ------------------
  477|  4.55M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  4.55M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  4.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  4.55M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 4.55M]
  |  Branch (478:5): [True: 4.55M, False: 0]
  ------------------
  479|  4.55M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  4.55M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  4.55M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  4.55M|    _Py_NewReference(op);
  481|  4.55M|}
bytesobject.c:_PyType_HasFeature:
  281|  4.55M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  4.55M|    return ((type->tp_flags) & feature) != 0;
  283|  4.55M|}
codeobject.c:_PyObject_ResurrectStart:
  671|    845|{
  672|    845|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (672:5): [True: 845, False: 0]
  ------------------
  673|       |#ifdef Py_REF_DEBUG
  674|       |    _Py_IncRefTotal(_PyThreadState_GET());
  675|       |#endif
  676|       |#ifdef Py_GIL_DISABLED
  677|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  678|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  679|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  680|       |#else
  681|    845|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|    845|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    845|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    845|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|    845|#endif
  683|       |#ifdef Py_TRACE_REFS
  684|       |    _Py_ResurrectReference(op);
  685|       |#endif
  686|    845|}
codeobject.c:_PyObject_ResurrectEnd:
  693|    845|{
  694|       |#ifdef Py_REF_DEBUG
  695|       |    _Py_DecRefTotal(_PyThreadState_GET());
  696|       |#endif
  697|    845|#ifndef Py_GIL_DISABLED
  698|    845|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|    845|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    845|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    845|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|    845|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|    845|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    845|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    845|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (699:9): [True: 845, False: 0]
  ------------------
  700|       |# ifdef Py_TRACE_REFS
  701|       |        _Py_ForgetReference(op);
  702|       |# endif
  703|    845|        return 0;
  704|    845|    }
  705|      0|    return 1;
  706|       |#else
  707|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  708|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  709|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  710|       |        // Fast-path: object has a single refcount and is owned by this thread
  711|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  712|       |        _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_UNOWNED_TID);
  713|       |        _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, _Py_REF_MERGED);
  714|       |# ifdef Py_TRACE_REFS
  715|       |        _Py_ForgetReference(op);
  716|       |# endif
  717|       |        return 0;
  718|       |    }
  719|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  720|       |    return _PyObject_ResurrectEndSlow(op);
  721|       |#endif
  722|    845|}
enumobject.c:_PyObject_IsUniquelyReferenced:
  182|    182|{
  183|    182|#if !defined(Py_GIL_DISABLED)
  184|    182|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    182|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    182|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|    182|}
genobject.c:Py_DECREF_MORTAL:
  442|    194|{
  443|    194|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 194, False: 0]
  ------------------
  444|    194|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    194|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|    194|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 194]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|    194|}
floatobject.c:_PyObject_Init:
  475|     62|{
  476|     62|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 62, False: 0]
  ------------------
  477|     62|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|     62|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|     62|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 62]
  |  Branch (478:5): [True: 62, False: 0]
  ------------------
  479|     62|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|     62|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|     62|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|     62|    _Py_NewReference(op);
  481|     62|}
floatobject.c:_PyType_HasFeature:
  281|     62|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|     62|    return ((type->tp_flags) & feature) != 0;
  283|     62|}
frameobject.c:Py_DECREF_MORTAL:
  442|  5.50k|{
  443|  5.50k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 5.50k, False: 0]
  ------------------
  444|  5.50k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.50k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|  5.50k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 1.14k, False: 4.36k]
  ------------------
  446|  1.14k|        _Py_Dealloc(op);
  447|  1.14k|    }
  448|  5.50k|}

typeobject.c:_PyObject_MallocWithType:
   40|   136k|{
   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|   136k|    void *mem = PyObject_Malloc(size);
   47|       |#ifdef Py_GIL_DISABLED
   48|       |    m->current_object_heap = &m->heaps[_Py_MIMALLOC_HEAP_OBJECT];
   49|       |#endif
   50|   136k|    return mem;
   51|   136k|}
gc.c:_PyObject_MallocWithType:
   40|  20.0M|{
   41|       |#ifdef Py_GIL_DISABLED
   42|       |    _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
   43|       |    struct _mimalloc_thread_state *m = &tstate->mimalloc;
   44|       |    m->current_object_heap = _PyObject_GetAllocationHeap(tstate, tp);
   45|       |#endif
   46|  20.0M|    void *mem = PyObject_Malloc(size);
   47|       |#ifdef Py_GIL_DISABLED
   48|       |    m->current_object_heap = &m->heaps[_Py_MIMALLOC_HEAP_OBJECT];
   49|       |#endif
   50|  20.0M|    return mem;
   51|  20.0M|}
gc.c:_PyObject_ReallocWithType:
   55|      2|{
   56|       |#ifdef Py_GIL_DISABLED
   57|       |    _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
   58|       |    struct _mimalloc_thread_state *m = &tstate->mimalloc;
   59|       |    m->current_object_heap = _PyObject_GetAllocationHeap(tstate, tp);
   60|       |#endif
   61|      2|    void *mem = PyObject_Realloc(ptr, size);
   62|       |#ifdef Py_GIL_DISABLED
   63|       |    m->current_object_heap = &m->heaps[_Py_MIMALLOC_HEAP_OBJECT];
   64|       |#endif
   65|      2|    return mem;
   66|      2|}

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

call.c:_PyErr_Occurred:
   76|  1.86M|{
   77|  1.86M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 1.86M, False: 0]
  ------------------
   78|  1.86M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 1.84M, False: 17.7k]
  ------------------
   79|  1.84M|        return NULL;
   80|  1.84M|    }
   81|  17.7k|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  17.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  1.86M|}
dictobject.c:_PyErr_Occurred:
   76|    687|{
   77|    687|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 687, False: 0]
  ------------------
   78|    687|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 687, False: 0]
  ------------------
   79|    687|        return NULL;
   80|    687|    }
   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|    687|}
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|  38.8k|{
   77|  38.8k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 38.8k, False: 0]
  ------------------
   78|  38.8k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 38.8k, False: 13]
  ------------------
   79|  38.8k|        return NULL;
   80|  38.8k|    }
   81|     13|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  38.8k|}
ceval.c:_PyErr_Occurred:
   76|   226k|{
   77|   226k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 226k, False: 0]
  ------------------
   78|   226k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 220k, False: 5.69k]
  ------------------
   79|   220k|        return NULL;
   80|   220k|    }
   81|  5.69k|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  5.69k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|   226k|}
ceval.c:_PyErr_ClearExcState:
   85|    182|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  487|    182|    do { \
  |  |  488|    182|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    182|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    182|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    182|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    182|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    182|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 182]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|    182|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 182]
  |  |  ------------------
  ------------------
   87|    182|}
errors.c:_PyErr_Occurred:
   76|  80.2M|{
   77|  80.2M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 80.2M, False: 0]
  ------------------
   78|  80.2M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 79.9M, False: 288k]
  ------------------
   79|  79.9M|        return NULL;
   80|  79.9M|    }
   81|   288k|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|   288k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   288k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   288k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  80.2M|}
gc.c:_PyErr_Occurred:
   76|  8.70M|{
   77|  8.70M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 8.70M, False: 0]
  ------------------
   78|  8.70M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 8.70M, False: 0]
  ------------------
   79|  8.70M|        return NULL;
   80|  8.70M|    }
   81|      0|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  8.70M|}
import.c:_PyErr_Occurred:
   76|    527|{
   77|    527|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 527, False: 0]
  ------------------
   78|    527|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 527, False: 0]
  ------------------
   79|    527|        return NULL;
   80|    527|    }
   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|    527|}
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|    400|{
   77|    400|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 400, False: 0]
  ------------------
   78|    400|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 400, False: 0]
  ------------------
   79|    400|        return NULL;
   80|    400|    }
   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|    400|}
genobject.c:_PyErr_ClearExcState:
   85|     12|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  487|     12|    do { \
  |  |  488|     12|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     12|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     12|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     12|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 12]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
   87|     12|}
genobject.c:_PyErr_Occurred:
   76|    203|{
   77|    203|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 203, False: 0]
  ------------------
   78|    203|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 203, False: 0]
  ------------------
   79|    203|        return NULL;
   80|    203|    }
   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|    203|}
methodobject.c:_PyErr_Occurred:
   76|   446k|{
   77|   446k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 446k, False: 0]
  ------------------
   78|   446k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 446k, False: 0]
  ------------------
   79|   446k|        return NULL;
   80|   446k|    }
   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|   446k|}

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

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

call.c:_PyThreadState_GET:
  117|  1.60M|{
  118|  1.60M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.60M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.60M|}
call.c:_Py_get_machine_stack_pointer:
  336|  39.5k|_Py_get_machine_stack_pointer(void) {
  337|  39.5k|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|  39.5k|    return result;
  357|  39.5k|}
exceptions.c:_PyInterpreterState_GET:
  225|  68.3k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  68.3k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  68.3k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  68.3k|}
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|  18.1k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  18.1k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  18.1k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  18.1k|}
listobject.c:_PyInterpreterState_GET:
  225|  7.28M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  7.28M|#if !defined(Py_BUILD_CORE_MODULE)
  231|  7.28M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  7.28M|}
longobject.c:_PyInterpreterState_GET:
  225|   106k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   106k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   106k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   106k|}
dictobject.c:_PyInterpreterState_GET:
  225|  1.95M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  1.95M|#if !defined(Py_BUILD_CORE_MODULE)
  231|  1.95M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  1.95M|}
dictobject.c:_PyThreadState_GET:
  117|    692|{
  118|    692|#if !defined(Py_BUILD_CORE_MODULE)
  119|    692|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    692|}
moduleobject.c:_PyInterpreterState_GET:
  225|     38|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     38|#if !defined(Py_BUILD_CORE_MODULE)
  231|     38|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     38|}
object.c:_PyThreadState_GET:
  117|  29.2M|{
  118|  29.2M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  29.2M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  29.2M|}
object.c:_Py_get_machine_stack_pointer:
  336|  27.0M|_Py_get_machine_stack_pointer(void) {
  337|  27.0M|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|  27.0M|    return result;
  357|  27.0M|}
object.c:_PyInterpreterState_GET:
  225|  60.0k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  60.0k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  60.0k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  60.0k|}
object.c:_Py_RecursionLimit_GetMargin:
  361|  22.5M|{
  362|  22.5M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  363|  22.5M|    assert(_tstate->c_stack_hard_limit != 0);
  ------------------
  |  Branch (363:5): [True: 22.5M, False: 0]
  ------------------
  364|  22.5M|    intptr_t here_addr = _Py_get_machine_stack_pointer();
  365|  22.5M|#if _Py_STACK_GROWS_DOWN
  366|  22.5M|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, here_addr - (intptr_t)_tstate->c_stack_soft_limit, _PyOS_STACK_MARGIN_SHIFT);
  ------------------
  |  |  226|  22.5M|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  367|       |#else
  368|       |    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, (intptr_t)_tstate->c_stack_soft_limit - here_addr, _PyOS_STACK_MARGIN_SHIFT);
  369|       |#endif
  370|  22.5M|}
object.c:_Py_AssertHoldsTstateFunc:
  320|   956k|{
  321|   956k|    PyThreadState *tstate = _PyThreadState_GET();
  322|   956k|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|   956k|}
object.c:_Py_EnsureFuncTstateNotNULL:
  195|   956k|{
  196|   956k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 956k]
  ------------------
  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|   956k|}
obmalloc.c:_PyInterpreterState_GET:
  225|   164M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   164M|#if !defined(Py_BUILD_CORE_MODULE)
  231|   164M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   164M|}
obmalloc.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
rangeobject.c:_PyInterpreterState_GET:
  225|  2.25k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  2.25k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  2.25k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  2.25k|}
sentinelobject.c:_PyInterpreterState_GET:
  225|      8|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|      8|#if !defined(Py_BUILD_CORE_MODULE)
  231|      8|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|      8|}
sentinelobject.c:_PyThreadState_GET:
  117|      6|{
  118|      6|#if !defined(Py_BUILD_CORE_MODULE)
  119|      6|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|      6|}
setobject.c:_PyInterpreterState_GET:
  225|    586|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    586|#if !defined(Py_BUILD_CORE_MODULE)
  231|    586|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    586|}
sliceobject.c:_PyInterpreterState_GET:
  225|    403|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    403|#if !defined(Py_BUILD_CORE_MODULE)
  231|    403|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    403|}
tupleobject.c:_PyInterpreterState_GET:
  225|  3.41M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  3.41M|#if !defined(Py_BUILD_CORE_MODULE)
  231|  3.41M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  3.41M|}
tupleobject.c:_PyThreadState_GET:
  117|     44|{
  118|     44|#if !defined(Py_BUILD_CORE_MODULE)
  119|     44|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     44|}
tupleobject.c:_Py_get_machine_stack_pointer:
  336|     44|_Py_get_machine_stack_pointer(void) {
  337|     44|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|     44|    return result;
  357|     44|}
typeobject.c:_PyInterpreterState_GET:
  225|   540k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   540k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   540k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   540k|}
typeobject.c:_PyThreadState_GET:
  117|   242k|{
  118|   242k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   242k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   242k|}
typeobject.c:_Py_IsMainInterpreter:
   61|    402|{
   62|    402|    return (interp == _PyInterpreterState_Main());
   63|    402|}
unicodeobject.c:_PyInterpreterState_GET:
  225|  1.43M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  1.43M|#if !defined(Py_BUILD_CORE_MODULE)
  231|  1.43M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  1.43M|}
unicodeobject.c:_Py_IsMainInterpreter:
   61|      6|{
   62|      6|    return (interp == _PyInterpreterState_Main());
   63|      6|}
unionobject.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|}
weakrefobject.c:_PyInterpreterState_GET:
  225|    572|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    572|#if !defined(Py_BUILD_CORE_MODULE)
  231|    572|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    572|}
_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|    905|{
  118|    905|#if !defined(Py_BUILD_CORE_MODULE)
  119|    905|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    905|}
ceval.c:_Py_get_machine_stack_pointer:
  336|   218k|_Py_get_machine_stack_pointer(void) {
  337|   218k|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|   218k|    return result;
  357|   218k|}
ceval.c:_PyThreadState_GET:
  117|  1.98k|{
  118|  1.98k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.98k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.98k|}
ceval.c:_Py_EnsureFuncTstateNotNULL:
  195|   207k|{
  196|   207k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 207k]
  ------------------
  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|   207k|}
codecs.c:_PyInterpreterState_GET:
  225|   587k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   587k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   587k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   587k|}
compile.c:_PyInterpreterState_GET:
  225|      1|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|      1|#if !defined(Py_BUILD_CORE_MODULE)
  231|      1|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|      1|}
errors.c:_PyThreadState_GET:
  117|   160M|{
  118|   160M|#if !defined(Py_BUILD_CORE_MODULE)
  119|   160M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   160M|}
errors.c:_Py_AssertHoldsTstateFunc:
  320|  80.0M|{
  321|  80.0M|    PyThreadState *tstate = _PyThreadState_GET();
  322|  80.0M|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|  80.0M|}
errors.c:_Py_EnsureFuncTstateNotNULL:
  195|  80.0M|{
  196|  80.0M|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 80.0M]
  ------------------
  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|  80.0M|}
frame.c:_PyThreadState_GET:
  117|   234k|{
  118|   234k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   234k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   234k|}
frame.c:_PyInterpreterState_GET:
  225|    859|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    859|#if !defined(Py_BUILD_CORE_MODULE)
  231|    859|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    859|}
gc.c:_PyInterpreterState_GET:
  225|  56.7M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  56.7M|#if !defined(Py_BUILD_CORE_MODULE)
  231|  56.7M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  56.7M|}
gc.c:_PyThreadState_GET:
  117|  40.2M|{
  118|  40.2M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  40.2M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  40.2M|}
ceval_gil.c:_PyThreadState_GET:
  117|  2.21k|{
  118|  2.21k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  2.21k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  2.21k|}
ceval_gil.c:_Py_EnsureFuncTstateNotNULL:
  195|  4.42k|{
  196|  4.42k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 4.42k]
  ------------------
  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.42k|}
import.c:_PyThreadState_GET:
  117|  4.37k|{
  118|  4.37k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  4.37k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  4.37k|}
import.c:_PyInterpreterState_GET:
  225|  3.20k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  3.20k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  3.20k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  3.20k|}
import.c:_Py_IsMainInterpreter:
   61|     42|{
   62|     42|    return (interp == _PyInterpreterState_Main());
   63|     42|}
marshal.c:_PyInterpreterState_GET:
  225|  14.5k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  14.5k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  14.5k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  14.5k|}
pylifecycle.c:_Py_IsMainInterpreter:
   61|      8|{
   62|      8|    return (interp == _PyInterpreterState_Main());
   63|      8|}
pystate.c:_Py_EnsureFuncTstateNotNULL:
  195|  6.34k|{
  196|  6.34k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 6.34k]
  ------------------
  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|  6.34k|}
pystate.c:_Py_IsMainInterpreter:
   61|      4|{
   62|      4|    return (interp == _PyInterpreterState_Main());
   63|      4|}
pythonrun.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|}
specialize.c:_PyThreadState_GET:
  117|  3.13k|{
  118|  3.13k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  3.13k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  3.13k|}
specialize.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|}
symtable.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|}
sysmodule.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|}
sysmodule.c:_PyInterpreterState_GET:
  225|     29|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     29|#if !defined(Py_BUILD_CORE_MODULE)
  231|     29|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     29|}
sysmodule.c:_Py_EnsureFuncTstateNotNULL:
  195|    469|{
  196|    469|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 469]
  ------------------
  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|    469|}
thread.c:_PyInterpreterState_GET:
  225|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|      2|#if !defined(Py_BUILD_CORE_MODULE)
  231|      2|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|      2|}
traceback.c:_PyInterpreterState_GET:
  225|  6.23k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  6.23k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  6.23k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  6.23k|}
typecache.c:_PyInterpreterState_GET:
  225|   538k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   538k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   538k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   538k|}
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|    200|{
  321|    200|    PyThreadState *tstate = _PyThreadState_GET();
  322|    200|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|    200|}
fileutils.c:_PyThreadState_GET:
  117|    200|{
  118|    200|#if !defined(Py_BUILD_CORE_MODULE)
  119|    200|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    200|}
fileutils.c:_Py_EnsureFuncTstateNotNULL:
  195|    200|{
  196|    200|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 200]
  ------------------
  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|    200|}
dynload_shlib.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|}
signalmodule.c:_PyThreadState_GET:
  117|    701|{
  118|    701|#if !defined(Py_BUILD_CORE_MODULE)
  119|    701|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    701|}
fileio.c:_PyInterpreterState_GET:
  225|     95|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     95|#if !defined(Py_BUILD_CORE_MODULE)
  231|     95|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     95|}
bytesio.c:_PyInterpreterState_GET:
  225|  16.8k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  16.8k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  16.8k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  16.8k|}
bufferedio.c:_PyInterpreterState_GET:
  225|     95|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     95|#if !defined(Py_BUILD_CORE_MODULE)
  231|     95|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     95|}
bufferedio.c:_PyThreadState_GET:
  117|     95|{
  118|     95|#if !defined(Py_BUILD_CORE_MODULE)
  119|     95|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     95|}
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|   423k|{
  118|   423k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   423k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   423k|}
abstract.c:_Py_get_machine_stack_pointer:
  336|    189|_Py_get_machine_stack_pointer(void) {
  337|    189|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|    189|    return result;
  357|    189|}
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|  14.1k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  14.1k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  14.1k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  14.1k|}
cellobject.c:_PyInterpreterState_GET:
  225|  1.73k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  1.73k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  1.73k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  1.73k|}
classobject.c:_PyInterpreterState_GET:
  225|  11.1k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  11.1k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  11.1k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  11.1k|}
classobject.c:_PyThreadState_GET:
  117|    249|{
  118|    249|#if !defined(Py_BUILD_CORE_MODULE)
  119|    249|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    249|}
codeobject.c:_PyInterpreterState_GET:
  225|  17.6k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  17.6k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  17.6k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  17.6k|}
descrobject.c:_PyInterpreterState_GET:
  225|    956|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    956|#if !defined(Py_BUILD_CORE_MODULE)
  231|    956|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    956|}
descrobject.c:_PyThreadState_GET:
  117|  19.7k|{
  118|  19.7k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  19.7k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  19.7k|}
descrobject.c:_Py_get_machine_stack_pointer:
  336|  19.7k|_Py_get_machine_stack_pointer(void) {
  337|  19.7k|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|  19.7k|    return result;
  357|  19.7k|}
enumobject.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|}
enumobject.c:_PyThreadState_GET:
  117|      2|{
  118|      2|#if !defined(Py_BUILD_CORE_MODULE)
  119|      2|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|      2|}
genobject.c:_PyInterpreterState_GET:
  225|    776|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    776|#if !defined(Py_BUILD_CORE_MODULE)
  231|    776|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    776|}
genobject.c:_PyThreadState_GET:
  117|    363|{
  118|    363|#if !defined(Py_BUILD_CORE_MODULE)
  119|    363|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    363|}
floatobject.c:_PyInterpreterState_GET:
  225|  3.98k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  3.98k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  3.98k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  3.98k|}
frameobject.c:_PyInterpreterState_GET:
  225|    859|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    859|#if !defined(Py_BUILD_CORE_MODULE)
  231|    859|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    859|}
iterobject.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|}
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|  2.34M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  2.34M|#if !defined(Py_BUILD_CORE_MODULE)
  231|  2.34M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  2.34M|}
methodobject.c:_PyInterpreterState_GET:
  225|  1.57M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  1.57M|#if !defined(Py_BUILD_CORE_MODULE)
  231|  1.57M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  1.57M|}
methodobject.c:_PyThreadState_GET:
  117|   834k|{
  118|   834k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   834k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   834k|}
methodobject.c:_Py_get_machine_stack_pointer:
  336|   834k|_Py_get_machine_stack_pointer(void) {
  337|   834k|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|   834k|    return result;
  357|   834k|}
assemble.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|}
crossinterp.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
pegen.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|}
parser.c:_Py_get_machine_stack_pointer:
  336|    360|_Py_get_machine_stack_pointer(void) {
  337|    360|    uintptr_t result;
  338|       |#if _Py__has_builtin(__builtin_stack_address)
  339|       |    result = (uintptr_t)__builtin_stack_address();
  340|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
  341|       |    result = __getReg(31);
  342|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
  343|       |    result = (uintptr_t)_AddressOfReturnAddress();
  344|       |#elif defined(__aarch64__)
  345|       |    // Use a 64-bit temporary: on arm64_32 (ILP32), uintptr_t is 32 bits
  346|       |    // but sp is a 64-bit register.
  347|       |    uint64_t sp;
  348|       |    __asm__ ("mov %0, sp" : "=r" (sp));
  349|       |    result = (uintptr_t)sp;
  350|       |#elif defined(__x86_64__)
  351|       |    __asm__ ("{movq %%rsp, %0|mov %0, rsp}" : "=r" (result));
  352|       |#else
  353|       |    char here;
  354|       |    result = (uintptr_t)&here;
  355|       |#endif
  356|    360|    return result;
  357|    360|}

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

typeobject.c:_PySlot_heaptype_apply_field_slot:
  381|    837|{
  382|    837|    switch (slot.sl_id) {
  ------------------
  |  Branch (382:13): [True: 836, False: 1]
  ------------------
  383|      2|        case Py_mp_subscript:
  ------------------
  |  |   13|      2|#define Py_mp_subscript 5
  ------------------
  |  Branch (383:9): [True: 2, False: 835]
  ------------------
  384|      2|            ht->as_mapping.mp_subscript = (binaryfunc)slot.sl_func;
  385|      2|            break;
  386|      0|        case Py_nb_absolute:
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (386:9): [True: 0, False: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  393|      0|            ht->as_number.nb_and = (binaryfunc)slot.sl_func;
  394|      0|            break;
  395|      1|        case Py_nb_bool:
  ------------------
  |  |   17|      1|#define Py_nb_bool 9
  ------------------
  |  Branch (395:9): [True: 1, False: 836]
  ------------------
  396|      1|            ht->as_number.nb_bool = (inquiry)slot.sl_func;
  397|      1|            break;
  398|      0|        case Py_nb_divmod:
  ------------------
  |  |   18|      0|#define Py_nb_divmod 10
  ------------------
  |  Branch (398:9): [True: 0, False: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 832]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  483|      0|            ht->as_number.nb_xor = (binaryfunc)slot.sl_func;
  484|      0|            break;
  485|      2|        case Py_sq_ass_item:
  ------------------
  |  |   47|      2|#define Py_sq_ass_item 39
  ------------------
  |  Branch (485:9): [True: 2, False: 835]
  ------------------
  486|      2|            ht->as_sequence.sq_ass_item = (ssizeobjargproc)slot.sl_func;
  487|      2|            break;
  488|      1|        case Py_sq_concat:
  ------------------
  |  |   48|      1|#define Py_sq_concat 40
  ------------------
  |  Branch (488:9): [True: 1, False: 836]
  ------------------
  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: 836]
  ------------------
  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: 836]
  ------------------
  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: 836]
  ------------------
  498|      1|            ht->as_sequence.sq_inplace_repeat = (ssizeargfunc)slot.sl_func;
  499|      1|            break;
  500|      2|        case Py_sq_item:
  ------------------
  |  |   52|      2|#define Py_sq_item 44
  ------------------
  |  Branch (500:9): [True: 2, False: 835]
  ------------------
  501|      2|            ht->as_sequence.sq_item = (ssizeargfunc)slot.sl_func;
  502|      2|            break;
  503|      2|        case Py_sq_length:
  ------------------
  |  |   53|      2|#define Py_sq_length 45
  ------------------
  |  Branch (503:9): [True: 2, False: 835]
  ------------------
  504|      2|            ht->as_sequence.sq_length = (lenfunc)slot.sl_func;
  505|      2|            break;
  506|      1|        case Py_sq_repeat:
  ------------------
  |  |   54|      1|#define Py_sq_repeat 46
  ------------------
  |  Branch (506:9): [True: 1, False: 836]
  ------------------
  507|      1|            ht->as_sequence.sq_repeat = (ssizeargfunc)slot.sl_func;
  508|      1|            break;
  509|     23|        case Py_tp_alloc:
  ------------------
  |  |   55|     23|#define Py_tp_alloc 47
  ------------------
  |  Branch (509:9): [True: 23, False: 814]
  ------------------
  510|     23|            ht->ht_type.tp_alloc = (allocfunc)slot.sl_func;
  511|     23|            break;
  512|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (512:9): [True: 0, False: 837]
  ------------------
  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: 837]
  ------------------
  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: 829]
  ------------------
  519|      8|            ht->ht_type.tp_call = (ternaryfunc)slot.sl_func;
  520|      8|            break;
  521|     58|        case Py_tp_clear:
  ------------------
  |  |   59|     58|#define Py_tp_clear 51
  ------------------
  |  Branch (521:9): [True: 58, False: 779]
  ------------------
  522|     58|            ht->ht_type.tp_clear = (inquiry)slot.sl_func;
  523|     58|            break;
  524|    121|        case Py_tp_dealloc:
  ------------------
  |  |   60|    121|#define Py_tp_dealloc 52
  ------------------
  |  Branch (524:9): [True: 121, False: 716]
  ------------------
  525|    121|            ht->ht_type.tp_dealloc = (destructor)slot.sl_func;
  526|    121|            break;
  527|      0|        case Py_tp_del:
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (527:9): [True: 0, False: 837]
  ------------------
  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: 834]
  ------------------
  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: 836]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  540|      0|            ht->ht_type.tp_getattr = (getattrfunc)slot.sl_func;
  541|      0|            break;
  542|     38|        case Py_tp_getattro:
  ------------------
  |  |   66|     38|#define Py_tp_getattro 58
  ------------------
  |  Branch (542:9): [True: 38, False: 799]
  ------------------
  543|     38|            ht->ht_type.tp_getattro = (getattrofunc)slot.sl_func;
  544|     38|            break;
  545|      2|        case Py_tp_hash:
  ------------------
  |  |   67|      2|#define Py_tp_hash 59
  ------------------
  |  Branch (545:9): [True: 2, False: 835]
  ------------------
  546|      2|            ht->ht_type.tp_hash = (hashfunc)slot.sl_func;
  547|      2|            break;
  548|     27|        case Py_tp_init:
  ------------------
  |  |   68|     27|#define Py_tp_init 60
  ------------------
  |  Branch (548:9): [True: 27, False: 810]
  ------------------
  549|     27|            ht->ht_type.tp_init = (initproc)slot.sl_func;
  550|     27|            break;
  551|      0|        case Py_tp_is_gc:
  ------------------
  |  |   69|      0|#define Py_tp_is_gc 61
  ------------------
  |  Branch (551:9): [True: 0, False: 837]
  ------------------
  552|      0|            ht->ht_type.tp_is_gc = (inquiry)slot.sl_func;
  553|      0|            break;
  554|     33|        case Py_tp_iter:
  ------------------
  |  |   70|     33|#define Py_tp_iter 62
  ------------------
  |  Branch (554:9): [True: 33, False: 804]
  ------------------
  555|     33|            ht->ht_type.tp_iter = (getiterfunc)slot.sl_func;
  556|     33|            break;
  557|     38|        case Py_tp_iternext:
  ------------------
  |  |   71|     38|#define Py_tp_iternext 63
  ------------------
  |  Branch (557:9): [True: 38, False: 799]
  ------------------
  558|     38|            ht->ht_type.tp_iternext = (iternextfunc)slot.sl_func;
  559|     38|            break;
  560|     96|        case Py_tp_methods:
  ------------------
  |  |   72|     96|#define Py_tp_methods 64
  ------------------
  |  Branch (560:9): [True: 96, False: 741]
  ------------------
  561|     96|            ht->ht_type.tp_methods = slot.sl_ptr;
  562|     96|            break;
  563|     83|        case Py_tp_new:
  ------------------
  |  |   73|     83|#define Py_tp_new 65
  ------------------
  |  Branch (563:9): [True: 83, False: 754]
  ------------------
  564|     83|            ht->ht_type.tp_new = (newfunc)slot.sl_func;
  565|     83|            break;
  566|     63|        case Py_tp_repr:
  ------------------
  |  |   74|     63|#define Py_tp_repr 66
  ------------------
  |  Branch (566:9): [True: 63, False: 774]
  ------------------
  567|     63|            ht->ht_type.tp_repr = (reprfunc)slot.sl_func;
  568|     63|            break;
  569|      7|        case Py_tp_richcompare:
  ------------------
  |  |   75|      7|#define Py_tp_richcompare 67
  ------------------
  |  Branch (569:9): [True: 7, False: 830]
  ------------------
  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: 837]
  ------------------
  573|      0|            ht->ht_type.tp_setattr = (setattrfunc)slot.sl_func;
  574|      0|            break;
  575|      3|        case Py_tp_setattro:
  ------------------
  |  |   77|      3|#define Py_tp_setattro 69
  ------------------
  |  Branch (575:9): [True: 3, False: 834]
  ------------------
  576|      3|            ht->ht_type.tp_setattro = (setattrofunc)slot.sl_func;
  577|      3|            break;
  578|      0|        case Py_tp_str:
  ------------------
  |  |   78|      0|#define Py_tp_str 70
  ------------------
  |  Branch (578:9): [True: 0, False: 837]
  ------------------
  579|      0|            ht->ht_type.tp_str = (reprfunc)slot.sl_func;
  580|      0|            break;
  581|    114|        case Py_tp_traverse:
  ------------------
  |  |   79|    114|#define Py_tp_traverse 71
  ------------------
  |  Branch (581:9): [True: 114, False: 723]
  ------------------
  582|    114|            ht->ht_type.tp_traverse = (traverseproc)slot.sl_func;
  583|    114|            break;
  584|      0|        case Py_tp_members:
  ------------------
  |  |   80|      0|#define Py_tp_members 72
  ------------------
  |  Branch (584:9): [True: 0, False: 837]
  ------------------
  585|      0|            ht->ht_type.tp_members = slot.sl_ptr;
  586|      0|            break;
  587|     48|        case Py_tp_getset:
  ------------------
  |  |   81|     48|#define Py_tp_getset 73
  ------------------
  |  Branch (587:9): [True: 48, False: 789]
  ------------------
  588|     48|            ht->ht_type.tp_getset = slot.sl_ptr;
  589|     48|            break;
  590|     39|        case Py_tp_free:
  ------------------
  |  |   82|     39|#define Py_tp_free 74
  ------------------
  |  Branch (590:9): [True: 39, False: 798]
  ------------------
  591|     39|            ht->ht_type.tp_free = (freefunc)slot.sl_func;
  592|     39|            break;
  593|      0|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|      0|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (593:9): [True: 0, False: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 837]
  ------------------
  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: 833]
  ------------------
  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: 837]
  ------------------
  612|      0|            ht->as_async.am_send = (sendfunc)slot.sl_func;
  613|      0|            break;
  614|      2|        case Py_tp_vectorcall:
  ------------------
  |  |   90|      2|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (614:9): [True: 2, False: 835]
  ------------------
  615|      2|            ht->ht_type.tp_vectorcall = (vectorcallfunc)slot.sl_func;
  616|      2|            break;
  617|      2|        case Py_bf_getbuffer:
  ------------------
  |  |   96|      2|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|      2|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (617:9): [True: 2, False: 835]
  ------------------
  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: 835]
  ------------------
  621|      2|            ht->as_buffer.bf_releasebuffer = (releasebufferproc)slot.sl_func;
  622|      2|            break;
  623|      1|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|      1|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|      1|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (623:9): [True: 1, False: 836]
  ------------------
  624|      1|            ht->as_mapping.mp_ass_subscript = (objobjargproc)slot.sl_func;
  625|      1|            break;
  626|      1|        case Py_mp_length:
  ------------------
  |  |   99|      1|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|      1|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (626:9): [True: 1, False: 836]
  ------------------
  627|      1|            ht->as_mapping.mp_length = (lenfunc)slot.sl_func;
  628|      1|            break;
  629|    837|    }
  630|    837|}
slots.c:_PySlot_resolve_type_slot:
    8|  2.27k|{
    9|  2.27k|    switch (slot_id) {
   10|      0|        case 1:
  ------------------
  |  Branch (10:9): [True: 0, False: 2.27k]
  ------------------
   11|      0|            return Py_bf_getbuffer;
  ------------------
  |  |   96|      0|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
   12|      0|        case 2:
  ------------------
  |  Branch (12:9): [True: 0, False: 2.27k]
  ------------------
   13|      0|            return Py_bf_releasebuffer;
  ------------------
  |  |   97|      0|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
   14|      0|        case 3:
  ------------------
  |  Branch (14:9): [True: 0, False: 2.27k]
  ------------------
   15|      0|            return Py_mp_ass_subscript;
  ------------------
  |  |   98|      0|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
   16|      0|        case 4:
  ------------------
  |  Branch (16:9): [True: 0, False: 2.27k]
  ------------------
   17|      0|            return Py_mp_length;
  ------------------
  |  |   99|      0|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
   18|    254|        case Py_slot_end:
  ------------------
  |  |   12|    254|#define Py_slot_end 0
  ------------------
  |  Branch (18:9): [True: 254, False: 2.02k]
  ------------------
   19|    258|        case Py_mp_subscript:
  ------------------
  |  |   13|    258|#define Py_mp_subscript 5
  ------------------
  |  Branch (19:9): [True: 4, False: 2.27k]
  ------------------
   20|    258|        case Py_nb_absolute:
  ------------------
  |  |   14|    258|#define Py_nb_absolute 6
  ------------------
  |  Branch (20:9): [True: 0, False: 2.27k]
  ------------------
   21|    258|        case Py_nb_add:
  ------------------
  |  |   15|    258|#define Py_nb_add 7
  ------------------
  |  Branch (21:9): [True: 0, False: 2.27k]
  ------------------
   22|    258|        case Py_nb_and:
  ------------------
  |  |   16|    258|#define Py_nb_and 8
  ------------------
  |  Branch (22:9): [True: 0, False: 2.27k]
  ------------------
   23|    260|        case Py_nb_bool:
  ------------------
  |  |   17|    260|#define Py_nb_bool 9
  ------------------
  |  Branch (23:9): [True: 2, False: 2.27k]
  ------------------
   24|    260|        case Py_nb_divmod:
  ------------------
  |  |   18|    260|#define Py_nb_divmod 10
  ------------------
  |  Branch (24:9): [True: 0, False: 2.27k]
  ------------------
   25|    260|        case Py_nb_float:
  ------------------
  |  |   19|    260|#define Py_nb_float 11
  ------------------
  |  Branch (25:9): [True: 0, False: 2.27k]
  ------------------
   26|    260|        case Py_nb_floor_divide:
  ------------------
  |  |   20|    260|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (26:9): [True: 0, False: 2.27k]
  ------------------
   27|    260|        case Py_nb_index:
  ------------------
  |  |   21|    260|#define Py_nb_index 13
  ------------------
  |  Branch (27:9): [True: 0, False: 2.27k]
  ------------------
   28|    260|        case Py_nb_inplace_add:
  ------------------
  |  |   22|    260|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (28:9): [True: 0, False: 2.27k]
  ------------------
   29|    260|        case Py_nb_inplace_and:
  ------------------
  |  |   23|    260|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (29:9): [True: 0, False: 2.27k]
  ------------------
   30|    260|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|    260|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (30:9): [True: 0, False: 2.27k]
  ------------------
   31|    260|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|    260|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (31:9): [True: 0, False: 2.27k]
  ------------------
   32|    260|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|    260|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (32:9): [True: 0, False: 2.27k]
  ------------------
   33|    260|        case Py_nb_inplace_or:
  ------------------
  |  |   27|    260|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (33:9): [True: 0, False: 2.27k]
  ------------------
   34|    260|        case Py_nb_inplace_power:
  ------------------
  |  |   28|    260|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (34:9): [True: 0, False: 2.27k]
  ------------------
   35|    260|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|    260|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (35:9): [True: 0, False: 2.27k]
  ------------------
   36|    260|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|    260|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (36:9): [True: 0, False: 2.27k]
  ------------------
   37|    260|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|    260|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (37:9): [True: 0, False: 2.27k]
  ------------------
   38|    260|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|    260|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (38:9): [True: 0, False: 2.27k]
  ------------------
   39|    260|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|    260|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (39:9): [True: 0, False: 2.27k]
  ------------------
   40|    260|        case Py_nb_int:
  ------------------
  |  |   34|    260|#define Py_nb_int 26
  ------------------
  |  Branch (40:9): [True: 0, False: 2.27k]
  ------------------
   41|    260|        case Py_nb_invert:
  ------------------
  |  |   35|    260|#define Py_nb_invert 27
  ------------------
  |  Branch (41:9): [True: 0, False: 2.27k]
  ------------------
   42|    260|        case Py_nb_lshift:
  ------------------
  |  |   36|    260|#define Py_nb_lshift 28
  ------------------
  |  Branch (42:9): [True: 0, False: 2.27k]
  ------------------
   43|    260|        case Py_nb_multiply:
  ------------------
  |  |   37|    260|#define Py_nb_multiply 29
  ------------------
  |  Branch (43:9): [True: 0, False: 2.27k]
  ------------------
   44|    260|        case Py_nb_negative:
  ------------------
  |  |   38|    260|#define Py_nb_negative 30
  ------------------
  |  Branch (44:9): [True: 0, False: 2.27k]
  ------------------
   45|    270|        case Py_nb_or:
  ------------------
  |  |   39|    270|#define Py_nb_or 31
  ------------------
  |  Branch (45:9): [True: 10, False: 2.26k]
  ------------------
   46|    270|        case Py_nb_positive:
  ------------------
  |  |   40|    270|#define Py_nb_positive 32
  ------------------
  |  Branch (46:9): [True: 0, False: 2.27k]
  ------------------
   47|    270|        case Py_nb_power:
  ------------------
  |  |   41|    270|#define Py_nb_power 33
  ------------------
  |  Branch (47:9): [True: 0, False: 2.27k]
  ------------------
   48|    270|        case Py_nb_remainder:
  ------------------
  |  |   42|    270|#define Py_nb_remainder 34
  ------------------
  |  Branch (48:9): [True: 0, False: 2.27k]
  ------------------
   49|    270|        case Py_nb_rshift:
  ------------------
  |  |   43|    270|#define Py_nb_rshift 35
  ------------------
  |  Branch (49:9): [True: 0, False: 2.27k]
  ------------------
   50|    270|        case Py_nb_subtract:
  ------------------
  |  |   44|    270|#define Py_nb_subtract 36
  ------------------
  |  Branch (50:9): [True: 0, False: 2.27k]
  ------------------
   51|    270|        case Py_nb_true_divide:
  ------------------
  |  |   45|    270|#define Py_nb_true_divide 37
  ------------------
  |  Branch (51:9): [True: 0, False: 2.27k]
  ------------------
   52|    270|        case Py_nb_xor:
  ------------------
  |  |   46|    270|#define Py_nb_xor 38
  ------------------
  |  Branch (52:9): [True: 0, False: 2.27k]
  ------------------
   53|    274|        case Py_sq_ass_item:
  ------------------
  |  |   47|    274|#define Py_sq_ass_item 39
  ------------------
  |  Branch (53:9): [True: 4, False: 2.27k]
  ------------------
   54|    276|        case Py_sq_concat:
  ------------------
  |  |   48|    276|#define Py_sq_concat 40
  ------------------
  |  Branch (54:9): [True: 2, False: 2.27k]
  ------------------
   55|    278|        case Py_sq_contains:
  ------------------
  |  |   49|    278|#define Py_sq_contains 41
  ------------------
  |  Branch (55:9): [True: 2, False: 2.27k]
  ------------------
   56|    280|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|    280|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (56:9): [True: 2, False: 2.27k]
  ------------------
   57|    282|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|    282|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (57:9): [True: 2, False: 2.27k]
  ------------------
   58|    286|        case Py_sq_item:
  ------------------
  |  |   52|    286|#define Py_sq_item 44
  ------------------
  |  Branch (58:9): [True: 4, False: 2.27k]
  ------------------
   59|    290|        case Py_sq_length:
  ------------------
  |  |   53|    290|#define Py_sq_length 45
  ------------------
  |  Branch (59:9): [True: 4, False: 2.27k]
  ------------------
   60|    292|        case Py_sq_repeat:
  ------------------
  |  |   54|    292|#define Py_sq_repeat 46
  ------------------
  |  Branch (60:9): [True: 2, False: 2.27k]
  ------------------
   61|    338|        case Py_tp_alloc:
  ------------------
  |  |   55|    338|#define Py_tp_alloc 47
  ------------------
  |  Branch (61:9): [True: 46, False: 2.23k]
  ------------------
   62|    338|        case Py_tp_base:
  ------------------
  |  |   56|    338|#define Py_tp_base 48
  ------------------
  |  Branch (62:9): [True: 0, False: 2.27k]
  ------------------
   63|    338|        case Py_tp_bases:
  ------------------
  |  |   57|    338|#define Py_tp_bases 49
  ------------------
  |  Branch (63:9): [True: 0, False: 2.27k]
  ------------------
   64|    354|        case Py_tp_call:
  ------------------
  |  |   58|    354|#define Py_tp_call 50
  ------------------
  |  Branch (64:9): [True: 16, False: 2.26k]
  ------------------
   65|    470|        case Py_tp_clear:
  ------------------
  |  |   59|    470|#define Py_tp_clear 51
  ------------------
  |  Branch (65:9): [True: 116, False: 2.16k]
  ------------------
   66|    712|        case Py_tp_dealloc:
  ------------------
  |  |   60|    712|#define Py_tp_dealloc 52
  ------------------
  |  Branch (66:9): [True: 242, False: 2.03k]
  ------------------
   67|    712|        case Py_tp_del:
  ------------------
  |  |   61|    712|#define Py_tp_del 53
  ------------------
  |  Branch (67:9): [True: 0, False: 2.27k]
  ------------------
   68|    718|        case Py_tp_descr_get:
  ------------------
  |  |   62|    718|#define Py_tp_descr_get 54
  ------------------
  |  Branch (68:9): [True: 6, False: 2.27k]
  ------------------
   69|    720|        case Py_tp_descr_set:
  ------------------
  |  |   63|    720|#define Py_tp_descr_set 55
  ------------------
  |  Branch (69:9): [True: 2, False: 2.27k]
  ------------------
   70|    922|        case Py_tp_doc:
  ------------------
  |  |   64|    922|#define Py_tp_doc 56
  ------------------
  |  Branch (70:9): [True: 202, False: 2.07k]
  ------------------
   71|    922|        case Py_tp_getattr:
  ------------------
  |  |   65|    922|#define Py_tp_getattr 57
  ------------------
  |  Branch (71:9): [True: 0, False: 2.27k]
  ------------------
   72|    998|        case Py_tp_getattro:
  ------------------
  |  |   66|    998|#define Py_tp_getattro 58
  ------------------
  |  Branch (72:9): [True: 76, False: 2.20k]
  ------------------
   73|  1.00k|        case Py_tp_hash:
  ------------------
  |  |   67|  1.00k|#define Py_tp_hash 59
  ------------------
  |  Branch (73:9): [True: 4, False: 2.27k]
  ------------------
   74|  1.05k|        case Py_tp_init:
  ------------------
  |  |   68|  1.05k|#define Py_tp_init 60
  ------------------
  |  Branch (74:9): [True: 54, False: 2.22k]
  ------------------
   75|  1.05k|        case Py_tp_is_gc:
  ------------------
  |  |   69|  1.05k|#define Py_tp_is_gc 61
  ------------------
  |  Branch (75:9): [True: 0, False: 2.27k]
  ------------------
   76|  1.12k|        case Py_tp_iter:
  ------------------
  |  |   70|  1.12k|#define Py_tp_iter 62
  ------------------
  |  Branch (76:9): [True: 66, False: 2.21k]
  ------------------
   77|  1.19k|        case Py_tp_iternext:
  ------------------
  |  |   71|  1.19k|#define Py_tp_iternext 63
  ------------------
  |  Branch (77:9): [True: 76, False: 2.20k]
  ------------------
   78|  1.39k|        case Py_tp_methods:
  ------------------
  |  |   72|  1.39k|#define Py_tp_methods 64
  ------------------
  |  Branch (78:9): [True: 192, False: 2.08k]
  ------------------
   79|  1.55k|        case Py_tp_new:
  ------------------
  |  |   73|  1.55k|#define Py_tp_new 65
  ------------------
  |  Branch (79:9): [True: 166, False: 2.11k]
  ------------------
   80|  1.68k|        case Py_tp_repr:
  ------------------
  |  |   74|  1.68k|#define Py_tp_repr 66
  ------------------
  |  Branch (80:9): [True: 126, False: 2.15k]
  ------------------
   81|  1.69k|        case Py_tp_richcompare:
  ------------------
  |  |   75|  1.69k|#define Py_tp_richcompare 67
  ------------------
  |  Branch (81:9): [True: 14, False: 2.26k]
  ------------------
   82|  1.69k|        case Py_tp_setattr:
  ------------------
  |  |   76|  1.69k|#define Py_tp_setattr 68
  ------------------
  |  Branch (82:9): [True: 0, False: 2.27k]
  ------------------
   83|  1.70k|        case Py_tp_setattro:
  ------------------
  |  |   77|  1.70k|#define Py_tp_setattro 69
  ------------------
  |  Branch (83:9): [True: 6, False: 2.27k]
  ------------------
   84|  1.70k|        case Py_tp_str:
  ------------------
  |  |   78|  1.70k|#define Py_tp_str 70
  ------------------
  |  Branch (84:9): [True: 0, False: 2.27k]
  ------------------
   85|  1.93k|        case Py_tp_traverse:
  ------------------
  |  |   79|  1.93k|#define Py_tp_traverse 71
  ------------------
  |  Branch (85:9): [True: 228, False: 2.04k]
  ------------------
   86|  2.07k|        case Py_tp_members:
  ------------------
  |  |   80|  2.07k|#define Py_tp_members 72
  ------------------
  |  Branch (86:9): [True: 146, False: 2.13k]
  ------------------
   87|  2.17k|        case Py_tp_getset:
  ------------------
  |  |   81|  2.17k|#define Py_tp_getset 73
  ------------------
  |  Branch (87:9): [True: 96, False: 2.18k]
  ------------------
   88|  2.25k|        case Py_tp_free:
  ------------------
  |  |   82|  2.25k|#define Py_tp_free 74
  ------------------
  |  Branch (88:9): [True: 78, False: 2.19k]
  ------------------
   89|  2.25k|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|  2.25k|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (89:9): [True: 0, False: 2.27k]
  ------------------
   90|  2.25k|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|  2.25k|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (90:9): [True: 0, False: 2.27k]
  ------------------
   91|  2.25k|        case Py_am_await:
  ------------------
  |  |   85|  2.25k|#define Py_am_await 77
  ------------------
  |  Branch (91:9): [True: 0, False: 2.27k]
  ------------------
   92|  2.25k|        case Py_am_aiter:
  ------------------
  |  |   86|  2.25k|#define Py_am_aiter 78
  ------------------
  |  Branch (92:9): [True: 0, False: 2.27k]
  ------------------
   93|  2.25k|        case Py_am_anext:
  ------------------
  |  |   87|  2.25k|#define Py_am_anext 79
  ------------------
  |  Branch (93:9): [True: 0, False: 2.27k]
  ------------------
   94|  2.25k|        case Py_tp_finalize:
  ------------------
  |  |   88|  2.25k|#define Py_tp_finalize 80
  ------------------
  |  Branch (94:9): [True: 8, False: 2.26k]
  ------------------
   95|  2.25k|        case Py_am_send:
  ------------------
  |  |   89|  2.25k|#define Py_am_send 81
  ------------------
  |  Branch (95:9): [True: 0, False: 2.27k]
  ------------------
   96|  2.26k|        case Py_tp_vectorcall:
  ------------------
  |  |   90|  2.26k|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (96:9): [True: 4, False: 2.27k]
  ------------------
   97|  2.26k|        case Py_tp_token:
  ------------------
  |  |   91|  2.26k|#define Py_tp_token 83
  ------------------
  |  Branch (97:9): [True: 2, False: 2.27k]
  ------------------
   98|  2.26k|        case Py_bf_getbuffer:
  ------------------
  |  |   96|  2.26k|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|  2.26k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (98:9): [True: 4, False: 2.27k]
  ------------------
   99|  2.27k|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|  2.27k|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|  2.27k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (99:9): [True: 4, False: 2.27k]
  ------------------
  100|  2.27k|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|  2.27k|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|  2.27k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (100:9): [True: 2, False: 2.27k]
  ------------------
  101|  2.27k|        case Py_mp_length:
  ------------------
  |  |   99|  2.27k|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|  2.27k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (101:9): [True: 2, False: 2.27k]
  ------------------
  102|  2.27k|        case Py_slot_subslots:
  ------------------
  |  |  100|  2.27k|#define Py_slot_subslots 92
  ------------------
  |  Branch (102:9): [True: 0, False: 2.27k]
  ------------------
  103|  2.27k|        case Py_tp_slots:
  ------------------
  |  |  101|  2.27k|#define Py_tp_slots 93
  ------------------
  |  Branch (103:9): [True: 0, False: 2.27k]
  ------------------
  104|  2.27k|        case Py_tp_name:
  ------------------
  |  |  103|  2.27k|#define Py_tp_name 95
  ------------------
  |  Branch (104:9): [True: 0, False: 2.27k]
  ------------------
  105|  2.27k|        case Py_tp_basicsize:
  ------------------
  |  |  104|  2.27k|#define Py_tp_basicsize 96
  ------------------
  |  Branch (105:9): [True: 0, False: 2.27k]
  ------------------
  106|  2.27k|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|  2.27k|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (106:9): [True: 0, False: 2.27k]
  ------------------
  107|  2.27k|        case Py_tp_itemsize:
  ------------------
  |  |  106|  2.27k|#define Py_tp_itemsize 98
  ------------------
  |  Branch (107:9): [True: 0, False: 2.27k]
  ------------------
  108|  2.27k|        case Py_tp_flags:
  ------------------
  |  |  107|  2.27k|#define Py_tp_flags 99
  ------------------
  |  Branch (108:9): [True: 0, False: 2.27k]
  ------------------
  109|  2.27k|        case Py_tp_metaclass:
  ------------------
  |  |  115|  2.27k|#define Py_tp_metaclass 107
  ------------------
  |  Branch (109:9): [True: 0, False: 2.27k]
  ------------------
  110|  2.27k|        case Py_tp_module:
  ------------------
  |  |  116|  2.27k|#define Py_tp_module 108
  ------------------
  |  Branch (110:9): [True: 0, False: 2.27k]
  ------------------
  111|  2.27k|            return slot_id;
  112|      0|        default:
  ------------------
  |  Branch (112:9): [True: 0, False: 2.27k]
  ------------------
  113|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  114|  2.27k|    }
  115|  2.27k|}
slots.c:_PySlot_resolve_mod_slot:
  119|    368|{
  120|    368|    switch (slot_id) {
  121|      0|        case 1:
  ------------------
  |  Branch (121:9): [True: 0, False: 368]
  ------------------
  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: 360]
  ------------------
  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: 360]
  ------------------
  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: 360]
  ------------------
  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|     76|        case Py_slot_end:
  ------------------
  |  |   12|     76|#define Py_slot_end 0
  ------------------
  |  Branch (129:9): [True: 76, False: 292]
  ------------------
  130|     76|        case Py_mod_create:
  ------------------
  |  |   92|     76|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|     76|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (130:9): [True: 0, False: 368]
  ------------------
  131|    140|        case Py_mod_exec:
  ------------------
  |  |   93|    140|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|    140|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (131:9): [True: 64, False: 304]
  ------------------
  132|    208|        case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|    208|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    208|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (132:9): [True: 68, False: 300]
  ------------------
  133|    276|        case Py_mod_gil:
  ------------------
  |  |   95|    276|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    276|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (133:9): [True: 68, False: 300]
  ------------------
  134|    276|        case Py_slot_subslots:
  ------------------
  |  |  100|    276|#define Py_slot_subslots 92
  ------------------
  |  Branch (134:9): [True: 0, False: 368]
  ------------------
  135|    276|        case Py_mod_slots:
  ------------------
  |  |  102|    276|#define Py_mod_slots 94
  ------------------
  |  Branch (135:9): [True: 0, False: 368]
  ------------------
  136|    276|        case Py_mod_name:
  ------------------
  |  |  108|    276|#define Py_mod_name 100
  ------------------
  |  Branch (136:9): [True: 0, False: 368]
  ------------------
  137|    276|        case Py_mod_doc:
  ------------------
  |  |  109|    276|#define Py_mod_doc 101
  ------------------
  |  Branch (137:9): [True: 0, False: 368]
  ------------------
  138|    276|        case Py_mod_state_size:
  ------------------
  |  |  110|    276|#define Py_mod_state_size 102
  ------------------
  |  Branch (138:9): [True: 0, False: 368]
  ------------------
  139|    276|        case Py_mod_methods:
  ------------------
  |  |  111|    276|#define Py_mod_methods 103
  ------------------
  |  Branch (139:9): [True: 0, False: 368]
  ------------------
  140|    276|        case Py_mod_state_traverse:
  ------------------
  |  |  112|    276|#define Py_mod_state_traverse 104
  ------------------
  |  Branch (140:9): [True: 0, False: 368]
  ------------------
  141|    276|        case Py_mod_state_clear:
  ------------------
  |  |  113|    276|#define Py_mod_state_clear 105
  ------------------
  |  Branch (141:9): [True: 0, False: 368]
  ------------------
  142|    276|        case Py_mod_state_free:
  ------------------
  |  |  114|    276|#define Py_mod_state_free 106
  ------------------
  |  Branch (142:9): [True: 0, False: 368]
  ------------------
  143|    344|        case Py_mod_abi:
  ------------------
  |  |  117|    344|#define Py_mod_abi 109
  ------------------
  |  Branch (143:9): [True: 68, False: 300]
  ------------------
  144|    344|        case Py_mod_token:
  ------------------
  |  |  118|    344|#define Py_mod_token 110
  ------------------
  |  Branch (144:9): [True: 0, False: 368]
  ------------------
  145|    344|            return slot_id;
  146|      0|        default:
  ------------------
  |  Branch (146:9): [True: 0, False: 368]
  ------------------
  147|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  148|    368|    }
  149|    368|}
slots.c:_PySlot_get_dtype:
  634|  5.67k|{
  635|  5.67k|    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.67k]
  ------------------
  637|     10|        case Py_mp_subscript: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   13|     10|#define Py_mp_subscript 5
  ------------------
  |  Branch (637:9): [True: 10, False: 5.66k]
  ------------------
  638|      0|        case Py_nb_absolute: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (638:9): [True: 0, False: 5.67k]
  ------------------
  639|      0|        case Py_nb_add: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   15|      0|#define Py_nb_add 7
  ------------------
  |  Branch (639:9): [True: 0, False: 5.67k]
  ------------------
  640|      0|        case Py_nb_and: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   16|      0|#define Py_nb_and 8
  ------------------
  |  Branch (640:9): [True: 0, False: 5.67k]
  ------------------
  641|      5|        case Py_nb_bool: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   17|      5|#define Py_nb_bool 9
  ------------------
  |  Branch (641:9): [True: 5, False: 5.67k]
  ------------------
  642|      0|        case Py_nb_divmod: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   18|      0|#define Py_nb_divmod 10
  ------------------
  |  Branch (642:9): [True: 0, False: 5.67k]
  ------------------
  643|      0|        case Py_nb_float: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   19|      0|#define Py_nb_float 11
  ------------------
  |  Branch (643:9): [True: 0, False: 5.67k]
  ------------------
  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.67k]
  ------------------
  645|      0|        case Py_nb_index: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   21|      0|#define Py_nb_index 13
  ------------------
  |  Branch (645:9): [True: 0, False: 5.67k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  658|      0|        case Py_nb_int: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   34|      0|#define Py_nb_int 26
  ------------------
  |  Branch (658:9): [True: 0, False: 5.67k]
  ------------------
  659|      0|        case Py_nb_invert: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   35|      0|#define Py_nb_invert 27
  ------------------
  |  Branch (659:9): [True: 0, False: 5.67k]
  ------------------
  660|      0|        case Py_nb_lshift: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   36|      0|#define Py_nb_lshift 28
  ------------------
  |  Branch (660:9): [True: 0, False: 5.67k]
  ------------------
  661|      0|        case Py_nb_multiply: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   37|      0|#define Py_nb_multiply 29
  ------------------
  |  Branch (661:9): [True: 0, False: 5.67k]
  ------------------
  662|      0|        case Py_nb_negative: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   38|      0|#define Py_nb_negative 30
  ------------------
  |  Branch (662:9): [True: 0, False: 5.67k]
  ------------------
  663|     25|        case Py_nb_or: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   39|     25|#define Py_nb_or 31
  ------------------
  |  Branch (663:9): [True: 25, False: 5.65k]
  ------------------
  664|      0|        case Py_nb_positive: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   40|      0|#define Py_nb_positive 32
  ------------------
  |  Branch (664:9): [True: 0, False: 5.67k]
  ------------------
  665|      0|        case Py_nb_power: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   41|      0|#define Py_nb_power 33
  ------------------
  |  Branch (665:9): [True: 0, False: 5.67k]
  ------------------
  666|      0|        case Py_nb_remainder: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   42|      0|#define Py_nb_remainder 34
  ------------------
  |  Branch (666:9): [True: 0, False: 5.67k]
  ------------------
  667|      0|        case Py_nb_rshift: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   43|      0|#define Py_nb_rshift 35
  ------------------
  |  Branch (667:9): [True: 0, False: 5.67k]
  ------------------
  668|      0|        case Py_nb_subtract: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   44|      0|#define Py_nb_subtract 36
  ------------------
  |  Branch (668:9): [True: 0, False: 5.67k]
  ------------------
  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.67k]
  ------------------
  670|      0|        case Py_nb_xor: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   46|      0|#define Py_nb_xor 38
  ------------------
  |  Branch (670:9): [True: 0, False: 5.67k]
  ------------------
  671|     10|        case Py_sq_ass_item: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   47|     10|#define Py_sq_ass_item 39
  ------------------
  |  Branch (671:9): [True: 10, False: 5.66k]
  ------------------
  672|      5|        case Py_sq_concat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   48|      5|#define Py_sq_concat 40
  ------------------
  |  Branch (672:9): [True: 5, False: 5.67k]
  ------------------
  673|      5|        case Py_sq_contains: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   49|      5|#define Py_sq_contains 41
  ------------------
  |  Branch (673:9): [True: 5, False: 5.67k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  676|     10|        case Py_sq_item: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   52|     10|#define Py_sq_item 44
  ------------------
  |  Branch (676:9): [True: 10, False: 5.66k]
  ------------------
  677|     10|        case Py_sq_length: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   53|     10|#define Py_sq_length 45
  ------------------
  |  Branch (677:9): [True: 10, False: 5.66k]
  ------------------
  678|      5|        case Py_sq_repeat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   54|      5|#define Py_sq_repeat 46
  ------------------
  |  Branch (678:9): [True: 5, False: 5.67k]
  ------------------
  679|    115|        case Py_tp_alloc: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   55|    115|#define Py_tp_alloc 47
  ------------------
  |  Branch (679:9): [True: 115, False: 5.56k]
  ------------------
  680|      0|        case Py_tp_base: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (680:9): [True: 0, False: 5.67k]
  ------------------
  681|      0|        case Py_tp_bases: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (681:9): [True: 0, False: 5.67k]
  ------------------
  682|     40|        case Py_tp_call: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   58|     40|#define Py_tp_call 50
  ------------------
  |  Branch (682:9): [True: 40, False: 5.63k]
  ------------------
  683|    290|        case Py_tp_clear: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   59|    290|#define Py_tp_clear 51
  ------------------
  |  Branch (683:9): [True: 290, False: 5.38k]
  ------------------
  684|    605|        case Py_tp_dealloc: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   60|    605|#define Py_tp_dealloc 52
  ------------------
  |  Branch (684:9): [True: 605, False: 5.07k]
  ------------------
  685|      0|        case Py_tp_del: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (685:9): [True: 0, False: 5.67k]
  ------------------
  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.66k]
  ------------------
  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.67k]
  ------------------
  688|    404|        case Py_tp_doc: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   64|    404|#define Py_tp_doc 56
  ------------------
  |  Branch (688:9): [True: 404, False: 5.27k]
  ------------------
  689|      0|        case Py_tp_getattr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   65|      0|#define Py_tp_getattr 57
  ------------------
  |  Branch (689:9): [True: 0, False: 5.67k]
  ------------------
  690|    190|        case Py_tp_getattro: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   66|    190|#define Py_tp_getattro 58
  ------------------
  |  Branch (690:9): [True: 190, False: 5.48k]
  ------------------
  691|     10|        case Py_tp_hash: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   67|     10|#define Py_tp_hash 59
  ------------------
  |  Branch (691:9): [True: 10, False: 5.66k]
  ------------------
  692|    135|        case Py_tp_init: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   68|    135|#define Py_tp_init 60
  ------------------
  |  Branch (692:9): [True: 135, False: 5.54k]
  ------------------
  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.67k]
  ------------------
  694|    165|        case Py_tp_iter: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   70|    165|#define Py_tp_iter 62
  ------------------
  |  Branch (694:9): [True: 165, False: 5.51k]
  ------------------
  695|    190|        case Py_tp_iternext: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   71|    190|#define Py_tp_iternext 63
  ------------------
  |  Branch (695:9): [True: 190, False: 5.48k]
  ------------------
  696|    480|        case Py_tp_methods: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   72|    480|#define Py_tp_methods 64
  ------------------
  |  Branch (696:9): [True: 480, False: 5.19k]
  ------------------
  697|    415|        case Py_tp_new: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   73|    415|#define Py_tp_new 65
  ------------------
  |  Branch (697:9): [True: 415, False: 5.26k]
  ------------------
  698|    315|        case Py_tp_repr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   74|    315|#define Py_tp_repr 66
  ------------------
  |  Branch (698:9): [True: 315, False: 5.36k]
  ------------------
  699|     35|        case Py_tp_richcompare: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   75|     35|#define Py_tp_richcompare 67
  ------------------
  |  Branch (699:9): [True: 35, False: 5.64k]
  ------------------
  700|      0|        case Py_tp_setattr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   76|      0|#define Py_tp_setattr 68
  ------------------
  |  Branch (700:9): [True: 0, False: 5.67k]
  ------------------
  701|     15|        case Py_tp_setattro: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   77|     15|#define Py_tp_setattro 69
  ------------------
  |  Branch (701:9): [True: 15, False: 5.66k]
  ------------------
  702|      0|        case Py_tp_str: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   78|      0|#define Py_tp_str 70
  ------------------
  |  Branch (702:9): [True: 0, False: 5.67k]
  ------------------
  703|    570|        case Py_tp_traverse: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   79|    570|#define Py_tp_traverse 71
  ------------------
  |  Branch (703:9): [True: 570, False: 5.10k]
  ------------------
  704|    365|        case Py_tp_members: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   80|    365|#define Py_tp_members 72
  ------------------
  |  Branch (704:9): [True: 365, False: 5.31k]
  ------------------
  705|    240|        case Py_tp_getset: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   81|    240|#define Py_tp_getset 73
  ------------------
  |  Branch (705:9): [True: 240, False: 5.43k]
  ------------------
  706|    195|        case Py_tp_free: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   82|    195|#define Py_tp_free 74
  ------------------
  |  Branch (706:9): [True: 195, False: 5.48k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  709|      0|        case Py_am_await: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   85|      0|#define Py_am_await 77
  ------------------
  |  Branch (709:9): [True: 0, False: 5.67k]
  ------------------
  710|      0|        case Py_am_aiter: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   86|      0|#define Py_am_aiter 78
  ------------------
  |  Branch (710:9): [True: 0, False: 5.67k]
  ------------------
  711|      0|        case Py_am_anext: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   87|      0|#define Py_am_anext 79
  ------------------
  |  Branch (711:9): [True: 0, False: 5.67k]
  ------------------
  712|     20|        case Py_tp_finalize: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   88|     20|#define Py_tp_finalize 80
  ------------------
  |  Branch (712:9): [True: 20, False: 5.65k]
  ------------------
  713|      0|        case Py_am_send: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   89|      0|#define Py_am_send 81
  ------------------
  |  Branch (713:9): [True: 0, False: 5.67k]
  ------------------
  714|     10|        case Py_tp_vectorcall: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   90|     10|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (714:9): [True: 10, False: 5.66k]
  ------------------
  715|      4|        case Py_tp_token: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   91|      4|#define Py_tp_token 83
  ------------------
  |  Branch (715:9): [True: 4, False: 5.67k]
  ------------------
  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.67k]
  ------------------
  717|    216|        case Py_mod_exec: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   93|    216|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|    216|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (717:9): [True: 216, False: 5.46k]
  ------------------
  718|    152|        case Py_mod_multiple_interpreters: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |   94|    152|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    152|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (718:9): [True: 152, False: 5.52k]
  ------------------
  719|    152|        case Py_mod_gil: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |   95|    152|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    152|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (719:9): [True: 152, False: 5.52k]
  ------------------
  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.66k]
  ------------------
  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.66k]
  ------------------
  722|      5|        case Py_mp_ass_subscript: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   98|      5|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|      5|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (722:9): [True: 5, False: 5.67k]
  ------------------
  723|      5|        case Py_mp_length: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   99|      5|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|      5|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (723:9): [True: 5, False: 5.67k]
  ------------------
  724|      0|        case Py_slot_subslots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  100|      0|#define Py_slot_subslots 92
  ------------------
  |  Branch (724:9): [True: 0, False: 5.67k]
  ------------------
  725|      0|        case Py_tp_slots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  101|      0|#define Py_tp_slots 93
  ------------------
  |  Branch (725:9): [True: 0, False: 5.67k]
  ------------------
  726|      0|        case Py_mod_slots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  102|      0|#define Py_mod_slots 94
  ------------------
  |  Branch (726:9): [True: 0, False: 5.67k]
  ------------------
  727|      0|        case Py_tp_name: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  103|      0|#define Py_tp_name 95
  ------------------
  |  Branch (727:9): [True: 0, False: 5.67k]
  ------------------
  728|      0|        case Py_tp_basicsize: return _PySlot_DTYPE_SIZE;
  ------------------
  |  |  104|      0|#define Py_tp_basicsize 96
  ------------------
  |  Branch (728:9): [True: 0, False: 5.67k]
  ------------------
  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.67k]
  ------------------
  730|      0|        case Py_tp_itemsize: return _PySlot_DTYPE_SIZE;
  ------------------
  |  |  106|      0|#define Py_tp_itemsize 98
  ------------------
  |  Branch (730:9): [True: 0, False: 5.67k]
  ------------------
  731|      0|        case Py_tp_flags: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |  107|      0|#define Py_tp_flags 99
  ------------------
  |  Branch (731:9): [True: 0, False: 5.67k]
  ------------------
  732|      0|        case Py_mod_name: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  108|      0|#define Py_mod_name 100
  ------------------
  |  Branch (732:9): [True: 0, False: 5.67k]
  ------------------
  733|      0|        case Py_mod_doc: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  109|      0|#define Py_mod_doc 101
  ------------------
  |  Branch (733:9): [True: 0, False: 5.67k]
  ------------------
  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.67k]
  ------------------
  735|      0|        case Py_mod_methods: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  111|      0|#define Py_mod_methods 103
  ------------------
  |  Branch (735:9): [True: 0, False: 5.67k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  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.67k]
  ------------------
  739|      0|        case Py_tp_metaclass: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  115|      0|#define Py_tp_metaclass 107
  ------------------
  |  Branch (739:9): [True: 0, False: 5.67k]
  ------------------
  740|      0|        case Py_tp_module: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  116|      0|#define Py_tp_module 108
  ------------------
  |  Branch (740:9): [True: 0, False: 5.67k]
  ------------------
  741|    204|        case Py_mod_abi: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  117|    204|#define Py_mod_abi 109
  ------------------
  |  Branch (741:9): [True: 204, False: 5.47k]
  ------------------
  742|      0|        case Py_mod_token: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  118|      0|#define Py_mod_token 110
  ------------------
  |  Branch (742:9): [True: 0, False: 5.67k]
  ------------------
  743|      0|        default: return _PySlot_DTYPE_VOID;
  ------------------
  |  Branch (743:9): [True: 0, False: 5.67k]
  ------------------
  744|  5.67k|    }
  745|  5.67k|}
slots.c:_PySlot_get_must_be_static:
  948|  1.30k|{
  949|  1.30k|    switch (slot_id) {
  ------------------
  |  Branch (949:13): [True: 217, False: 1.08k]
  ------------------
  950|     96|        case Py_tp_methods: return true;
  ------------------
  |  |   72|     96|#define Py_tp_methods 64
  ------------------
  |  Branch (950:9): [True: 96, False: 1.20k]
  ------------------
  951|     73|        case Py_tp_members: return true;
  ------------------
  |  |   80|     73|#define Py_tp_members 72
  ------------------
  |  Branch (951:9): [True: 73, False: 1.23k]
  ------------------
  952|     48|        case Py_tp_getset: return true;
  ------------------
  |  |   81|     48|#define Py_tp_getset 73
  ------------------
  |  Branch (952:9): [True: 48, False: 1.25k]
  ------------------
  953|      0|        case Py_mod_methods: return true;
  ------------------
  |  |  111|      0|#define Py_mod_methods 103
  ------------------
  |  Branch (953:9): [True: 0, False: 1.30k]
  ------------------
  954|  1.30k|    }
  955|  1.08k|    return false;
  956|  1.30k|}
slots.c:_PySlot_get_null_handling:
  843|  1.30k|{
  844|  1.30k|    switch (slot_id) {
  845|      0|        case Py_slot_end:
  ------------------
  |  |   12|      0|#define Py_slot_end 0
  ------------------
  |  Branch (845:9): [True: 0, False: 1.30k]
  ------------------
  846|    101|        case Py_tp_doc:
  ------------------
  |  |   64|    101|#define Py_tp_doc 56
  ------------------
  |  Branch (846:9): [True: 101, False: 1.20k]
  ------------------
  847|    102|        case Py_tp_token:
  ------------------
  |  |   91|    102|#define Py_tp_token 83
  ------------------
  |  Branch (847:9): [True: 1, False: 1.30k]
  ------------------
  848|    178|        case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|    178|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    178|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (848:9): [True: 76, False: 1.22k]
  ------------------
  849|    254|        case Py_mod_gil:
  ------------------
  |  |   95|    254|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    254|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (849:9): [True: 76, False: 1.22k]
  ------------------
  850|    254|        case Py_slot_subslots:
  ------------------
  |  |  100|    254|#define Py_slot_subslots 92
  ------------------
  |  Branch (850:9): [True: 0, False: 1.30k]
  ------------------
  851|    254|        case Py_tp_slots:
  ------------------
  |  |  101|    254|#define Py_tp_slots 93
  ------------------
  |  Branch (851:9): [True: 0, False: 1.30k]
  ------------------
  852|    254|        case Py_mod_slots:
  ------------------
  |  |  102|    254|#define Py_mod_slots 94
  ------------------
  |  Branch (852:9): [True: 0, False: 1.30k]
  ------------------
  853|    254|        case Py_tp_basicsize:
  ------------------
  |  |  104|    254|#define Py_tp_basicsize 96
  ------------------
  |  Branch (853:9): [True: 0, False: 1.30k]
  ------------------
  854|    254|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|    254|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (854:9): [True: 0, False: 1.30k]
  ------------------
  855|    254|        case Py_tp_itemsize:
  ------------------
  |  |  106|    254|#define Py_tp_itemsize 98
  ------------------
  |  Branch (855:9): [True: 0, False: 1.30k]
  ------------------
  856|    254|        case Py_tp_flags:
  ------------------
  |  |  107|    254|#define Py_tp_flags 99
  ------------------
  |  Branch (856:9): [True: 0, False: 1.30k]
  ------------------
  857|    254|        case Py_mod_state_size:
  ------------------
  |  |  110|    254|#define Py_mod_state_size 102
  ------------------
  |  Branch (857:9): [True: 0, False: 1.30k]
  ------------------
  858|    254|            return _PySlot_PROBLEM_ALLOW;
  859|      2|        case Py_mp_subscript:
  ------------------
  |  |   13|      2|#define Py_mp_subscript 5
  ------------------
  |  Branch (859:9): [True: 2, False: 1.30k]
  ------------------
  860|      2|        case Py_nb_absolute:
  ------------------
  |  |   14|      2|#define Py_nb_absolute 6
  ------------------
  |  Branch (860:9): [True: 0, False: 1.30k]
  ------------------
  861|      2|        case Py_nb_add:
  ------------------
  |  |   15|      2|#define Py_nb_add 7
  ------------------
  |  Branch (861:9): [True: 0, False: 1.30k]
  ------------------
  862|      2|        case Py_nb_and:
  ------------------
  |  |   16|      2|#define Py_nb_and 8
  ------------------
  |  Branch (862:9): [True: 0, False: 1.30k]
  ------------------
  863|      3|        case Py_nb_bool:
  ------------------
  |  |   17|      3|#define Py_nb_bool 9
  ------------------
  |  Branch (863:9): [True: 1, False: 1.30k]
  ------------------
  864|      3|        case Py_nb_divmod:
  ------------------
  |  |   18|      3|#define Py_nb_divmod 10
  ------------------
  |  Branch (864:9): [True: 0, False: 1.30k]
  ------------------
  865|      3|        case Py_nb_float:
  ------------------
  |  |   19|      3|#define Py_nb_float 11
  ------------------
  |  Branch (865:9): [True: 0, False: 1.30k]
  ------------------
  866|      3|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      3|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (866:9): [True: 0, False: 1.30k]
  ------------------
  867|      3|        case Py_nb_index:
  ------------------
  |  |   21|      3|#define Py_nb_index 13
  ------------------
  |  Branch (867:9): [True: 0, False: 1.30k]
  ------------------
  868|      3|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      3|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (868:9): [True: 0, False: 1.30k]
  ------------------
  869|      3|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      3|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (869:9): [True: 0, False: 1.30k]
  ------------------
  870|      3|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      3|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (870:9): [True: 0, False: 1.30k]
  ------------------
  871|      3|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      3|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (871:9): [True: 0, False: 1.30k]
  ------------------
  872|      3|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      3|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (872:9): [True: 0, False: 1.30k]
  ------------------
  873|      3|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      3|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (873:9): [True: 0, False: 1.30k]
  ------------------
  874|      3|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      3|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (874:9): [True: 0, False: 1.30k]
  ------------------
  875|      3|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      3|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (875:9): [True: 0, False: 1.30k]
  ------------------
  876|      3|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      3|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (876:9): [True: 0, False: 1.30k]
  ------------------
  877|      3|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      3|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (877:9): [True: 0, False: 1.30k]
  ------------------
  878|      3|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      3|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (878:9): [True: 0, False: 1.30k]
  ------------------
  879|      3|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      3|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (879:9): [True: 0, False: 1.30k]
  ------------------
  880|      3|        case Py_nb_int:
  ------------------
  |  |   34|      3|#define Py_nb_int 26
  ------------------
  |  Branch (880:9): [True: 0, False: 1.30k]
  ------------------
  881|      3|        case Py_nb_invert:
  ------------------
  |  |   35|      3|#define Py_nb_invert 27
  ------------------
  |  Branch (881:9): [True: 0, False: 1.30k]
  ------------------
  882|      3|        case Py_nb_lshift:
  ------------------
  |  |   36|      3|#define Py_nb_lshift 28
  ------------------
  |  Branch (882:9): [True: 0, False: 1.30k]
  ------------------
  883|      3|        case Py_nb_multiply:
  ------------------
  |  |   37|      3|#define Py_nb_multiply 29
  ------------------
  |  Branch (883:9): [True: 0, False: 1.30k]
  ------------------
  884|      3|        case Py_nb_negative:
  ------------------
  |  |   38|      3|#define Py_nb_negative 30
  ------------------
  |  Branch (884:9): [True: 0, False: 1.30k]
  ------------------
  885|      8|        case Py_nb_or:
  ------------------
  |  |   39|      8|#define Py_nb_or 31
  ------------------
  |  Branch (885:9): [True: 5, False: 1.29k]
  ------------------
  886|      8|        case Py_nb_positive:
  ------------------
  |  |   40|      8|#define Py_nb_positive 32
  ------------------
  |  Branch (886:9): [True: 0, False: 1.30k]
  ------------------
  887|      8|        case Py_nb_power:
  ------------------
  |  |   41|      8|#define Py_nb_power 33
  ------------------
  |  Branch (887:9): [True: 0, False: 1.30k]
  ------------------
  888|      8|        case Py_nb_remainder:
  ------------------
  |  |   42|      8|#define Py_nb_remainder 34
  ------------------
  |  Branch (888:9): [True: 0, False: 1.30k]
  ------------------
  889|      8|        case Py_nb_rshift:
  ------------------
  |  |   43|      8|#define Py_nb_rshift 35
  ------------------
  |  Branch (889:9): [True: 0, False: 1.30k]
  ------------------
  890|      8|        case Py_nb_subtract:
  ------------------
  |  |   44|      8|#define Py_nb_subtract 36
  ------------------
  |  Branch (890:9): [True: 0, False: 1.30k]
  ------------------
  891|      8|        case Py_nb_true_divide:
  ------------------
  |  |   45|      8|#define Py_nb_true_divide 37
  ------------------
  |  Branch (891:9): [True: 0, False: 1.30k]
  ------------------
  892|      8|        case Py_nb_xor:
  ------------------
  |  |   46|      8|#define Py_nb_xor 38
  ------------------
  |  Branch (892:9): [True: 0, False: 1.30k]
  ------------------
  893|     10|        case Py_sq_ass_item:
  ------------------
  |  |   47|     10|#define Py_sq_ass_item 39
  ------------------
  |  Branch (893:9): [True: 2, False: 1.30k]
  ------------------
  894|     11|        case Py_sq_concat:
  ------------------
  |  |   48|     11|#define Py_sq_concat 40
  ------------------
  |  Branch (894:9): [True: 1, False: 1.30k]
  ------------------
  895|     12|        case Py_sq_contains:
  ------------------
  |  |   49|     12|#define Py_sq_contains 41
  ------------------
  |  Branch (895:9): [True: 1, False: 1.30k]
  ------------------
  896|     13|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|     13|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (896:9): [True: 1, False: 1.30k]
  ------------------
  897|     14|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|     14|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (897:9): [True: 1, False: 1.30k]
  ------------------
  898|     16|        case Py_sq_item:
  ------------------
  |  |   52|     16|#define Py_sq_item 44
  ------------------
  |  Branch (898:9): [True: 2, False: 1.30k]
  ------------------
  899|     18|        case Py_sq_length:
  ------------------
  |  |   53|     18|#define Py_sq_length 45
  ------------------
  |  Branch (899:9): [True: 2, False: 1.30k]
  ------------------
  900|     19|        case Py_sq_repeat:
  ------------------
  |  |   54|     19|#define Py_sq_repeat 46
  ------------------
  |  Branch (900:9): [True: 1, False: 1.30k]
  ------------------
  901|     42|        case Py_tp_alloc:
  ------------------
  |  |   55|     42|#define Py_tp_alloc 47
  ------------------
  |  Branch (901:9): [True: 23, False: 1.28k]
  ------------------
  902|     42|        case Py_tp_base:
  ------------------
  |  |   56|     42|#define Py_tp_base 48
  ------------------
  |  Branch (902:9): [True: 0, False: 1.30k]
  ------------------
  903|     42|        case Py_tp_bases:
  ------------------
  |  |   57|     42|#define Py_tp_bases 49
  ------------------
  |  Branch (903:9): [True: 0, False: 1.30k]
  ------------------
  904|     50|        case Py_tp_call:
  ------------------
  |  |   58|     50|#define Py_tp_call 50
  ------------------
  |  Branch (904:9): [True: 8, False: 1.29k]
  ------------------
  905|    108|        case Py_tp_clear:
  ------------------
  |  |   59|    108|#define Py_tp_clear 51
  ------------------
  |  Branch (905:9): [True: 58, False: 1.24k]
  ------------------
  906|    229|        case Py_tp_dealloc:
  ------------------
  |  |   60|    229|#define Py_tp_dealloc 52
  ------------------
  |  Branch (906:9): [True: 121, False: 1.18k]
  ------------------
  907|    229|        case Py_tp_del:
  ------------------
  |  |   61|    229|#define Py_tp_del 53
  ------------------
  |  Branch (907:9): [True: 0, False: 1.30k]
  ------------------
  908|    232|        case Py_tp_descr_get:
  ------------------
  |  |   62|    232|#define Py_tp_descr_get 54
  ------------------
  |  Branch (908:9): [True: 3, False: 1.30k]
  ------------------
  909|    233|        case Py_tp_descr_set:
  ------------------
  |  |   63|    233|#define Py_tp_descr_set 55
  ------------------
  |  Branch (909:9): [True: 1, False: 1.30k]
  ------------------
  910|    233|        case Py_tp_getattr:
  ------------------
  |  |   65|    233|#define Py_tp_getattr 57
  ------------------
  |  Branch (910:9): [True: 0, False: 1.30k]
  ------------------
  911|    271|        case Py_tp_getattro:
  ------------------
  |  |   66|    271|#define Py_tp_getattro 58
  ------------------
  |  Branch (911:9): [True: 38, False: 1.26k]
  ------------------
  912|    273|        case Py_tp_hash:
  ------------------
  |  |   67|    273|#define Py_tp_hash 59
  ------------------
  |  Branch (912:9): [True: 2, False: 1.30k]
  ------------------
  913|    300|        case Py_tp_init:
  ------------------
  |  |   68|    300|#define Py_tp_init 60
  ------------------
  |  Branch (913:9): [True: 27, False: 1.27k]
  ------------------
  914|    300|        case Py_tp_is_gc:
  ------------------
  |  |   69|    300|#define Py_tp_is_gc 61
  ------------------
  |  Branch (914:9): [True: 0, False: 1.30k]
  ------------------
  915|    333|        case Py_tp_iter:
  ------------------
  |  |   70|    333|#define Py_tp_iter 62
  ------------------
  |  Branch (915:9): [True: 33, False: 1.27k]
  ------------------
  916|    371|        case Py_tp_iternext:
  ------------------
  |  |   71|    371|#define Py_tp_iternext 63
  ------------------
  |  Branch (916:9): [True: 38, False: 1.26k]
  ------------------
  917|    467|        case Py_tp_methods:
  ------------------
  |  |   72|    467|#define Py_tp_methods 64
  ------------------
  |  Branch (917:9): [True: 96, False: 1.20k]
  ------------------
  918|    550|        case Py_tp_new:
  ------------------
  |  |   73|    550|#define Py_tp_new 65
  ------------------
  |  Branch (918:9): [True: 83, False: 1.22k]
  ------------------
  919|    613|        case Py_tp_repr:
  ------------------
  |  |   74|    613|#define Py_tp_repr 66
  ------------------
  |  Branch (919:9): [True: 63, False: 1.24k]
  ------------------
  920|    620|        case Py_tp_richcompare:
  ------------------
  |  |   75|    620|#define Py_tp_richcompare 67
  ------------------
  |  Branch (920:9): [True: 7, False: 1.29k]
  ------------------
  921|    620|        case Py_tp_setattr:
  ------------------
  |  |   76|    620|#define Py_tp_setattr 68
  ------------------
  |  Branch (921:9): [True: 0, False: 1.30k]
  ------------------
  922|    623|        case Py_tp_setattro:
  ------------------
  |  |   77|    623|#define Py_tp_setattro 69
  ------------------
  |  Branch (922:9): [True: 3, False: 1.30k]
  ------------------
  923|    623|        case Py_tp_str:
  ------------------
  |  |   78|    623|#define Py_tp_str 70
  ------------------
  |  Branch (923:9): [True: 0, False: 1.30k]
  ------------------
  924|    737|        case Py_tp_traverse:
  ------------------
  |  |   79|    737|#define Py_tp_traverse 71
  ------------------
  |  Branch (924:9): [True: 114, False: 1.18k]
  ------------------
  925|    785|        case Py_tp_getset:
  ------------------
  |  |   81|    785|#define Py_tp_getset 73
  ------------------
  |  Branch (925:9): [True: 48, False: 1.25k]
  ------------------
  926|    824|        case Py_tp_free:
  ------------------
  |  |   82|    824|#define Py_tp_free 74
  ------------------
  |  Branch (926:9): [True: 39, False: 1.26k]
  ------------------
  927|    824|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|    824|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (927:9): [True: 0, False: 1.30k]
  ------------------
  928|    824|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|    824|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (928:9): [True: 0, False: 1.30k]
  ------------------
  929|    824|        case Py_am_await:
  ------------------
  |  |   85|    824|#define Py_am_await 77
  ------------------
  |  Branch (929:9): [True: 0, False: 1.30k]
  ------------------
  930|    824|        case Py_am_aiter:
  ------------------
  |  |   86|    824|#define Py_am_aiter 78
  ------------------
  |  Branch (930:9): [True: 0, False: 1.30k]
  ------------------
  931|    824|        case Py_am_anext:
  ------------------
  |  |   87|    824|#define Py_am_anext 79
  ------------------
  |  Branch (931:9): [True: 0, False: 1.30k]
  ------------------
  932|    828|        case Py_tp_finalize:
  ------------------
  |  |   88|    828|#define Py_tp_finalize 80
  ------------------
  |  Branch (932:9): [True: 4, False: 1.29k]
  ------------------
  933|    828|        case Py_am_send:
  ------------------
  |  |   89|    828|#define Py_am_send 81
  ------------------
  |  Branch (933:9): [True: 0, False: 1.30k]
  ------------------
  934|    830|        case Py_tp_vectorcall:
  ------------------
  |  |   90|    830|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (934:9): [True: 2, False: 1.30k]
  ------------------
  935|    830|        case Py_mod_create:
  ------------------
  |  |   92|    830|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|    830|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (935:9): [True: 0, False: 1.30k]
  ------------------
  936|    832|        case Py_bf_getbuffer:
  ------------------
  |  |   96|    832|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|    832|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (936:9): [True: 2, False: 1.30k]
  ------------------
  937|    834|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|    834|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|    834|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (937:9): [True: 2, False: 1.30k]
  ------------------
  938|    835|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|    835|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|    835|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (938:9): [True: 1, False: 1.30k]
  ------------------
  939|    836|        case Py_mp_length:
  ------------------
  |  |   99|    836|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|    836|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (939:9): [True: 1, False: 1.30k]
  ------------------
  940|    836|            return _PySlot_PROBLEM_DEPRECATED;
  941|    213|        default:
  ------------------
  |  Branch (941:9): [True: 213, False: 1.09k]
  ------------------
  942|    213|            return _PySlot_PROBLEM_REJECT;
  943|  1.30k|    }
  944|  1.30k|}
slots.c:_PySlot_get_duplicate_handling:
  749|  1.30k|{
  750|  1.30k|    switch (slot_id) {
  751|      2|        case Py_mp_subscript:
  ------------------
  |  |   13|      2|#define Py_mp_subscript 5
  ------------------
  |  Branch (751:9): [True: 2, False: 1.30k]
  ------------------
  752|      2|        case Py_nb_absolute:
  ------------------
  |  |   14|      2|#define Py_nb_absolute 6
  ------------------
  |  Branch (752:9): [True: 0, False: 1.30k]
  ------------------
  753|      2|        case Py_nb_add:
  ------------------
  |  |   15|      2|#define Py_nb_add 7
  ------------------
  |  Branch (753:9): [True: 0, False: 1.30k]
  ------------------
  754|      2|        case Py_nb_and:
  ------------------
  |  |   16|      2|#define Py_nb_and 8
  ------------------
  |  Branch (754:9): [True: 0, False: 1.30k]
  ------------------
  755|      3|        case Py_nb_bool:
  ------------------
  |  |   17|      3|#define Py_nb_bool 9
  ------------------
  |  Branch (755:9): [True: 1, False: 1.30k]
  ------------------
  756|      3|        case Py_nb_divmod:
  ------------------
  |  |   18|      3|#define Py_nb_divmod 10
  ------------------
  |  Branch (756:9): [True: 0, False: 1.30k]
  ------------------
  757|      3|        case Py_nb_float:
  ------------------
  |  |   19|      3|#define Py_nb_float 11
  ------------------
  |  Branch (757:9): [True: 0, False: 1.30k]
  ------------------
  758|      3|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      3|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (758:9): [True: 0, False: 1.30k]
  ------------------
  759|      3|        case Py_nb_index:
  ------------------
  |  |   21|      3|#define Py_nb_index 13
  ------------------
  |  Branch (759:9): [True: 0, False: 1.30k]
  ------------------
  760|      3|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      3|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (760:9): [True: 0, False: 1.30k]
  ------------------
  761|      3|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      3|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (761:9): [True: 0, False: 1.30k]
  ------------------
  762|      3|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      3|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (762:9): [True: 0, False: 1.30k]
  ------------------
  763|      3|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      3|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (763:9): [True: 0, False: 1.30k]
  ------------------
  764|      3|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      3|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (764:9): [True: 0, False: 1.30k]
  ------------------
  765|      3|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      3|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (765:9): [True: 0, False: 1.30k]
  ------------------
  766|      3|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      3|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (766:9): [True: 0, False: 1.30k]
  ------------------
  767|      3|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      3|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (767:9): [True: 0, False: 1.30k]
  ------------------
  768|      3|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      3|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (768:9): [True: 0, False: 1.30k]
  ------------------
  769|      3|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      3|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (769:9): [True: 0, False: 1.30k]
  ------------------
  770|      3|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      3|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (770:9): [True: 0, False: 1.30k]
  ------------------
  771|      3|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      3|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (771:9): [True: 0, False: 1.30k]
  ------------------
  772|      3|        case Py_nb_int:
  ------------------
  |  |   34|      3|#define Py_nb_int 26
  ------------------
  |  Branch (772:9): [True: 0, False: 1.30k]
  ------------------
  773|      3|        case Py_nb_invert:
  ------------------
  |  |   35|      3|#define Py_nb_invert 27
  ------------------
  |  Branch (773:9): [True: 0, False: 1.30k]
  ------------------
  774|      3|        case Py_nb_lshift:
  ------------------
  |  |   36|      3|#define Py_nb_lshift 28
  ------------------
  |  Branch (774:9): [True: 0, False: 1.30k]
  ------------------
  775|      3|        case Py_nb_multiply:
  ------------------
  |  |   37|      3|#define Py_nb_multiply 29
  ------------------
  |  Branch (775:9): [True: 0, False: 1.30k]
  ------------------
  776|      3|        case Py_nb_negative:
  ------------------
  |  |   38|      3|#define Py_nb_negative 30
  ------------------
  |  Branch (776:9): [True: 0, False: 1.30k]
  ------------------
  777|      8|        case Py_nb_or:
  ------------------
  |  |   39|      8|#define Py_nb_or 31
  ------------------
  |  Branch (777:9): [True: 5, False: 1.29k]
  ------------------
  778|      8|        case Py_nb_positive:
  ------------------
  |  |   40|      8|#define Py_nb_positive 32
  ------------------
  |  Branch (778:9): [True: 0, False: 1.30k]
  ------------------
  779|      8|        case Py_nb_power:
  ------------------
  |  |   41|      8|#define Py_nb_power 33
  ------------------
  |  Branch (779:9): [True: 0, False: 1.30k]
  ------------------
  780|      8|        case Py_nb_remainder:
  ------------------
  |  |   42|      8|#define Py_nb_remainder 34
  ------------------
  |  Branch (780:9): [True: 0, False: 1.30k]
  ------------------
  781|      8|        case Py_nb_rshift:
  ------------------
  |  |   43|      8|#define Py_nb_rshift 35
  ------------------
  |  Branch (781:9): [True: 0, False: 1.30k]
  ------------------
  782|      8|        case Py_nb_subtract:
  ------------------
  |  |   44|      8|#define Py_nb_subtract 36
  ------------------
  |  Branch (782:9): [True: 0, False: 1.30k]
  ------------------
  783|      8|        case Py_nb_true_divide:
  ------------------
  |  |   45|      8|#define Py_nb_true_divide 37
  ------------------
  |  Branch (783:9): [True: 0, False: 1.30k]
  ------------------
  784|      8|        case Py_nb_xor:
  ------------------
  |  |   46|      8|#define Py_nb_xor 38
  ------------------
  |  Branch (784:9): [True: 0, False: 1.30k]
  ------------------
  785|     10|        case Py_sq_ass_item:
  ------------------
  |  |   47|     10|#define Py_sq_ass_item 39
  ------------------
  |  Branch (785:9): [True: 2, False: 1.30k]
  ------------------
  786|     11|        case Py_sq_concat:
  ------------------
  |  |   48|     11|#define Py_sq_concat 40
  ------------------
  |  Branch (786:9): [True: 1, False: 1.30k]
  ------------------
  787|     12|        case Py_sq_contains:
  ------------------
  |  |   49|     12|#define Py_sq_contains 41
  ------------------
  |  Branch (787:9): [True: 1, False: 1.30k]
  ------------------
  788|     13|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|     13|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (788:9): [True: 1, False: 1.30k]
  ------------------
  789|     14|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|     14|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (789:9): [True: 1, False: 1.30k]
  ------------------
  790|     16|        case Py_sq_item:
  ------------------
  |  |   52|     16|#define Py_sq_item 44
  ------------------
  |  Branch (790:9): [True: 2, False: 1.30k]
  ------------------
  791|     18|        case Py_sq_length:
  ------------------
  |  |   53|     18|#define Py_sq_length 45
  ------------------
  |  Branch (791:9): [True: 2, False: 1.30k]
  ------------------
  792|     19|        case Py_sq_repeat:
  ------------------
  |  |   54|     19|#define Py_sq_repeat 46
  ------------------
  |  Branch (792:9): [True: 1, False: 1.30k]
  ------------------
  793|     42|        case Py_tp_alloc:
  ------------------
  |  |   55|     42|#define Py_tp_alloc 47
  ------------------
  |  Branch (793:9): [True: 23, False: 1.28k]
  ------------------
  794|     42|        case Py_tp_base:
  ------------------
  |  |   56|     42|#define Py_tp_base 48
  ------------------
  |  Branch (794:9): [True: 0, False: 1.30k]
  ------------------
  795|     42|        case Py_tp_bases:
  ------------------
  |  |   57|     42|#define Py_tp_bases 49
  ------------------
  |  Branch (795:9): [True: 0, False: 1.30k]
  ------------------
  796|     50|        case Py_tp_call:
  ------------------
  |  |   58|     50|#define Py_tp_call 50
  ------------------
  |  Branch (796:9): [True: 8, False: 1.29k]
  ------------------
  797|    108|        case Py_tp_clear:
  ------------------
  |  |   59|    108|#define Py_tp_clear 51
  ------------------
  |  Branch (797:9): [True: 58, False: 1.24k]
  ------------------
  798|    229|        case Py_tp_dealloc:
  ------------------
  |  |   60|    229|#define Py_tp_dealloc 52
  ------------------
  |  Branch (798:9): [True: 121, False: 1.18k]
  ------------------
  799|    229|        case Py_tp_del:
  ------------------
  |  |   61|    229|#define Py_tp_del 53
  ------------------
  |  Branch (799:9): [True: 0, False: 1.30k]
  ------------------
  800|    232|        case Py_tp_descr_get:
  ------------------
  |  |   62|    232|#define Py_tp_descr_get 54
  ------------------
  |  Branch (800:9): [True: 3, False: 1.30k]
  ------------------
  801|    233|        case Py_tp_descr_set:
  ------------------
  |  |   63|    233|#define Py_tp_descr_set 55
  ------------------
  |  Branch (801:9): [True: 1, False: 1.30k]
  ------------------
  802|    233|        case Py_tp_getattr:
  ------------------
  |  |   65|    233|#define Py_tp_getattr 57
  ------------------
  |  Branch (802:9): [True: 0, False: 1.30k]
  ------------------
  803|    271|        case Py_tp_getattro:
  ------------------
  |  |   66|    271|#define Py_tp_getattro 58
  ------------------
  |  Branch (803:9): [True: 38, False: 1.26k]
  ------------------
  804|    273|        case Py_tp_hash:
  ------------------
  |  |   67|    273|#define Py_tp_hash 59
  ------------------
  |  Branch (804:9): [True: 2, False: 1.30k]
  ------------------
  805|    300|        case Py_tp_init:
  ------------------
  |  |   68|    300|#define Py_tp_init 60
  ------------------
  |  Branch (805:9): [True: 27, False: 1.27k]
  ------------------
  806|    300|        case Py_tp_is_gc:
  ------------------
  |  |   69|    300|#define Py_tp_is_gc 61
  ------------------
  |  Branch (806:9): [True: 0, False: 1.30k]
  ------------------
  807|    333|        case Py_tp_iter:
  ------------------
  |  |   70|    333|#define Py_tp_iter 62
  ------------------
  |  Branch (807:9): [True: 33, False: 1.27k]
  ------------------
  808|    371|        case Py_tp_iternext:
  ------------------
  |  |   71|    371|#define Py_tp_iternext 63
  ------------------
  |  Branch (808:9): [True: 38, False: 1.26k]
  ------------------
  809|    467|        case Py_tp_methods:
  ------------------
  |  |   72|    467|#define Py_tp_methods 64
  ------------------
  |  Branch (809:9): [True: 96, False: 1.20k]
  ------------------
  810|    550|        case Py_tp_new:
  ------------------
  |  |   73|    550|#define Py_tp_new 65
  ------------------
  |  Branch (810:9): [True: 83, False: 1.22k]
  ------------------
  811|    613|        case Py_tp_repr:
  ------------------
  |  |   74|    613|#define Py_tp_repr 66
  ------------------
  |  Branch (811:9): [True: 63, False: 1.24k]
  ------------------
  812|    620|        case Py_tp_richcompare:
  ------------------
  |  |   75|    620|#define Py_tp_richcompare 67
  ------------------
  |  Branch (812:9): [True: 7, False: 1.29k]
  ------------------
  813|    620|        case Py_tp_setattr:
  ------------------
  |  |   76|    620|#define Py_tp_setattr 68
  ------------------
  |  Branch (813:9): [True: 0, False: 1.30k]
  ------------------
  814|    623|        case Py_tp_setattro:
  ------------------
  |  |   77|    623|#define Py_tp_setattro 69
  ------------------
  |  Branch (814:9): [True: 3, False: 1.30k]
  ------------------
  815|    623|        case Py_tp_str:
  ------------------
  |  |   78|    623|#define Py_tp_str 70
  ------------------
  |  Branch (815:9): [True: 0, False: 1.30k]
  ------------------
  816|    737|        case Py_tp_traverse:
  ------------------
  |  |   79|    737|#define Py_tp_traverse 71
  ------------------
  |  Branch (816:9): [True: 114, False: 1.18k]
  ------------------
  817|    785|        case Py_tp_getset:
  ------------------
  |  |   81|    785|#define Py_tp_getset 73
  ------------------
  |  Branch (817:9): [True: 48, False: 1.25k]
  ------------------
  818|    824|        case Py_tp_free:
  ------------------
  |  |   82|    824|#define Py_tp_free 74
  ------------------
  |  Branch (818:9): [True: 39, False: 1.26k]
  ------------------
  819|    824|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|    824|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (819:9): [True: 0, False: 1.30k]
  ------------------
  820|    824|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|    824|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (820:9): [True: 0, False: 1.30k]
  ------------------
  821|    824|        case Py_am_await:
  ------------------
  |  |   85|    824|#define Py_am_await 77
  ------------------
  |  Branch (821:9): [True: 0, False: 1.30k]
  ------------------
  822|    824|        case Py_am_aiter:
  ------------------
  |  |   86|    824|#define Py_am_aiter 78
  ------------------
  |  Branch (822:9): [True: 0, False: 1.30k]
  ------------------
  823|    824|        case Py_am_anext:
  ------------------
  |  |   87|    824|#define Py_am_anext 79
  ------------------
  |  Branch (823:9): [True: 0, False: 1.30k]
  ------------------
  824|    828|        case Py_tp_finalize:
  ------------------
  |  |   88|    828|#define Py_tp_finalize 80
  ------------------
  |  Branch (824:9): [True: 4, False: 1.29k]
  ------------------
  825|    828|        case Py_am_send:
  ------------------
  |  |   89|    828|#define Py_am_send 81
  ------------------
  |  Branch (825:9): [True: 0, False: 1.30k]
  ------------------
  826|    830|        case Py_tp_vectorcall:
  ------------------
  |  |   90|    830|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (826:9): [True: 2, False: 1.30k]
  ------------------
  827|    831|        case Py_tp_token:
  ------------------
  |  |   91|    831|#define Py_tp_token 83
  ------------------
  |  Branch (827:9): [True: 1, False: 1.30k]
  ------------------
  828|    833|        case Py_bf_getbuffer:
  ------------------
  |  |   96|    833|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|    833|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (828:9): [True: 2, False: 1.30k]
  ------------------
  829|    835|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|    835|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|    835|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (829:9): [True: 2, False: 1.30k]
  ------------------
  830|    836|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|    836|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|    836|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (830:9): [True: 1, False: 1.30k]
  ------------------
  831|    837|        case Py_mp_length:
  ------------------
  |  |   99|    837|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|    837|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (831:9): [True: 1, False: 1.30k]
  ------------------
  832|    837|            return _PySlot_PROBLEM_DEPRECATED;
  833|     72|        case Py_mod_exec:
  ------------------
  |  |   93|     72|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|     72|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (833:9): [True: 72, False: 1.23k]
  ------------------
  834|    140|        case Py_mod_abi:
  ------------------
  |  |  117|    140|#define Py_mod_abi 109
  ------------------
  |  Branch (834:9): [True: 68, False: 1.23k]
  ------------------
  835|    140|            return _PySlot_PROBLEM_ALLOW;
  836|    326|        default:
  ------------------
  |  Branch (836:9): [True: 326, False: 977]
  ------------------
  837|    326|            return _PySlot_PROBLEM_REJECT;
  838|  1.30k|    }
  839|  1.30k|}

call.c:_PyThreadState_PushCStackRef:
  787|  37.4k|{
  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|  37.4k|    ref->ref = PyStackRef_NULL;
  794|  37.4k|}
call.c:PyStackRef_FromPyObjectBorrow:
  627|  18.7k|{
  628|  18.7k|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 18.7k, False: 0]
  ------------------
  629|  18.7k|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  18.7k|#define Py_TAG_REFCNT 1
  ------------------
  630|  18.7k|}
call.c:_PyThreadState_PopCStackRef:
  805|  37.4k|{
  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|  37.4k|    PyStackRef_XCLOSE(ref->ref);
  812|  37.4k|}
call.c:PyStackRef_XCLOSE:
  722|  37.4k|{
  723|  37.4k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 37.4k, False: 0]
  ------------------
  724|  37.4k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 18.7k, False: 18.7k]
  ------------------
  725|  18.7k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 18.7k, False: 0]
  ------------------
  726|  18.7k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  18.7k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  18.7k|    }
  728|  37.4k|}
call.c:PyStackRef_RefcountOnObject:
  534|  37.4k|{
  535|  37.4k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  37.4k|#define Py_TAG_REFCNT 1
  ------------------
  536|  37.4k|}
call.c:PyStackRef_AsPyObjectBorrow:
  540|  37.4k|{
  541|  37.4k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 37.4k, False: 0]
  ------------------
  542|  37.4k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  37.4k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  37.4k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  37.4k|}
call.c:PyStackRef_IsTaggedInt:
  440|  37.4k|{
  441|  37.4k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  37.4k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  37.4k|#define Py_INT_TAG 3
  ------------------
  442|  37.4k|}
listobject.c:PyStackRef_AsPyObjectSteal:
  554|  1.22k|{
  555|  1.22k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 1.22k, False: 0]
  ------------------
  556|  1.22k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 1.22k, False: 0]
  ------------------
  557|  1.22k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 136, False: 1.08k]
  ------------------
  558|    136|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|    136|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|    136|    }
  560|  1.08k|    else {
  561|  1.08k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|  1.08k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  1.08k|    }
  563|  1.22k|}
listobject.c:PyStackRef_IsTaggedInt:
  440|  1.22k|{
  441|  1.22k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  1.22k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  1.22k|#define Py_INT_TAG 3
  ------------------
  442|  1.22k|}
listobject.c:PyStackRef_RefcountOnObject:
  534|  1.22k|{
  535|  1.22k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  1.22k|#define Py_TAG_REFCNT 1
  ------------------
  536|  1.22k|}
longobject.c:PyStackRef_FromPyObjectBorrow:
  627|    802|{
  628|    802|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 802, False: 0]
  ------------------
  629|    802|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|    802|#define Py_TAG_REFCNT 1
  ------------------
  630|    802|}
dictobject.c:_PyStackRef_FromPyObjectNew:
  595|   153k|{
  596|   153k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 153k, 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|   153k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|   153k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   153k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   153k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.35k, False: 150k]
  |  |  ------------------
  ------------------
  603|  3.35k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  3.35k|#define Py_TAG_REFCNT 1
  ------------------
  604|  3.35k|    }
  605|   150k|#endif
  606|   150k|    _Py_INCREF_MORTAL(obj);
  607|   150k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|   150k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   150k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|   150k|    return ref;
  610|   153k|}
dictobject.c:PyStackRef_RefcountOnObject:
  534|  4.11k|{
  535|  4.11k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  4.11k|#define Py_TAG_REFCNT 1
  ------------------
  536|  4.11k|}
dictobject.c:PyStackRef_AsPyObjectBorrow:
  540|  4.11k|{
  541|  4.11k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 4.11k, False: 0]
  ------------------
  542|  4.11k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  4.11k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  4.11k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  4.11k|}
dictobject.c:PyStackRef_IsTaggedInt:
  440|  4.11k|{
  441|  4.11k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  4.11k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  4.11k|#define Py_INT_TAG 3
  ------------------
  442|  4.11k|}
dictobject.c:PyStackRef_CLOSE:
  700|  4.11k|{
  701|  4.11k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 4.11k, False: 0]
  ------------------
  702|  4.11k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 4.11k, False: 0]
  ------------------
  703|  4.11k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  4.11k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  4.11k|    }
  705|  4.11k|}
object.c:PyStackRef_FromPyObjectSteal:
  567|  7.74k|{
  568|  7.74k|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 7.74k, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  7.74k|#  if SIZEOF_VOID_P > 4
  573|  7.74k|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  7.74k|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  7.74k|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  7.74k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  7.74k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  7.74k|    return ref;
  580|  7.74k|#endif
  581|  7.74k|}
object.c:PyStackRef_AsPyObjectBorrow:
  540|  1.03M|{
  541|  1.03M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 1.03M, False: 0]
  ------------------
  542|  1.03M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  1.03M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  1.03M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  1.03M|}
object.c:PyStackRef_XCLOSE:
  722|   995k|{
  723|   995k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 995k, False: 0]
  ------------------
  724|   995k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 297k, False: 697k]
  ------------------
  725|   297k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 297k, False: 0]
  ------------------
  726|   297k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|   297k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   297k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   297k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|   297k|    }
  728|   995k|}
object.c:PyStackRef_RefcountOnObject:
  534|  1.58M|{
  535|  1.58M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  1.58M|#define Py_TAG_REFCNT 1
  ------------------
  536|  1.58M|}
object.c:_PyThreadState_PushCStackRef:
  787|   992k|{
  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|   992k|    ref->ref = PyStackRef_NULL;
  794|   992k|}
object.c:PyStackRef_AsPyObjectSteal:
  554|   587k|{
  555|   587k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 587k, False: 0]
  ------------------
  556|   587k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 587k, False: 0]
  ------------------
  557|   587k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 17, False: 587k]
  ------------------
  558|     17|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|     17|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|     17|    }
  560|   587k|    else {
  561|   587k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|   587k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   587k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   587k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|   587k|    }
  563|   587k|}
object.c:_PyThreadState_PopCStackRef:
  805|   992k|{
  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|   992k|    PyStackRef_XCLOSE(ref->ref);
  812|   992k|}
object.c:PyStackRef_IsTaggedInt:
  440|  1.61M|{
  441|  1.61M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  1.61M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  1.61M|#define Py_INT_TAG 3
  ------------------
  442|  1.61M|}
sentinelobject.c:PyStackRef_AsPyObjectBorrow:
  540|      6|{
  541|      6|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 6, False: 0]
  ------------------
  542|      6|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|      6|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|      6|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|      6|}
sentinelobject.c:PyStackRef_IsTaggedInt:
  440|      6|{
  441|      6|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|      6|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|      6|#define Py_INT_TAG 3
  ------------------
  442|      6|}
tupleobject.c:PyStackRef_AsPyObjectSteal:
  554|  18.8k|{
  555|  18.8k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 18.8k, False: 0]
  ------------------
  556|  18.8k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 18.8k, False: 0]
  ------------------
  557|  18.8k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 8.11k, False: 10.7k]
  ------------------
  558|  8.11k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  8.11k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  8.11k|    }
  560|  10.7k|    else {
  561|  10.7k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|  10.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  10.7k|    }
  563|  18.8k|}
tupleobject.c:PyStackRef_IsTaggedInt:
  440|  18.8k|{
  441|  18.8k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  18.8k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  18.8k|#define Py_INT_TAG 3
  ------------------
  442|  18.8k|}
tupleobject.c:PyStackRef_RefcountOnObject:
  534|  18.8k|{
  535|  18.8k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  18.8k|#define Py_TAG_REFCNT 1
  ------------------
  536|  18.8k|}
typeobject.c:PyStackRef_AsPyObjectBorrow:
  540|  43.4k|{
  541|  43.4k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 43.4k, False: 0]
  ------------------
  542|  43.4k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  43.4k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  43.4k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  43.4k|}
typeobject.c:PyStackRef_IsTaggedInt:
  440|   451k|{
  441|   451k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   451k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   451k|#define Py_INT_TAG 3
  ------------------
  442|   451k|}
typeobject.c:PyStackRef_XCLOSE:
  722|   215k|{
  723|   215k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 215k, False: 0]
  ------------------
  724|   215k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 201k, False: 13.4k]
  ------------------
  725|   201k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 201k, False: 0]
  ------------------
  726|   201k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|   201k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   201k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   201k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|   201k|    }
  728|   215k|}
typeobject.c:PyStackRef_RefcountOnObject:
  534|   638k|{
  535|   638k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   638k|#define Py_TAG_REFCNT 1
  ------------------
  536|   638k|}
typeobject.c:PyStackRef_FromPyObjectSteal:
  567|  4.73k|{
  568|  4.73k|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 4.73k, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  4.73k|#  if SIZEOF_VOID_P > 4
  573|  4.73k|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  4.73k|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  4.73k|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  4.73k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  4.73k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  4.73k|    return ref;
  580|  4.73k|#endif
  581|  4.73k|}
typeobject.c:PyStackRef_FromPyObjectBorrow:
  627|  15.0k|{
  628|  15.0k|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 15.0k, False: 0]
  ------------------
  629|  15.0k|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  15.0k|#define Py_TAG_REFCNT 1
  ------------------
  630|  15.0k|}
typeobject.c:PyStackRef_CLOSE:
  700|  15.1k|{
  701|  15.1k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 15.1k, False: 0]
  ------------------
  702|  15.1k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 30, False: 15.0k]
  ------------------
  703|     30|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|     30|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|     30|    }
  705|  15.1k|}
typeobject.c:PyStackRef_AsPyObjectSteal:
  554|   407k|{
  555|   407k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 407k, False: 0]
  ------------------
  556|   407k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 407k, False: 0]
  ------------------
  557|   407k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 407k, False: 56]
  ------------------
  558|   407k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|   407k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|   407k|    }
  560|     56|    else {
  561|     56|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|     56|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|     56|    }
  563|   407k|}
typeobject.c:_PyThreadState_PushCStackRef:
  787|   216k|{
  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|   216k|    ref->ref = PyStackRef_NULL;
  794|   216k|}
typeobject.c:_PyStackRef_FromPyObjectNew:
  595|   194k|{
  596|   194k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 194k, 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|   194k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|   194k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   194k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   194k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.54k, False: 192k]
  |  |  ------------------
  ------------------
  603|  2.54k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  2.54k|#define Py_TAG_REFCNT 1
  ------------------
  604|  2.54k|    }
  605|   192k|#endif
  606|   192k|    _Py_INCREF_MORTAL(obj);
  607|   192k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|   192k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   192k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|   192k|    return ref;
  610|   194k|}
typeobject.c:_PyThreadState_PopCStackRef:
  805|   209k|{
  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|   209k|    PyStackRef_XCLOSE(ref->ref);
  812|   209k|}
typeobject.c:_PyThreadState_PopCStackRefSteal:
  816|  6.69k|{
  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|  6.69k|    return ref->ref;
  823|  6.69k|}
typeobject.c:_PyThreadState_PushCStackRefNew:
  798|  2.18k|{
  799|  2.18k|    _PyThreadState_PushCStackRef(tstate, ref);
  800|  2.18k|    ref->ref = PyStackRef_FromPyObjectNew(obj);
  ------------------
  |  |  611|  2.18k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|  2.18k|}
ceval.c:_PyThreadState_PushCStackRef:
  787|  4.54k|{
  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|  4.54k|    ref->ref = PyStackRef_NULL;
  794|  4.54k|}
ceval.c:PyStackRef_FromPyObjectBorrow:
  627|  63.5k|{
  628|  63.5k|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 63.5k, False: 0]
  ------------------
  629|  63.5k|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  63.5k|#define Py_TAG_REFCNT 1
  ------------------
  630|  63.5k|}
ceval.c:PyStackRef_AsPyObjectBorrow:
  540|  3.83M|{
  541|  3.83M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 3.83M, False: 0]
  ------------------
  542|  3.83M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  3.83M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  3.83M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  3.83M|}
ceval.c:PyStackRef_XCLOSE:
  722|   904k|{
  723|   904k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 904k, False: 0]
  ------------------
  724|   904k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 528k, False: 375k]
  ------------------
  725|   528k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 528k, False: 0]
  ------------------
  726|   528k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|   528k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   528k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   528k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|   528k|    }
  728|   904k|}
ceval.c:PyStackRef_RefcountOnObject:
  534|  2.45M|{
  535|  2.45M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  2.45M|#define Py_TAG_REFCNT 1
  ------------------
  536|  2.45M|}
ceval.c:PyStackRef_CLOSE:
  700|   970k|{
  701|   970k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 970k, False: 0]
  ------------------
  702|   970k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 283k, False: 686k]
  ------------------
  703|   283k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|   283k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   283k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   283k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|   283k|    }
  705|   970k|}
ceval.c:_PyThreadState_PopCStackRefSteal:
  816|  4.54k|{
  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|  4.54k|    return ref->ref;
  823|  4.54k|}
ceval.c:PyStackRef_TYPE:
  748|  6.15k|PyStackRef_TYPE(_PyStackRef stackref) {
  749|  6.15k|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (749:9): [True: 0, False: 6.15k]
  ------------------
  750|      0|        return &PyLong_Type;
  751|      0|    }
  752|  6.15k|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  213|  6.15k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|  6.15k|}
ceval.c:PyStackRef_TagInt:
  446|  11.6k|{
  447|  11.6k|    assert(Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, (intptr_t)(((uintptr_t)i) << Py_TAGGED_SHIFT),
  ------------------
  |  Branch (447:5): [True: 11.6k, False: 0]
  ------------------
  448|  11.6k|                                     Py_TAGGED_SHIFT) == i);
  449|  11.6k|    return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   58|  11.6k|#define Py_TAGGED_SHIFT 2
  ------------------
                  return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   53|  11.6k|#define Py_INT_TAG 3
  ------------------
  450|  11.6k|}
ceval.c:PyStackRef_FromPyObjectSteal:
  567|   302k|{
  568|   302k|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 302k, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|   302k|#  if SIZEOF_VOID_P > 4
  573|   302k|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|   302k|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|   302k|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|   302k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   302k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|   302k|    return ref;
  580|   302k|#endif
  581|   302k|}
ceval.c:PyStackRef_CLOSE_SPECIALIZED:
  710|  50.3k|{
  711|  50.3k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (711:5): [True: 50.3k, False: 0]
  ------------------
  712|  50.3k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (712:9): [True: 2.05k, False: 48.2k]
  ------------------
  713|  2.05k|        Py_DECREF_MORTAL_SPECIALIZED(BITS_TO_PTR(ref), destruct);
  ------------------
  |  |  460|  2.05k|#define Py_DECREF_MORTAL_SPECIALIZED(op, destruct) Py_DECREF_MORTAL_SPECIALIZED(_PyObject_CAST(op), destruct)
  |  |  ------------------
  |  |  |  |  171|  2.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|  2.05k|    }
  715|  50.3k|}
ceval.c:PyStackRef_IsHeapSafe:
  659|   234k|{
  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|   234k|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|   234k|#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|   469k|#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|  24.8k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|   259k|#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|   259k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 20.2k, False: 4.40k]
  |  |  ------------------
  ------------------
  |  Branch (667:12): [True: 210k, False: 24.8k]
  |  Branch (667:57): [True: 155, False: 24.6k]
  ------------------
  668|   234k|#endif
  669|   234k|}
ceval.c:PyStackRef_AsPyObjectSteal:
  554|   265k|{
  555|   265k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 265k, False: 0]
  ------------------
  556|   265k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 265k, False: 0]
  ------------------
  557|   265k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 217k, False: 47.2k]
  ------------------
  558|   217k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|   217k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|   217k|    }
  560|  47.2k|    else {
  561|  47.2k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|  47.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  47.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  47.2k|    }
  563|   265k|}
ceval.c:_PyStackRef_FromPyObjectNew:
  595|  1.43M|{
  596|  1.43M|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 1.43M, False: 0]
  ------------------
  597|       |#ifdef Py_GIL_DISABLED
  598|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  599|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  600|       |    }
  601|       |#else
  602|  1.43M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  1.43M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 228k, False: 1.21M]
  |  |  ------------------
  ------------------
  603|   228k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|   228k|#define Py_TAG_REFCNT 1
  ------------------
  604|   228k|    }
  605|  1.21M|#endif
  606|  1.21M|    _Py_INCREF_MORTAL(obj);
  607|  1.21M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  1.21M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  1.21M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  1.21M|    return ref;
  610|  1.43M|}
ceval.c:PyStackRef_Wrap:
  398|  23.9k|{
  399|  23.9k|    assert(ptr != NULL);
  ------------------
  |  Branch (399:5): [True: 23.9k, 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|  23.9k|    return (_PyStackRef){ .bits = (uintptr_t)ptr };
  405|  23.9k|#endif
  406|  23.9k|}
ceval.c:PyStackRef_Unwrap:
  410|  23.9k|{
  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|  23.9k|    return (void *)(ref.bits);
  416|  23.9k|#endif
  417|  23.9k|}
ceval.c:PyStackRef_FromPyObjectStealMortal:
  585|  11.6k|{
  586|  11.6k|    assert(obj != NULL);
  ------------------
  |  Branch (586:5): [True: 11.6k, False: 0]
  ------------------
  587|  11.6k|    assert(!_Py_IsImmortal(obj));
  ------------------
  |  Branch (587:5): [True: 11.6k, False: 0]
  ------------------
  588|  11.6k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  589|  11.6k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  11.6k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  590|  11.6k|    return ref;
  591|  11.6k|}
ceval.c:PyStackRef_DUP:
  639|  16.6k|{
  640|  16.6k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (640:5): [True: 16.6k, False: 0]
  ------------------
  641|  16.6k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (641:9): [True: 11.6k, False: 5.01k]
  ------------------
  642|  11.6k|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  476|  11.6k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  643|  11.6k|    }
  644|  16.6k|    return ref;
  645|  16.6k|}
ceval.c:_PyStackRef_CloseStack:
  873|   226k|{
  874|       |    // arguments is a pointer into the GC visible stack,
  875|       |    // so we must NULL out values as we clear them.
  876|   872k|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (876:32): [True: 646k, False: 226k]
  ------------------
  877|   646k|        _PyStackRef tmp = arguments[i];
  878|   646k|        arguments[i] = PyStackRef_NULL;
  879|   646k|        PyStackRef_CLOSE(tmp);
  880|   646k|    }
  881|   226k|}
ceval.c:PyStackRef_IsValid:
  433|    535|{
  434|       |    /* Invalid values are ERROR and NULL */
  435|    535|    return ref.bits >= Py_INT_TAG;
  ------------------
  |  |   53|    535|#define Py_INT_TAG 3
  ------------------
  436|    535|}
ceval.c:PyStackRef_IsError:
  421|    769|{
  422|    769|    return ref.bits == Py_TAG_INVALID;
  ------------------
  |  |   54|    769|#define Py_TAG_INVALID 2
  ------------------
  423|    769|}
ceval.c:PyStackRef_IsTaggedInt:
  440|  4.22M|{
  441|  4.22M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  4.22M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  4.22M|#define Py_INT_TAG 3
  ------------------
  442|  4.22M|}
ceval.c:PyStackRef_UntagInt:
  454|  34.8k|{
  455|  34.8k|    assert(PyStackRef_IsTaggedInt(i));
  ------------------
  |  Branch (455:5): [True: 34.8k, False: 0]
  ------------------
  456|  34.8k|    intptr_t val = (intptr_t)i.bits;
  457|  34.8k|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, val, Py_TAGGED_SHIFT);
  ------------------
  |  |  226|  34.8k|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  458|  34.8k|}
ceval.c:PyStackRef_IncrementTaggedIntNoOverflow:
  463|  14.4k|{
  464|  14.4k|    assert((ref.bits & Py_TAG_BITS) == Py_INT_TAG); // Is tagged int
  ------------------
  |  Branch (464:5): [True: 14.4k, False: 0]
  ------------------
  465|  14.4k|    assert((ref.bits & (~Py_TAG_BITS)) != (INTPTR_MAX & (~Py_TAG_BITS))); // Isn't about to overflow
  ------------------
  |  Branch (465:5): [True: 14.4k, False: 0]
  ------------------
  466|  14.4k|    return (_PyStackRef){ .bits = ref.bits + (1 << Py_TAGGED_SHIFT) };
  ------------------
  |  |   58|  14.4k|#define Py_TAGGED_SHIFT 2
  ------------------
  467|  14.4k|}
ceval.c:PyStackRef_MakeHeapSafe:
  673|   234k|{
  674|   234k|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (674:9): [True: 230k, False: 4.40k]
  ------------------
  675|   230k|        return ref;
  676|   230k|    }
  677|  4.40k|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  4.40k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  4.40k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  678|  4.40k|    Py_INCREF(obj);
  ------------------
  |  |  310|  4.40k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|  4.40k|    ref.bits = (uintptr_t)obj;
  680|  4.40k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  4.40k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  681|  4.40k|    return ref;
  682|   234k|}
ceval.c:PyStackRef_DupImmortal:
  650|   244k|{
  651|   244k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (651:5): [True: 244k, False: 0]
  ------------------
  652|   244k|    assert(!PyStackRef_RefcountOnObject(ref));
  ------------------
  |  Branch (652:5): [True: 244k, False: 0]
  ------------------
  653|   244k|    assert(_Py_IsImmortal(BITS_TO_PTR_MASKED(ref)));
  ------------------
  |  Branch (653:5): [True: 244k, False: 0]
  ------------------
  654|   244k|    return ref;
  655|   244k|}
ceval.c:PyStackRef_Borrow:
  547|   594k|{
  548|   594k|    return (_PyStackRef){ .bits = ref.bits | Py_TAG_REFCNT };
  ------------------
  |  |   55|   594k|#define Py_TAG_REFCNT 1
  ------------------
  549|   594k|}
frame.c:PyStackRef_IsTaggedInt:
  440|  9.15k|{
  441|  9.15k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  9.15k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  9.15k|#define Py_INT_TAG 3
  ------------------
  442|  9.15k|}
frame.c:PyStackRef_XCLOSE:
  722|   748k|{
  723|   748k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 748k, False: 0]
  ------------------
  724|   748k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 489k, False: 259k]
  ------------------
  725|   489k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 489k, False: 0]
  ------------------
  726|   489k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|   489k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   489k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   489k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|   489k|    }
  728|   748k|}
frame.c:PyStackRef_RefcountOnObject:
  534|   749k|{
  535|   749k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   749k|#define Py_TAG_REFCNT 1
  ------------------
  536|   749k|}
frame.c:PyStackRef_MakeHeapSafe:
  673|  8.00k|{
  674|  8.00k|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (674:9): [True: 7.31k, False: 688]
  ------------------
  675|  7.31k|        return ref;
  676|  7.31k|    }
  677|    688|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|    688|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    688|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  678|    688|    Py_INCREF(obj);
  ------------------
  |  |  310|    688|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    688|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    688|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|    688|    ref.bits = (uintptr_t)obj;
  680|    688|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|    688|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  681|    688|    return ref;
  682|  8.00k|}
frame.c:PyStackRef_IsHeapSafe:
  659|  8.00k|{
  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|  8.00k|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|  8.00k|#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|  16.0k|#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|  3.18k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|  11.1k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
                  return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  137|  10.1k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.45k, False: 688]
  |  |  ------------------
  ------------------
  |  Branch (667:12): [True: 4.81k, False: 3.18k]
  |  Branch (667:57): [True: 1.04k, False: 2.14k]
  ------------------
  668|  8.00k|#endif
  669|  8.00k|}
frame.c:PyStackRef_DUP:
  639|    859|{
  640|    859|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (640:5): [True: 859, False: 0]
  ------------------
  641|    859|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (641:9): [True: 859, False: 0]
  ------------------
  642|    859|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  476|    859|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  643|    859|    }
  644|    859|    return ref;
  645|    859|}
frame.c:PyStackRef_AsPyObjectBorrow:
  540|  9.15k|{
  541|  9.15k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 9.15k, False: 0]
  ------------------
  542|  9.15k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  9.15k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  9.15k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  9.15k|}
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|  4.01k|{
  541|  4.01k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 4.01k, False: 0]
  ------------------
  542|  4.01k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  4.01k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  4.01k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  4.01k|}
specialize.c:PyStackRef_IsTaggedInt:
  440|  4.09k|{
  441|  4.09k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  4.09k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  4.09k|#define Py_INT_TAG 3
  ------------------
  442|  4.09k|}
specialize.c:PyStackRef_TYPE:
  748|     84|PyStackRef_TYPE(_PyStackRef stackref) {
  749|     84|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (749:9): [True: 0, False: 84]
  ------------------
  750|      0|        return &PyLong_Type;
  751|      0|    }
  752|     84|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  213|     84|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|     84|}
sysmodule.c:PyStackRef_AsPyObjectBorrow:
  540|      9|{
  541|      9|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 9, False: 0]
  ------------------
  542|      9|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|      9|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|      9|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|      9|}
sysmodule.c:PyStackRef_IsTaggedInt:
  440|      9|{
  441|      9|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|      9|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|      9|#define Py_INT_TAG 3
  ------------------
  442|      9|}
traceback.c:PyStackRef_AsPyObjectBorrow:
  540|  3.11k|{
  541|  3.11k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 3.11k, False: 0]
  ------------------
  542|  3.11k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  3.11k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  3.11k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  3.11k|}
traceback.c:PyStackRef_IsTaggedInt:
  440|  3.11k|{
  441|  3.11k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  3.11k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  3.11k|#define Py_INT_TAG 3
  ------------------
  442|  3.11k|}
typecache.c:_PyStackRef_FromPyObjectNew:
  595|  1.18M|{
  596|  1.18M|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 1.18M, False: 0]
  ------------------
  597|       |#ifdef Py_GIL_DISABLED
  598|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  599|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  600|       |    }
  601|       |#else
  602|  1.18M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  1.18M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 587k, False: 600k]
  |  |  ------------------
  ------------------
  603|   587k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|   587k|#define Py_TAG_REFCNT 1
  ------------------
  604|   587k|    }
  605|   600k|#endif
  606|   600k|    _Py_INCREF_MORTAL(obj);
  607|   600k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|   600k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   600k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|   600k|    return ref;
  610|  1.18M|}
abstract.c:_PyThreadState_PushCStackRef:
  787|     90|{
  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|     90|    ref->ref = PyStackRef_NULL;
  794|     90|}
abstract.c:PyStackRef_FromPyObjectBorrow:
  627|     90|{
  628|     90|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 90, False: 0]
  ------------------
  629|     90|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|     90|#define Py_TAG_REFCNT 1
  ------------------
  630|     90|}
abstract.c:PyStackRef_AsPyObjectBorrow:
  540|    180|{
  541|    180|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 180, False: 0]
  ------------------
  542|    180|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|    180|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    180|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|    180|}
abstract.c:PyStackRef_IsTaggedInt:
  440|    180|{
  441|    180|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|    180|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|    180|#define Py_INT_TAG 3
  ------------------
  442|    180|}
abstract.c:PyStackRef_XCLOSE:
  722|    180|{
  723|    180|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 180, False: 0]
  ------------------
  724|    180|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 90, False: 90]
  ------------------
  725|     90|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 90, False: 0]
  ------------------
  726|     90|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|     90|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|     90|    }
  728|    180|}
abstract.c:PyStackRef_RefcountOnObject:
  534|    180|{
  535|    180|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|    180|#define Py_TAG_REFCNT 1
  ------------------
  536|    180|}
abstract.c:_PyThreadState_PopCStackRef:
  805|     90|{
  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|     90|    PyStackRef_XCLOSE(ref->ref);
  812|     90|}
genobject.c:PyStackRef_XCLOSE:
  722|    194|{
  723|    194|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 194, False: 0]
  ------------------
  724|    194|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 194, False: 0]
  ------------------
  725|    194|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 194, False: 0]
  ------------------
  726|    194|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|    194|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    194|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    194|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|    194|    }
  728|    194|}
genobject.c:PyStackRef_RefcountOnObject:
  534|    194|{
  535|    194|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|    194|#define Py_TAG_REFCNT 1
  ------------------
  536|    194|}
genobject.c:_PyStackRef_FromPyObjectNew:
  595|    343|{
  596|    343|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 343, 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|    343|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|    343|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    343|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    343|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 343, False: 0]
  |  |  ------------------
  ------------------
  603|    343|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|    343|#define Py_TAG_REFCNT 1
  ------------------
  604|    343|    }
  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|    343|}
genobject.c:PyStackRef_IsTaggedInt:
  440|     20|{
  441|     20|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|     20|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|     20|#define Py_INT_TAG 3
  ------------------
  442|     20|}
genobject.c:PyStackRef_AsPyObjectBorrow:
  540|     20|{
  541|     20|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 20, False: 0]
  ------------------
  542|     20|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|     20|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     20|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|     20|}
frameobject.c:PyStackRef_AsPyObjectBorrow:
  540|  1.96k|{
  541|  1.96k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 1.96k, False: 0]
  ------------------
  542|  1.96k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  1.96k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  1.96k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  1.96k|}
frameobject.c:PyStackRef_IsTaggedInt:
  440|  1.96k|{
  441|  1.96k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  1.96k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  1.96k|#define Py_INT_TAG 3
  ------------------
  442|  1.96k|}
frameobject.c:PyStackRef_RefcountOnObject:
  534|  8.00k|{
  535|  8.00k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  8.00k|#define Py_TAG_REFCNT 1
  ------------------
  536|  8.00k|}
frameobject.c:PyStackRef_XCLOSE:
  722|  8.00k|{
  723|  8.00k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 8.00k, False: 0]
  ------------------
  724|  8.00k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 5.50k, False: 2.50k]
  ------------------
  725|  5.50k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 5.50k, False: 0]
  ------------------
  726|  5.50k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  5.50k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  5.50k|    }
  728|  8.00k|}
lazyimportobject.c:PyStackRef_AsPyObjectBorrow:
  540|     26|{
  541|     26|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 26, False: 0]
  ------------------
  542|     26|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|     26|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     26|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|     26|}
lazyimportobject.c:PyStackRef_IsTaggedInt:
  440|     26|{
  441|     26|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|     26|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|     26|#define Py_INT_TAG 3
  ------------------
  442|     26|}

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

dictobject.c:_PyTuple_Recycle:
   53|    218|{
   54|    218|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|    218|    do {                                    \
  |  |   45|    218|        assert(op != NULL);                 \
  |  |   46|    436|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|    218|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|    436|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 218]
  |  |  ------------------
  ------------------
  |  Branch (54:5): [True: 218, False: 0]
  |  Branch (54:5): [True: 218, False: 0]
  ------------------
   55|    218|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|    218|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 86, False: 132]
  ------------------
   56|     86|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|     86|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|     86|    }
   58|    218|}
bltinmodule.c:_PyTuple_Recycle:
   53|     68|{
   54|     68|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|     68|    do {                                    \
  |  |   45|     68|        assert(op != NULL);                 \
  |  |   46|    136|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|     68|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|    136|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 68]
  |  |  ------------------
  ------------------
  |  Branch (54:5): [True: 68, False: 0]
  |  Branch (54:5): [True: 68, False: 0]
  ------------------
   55|     68|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|     68|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 0, False: 68]
  ------------------
   56|      0|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|      0|    }
   58|     68|}
enumobject.c:_PyTuple_Recycle:
   53|    182|{
   54|    182|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|    182|    do {                                    \
  |  |   45|    182|        assert(op != NULL);                 \
  |  |   46|    364|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|    182|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|    364|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 182]
  |  |  ------------------
  ------------------
  |  Branch (54:5): [True: 182, False: 0]
  |  Branch (54:5): [True: 182, False: 0]
  ------------------
   55|    182|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|    182|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 27, False: 155]
  ------------------
   56|     27|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|     27|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|     27|    }
   58|    182|}

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

unicode_writer.c:_PyUnicodeWriter_SetBuffer:
  149|  2.32M|{
  150|  2.32M|    assert(writer->pos <= PyUnicode_GET_LENGTH(buffer));
  ------------------
  |  Branch (150:5): [True: 2.32M, False: 0]
  ------------------
  151|       |
  152|       |    // Py_DECREF() the previous buffer (if any)
  153|  2.32M|    Py_XSETREF(writer->buffer, buffer);
  ------------------
  |  |  576|  2.32M|    do { \
  |  |  577|  2.32M|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  2.32M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  2.32M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.32M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  2.32M|        *_tmp_dst_ptr = (src); \
  |  |  580|  2.32M|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  2.32M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  2.32M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 2.32M]
  |  |  ------------------
  ------------------
  154|  2.32M|    writer->data = PyUnicode_DATA(buffer);
  ------------------
  |  |  285|  2.32M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  155|  2.32M|    writer->kind = PyUnicode_KIND(buffer);
  ------------------
  |  |  259|  2.32M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  4.64M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.32M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  156|  2.32M|    writer->maxchar = PyUnicode_MAX_CHAR_VALUE(buffer);
  ------------------
  |  |  406|  2.32M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|  2.32M|    writer->size = PyUnicode_GET_LENGTH(buffer);
  ------------------
  |  |  300|  2.32M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  158|  2.32M|    writer->readonly = 0;
  159|  2.32M|}
unicode_writer.c:_PyUnicodeWriter_CanWrite:
  128|  1.23M|{
  129|  1.23M|    assert(!writer->readonly);
  ------------------
  |  Branch (129:5): [True: 1.23M, False: 0]
  ------------------
  130|       |
  131|  1.23M|    PyObject *buffer = writer->buffer;
  132|  1.23M|    assert(buffer != NULL);
  ------------------
  |  Branch (132:5): [True: 1.23M, False: 0]
  ------------------
  133|       |
  134|       |    // Code adapted from _PyUnicode_IsModifiable().
  135|       |    // Do not use _PyObject_IsUniquelyReferenced(): the caller can have its own
  136|       |    // lock to prevent a writer from being used by two threads at the same
  137|       |    // time.
  138|  1.23M|    assert(Py_REFCNT(buffer) == 1);
  ------------------
  |  Branch (138:5): [True: 1.23M, False: 0]
  ------------------
  139|  1.23M|    assert(PyUnstable_Unicode_GET_CACHED_HASH(buffer) == -1);
  ------------------
  |  Branch (139:5): [True: 1.23M, False: 0]
  ------------------
  140|  1.23M|    assert(!PyUnicode_CHECK_INTERNED(buffer));
  ------------------
  |  Branch (140:5): [True: 1.23M, False: 0]
  ------------------
  141|  1.23M|    assert(!_Py_IsImmortal(buffer));
  ------------------
  |  Branch (141:5): [True: 1.23M, False: 0]
  ------------------
  142|  1.23M|    assert(!_PyUnicode_HAS_UTF8_MEMORY(buffer));
  ------------------
  |  Branch (142:5): [True: 1.23M, False: 0]
  ------------------
  143|  1.23M|    return 1;
  144|  1.23M|}
unicode_writer.c:_PyUnicode_HAS_UTF8_MEMORY:
  119|  1.23M|{
  120|  1.23M|    return (!PyUnicode_IS_COMPACT_ASCII(op)
  ------------------
  |  |  242|  2.46M|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (120:13): [True: 6.37k, False: 1.22M]
  ------------------
  121|  6.37k|            && _PyUnicode_UTF8(op) != NULL
  ------------------
  |  Branch (121:16): [True: 0, False: 6.37k]
  ------------------
  122|      0|            && _PyUnicode_UTF8(op) != PyUnicode_DATA(op));
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (122:16): [True: 0, False: 0]
  ------------------
  123|  1.23M|}
unicode_writer.c:_PyUnicode_UTF8:
  112|  6.37k|{
  113|  6.37k|    return FT_ATOMIC_LOAD_PTR_ACQUIRE(_PyCompactUnicodeObject_CAST(op)->utf8);
  ------------------
  |  |  152|  44.6k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  |  Branch (152:43): [True: 6.37k, False: 0]
  |  |  |  Branch (152:43): [True: 0, False: 0]
  |  |  |  Branch (152:43): [True: 0, False: 6.37k]
  |  |  |  Branch (152:43): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  114|  6.37k|}
unicode_writer.c:_PyUnicodeWriter_SetReadOnly:
  164|     16|{
  165|     16|    assert(writer->buffer == NULL);
  ------------------
  |  Branch (165:5): [True: 16, False: 0]
  ------------------
  166|     16|    assert(writer->pos == 0);
  ------------------
  |  Branch (166:5): [True: 16, False: 0]
  ------------------
  167|       |    // Micro-optimization: pass length as a parameter, as it's usually known
  168|       |    // by the caller
  169|     16|    assert(length == PyUnicode_GET_LENGTH(obj));
  ------------------
  |  Branch (169:5): [True: 16, False: 0]
  ------------------
  170|       |
  171|     16|    writer->buffer = obj;
  172|     16|    writer->data = NULL;
  173|       |    /* Set kind and size to 0 to make sure that the next
  174|       |     * _PyUnicodeWriter_Prepare() call allocates a new buffer and copies
  175|       |     * characters. */
  176|     16|    writer->kind = 0;
  177|     16|    writer->maxchar = PyUnicode_MAX_CHAR_VALUE(obj);
  ------------------
  |  |  406|     16|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|     16|    writer->size = 0;
  179|     16|    writer->pos = length;
  180|     16|    writer->readonly = 1;
  181|     16|}
unicodeobject.c:_PyUnicode_UTF8:
  112|  19.0M|{
  113|  19.0M|    return FT_ATOMIC_LOAD_PTR_ACQUIRE(_PyCompactUnicodeObject_CAST(op)->utf8);
  ------------------
  |  |  152|   133M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  |  Branch (152:43): [True: 19.0M, False: 0]
  |  |  |  Branch (152:43): [True: 14, False: 0]
  |  |  |  Branch (152:43): [True: 14, False: 19.0M]
  |  |  |  Branch (152:43): [True: 0, False: 14]
  |  |  ------------------
  ------------------
  114|  19.0M|}
unicodeobject.c:_PyUnicode_HAS_UTF8_MEMORY:
  119|  14.6M|{
  120|  14.6M|    return (!PyUnicode_IS_COMPACT_ASCII(op)
  ------------------
  |  |  242|  29.3M|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (120:13): [True: 5.87M, False: 8.77M]
  ------------------
  121|  5.87M|            && _PyUnicode_UTF8(op) != NULL
  ------------------
  |  Branch (121:16): [True: 0, False: 5.87M]
  ------------------
  122|      0|            && _PyUnicode_UTF8(op) != PyUnicode_DATA(op));
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (122:16): [True: 0, False: 0]
  ------------------
  123|  14.6M|}
unicodeobject.c:_PyUnicodeWriter_CanWrite:
  128|  1.07M|{
  129|  1.07M|    assert(!writer->readonly);
  ------------------
  |  Branch (129:5): [True: 1.07M, False: 0]
  ------------------
  130|       |
  131|  1.07M|    PyObject *buffer = writer->buffer;
  132|  1.07M|    assert(buffer != NULL);
  ------------------
  |  Branch (132:5): [True: 1.07M, False: 0]
  ------------------
  133|       |
  134|       |    // Code adapted from _PyUnicode_IsModifiable().
  135|       |    // Do not use _PyObject_IsUniquelyReferenced(): the caller can have its own
  136|       |    // lock to prevent a writer from being used by two threads at the same
  137|       |    // time.
  138|  1.07M|    assert(Py_REFCNT(buffer) == 1);
  ------------------
  |  Branch (138:5): [True: 1.07M, False: 0]
  ------------------
  139|  1.07M|    assert(PyUnstable_Unicode_GET_CACHED_HASH(buffer) == -1);
  ------------------
  |  Branch (139:5): [True: 1.07M, False: 0]
  ------------------
  140|  1.07M|    assert(!PyUnicode_CHECK_INTERNED(buffer));
  ------------------
  |  Branch (140:5): [True: 1.07M, False: 0]
  ------------------
  141|  1.07M|    assert(!_Py_IsImmortal(buffer));
  ------------------
  |  Branch (141:5): [True: 1.07M, False: 0]
  ------------------
  142|  1.07M|    assert(!_PyUnicode_HAS_UTF8_MEMORY(buffer));
  ------------------
  |  Branch (142:5): [True: 1.07M, False: 0]
  ------------------
  143|  1.07M|    return 1;
  144|  1.07M|}
unicodeobject.c:_PyUnicodeWriter_WriteCharInline:
  185|   978k|{
  186|   978k|    if (ch > writer->maxchar || 1 > (writer->size - writer->pos)) {
  ------------------
  |  Branch (186:9): [True: 978k, False: 15]
  |  Branch (186:33): [True: 0, False: 15]
  ------------------
  187|   978k|        if (writer->buffer == NULL && ch <= 255) {
  ------------------
  |  Branch (187:13): [True: 0, False: 978k]
  |  Branch (187:39): [True: 0, False: 0]
  ------------------
  188|       |            // If the first write is a Latin1 character, use the singleton
  189|       |            // as a read-only object
  190|      0|            PyObject *obj = _Py_LATIN1_CHR(ch);
  ------------------
  |  |  955|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (955:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  956|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  957|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|       |            // Py_NewRef() is not needed on immortal object
  192|      0|            _PyUnicodeWriter_SetReadOnly(writer, obj, 1);
  193|      0|            return 0;
  194|      0|        }
  195|       |
  196|   978k|        if (_PyUnicodeWriter_PrepareInternal(writer, 1, ch) == -1) {
  ------------------
  |  Branch (196:13): [True: 0, False: 978k]
  ------------------
  197|      0|            return -1;
  198|      0|        }
  199|   978k|    }
  200|   978k|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (200:5): [True: 978k, False: 0]
  ------------------
  201|       |
  202|   978k|    PyUnicode_WRITE(writer->kind, writer->data, writer->pos, ch);
  ------------------
  |  |  336|   978k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|   978k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|   978k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|   978k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|   978k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  203|   978k|    writer->pos++;
  204|   978k|    return 0;
  205|   978k|}
unicodeobject.c:_PyUnicode_EnsureUnicode:
  101|  48.4k|{
  102|  48.4k|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|  48.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  48.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (102:9): [True: 0, False: 48.4k]
  ------------------
  103|      0|        PyErr_Format(PyExc_TypeError,
  104|      0|                     "must be str, not %T", obj);
  105|      0|        return -1;
  106|      0|    }
  107|  48.4k|    return 0;
  108|  48.4k|}
unicode_format.c:_PyUnicode_EnsureUnicode:
  101|     21|{
  102|     21|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|     21|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     21|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (102:9): [True: 0, False: 21]
  ------------------
  103|      0|        PyErr_Format(PyExc_TypeError,
  104|      0|                     "must be str, not %T", obj);
  105|      0|        return -1;
  106|      0|    }
  107|     21|    return 0;
  108|     21|}

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

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

call.c:_Py_TYPE_impl:
  233|  4.05M|{
  234|  4.05M|    return ob->ob_type;
  235|  4.05M|}
call.c:PyType_HasFeature:
  749|  2.60M|{
  750|  2.60M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  2.60M|    flags = type->tp_flags;
  756|  2.60M|#endif
  757|  2.60M|    return ((flags & feature) != 0);
  758|  2.60M|}
call.c:_Py_SIZE_impl:
  240|   591k|{
  241|   591k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 591k, False: 0]
  ------------------
  242|   591k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 591k, False: 0]
  ------------------
  243|   591k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   591k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   591k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   591k|}
call.c:_Py_IS_TYPE_impl:
  248|   206k|{
  249|   206k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   206k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   206k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   206k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   206k|}
exceptions.c:PyType_Check:
  762|   208k|static inline int PyType_Check(PyObject *op) {
  763|   208k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   208k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   208k|}
exceptions.c:PyType_HasFeature:
  749|   455k|{
  750|   455k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   455k|    flags = type->tp_flags;
  756|   455k|#endif
  757|   455k|    return ((flags & feature) != 0);
  758|   455k|}
exceptions.c:_Py_SIZE_impl:
  240|  21.4k|{
  241|  21.4k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 21.4k, False: 0]
  ------------------
  242|  21.4k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 21.4k, False: 0]
  ------------------
  243|  21.4k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  21.4k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  21.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  21.4k|}
exceptions.c:_Py_TYPE_impl:
  233|   730k|{
  234|   730k|    return ob->ob_type;
  235|   730k|}
exceptions.c:PyObject_TypeCheck:
  374|   130k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   130k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   261k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   130k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   130k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 51.3k, False: 79.6k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  79.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  79.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 79.6k, False: 0]
  ------------------
  376|   130k|}
exceptions.c:_Py_IS_TYPE_impl:
  248|   134k|{
  249|   134k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   134k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   134k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   134k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   134k|}
genericaliasobject.c:PyType_HasFeature:
  749|      5|{
  750|      5|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      5|    flags = type->tp_flags;
  756|      5|#endif
  757|      5|    return ((flags & feature) != 0);
  758|      5|}
genericaliasobject.c:_Py_TYPE_impl:
  233|     10|{
  234|     10|    return ob->ob_type;
  235|     10|}
funcobject.c:PyType_HasFeature:
  749|  8.87k|{
  750|  8.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|  8.87k|    flags = type->tp_flags;
  756|  8.87k|#endif
  757|  8.87k|    return ((flags & feature) != 0);
  758|  8.87k|}
funcobject.c:_Py_TYPE_impl:
  233|   158k|{
  234|   158k|    return ob->ob_type;
  235|   158k|}
funcobject.c:PyObject_TypeCheck:
  374|  8.98k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  8.98k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  17.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  8.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 8.98k, 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.98k|}
funcobject.c:_Py_IS_TYPE_impl:
  248|   149k|{
  249|   149k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   149k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   149k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   149k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   149k|}
listobject.c:_Py_SET_SIZE_impl:
  254|   173M|{
  255|   173M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 173M, False: 0]
  ------------------
  256|   173M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 173M, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|   173M|    ob->ob_size = size;
  261|   173M|#endif
  262|   173M|}
listobject.c:PyType_HasFeature:
  749|   196M|{
  750|   196M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   196M|    flags = type->tp_flags;
  756|   196M|#endif
  757|   196M|    return ((flags & feature) != 0);
  758|   196M|}
listobject.c:_Py_TYPE_impl:
  233|  1.13G|{
  234|  1.13G|    return ob->ob_type;
  235|  1.13G|}
listobject.c:_Py_SIZE_impl:
  240|   291M|{
  241|   291M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 291M, False: 0]
  ------------------
  242|   291M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 291M, False: 0]
  ------------------
  243|   291M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   291M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   291M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   291M|}
listobject.c:_Py_IS_TYPE_impl:
  248|  6.06M|{
  249|  6.06M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  6.06M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  6.06M|}
longobject.c:Py_SET_TYPE:
  206|  8.54k|{
  207|  8.54k|    ob->ob_type = type;
  208|  8.54k|}
longobject.c:PyType_HasFeature:
  749|  3.19M|{
  750|  3.19M|    unsigned 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.19M|    flags = type->tp_flags;
  756|  3.19M|#endif
  757|  3.19M|    return ((flags & feature) != 0);
  758|  3.19M|}
longobject.c:_Py_TYPE_impl:
  233|   949k|{
  234|   949k|    return ob->ob_type;
  235|   949k|}
longobject.c:_Py_IS_TYPE_impl:
  248|  58.1k|{
  249|  58.1k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  58.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  58.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  58.1k|}
longobject.c:_Py_SIZE_impl:
  240|    444|{
  241|    444|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 444, False: 0]
  ------------------
  242|    444|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 444, False: 0]
  ------------------
  243|    444|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    444|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    444|}
longobject.c:PyObject_TypeCheck:
  374|     48|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     48|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     96|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 48, 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|     48|}
longobject.c:PyType_Check:
  762|     16|static inline int PyType_Check(PyObject *op) {
  763|     16|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     16|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     16|}
dictobject.c:PyType_HasFeature:
  749|  33.0M|{
  750|  33.0M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  33.0M|    flags = type->tp_flags;
  756|  33.0M|#endif
  757|  33.0M|    return ((flags & feature) != 0);
  758|  33.0M|}
dictobject.c:_Py_TYPE_impl:
  233|  63.9M|{
  234|  63.9M|    return ob->ob_type;
  235|  63.9M|}
dictobject.c:PyObject_TypeCheck:
  374|  2.12M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.12M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  4.25M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 9, False: 2.12M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  2.12M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 2.12M]
  ------------------
  376|  2.12M|}
dictobject.c:_Py_IS_TYPE_impl:
  248|  28.0M|{
  249|  28.0M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  28.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  28.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  28.0M|}
dictobject.c:_Py_SIZE_impl:
  240|  1.53k|{
  241|  1.53k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.53k, False: 0]
  ------------------
  242|  1.53k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.53k, False: 0]
  ------------------
  243|  1.53k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.53k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.53k|}
dictobject.c:PyType_Check:
  762|      1|static inline int PyType_Check(PyObject *op) {
  763|      1|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|      1|}
moduleobject.c:PyObject_TypeCheck:
  374|  85.9k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  85.9k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   171k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  85.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 85.9k, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|  85.9k|}
moduleobject.c:Py_SET_TYPE:
  206|     46|{
  207|     46|    ob->ob_type = type;
  208|     46|}
moduleobject.c:PyType_HasFeature:
  749|  8.95k|{
  750|  8.95k|    unsigned 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.95k|    flags = type->tp_flags;
  756|  8.95k|#endif
  757|  8.95k|    return ((flags & feature) != 0);
  758|  8.95k|}
moduleobject.c:_Py_TYPE_impl:
  233|   105k|{
  234|   105k|    return ob->ob_type;
  235|   105k|}
moduleobject.c:_Py_IS_TYPE_impl:
  248|  95.8k|{
  249|  95.8k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  95.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  95.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  95.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  95.8k|}
moduleobject.c:_Py_SIZE_impl:
  240|    118|{
  241|    118|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 118, False: 0]
  ------------------
  242|    118|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 118, False: 0]
  ------------------
  243|    118|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    118|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    118|}
object.c:_Py_TYPE_impl:
  233|   223M|{
  234|   223M|    return ob->ob_type;
  235|   223M|}
object.c:PyType_HasFeature:
  749|  1.99M|{
  750|  1.99M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.99M|    flags = type->tp_flags;
  756|  1.99M|#endif
  757|  1.99M|    return ((flags & feature) != 0);
  758|  1.99M|}
object.c:Py_SET_TYPE:
  206|  3.18k|{
  207|  3.18k|    ob->ob_type = type;
  208|  3.18k|}
object.c:_Py_IS_TYPE_impl:
  248|  9.04M|{
  249|  9.04M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  9.04M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  9.04M|}
object.c:_Py_SET_SIZE_impl:
  254|  3.13k|{
  255|  3.13k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 3.13k, False: 0]
  ------------------
  256|  3.13k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 3.13k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  3.13k|    ob->ob_size = size;
  261|  3.13k|#endif
  262|  3.13k|}
rangeobject.c:_Py_IS_TYPE_impl:
  248|  1.12k|{
  249|  1.12k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.12k|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.12k|}
rangeobject.c:_Py_TYPE_impl:
  233|  2.87k|{
  234|  2.87k|    return ob->ob_type;
  235|  2.87k|}
rangeobject.c:PyType_HasFeature:
  749|  1.71k|{
  750|  1.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|  1.71k|    flags = type->tp_flags;
  756|  1.71k|#endif
  757|  1.71k|    return ((flags & feature) != 0);
  758|  1.71k|}
sentinelobject.c:PyType_HasFeature:
  749|     31|{
  750|     31|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     31|    flags = type->tp_flags;
  756|     31|#endif
  757|     31|    return ((flags & feature) != 0);
  758|     31|}
sentinelobject.c:_Py_TYPE_impl:
  233|    355|{
  234|    355|    return ob->ob_type;
  235|    355|}
sentinelobject.c:_Py_IS_TYPE_impl:
  248|    311|{
  249|    311|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    311|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    311|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    311|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    311|}
sentinelobject.c:_Py_SIZE_impl:
  240|      6|{
  241|      6|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 6, False: 0]
  ------------------
  242|      6|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 6, False: 0]
  ------------------
  243|      6|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      6|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      6|}
setobject.c:PyType_HasFeature:
  749|  1.59k|{
  750|  1.59k|    unsigned 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.59k|    flags = type->tp_flags;
  756|  1.59k|#endif
  757|  1.59k|    return ((flags & feature) != 0);
  758|  1.59k|}
setobject.c:_Py_IS_TYPE_impl:
  248|  63.4k|{
  249|  63.4k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  63.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  63.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  63.4k|}
setobject.c:_Py_TYPE_impl:
  233|  66.1k|{
  234|  66.1k|    return ob->ob_type;
  235|  66.1k|}
setobject.c:PyType_Check:
  762|    542|static inline int PyType_Check(PyObject *op) {
  763|    542|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    542|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    542|}
sliceobject.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|}
sliceobject.c:_Py_TYPE_impl:
  233|     30|{
  234|     30|    return ob->ob_type;
  235|     30|}
structseq.c:PyType_HasFeature:
  749|  13.7k|{
  750|  13.7k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  13.7k|    flags = type->tp_flags;
  756|  13.7k|#endif
  757|  13.7k|    return ((flags & feature) != 0);
  758|  13.7k|}
structseq.c:_Py_TYPE_impl:
  233|  56.8k|{
  234|  56.8k|    return ob->ob_type;
  235|  56.8k|}
structseq.c:_Py_SET_SIZE_impl:
  254|    680|{
  255|    680|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 680, False: 0]
  ------------------
  256|    680|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 680, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    680|    ob->ob_size = size;
  261|    680|#endif
  262|    680|}
structseq.c:_Py_SIZE_impl:
  240|  13.7k|{
  241|  13.7k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 13.7k, False: 0]
  ------------------
  242|  13.7k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 13.7k, False: 0]
  ------------------
  243|  13.7k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  13.7k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  13.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  13.7k|}
structseq.c:Py_SET_TYPE:
  206|     16|{
  207|     16|    ob->ob_type = type;
  208|     16|}
tupleobject.c:PyType_HasFeature:
  749|  2.89M|{
  750|  2.89M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  2.89M|    flags = type->tp_flags;
  756|  2.89M|#endif
  757|  2.89M|    return ((flags & feature) != 0);
  758|  2.89M|}
tupleobject.c:_Py_TYPE_impl:
  233|  13.5M|{
  234|  13.5M|    return ob->ob_type;
  235|  13.5M|}
tupleobject.c:_Py_SIZE_impl:
  240|  4.12M|{
  241|  4.12M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 4.12M, False: 0]
  ------------------
  242|  4.12M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 4.12M, False: 0]
  ------------------
  243|  4.12M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  4.12M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  4.12M|}
tupleobject.c:_Py_IS_TYPE_impl:
  248|  1.44M|{
  249|  1.44M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.44M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.44M|}
tupleobject.c:PyType_Check:
  762|     12|static inline int PyType_Check(PyObject *op) {
  763|     12|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     12|}
typeobject.c:PyType_Check:
  762|   319k|static inline int PyType_Check(PyObject *op) {
  763|   319k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   319k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   319k|}
typeobject.c:_Py_IS_TYPE_impl:
  248|  1.73M|{
  249|  1.73M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.73M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.73M|}
typeobject.c:PyType_HasFeature:
  749|  13.9M|{
  750|  13.9M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  13.9M|    flags = type->tp_flags;
  756|  13.9M|#endif
  757|  13.9M|    return ((flags & feature) != 0);
  758|  13.9M|}
typeobject.c:_Py_TYPE_impl:
  233|  27.5M|{
  234|  27.5M|    return ob->ob_type;
  235|  27.5M|}
typeobject.c:Py_SET_TYPE:
  206|   136k|{
  207|   136k|    ob->ob_type = type;
  208|   136k|}
typeobject.c:_Py_SET_SIZE_impl:
  254|  1.26k|{
  255|  1.26k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 1.26k, False: 0]
  ------------------
  256|  1.26k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 1.26k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  1.26k|    ob->ob_size = size;
  261|  1.26k|#endif
  262|  1.26k|}
typeobject.c:_Py_SIZE_impl:
  240|  3.01M|{
  241|  3.01M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 3.01M, False: 0]
  ------------------
  242|  3.01M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 3.01M, False: 0]
  ------------------
  243|  3.01M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  3.01M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  3.01M|}
typeobject.c:PyObject_TypeCheck:
  374|  73.8k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  73.8k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   147k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  73.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  73.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 73.8k, False: 58]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 58, False: 0]
  ------------------
  376|  73.8k|}
unicode_writer.c:PyType_HasFeature:
  749|  26.0M|{
  750|  26.0M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  26.0M|    flags = type->tp_flags;
  756|  26.0M|#endif
  757|  26.0M|    return ((flags & feature) != 0);
  758|  26.0M|}
unicode_writer.c:_Py_TYPE_impl:
  233|  26.0M|{
  234|  26.0M|    return ob->ob_type;
  235|  26.0M|}
unicode_writer.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|}
unicodeobject.c:PyType_HasFeature:
  749|  1.57G|{
  750|  1.57G|    unsigned 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.57G|    flags = type->tp_flags;
  756|  1.57G|#endif
  757|  1.57G|    return ((flags & feature) != 0);
  758|  1.57G|}
unicodeobject.c:_Py_TYPE_impl:
  233|  1.58G|{
  234|  1.58G|    return ob->ob_type;
  235|  1.58G|}
unicodeobject.c:Py_SET_TYPE:
  206|  10.9M|{
  207|  10.9M|    ob->ob_type = type;
  208|  10.9M|}
unicodeobject.c:_Py_IS_TYPE_impl:
  248|  2.19M|{
  249|  2.19M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  2.19M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.19M|}
unicodeobject.c:PyType_Check:
  762|     13|static inline int PyType_Check(PyObject *op) {
  763|     13|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     13|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     13|}
unicodeobject.c:_Py_SIZE_impl:
  240|  50.9k|{
  241|  50.9k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 50.9k, False: 0]
  ------------------
  242|  50.9k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 50.9k, False: 0]
  ------------------
  243|  50.9k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  50.9k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  50.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  50.9k|}
unicodeobject.c:_Py_SET_SIZE_impl:
  254|    469|{
  255|    469|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 469, False: 0]
  ------------------
  256|    469|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 469, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    469|    ob->ob_size = size;
  261|    469|#endif
  262|    469|}
unionobject.c:PyType_Check:
  762|      2|static inline int PyType_Check(PyObject *op) {
  763|      2|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|      2|}
unionobject.c:PyType_HasFeature:
  749|      3|{
  750|      3|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      3|    flags = type->tp_flags;
  756|      3|#endif
  757|      3|    return ((flags & feature) != 0);
  758|      3|}
unionobject.c:_Py_TYPE_impl:
  233|      8|{
  234|      8|    return ob->ob_type;
  235|      8|}
unionobject.c:_Py_IS_TYPE_impl:
  248|      2|{
  249|      2|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      2|}
unionobject.c:_Py_SIZE_impl:
  240|      1|{
  241|      1|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1, False: 0]
  ------------------
  242|      1|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1, False: 0]
  ------------------
  243|      1|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      1|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      1|}
weakrefobject.c:_Py_TYPE_impl:
  233|   180k|{
  234|   180k|    return ob->ob_type;
  235|   180k|}
weakrefobject.c:PyType_Check:
  762|  26.4k|static inline int PyType_Check(PyObject *op) {
  763|  26.4k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  26.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  26.4k|}
weakrefobject.c:PyObject_TypeCheck:
  374|  82.3k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  82.3k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   164k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  82.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  82.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 81.8k, False: 502]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    502|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 502, False: 0]
  ------------------
  376|  82.3k|}
weakrefobject.c:_Py_IS_TYPE_impl:
  248|  84.6k|{
  249|  84.6k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  84.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  84.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  84.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  84.6k|}
weakrefobject.c:_Py_SIZE_impl:
  240|  4.95k|{
  241|  4.95k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 4.95k, False: 0]
  ------------------
  242|  4.95k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 4.95k, False: 0]
  ------------------
  243|  4.95k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  4.95k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  4.95k|}
weakrefobject.c:PyType_HasFeature:
  749|  35.8k|{
  750|  35.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|  35.8k|    flags = type->tp_flags;
  756|  35.8k|#endif
  757|  35.8k|    return ((flags & feature) != 0);
  758|  35.8k|}
_warnings.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|}
_warnings.c:_Py_TYPE_impl:
  233|     20|{
  234|     20|    return ob->ob_type;
  235|     20|}
bltinmodule.c:_Py_SIZE_impl:
  240|  1.37k|{
  241|  1.37k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.37k, False: 0]
  ------------------
  242|  1.37k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.37k, False: 0]
  ------------------
  243|  1.37k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.37k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.37k|}
bltinmodule.c:PyType_Check:
  762|  1.68k|static inline int PyType_Check(PyObject *op) {
  763|  1.68k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.68k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.68k|}
bltinmodule.c:_Py_IS_TYPE_impl:
  248|  1.78k|{
  249|  1.78k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.78k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.78k|}
bltinmodule.c:PyType_HasFeature:
  749|  6.13k|{
  750|  6.13k|    unsigned 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.13k|    flags = type->tp_flags;
  756|  6.13k|#endif
  757|  6.13k|    return ((flags & feature) != 0);
  758|  6.13k|}
bltinmodule.c:_Py_TYPE_impl:
  233|  11.4k|{
  234|  11.4k|    return ob->ob_type;
  235|  11.4k|}
ceval.c:PyType_HasFeature:
  749|   718k|{
  750|   718k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   718k|    flags = type->tp_flags;
  756|   718k|#endif
  757|   718k|    return ((flags & feature) != 0);
  758|   718k|}
ceval.c:_Py_TYPE_impl:
  233|  3.32M|{
  234|  3.32M|    return ob->ob_type;
  235|  3.32M|}
ceval.c:PyType_Check:
  762|  8.66k|static inline int PyType_Check(PyObject *op) {
  763|  8.66k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  8.66k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  8.66k|}
ceval.c:_Py_IS_TYPE_impl:
  248|  1.67M|{
  249|  1.67M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.67M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.67M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.67M|}
ceval.c:PyObject_TypeCheck:
  374|   633k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   633k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.26M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   633k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   633k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 633k, 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|   633k|}
ceval.c:_Py_SIZE_impl:
  240|   267k|{
  241|   267k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 267k, False: 0]
  ------------------
  242|   267k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 267k, False: 0]
  ------------------
  243|   267k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   267k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   267k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   267k|}
ceval.c:_Py_SET_SIZE_impl:
  254|  11.0k|{
  255|  11.0k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 11.0k, False: 0]
  ------------------
  256|  11.0k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 11.0k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  11.0k|    ob->ob_size = size;
  261|  11.0k|#endif
  262|  11.0k|}
codecs.c:_Py_IS_TYPE_impl:
  248|   596k|{
  249|   596k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   596k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   596k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   596k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   596k|}
codecs.c:_Py_SIZE_impl:
  240|  1.17M|{
  241|  1.17M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.17M, False: 0]
  ------------------
  242|  1.17M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.17M, False: 0]
  ------------------
  243|  1.17M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.17M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.17M|}
codecs.c:PyType_HasFeature:
  749|  2.94M|{
  750|  2.94M|    unsigned 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.94M|    flags = type->tp_flags;
  756|  2.94M|#endif
  757|  2.94M|    return ((flags & feature) != 0);
  758|  2.94M|}
codecs.c:_Py_TYPE_impl:
  233|  5.89M|{
  234|  5.89M|    return ob->ob_type;
  235|  5.89M|}
codecs.c:PyObject_TypeCheck:
  374|  9.36k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  9.36k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  18.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  9.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4.68k, False: 4.68k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  4.68k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 4.68k]
  ------------------
  376|  9.36k|}
compile.c:_Py_SIZE_impl:
  240|     12|{
  241|     12|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 12, False: 0]
  ------------------
  242|     12|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 12, False: 0]
  ------------------
  243|     12|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     12|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     12|}
compile.c:PyType_HasFeature:
  749|     52|{
  750|     52|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     52|    flags = type->tp_flags;
  756|     52|#endif
  757|     52|    return ((flags & feature) != 0);
  758|     52|}
compile.c:_Py_TYPE_impl:
  233|    118|{
  234|    118|    return ob->ob_type;
  235|    118|}
compile.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|}
context.c:_Py_TYPE_impl:
  233|      4|{
  234|      4|    return ob->ob_type;
  235|      4|}
context.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|}
errors.c:PyType_Check:
  762|   584k|static inline int PyType_Check(PyObject *op) {
  763|   584k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   584k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   584k|}
errors.c:PyType_HasFeature:
  749|  1.92M|{
  750|  1.92M|    unsigned 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.92M|    flags = type->tp_flags;
  756|  1.92M|#endif
  757|  1.92M|    return ((flags & feature) != 0);
  758|  1.92M|}
errors.c:_Py_TYPE_impl:
  233|  1.75M|{
  234|  1.75M|    return ob->ob_type;
  235|  1.75M|}
errors.c:_Py_SIZE_impl:
  240|    338|{
  241|    338|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 338, False: 0]
  ------------------
  242|    338|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 338, False: 0]
  ------------------
  243|    338|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    338|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    338|}
flowgraph.c:_Py_SIZE_impl:
  240|      8|{
  241|      8|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 8, False: 0]
  ------------------
  242|      8|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 8, False: 0]
  ------------------
  243|      8|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      8|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      8|}
flowgraph.c:PyType_HasFeature:
  749|     40|{
  750|     40|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     40|    flags = type->tp_flags;
  756|     40|#endif
  757|     40|    return ((flags & feature) != 0);
  758|     40|}
flowgraph.c:_Py_TYPE_impl:
  233|     78|{
  234|     78|    return ob->ob_type;
  235|     78|}
flowgraph.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|}
frame.c:_Py_IS_TYPE_impl:
  248|  9.15k|{
  249|  9.15k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  9.15k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  9.15k|}
frame.c:_Py_TYPE_impl:
  233|  9.15k|{
  234|  9.15k|    return ob->ob_type;
  235|  9.15k|}
gc.c:_Py_SIZE_impl:
  240|  18.8k|{
  241|  18.8k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 18.8k, False: 0]
  ------------------
  242|  18.8k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 18.8k, False: 0]
  ------------------
  243|  18.8k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  18.8k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  18.8k|}
gc.c:PyType_HasFeature:
  749|  18.9k|{
  750|  18.9k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  18.9k|    flags = type->tp_flags;
  756|  18.9k|#endif
  757|  18.9k|    return ((flags & feature) != 0);
  758|  18.9k|}
gc.c:_Py_IS_TYPE_impl:
  248|  22.9M|{
  249|  22.9M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  22.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  22.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  22.9M|}
gc.c:PyType_Check:
  762|    156|static inline int PyType_Check(PyObject *op) {
  763|    156|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    156|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    156|}
gc.c:PyObject_TypeCheck:
  374|    153|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    153|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    306|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    153|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    153|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 153]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  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 (375:36): [True: 0, False: 153]
  ------------------
  376|    153|}
gc.c:Py_SET_TYPE:
  206|  20.0M|{
  207|  20.0M|    ob->ob_type = type;
  208|  20.0M|}
gc.c:_Py_TYPE_impl:
  233|   330M|{
  234|   330M|    return ob->ob_type;
  235|   330M|}
gc.c:_Py_SET_SIZE_impl:
  254|   598k|{
  255|   598k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 598k, False: 0]
  ------------------
  256|   598k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 598k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|   598k|    ob->ob_size = size;
  261|   598k|#endif
  262|   598k|}
getargs.c:PyType_HasFeature:
  749|  40.7k|{
  750|  40.7k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  40.7k|    flags = type->tp_flags;
  756|  40.7k|#endif
  757|  40.7k|    return ((flags & feature) != 0);
  758|  40.7k|}
getargs.c:_Py_TYPE_impl:
  233|  63.5k|{
  234|  63.5k|    return ob->ob_type;
  235|  63.5k|}
getargs.c:_Py_SIZE_impl:
  240|  10.7k|{
  241|  10.7k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 10.7k, False: 0]
  ------------------
  242|  10.7k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 10.7k, False: 0]
  ------------------
  243|  10.7k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  10.7k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  10.7k|}
getargs.c:_Py_IS_TYPE_impl:
  248|    469|{
  249|    469|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    469|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    469|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    469|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    469|}
import.c:_Py_SIZE_impl:
  240|     24|{
  241|     24|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 24, False: 0]
  ------------------
  242|     24|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 24, False: 0]
  ------------------
  243|     24|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     24|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     24|}
import.c:PyType_HasFeature:
  749|  5.13k|{
  750|  5.13k|    unsigned 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.13k|    flags = type->tp_flags;
  756|  5.13k|#endif
  757|  5.13k|    return ((flags & feature) != 0);
  758|  5.13k|}
import.c:_Py_TYPE_impl:
  233|  7.09k|{
  234|  7.09k|    return ob->ob_type;
  235|  7.09k|}
import.c:PyObject_TypeCheck:
  374|    921|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    921|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.84k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    921|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    921|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 921, 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|    921|}
import.c:_Py_IS_TYPE_impl:
  248|  1.59k|{
  249|  1.59k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.59k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.59k|}
importdl.c:PyType_HasFeature:
  749|    108|{
  750|    108|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    108|    flags = type->tp_flags;
  756|    108|#endif
  757|    108|    return ((flags & feature) != 0);
  758|    108|}
importdl.c:_Py_TYPE_impl:
  233|    184|{
  234|    184|    return ob->ob_type;
  235|    184|}
importdl.c:_Py_IS_TYPE_impl:
  248|     76|{
  249|     76|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     76|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     76|}
importdl.c:PyObject_TypeCheck:
  374|     38|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     38|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     76|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 38, 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|     38|}
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|  9.60k|{
  750|  9.60k|    unsigned 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.60k|    flags = type->tp_flags;
  756|  9.60k|#endif
  757|  9.60k|    return ((flags & feature) != 0);
  758|  9.60k|}
intrinsics.c:_Py_TYPE_impl:
  233|  11.3k|{
  234|  11.3k|    return ob->ob_type;
  235|  11.3k|}
intrinsics.c:_Py_IS_TYPE_impl:
  248|  1.72k|{
  249|  1.72k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.72k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.72k|}
marshal.c:PyType_HasFeature:
  749|   108k|{
  750|   108k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   108k|    flags = type->tp_flags;
  756|   108k|#endif
  757|   108k|    return ((flags & feature) != 0);
  758|   108k|}
marshal.c:_Py_TYPE_impl:
  233|   255k|{
  234|   255k|    return ob->ob_type;
  235|   255k|}
marshal.c:_Py_SIZE_impl:
  240|  73.6k|{
  241|  73.6k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 73.6k, False: 0]
  ------------------
  242|  73.6k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 73.6k, False: 0]
  ------------------
  243|  73.6k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  73.6k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  73.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  73.6k|}
modsupport.c:_Py_TYPE_impl:
  233|  1.36M|{
  234|  1.36M|    return ob->ob_type;
  235|  1.36M|}
modsupport.c:PyType_HasFeature:
  749|   443k|{
  750|   443k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   443k|    flags = type->tp_flags;
  756|   443k|#endif
  757|   443k|    return ((flags & feature) != 0);
  758|   443k|}
modsupport.c:_Py_SIZE_impl:
  240|   443k|{
  241|   443k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 443k, False: 0]
  ------------------
  242|   443k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 443k, False: 0]
  ------------------
  243|   443k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   443k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   443k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   443k|}
modsupport.c:PyObject_TypeCheck:
  374|    770|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    770|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.54k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    770|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    770|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 770, 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|    770|}
modsupport.c:_Py_IS_TYPE_impl:
  248|    770|{
  249|    770|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    770|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    770|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    770|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    770|}
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|      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|}
pythonrun.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
specialize.c:PyType_Check:
  762|  1.43k|static inline int PyType_Check(PyObject *op) {
  763|  1.43k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.43k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.43k|}
specialize.c:_Py_TYPE_impl:
  233|  22.7k|{
  234|  22.7k|    return ob->ob_type;
  235|  22.7k|}
specialize.c:_Py_IS_TYPE_impl:
  248|  12.0k|{
  249|  12.0k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  12.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  12.0k|}
specialize.c:PyObject_TypeCheck:
  374|    717|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    717|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.43k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    717|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    717|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 717, 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|    717|}
specialize.c:_Py_SIZE_impl:
  240|    101|{
  241|    101|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 101, False: 0]
  ------------------
  242|    101|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 101, False: 0]
  ------------------
  243|    101|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    101|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    101|}
specialize.c:PyType_HasFeature:
  749|  4.23k|{
  750|  4.23k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  4.23k|    flags = type->tp_flags;
  756|  4.23k|#endif
  757|  4.23k|    return ((flags & feature) != 0);
  758|  4.23k|}
symtable.c:_Py_IS_TYPE_impl:
  248|      3|{
  249|      3|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      3|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      3|}
symtable.c:_Py_SIZE_impl:
  240|      5|{
  241|      5|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 5, False: 0]
  ------------------
  242|      5|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 5, False: 0]
  ------------------
  243|      5|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      5|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      5|}
symtable.c:PyType_HasFeature:
  749|    478|{
  750|    478|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    478|    flags = type->tp_flags;
  756|    478|#endif
  757|    478|    return ((flags & feature) != 0);
  758|    478|}
symtable.c:_Py_TYPE_impl:
  233|    491|{
  234|    491|    return ob->ob_type;
  235|    491|}
sysmodule.c:PyType_HasFeature:
  749|  1.07k|{
  750|  1.07k|    unsigned 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.07k|    flags = type->tp_flags;
  756|  1.07k|#endif
  757|  1.07k|    return ((flags & feature) != 0);
  758|  1.07k|}
sysmodule.c:_Py_TYPE_impl:
  233|  2.27k|{
  234|  2.27k|    return ob->ob_type;
  235|  2.27k|}
sysmodule.c:_Py_IS_TYPE_impl:
  248|     17|{
  249|     17|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     17|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     17|}
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|  6.99k|{
  249|  6.99k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  6.99k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  6.99k|}
traceback.c:PyType_HasFeature:
  749|  3.11k|{
  750|  3.11k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  3.11k|    flags = type->tp_flags;
  756|  3.11k|#endif
  757|  3.11k|    return ((flags & feature) != 0);
  758|  3.11k|}
traceback.c:_Py_TYPE_impl:
  233|  10.1k|{
  234|  10.1k|    return ob->ob_type;
  235|  10.1k|}
typecache.c:_Py_IS_TYPE_impl:
  248|  1.25M|{
  249|  1.25M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.25M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.25M|}
typecache.c:_Py_TYPE_impl:
  233|  3.77M|{
  234|  3.77M|    return ob->ob_type;
  235|  3.77M|}
typecache.c:PyType_HasFeature:
  749|  2.51M|{
  750|  2.51M|    unsigned 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.51M|    flags = type->tp_flags;
  756|  2.51M|#endif
  757|  2.51M|    return ((flags & feature) != 0);
  758|  2.51M|}
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|    742|{
  249|    742|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    742|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    742|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    742|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    742|}
posixmodule.c:_Py_SIZE_impl:
  240|    723|{
  241|    723|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 723, False: 0]
  ------------------
  242|    723|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 723, False: 0]
  ------------------
  243|    723|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    723|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    723|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    723|}
posixmodule.c:_Py_TYPE_impl:
  233|  5.60k|{
  234|  5.60k|    return ob->ob_type;
  235|  5.60k|}
posixmodule.c:PyType_HasFeature:
  749|  3.41k|{
  750|  3.41k|    unsigned 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.41k|    flags = type->tp_flags;
  756|  3.41k|#endif
  757|  3.41k|    return ((flags & feature) != 0);
  758|  3.41k|}
posixmodule.c:PyObject_TypeCheck:
  374|    742|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    742|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.48k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    742|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    742|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 742, 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|    742|}
_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|   202k|{
  750|   202k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   202k|    flags = type->tp_flags;
  756|   202k|#endif
  757|   202k|    return ((flags & feature) != 0);
  758|   202k|}
_codecsmodule.c:_Py_TYPE_impl:
  233|   202k|{
  234|   202k|    return ob->ob_type;
  235|   202k|}
_collectionsmodule.c:_Py_TYPE_impl:
  233|    703|{
  234|    703|    return ob->ob_type;
  235|    703|}
_collectionsmodule.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|}
_collectionsmodule.c:_Py_IS_TYPE_impl:
  248|     75|{
  249|     75|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     75|}
_collectionsmodule.c:PyObject_TypeCheck:
  374|     75|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     75|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    150|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 75, False: 0]
  |  |  ------------------
  ------------------
                  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|     75|}
_collectionsmodule.c:_Py_SIZE_impl:
  240|      8|{
  241|      8|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 8, False: 0]
  ------------------
  242|      8|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 8, False: 0]
  ------------------
  243|      8|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      8|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      8|}
_collectionsmodule.c:PyType_Check:
  762|      4|static inline int PyType_Check(PyObject *op) {
  763|      4|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|      4|}
_iomodule.c:PyType_HasFeature:
  749|    291|{
  750|    291|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    291|    flags = type->tp_flags;
  756|    291|#endif
  757|    291|    return ((flags & feature) != 0);
  758|    291|}
_iomodule.c:_Py_TYPE_impl:
  233|    470|{
  234|    470|    return ob->ob_type;
  235|    470|}
_iomodule.c:PyObject_TypeCheck:
  374|    179|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    179|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    358|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    179|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    179|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 179, 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|    179|}
_iomodule.c:_Py_IS_TYPE_impl:
  248|    179|{
  249|    179|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    179|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    179|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    179|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    179|}
fileio.c:_Py_TYPE_impl:
  233|  1.54k|{
  234|  1.54k|    return ob->ob_type;
  235|  1.54k|}
fileio.c:PyType_Check:
  762|     95|static inline int PyType_Check(PyObject *op) {
  763|     95|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     95|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     95|}
fileio.c:PyType_HasFeature:
  749|    594|{
  750|    594|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    594|    flags = type->tp_flags;
  756|    594|#endif
  757|    594|    return ((flags & feature) != 0);
  758|    594|}
fileio.c:_Py_SIZE_impl:
  240|    101|{
  241|    101|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 101, False: 0]
  ------------------
  242|    101|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 101, False: 0]
  ------------------
  243|    101|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    101|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    101|}
fileio.c:_Py_IS_TYPE_impl:
  248|    101|{
  249|    101|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    101|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    101|}
bytesio.c:_Py_TYPE_impl:
  233|   300k|{
  234|   300k|    return ob->ob_type;
  235|   300k|}
bytesio.c:PyType_HasFeature:
  749|   153k|{
  750|   153k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   153k|    flags = type->tp_flags;
  756|   153k|#endif
  757|   153k|    return ((flags & feature) != 0);
  758|   153k|}
bytesio.c:_Py_SIZE_impl:
  240|  64.3k|{
  241|  64.3k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 64.3k, False: 0]
  ------------------
  242|  64.3k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 64.3k, False: 0]
  ------------------
  243|  64.3k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  64.3k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  64.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  64.3k|}
bytesio.c:PyType_Check:
  762|  67.4k|static inline int PyType_Check(PyObject *op) {
  763|  67.4k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  67.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  67.4k|}
bytesio.c:_Py_IS_TYPE_impl:
  248|  16.8k|{
  249|  16.8k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  16.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  16.8k|}
bufferedio.c:_Py_IS_TYPE_impl:
  248|    303|{
  249|    303|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    303|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    303|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    303|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    303|}
bufferedio.c:_Py_TYPE_impl:
  233|  1.65k|{
  234|  1.65k|    return ob->ob_type;
  235|  1.65k|}
bufferedio.c:PyType_HasFeature:
  749|    493|{
  750|    493|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    493|    flags = type->tp_flags;
  756|    493|#endif
  757|    493|    return ((flags & feature) != 0);
  758|    493|}
bufferedio.c:_Py_SIZE_impl:
  240|    101|{
  241|    101|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 101, False: 0]
  ------------------
  242|    101|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 101, False: 0]
  ------------------
  243|    101|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    101|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    101|}
bufferedio.c:PyObject_TypeCheck:
  374|    101|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    101|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), 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: 101, 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|    101|}
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|     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|}
textio.c:_Py_TYPE_impl:
  233|    560|{
  234|    560|    return ob->ob_type;
  235|    560|}
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|     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|}
itertoolsmodule.c:PyObject_TypeCheck:
  374|     75|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     75|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    150|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 75, False: 0]
  |  |  ------------------
  ------------------
                  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|     75|}
itertoolsmodule.c:_Py_IS_TYPE_impl:
  248|     75|{
  249|     75|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     75|}
itertoolsmodule.c:_Py_TYPE_impl:
  233|    230|{
  234|    230|    return ob->ob_type;
  235|    230|}
itertoolsmodule.c:PyType_HasFeature:
  749|      5|{
  750|      5|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      5|    flags = type->tp_flags;
  756|      5|#endif
  757|      5|    return ((flags & feature) != 0);
  758|      5|}
itertoolsmodule.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|}
itertoolsmodule.c:Py_SET_TYPE:
  206|      1|{
  207|      1|    ob->ob_type = type;
  208|      1|}
sre.c:PyType_HasFeature:
  749|    204|{
  750|    204|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    204|    flags = type->tp_flags;
  756|    204|#endif
  757|    204|    return ((flags & feature) != 0);
  758|    204|}
sre.c:_Py_TYPE_impl:
  233|    440|{
  234|    440|    return ob->ob_type;
  235|    440|}
sre.c:PyObject_TypeCheck:
  374|     79|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     79|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    158|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 79, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|     79|}
sre.c:_Py_IS_TYPE_impl:
  248|     79|{
  249|     79|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     79|}
sre.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|}
_threadmodule.c:_Py_TYPE_impl:
  233|  1.95k|{
  234|  1.95k|    return ob->ob_type;
  235|  1.95k|}
_threadmodule.c:PyObject_TypeCheck:
  374|  1.01k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  1.01k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  2.03k|#  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 (215:32): [True: 1.01k, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|  1.01k|}
_threadmodule.c:_Py_IS_TYPE_impl:
  248|  1.01k|{
  249|  1.01k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.01k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.01k|}
timemodule.c:_Py_TYPE_impl:
  233|     78|{
  234|     78|    return ob->ob_type;
  235|     78|}
timemodule.c:PyObject_TypeCheck:
  374|     78|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     78|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), 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: 78, 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|     78|}
timemodule.c:_Py_IS_TYPE_impl:
  248|     78|{
  249|     78|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     78|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     78|}
_weakref.c:PyType_HasFeature:
  749|    502|{
  750|    502|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    502|    flags = type->tp_flags;
  756|    502|#endif
  757|    502|    return ((flags & feature) != 0);
  758|    502|}
_weakref.c:_Py_TYPE_impl:
  233|  2.51k|{
  234|  2.51k|    return ob->ob_type;
  235|  2.51k|}
_weakref.c:PyObject_TypeCheck:
  374|  1.00k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  1.00k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  2.00k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 1.00k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  1.00k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 1.00k, False: 0]
  ------------------
  376|  1.00k|}
_weakref.c:_Py_IS_TYPE_impl:
  248|  1.00k|{
  249|  1.00k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.00k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.00k|}
_abc.c:PyObject_TypeCheck:
  374|    399|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    399|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), 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: 399, 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|    399|}
_abc.c:_Py_IS_TYPE_impl:
  248|    574|{
  249|    574|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    574|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    574|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    574|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    574|}
_abc.c:_Py_TYPE_impl:
  233|  18.8k|{
  234|  18.8k|    return ob->ob_type;
  235|  18.8k|}
_abc.c:PyType_HasFeature:
  749|  7.68k|{
  750|  7.68k|    unsigned 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.68k|    flags = type->tp_flags;
  756|  7.68k|#endif
  757|  7.68k|    return ((flags & feature) != 0);
  758|  7.68k|}
_abc.c:_Py_SIZE_impl:
  240|  1.97k|{
  241|  1.97k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.97k, False: 0]
  ------------------
  242|  1.97k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.97k, False: 0]
  ------------------
  243|  1.97k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.97k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.97k|}
_abc.c:PyType_Check:
  762|    348|static inline int PyType_Check(PyObject *op) {
  763|    348|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    348|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    348|}
_functoolsmodule.c:PyType_HasFeature:
  749|      1|{
  750|      1|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      1|    flags = type->tp_flags;
  756|      1|#endif
  757|      1|    return ((flags & feature) != 0);
  758|      1|}
_functoolsmodule.c:_Py_TYPE_impl:
  233|    225|{
  234|    225|    return ob->ob_type;
  235|    225|}
_functoolsmodule.c:PyObject_TypeCheck:
  374|     76|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     76|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    152|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 76, 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|     76|}
_functoolsmodule.c:_Py_IS_TYPE_impl:
  248|     76|{
  249|     76|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     76|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     76|}
_operator.c:_Py_TYPE_impl:
  233|     75|{
  234|     75|    return ob->ob_type;
  235|     75|}
_operator.c:PyObject_TypeCheck:
  374|     75|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     75|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    150|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 75, False: 0]
  |  |  ------------------
  ------------------
                  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|     75|}
_operator.c:_Py_IS_TYPE_impl:
  248|     75|{
  249|     75|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     75|}
_stat.c:PyType_HasFeature:
  749|      2|{
  750|      2|    unsigned long flags;
  751|      2|#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|      2|    flags = PyType_GetFlags(type);
  754|       |#else
  755|       |    flags = type->tp_flags;
  756|       |#endif
  757|      2|    return ((flags & feature) != 0);
  758|      2|}
_stat.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
getpath.c:_Py_IS_TYPE_impl:
  248|      2|{
  249|      2|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      2|}
getpath.c:_Py_TYPE_impl:
  233|    226|{
  234|    226|    return ob->ob_type;
  235|    226|}
getpath.c:PyType_HasFeature:
  749|    176|{
  750|    176|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    176|    flags = type->tp_flags;
  756|    176|#endif
  757|    176|    return ((flags & feature) != 0);
  758|    176|}
getpath.c:_Py_SIZE_impl:
  240|     24|{
  241|     24|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 24, False: 0]
  ------------------
  242|     24|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 24, False: 0]
  ------------------
  243|     24|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     24|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     24|}
abstract.c:_Py_TYPE_impl:
  233|  5.52M|{
  234|  5.52M|    return ob->ob_type;
  235|  5.52M|}
abstract.c:PyType_HasFeature:
  749|   848k|{
  750|   848k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   848k|    flags = type->tp_flags;
  756|   848k|#endif
  757|   848k|    return ((flags & feature) != 0);
  758|   848k|}
abstract.c:PyType_Check:
  762|  2.57k|static inline int PyType_Check(PyObject *op) {
  763|  2.57k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  2.57k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  2.57k|}
abstract.c:_Py_IS_TYPE_impl:
  248|   912k|{
  249|   912k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   912k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   912k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   912k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   912k|}
abstract.c:PyObject_TypeCheck:
  374|    964|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    964|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.92k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    964|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    964|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 964]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    964|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    964|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    964|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 95, False: 869]
  ------------------
  376|    964|}
abstract.c:_Py_SIZE_impl:
  240|     99|{
  241|     99|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 99, False: 0]
  ------------------
  242|     99|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 99, False: 0]
  ------------------
  243|     99|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     99|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     99|}
abstract.c:PyType_CheckExact:
  772|  18.9k|static inline int PyType_CheckExact(PyObject *op) {
  773|  18.9k|    return Py_IS_TYPE(op, &PyType_Type);
  ------------------
  |  |  215|  18.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  18.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|  18.9k|}
boolobject.c:_Py_TYPE_impl:
  233|     18|{
  234|     18|    return ob->ob_type;
  235|     18|}
boolobject.c:PyType_HasFeature:
  749|     24|{
  750|     24|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     24|    flags = type->tp_flags;
  756|     24|#endif
  757|     24|    return ((flags & feature) != 0);
  758|     24|}
boolobject.c:PyType_Check:
  762|     18|static inline int PyType_Check(PyObject *op) {
  763|     18|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     18|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     18|}
bytes_methods.c:_Py_TYPE_impl:
  233|     10|{
  234|     10|    return ob->ob_type;
  235|     10|}
bytearrayobject.c:PyType_HasFeature:
  749|     74|{
  750|     74|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     74|    flags = type->tp_flags;
  756|     74|#endif
  757|     74|    return ((flags & feature) != 0);
  758|     74|}
bytearrayobject.c:_Py_SIZE_impl:
  240|     86|{
  241|     86|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 86, False: 0]
  ------------------
  242|     86|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 86, False: 0]
  ------------------
  243|     86|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     86|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     86|}
bytearrayobject.c:_Py_SET_SIZE_impl:
  254|     26|{
  255|     26|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 26, False: 0]
  ------------------
  256|     26|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 26, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|     26|    ob->ob_size = size;
  261|     26|#endif
  262|     26|}
bytearrayobject.c:PyObject_TypeCheck:
  374|    168|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    168|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    336|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    168|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 150, False: 18]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|     18|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 18]
  ------------------
  376|    168|}
bytearrayobject.c:_Py_IS_TYPE_impl:
  248|    186|{
  249|    186|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    186|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    186|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    186|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    186|}
bytearrayobject.c:_Py_TYPE_impl:
  233|    560|{
  234|    560|    return ob->ob_type;
  235|    560|}
bytearrayobject.c:PyType_Check:
  762|     16|static inline int PyType_Check(PyObject *op) {
  763|     16|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     16|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     16|}
bytesobject.c:Py_SET_TYPE:
  206|  4.55M|{
  207|  4.55M|    ob->ob_type = type;
  208|  4.55M|}
bytesobject.c:_Py_SET_SIZE_impl:
  254|  4.55M|{
  255|  4.55M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 4.55M, False: 0]
  ------------------
  256|  4.55M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 4.55M, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  4.55M|    ob->ob_size = size;
  261|  4.55M|#endif
  262|  4.55M|}
bytesobject.c:PyType_HasFeature:
  749|  34.9M|{
  750|  34.9M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  34.9M|    flags = type->tp_flags;
  756|  34.9M|#endif
  757|  34.9M|    return ((flags & feature) != 0);
  758|  34.9M|}
bytesobject.c:_Py_TYPE_impl:
  233|  71.1M|{
  234|  71.1M|    return ob->ob_type;
  235|  71.1M|}
bytesobject.c:_Py_IS_TYPE_impl:
  248|  10.2k|{
  249|  10.2k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  10.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  10.2k|}
bytesobject.c:_Py_SIZE_impl:
  240|  13.5M|{
  241|  13.5M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 13.5M, False: 0]
  ------------------
  242|  13.5M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 13.5M, False: 0]
  ------------------
  243|  13.5M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  13.5M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  13.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  13.5M|}
capsule.c:_Py_IS_TYPE_impl:
  248|     26|{
  249|     26|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     26|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     26|}
capsule.c:_Py_TYPE_impl:
  233|     26|{
  234|     26|    return ob->ob_type;
  235|     26|}
cellobject.c:_Py_IS_TYPE_impl:
  248|    606|{
  249|    606|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    606|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    606|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    606|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    606|}
cellobject.c:_Py_TYPE_impl:
  233|    606|{
  234|    606|    return ob->ob_type;
  235|    606|}
classobject.c:_Py_IS_TYPE_impl:
  248|  3.46k|{
  249|  3.46k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  3.46k|}
classobject.c:_Py_TYPE_impl:
  233|  3.46k|{
  234|  3.46k|    return ob->ob_type;
  235|  3.46k|}
codeobject.c:PyType_HasFeature:
  749|   241k|{
  750|   241k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   241k|    flags = type->tp_flags;
  756|   241k|#endif
  757|   241k|    return ((flags & feature) != 0);
  758|   241k|}
codeobject.c:_Py_TYPE_impl:
  233|   428k|{
  234|   428k|    return ob->ob_type;
  235|   428k|}
codeobject.c:_Py_SIZE_impl:
  240|  63.4k|{
  241|  63.4k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 63.4k, False: 0]
  ------------------
  242|  63.4k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 63.4k, False: 0]
  ------------------
  243|  63.4k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  63.4k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  63.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  63.4k|}
codeobject.c:_Py_IS_TYPE_impl:
  248|  60.2k|{
  249|  60.2k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  60.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  60.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  60.2k|}
descrobject.c:PyType_HasFeature:
  749|  4.62k|{
  750|  4.62k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  4.62k|    flags = type->tp_flags;
  756|  4.62k|#endif
  757|  4.62k|    return ((flags & feature) != 0);
  758|  4.62k|}
descrobject.c:PyType_Check:
  762|  1.96k|static inline int PyType_Check(PyObject *op) {
  763|  1.96k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.96k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.96k|}
descrobject.c:_Py_SIZE_impl:
  240|    631|{
  241|    631|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 631, False: 0]
  ------------------
  242|    631|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 631, False: 0]
  ------------------
  243|    631|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    631|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    631|}
descrobject.c:_Py_TYPE_impl:
  233|   890k|{
  234|   890k|    return ob->ob_type;
  235|   890k|}
descrobject.c:_Py_IS_TYPE_impl:
  248|   720k|{
  249|   720k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   720k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   720k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   720k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   720k|}
descrobject.c:PyObject_TypeCheck:
  374|   720k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   720k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.44M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   720k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   720k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 717k, False: 2.98k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  2.98k|#  define Py_TYPE(ob) _Py_TYPE_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 (375:36): [True: 2.98k, False: 0]
  ------------------
  376|   720k|}
enumobject.c:_Py_TYPE_impl:
  233|  1.97k|{
  234|  1.97k|    return ob->ob_type;
  235|  1.97k|}
enumobject.c:PyType_HasFeature:
  749|  1.03k|{
  750|  1.03k|    unsigned 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.03k|    flags = type->tp_flags;
  756|  1.03k|#endif
  757|  1.03k|    return ((flags & feature) != 0);
  758|  1.03k|}
enumobject.c:_Py_SIZE_impl:
  240|    364|{
  241|    364|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 364, False: 0]
  ------------------
  242|    364|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 364, False: 0]
  ------------------
  243|    364|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    364|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    364|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    364|}
enumobject.c:PyType_Check:
  762|     93|static inline int PyType_Check(PyObject *op) {
  763|     93|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     93|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     93|}
genobject.c:_Py_IS_TYPE_impl:
  248|    901|{
  249|    901|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    901|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    901|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    901|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    901|}
genobject.c:_Py_TYPE_impl:
  233|    901|{
  234|    901|    return ob->ob_type;
  235|    901|}
fileobject.c:PyType_HasFeature:
  749|     95|{
  750|     95|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     95|    flags = type->tp_flags;
  756|     95|#endif
  757|     95|    return ((flags & feature) != 0);
  758|     95|}
fileobject.c:_Py_TYPE_impl:
  233|     95|{
  234|     95|    return ob->ob_type;
  235|     95|}
floatobject.c:Py_SET_TYPE:
  206|     62|{
  207|     62|    ob->ob_type = type;
  208|     62|}
floatobject.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|}
floatobject.c:_Py_TYPE_impl:
  233|  6.11k|{
  234|  6.11k|    return ob->ob_type;
  235|  6.11k|}
floatobject.c:PyObject_TypeCheck:
  374|  2.13k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.13k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  4.26k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.12k, False: 11]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 11]
  ------------------
  376|  2.13k|}
floatobject.c:_Py_IS_TYPE_impl:
  248|  6.09k|{
  249|  6.09k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  6.09k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  6.09k|}
frameobject.c:PyObject_TypeCheck:
  374|  2.80k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.80k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  5.60k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.80k, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|  2.80k|}
frameobject.c:_Py_IS_TYPE_impl:
  248|  4.76k|{
  249|  4.76k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.76k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.76k|}
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|  4.78k|{
  234|  4.78k|    return ob->ob_type;
  235|  4.78k|}
iterobject.c:_Py_IS_TYPE_impl:
  248|     52|{
  249|     52|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     52|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     52|}
iterobject.c:_Py_TYPE_impl:
  233|     52|{
  234|     52|    return ob->ob_type;
  235|     52|}
lazyimportobject.c:PyType_HasFeature:
  749|     25|{
  750|     25|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     25|    flags = type->tp_flags;
  756|     25|#endif
  757|     25|    return ((flags & feature) != 0);
  758|     25|}
lazyimportobject.c:_Py_TYPE_impl:
  233|     75|{
  234|     75|    return ob->ob_type;
  235|     75|}
lazyimportobject.c:_Py_IS_TYPE_impl:
  248|     45|{
  249|     45|    return Py_TYPE(ob) == 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     45|}
lazyimportobject.c:_Py_SIZE_impl:
  240|      2|{
  241|      2|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2, False: 0]
  ------------------
  242|      2|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2, False: 0]
  ------------------
  243|      2|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      2|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      2|}
lazyimportobject.c:PyObject_TypeCheck:
  374|      2|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|      2|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|      2|}
memoryobject.c:_Py_IS_TYPE_impl:
  248|    190|{
  249|    190|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    190|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    190|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    190|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    190|}
memoryobject.c:_Py_TYPE_impl:
  233|    760|{
  234|    760|    return ob->ob_type;
  235|    760|}
memoryobject.c:PyType_HasFeature:
  749|    285|{
  750|    285|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    285|    flags = type->tp_flags;
  756|    285|#endif
  757|    285|    return ((flags & feature) != 0);
  758|    285|}
memoryobject.c:_Py_SIZE_impl:
  240|     95|{
  241|     95|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 95, False: 0]
  ------------------
  242|     95|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 95, False: 0]
  ------------------
  243|     95|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     95|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     95|}
methodobject.c:PyObject_TypeCheck:
  374|  3.29M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  3.29M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  6.58M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3.29M, False: 495]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    495|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    495|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    495|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 483, False: 12]
  ------------------
  376|  3.29M|}
methodobject.c:_Py_IS_TYPE_impl:
  248|  3.81M|{
  249|  3.81M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  3.81M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.81M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.81M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  3.81M|}
methodobject.c:_Py_TYPE_impl:
  233|  3.81M|{
  234|  3.81M|    return ob->ob_type;
  235|  3.81M|}
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|     29|{
  234|     29|    return ob->ob_type;
  235|     29|}
unicode_format.c:PyType_HasFeature:
  749|    189|{
  750|    189|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    189|    flags = type->tp_flags;
  756|    189|#endif
  757|    189|    return ((flags & feature) != 0);
  758|    189|}
unicode_format.c:_Py_TYPE_impl:
  233|    189|{
  234|    189|    return ob->ob_type;
  235|    189|}
assemble.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|}
assemble.c:_Py_TYPE_impl:
  233|     55|{
  234|     55|    return ob->ob_type;
  235|     55|}
assemble.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|}
assemble.c:_Py_SIZE_impl:
  240|     11|{
  241|     11|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 11, False: 0]
  ------------------
  242|     11|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 11, False: 0]
  ------------------
  243|     11|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     11|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     11|}
crossinterp.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
pegen.c:PyType_HasFeature:
  749|     17|{
  750|     17|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     17|    flags = type->tp_flags;
  756|     17|#endif
  757|     17|    return ((flags & feature) != 0);
  758|     17|}
pegen.c:_Py_TYPE_impl:
  233|     39|{
  234|     39|    return ob->ob_type;
  235|     39|}
pegen.c:_Py_SIZE_impl:
  240|     11|{
  241|     11|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 11, False: 0]
  ------------------
  242|     11|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 11, False: 0]
  ------------------
  243|     11|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     11|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     11|}

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

call.c:Py_DECREF:
  418|   127k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   127k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   127k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   127k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   127k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 21.3k, False: 105k]
  |  |  ------------------
  ------------------
  422|  21.3k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  21.3k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  21.3k|        return;
  424|  21.3k|    }
  425|   105k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   105k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   105k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 51.8k, False: 54.0k]
  ------------------
  427|  51.8k|        _Py_Dealloc(op);
  428|  51.8k|    }
  429|   105k|}
call.c:_Py_IsImmortal:
  127|   127k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   127k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   127k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   127k|}
call.c:_Py_IsStaticImmortal:
  141|  18.7k|{
  142|  18.7k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  18.7k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  18.7k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  18.7k|}
call.c:_Py_NewRef:
  632|  3.47k|{
  633|  3.47k|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.47k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  3.47k|    return obj;
  635|  3.47k|}
call.c:Py_INCREF:
  256|  3.47k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  3.47k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.47k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.91k, False: 1.56k]
  ------------------
  288|       |        // the object is immortal
  289|  1.91k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.91k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.91k|        return;
  291|  1.91k|    }
  292|  1.56k|    op->ob_refcnt = cur_refcnt + 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.56k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.56k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.56k|#endif
  308|  1.56k|}
exceptions.c:_Py_XNewRef:
  638|   107k|{
  639|   107k|    Py_XINCREF(obj);
  ------------------
  |  |  611|   107k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   107k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   107k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|   107k|    return obj;
  641|   107k|}
exceptions.c:Py_XINCREF:
  605|   107k|{
  606|   107k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   107k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 1.15k, False: 106k]
  ------------------
  607|  1.15k|        Py_INCREF(op);
  ------------------
  |  |  310|  1.15k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  1.15k|    }
  609|   107k|}
exceptions.c:Py_XDECREF:
  615|   249k|{
  616|   249k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   249k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 125k, False: 124k]
  ------------------
  617|   125k|        Py_DECREF(op);
  ------------------
  |  |  430|   125k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   125k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   125k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   125k|    }
  619|   249k|}
exceptions.c:_Py_NewRef:
  632|   166k|{
  633|   166k|    Py_INCREF(obj);
  ------------------
  |  |  310|   166k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   166k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   166k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   166k|    return obj;
  635|   166k|}
exceptions.c:Py_INCREF:
  256|   167k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   167k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   167k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 51.6k, False: 116k]
  ------------------
  288|       |        // the object is immortal
  289|  51.6k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  51.6k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  51.6k|        return;
  291|  51.6k|    }
  292|   116k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   116k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   116k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   116k|#endif
  308|   116k|}
exceptions.c:Py_DECREF:
  418|   340k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   340k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   340k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   340k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   340k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 53.2k, False: 287k]
  |  |  ------------------
  ------------------
  422|  53.2k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  53.2k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  53.2k|        return;
  424|  53.2k|    }
  425|   287k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   287k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   287k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 144k, False: 142k]
  ------------------
  427|   144k|        _Py_Dealloc(op);
  428|   144k|    }
  429|   287k|}
exceptions.c:_Py_IsImmortal:
  127|   340k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   340k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   340k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   340k|}
genericaliasobject.c:Py_DECREF:
  418|     10|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     10|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     10|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5, False: 5]
  |  |  ------------------
  ------------------
  422|      5|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      5|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      5|        return;
  424|      5|    }
  425|      5|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      5|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      5|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 5, False: 0]
  ------------------
  427|      5|        _Py_Dealloc(op);
  428|      5|    }
  429|      5|}
genericaliasobject.c:_Py_IsImmortal:
  127|     10|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     10|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     10|}
genericaliasobject.c:Py_XDECREF:
  615|     15|{
  616|     15|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     15|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 10, False: 5]
  ------------------
  617|     10|        Py_DECREF(op);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     10|    }
  619|     15|}
genericaliasobject.c:_Py_NewRef:
  632|      5|{
  633|      5|    Py_INCREF(obj);
  ------------------
  |  |  310|      5|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      5|    return obj;
  635|      5|}
genericaliasobject.c:Py_INCREF:
  256|      5|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      5|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      5|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 5, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|      5|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      5|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      5|        return;
  291|      5|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
genericaliasobject.c:_Py_REFCNT:
  105|      5|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      5|    #if !defined(Py_GIL_DISABLED)
  107|      5|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      5|    }
funcobject.c:Py_XDECREF:
  615|    278|{
  616|    278|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    278|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 106, False: 172]
  ------------------
  617|    106|        Py_DECREF(op);
  ------------------
  |  |  430|    106|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    106|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    106|    }
  619|    278|}
funcobject.c:Py_INCREF:
  256|  22.3k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  22.3k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  22.3k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 12.1k, False: 10.2k]
  ------------------
  288|       |        // the object is immortal
  289|  12.1k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  12.1k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  12.1k|        return;
  291|  12.1k|    }
  292|  10.2k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  10.2k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  10.2k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  10.2k|#endif
  308|  10.2k|}
funcobject.c:_Py_NewRef:
  632|  6.00k|{
  633|  6.00k|    Py_INCREF(obj);
  ------------------
  |  |  310|  6.00k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  6.00k|    return obj;
  635|  6.00k|}
funcobject.c:_Py_XNewRef:
  638|    426|{
  639|    426|    Py_XINCREF(obj);
  ------------------
  |  |  611|    426|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|    426|    return obj;
  641|    426|}
funcobject.c:Py_XINCREF:
  605|    426|{
  606|    426|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    426|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 51, False: 375]
  ------------------
  607|     51|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     51|    }
  609|    426|}
funcobject.c:_Py_REFCNT:
  105|  12.5k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  12.5k|    #if !defined(Py_GIL_DISABLED)
  107|  12.5k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  12.5k|    }
funcobject.c:Py_DECREF:
  418|  16.8k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  16.8k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  16.8k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 9.83k, False: 7.04k]
  |  |  ------------------
  ------------------
  422|  9.83k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  9.83k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  9.83k|        return;
  424|  9.83k|    }
  425|  7.04k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  7.04k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  7.04k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 877, False: 6.16k]
  ------------------
  427|    877|        _Py_Dealloc(op);
  428|    877|    }
  429|  7.04k|}
funcobject.c:_Py_IsImmortal:
  127|  20.2k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  20.2k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  20.2k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  20.2k|}
funcobject.c:Py_SET_REFCNT:
  154|  3.37k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  3.37k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 3.37k, False: 0]
  ------------------
  156|       |#if (defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030d0000) \
  157|       |    || defined(_Py_OPAQUE_PYOBJECT)
  158|       |    // Stable ABI implements Py_SET_REFCNT() as a function call
  159|       |    // on limited C API version 3.13 and newer, and abi3t.
  160|       |    _Py_SetRefcnt(ob, refcnt);
  161|       |#else
  162|       |    // This immortal check is for code that is unaware of immortal objects.
  163|       |    // The runtime tracks these objects and we should avoid as much
  164|       |    // as possible having extensions inadvertently change the refcnt
  165|       |    // of an immortalized object.
  166|  3.37k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  3.37k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 3.37k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  3.37k|#ifndef Py_GIL_DISABLED
  170|  3.37k|#if SIZEOF_VOID_P > 4
  171|  3.37k|    ob->ob_refcnt = (uint32_t)refcnt;
  172|       |#else
  173|       |    ob->ob_refcnt = refcnt;
  174|       |#endif
  175|       |#else
  176|       |    if (_Py_IsOwnedByCurrentThread(ob)) {
  177|       |        if ((size_t)refcnt > (size_t)UINT32_MAX) {
  178|       |            // On overflow, make the object immortal
  179|       |            ob->ob_tid = _Py_UNOWNED_TID;
  180|       |            ob->ob_ref_local = _Py_IMMORTAL_REFCNT_LOCAL;
  181|       |            ob->ob_ref_shared = 0;
  182|       |        }
  183|       |        else {
  184|       |            // Set local refcount to desired refcount and shared refcount
  185|       |            // to zero, but preserve the shared refcount flags.
  186|       |            ob->ob_ref_local = _Py_STATIC_CAST(uint32_t, refcnt);
  187|       |            ob->ob_ref_shared &= _Py_REF_SHARED_FLAG_MASK;
  188|       |        }
  189|       |    }
  190|       |    else {
  191|       |        // Set local refcount to zero and shared refcount to desired refcount.
  192|       |        // Mark the object as merged.
  193|       |        ob->ob_tid = _Py_UNOWNED_TID;
  194|       |        ob->ob_ref_local = 0;
  195|       |        ob->ob_ref_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
  196|       |    }
  197|       |#endif  // Py_GIL_DISABLED
  198|  3.37k|#endif  // Py_LIMITED_API
  199|  3.37k|}
listobject.c:Py_DECREF:
  418|   294M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   294M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   294M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   294M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   294M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 267M, False: 26.3M]
  |  |  ------------------
  ------------------
  422|   267M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   267M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   267M|        return;
  424|   267M|    }
  425|  26.3M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  26.3M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  26.3M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 8.07M, False: 18.2M]
  ------------------
  427|  8.07M|        _Py_Dealloc(op);
  428|  8.07M|    }
  429|  26.3M|}
listobject.c:_Py_IsImmortal:
  127|   294M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   294M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   294M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   294M|}
listobject.c:Py_XDECREF:
  615|   293M|{
  616|   293M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   293M|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 293M, False: 337k]
  ------------------
  617|   293M|        Py_DECREF(op);
  ------------------
  |  |  430|   293M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   293M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   293M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   293M|    }
  619|   293M|}
listobject.c:_Py_NewRef:
  632|  64.3M|{
  633|  64.3M|    Py_INCREF(obj);
  ------------------
  |  |  310|  64.3M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  64.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  64.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  64.3M|    return obj;
  635|  64.3M|}
listobject.c:Py_INCREF:
  256|   178M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   178M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   178M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 160M, False: 18.8M]
  ------------------
  288|       |        // the object is immortal
  289|   160M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   160M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   160M|        return;
  291|   160M|    }
  292|  18.8M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  18.8M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  18.8M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  18.8M|#endif
  308|  18.8M|}
listobject.c:_Py_XNewRef:
  638|   114M|{
  639|   114M|    Py_XINCREF(obj);
  ------------------
  |  |  611|   114M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   114M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   114M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|   114M|    return obj;
  641|   114M|}
listobject.c:Py_XINCREF:
  605|   114M|{
  606|   114M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   114M|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 114M, False: 0]
  ------------------
  607|   114M|        Py_INCREF(op);
  ------------------
  |  |  310|   114M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   114M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   114M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|   114M|    }
  609|   114M|}
longobject.c:_Py_IsImmortal:
  127|  8.83k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  8.83k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  8.83k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  8.83k|}
longobject.c:Py_DECREF:
  418|    152|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    152|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    152|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 151, False: 1]
  |  |  ------------------
  ------------------
  422|    151|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    151|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    151|        return;
  424|    151|    }
  425|      1|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      1|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 1]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      1|}
longobject.c:Py_XDECREF:
  615|    387|{
  616|    387|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    387|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 4, False: 383]
  ------------------
  617|      4|        Py_DECREF(op);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      4|    }
  619|    387|}
longobject.c:Py_INCREF:
  256|  8.54k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.54k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  8.54k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8.54k, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|  8.54k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  8.54k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  8.54k|        return;
  291|  8.54k|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
longobject.c:_Py_NewRef:
  632|      3|{
  633|      3|    Py_INCREF(obj);
  ------------------
  |  |  310|      3|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      3|    return obj;
  635|      3|}
longobject.c:_Py_REFCNT:
  105|      9|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      9|    #if !defined(Py_GIL_DISABLED)
  107|      9|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      9|    }
dictobject.c:_Py_XNewRef:
  638|  11.1k|{
  639|  11.1k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  11.1k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  11.1k|    return obj;
  641|  11.1k|}
dictobject.c:_Py_IsImmortal:
  127|  6.92M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  6.92M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  6.92M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  6.92M|}
dictobject.c:_Py_IsStaticImmortal:
  141|   154k|{
  142|   154k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|   154k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|   154k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|   154k|}
dictobject.c:Py_INCREF:
  256|  24.0M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  24.0M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  24.0M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 13.7M, False: 10.2M]
  ------------------
  288|       |        // the object is immortal
  289|  13.7M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  13.7M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  13.7M|        return;
  291|  13.7M|    }
  292|  10.2M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  10.2M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  10.2M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  10.2M|#endif
  308|  10.2M|}
dictobject.c:Py_DECREF:
  418|  5.96M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  5.96M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  5.96M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 874k, False: 5.09M]
  |  |  ------------------
  ------------------
  422|   874k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   874k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   874k|        return;
  424|   874k|    }
  425|  5.09M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.09M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  5.09M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 187k, False: 4.90M]
  ------------------
  427|   187k|        _Py_Dealloc(op);
  428|   187k|    }
  429|  5.09M|}
dictobject.c:_Py_REFCNT:
  105|  2.37M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  2.37M|    #if !defined(Py_GIL_DISABLED)
  107|  2.37M|        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.37M|    }
dictobject.c:_Py_NewRef:
  632|  19.5M|{
  633|  19.5M|    Py_INCREF(obj);
  ------------------
  |  |  310|  19.5M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  19.5M|    return obj;
  635|  19.5M|}
dictobject.c:Py_XDECREF:
  615|  1.45M|{
  616|  1.45M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.45M|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1.44M, False: 10.5k]
  ------------------
  617|  1.44M|        Py_DECREF(op);
  ------------------
  |  |  430|  1.44M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  1.44M|    }
  619|  1.45M|}
dictobject.c:Py_SET_REFCNT:
  154|   805k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|   805k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 805k, 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|   805k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|   805k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   805k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   805k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 805k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|   805k|#ifndef Py_GIL_DISABLED
  170|   805k|#if SIZEOF_VOID_P > 4
  171|   805k|    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|   805k|#endif  // Py_LIMITED_API
  199|   805k|}
dictobject.c:Py_XINCREF:
  605|  11.1k|{
  606|  11.1k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  11.1k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 6.22k, False: 4.94k]
  ------------------
  607|  6.22k|        Py_INCREF(op);
  ------------------
  |  |  310|  6.22k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  6.22k|    }
  609|  11.1k|}
moduleobject.c:Py_SET_REFCNT:
  154|     46|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|     46|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 46, 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|     46|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  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: 46, False: 0]
  |  |  ------------------
  ------------------
  167|     46|        return;
  168|     46|    }
  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|  2.55k|{
  128|       |#if defined(Py_GIL_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.55k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.55k|}
moduleobject.c:_Py_NewRef:
  632|    174|{
  633|    174|    Py_INCREF(obj);
  ------------------
  |  |  310|    174|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    174|    return obj;
  635|    174|}
moduleobject.c:Py_INCREF:
  256|    174|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    174|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    174|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 65, False: 109]
  ------------------
  288|       |        // the object is immortal
  289|     65|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     65|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     65|        return;
  291|     65|    }
  292|    109|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    109|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    109|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    109|#endif
  308|    109|}
moduleobject.c:Py_DECREF:
  418|  2.50k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.50k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.50k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 826, False: 1.68k]
  |  |  ------------------
  ------------------
  422|    826|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    826|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    826|        return;
  424|    826|    }
  425|  1.68k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.68k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.68k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 1.68k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  1.68k|}
moduleobject.c:Py_XDECREF:
  615|    349|{
  616|    349|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    349|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 155, False: 194]
  ------------------
  617|    155|        Py_DECREF(op);
  ------------------
  |  |  430|    155|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    155|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    155|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    155|    }
  619|    349|}
object.c:_Py_REFCNT:
  105|  1.01M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.01M|    #if !defined(Py_GIL_DISABLED)
  107|  1.01M|        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.01M|    }
object.c:Py_XDECREF:
  615|  5.01k|{
  616|  5.01k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.01k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 20, False: 4.99k]
  ------------------
  617|     20|        Py_DECREF(op);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     20|    }
  619|  5.01k|}
object.c:Py_INCREF:
  256|  2.94M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  2.94M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.94M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.65M, False: 1.28M]
  ------------------
  288|       |        // the object is immortal
  289|  1.65M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.65M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.65M|        return;
  291|  1.65M|    }
  292|  1.28M|    op->ob_refcnt = cur_refcnt + 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.28M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.28M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.28M|#endif
  308|  1.28M|}
object.c:Py_DECREF:
  418|  2.15M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.15M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.15M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.08M, False: 1.06M]
  |  |  ------------------
  ------------------
  422|  1.08M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.08M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.08M|        return;
  424|  1.08M|    }
  425|  1.06M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.06M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.06M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 119k, False: 946k]
  ------------------
  427|   119k|        _Py_Dealloc(op);
  428|   119k|    }
  429|  1.06M|}
object.c:_Py_NewRef:
  632|   991k|{
  633|   991k|    Py_INCREF(obj);
  ------------------
  |  |  310|   991k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   991k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   991k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   991k|    return obj;
  635|   991k|}
object.c:_Py_IsImmortal:
  127|  6.67M|{
  128|       |#if defined(Py_GIL_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.67M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  6.67M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  6.67M|}
object.c:_Py_IsStaticImmortal:
  141|   297k|{
  142|   297k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|   297k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|   297k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|   297k|}
object.c:Py_SET_REFCNT:
  154|    768|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|    768|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 768, 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|    768|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|    768|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    768|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    768|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 768]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|    768|#ifndef Py_GIL_DISABLED
  170|    768|#if SIZEOF_VOID_P > 4
  171|    768|    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|    768|#endif  // Py_LIMITED_API
  199|    768|}
rangeobject.c:Py_DECREF:
  418|  2.34k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.34k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.34k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.33k, False: 8]
  |  |  ------------------
  ------------------
  422|  2.33k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.33k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.33k|        return;
  424|  2.33k|    }
  425|      8|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      8|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      8|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 4, False: 4]
  ------------------
  427|      4|        _Py_Dealloc(op);
  428|      4|    }
  429|      8|}
rangeobject.c:_Py_IsImmortal:
  127|  2.34k|{
  128|       |#if defined(Py_GIL_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.34k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.34k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.34k|}
rangeobject.c:_Py_NewRef:
  632|     89|{
  633|     89|    Py_INCREF(obj);
  ------------------
  |  |  310|     89|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     89|    return obj;
  635|     89|}
rangeobject.c:Py_INCREF:
  256|     89|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     89|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     89|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 85, False: 4]
  ------------------
  288|       |        // the object is immortal
  289|     85|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     85|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     85|        return;
  291|     85|    }
  292|      4|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      4|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      4|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      4|#endif
  308|      4|}
rangeobject.c:Py_XDECREF:
  615|      6|{
  616|      6|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      6|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 6, False: 0]
  ------------------
  617|      6|        Py_DECREF(op);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      6|    }
  619|      6|}
sentinelobject.c:Py_DECREF:
  418|     10|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     10|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     10|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 6, False: 4]
  |  |  ------------------
  ------------------
  422|      6|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      6|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      6|        return;
  424|      6|    }
  425|      4|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      4|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      4|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 4]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      4|}
sentinelobject.c:_Py_IsImmortal:
  127|     10|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     10|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     10|}
sentinelobject.c:Py_XDECREF:
  615|      1|{
  616|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 1]
  ------------------
  617|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|      1|}
sentinelobject.c:_Py_NewRef:
  632|     20|{
  633|     20|    Py_INCREF(obj);
  ------------------
  |  |  310|     20|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     20|    return obj;
  635|     20|}
sentinelobject.c:Py_INCREF:
  256|     20|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     20|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     20|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 14, False: 6]
  ------------------
  288|       |        // the object is immortal
  289|     14|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     14|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     14|        return;
  291|     14|    }
  292|      6|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      6|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      6|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      6|#endif
  308|      6|}
sentinelobject.c:_Py_XNewRef:
  638|      7|{
  639|      7|    Py_XINCREF(obj);
  ------------------
  |  |  611|      7|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      7|    return obj;
  641|      7|}
sentinelobject.c:Py_XINCREF:
  605|      7|{
  606|      7|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      7|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 0, False: 7]
  ------------------
  607|      0|        Py_INCREF(op);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      0|    }
  609|      7|}
setobject.c:Py_DECREF:
  418|  1.90k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.90k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.90k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 212, False: 1.69k]
  |  |  ------------------
  ------------------
  422|    212|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    212|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    212|        return;
  424|    212|    }
  425|  1.69k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.69k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.69k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 45, False: 1.64k]
  ------------------
  427|     45|        _Py_Dealloc(op);
  428|     45|    }
  429|  1.69k|}
setobject.c:_Py_IsImmortal:
  127|  1.90k|{
  128|       |#if defined(Py_GIL_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.90k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.90k|}
setobject.c:Py_INCREF:
  256|  2.30k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  2.30k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.30k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 493, False: 1.81k]
  ------------------
  288|       |        // the object is immortal
  289|    493|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    493|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    493|        return;
  291|    493|    }
  292|  1.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|  1.81k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.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|  1.81k|#endif
  308|  1.81k|}
setobject.c:Py_XDECREF:
  615|     77|{
  616|     77|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     77|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2, False: 75]
  ------------------
  617|      2|        Py_DECREF(op);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      2|    }
  619|     77|}
setobject.c:_Py_REFCNT:
  105|    329|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    329|    #if !defined(Py_GIL_DISABLED)
  107|    329|        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|    329|    }
setobject.c:_Py_NewRef:
  632|  2.29k|{
  633|  2.29k|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.29k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  2.29k|    return obj;
  635|  2.29k|}
sliceobject.c:Py_DECREF:
  418|    225|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    225|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    225|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    225|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    225|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 225, False: 0]
  |  |  ------------------
  ------------------
  422|    225|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    225|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    225|        return;
  424|    225|    }
  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|    225|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    225|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    225|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    225|}
sliceobject.c:_Py_NewRef:
  632|    537|{
  633|    537|    Py_INCREF(obj);
  ------------------
  |  |  310|    537|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    537|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    537|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    537|    return obj;
  635|    537|}
sliceobject.c:Py_INCREF:
  256|    537|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    537|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    537|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 537, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|    537|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    537|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    537|        return;
  291|    537|    }
  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|  13.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|  13.4k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  13.4k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  13.4k|}
structseq.c:Py_XDECREF:
  615|  12.6k|{
  616|  12.6k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  12.6k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 12.6k, False: 0]
  ------------------
  617|  12.6k|        Py_DECREF(op);
  ------------------
  |  |  430|  12.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  12.6k|    }
  619|  12.6k|}
structseq.c:Py_DECREF:
  418|  13.4k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  13.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  13.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.47k, False: 9.99k]
  |  |  ------------------
  ------------------
  422|  3.47k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  3.47k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  3.47k|        return;
  424|  3.47k|    }
  425|  9.99k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  9.99k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  9.99k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 8.66k, False: 1.32k]
  ------------------
  427|  8.66k|        _Py_Dealloc(op);
  428|  8.66k|    }
  429|  9.99k|}
tupleobject.c:_Py_REFCNT:
  105|     35|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     35|    #if !defined(Py_GIL_DISABLED)
  107|     35|        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|     35|    }
tupleobject.c:Py_XDECREF:
  615|  1.93M|{
  616|  1.93M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.93M|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1.93M, False: 71]
  ------------------
  617|  1.93M|        Py_DECREF(op);
  ------------------
  |  |  430|  1.93M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  1.93M|    }
  619|  1.93M|}
tupleobject.c:_Py_NewRef:
  632|   100k|{
  633|   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   100k|    return obj;
  635|   100k|}
tupleobject.c:Py_INCREF:
  256|   100k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   100k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   100k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 9.00k, False: 91.9k]
  ------------------
  288|       |        // the object is immortal
  289|  9.00k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  9.00k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  9.00k|        return;
  291|  9.00k|    }
  292|  91.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|  91.9k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  91.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|  91.9k|#endif
  308|  91.9k|}
tupleobject.c:Py_DECREF:
  418|  1.93M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.93M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.93M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 720k, False: 1.21M]
  |  |  ------------------
  ------------------
  422|   720k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   720k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   720k|        return;
  424|   720k|    }
  425|  1.21M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.21M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.21M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 83.2k, False: 1.12M]
  ------------------
  427|  83.2k|        _Py_Dealloc(op);
  428|  83.2k|    }
  429|  1.21M|}
tupleobject.c:_Py_IsImmortal:
  127|  1.93M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.93M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.93M|}
typeobject.c:_Py_NewRef:
  632|  24.7k|{
  633|  24.7k|    Py_INCREF(obj);
  ------------------
  |  |  310|  24.7k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  24.7k|    return obj;
  635|  24.7k|}
typeobject.c:_Py_XNewRef:
  638|  1.46k|{
  639|  1.46k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  1.46k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  1.46k|    return obj;
  641|  1.46k|}
typeobject.c:Py_XINCREF:
  605|  2.25k|{
  606|  2.25k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.25k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 894, False: 1.36k]
  ------------------
  607|    894|        Py_INCREF(op);
  ------------------
  |  |  310|    894|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    894|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    894|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    894|    }
  609|  2.25k|}
typeobject.c:Py_INCREF:
  256|   163k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   163k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   163k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 68.1k, False: 95.5k]
  ------------------
  288|       |        // the object is immortal
  289|  68.1k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  68.1k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  68.1k|        return;
  291|  68.1k|    }
  292|  95.5k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  95.5k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  95.5k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  95.5k|#endif
  308|  95.5k|}
typeobject.c:Py_DECREF:
  418|   461k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   461k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   461k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   461k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   461k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.67k, False: 458k]
  |  |  ------------------
  ------------------
  422|  2.67k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.67k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.67k|        return;
  424|  2.67k|    }
  425|   458k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   458k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   458k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.77k, False: 454k]
  ------------------
  427|  3.77k|        _Py_Dealloc(op);
  428|  3.77k|    }
  429|   458k|}
typeobject.c:_Py_IsImmortal:
  127|   720k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   720k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   720k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   720k|}
typeobject.c:_Py_REFCNT:
  105|  2.42k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  2.42k|    #if !defined(Py_GIL_DISABLED)
  107|  2.42k|        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.42k|    }
typeobject.c:_Py_IsStaticImmortal:
  141|   394k|{
  142|   394k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|   394k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|   394k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|   394k|}
typeobject.c:Py_XDECREF:
  615|  9.59k|{
  616|  9.59k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  9.59k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2.71k, False: 6.88k]
  ------------------
  617|  2.71k|        Py_DECREF(op);
  ------------------
  |  |  430|  2.71k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  2.71k|    }
  619|  9.59k|}
unicode_writer.c:_Py_REFCNT:
  105|  1.23M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.23M|    #if !defined(Py_GIL_DISABLED)
  107|  1.23M|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  1.23M|    }
unicode_writer.c:_Py_IsImmortal:
  127|  2.23M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  2.23M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.23M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.23M|}
unicode_writer.c:_Py_NewRef:
  632|     16|{
  633|     16|    Py_INCREF(obj);
  ------------------
  |  |  310|     16|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     16|    return obj;
  635|     16|}
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: 2, False: 14]
  ------------------
  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|     14|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     14|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     14|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     14|#endif
  308|     14|}
unicode_writer.c:Py_DECREF:
  418|  1.00M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.00M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.00M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 1.00M]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|  1.00M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.00M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.00M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.00M, False: 14]
  ------------------
  427|  1.00M|        _Py_Dealloc(op);
  428|  1.00M|    }
  429|  1.00M|}
unicode_writer.c:Py_XDECREF:
  615|  2.32M|{
  616|  2.32M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.32M|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 978k, False: 1.34M]
  ------------------
  617|   978k|        Py_DECREF(op);
  ------------------
  |  |  430|   978k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   978k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   978k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   978k|    }
  619|  2.32M|}
unicodeobject.c:Py_DECREF:
  418|  1.73M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.73M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.73M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 40.3k, False: 1.69M]
  |  |  ------------------
  ------------------
  422|  40.3k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  40.3k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  40.3k|        return;
  424|  40.3k|    }
  425|  1.69M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.69M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.69M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.24M, False: 443k]
  ------------------
  427|  1.24M|        _Py_Dealloc(op);
  428|  1.24M|    }
  429|  1.69M|}
unicodeobject.c:_Py_IsImmortal:
  127|  14.4M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  14.4M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  14.4M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  14.4M|}
unicodeobject.c:_Py_REFCNT:
  105|  2.39M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  2.39M|    #if !defined(Py_GIL_DISABLED)
  107|  2.39M|        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.39M|    }
unicodeobject.c:_Py_NewRef:
  632|   444k|{
  633|   444k|    Py_INCREF(obj);
  ------------------
  |  |  310|   444k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   444k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   444k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   444k|    return obj;
  635|   444k|}
unicodeobject.c:Py_XDECREF:
  615|  2.34M|{
  616|  2.34M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.34M|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 31.6k, False: 2.31M]
  ------------------
  617|  31.6k|        Py_DECREF(op);
  ------------------
  |  |  430|  31.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  31.6k|    }
  619|  2.34M|}
unicodeobject.c:Py_INCREF:
  256|  11.4M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  11.4M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  11.4M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 11.0M, False: 403k]
  ------------------
  288|       |        // the object is immortal
  289|  11.0M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  11.0M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  11.0M|        return;
  291|  11.0M|    }
  292|   403k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   403k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   403k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   403k|#endif
  308|   403k|}
unicodeobject.c:Py_SET_REFCNT:
  154|    572|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|    572|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 572, 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|    572|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|    572|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    572|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    572|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 572]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|    572|#ifndef Py_GIL_DISABLED
  170|    572|#if SIZEOF_VOID_P > 4
  171|    572|    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|    572|#endif  // Py_LIMITED_API
  199|    572|}
unionobject.c:Py_DECREF:
  418|      4|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      4|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      4|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      4|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      4|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      4|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 4, False: 0]
  ------------------
  427|      4|        _Py_Dealloc(op);
  428|      4|    }
  429|      4|}
unionobject.c:_Py_IsImmortal:
  127|      4|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      4|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      4|}
unionobject.c:Py_XDECREF:
  615|      5|{
  616|      5|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      5|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2, False: 3]
  ------------------
  617|      2|        Py_DECREF(op);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      2|    }
  619|      5|}
unionobject.c:_Py_REFCNT:
  105|      1|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      1|    #if !defined(Py_GIL_DISABLED)
  107|      1|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      1|    }
weakrefobject.c:Py_INCREF:
  256|  3.10k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.10k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.10k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 175, False: 2.92k]
  ------------------
  288|       |        // the object is immortal
  289|    175|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    175|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    175|        return;
  291|    175|    }
  292|  2.92k|    op->ob_refcnt = cur_refcnt + 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.92k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.92k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.92k|#endif
  308|  2.92k|}
weakrefobject.c:_Py_XNewRef:
  638|  2.50k|{
  639|  2.50k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  2.50k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  2.50k|    return obj;
  641|  2.50k|}
weakrefobject.c:Py_XINCREF:
  605|  2.50k|{
  606|  2.50k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.50k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 1.09k, False: 1.40k]
  ------------------
  607|  1.09k|        Py_INCREF(op);
  ------------------
  |  |  310|  1.09k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  1.09k|    }
  609|  2.50k|}
weakrefobject.c:Py_DECREF:
  418|  2.13k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.13k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.13k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.11k, False: 1.02k]
  |  |  ------------------
  ------------------
  422|  1.11k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.11k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.11k|        return;
  424|  1.11k|    }
  425|  1.02k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.02k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.02k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 994, False: 27]
  ------------------
  427|    994|        _Py_Dealloc(op);
  428|    994|    }
  429|  1.02k|}
weakrefobject.c:_Py_IsImmortal:
  127|  2.13k|{
  128|       |#if defined(Py_GIL_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.13k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.13k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.13k|}
weakrefobject.c:_Py_REFCNT:
  105|  22.2k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  22.2k|    #if !defined(Py_GIL_DISABLED)
  107|  22.2k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  22.2k|    }
weakrefobject.c:Py_XDECREF:
  615|  1.99k|{
  616|  1.99k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.99k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 23, False: 1.97k]
  ------------------
  617|     23|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     23|    }
  619|  1.99k|}
_warnings.c:_Py_NewRef:
  632|      8|{
  633|      8|    Py_INCREF(obj);
  ------------------
  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      8|    return obj;
  635|      8|}
_warnings.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: 8, False: 0]
  ------------------
  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|      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|}
_warnings.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: 10, False: 0]
  |  |  ------------------
  ------------------
  422|     10|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     10|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     10|        return;
  424|     10|    }
  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|}
_warnings.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|}
bltinmodule.c:_Py_NewRef:
  632|    699|{
  633|    699|    Py_INCREF(obj);
  ------------------
  |  |  310|    699|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    699|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    699|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    699|    return obj;
  635|    699|}
bltinmodule.c:Py_INCREF:
  256|  1.79k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.79k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.79k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.22k, False: 571]
  ------------------
  288|       |        // the object is immortal
  289|  1.22k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.22k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.22k|        return;
  291|  1.22k|    }
  292|    571|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    571|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    571|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    571|#endif
  308|    571|}
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|  5.14k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  5.14k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  5.14k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.92k, False: 3.22k]
  |  |  ------------------
  ------------------
  422|  1.92k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.92k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.92k|        return;
  424|  1.92k|    }
  425|  3.22k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.22k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.22k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.72k, False: 1.50k]
  ------------------
  427|  1.72k|        _Py_Dealloc(op);
  428|  1.72k|    }
  429|  3.22k|}
bltinmodule.c:_Py_IsImmortal:
  127|  5.14k|{
  128|       |#if defined(Py_GIL_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.14k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.14k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.14k|}
bltinmodule.c:Py_XDECREF:
  615|  3.28k|{
  616|  3.28k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.28k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2.46k, False: 819]
  ------------------
  617|  2.46k|        Py_DECREF(op);
  ------------------
  |  |  430|  2.46k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  2.46k|    }
  619|  3.28k|}
bltinmodule.c:_Py_XNewRef:
  638|     21|{
  639|     21|    Py_XINCREF(obj);
  ------------------
  |  |  611|     21|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|     21|    return obj;
  641|     21|}
bltinmodule.c:Py_XINCREF:
  605|     21|{
  606|     21|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     21|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 21, False: 0]
  ------------------
  607|     21|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     21|    }
  609|     21|}
ceval.c:_Py_IsImmortal:
  127|  1.72M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.72M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.72M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.72M|}
ceval.c:_Py_NewRef:
  632|  49.8k|{
  633|  49.8k|    Py_INCREF(obj);
  ------------------
  |  |  310|  49.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  49.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  49.8k|    return obj;
  635|  49.8k|}
ceval.c:_Py_IsStaticImmortal:
  141|  2.03M|{
  142|  2.03M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  2.03M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  2.03M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  2.03M|}
ceval.c:_Py_REFCNT:
  105|    429|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    429|    #if !defined(Py_GIL_DISABLED)
  107|    429|        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|    429|    }
ceval.c:Py_INCREF:
  256|  58.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|  58.2k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  58.2k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 37.8k, False: 20.3k]
  ------------------
  288|       |        // the object is immortal
  289|  37.8k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  37.8k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  37.8k|        return;
  291|  37.8k|    }
  292|  20.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|  20.3k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  20.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|  20.3k|#endif
  308|  20.3k|}
ceval.c:Py_XDECREF:
  615|    772|{
  616|    772|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    772|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 32, False: 740]
  ------------------
  617|     32|        Py_DECREF(op);
  ------------------
  |  |  430|     32|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     32|    }
  619|    772|}
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: 5, False: 25]
  ------------------
  427|      5|        _Py_Dealloc(op);
  428|      5|    }
  429|     30|}
ceval.c:Py_XINCREF:
  605|   209k|{
  606|   209k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   209k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 3.57k, False: 206k]
  ------------------
  607|  3.57k|        Py_INCREF(op);
  ------------------
  |  |  310|  3.57k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  3.57k|    }
  609|   209k|}
ceval.c:_Py_XNewRef:
  638|  2.67k|{
  639|  2.67k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  2.67k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  2.67k|    return obj;
  641|  2.67k|}
codecs.c:Py_INCREF:
  256|  1.75M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.75M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.75M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 72.9k, False: 1.68M]
  ------------------
  288|       |        // the object is immortal
  289|  72.9k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  72.9k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  72.9k|        return;
  291|  72.9k|    }
  292|  1.68M|    op->ob_refcnt = cur_refcnt + 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.68M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.68M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.68M|#endif
  308|  1.68M|}
codecs.c:Py_DECREF:
  418|  3.51M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.51M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.51M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.17M, False: 2.34M]
  |  |  ------------------
  ------------------
  422|  1.17M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.17M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.17M|        return;
  424|  1.17M|    }
  425|  2.34M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.34M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.34M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.17M, False: 1.17M]
  ------------------
  427|  1.17M|        _Py_Dealloc(op);
  428|  1.17M|    }
  429|  2.34M|}
codecs.c:_Py_IsImmortal:
  127|  3.51M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  3.51M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.51M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.51M|}
codecs.c:_Py_NewRef:
  632|  1.75M|{
  633|  1.75M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.75M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.75M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  1.75M|    return obj;
  635|  1.75M|}
codecs.c:Py_XDECREF:
  615|  1.09k|{
  616|  1.09k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.09k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 730, False: 365]
  ------------------
  617|    730|        Py_DECREF(op);
  ------------------
  |  |  430|    730|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    730|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    730|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    730|    }
  619|  1.09k|}
codegen.c:Py_DECREF:
  418|      7|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      7|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      7|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 6, False: 1]
  |  |  ------------------
  ------------------
  422|      6|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      6|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      6|        return;
  424|      6|    }
  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|}
codegen.c:_Py_IsImmortal:
  127|      7|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      7|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      7|}
compile.c:_Py_NewRef:
  632|     20|{
  633|     20|    Py_INCREF(obj);
  ------------------
  |  |  310|     20|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     20|    return obj;
  635|     20|}
compile.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: 23, False: 62]
  |  |  ------------------
  ------------------
  422|     23|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     23|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     23|        return;
  424|     23|    }
  425|     62|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     62|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     62|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 25, False: 37]
  ------------------
  427|     25|        _Py_Dealloc(op);
  428|     25|    }
  429|     62|}
compile.c:_Py_IsImmortal:
  127|     85|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     85|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     85|}
compile.c:Py_XDECREF:
  615|      8|{
  616|      8|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      8|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 6, False: 2]
  ------------------
  617|      6|        Py_DECREF(op);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      6|    }
  619|      8|}
compile.c:_Py_XNewRef:
  638|      3|{
  639|      3|    Py_XINCREF(obj);
  ------------------
  |  |  611|      3|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      3|    return obj;
  641|      3|}
compile.c:Py_XINCREF:
  605|      3|{
  606|      3|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      3|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 1, False: 2]
  ------------------
  607|      1|        Py_INCREF(op);
  ------------------
  |  |  310|      1|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      1|    }
  609|      3|}
compile.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: 10, False: 11]
  ------------------
  288|       |        // the object is immortal
  289|     10|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     10|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     10|        return;
  291|     10|    }
  292|     11|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     11|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     11|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     11|#endif
  308|     11|}
context.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|}
context.c:Py_DECREF:
  418|      4|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      4|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      4|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 2]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|      2|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      2|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 2]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      2|}
context.c:_Py_IsImmortal:
  127|      4|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      4|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      4|}
context.c:_Py_NewRef:
  632|      2|{
  633|      2|    Py_INCREF(obj);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      2|    return obj;
  635|      2|}
context.c:Py_XINCREF:
  605|      2|{
  606|      2|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 0, False: 2]
  ------------------
  607|      0|        Py_INCREF(op);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      0|    }
  609|      2|}
context.c:_Py_XNewRef:
  638|      2|{
  639|      2|    Py_XINCREF(obj);
  ------------------
  |  |  611|      2|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      2|    return obj;
  641|      2|}
errors.c:Py_XDECREF:
  615|   406k|{
  616|   406k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   406k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 119k, False: 286k]
  ------------------
  617|   119k|        Py_DECREF(op);
  ------------------
  |  |  430|   119k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   119k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   119k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   119k|    }
  619|   406k|}
errors.c:Py_DECREF:
  418|   173k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   173k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   173k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   173k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   173k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 58, False: 173k]
  |  |  ------------------
  ------------------
  422|     58|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     58|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     58|        return;
  424|     58|    }
  425|   173k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   173k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   173k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 67.6k, False: 105k]
  ------------------
  427|  67.6k|        _Py_Dealloc(op);
  428|  67.6k|    }
  429|   173k|}
errors.c:_Py_IsImmortal:
  127|   173k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   173k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   173k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   173k|}
errors.c:Py_XINCREF:
  605|  69.8k|{
  606|  69.8k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  69.8k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 69.8k, False: 0]
  ------------------
  607|  69.8k|        Py_INCREF(op);
  ------------------
  |  |  310|  69.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  69.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  69.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  69.8k|    }
  609|  69.8k|}
errors.c:Py_INCREF:
  256|  69.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|  69.8k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  69.8k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 58, False: 69.8k]
  ------------------
  288|       |        // the object is immortal
  289|     58|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     58|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     58|        return;
  291|     58|    }
  292|  69.8k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  69.8k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  69.8k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  69.8k|#endif
  308|  69.8k|}
errors.c:_Py_NewRef:
  632|      2|{
  633|      2|    Py_INCREF(obj);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      2|    return obj;
  635|      2|}
flowgraph.c:_Py_NewRef:
  632|      2|{
  633|      2|    Py_INCREF(obj);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      2|    return obj;
  635|      2|}
flowgraph.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|}
flowgraph.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|}
flowgraph.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|}
frame.c:_Py_IsStaticImmortal:
  141|   490k|{
  142|   490k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|   490k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|   490k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|   490k|}
frame.c:Py_DECREF:
  418|  3.70k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.70k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.70k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 3.70k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  3.70k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.70k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.70k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.94k, False: 1.76k]
  ------------------
  427|  1.94k|        _Py_Dealloc(op);
  428|  1.94k|    }
  429|  3.70k|}
frame.c:_Py_IsImmortal:
  127|  5.84k|{
  128|       |#if defined(Py_GIL_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.84k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.84k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.84k|}
frame.c:_Py_REFCNT:
  105|  2.80k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  2.80k|    #if !defined(Py_GIL_DISABLED)
  107|  2.80k|        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.80k|    }
frame.c:Py_INCREF:
  256|  1.41k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.41k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.41k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 1.41k]
  ------------------
  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.41k|    op->ob_refcnt = cur_refcnt + 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.41k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.41k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.41k|#endif
  308|  1.41k|}
frame.c:_Py_NewRef:
  632|    729|{
  633|    729|    Py_INCREF(obj);
  ------------------
  |  |  310|    729|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    729|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    729|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    729|    return obj;
  635|    729|}
gc.c:Py_DECREF:
  418|  9.47k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  9.47k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  9.47k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 9.47k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  9.47k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  9.47k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  9.47k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 9.41k, False: 58]
  ------------------
  427|  9.41k|        _Py_Dealloc(op);
  428|  9.41k|    }
  429|  9.47k|}
gc.c:_Py_IsImmortal:
  127|  26.7M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  26.7M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  26.7M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  26.7M|}
gc.c:Py_INCREF:
  256|  20.0M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  20.0M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  20.0M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3.87M, False: 16.1M]
  ------------------
  288|       |        // the object is immortal
  289|  3.87M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  3.87M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  3.87M|        return;
  291|  3.87M|    }
  292|  16.1M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  16.1M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  16.1M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  16.1M|#endif
  308|  16.1M|}
gc.c:_Py_REFCNT:
  105|  22.9M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  22.9M|    #if !defined(Py_GIL_DISABLED)
  107|  22.9M|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  22.9M|    }
gc.c:Py_XDECREF:
  615|  9.40k|{
  616|  9.40k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  9.40k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 9.40k]
  ------------------
  617|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|  9.40k|}
getargs.c:_Py_NewRef:
  632|  1.27k|{
  633|  1.27k|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.27k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  1.27k|    return obj;
  635|  1.27k|}
getargs.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: 479, False: 791]
  ------------------
  288|       |        // the object is immortal
  289|    479|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    479|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    479|        return;
  291|    479|    }
  292|    791|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    791|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    791|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    791|#endif
  308|    791|}
getargs.c:Py_DECREF:
  418|  6.93k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  6.93k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  6.93k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 6.13k, False: 804]
  |  |  ------------------
  ------------------
  422|  6.13k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  6.13k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  6.13k|        return;
  424|  6.13k|    }
  425|    804|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    804|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    804|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 804]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    804|}
getargs.c:_Py_IsImmortal:
  127|  6.93k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  6.93k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  6.93k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  6.93k|}
import.c:Py_INCREF:
  256|  4.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|  4.02k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.02k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 669, False: 3.35k]
  ------------------
  288|       |        // the object is immortal
  289|    669|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    669|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    669|        return;
  291|    669|    }
  292|  3.35k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  3.35k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.35k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  3.35k|#endif
  308|  3.35k|}
import.c:Py_DECREF:
  418|  8.05k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  8.05k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  8.05k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 932, False: 7.12k]
  |  |  ------------------
  ------------------
  422|    932|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    932|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    932|        return;
  424|    932|    }
  425|  7.12k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  7.12k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  7.12k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 537, False: 6.58k]
  ------------------
  427|    537|        _Py_Dealloc(op);
  428|    537|    }
  429|  7.12k|}
import.c:_Py_IsImmortal:
  127|  8.05k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  8.05k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  8.05k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  8.05k|}
import.c:Py_XDECREF:
  615|  5.70k|{
  616|  5.70k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.70k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 3.27k, False: 2.42k]
  ------------------
  617|  3.27k|        Py_DECREF(op);
  ------------------
  |  |  430|  3.27k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  3.27k|    }
  619|  5.70k|}
import.c:_Py_REFCNT:
  105|      2|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      2|    #if !defined(Py_GIL_DISABLED)
  107|      2|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      2|    }
import.c:Py_XINCREF:
  605|    654|{
  606|    654|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    654|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 321, False: 333]
  ------------------
  607|    321|        Py_INCREF(op);
  ------------------
  |  |  310|    321|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    321|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    321|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    321|    }
  609|    654|}
import.c:_Py_NewRef:
  632|  1.64k|{
  633|  1.64k|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.64k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  1.64k|    return obj;
  635|  1.64k|}
import.c:_Py_XNewRef:
  638|    654|{
  639|    654|    Py_XINCREF(obj);
  ------------------
  |  |  611|    654|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    654|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    654|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|    654|    return obj;
  641|    654|}
importdl.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: 68, False: 100]
  |  |  ------------------
  ------------------
  422|     68|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     68|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     68|        return;
  424|     68|    }
  425|    100|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    100|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    100|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 46, False: 54]
  ------------------
  427|     46|        _Py_Dealloc(op);
  428|     46|    }
  429|    100|}
importdl.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|}
importdl.c:_Py_NewRef:
  632|      2|{
  633|      2|    Py_INCREF(obj);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      2|    return obj;
  635|      2|}
importdl.c:Py_INCREF:
  256|     40|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     40|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     40|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 34, False: 6]
  ------------------
  288|       |        // the object is immortal
  289|     34|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     34|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     34|        return;
  291|     34|    }
  292|      6|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      6|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      6|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      6|#endif
  308|      6|}
initconfig.c:Py_DECREF:
  418|    288|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    288|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    288|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    288|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 234, False: 54]
  |  |  ------------------
  ------------------
  422|    234|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    234|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    234|        return;
  424|    234|    }
  425|     54|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     54|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     54|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 54]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     54|}
initconfig.c:_Py_IsImmortal:
  127|    288|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    288|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    288|}
initconfig.c:_Py_NewRef:
  632|     32|{
  633|     32|    Py_INCREF(obj);
  ------------------
  |  |  310|     32|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     32|    return obj;
  635|     32|}
initconfig.c:Py_INCREF:
  256|     32|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     32|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     32|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 32, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     32|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     32|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     32|        return;
  291|     32|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
instrumentation.c:Py_DECREF:
  418|     48|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     48|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     48|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 30, False: 18]
  |  |  ------------------
  ------------------
  422|     30|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     30|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     30|        return;
  424|     30|    }
  425|     18|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     18|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     18|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 18]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     18|}
instrumentation.c:_Py_IsImmortal:
  127|     48|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     48|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     48|}
instruction_sequence.c:Py_XDECREF:
  615|      4|{
  616|      4|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      4|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 4]
  ------------------
  617|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|      4|}
intrinsics.c:Py_DECREF:
  418|  3.20k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.20k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.20k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.69k, False: 1.51k]
  |  |  ------------------
  ------------------
  422|  1.69k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.69k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.69k|        return;
  424|  1.69k|    }
  425|  1.51k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.51k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.51k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 12, False: 1.49k]
  ------------------
  427|     12|        _Py_Dealloc(op);
  428|     12|    }
  429|  1.51k|}
intrinsics.c:_Py_IsImmortal:
  127|  3.20k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  3.20k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.20k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.20k|}
intrinsics.c:Py_XDECREF:
  615|  1.53k|{
  616|  1.53k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.53k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1.53k, False: 0]
  ------------------
  617|  1.53k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.53k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  1.53k|    }
  619|  1.53k|}
intrinsics.c:_Py_REFCNT:
  105|    189|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    189|    #if !defined(Py_GIL_DISABLED)
  107|    189|        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|    189|    }
marshal.c:Py_DECREF:
  418|  32.9k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  32.9k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  32.9k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 15.4k, False: 17.5k]
  |  |  ------------------
  ------------------
  422|  15.4k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  15.4k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  15.4k|        return;
  424|  15.4k|    }
  425|  17.5k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  17.5k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  17.5k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.25k, False: 14.2k]
  ------------------
  427|  3.25k|        _Py_Dealloc(op);
  428|  3.25k|    }
  429|  17.5k|}
marshal.c:_Py_IsImmortal:
  127|  32.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|  32.9k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  32.9k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  32.9k|}
marshal.c:_Py_NewRef:
  632|  33.6k|{
  633|  33.6k|    Py_INCREF(obj);
  ------------------
  |  |  310|  33.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  33.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  33.6k|    return obj;
  635|  33.6k|}
marshal.c:Py_INCREF:
  256|  33.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|  33.6k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  33.6k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 29.2k, False: 4.39k]
  ------------------
  288|       |        // the object is immortal
  289|  29.2k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  29.2k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  29.2k|        return;
  291|  29.2k|    }
  292|  4.39k|    op->ob_refcnt = cur_refcnt + 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.39k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.39k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.39k|#endif
  308|  4.39k|}
marshal.c:Py_XDECREF:
  615|  31.6k|{
  616|  31.6k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  31.6k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 31.6k, False: 0]
  ------------------
  617|  31.6k|        Py_DECREF(op);
  ------------------
  |  |  430|  31.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  31.6k|    }
  619|  31.6k|}
modsupport.c:Py_INCREF:
  256|  18.0k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  18.0k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  18.0k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 248, False: 17.7k]
  ------------------
  288|       |        // the object is immortal
  289|    248|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    248|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    248|        return;
  291|    248|    }
  292|  17.7k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  17.7k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  17.7k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  17.7k|#endif
  308|  17.7k|}
modsupport.c:Py_XDECREF:
  615|    616|{
  616|    616|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    616|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 616, False: 0]
  ------------------
  617|    616|        Py_DECREF(op);
  ------------------
  |  |  430|    616|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    616|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    616|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    616|    }
  619|    616|}
modsupport.c:Py_DECREF:
  418|    620|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    620|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    620|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    620|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    620|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 364, False: 256]
  |  |  ------------------
  ------------------
  422|    364|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    364|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    364|        return;
  424|    364|    }
  425|    256|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    256|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    256|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 256]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    256|}
modsupport.c:_Py_IsImmortal:
  127|    620|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    620|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    620|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    620|}
pyarena.c:Py_DECREF:
  418|     18|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     18|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     18|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 6, False: 12]
  |  |  ------------------
  ------------------
  422|      6|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      6|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      6|        return;
  424|      6|    }
  425|     12|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     12|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     12|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1, False: 11]
  ------------------
  427|      1|        _Py_Dealloc(op);
  428|      1|    }
  429|     12|}
pyarena.c:_Py_IsImmortal:
  127|     18|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     18|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     18|}
pylifecycle.c:_Py_NewRef:
  632|      2|{
  633|      2|    Py_INCREF(obj);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      2|    return obj;
  635|      2|}
pylifecycle.c:Py_INCREF:
  256|      2|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      2|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|      2|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      2|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      2|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      2|#endif
  308|      2|}
pylifecycle.c:Py_DECREF:
  418|     72|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     72|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     72|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 14, False: 58]
  |  |  ------------------
  ------------------
  422|     14|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     14|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     14|        return;
  424|     14|    }
  425|     58|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     58|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     58|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 6, False: 52]
  ------------------
  427|      6|        _Py_Dealloc(op);
  428|      6|    }
  429|     58|}
pylifecycle.c:_Py_IsImmortal:
  127|     72|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     72|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     72|}
pylifecycle.c:Py_XDECREF:
  615|     12|{
  616|     12|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     12|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 12, False: 0]
  ------------------
  617|     12|        Py_DECREF(op);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     12|    }
  619|     12|}
pythonrun.c:Py_DECREF:
  418|      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: 0, False: 3]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      3|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      3|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      3|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1, False: 2]
  ------------------
  427|      1|        _Py_Dealloc(op);
  428|      1|    }
  429|      3|}
pythonrun.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|}
pythonrun.c:Py_XDECREF:
  615|      3|{
  616|      3|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      3|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2, False: 1]
  ------------------
  617|      2|        Py_DECREF(op);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      2|    }
  619|      3|}
specialize.c:Py_XDECREF:
  615|  1.15k|{
  616|  1.15k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.15k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 568, False: 589]
  ------------------
  617|    568|        Py_DECREF(op);
  ------------------
  |  |  430|    568|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    568|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    568|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    568|    }
  619|  1.15k|}
specialize.c:Py_DECREF:
  418|    589|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    589|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    589|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    589|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    589|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 12, False: 577]
  |  |  ------------------
  ------------------
  422|     12|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     12|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     12|        return;
  424|     12|    }
  425|    577|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    577|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    577|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 577]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    577|}
specialize.c:_Py_IsImmortal:
  127|    589|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    589|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    589|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    589|}
structmember.c:Py_INCREF:
  256|   102k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   102k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   102k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.11k, False: 101k]
  ------------------
  288|       |        // the object is immortal
  289|  1.11k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.11k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.11k|        return;
  291|  1.11k|    }
  292|   101k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   101k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   101k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   101k|#endif
  308|   101k|}
structmember.c:Py_XINCREF:
  605|   102k|{
  606|   102k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   102k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 102k, False: 0]
  ------------------
  607|   102k|        Py_INCREF(op);
  ------------------
  |  |  310|   102k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   102k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|   102k|    }
  609|   102k|}
structmember.c:_Py_XNewRef:
  638|   102k|{
  639|   102k|    Py_XINCREF(obj);
  ------------------
  |  |  611|   102k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   102k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|   102k|    return obj;
  641|   102k|}
structmember.c:Py_XDECREF:
  615|   102k|{
  616|   102k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   102k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 102k]
  ------------------
  617|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|   102k|}
symtable.c:_Py_NewRef:
  632|     71|{
  633|     71|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     71|    return obj;
  635|     71|}
symtable.c:Py_INCREF:
  256|     71|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     71|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     71|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 71, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     71|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     71|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     71|        return;
  291|     71|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
symtable.c:Py_XDECREF:
  615|     33|{
  616|     33|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     33|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 25, False: 8]
  ------------------
  617|     25|        Py_DECREF(op);
  ------------------
  |  |  430|     25|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     25|    }
  619|     33|}
symtable.c:Py_DECREF:
  418|     94|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     94|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     94|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 38, False: 56]
  |  |  ------------------
  ------------------
  422|     38|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     38|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     38|        return;
  424|     38|    }
  425|     56|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     56|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     56|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 35, False: 21]
  ------------------
  427|     35|        _Py_Dealloc(op);
  428|     35|    }
  429|     56|}
symtable.c:_Py_IsImmortal:
  127|     94|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     94|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     94|}
sysmodule.c:Py_XDECREF:
  615|    563|{
  616|    563|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    563|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 475, False: 88]
  ------------------
  617|    475|        Py_DECREF(op);
  ------------------
  |  |  430|    475|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    475|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    475|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    475|    }
  619|    563|}
sysmodule.c:Py_DECREF:
  418|    677|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    677|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    677|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    677|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    677|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 102, False: 575]
  |  |  ------------------
  ------------------
  422|    102|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    102|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    102|        return;
  424|    102|    }
  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: 477, False: 98]
  ------------------
  427|    477|        _Py_Dealloc(op);
  428|    477|    }
  429|    575|}
sysmodule.c:_Py_IsImmortal:
  127|    677|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    677|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    677|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    677|}
sysmodule.c:_Py_XNewRef:
  638|      2|{
  639|      2|    Py_XINCREF(obj);
  ------------------
  |  |  611|      2|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      2|    return obj;
  641|      2|}
sysmodule.c:Py_XINCREF:
  605|      2|{
  606|      2|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 2, False: 0]
  ------------------
  607|      2|        Py_INCREF(op);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      2|    }
  609|      2|}
sysmodule.c:Py_INCREF:
  256|    106|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    106|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    106|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 94, False: 12]
  ------------------
  288|       |        // the object is immortal
  289|     94|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     94|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     94|        return;
  291|     94|    }
  292|     12|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     12|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     12|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     12|#endif
  308|     12|}
sysmodule.c:_Py_NewRef:
  632|     95|{
  633|     95|    Py_INCREF(obj);
  ------------------
  |  |  310|     95|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     95|    return obj;
  635|     95|}
traceback.c:_Py_NewRef:
  632|  3.11k|{
  633|  3.11k|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.11k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  3.11k|    return obj;
  635|  3.11k|}
traceback.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: 0, False: 3.49k]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|  3.49k|    op->ob_refcnt = cur_refcnt + 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.49k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.49k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.49k|#endif
  308|  3.49k|}
traceback.c:Py_XINCREF:
  605|  3.11k|{
  606|  3.11k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.11k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 382, False: 2.73k]
  ------------------
  607|    382|        Py_INCREF(op);
  ------------------
  |  |  310|    382|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    382|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    382|    }
  609|  3.11k|}
traceback.c:_Py_XNewRef:
  638|  3.11k|{
  639|  3.11k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  3.11k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  3.11k|    return obj;
  641|  3.11k|}
traceback.c:Py_XDECREF:
  615|  12.4k|{
  616|  12.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  12.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 6.99k, False: 5.46k]
  ------------------
  617|  6.99k|        Py_DECREF(op);
  ------------------
  |  |  430|  6.99k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  6.99k|    }
  619|  12.4k|}
traceback.c:Py_DECREF:
  418|  6.99k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  6.99k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  6.99k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 6.99k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  6.99k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  6.99k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  6.99k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.24k, False: 5.75k]
  ------------------
  427|  1.24k|        _Py_Dealloc(op);
  428|  1.24k|    }
  429|  6.99k|}
traceback.c:_Py_IsImmortal:
  127|  6.99k|{
  128|       |#if defined(Py_GIL_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.99k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  6.99k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  6.99k|}
typecache.c:Py_INCREF:
  256|  7.59k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.59k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  7.59k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 5.09k, False: 2.50k]
  ------------------
  288|       |        // the object is immortal
  289|  5.09k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  5.09k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  5.09k|        return;
  291|  5.09k|    }
  292|  2.50k|    op->ob_refcnt = cur_refcnt + 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.50k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.50k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.50k|#endif
  308|  2.50k|}
typecache.c:_Py_IsImmortal:
  127|  1.19M|{
  128|       |#if defined(Py_GIL_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.19M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.19M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.19M|}
typecache.c:_Py_IsStaticImmortal:
  141|   600k|{
  142|   600k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|   600k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|   600k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|   600k|}
typecache.c:Py_DECREF:
  418|  4.28k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.28k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.28k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.56k, False: 1.72k]
  |  |  ------------------
  ------------------
  422|  2.56k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.56k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.56k|        return;
  424|  2.56k|    }
  425|  1.72k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.72k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.72k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 1.72k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  1.72k|}
fileutils.c:Py_DECREF:
  418|     20|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     20|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     20|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 20]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     20|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     20|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     20|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 20, False: 0]
  ------------------
  427|     20|        _Py_Dealloc(op);
  428|     20|    }
  429|     20|}
fileutils.c:_Py_IsImmortal:
  127|     20|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     20|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     20|}
posixmodule.c:Py_DECREF:
  418|  2.84k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.84k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.84k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 338, False: 2.50k]
  |  |  ------------------
  ------------------
  422|    338|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    338|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    338|        return;
  424|    338|    }
  425|  2.50k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.50k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.50k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 723, False: 1.78k]
  ------------------
  427|    723|        _Py_Dealloc(op);
  428|    723|    }
  429|  2.50k|}
posixmodule.c:_Py_IsImmortal:
  127|  2.84k|{
  128|       |#if defined(Py_GIL_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.84k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.84k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.84k|}
posixmodule.c:_Py_NewRef:
  632|    478|{
  633|    478|    Py_INCREF(obj);
  ------------------
  |  |  310|    478|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    478|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    478|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    478|    return obj;
  635|    478|}
posixmodule.c:Py_INCREF:
  256|  1.21k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.21k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.21k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 12, False: 1.19k]
  ------------------
  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|  1.19k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  1.19k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.19k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  1.19k|#endif
  308|  1.19k|}
_datetimemodule.c:Py_INCREF:
  256|     12|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     12|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     12|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8, False: 4]
  ------------------
  288|       |        // the object is immortal
  289|      8|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      8|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      8|        return;
  291|      8|    }
  292|      4|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      4|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      4|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      4|#endif
  308|      4|}
_datetimemodule.c:_Py_NewRef:
  632|      4|{
  633|      4|    Py_INCREF(obj);
  ------------------
  |  |  310|      4|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      4|    return obj;
  635|      4|}
_datetimemodule.c:Py_DECREF:
  418|     32|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     32|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     32|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 32]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     32|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     32|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     32|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 32]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     32|}
_datetimemodule.c:_Py_IsImmortal:
  127|     40|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     40|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     40|}
_datetimemodule.c:_Py_XNewRef:
  638|      4|{
  639|      4|    Py_XINCREF(obj);
  ------------------
  |  |  611|      4|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      4|    return obj;
  641|      4|}
_datetimemodule.c:Py_XINCREF:
  605|      4|{
  606|      4|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      4|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 0, False: 4]
  ------------------
  607|      0|        Py_INCREF(op);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      0|    }
  609|      4|}
_collectionsmodule.c:_Py_NewRef:
  632|      4|{
  633|      4|    Py_INCREF(obj);
  ------------------
  |  |  310|      4|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      4|    return obj;
  635|      4|}
_collectionsmodule.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|}
_collectionsmodule.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: 4, False: 0]
  |  |  ------------------
  ------------------
  422|      4|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      4|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      4|        return;
  424|      4|    }
  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|      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|}
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|    610|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    610|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    610|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    610|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    610|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 212, False: 398]
  |  |  ------------------
  ------------------
  422|    212|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    212|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    212|        return;
  424|    212|    }
  425|    398|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    398|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    398|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 202, False: 196]
  ------------------
  427|    202|        _Py_Dealloc(op);
  428|    202|    }
  429|    398|}
_iomodule.c:_Py_IsImmortal:
  127|    610|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    610|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    610|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    610|}
_iomodule.c:_Py_NewRef:
  632|      6|{
  633|      6|    Py_INCREF(obj);
  ------------------
  |  |  310|      6|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      6|    return obj;
  635|      6|}
_iomodule.c:Py_INCREF:
  256|      6|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      6|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      6|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|      6|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      6|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      6|        return;
  291|      6|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
iobase.c:_Py_REFCNT:
  105|    190|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    190|    #if !defined(Py_GIL_DISABLED)
  107|    190|        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|    190|    }
iobase.c:Py_DECREF:
  418|    481|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    481|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    481|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    481|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    481|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 386, False: 95]
  |  |  ------------------
  ------------------
  422|    386|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    386|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    386|        return;
  424|    386|    }
  425|     95|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     95|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     95|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 95, False: 0]
  ------------------
  427|     95|        _Py_Dealloc(op);
  428|     95|    }
  429|     95|}
iobase.c:_Py_IsImmortal:
  127|    481|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    481|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    481|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    481|}
iobase.c:Py_INCREF:
  256|     95|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     95|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     95|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 95]
  ------------------
  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|     95|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     95|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     95|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     95|#endif
  308|     95|}
iobase.c:_Py_NewRef:
  632|     95|{
  633|     95|    Py_INCREF(obj);
  ------------------
  |  |  310|     95|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     95|    return obj;
  635|     95|}
iobase.c:Py_XDECREF:
  615|     95|{
  616|     95|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     95|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 95, False: 0]
  ------------------
  617|     95|        Py_DECREF(op);
  ------------------
  |  |  430|     95|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     95|    }
  619|     95|}
fileio.c:_Py_REFCNT:
  105|     95|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     95|    #if !defined(Py_GIL_DISABLED)
  107|     95|        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|     95|    }
fileio.c:Py_DECREF:
  418|    285|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    285|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    285|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    285|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    285|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 285]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    285|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    285|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    285|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 190, False: 95]
  ------------------
  427|    190|        _Py_Dealloc(op);
  428|    190|    }
  429|    285|}
fileio.c:_Py_IsImmortal:
  127|    285|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    285|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    285|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    285|}
bytesio.c:Py_DECREF:
  418|  50.5k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  50.5k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  50.5k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  50.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 16.8k, False: 33.6k]
  |  |  ------------------
  ------------------
  422|  16.8k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  16.8k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  16.8k|        return;
  424|  16.8k|    }
  425|  33.6k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  33.6k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  33.6k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 16.8k, False: 16.8k]
  ------------------
  427|  16.8k|        _Py_Dealloc(op);
  428|  16.8k|    }
  429|  33.6k|}
bytesio.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|}
bytesio.c:_Py_REFCNT:
  105|  16.8k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  16.8k|    #if !defined(Py_GIL_DISABLED)
  107|  16.8k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  16.8k|    }
bytesio.c:_Py_NewRef:
  632|  32.7k|{
  633|  32.7k|    Py_INCREF(obj);
  ------------------
  |  |  310|  32.7k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  32.7k|    return obj;
  635|  32.7k|}
bytesio.c:Py_INCREF:
  256|  32.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|  32.7k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  32.7k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 29, False: 32.7k]
  ------------------
  288|       |        // the object is immortal
  289|     29|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     29|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     29|        return;
  291|     29|    }
  292|  32.7k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  32.7k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  32.7k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  32.7k|#endif
  308|  32.7k|}
bytesio.c:Py_XDECREF:
  615|  16.8k|{
  616|  16.8k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  16.8k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 16.8k, False: 0]
  ------------------
  617|  16.8k|        Py_DECREF(op);
  ------------------
  |  |  430|  16.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  16.8k|    }
  619|  16.8k|}
bufferedio.c:Py_DECREF:
  418|    586|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    586|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    586|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    586|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    586|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 105, False: 481]
  |  |  ------------------
  ------------------
  422|    105|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    105|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    105|        return;
  424|    105|    }
  425|    481|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    481|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    481|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 190, False: 291]
  ------------------
  427|    190|        _Py_Dealloc(op);
  428|    190|    }
  429|    481|}
bufferedio.c:_Py_IsImmortal:
  127|    586|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    586|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    586|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    586|}
bufferedio.c:_Py_REFCNT:
  105|     95|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     95|    #if !defined(Py_GIL_DISABLED)
  107|     95|        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|     95|    }
bufferedio.c:Py_XDECREF:
  615|    386|{
  616|    386|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    386|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 95, False: 291]
  ------------------
  617|     95|        Py_DECREF(op);
  ------------------
  |  |  430|     95|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     95|    }
  619|    386|}
bufferedio.c:_Py_NewRef:
  632|     97|{
  633|     97|    Py_INCREF(obj);
  ------------------
  |  |  310|     97|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     97|    return obj;
  635|     97|}
bufferedio.c:Py_INCREF:
  256|    196|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    196|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    196|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 196]
  ------------------
  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|    196|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    196|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    196|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    196|#endif
  308|    196|}
bufferedio.c:Py_XINCREF:
  605|     95|{
  606|     95|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     95|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 95, False: 0]
  ------------------
  607|     95|        Py_INCREF(op);
  ------------------
  |  |  310|     95|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     95|    }
  609|     95|}
textio.c:_Py_NewRef:
  632|     28|{
  633|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     28|    return obj;
  635|     28|}
textio.c:Py_INCREF:
  256|     28|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     28|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     28|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 28]
  ------------------
  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|     28|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     28|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     28|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     28|#endif
  308|     28|}
textio.c:Py_DECREF:
  418|     50|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     50|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     50|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 24, False: 26]
  |  |  ------------------
  ------------------
  422|     24|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     24|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     24|        return;
  424|     24|    }
  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|}
textio.c:_Py_IsImmortal:
  127|     50|{
  128|       |#if defined(Py_GIL_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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     50|}
textio.c:Py_XDECREF:
  615|     10|{
  616|     10|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     10|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 4, False: 6]
  ------------------
  617|      4|        Py_DECREF(op);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      4|    }
  619|     10|}
itertoolsmodule.c:Py_DECREF:
  418|      1|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      1|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1, False: 0]
  |  |  ------------------
  ------------------
  422|      1|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      1|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      1|        return;
  424|      1|    }
  425|      0|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      0|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 0]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      0|}
itertoolsmodule.c:_Py_IsImmortal:
  127|      1|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      1|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      1|}
itertoolsmodule.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|}
sre.c:Py_DECREF:
  418|     11|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     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: 7, False: 4]
  |  |  ------------------
  ------------------
  422|      7|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      7|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      7|        return;
  424|      7|    }
  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|     11|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     11|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     11|}
sre.c:_Py_NewRef:
  632|      5|{
  633|      5|    Py_INCREF(obj);
  ------------------
  |  |  310|      5|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      5|    return obj;
  635|      5|}
sre.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: 4, False: 2]
  ------------------
  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|      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|}
sre.c:Py_XDECREF:
  615|      1|{
  616|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1, False: 0]
  ------------------
  617|      1|        Py_DECREF(op);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      1|    }
  619|      1|}
sre.c:_Py_REFCNT:
  105|      2|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      2|    #if !defined(Py_GIL_DISABLED)
  107|      2|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      2|    }
_threadmodule.c:Py_DECREF:
  418|    938|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    938|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    938|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    938|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    938|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 938]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    938|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    938|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    938|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 938]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    938|}
_threadmodule.c:_Py_IsImmortal:
  127|    938|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    938|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    938|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    938|}
_abc.c:Py_INCREF:
  256|  1.00k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.00k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.00k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 993, False: 10]
  ------------------
  288|       |        // the object is immortal
  289|    993|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    993|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    993|        return;
  291|    993|    }
  292|     10|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     10|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     10|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     10|#endif
  308|     10|}
_abc.c:Py_DECREF:
  418|  3.15k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.15k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.15k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.07k, False: 2.08k]
  |  |  ------------------
  ------------------
  422|  1.07k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.07k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.07k|        return;
  424|  1.07k|    }
  425|  2.08k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.08k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.08k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 279, False: 1.80k]
  ------------------
  427|    279|        _Py_Dealloc(op);
  428|    279|    }
  429|  2.08k|}
_abc.c:_Py_IsImmortal:
  127|  3.15k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  3.15k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.15k|}
_abc.c:Py_XDECREF:
  615|    366|{
  616|    366|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    366|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 265, False: 101]
  ------------------
  617|    265|        Py_DECREF(op);
  ------------------
  |  |  430|    265|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    265|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    265|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    265|    }
  619|    366|}
_abc.c:_Py_NewRef:
  632|     78|{
  633|     78|    Py_INCREF(obj);
  ------------------
  |  |  310|     78|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     78|    return obj;
  635|     78|}
_abc.c:_Py_XNewRef:
  638|     78|{
  639|     78|    Py_XINCREF(obj);
  ------------------
  |  |  611|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|     78|    return obj;
  641|     78|}
_abc.c:Py_XINCREF:
  605|     78|{
  606|     78|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     78|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 78, False: 0]
  ------------------
  607|     78|        Py_INCREF(op);
  ------------------
  |  |  310|     78|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     78|    }
  609|     78|}
_functoolsmodule.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|}
_functoolsmodule.c:Py_DECREF:
  418|      1|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      1|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 1]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      1|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      1|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 1]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      1|}
_functoolsmodule.c:_Py_IsImmortal:
  127|      1|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      1|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      1|}
_functoolsmodule.c:_Py_NewRef:
  632|      4|{
  633|      4|    Py_INCREF(obj);
  ------------------
  |  |  310|      4|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      4|    return obj;
  635|      4|}
getpath.c:Py_DECREF:
  418|     88|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     88|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     88|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 24, False: 64]
  |  |  ------------------
  ------------------
  422|     24|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     24|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     24|        return;
  424|     24|    }
  425|     64|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     64|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     64|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 26, False: 38]
  ------------------
  427|     26|        _Py_Dealloc(op);
  428|     26|    }
  429|     64|}
getpath.c:_Py_IsImmortal:
  127|     88|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     88|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     88|}
getpath.c:Py_XDECREF:
  615|     24|{
  616|     24|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     24|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 24, False: 0]
  ------------------
  617|     24|        Py_DECREF(op);
  ------------------
  |  |  430|     24|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     24|    }
  619|     24|}
getpath.c:_Py_NewRef:
  632|     16|{
  633|     16|    Py_INCREF(obj);
  ------------------
  |  |  310|     16|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     16|    return obj;
  635|     16|}
getpath.c:Py_INCREF:
  256|     16|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     16|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     16|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 16, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     16|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     16|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     16|        return;
  291|     16|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
reader.c:Py_XDECREF:
  615|      2|{
  616|      2|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 2]
  ------------------
  617|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|      2|}
abstract.c:_Py_NewRef:
  632|  73.4k|{
  633|  73.4k|    Py_INCREF(obj);
  ------------------
  |  |  310|  73.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  73.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  73.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  73.4k|    return obj;
  635|  73.4k|}
abstract.c:Py_INCREF:
  256|  73.5k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  73.5k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  73.5k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 7.63k, False: 65.9k]
  ------------------
  288|       |        // the object is immortal
  289|  7.63k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  7.63k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  7.63k|        return;
  291|  7.63k|    }
  292|  65.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|  65.9k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  65.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|  65.9k|#endif
  308|  65.9k|}
abstract.c:Py_DECREF:
  418|  2.26M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.26M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.26M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 828k, False: 1.44M]
  |  |  ------------------
  ------------------
  422|   828k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   828k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   828k|        return;
  424|   828k|    }
  425|  1.44M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.44M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.44M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 824k, False: 616k]
  ------------------
  427|   824k|        _Py_Dealloc(op);
  428|   824k|    }
  429|  1.44M|}
abstract.c:_Py_IsImmortal:
  127|  2.26M|{
  128|       |#if defined(Py_GIL_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.26M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.26M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.26M|}
abstract.c:_Py_XNewRef:
  638|   586k|{
  639|   586k|    Py_XINCREF(obj);
  ------------------
  |  |  611|   586k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   586k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   586k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|   586k|    return obj;
  641|   586k|}
abstract.c:Py_XINCREF:
  605|   586k|{
  606|   586k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   586k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 175, False: 585k]
  ------------------
  607|    175|        Py_INCREF(op);
  ------------------
  |  |  310|    175|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    175|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    175|    }
  609|   586k|}
abstract.c:_Py_IsStaticImmortal:
  141|     90|{
  142|     90|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|     90|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|     90|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|     90|}
bytearrayobject.c:Py_DECREF:
  418|     26|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     26|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     26|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 24]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|     24|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     24|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     24|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 24, False: 0]
  ------------------
  427|     24|        _Py_Dealloc(op);
  428|     24|    }
  429|     24|}
bytearrayobject.c:_Py_IsImmortal:
  127|     30|{
  128|       |#if defined(Py_GIL_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|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     30|}
bytearrayobject.c:Py_XDECREF:
  615|     26|{
  616|     26|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     26|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 26, False: 0]
  ------------------
  617|     26|        Py_DECREF(op);
  ------------------
  |  |  430|     26|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     26|    }
  619|     26|}
bytearrayobject.c:_Py_NewRef:
  632|      2|{
  633|      2|    Py_INCREF(obj);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      2|    return obj;
  635|      2|}
bytearrayobject.c:Py_INCREF:
  256|      2|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      2|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|      2|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      2|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      2|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      2|#endif
  308|      2|}
bytesobject.c:Py_INCREF:
  256|  4.55M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.55M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.55M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 4.55M, False: 38]
  ------------------
  288|       |        // the object is immortal
  289|  4.55M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  4.55M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  4.55M|        return;
  291|  4.55M|    }
  292|     38|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     38|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     38|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     38|#endif
  308|     38|}
bytesobject.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: 4, False: 0]
  |  |  ------------------
  ------------------
  422|      4|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      4|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      4|        return;
  424|      4|    }
  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|}
bytesobject.c:Py_XDECREF:
  615|      2|{
  616|      2|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2, False: 0]
  ------------------
  617|      2|        Py_DECREF(op);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      2|    }
  619|      2|}
bytesobject.c:_Py_NewRef:
  632|     40|{
  633|     40|    Py_INCREF(obj);
  ------------------
  |  |  310|     40|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     40|    return obj;
  635|     40|}
bytesobject.c:_Py_REFCNT:
  105|  4.57M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  4.57M|    #if !defined(Py_GIL_DISABLED)
  107|  4.57M|        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.57M|    }
bytesobject.c:_Py_IsImmortal:
  127|  16.8M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  16.8M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  16.8M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  16.8M|}
cellobject.c:_Py_XNewRef:
  638|  1.58k|{
  639|  1.58k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  1.58k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  1.58k|    return obj;
  641|  1.58k|}
cellobject.c:Py_XINCREF:
  605|  1.58k|{
  606|  1.58k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.58k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 812, False: 775]
  ------------------
  607|    812|        Py_INCREF(op);
  ------------------
  |  |  310|    812|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    812|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    812|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    812|    }
  609|  1.58k|}
cellobject.c:Py_INCREF:
  256|    812|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    812|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    812|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6, False: 806]
  ------------------
  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|    806|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    806|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    806|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    806|#endif
  308|    806|}
cellobject.c:Py_XDECREF:
  615|  1.35k|{
  616|  1.35k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.35k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1.31k, False: 41]
  ------------------
  617|  1.31k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.31k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  1.31k|    }
  619|  1.35k|}
cellobject.c:Py_DECREF:
  418|  1.32k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.32k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.32k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5, False: 1.31k]
  |  |  ------------------
  ------------------
  422|      5|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      5|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      5|        return;
  424|      5|    }
  425|  1.31k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.31k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.31k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 17, False: 1.30k]
  ------------------
  427|     17|        _Py_Dealloc(op);
  428|     17|    }
  429|  1.31k|}
cellobject.c:_Py_IsImmortal:
  127|  1.32k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.32k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.32k|}
classobject.c:_Py_NewRef:
  632|  5.74k|{
  633|  5.74k|    Py_INCREF(obj);
  ------------------
  |  |  310|  5.74k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  5.74k|    return obj;
  635|  5.74k|}
classobject.c:Py_INCREF:
  256|  5.74k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  5.74k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  5.74k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 5.74k]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|  5.74k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  5.74k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  5.74k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  5.74k|#endif
  308|  5.74k|}
classobject.c:_Py_REFCNT:
  105|  2.71k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  2.71k|    #if !defined(Py_GIL_DISABLED)
  107|  2.71k|        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.71k|    }
classobject.c:Py_DECREF:
  418|  5.42k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  5.42k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  5.42k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 5.42k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  5.42k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.42k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  5.42k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 5.42k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  5.42k|}
classobject.c:_Py_IsImmortal:
  127|  5.42k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  5.42k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.42k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.42k|}
classobject.c:Py_XDECREF:
  615|  2.71k|{
  616|  2.71k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.71k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2.71k, False: 0]
  ------------------
  617|  2.71k|        Py_DECREF(op);
  ------------------
  |  |  430|  2.71k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  2.71k|    }
  619|  2.71k|}
codeobject.c:_Py_NewRef:
  632|  28.1k|{
  633|  28.1k|    Py_INCREF(obj);
  ------------------
  |  |  310|  28.1k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  28.1k|    return obj;
  635|  28.1k|}
codeobject.c:Py_INCREF:
  256|  28.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|  28.1k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  28.1k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 13.9k, False: 14.2k]
  ------------------
  288|       |        // the object is immortal
  289|  13.9k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  13.9k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  13.9k|        return;
  291|  13.9k|    }
  292|  14.2k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  14.2k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  14.2k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  14.2k|#endif
  308|  14.2k|}
codeobject.c:Py_XDECREF:
  615|  10.7k|{
  616|  10.7k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  10.7k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 7.60k, False: 3.13k]
  ------------------
  617|  7.60k|        Py_DECREF(op);
  ------------------
  |  |  430|  7.60k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  7.60k|    }
  619|  10.7k|}
codeobject.c:_Py_REFCNT:
  105|  7.35k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  7.35k|    #if !defined(Py_GIL_DISABLED)
  107|  7.35k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  7.35k|    }
codeobject.c:Py_DECREF:
  418|  7.62k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  7.62k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  7.62k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4.44k, False: 3.17k]
  |  |  ------------------
  ------------------
  422|  4.44k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  4.44k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  4.44k|        return;
  424|  4.44k|    }
  425|  3.17k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.17k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.17k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.48k, False: 695]
  ------------------
  427|  2.48k|        _Py_Dealloc(op);
  428|  2.48k|    }
  429|  3.17k|}
codeobject.c:_Py_IsImmortal:
  127|  9.31k|{
  128|       |#if defined(Py_GIL_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.31k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  9.31k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  9.31k|}
codeobject.c:Py_SET_REFCNT:
  154|  1.69k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  1.69k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 1.69k, 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.69k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  1.69k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 1.69k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  1.69k|#ifndef Py_GIL_DISABLED
  170|  1.69k|#if SIZEOF_VOID_P > 4
  171|  1.69k|    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.69k|#endif  // Py_LIMITED_API
  199|  1.69k|}
descrobject.c:Py_XDECREF:
  615|    719|{
  616|    719|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    719|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 377, False: 342]
  ------------------
  617|    377|        Py_DECREF(op);
  ------------------
  |  |  430|    377|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    377|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    377|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    377|    }
  619|    719|}
descrobject.c:Py_DECREF:
  418|  1.44k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.44k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.44k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 145, False: 1.30k]
  |  |  ------------------
  ------------------
  422|    145|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    145|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    145|        return;
  424|    145|    }
  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: 643, False: 658]
  ------------------
  427|    643|        _Py_Dealloc(op);
  428|    643|    }
  429|  1.30k|}
descrobject.c:_Py_IsImmortal:
  127|  1.44k|{
  128|       |#if defined(Py_GIL_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.44k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.44k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.44k|}
descrobject.c:_Py_XNewRef:
  638|  5.31k|{
  639|  5.31k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  5.31k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  5.31k|    return obj;
  641|  5.31k|}
descrobject.c:Py_XINCREF:
  605|  5.31k|{
  606|  5.31k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.31k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 5.26k, False: 56]
  ------------------
  607|  5.26k|        Py_INCREF(op);
  ------------------
  |  |  310|  5.26k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  5.26k|    }
  609|  5.31k|}
descrobject.c:Py_INCREF:
  256|  6.03k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  6.03k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  6.03k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3.81k, False: 2.21k]
  ------------------
  288|       |        // the object is immortal
  289|  3.81k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  3.81k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  3.81k|        return;
  291|  3.81k|    }
  292|  2.21k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.21k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.21k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.21k|#endif
  308|  2.21k|}
descrobject.c:_Py_NewRef:
  632|    774|{
  633|    774|    Py_INCREF(obj);
  ------------------
  |  |  310|    774|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    774|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    774|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    774|    return obj;
  635|    774|}
enumobject.c:Py_XDECREF:
  615|     87|{
  616|     87|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     87|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 58, False: 29]
  ------------------
  617|     58|        Py_DECREF(op);
  ------------------
  |  |  430|     58|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     58|    }
  619|     87|}
enumobject.c:Py_DECREF:
  418|    424|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    424|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    424|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    424|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    424|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 334, False: 90]
  |  |  ------------------
  ------------------
  422|    334|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    334|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    334|        return;
  424|    334|    }
  425|     90|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     90|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     90|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 60, False: 30]
  ------------------
  427|     60|        _Py_Dealloc(op);
  428|     60|    }
  429|     90|}
enumobject.c:_Py_IsImmortal:
  127|    424|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    424|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    424|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    424|}
enumobject.c:_Py_REFCNT:
  105|    182|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    182|    #if !defined(Py_GIL_DISABLED)
  107|    182|        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|    182|    }
enumobject.c:Py_INCREF:
  256|    182|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    182|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    182|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 182]
  ------------------
  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|    182|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    182|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    182|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    182|#endif
  308|    182|}
genobject.c:Py_INCREF:
  256|    388|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    388|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    388|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 388, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|    388|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    388|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    388|        return;
  291|    388|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
genobject.c:_Py_NewRef:
  632|    388|{
  633|    388|    Py_INCREF(obj);
  ------------------
  |  |  310|    388|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    388|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    388|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    388|    return obj;
  635|    388|}
genobject.c:Py_DECREF:
  418|    538|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    538|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    538|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    538|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    538|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 538, False: 0]
  |  |  ------------------
  ------------------
  422|    538|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    538|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    538|        return;
  424|    538|    }
  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|    881|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    881|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    881|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    881|}
genobject.c:_Py_REFCNT:
  105|    194|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    194|    #if !defined(Py_GIL_DISABLED)
  107|    194|        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|    194|    }
genobject.c:_Py_IsStaticImmortal:
  141|    194|{
  142|    194|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|    194|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|    194|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|    194|}
fileobject.c:Py_DECREF:
  418|    285|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    285|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    285|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    285|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    285|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 190, False: 95]
  |  |  ------------------
  ------------------
  422|    190|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    190|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    190|        return;
  424|    190|    }
  425|     95|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     95|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     95|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 95]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     95|}
fileobject.c:_Py_IsImmortal:
  127|    285|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    285|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    285|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    285|}
floatobject.c:_Py_IsImmortal:
  127|     62|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     62|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     62|}
floatobject.c:Py_INCREF:
  256|     62|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     62|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     62|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 62, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     62|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     62|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     62|        return;
  291|     62|    }
  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|    658|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    658|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    658|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 658]
  ------------------
  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|    658|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    658|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    658|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    658|#endif
  308|    658|}
frameobject.c:_Py_IsImmortal:
  127|    733|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    733|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    733|}
frameobject.c:_Py_IsStaticImmortal:
  141|  5.50k|{
  142|  5.50k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  5.50k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  5.50k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  5.50k|}
frameobject.c:Py_DECREF:
  418|    733|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    733|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    733|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 733]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    733|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    733|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    733|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 731]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|    733|}
frameobject.c:_Py_REFCNT:
  105|  2.80k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  2.80k|    #if !defined(Py_GIL_DISABLED)
  107|  2.80k|        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.80k|    }
frameobject.c:_Py_NewRef:
  632|    658|{
  633|    658|    Py_INCREF(obj);
  ------------------
  |  |  310|    658|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    658|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    658|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    658|    return obj;
  635|    658|}
interpolationobject.c:Py_DECREF:
  418|      2|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      2|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      2|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      2|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      2|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 2]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      2|}
interpolationobject.c:_Py_IsImmortal:
  127|      2|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      2|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      2|}
iterobject.c:_Py_NewRef:
  632|     20|{
  633|     20|    Py_INCREF(obj);
  ------------------
  |  |  310|     20|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     20|    return obj;
  635|     20|}
iterobject.c:Py_INCREF:
  256|     20|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     20|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     20|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 20]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|     20|    op->ob_refcnt = cur_refcnt + 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|}
iterobject.c:Py_XDECREF:
  615|     20|{
  616|     20|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     20|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 20]
  ------------------
  617|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|     20|}
iterobject.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: 0, False: 20]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     20|}
iterobject.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|}
lazyimportobject.c:_Py_XNewRef:
  638|     28|{
  639|     28|    Py_XINCREF(obj);
  ------------------
  |  |  611|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|     28|    return obj;
  641|     28|}
lazyimportobject.c:Py_XINCREF:
  605|     28|{
  606|     28|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     28|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 17, False: 11]
  ------------------
  607|     17|        Py_INCREF(op);
  ------------------
  |  |  310|     17|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     17|    }
  609|     28|}
lazyimportobject.c:Py_INCREF:
  256|     43|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     43|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     43|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 13, False: 30]
  ------------------
  288|       |        // the object is immortal
  289|     13|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     13|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     13|        return;
  291|     13|    }
  292|     30|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     30|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     30|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     30|#endif
  308|     30|}
lazyimportobject.c:_Py_NewRef:
  632|     26|{
  633|     26|    Py_INCREF(obj);
  ------------------
  |  |  310|     26|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     26|    return obj;
  635|     26|}
lazyimportobject.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: 1, False: 8]
  |  |  ------------------
  ------------------
  422|      1|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      1|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      1|        return;
  424|      1|    }
  425|      8|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      8|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      8|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 8]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      8|}
lazyimportobject.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_XDECREF:
  615|      6|{
  616|      6|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      6|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 3, False: 3]
  ------------------
  617|      3|        Py_DECREF(op);
  ------------------
  |  |  430|      3|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      3|    }
  619|      6|}
memoryobject.c:_Py_NewRef:
  632|  1.17M|{
  633|  1.17M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.17M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  1.17M|    return obj;
  635|  1.17M|}
memoryobject.c:Py_INCREF:
  256|  1.17M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.17M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.17M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 1.17M]
  ------------------
  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.17M|    op->ob_refcnt = cur_refcnt + 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.17M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.17M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.17M|#endif
  308|  1.17M|}
memoryobject.c:Py_DECREF:
  418|  1.17M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.17M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.17M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 1.17M]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  1.17M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.17M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.17M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 585k, False: 586k]
  ------------------
  427|   585k|        _Py_Dealloc(op);
  428|   585k|    }
  429|  1.17M|}
memoryobject.c:_Py_IsImmortal:
  127|  1.17M|{
  128|       |#if defined(Py_GIL_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.17M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.17M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.17M|}
methodobject.c:_Py_NewRef:
  632|    101|{
  633|    101|    Py_INCREF(obj);
  ------------------
  |  |  310|    101|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    101|    return obj;
  635|    101|}
methodobject.c:Py_INCREF:
  256|   526k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   526k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   526k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.92k, False: 524k]
  ------------------
  288|       |        // the object is immortal
  289|  1.92k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.92k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.92k|        return;
  291|  1.92k|    }
  292|   524k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   524k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   524k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   524k|#endif
  308|   524k|}
methodobject.c:_Py_XNewRef:
  638|  1.05M|{
  639|  1.05M|    Py_XINCREF(obj);
  ------------------
  |  |  611|  1.05M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  1.05M|    return obj;
  641|  1.05M|}
methodobject.c:Py_XINCREF:
  605|  1.05M|{
  606|  1.05M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.05M|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 526k, False: 524k]
  ------------------
  607|   526k|        Py_INCREF(op);
  ------------------
  |  |  310|   526k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   526k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   526k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|   526k|    }
  609|  1.05M|}
methodobject.c:_Py_REFCNT:
  105|   523k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   523k|    #if !defined(Py_GIL_DISABLED)
  107|   523k|        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|   523k|    }
methodobject.c:Py_XDECREF:
  615|  1.57M|{
  616|  1.57M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.57M|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 523k, False: 1.04M]
  ------------------
  617|   523k|        Py_DECREF(op);
  ------------------
  |  |  430|   523k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   523k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   523k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   523k|    }
  619|  1.57M|}
methodobject.c:Py_DECREF:
  418|   523k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   523k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   523k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   523k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   523k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 991, False: 522k]
  |  |  ------------------
  ------------------
  422|    991|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    991|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    991|        return;
  424|    991|    }
  425|   522k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   522k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   522k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 31, False: 522k]
  ------------------
  427|     31|        _Py_Dealloc(op);
  428|     31|    }
  429|   522k|}
methodobject.c:_Py_IsImmortal:
  127|   523k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   523k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   523k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   523k|}
namespaceobject.c:Py_DECREF:
  418|      2|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      2|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      2|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      2|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      2|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 0]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|      2|}
namespaceobject.c:_Py_IsImmortal:
  127|      2|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      2|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      2|}
unicode_format.c:Py_XDECREF:
  615|     21|{
  616|     21|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     21|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 21]
  ------------------
  617|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|     21|}
assemble.c:Py_DECREF:
  418|     14|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     14|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     14|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5, False: 9]
  |  |  ------------------
  ------------------
  422|      5|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      5|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      5|        return;
  424|      5|    }
  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|}
assemble.c:_Py_IsImmortal:
  127|     14|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     14|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     14|}
assemble.c:_Py_NewRef:
  632|      1|{
  633|      1|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      1|    return obj;
  635|      1|}
assemble.c:Py_INCREF:
  256|      1|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      1|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1, False: 0]
  ------------------
  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|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
assemble.c:Py_XDECREF:
  615|     14|{
  616|     14|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     14|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 14, False: 0]
  ------------------
  617|     14|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     14|    }
  619|     14|}
pegen.c:Py_XDECREF:
  615|      1|{
  616|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 1]
  ------------------
  617|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|      1|}
state.c:Py_XDECREF:
  615|      2|{
  616|      2|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2, False: 0]
  ------------------
  617|      2|        Py_DECREF(op);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      2|    }
  619|      2|}
state.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: 1, False: 1]
  |  |  ------------------
  ------------------
  422|      1|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      1|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      1|        return;
  424|      1|    }
  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|}
state.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|}
api.c:Py_XINCREF:
  605|      2|{
  606|      2|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 2, False: 0]
  ------------------
  607|      2|        Py_INCREF(op);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      2|    }
  609|      2|}
api.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: 1, False: 1]
  ------------------
  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|      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|}
api.c:Py_XDECREF:
  615|      2|{
  616|      2|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 2]
  ------------------
  617|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|      2|}

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

PyInit__codecs:
 1186|      2|{
 1187|      2|    return PyModuleDef_Init(&codecsmodule);
 1188|      2|}
_codecsmodule.c:_codecs_register:
   67|      4|{
   68|      4|    if (PyCodec_Register(search_function))
  ------------------
  |  Branch (68:9): [True: 0, False: 4]
  ------------------
   69|      0|        return NULL;
   70|       |
   71|      4|    Py_RETURN_NONE;
  ------------------
  |  |  628|      4|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   72|      4|}
_codecsmodule.c:codec_tuple:
  170|   201k|{
  171|   201k|    if (decoded == NULL)
  ------------------
  |  Branch (171:9): [True: 446, False: 201k]
  ------------------
  172|    446|        return NULL;
  173|   201k|    return Py_BuildValue("Nn", decoded, len);
  174|   201k|}
_codecsmodule.c:_codecs_utf_8_decode_impl:
  285|   200k|{
  286|   200k|    Py_ssize_t consumed = data->len;
  287|   200k|    PyObject *decoded = PyUnicode_DecodeUTF8Stateful(data->buf, data->len,
  288|   200k|                                                     errors,
  289|   200k|                                                     final ? NULL : &consumed);
  ------------------
  |  Branch (289:54): [True: 200k, False: 0]
  ------------------
  290|   200k|    return codec_tuple(decoded, consumed);
  291|   200k|}
_codecsmodule.c:_codecs_latin_1_decode_impl:
  538|     29|{
  539|     29|    PyObject *decoded = PyUnicode_DecodeLatin1(data->buf, data->len, errors);
  540|     29|    return codec_tuple(decoded, data->len);
  541|     29|}
_codecsmodule.c:_codecs_ascii_decode_impl:
  554|      3|{
  555|      3|    PyObject *decoded = PyUnicode_DecodeASCII(data->buf, data->len, errors);
  556|      3|    return codec_tuple(decoded, data->len);
  557|      3|}
_codecsmodule.c:_codecs_charmap_decode_impl:
  571|    154|{
  572|    154|    PyObject *decoded;
  573|       |
  574|    154|    if (mapping == Py_None)
  ------------------
  |  |  616|    154|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (574:9): [True: 0, False: 154]
  ------------------
  575|      0|        mapping = NULL;
  576|       |
  577|    154|    decoded = PyUnicode_DecodeCharmap(data->buf, data->len, mapping, errors);
  578|    154|    return codec_tuple(decoded, data->len);
  579|    154|}
_codecsmodule.c:_codecs_charmap_build_impl:
  925|     34|{
  926|     34|    return PyUnicode_BuildEncodingMap(map);
  927|     34|}
_codecsmodule.c:_codecs_iconv_encode_impl:
  994|    378|{
  995|    378|    return codec_tuple(_PyUnicode_EncodeIconv(encoding, str, errors),
  996|    378|                       PyUnicode_GET_LENGTH(str));
  ------------------
  |  |  300|    378|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  997|    378|}
_codecsmodule.c:_codecs_iconv_decode_impl:
  660|     70|{
  661|     70|    Py_ssize_t consumed = data->len;
  662|     70|    PyObject *decoded = _PyUnicode_DecodeIconv(encoding, data->buf, data->len,
  663|     70|                                               errors,
  664|     70|                                               final ? NULL : &consumed);
  ------------------
  |  Branch (664:48): [True: 70, False: 0]
  ------------------
  665|     70|    return codec_tuple(decoded, consumed);
  666|     70|}
_codecsmodule.c:_codecs_lookup_error_impl:
 1065|     12|{
 1066|     12|    return PyCodec_LookupError(name);
 1067|     12|}
_codecsmodule.c:_codecs__normalize_encoding_impl:
 1083|    523|{
 1084|    523|    Py_ssize_t len;
 1085|    523|    const char *cstr = PyUnicode_AsUTF8AndSize(encoding, &len);
 1086|    523|    if (cstr == NULL) {
  ------------------
  |  Branch (1086:9): [True: 0, False: 523]
  ------------------
 1087|      0|        return NULL;
 1088|      0|    }
 1089|       |
 1090|    523|    if (len > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|    523|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1090:9): [True: 0, False: 523]
  ------------------
 1091|      0|        PyErr_SetString(PyExc_OverflowError, "encoding is too large");
 1092|      0|        return NULL;
 1093|      0|    }
 1094|       |
 1095|    523|    char *normalized = PyMem_Malloc(len + 1);
 1096|    523|    if (normalized == NULL) {
  ------------------
  |  Branch (1096:9): [True: 0, False: 523]
  ------------------
 1097|      0|        return PyErr_NoMemory();
 1098|      0|    }
 1099|       |
 1100|    523|    if (!_Py_normalize_encoding(cstr, normalized, len + 1, 0)) {
  ------------------
  |  Branch (1100:9): [True: 0, False: 523]
  ------------------
 1101|      0|        PyMem_Free(normalized);
 1102|      0|        return NULL;
 1103|      0|    }
 1104|       |
 1105|    523|    PyObject *result = PyUnicode_FromString(normalized);
 1106|    523|    PyMem_Free(normalized);
 1107|    523|    return result;
 1108|    523|}

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

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

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

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

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

bufferedio.c:buffered_dealloc:
  431|     95|{
  432|     95|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  272|     95|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  433|     95|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|     95|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  434|     95|    self->finalizing = 1;
  435|     95|    if (_PyIOBase_finalize(op) < 0)
  ------------------
  |  Branch (435:9): [True: 0, False: 95]
  ------------------
  436|      0|        return;
  437|     95|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|     95|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  438|     95|    self->ok = 0;
  439|     95|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|     95|    do {                                            \
  |  |   48|     95|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|     95|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 95]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|     95|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 95]
  |  |  ------------------
  ------------------
  |  Branch (439:5): [True: 95, False: 0]
  ------------------
  440|     95|    if (self->buffer) {
  ------------------
  |  Branch (440:9): [True: 0, False: 95]
  ------------------
  441|      0|        PyMem_Free(self->buffer);
  442|      0|        self->buffer = NULL;
  443|      0|    }
  444|     95|    if (self->lock) {
  ------------------
  |  Branch (444:9): [True: 95, False: 0]
  ------------------
  445|     95|        PyThread_free_lock(self->lock);
  446|     95|        self->lock = NULL;
  447|     95|    }
  448|     95|    (void)buffered_clear(op);
  449|     95|    tp->tp_free(self);
  450|     95|    Py_DECREF(tp);
  ------------------
  |  |  430|     95|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  451|     95|}
bufferedio.c:buffered_traverse:
  471|    228|{
  472|    228|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  272|    228|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  473|    228|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 228, False: 0]
  |  |  ------------------
  |  |  196|    228|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    228|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 228]
  |  |  ------------------
  |  |  198|    228|                return vret;                                            \
  |  |  199|    228|        }                                                               \
  |  |  200|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
  474|    228|    Py_VISIT(self->raw);
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 228, False: 0]
  |  |  ------------------
  |  |  196|    228|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    228|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 228]
  |  |  ------------------
  |  |  198|    228|                return vret;                                            \
  |  |  199|    228|        }                                                               \
  |  |  200|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
  475|    228|    Py_VISIT(self->dict);
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 228]
  |  |  ------------------
  |  |  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|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
  476|    228|    return 0;
  477|    228|}
bufferedio.c:buffered_clear:
  421|     95|{
  422|     95|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  272|     95|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  423|     95|    self->ok = 0;
  424|     95|    Py_CLEAR(self->raw);
  ------------------
  |  |  487|     95|    do { \
  |  |  488|     95|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     95|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     95|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     95|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     95|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     95|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 95, False: 0]
  |  |  ------------------
  |  |  491|     95|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     95|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     95|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     95|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     95|        } \
  |  |  494|     95|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 95]
  |  |  ------------------
  ------------------
  425|       |    Py_CLEAR(self->dict);
  ------------------
  |  |  487|     95|    do { \
  |  |  488|     95|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     95|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     95|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     95|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     95|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     95|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 95]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|     95|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 95]
  |  |  ------------------
  ------------------
  426|     95|    return 0;
  427|     95|}
bufferedio.c:_bufferedwriter_reset_buf:
 1935|      4|{
 1936|      4|    self->write_pos = 0;
 1937|      4|    self->write_end = -1;
 1938|      4|}
bufferedio.c:_bufferedreader_reset_buf:
 1588|    192|{
 1589|    192|    self->read_end = -1;
 1590|    192|}
bufferedio.c:_io__Buffered_simple_flush_impl:
  520|     95|{
  521|     95|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|     95|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 95]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
  522|     95|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(flush));
  ------------------
  |  |  951|     95|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     95|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     95|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  523|     95|}
bufferedio.c:_io__Buffered_close_impl:
  561|     95|{
  562|     95|    PyObject *res = NULL;
  563|     95|    int r;
  564|       |
  565|     95|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|     95|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 95]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
  566|     95|    if (!ENTER_BUFFERED(self)) {
  ------------------
  |  |  335|     95|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (335:7): [True: 95, False: 0]
  |  |  |  Branch (335:8): [True: 95, False: 0]
  |  |  ------------------
  |  |  336|     95|       1 : _enter_buffered_busy(self)) \
  |  |  337|     95|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (337:9): [True: 95, False: 0]
  |  |  ------------------
  ------------------
  567|      0|        return NULL;
  568|      0|    }
  569|       |    /* gh-138720: Use IS_CLOSED to match flush CHECK_CLOSED. */
  570|     95|    r = IS_CLOSED(self);
  ------------------
  |  |  370|     95|    (!self->buffer ? 1 : \
  |  |  ------------------
  |  |  |  Branch (370:6): [True: 0, False: 95]
  |  |  ------------------
  |  |  371|     95|    (self->fast_closed_checks \
  |  |  ------------------
  |  |  |  Branch (371:6): [True: 95, False: 0]
  |  |  ------------------
  |  |  372|     95|     ? _PyFileIO_closed(self->raw) \
  |  |  373|     95|     : buffered_closed(self)))
  ------------------
  571|     95|    if (r < 0)
  ------------------
  |  Branch (571:9): [True: 0, False: 95]
  ------------------
  572|      0|        goto end;
  573|     95|    if (r > 0) {
  ------------------
  |  Branch (573:9): [True: 0, False: 95]
  ------------------
  574|      0|        res = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  575|      0|        goto end;
  576|      0|    }
  577|       |
  578|     95|    if (self->finalizing) {
  ------------------
  |  Branch (578:9): [True: 0, False: 95]
  ------------------
  579|      0|        PyObject *r = _io__Buffered__dealloc_warn_impl(self, (PyObject *)self);
  580|      0|        if (r)
  ------------------
  |  Branch (580:13): [True: 0, False: 0]
  ------------------
  581|      0|            Py_DECREF(r);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|      0|        else
  583|      0|            PyErr_Clear();
  584|      0|    }
  585|       |    /* flush() will most probably re-take the lock, so drop it first */
  586|     95|    LEAVE_BUFFERED(self)
  ------------------
  |  |  340|     95|    do { \
  |  |  341|     95|        self->owner = 0; \
  |  |  342|     95|        PyThread_release_lock(self->lock); \
  |  |  343|     95|    } while(0);
  |  |  ------------------
  |  |  |  Branch (343:13): [Folded, False: 95]
  |  |  ------------------
  ------------------
  587|     95|    r = _PyFile_Flush((PyObject *)self);
  588|     95|    if (!ENTER_BUFFERED(self)) {
  ------------------
  |  |  335|     95|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (335:7): [True: 95, False: 0]
  |  |  |  Branch (335:8): [True: 95, False: 0]
  |  |  ------------------
  |  |  336|     95|       1 : _enter_buffered_busy(self)) \
  |  |  337|     95|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (337:9): [True: 95, False: 0]
  |  |  ------------------
  ------------------
  589|      0|        return NULL;
  590|      0|    }
  591|     95|    PyObject *exc = NULL;
  592|     95|    if (r < 0) {
  ------------------
  |  Branch (592:9): [True: 0, False: 95]
  ------------------
  593|      0|        exc = PyErr_GetRaisedException();
  594|      0|    }
  595|       |
  596|     95|    res = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(close));
  ------------------
  |  |  951|     95|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     95|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     95|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|       |
  598|     95|    if (self->buffer) {
  ------------------
  |  Branch (598:9): [True: 95, False: 0]
  ------------------
  599|     95|        PyMem_Free(self->buffer);
  600|     95|        self->buffer = NULL;
  601|     95|    }
  602|       |
  603|     95|    if (exc != NULL) {
  ------------------
  |  Branch (603:9): [True: 0, False: 95]
  ------------------
  604|      0|        _PyErr_ChainExceptions1(exc);
  605|      0|        Py_CLEAR(res);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  606|      0|    }
  607|       |
  608|     95|    self->read_end = 0;
  609|     95|    self->pos = 0;
  610|       |
  611|     95|end:
  612|     95|    LEAVE_BUFFERED(self)
  ------------------
  |  |  340|     95|    do { \
  |  |  341|     95|        self->owner = 0; \
  |  |  342|     95|        PyThread_release_lock(self->lock); \
  |  |  343|     95|    } while(0);
  |  |  ------------------
  |  |  |  Branch (343:13): [Folded, False: 95]
  |  |  ------------------
  ------------------
  613|     95|    return res;
  614|     95|}
bufferedio.c:_io__Buffered_seekable_impl:
  647|      6|{
  648|      6|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|      6|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 6]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
  649|      6|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(seekable));
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  650|      6|}
bufferedio.c:_io__Buffered_readable_impl:
  660|      2|{
  661|      2|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|      2|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
  662|      2|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(readable));
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  663|      2|}
bufferedio.c:_io__Buffered_read_impl:
  999|     95|{
 1000|     95|    PyObject *res;
 1001|       |
 1002|     95|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|     95|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 95]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
 1003|     95|    if (n < -1) {
  ------------------
  |  Branch (1003:9): [True: 0, False: 95]
  ------------------
 1004|      0|        PyErr_SetString(PyExc_ValueError,
 1005|      0|                        "read length must be non-negative or -1");
 1006|      0|        return NULL;
 1007|      0|    }
 1008|       |
 1009|     95|    CHECK_CLOSED(self, "read of closed file")
  ------------------
  |  |  376|     95|    do { \
  |  |  377|     95|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  370|     95|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (370:6): [True: 0, False: 95]
  |  |  |  |  ------------------
  |  |  |  |  371|     95|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (371:6): [True: 95, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  372|     95|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  373|     95|     : buffered_closed(self)))
  |  |  ------------------
  |  |  378|     95|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (378:13): [True: 0, False: 95]
  |  |  ------------------
  |  |  379|      0|            return NULL; \
  |  |  380|      0|        } \
  |  |  381|     95|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (381:13): [True: 0, False: 95]
  |  |  ------------------
  |  |  382|     95|            (Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t) == 0)) \
  |  |  ------------------
  |  |  |  |  247|      0|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (382:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  383|     95|        { \
  |  |  384|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  385|      0|            return NULL; \
  |  |  386|      0|        } \
  |  |  387|     95|    } while (0);
  |  |  ------------------
  |  |  |  Branch (387:14): [Folded, False: 95]
  |  |  ------------------
  ------------------
 1010|       |
 1011|     95|    if (n == -1) {
  ------------------
  |  Branch (1011:9): [True: 95, False: 0]
  ------------------
 1012|       |        /* The number of bytes is unspecified, read until the end of stream */
 1013|     95|        if (!ENTER_BUFFERED(self))
  ------------------
  |  |  335|     95|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (335:7): [True: 95, False: 0]
  |  |  |  Branch (335:8): [True: 95, False: 0]
  |  |  ------------------
  |  |  336|     95|       1 : _enter_buffered_busy(self)) \
  |  |  337|     95|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (337:9): [True: 95, False: 0]
  |  |  ------------------
  ------------------
 1014|      0|            return NULL;
 1015|     95|        res = _bufferedreader_read_all(self);
 1016|     95|    }
 1017|      0|    else {
 1018|      0|        res = _bufferedreader_read_fast(self, n);
 1019|      0|        if (res != Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1019:13): [True: 0, False: 0]
  ------------------
 1020|      0|            return res;
 1021|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1022|      0|        if (!ENTER_BUFFERED(self))
  ------------------
  |  |  335|      0|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (335:7): [True: 0, False: 0]
  |  |  |  Branch (335:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  336|      0|       1 : _enter_buffered_busy(self)) \
  |  |  337|      0|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (337:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1023|      0|            return NULL;
 1024|      0|        res = _bufferedreader_read_generic(self, n);
 1025|      0|    }
 1026|       |
 1027|     95|    LEAVE_BUFFERED(self)
  ------------------
  |  |  340|     95|    do { \
  |  |  341|     95|        self->owner = 0; \
  |  |  342|     95|        PyThread_release_lock(self->lock); \
  |  |  343|     95|    } while(0);
  |  |  ------------------
  |  |  |  Branch (343:13): [Folded, False: 95]
  |  |  ------------------
  ------------------
 1028|     95|    return res;
 1029|     95|}
bufferedio.c:_bufferedreader_read_all:
 1700|     95|{
 1701|     95|    Py_ssize_t current_size;
 1702|     95|    PyObject *res = NULL, *data = NULL, *tmp = NULL, *chunks = NULL, *readall;
 1703|       |
 1704|       |    /* First copy what we have in the current buffer. */
 1705|     95|    current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|     95|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|    570|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 95, False: 0]
  |  |  |  |  |  Branch (34:47): [True: 0, False: 95]
  |  |  |  |  |  Branch (34:47): [True: 95, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1706|     95|    if (current_size) {
  ------------------
  |  Branch (1706:9): [True: 0, False: 95]
  ------------------
 1707|      0|        data = PyBytes_FromStringAndSize(
 1708|      0|            self->buffer + self->pos, current_size);
 1709|      0|        if (data == NULL)
  ------------------
  |  Branch (1709:13): [True: 0, False: 0]
  ------------------
 1710|      0|            return NULL;
 1711|      0|        self->pos += current_size;
 1712|      0|    }
 1713|       |    /* We're going past the buffer's bounds, flush it */
 1714|     95|    if (self->writable) {
  ------------------
  |  Branch (1714:9): [True: 0, False: 95]
  ------------------
 1715|      0|        tmp = buffered_flush_and_rewind_unlocked(self);
 1716|      0|        if (tmp == NULL)
  ------------------
  |  Branch (1716:13): [True: 0, False: 0]
  ------------------
 1717|      0|            goto cleanup;
 1718|      0|        Py_CLEAR(tmp);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1719|      0|    }
 1720|     95|    _bufferedreader_reset_buf(self);
 1721|       |
 1722|     95|    if (PyObject_GetOptionalAttr(self->raw, &_Py_ID(readall), &readall) < 0) {
  ------------------
  |  |  951|     95|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     95|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     95|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1722:9): [True: 0, False: 95]
  ------------------
 1723|      0|        goto cleanup;
 1724|      0|    }
 1725|     95|    if (readall) {
  ------------------
  |  Branch (1725:9): [True: 95, False: 0]
  ------------------
 1726|     95|        tmp = _PyObject_CallNoArgs(readall);
 1727|     95|        Py_DECREF(readall);
  ------------------
  |  |  430|     95|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1728|     95|        if (tmp == NULL)
  ------------------
  |  Branch (1728:13): [True: 0, False: 95]
  ------------------
 1729|      0|            goto cleanup;
 1730|     95|        if (tmp != Py_None && !PyBytes_Check(tmp)) {
  ------------------
  |  |  616|    190|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (tmp != Py_None && !PyBytes_Check(tmp)) {
  ------------------
  |  |   28|     95|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     95|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1730:13): [True: 95, False: 0]
  |  Branch (1730:31): [True: 0, False: 95]
  ------------------
 1731|      0|            PyErr_SetString(PyExc_TypeError, "readall() should return bytes");
 1732|      0|            goto cleanup;
 1733|      0|        }
 1734|     95|        if (current_size == 0) {
  ------------------
  |  Branch (1734:13): [True: 95, False: 0]
  ------------------
 1735|     95|            res = tmp;
 1736|     95|        } else {
 1737|      0|            if (tmp != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1737:17): [True: 0, False: 0]
  ------------------
 1738|      0|                PyBytes_Concat(&data, tmp);
 1739|      0|            }
 1740|      0|            res = data;
 1741|      0|        }
 1742|     95|        goto cleanup;
 1743|     95|    }
 1744|       |
 1745|      0|    chunks = PyList_New(0);
 1746|      0|    if (chunks == NULL)
  ------------------
  |  Branch (1746:9): [True: 0, False: 0]
  ------------------
 1747|      0|        goto cleanup;
 1748|       |
 1749|      0|    while (1) {
  ------------------
  |  Branch (1749:12): [True: 0, Folded]
  ------------------
 1750|      0|        if (data) {
  ------------------
  |  Branch (1750:13): [True: 0, False: 0]
  ------------------
 1751|      0|            if (PyList_Append(chunks, data) < 0)
  ------------------
  |  Branch (1751:17): [True: 0, False: 0]
  ------------------
 1752|      0|                goto cleanup;
 1753|      0|            Py_CLEAR(data);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1754|      0|        }
 1755|       |
 1756|       |        /* Read until EOF or until read() would block. */
 1757|      0|        data = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(read));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1758|      0|        if (data == NULL)
  ------------------
  |  Branch (1758:13): [True: 0, False: 0]
  ------------------
 1759|      0|            goto cleanup;
 1760|      0|        if (data != Py_None && !PyBytes_Check(data)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (data != Py_None && !PyBytes_Check(data)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1760:13): [True: 0, False: 0]
  |  Branch (1760:32): [True: 0, False: 0]
  ------------------
 1761|      0|            PyErr_SetString(PyExc_TypeError, "read() should return bytes");
 1762|      0|            goto cleanup;
 1763|      0|        }
 1764|      0|        if (data == Py_None || PyBytes_GET_SIZE(data) == 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (data == Py_None || PyBytes_GET_SIZE(data) == 0) {
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1764:13): [True: 0, False: 0]
  |  Branch (1764:32): [True: 0, False: 0]
  ------------------
 1765|      0|            if (current_size == 0) {
  ------------------
  |  Branch (1765:17): [True: 0, False: 0]
  ------------------
 1766|      0|                res = data;
 1767|      0|                goto cleanup;
 1768|      0|            }
 1769|      0|            else {
 1770|      0|                tmp = PyBytes_Join((PyObject *)&_Py_SINGLETON(bytes_empty), chunks);
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1771|      0|                res = tmp;
 1772|      0|                goto cleanup;
 1773|      0|            }
 1774|      0|        }
 1775|      0|        current_size += PyBytes_GET_SIZE(data);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1776|      0|        if (self->abs_pos != -1)
  ------------------
  |  Branch (1776:13): [True: 0, False: 0]
  ------------------
 1777|      0|            self->abs_pos += PyBytes_GET_SIZE(data);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1778|      0|    }
 1779|     95|cleanup:
 1780|       |    /* res is either NULL or a borrowed ref */
 1781|     95|    Py_XINCREF(res);
  ------------------
  |  |  611|     95|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1782|     95|    Py_XDECREF(data);
  ------------------
  |  |  621|     95|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1783|     95|    Py_XDECREF(tmp);
  ------------------
  |  |  621|     95|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1784|     95|    Py_XDECREF(chunks);
  ------------------
  |  |  621|     95|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1785|     95|    return res;
 1786|      0|}
bufferedio.c:_buffered_raw_tell:
  790|    105|{
  791|    105|    Py_off_t n;
  792|    105|    PyObject *res;
  793|    105|    res = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(tell));
  ------------------
  |  |  951|    105|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    105|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    105|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  794|    105|    if (res == NULL)
  ------------------
  |  Branch (794:9): [True: 0, False: 105]
  ------------------
  795|      0|        return -1;
  796|    105|    n = PyNumber_AsOff_t(res, PyExc_ValueError);
  797|    105|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|    105|    if (n < 0) {
  ------------------
  |  Branch (798:9): [True: 0, False: 105]
  ------------------
  799|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (799:13): [True: 0, False: 0]
  ------------------
  800|      0|            PyErr_Format(PyExc_OSError,
  801|      0|                         "Raw stream returned invalid position %" PY_PRIdOFF,
  ------------------
  |  |  114|      0|# define PY_PRIdOFF         "zd"
  ------------------
  802|      0|                         (PY_OFF_T_COMPAT)n);
  803|      0|        return -1;
  804|      0|    }
  805|    105|    self->abs_pos = n;
  806|    105|    return n;
  807|    105|}
bufferedio.c:_io__Buffered_tell_impl:
 1346|      4|{
 1347|      4|    Py_off_t pos;
 1348|       |
 1349|      4|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|      4|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
 1350|      4|    pos = _buffered_raw_tell(self);
 1351|      4|    if (pos == -1)
  ------------------
  |  Branch (1351:9): [True: 0, False: 4]
  ------------------
 1352|      0|        return NULL;
 1353|      4|    pos -= RAW_OFFSET(self);
  ------------------
  |  |  407|      4|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  390|      8|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (390:6): [True: 0, False: 4]
  |  |  |  |  |  Branch (390:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  393|      4|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:6): [True: 4, False: 0]
  |  |  |  |  |  Branch (393:24): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  408|      4|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (408:12): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1354|       |
 1355|       |    // GH-95782
 1356|      4|    if (pos < 0)
  ------------------
  |  Branch (1356:9): [True: 0, False: 4]
  ------------------
 1357|      0|        pos = 0;
 1358|       |
 1359|      4|    return PyLong_FromOff_t(pos);
  ------------------
  |  |  110|      4|# define PyLong_FromOff_t   PyLong_FromSsize_t
  ------------------
 1360|      4|}
bufferedio.c:_io__Buffered_closed_get_impl:
  548|    190|{
  549|    190|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|    190|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 190]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
  550|    190|    return PyObject_GetAttr(self->raw, &_Py_ID(closed));
  ------------------
  |  |  951|    190|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    190|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    190|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  551|    190|}
bufferedio.c:_io_BufferedReader___init___impl:
 1604|     97|{
 1605|     97|    self->ok = 0;
 1606|     97|    self->detached = 0;
 1607|       |
 1608|     97|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  213|     97|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1609|     97|    if (_PyIOBase_check_readable(state, raw, Py_True) == NULL) {
  ------------------
  |  |   26|     97|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1609:9): [True: 0, False: 97]
  ------------------
 1610|      0|        return -1;
 1611|      0|    }
 1612|       |
 1613|     97|    Py_XSETREF(self->raw, Py_NewRef(raw));
  ------------------
  |  |  576|     97|    do { \
  |  |  577|     97|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     97|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     97|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     97|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     97|        *_tmp_dst_ptr = (src); \
  |  |  580|     97|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     97|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     97|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 97]
  |  |  ------------------
  ------------------
 1614|     97|    self->buffer_size = buffer_size;
 1615|     97|    self->readable = 1;
 1616|     97|    self->writable = 0;
 1617|       |
 1618|     97|    if (_buffered_init(self) < 0)
  ------------------
  |  Branch (1618:9): [True: 0, False: 97]
  ------------------
 1619|      0|        return -1;
 1620|     97|    _bufferedreader_reset_buf(self);
 1621|       |
 1622|     97|    self->fast_closed_checks = (
 1623|     97|        Py_IS_TYPE(self, state->PyBufferedReader_Type) &&
  ------------------
  |  |  215|    194|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 97, False: 0]
  |  |  ------------------
  ------------------
 1624|     97|        Py_IS_TYPE(raw, state->PyFileIO_Type)
  ------------------
  |  |  215|     97|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 97, False: 0]
  |  |  ------------------
  ------------------
 1625|     97|    );
 1626|       |
 1627|     97|    self->ok = 1;
 1628|     97|    return 0;
 1629|     97|}
bufferedio.c:_buffered_init:
  844|    101|{
  845|    101|    Py_ssize_t n;
  846|    101|    if (self->buffer_size <= 0) {
  ------------------
  |  Branch (846:9): [True: 0, False: 101]
  ------------------
  847|      0|        PyErr_SetString(PyExc_ValueError,
  848|      0|            "buffer size must be strictly positive");
  849|      0|        return -1;
  850|      0|    }
  851|    101|    if (self->buffer)
  ------------------
  |  Branch (851:9): [True: 0, False: 101]
  ------------------
  852|      0|        PyMem_Free(self->buffer);
  853|    101|    self->buffer = PyMem_Malloc(self->buffer_size);
  854|    101|    if (self->buffer == NULL) {
  ------------------
  |  Branch (854:9): [True: 0, False: 101]
  ------------------
  855|      0|        PyErr_NoMemory();
  856|      0|        return -1;
  857|      0|    }
  858|    101|    if (self->lock)
  ------------------
  |  Branch (858:9): [True: 0, False: 101]
  ------------------
  859|      0|        PyThread_free_lock(self->lock);
  860|    101|    self->lock = PyThread_allocate_lock();
  861|    101|    if (self->lock == NULL) {
  ------------------
  |  Branch (861:9): [True: 0, False: 101]
  ------------------
  862|      0|        PyErr_SetString(PyExc_RuntimeError, "can't allocate read lock");
  863|      0|        return -1;
  864|      0|    }
  865|    101|    self->owner = 0;
  866|       |    /* Find out whether buffer_size is a power of 2 */
  867|       |    /* XXX is this optimization useful? */
  868|  1.81k|    for (n = self->buffer_size - 1; n & 1; n >>= 1)
  ------------------
  |  Branch (868:37): [True: 1.71k, False: 101]
  ------------------
  869|  1.71k|        ;
  870|    101|    if (n == 0)
  ------------------
  |  Branch (870:9): [True: 101, False: 0]
  ------------------
  871|    101|        self->buffer_mask = self->buffer_size - 1;
  872|      0|    else
  873|      0|        self->buffer_mask = 0;
  874|    101|    if (_buffered_raw_tell(self) == -1)
  ------------------
  |  Branch (874:9): [True: 0, False: 101]
  ------------------
  875|      0|        PyErr_Clear();
  876|    101|    return 0;
  877|    101|}
bufferedio.c:_io__Buffered_writable_impl:
  673|      4|{
  674|      4|    CHECK_INITIALIZED(self)
  ------------------
  |  |  346|      4|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (346:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  347|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (347:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  348|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  349|      0|                 "raw stream has been detached"); \
  |  |  350|      0|        } else { \
  |  |  351|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  352|      0|                "I/O operation on uninitialized object"); \
  |  |  353|      0|        } \
  |  |  354|      0|        return NULL; \
  |  |  355|      0|    }
  ------------------
  675|      4|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(writable));
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  676|      4|}
bufferedio.c:_io_BufferedWriter___init___impl:
 1956|      4|{
 1957|      4|    self->ok = 0;
 1958|      4|    self->detached = 0;
 1959|       |
 1960|      4|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1961|      4|    if (_PyIOBase_check_writable(state, raw, Py_True) == NULL) {
  ------------------
  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1961:9): [True: 0, False: 4]
  ------------------
 1962|      0|        return -1;
 1963|      0|    }
 1964|       |
 1965|      4|    Py_INCREF(raw);
  ------------------
  |  |  310|      4|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1966|      4|    Py_XSETREF(self->raw, raw);
  ------------------
  |  |  576|      4|    do { \
  |  |  577|      4|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      4|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      4|        *_tmp_dst_ptr = (src); \
  |  |  580|      4|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1967|      4|    self->readable = 0;
 1968|      4|    self->writable = 1;
 1969|       |
 1970|      4|    self->buffer_size = buffer_size;
 1971|      4|    if (_buffered_init(self) < 0)
  ------------------
  |  Branch (1971:9): [True: 0, False: 4]
  ------------------
 1972|      0|        return -1;
 1973|      4|    _bufferedwriter_reset_buf(self);
 1974|      4|    self->pos = 0;
 1975|       |
 1976|      4|    self->fast_closed_checks = (
 1977|      4|        Py_IS_TYPE(self, state->PyBufferedWriter_Type) &&
  ------------------
  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1978|      4|        Py_IS_TYPE(raw, state->PyFileIO_Type)
  ------------------
  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1979|      4|    );
 1980|       |
 1981|      4|    self->ok = 1;
 1982|      4|    return 0;
 1983|      4|}

bytesio.c:bytesio_dealloc:
 1082|  16.8k|{
 1083|  16.8k|    bytesio *self = bytesio_CAST(op);
  ------------------
  |  |   32|  16.8k|#define bytesio_CAST(op)    ((bytesio *)(op))
  ------------------
 1084|  16.8k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  16.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|  16.8k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|  16.8k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1086|  16.8k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) > 0) {
  ------------------
  |  |  151|  16.8k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (1086:9): [True: 0, False: 16.8k]
  ------------------
 1087|      0|        PyErr_SetString(PyExc_SystemError,
 1088|      0|                        "deallocated BytesIO object has exported buffers");
 1089|      0|        PyErr_Print();
 1090|      0|    }
 1091|  16.8k|    Py_CLEAR(self->buf);
  ------------------
  |  |  487|  16.8k|    do { \
  |  |  488|  16.8k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  16.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  16.8k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  16.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  16.8k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  16.8k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 16.8k, False: 0]
  |  |  ------------------
  |  |  491|  16.8k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  16.8k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  16.8k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  16.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  16.8k|        } \
  |  |  494|  16.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 16.8k]
  |  |  ------------------
  ------------------
 1092|  16.8k|    Py_CLEAR(self->dict);
  ------------------
  |  |  487|  16.8k|    do { \
  |  |  488|  16.8k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  16.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  16.8k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  16.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  16.8k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  16.8k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 16.8k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  16.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 16.8k]
  |  |  ------------------
  ------------------
 1093|  16.8k|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|  16.8k|    do {                                            \
  |  |   48|  16.8k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  16.8k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 16.8k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  16.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 16.8k]
  |  |  ------------------
  ------------------
  |  Branch (1093:5): [True: 16.8k, False: 0]
  ------------------
 1094|  16.8k|    tp->tp_free(self);
 1095|  16.8k|    Py_DECREF(tp);
  ------------------
  |  |  430|  16.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1096|  16.8k|}
bytesio.c:bytesio_traverse:
 1187|    660|{
 1188|    660|    bytesio *self = bytesio_CAST(op);
  ------------------
  |  |   32|    660|#define bytesio_CAST(op)    ((bytesio *)(op))
  ------------------
 1189|    660|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    660|    do {                                                                \
  |  |  195|    660|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 660, False: 0]
  |  |  ------------------
  |  |  196|    660|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    660|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    660|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    660|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 660]
  |  |  ------------------
  |  |  198|    660|                return vret;                                            \
  |  |  199|    660|        }                                                               \
  |  |  200|    660|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 660]
  |  |  ------------------
  ------------------
 1190|    660|    Py_VISIT(self->dict);
  ------------------
  |  |  194|    660|    do {                                                                \
  |  |  195|    660|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 660]
  |  |  ------------------
  |  |  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|    660|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 660]
  |  |  ------------------
  ------------------
 1191|    660|    Py_VISIT(self->buf);
  ------------------
  |  |  194|    660|    do {                                                                \
  |  |  195|    660|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 660, False: 0]
  |  |  ------------------
  |  |  196|    660|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    660|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    660|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    660|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 660]
  |  |  ------------------
  |  |  198|    660|                return vret;                                            \
  |  |  199|    660|        }                                                               \
  |  |  200|    660|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 660]
  |  |  ------------------
  ------------------
 1192|    660|    return 0;
 1193|    660|}
bytesio.c:check_closed:
   51|  30.6k|{
   52|  30.6k|    if (self->buf == NULL) {
  ------------------
  |  Branch (52:9): [True: 0, False: 30.6k]
  ------------------
   53|      0|        PyErr_SetString(PyExc_ValueError, "I/O operation on closed file.");
   54|      0|        return 1;
   55|      0|    }
   56|  30.6k|    return 0;
   57|  30.6k|}
bytesio.c:read_bytes_lock_held:
  511|  30.6k|{
  512|  30.6k|    PyObject *bytes = peek_bytes_lock_held(self, size);
  513|  30.6k|    if (bytes != NULL) {
  ------------------
  |  Branch (513:9): [True: 30.6k, False: 0]
  ------------------
  514|  30.6k|        assert(PyBytes_GET_SIZE(bytes) == size);
  ------------------
  |  Branch (514:9): [True: 30.6k, False: 0]
  ------------------
  515|  30.6k|        self->pos += size;
  516|  30.6k|    }
  517|  30.6k|    return bytes;
  518|  30.6k|}
bytesio.c:peek_bytes_lock_held:
  484|  30.6k|{
  485|  30.6k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  486|       |
  487|  30.6k|    const char *output;
  488|       |
  489|  30.6k|    assert(self->buf != NULL);
  ------------------
  |  Branch (489:5): [True: 30.6k, False: 0]
  ------------------
  490|  30.6k|    assert(size <= self->string_size);
  ------------------
  |  Branch (490:5): [True: 30.6k, False: 0]
  ------------------
  491|  30.6k|    if (size > 1 &&
  ------------------
  |  Branch (491:9): [True: 20.7k, False: 9.92k]
  ------------------
  492|  20.7k|        self->pos == 0 && size == PyBytes_GET_SIZE(self->buf) &&
  ------------------
  |  |   33|  47.4k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (492:9): [True: 16.8k, False: 3.92k]
  |  Branch (492:27): [True: 15.9k, False: 879]
  ------------------
  493|  15.9k|        FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) == 0) {
  ------------------
  |  |  151|  15.9k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (493:9): [True: 15.9k, False: 0]
  ------------------
  494|  15.9k|        set_shared_buf(self);
  495|  15.9k|        return Py_NewRef(self->buf);
  ------------------
  |  |  647|  15.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  15.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  496|  15.9k|    }
  497|       |
  498|       |    /* gh-141311: Avoid undefined behavior when self->pos (limit PY_SSIZE_T_MAX)
  499|       |       is beyond the size of self->buf. Assert above validates size is always in
  500|       |       bounds. When self->pos is out of bounds calling code sets size to 0. */
  501|  14.7k|    if (size == 0) {
  ------------------
  |  Branch (501:9): [True: 9.87k, False: 4.85k]
  ------------------
  502|  9.87k|        return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|  9.87k|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
  503|  9.87k|    }
  504|       |
  505|  4.85k|    output = PyBytes_AS_STRING(self->buf) + self->pos;
  ------------------
  |  |   27|  4.85k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  506|  4.85k|    return PyBytes_FromStringAndSize(output, size);
  507|  14.7k|}
bytesio.c:set_shared_buf:
   97|  15.9k|{
   98|       |#ifdef Py_GIL_DISABLED
   99|       |    self->buf_shared = 1;
  100|       |#endif
  101|  15.9k|}
bytesio.c:clear_shared_buf:
  105|  16.8k|{
  106|       |#ifdef Py_GIL_DISABLED
  107|       |    self->buf_shared = 0;
  108|       |#endif
  109|  16.8k|}
bytesio.c:_io_BytesIO_read_impl:
  535|  30.6k|{
  536|  30.6k|    Py_ssize_t n;
  537|       |
  538|  30.6k|    CHECK_CLOSED(self);
  ------------------
  |  |   71|  30.6k|    if (check_closed(self)) {                               \
  |  |  ------------------
  |  |  |  Branch (71:9): [True: 0, False: 30.6k]
  |  |  ------------------
  |  |   72|      0|        return NULL;                                        \
  |  |   73|      0|    }
  ------------------
  539|       |
  540|       |    /* adjust invalid sizes */
  541|  30.6k|    n = self->string_size - self->pos;
  542|  30.6k|    if (size < 0 || size > n) {
  ------------------
  |  Branch (542:9): [True: 0, False: 30.6k]
  |  Branch (542:21): [True: 26.5k, False: 4.09k]
  ------------------
  543|  26.5k|        size = n;
  544|  26.5k|        if (size < 0)
  ------------------
  |  Branch (544:13): [True: 0, False: 26.5k]
  ------------------
  545|      0|            size = 0;
  546|  26.5k|    }
  547|       |
  548|  30.6k|    return read_bytes_lock_held(self, size);
  549|  30.6k|}
bytesio.c:_io_BytesIO___init___impl:
 1132|  16.8k|{
 1133|  16.8k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) > 0) {
  ------------------
  |  |  151|  16.8k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (1133:9): [True: 0, False: 16.8k]
  ------------------
 1134|      0|        PyErr_SetString(PyExc_BufferError,
 1135|      0|                        "Existing exports of data: object cannot be re-sized");
 1136|      0|        return -1;
 1137|      0|    }
 1138|       |
 1139|       |    /* In case, __init__ is called multiple times. */
 1140|  16.8k|    self->string_size = 0;
 1141|  16.8k|    self->pos = 0;
 1142|       |
 1143|  16.8k|    if (initvalue && initvalue != Py_None) {
  ------------------
  |  |  616|  16.8k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1143:9): [True: 16.8k, False: 0]
  |  Branch (1143:22): [True: 16.8k, False: 0]
  ------------------
 1144|  16.8k|        if (PyBytes_CheckExact(initvalue)) {
  ------------------
  |  |   29|  16.8k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  16.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 16.8k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1145|  16.8k|            Py_XSETREF(self->buf, Py_NewRef(initvalue));
  ------------------
  |  |  576|  16.8k|    do { \
  |  |  577|  16.8k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  16.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  16.8k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  16.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  16.8k|        *_tmp_dst_ptr = (src); \
  |  |  580|  16.8k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  16.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  16.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 16.8k]
  |  |  ------------------
  ------------------
 1146|  16.8k|            clear_shared_buf(self);
 1147|  16.8k|            self->string_size = PyBytes_GET_SIZE(initvalue);
  ------------------
  |  |   33|  16.8k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1148|  16.8k|        }
 1149|      0|        else {
 1150|      0|            PyObject *res;
 1151|      0|            res = _io_BytesIO_write_impl(self, initvalue);
 1152|      0|            if (res == NULL)
  ------------------
  |  Branch (1152:17): [True: 0, False: 0]
  ------------------
 1153|      0|                return -1;
 1154|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1155|      0|            self->pos = 0;
 1156|      0|        }
 1157|  16.8k|    }
 1158|       |
 1159|  16.8k|    return 0;
 1160|  16.8k|}
bytesio.c:bytesio_new:
 1100|  16.8k|{
 1101|  16.8k|    bytesio *self;
 1102|       |
 1103|  16.8k|    assert(type != NULL && type->tp_alloc != NULL);
  ------------------
  |  Branch (1103:5): [True: 16.8k, False: 0]
  |  Branch (1103:5): [True: 16.8k, False: 0]
  ------------------
 1104|  16.8k|    self = (bytesio *)type->tp_alloc(type, 0);
 1105|  16.8k|    if (self == NULL)
  ------------------
  |  Branch (1105:9): [True: 0, False: 16.8k]
  ------------------
 1106|      0|        return NULL;
 1107|       |
 1108|       |    /* tp_alloc initializes all the fields to zero. So we don't have to
 1109|       |       initialize them here. */
 1110|       |
 1111|  16.8k|    self->buf = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|  16.8k|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 1112|  16.8k|    if (self->buf == NULL) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 16.8k]
  ------------------
 1113|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1114|      0|        return PyErr_NoMemory();
 1115|      0|    }
 1116|       |
 1117|  16.8k|    return (PyObject *)self;
 1118|  16.8k|}

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

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

bytesio.c:_io_BytesIO_read:
  253|  30.6k|{
  254|  30.6k|    PyObject *return_value = NULL;
  255|  30.6k|    Py_ssize_t size = -1;
  256|       |
  257|  30.6k|    if (!_PyArg_CheckPositional("read", nargs, 0, 1)) {
  ------------------
  |  |   38|  30.6k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 30.6k, False: 0]
  |  |  |  Branch (38:27): [True: 30.6k, False: 0]
  |  |  ------------------
  |  |   39|  30.6k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  258|      0|        goto exit;
  259|      0|    }
  260|  30.6k|    if (nargs < 1) {
  ------------------
  |  Branch (260:9): [True: 0, False: 30.6k]
  ------------------
  261|      0|        goto skip_optional;
  262|      0|    }
  263|  30.6k|    if (!_Py_convert_optional_to_ssize_t(args[0], &size)) {
  ------------------
  |  Branch (263:9): [True: 0, False: 30.6k]
  ------------------
  264|      0|        goto exit;
  265|      0|    }
  266|  30.6k|skip_optional:
  267|  30.6k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  30.6k|    {
  ------------------
  268|  30.6k|    return_value = _io_BytesIO_read_impl((bytesio *)self, size);
  269|  30.6k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  30.6k|    }
  ------------------
  270|       |
  271|  30.6k|exit:
  272|  30.6k|    return return_value;
  273|  30.6k|}
bytesio.c:_io_BytesIO_vectorcall:
  785|  16.8k|{
  786|  16.8k|    PyObject *return_value = NULL;
  787|  16.8k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  16.8k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  788|  16.8k|    PyObject *self;
  789|  16.8k|    int _result;
  790|  16.8k|    PyObject *initvalue = NULL;
  791|       |
  792|  16.8k|    assert(_PyType_CAST(type)->tp_init == _io_BytesIO___init__);
  ------------------
  |  Branch (792:5): [True: 16.8k, False: 0]
  |  Branch (792:5): [True: 16.8k, False: 0]
  ------------------
  793|       |    /* Make sure the type object is immutable: the generated
  794|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
  795|  16.8k|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (795:5): [True: 16.8k, False: 0]
  |  Branch (795:5): [True: 16.8k, False: 0]
  ------------------
  796|  16.8k|    if (kwnames != NULL || nargs > 1) {
  ------------------
  |  Branch (796:9): [True: 0, False: 16.8k]
  |  Branch (796:28): [True: 0, False: 16.8k]
  ------------------
  797|      0|        self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|      0|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                      self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|      0|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (797:16): [True: 0, False: 0]
  |  Branch (797:43): [True: 0, False: 0]
  ------------------
  798|      0|            (PyObject *)&_Py_SINGLETON(tuple_empty), NULL);
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  799|      0|        if (self == NULL) {
  ------------------
  |  Branch (799:13): [True: 0, False: 0]
  ------------------
  800|      0|            return NULL;
  801|      0|        }
  802|      0|        _result = _io_BytesIO___init___helper(self, args, nargs,
  803|      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 (803:13): [True: 0, False: 0]
  ------------------
  804|      0|            NULL, kwnames);
  805|      0|        if (_result != 0) {
  ------------------
  |  Branch (805:13): [True: 0, False: 0]
  ------------------
  806|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  807|      0|            return NULL;
  808|      0|        }
  809|      0|        return self;
  810|      0|    }
  811|  16.8k|    if (nargs < 1) {
  ------------------
  |  Branch (811:9): [True: 0, False: 16.8k]
  ------------------
  812|      0|        goto skip_optional;
  813|      0|    }
  814|  16.8k|    initvalue = args[0];
  815|  16.8k|skip_optional:
  816|  16.8k|    self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|  16.8k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|  16.8k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (816:12): [True: 16.8k, False: 0]
  |  Branch (816:39): [True: 16.8k, False: 0]
  ------------------
  817|  16.8k|        (PyObject *)&_Py_SINGLETON(tuple_empty), NULL);
  ------------------
  |  |   18|  16.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|  16.8k|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  818|  16.8k|    if (self == NULL) {
  ------------------
  |  Branch (818:9): [True: 0, False: 16.8k]
  ------------------
  819|      0|        goto exit;
  820|      0|    }
  821|  16.8k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  16.8k|    {
  ------------------
  822|  16.8k|    _result = _io_BytesIO___init___impl((bytesio *)self, initvalue);
  823|  16.8k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  16.8k|    }
  ------------------
  824|  16.8k|    if (_result != 0) {
  ------------------
  |  Branch (824:9): [True: 0, False: 16.8k]
  ------------------
  825|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  826|      0|        goto exit;
  827|      0|    }
  828|  16.8k|    return_value = self;
  829|       |
  830|  16.8k|exit:
  831|  16.8k|    return return_value;
  832|  16.8k|}

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

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

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

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

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

textio.c:textiowrapper_traverse:
 1567|    228|{
 1568|    228|    textio *self = textio_CAST(op);
  ------------------
  |  |  740|    228|#define textio_CAST(op) ((textio *)(op))
  ------------------
 1569|    228|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 228, False: 0]
  |  |  ------------------
  |  |  196|    228|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    228|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 228]
  |  |  ------------------
  |  |  198|    228|                return vret;                                            \
  |  |  199|    228|        }                                                               \
  |  |  200|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 1570|    228|    Py_VISIT(self->buffer);
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 228, False: 0]
  |  |  ------------------
  |  |  196|    228|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    228|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 228]
  |  |  ------------------
  |  |  198|    228|                return vret;                                            \
  |  |  199|    228|        }                                                               \
  |  |  200|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 1571|    228|    Py_VISIT(self->encoding);
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 228, False: 0]
  |  |  ------------------
  |  |  196|    228|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    228|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 228]
  |  |  ------------------
  |  |  198|    228|                return vret;                                            \
  |  |  199|    228|        }                                                               \
  |  |  200|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 1572|    228|    Py_VISIT(self->encoder);
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 152, False: 76]
  |  |  ------------------
  |  |  196|    152|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    152|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 152]
  |  |  ------------------
  |  |  198|    152|                return vret;                                            \
  |  |  199|    152|        }                                                               \
  |  |  200|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 1573|    228|    Py_VISIT(self->decoder);
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 76, False: 152]
  |  |  ------------------
  |  |  196|     76|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     76|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 76]
  |  |  ------------------
  |  |  198|     76|                return vret;                                            \
  |  |  199|     76|        }                                                               \
  |  |  200|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 1574|    228|    Py_VISIT(self->readnl);
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 228, False: 0]
  |  |  ------------------
  |  |  196|    228|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    228|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 228]
  |  |  ------------------
  |  |  198|    228|                return vret;                                            \
  |  |  199|    228|        }                                                               \
  |  |  200|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 1575|    228|    Py_VISIT(self->decoded_chars);
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 228]
  |  |  ------------------
  |  |  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|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 1576|    228|    Py_VISIT(self->pending_bytes);
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 228]
  |  |  ------------------
  |  |  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|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 1577|    228|    Py_VISIT(self->snapshot);
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 228]
  |  |  ------------------
  |  |  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|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 1578|    228|    Py_VISIT(self->errors);
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 228, False: 0]
  |  |  ------------------
  |  |  196|    228|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    228|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 228]
  |  |  ------------------
  |  |  198|    228|                return vret;                                            \
  |  |  199|    228|        }                                                               \
  |  |  200|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 1579|    228|    Py_VISIT(self->raw);
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 228, False: 0]
  |  |  ------------------
  |  |  196|    228|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    228|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 228]
  |  |  ------------------
  |  |  198|    228|                return vret;                                            \
  |  |  199|    228|        }                                                               \
  |  |  200|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 1580|       |
 1581|    228|    Py_VISIT(self->dict);
  ------------------
  |  |  194|    228|    do {                                                                \
  |  |  195|    228|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 228, False: 0]
  |  |  ------------------
  |  |  196|    228|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    228|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 228]
  |  |  ------------------
  |  |  198|    228|                return vret;                                            \
  |  |  199|    228|        }                                                               \
  |  |  200|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 1582|    228|    return 0;
 1583|    228|}
textio.c:buffer_access_safe:
  749|     16|{
  750|       |    /* Check self->buffer directly but match errors of CHECK_ATTACHED since this
  751|       |       is called during construction and finalization where self->ok == 0. */
  752|     16|    if (self->buffer == NULL) {
  ------------------
  |  Branch (752:9): [True: 0, False: 16]
  ------------------
  753|      0|        if (self->ok <= 0) {
  ------------------
  |  Branch (753:13): [True: 0, False: 0]
  ------------------
  754|      0|            PyErr_SetString(PyExc_ValueError,
  755|      0|                            "I/O operation on uninitialized object");
  756|      0|        }
  757|      0|        else {
  758|      0|            PyErr_SetString(PyExc_ValueError,
  759|      0|                            "underlying buffer has been detached");
  760|      0|        }
  761|      0|        return NULL;
  762|      0|    }
  763|       |
  764|     16|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  765|     16|    return Py_NewRef(self->buffer);
  ------------------
  |  |  647|     16|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  766|     16|}
textio.c:validate_newline:
  921|      6|{
  922|      6|    if (newline && newline[0] != '\0'
  ------------------
  |  Branch (922:9): [True: 6, False: 0]
  |  Branch (922:20): [True: 6, False: 0]
  ------------------
  923|      6|        && !(newline[0] == '\n' && newline[1] == '\0')
  ------------------
  |  Branch (923:14): [True: 6, False: 0]
  |  Branch (923:36): [True: 6, False: 0]
  ------------------
  924|      0|        && !(newline[0] == '\r' && newline[1] == '\0')
  ------------------
  |  Branch (924:14): [True: 0, False: 0]
  |  Branch (924:36): [True: 0, False: 0]
  ------------------
  925|      0|        && !(newline[0] == '\r' && newline[1] == '\n' && newline[2] == '\0')) {
  ------------------
  |  Branch (925:14): [True: 0, False: 0]
  |  Branch (925:36): [True: 0, False: 0]
  |  Branch (925:58): [True: 0, False: 0]
  ------------------
  926|      0|        PyErr_Format(PyExc_ValueError,
  927|      0|                     "illegal newline value: %s", newline);
  928|      0|        return -1;
  929|      0|    }
  930|      6|    return 0;
  931|      6|}
textio.c:set_newline:
  935|      6|{
  936|      6|    PyObject *old = self->readnl;
  937|      6|    if (newline == NULL) {
  ------------------
  |  Branch (937:9): [True: 0, False: 6]
  ------------------
  938|      0|        self->readnl = NULL;
  939|      0|    }
  940|      6|    else {
  941|      6|        self->readnl = PyUnicode_FromString(newline);
  942|      6|        if (self->readnl == NULL) {
  ------------------
  |  Branch (942:13): [True: 0, False: 6]
  ------------------
  943|      0|            self->readnl = old;
  944|      0|            return -1;
  945|      0|        }
  946|      6|    }
  947|      6|    self->readuniversal = (newline == NULL || newline[0] == '\0');
  ------------------
  |  Branch (947:28): [True: 0, False: 6]
  |  Branch (947:47): [True: 0, False: 6]
  ------------------
  948|      6|    self->readtranslate = (newline == NULL);
  949|      6|    self->writetranslate = (newline == NULL || newline[0] != '\0');
  ------------------
  |  Branch (949:29): [True: 0, False: 6]
  |  Branch (949:48): [True: 6, False: 0]
  ------------------
  950|      6|    if (!self->readuniversal && self->readnl != NULL) {
  ------------------
  |  Branch (950:9): [True: 6, False: 0]
  |  Branch (950:33): [True: 6, False: 0]
  ------------------
  951|       |        // validate_newline() accepts only ASCII newlines.
  952|      6|        assert(PyUnicode_KIND(self->readnl) == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (952:9): [True: 6, False: 0]
  |  Branch (952:9): [True: 6, False: 0]
  ------------------
  953|      6|        self->writenl = (const char *)PyUnicode_1BYTE_DATA(self->readnl);
  ------------------
  |  |  292|      6|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  954|      6|        if (strcmp(self->writenl, "\n") == 0) {
  ------------------
  |  Branch (954:13): [True: 6, False: 0]
  ------------------
  955|      6|            self->writenl = NULL;
  956|      6|        }
  957|      6|    }
  958|      0|    else {
  959|       |#ifdef MS_WINDOWS
  960|       |        self->writenl = "\r\n";
  961|       |#else
  962|      0|        self->writenl = NULL;
  963|      0|#endif
  964|      0|    }
  965|      6|    Py_XDECREF(old);
  ------------------
  |  |  621|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  966|      6|    return 0;
  967|      6|}
textio.c:_textiowrapper_set_decoder:
  972|      6|{
  973|      6|    PyObject *res;
  974|      6|    int r;
  975|       |
  976|      6|    res = buffer_callmethod_noargs(self, &_Py_ID(readable));
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  977|      6|    if (res == NULL)
  ------------------
  |  Branch (977:9): [True: 0, False: 6]
  ------------------
  978|      0|        return -1;
  979|       |
  980|      6|    r = PyObject_IsTrue(res);
  981|      6|    Py_DECREF(res);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  982|      6|    if (r == -1)
  ------------------
  |  Branch (982:9): [True: 0, False: 6]
  ------------------
  983|      0|        return -1;
  984|       |
  985|      6|    if (r != 1)
  ------------------
  |  Branch (985:9): [True: 4, False: 2]
  ------------------
  986|      4|        return 0;
  987|       |
  988|      2|    Py_CLEAR(self->decoder);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  989|      2|    self->decoder = _PyCodecInfo_GetIncrementalDecoder(codec_info, errors);
  990|      2|    if (self->decoder == NULL)
  ------------------
  |  Branch (990:9): [True: 0, False: 2]
  ------------------
  991|      0|        return -1;
  992|       |
  993|      2|    if (self->readuniversal) {
  ------------------
  |  Branch (993:9): [True: 0, False: 2]
  ------------------
  994|      0|        _PyIO_State *state = self->state;
  995|      0|        PyObject *incrementalDecoder = PyObject_CallFunctionObjArgs(
  996|      0|            (PyObject *)state->PyIncrementalNewlineDecoder_Type,
  997|      0|            self->decoder, self->readtranslate ? Py_True : Py_False, NULL);
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          self->decoder, self->readtranslate ? Py_True : Py_False, NULL);
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (997:28): [True: 0, False: 0]
  ------------------
  998|      0|        if (incrementalDecoder == NULL)
  ------------------
  |  Branch (998:13): [True: 0, False: 0]
  ------------------
  999|      0|            return -1;
 1000|      0|        Py_XSETREF(self->decoder, incrementalDecoder);
  ------------------
  |  |  576|      0|    do { \
  |  |  577|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      0|        *_tmp_dst_ptr = (src); \
  |  |  580|      0|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1001|      0|    }
 1002|       |
 1003|      2|    return 0;
 1004|      2|}
textio.c:buffer_callmethod_noargs:
  783|     16|{
  784|     16|    PyObject *buffer = buffer_access_safe(self);
  785|     16|    if (buffer == NULL) {
  ------------------
  |  Branch (785:9): [True: 0, False: 16]
  ------------------
  786|      0|        return NULL;
  787|      0|    }
  788|       |
  789|     16|    PyObject *res = PyObject_CallMethodNoArgs(buffer, name);
  790|     16|    Py_DECREF(buffer);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  791|     16|    return res;
  792|     16|}
textio.c:_textiowrapper_set_encoder:
 1034|      6|{
 1035|      6|    PyObject *res;
 1036|      6|    int r;
 1037|       |
 1038|      6|    res = buffer_callmethod_noargs(self, &_Py_ID(writable));
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1039|      6|    if (res == NULL)
  ------------------
  |  Branch (1039:9): [True: 0, False: 6]
  ------------------
 1040|      0|        return -1;
 1041|       |
 1042|      6|    r = PyObject_IsTrue(res);
 1043|      6|    Py_DECREF(res);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1044|      6|    if (r == -1)
  ------------------
  |  Branch (1044:9): [True: 0, False: 6]
  ------------------
 1045|      0|        return -1;
 1046|       |
 1047|      6|    if (r != 1)
  ------------------
  |  Branch (1047:9): [True: 2, False: 4]
  ------------------
 1048|      2|        return 0;
 1049|       |
 1050|      4|    Py_CLEAR(self->encoder);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1051|      4|    self->encodefunc = NULL;
 1052|      4|    self->encoder = _PyCodecInfo_GetIncrementalEncoder(codec_info, errors);
 1053|      4|    if (self->encoder == NULL)
  ------------------
  |  Branch (1053:9): [True: 0, False: 4]
  ------------------
 1054|      0|        return -1;
 1055|       |
 1056|       |    /* Get the normalized named of the codec */
 1057|      4|    if (PyObject_GetOptionalAttr(codec_info, &_Py_ID(name), &res) < 0) {
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1057:9): [True: 0, False: 4]
  ------------------
 1058|      0|        return -1;
 1059|      0|    }
 1060|      4|    if (res != NULL && PyUnicode_Check(res)) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1060:9): [True: 4, False: 0]
  ------------------
 1061|      4|        const encodefuncentry *e = encodefuncs;
 1062|     12|        while (e->name != NULL) {
  ------------------
  |  Branch (1062:16): [True: 12, False: 0]
  ------------------
 1063|     12|            if (_PyUnicode_EqualToASCIIString(res, e->name)) {
  ------------------
  |  Branch (1063:17): [True: 4, False: 8]
  ------------------
 1064|      4|                self->encodefunc = e->encodefunc;
 1065|      4|                break;
 1066|      4|            }
 1067|      8|            e++;
 1068|      8|        }
 1069|      4|    }
 1070|      4|    Py_XDECREF(res);
  ------------------
  |  |  621|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1071|       |
 1072|      4|    return 0;
 1073|      4|}
textio.c:_textiowrapper_fix_encoder_state:
 1077|      6|{
 1078|      6|    if (!self->seekable || !self->encoder) {
  ------------------
  |  Branch (1078:9): [True: 0, False: 6]
  |  Branch (1078:28): [True: 2, False: 4]
  ------------------
 1079|      2|        return 0;
 1080|      2|    }
 1081|       |
 1082|      4|    self->encoding_start_of_stream = 1;
 1083|       |
 1084|      4|    PyObject *cookieObj = buffer_callmethod_noargs(self, &_Py_ID(tell));
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|      4|    if (cookieObj == NULL) {
  ------------------
  |  Branch (1085:9): [True: 0, False: 4]
  ------------------
 1086|      0|        return -1;
 1087|      0|    }
 1088|       |
 1089|      4|    int cmp = PyObject_RichCompareBool(cookieObj, _PyLong_GetZero(), Py_EQ);
  ------------------
  |  |  654|      4|#define Py_EQ 2
  ------------------
 1090|      4|    Py_DECREF(cookieObj);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1091|      4|    if (cmp < 0) {
  ------------------
  |  Branch (1091:9): [True: 0, False: 4]
  ------------------
 1092|      0|        return -1;
 1093|      0|    }
 1094|       |
 1095|      4|    if (cmp == 0) {
  ------------------
  |  Branch (1095:9): [True: 2, False: 2]
  ------------------
 1096|      2|        self->encoding_start_of_stream = 0;
 1097|      2|        PyObject *res = PyObject_CallMethodOneArg(
 1098|      2|            self->encoder, &_Py_ID(setstate), _PyLong_GetZero());
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|      2|        if (res == NULL) {
  ------------------
  |  Branch (1099:13): [True: 0, False: 2]
  ------------------
 1100|      0|            return -1;
 1101|      0|        }
 1102|      2|        Py_DECREF(res);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1103|      2|    }
 1104|       |
 1105|      4|    return 0;
 1106|      4|}
textio.c:_io_TextIOWrapper___init___impl:
 1189|      6|{
 1190|      6|    PyObject *raw, *codec_info = NULL;
 1191|      6|    PyObject *res;
 1192|      6|    int r;
 1193|       |
 1194|      6|    self->ok = 0;
 1195|      6|    self->detached = 0;
 1196|       |
 1197|      6|    if (encoding == NULL) {
  ------------------
  |  Branch (1197:9): [True: 0, False: 6]
  ------------------
 1198|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1199|      0|        if (_PyInterpreterState_GetConfig(interp)->warn_default_encoding) {
  ------------------
  |  Branch (1199:13): [True: 0, False: 0]
  ------------------
 1200|      0|            if (PyErr_WarnEx(PyExc_EncodingWarning,
  ------------------
  |  Branch (1200:17): [True: 0, False: 0]
  ------------------
 1201|      0|                             "'encoding' argument not specified", 1)) {
 1202|      0|                return -1;
 1203|      0|            }
 1204|      0|        }
 1205|      0|    }
 1206|       |
 1207|      6|    if (errors == Py_None) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1207:9): [True: 0, False: 6]
  ------------------
 1208|      0|        errors = &_Py_ID(strict);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1209|      0|    }
 1210|      6|    else if (!PyUnicode_Check(errors)) {
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1210:14): [True: 0, False: 6]
  ------------------
 1211|       |        // Check 'errors' argument here because Argument Clinic doesn't support
 1212|       |        // 'str(accept={str, NoneType})' converter.
 1213|      0|        PyErr_Format(
 1214|      0|            PyExc_TypeError,
 1215|      0|            "TextIOWrapper() argument 'errors' must be str or None, not %.50s",
 1216|      0|            Py_TYPE(errors)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1217|      0|        return -1;
 1218|      0|    }
 1219|      6|    else if (io_check_errors(errors)) {
  ------------------
  |  Branch (1219:14): [True: 0, False: 6]
  ------------------
 1220|      0|        return -1;
 1221|      0|    }
 1222|      6|    const char *errors_str = _PyUnicode_AsUTF8NoNUL(errors);
 1223|      6|    if (errors_str == NULL) {
  ------------------
  |  Branch (1223:9): [True: 0, False: 6]
  ------------------
 1224|      0|        return -1;
 1225|      0|    }
 1226|       |
 1227|      6|    if (validate_newline(newline) < 0) {
  ------------------
  |  Branch (1227:9): [True: 0, False: 6]
  ------------------
 1228|      0|        return -1;
 1229|      0|    }
 1230|       |
 1231|      6|    Py_CLEAR(self->buffer);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1232|      6|    Py_CLEAR(self->encoding);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1233|      6|    Py_CLEAR(self->encoder);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1234|      6|    Py_CLEAR(self->decoder);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1235|      6|    Py_CLEAR(self->readnl);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1236|      6|    Py_CLEAR(self->decoded_chars);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1237|      6|    Py_CLEAR(self->pending_bytes);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1238|      6|    Py_CLEAR(self->snapshot);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1239|      6|    Py_CLEAR(self->errors);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1240|      6|    Py_CLEAR(self->raw);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1241|      6|    self->decoded_chars_used = 0;
 1242|      6|    self->pending_bytes_count = 0;
 1243|      6|    self->encodefunc = NULL;
 1244|      6|    self->b2cratio = 0.0;
 1245|       |
 1246|      6|    if (encoding == NULL && _PyRuntime.preconfig.utf8_mode) {
  ------------------
  |  Branch (1246:9): [True: 0, False: 6]
  |  Branch (1246:29): [True: 0, False: 0]
  ------------------
 1247|      0|        _Py_DECLARE_STR(utf_8, "utf-8");
 1248|      0|        self->encoding = &_Py_STR(utf_8);
  ------------------
  |  |  953|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1249|      0|    }
 1250|      6|    else if (encoding == NULL || (strcmp(encoding, "locale") == 0)) {
  ------------------
  |  Branch (1250:14): [True: 0, False: 6]
  |  Branch (1250:34): [True: 0, False: 6]
  ------------------
 1251|      0|        self->encoding = _Py_GetLocaleEncodingObject();
 1252|      0|        if (self->encoding == NULL) {
  ------------------
  |  Branch (1252:13): [True: 0, False: 0]
  ------------------
 1253|      0|            goto error;
 1254|      0|        }
 1255|      0|        assert(PyUnicode_Check(self->encoding));
  ------------------
  |  Branch (1255:9): [True: 0, False: 0]
  ------------------
 1256|      0|    }
 1257|       |
 1258|      6|    if (self->encoding != NULL) {
  ------------------
  |  Branch (1258:9): [True: 0, False: 6]
  ------------------
 1259|      0|        encoding = PyUnicode_AsUTF8(self->encoding);
 1260|      0|        if (encoding == NULL)
  ------------------
  |  Branch (1260:13): [True: 0, False: 0]
  ------------------
 1261|      0|            goto error;
 1262|      0|    }
 1263|      6|    else if (encoding != NULL) {
  ------------------
  |  Branch (1263:14): [True: 6, False: 0]
  ------------------
 1264|      6|        self->encoding = PyUnicode_FromString(encoding);
 1265|      6|        if (self->encoding == NULL)
  ------------------
  |  Branch (1265:13): [True: 0, False: 6]
  ------------------
 1266|      0|            goto error;
 1267|      6|    }
 1268|      0|    else {
 1269|      0|        PyErr_SetString(PyExc_OSError,
 1270|      0|                        "could not determine default encoding");
 1271|      0|        goto error;
 1272|      0|    }
 1273|       |
 1274|       |    /* Check we have been asked for a real text encoding */
 1275|      6|    codec_info = _PyCodec_LookupTextEncoding(encoding, NULL);
 1276|      6|    if (codec_info == NULL) {
  ------------------
  |  Branch (1276:9): [True: 0, False: 6]
  ------------------
 1277|      0|        Py_CLEAR(self->encoding);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1278|      0|        goto error;
 1279|      0|    }
 1280|       |
 1281|       |    /* XXX: Failures beyond this point have the potential to leak elements
 1282|       |     * of the partially constructed object (like self->encoding)
 1283|       |     */
 1284|       |
 1285|      6|    self->errors = Py_NewRef(errors);
  ------------------
  |  |  647|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1286|      6|    self->chunk_size = 8192;
 1287|      6|    self->line_buffering = line_buffering;
 1288|      6|    self->write_through = write_through;
 1289|      6|    if (set_newline(self, newline) < 0) {
  ------------------
  |  Branch (1289:9): [True: 0, False: 6]
  ------------------
 1290|      0|        goto error;
 1291|      0|    }
 1292|       |
 1293|      6|    self->buffer = Py_NewRef(buffer);
  ------------------
  |  |  647|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1294|       |
 1295|       |    /* Build the decoder object */
 1296|      6|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1297|      6|    self->state = state;
 1298|      6|    if (_textiowrapper_set_decoder(self, codec_info, errors_str) != 0)
  ------------------
  |  Branch (1298:9): [True: 0, False: 6]
  ------------------
 1299|      0|        goto error;
 1300|       |
 1301|       |    /* Build the encoder object */
 1302|      6|    if (_textiowrapper_set_encoder(self, codec_info, errors_str) != 0)
  ------------------
  |  Branch (1302:9): [True: 0, False: 6]
  ------------------
 1303|      0|        goto error;
 1304|       |
 1305|       |    /* Finished sorting out the codec details */
 1306|      6|    Py_CLEAR(codec_info);
  ------------------
  |  |  487|      6|    do { \
  |  |  488|      6|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      6|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      6|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  491|      6|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      6|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      6|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      6|        } \
  |  |  494|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1307|       |
 1308|      6|    if (Py_IS_TYPE(buffer, state->PyBufferedReader_Type) ||
  ------------------
  |  |  215|     12|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2, False: 4]
  |  |  ------------------
  ------------------
 1309|      4|        Py_IS_TYPE(buffer, state->PyBufferedWriter_Type) ||
  ------------------
  |  |  215|     10|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1310|      0|        Py_IS_TYPE(buffer, state->PyBufferedRandom_Type))
  ------------------
  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1311|      6|    {
 1312|      6|        if (PyObject_GetOptionalAttr(buffer, &_Py_ID(raw), &raw) < 0)
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1312:13): [True: 0, False: 6]
  ------------------
 1313|      0|            goto error;
 1314|       |        /* Cache the raw FileIO object to speed up 'closed' checks */
 1315|      6|        if (raw != NULL) {
  ------------------
  |  Branch (1315:13): [True: 6, False: 0]
  ------------------
 1316|      6|            if (Py_IS_TYPE(raw, state->PyFileIO_Type))
  ------------------
  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 6, False: 0]
  |  |  ------------------
  ------------------
 1317|      6|                self->raw = raw;
 1318|      0|            else
 1319|      0|                Py_DECREF(raw);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|      6|        }
 1321|      6|    }
 1322|       |
 1323|      6|    res = PyObject_CallMethodNoArgs(buffer, &_Py_ID(seekable));
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1324|      6|    if (res == NULL)
  ------------------
  |  Branch (1324:9): [True: 0, False: 6]
  ------------------
 1325|      0|        goto error;
 1326|      6|    r = PyObject_IsTrue(res);
 1327|      6|    Py_DECREF(res);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1328|      6|    if (r < 0)
  ------------------
  |  Branch (1328:9): [True: 0, False: 6]
  ------------------
 1329|      0|        goto error;
 1330|      6|    self->seekable = self->telling = r;
 1331|       |
 1332|      6|    r = PyObject_HasAttrWithError(buffer, &_Py_ID(read1));
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1333|      6|    if (r < 0) {
  ------------------
  |  Branch (1333:9): [True: 0, False: 6]
  ------------------
 1334|      0|        goto error;
 1335|      0|    }
 1336|      6|    self->has_read1 = r;
 1337|       |
 1338|      6|    self->encoding_start_of_stream = 0;
 1339|      6|    if (_textiowrapper_fix_encoder_state(self) < 0) {
  ------------------
  |  Branch (1339:9): [True: 0, False: 6]
  ------------------
 1340|      0|        goto error;
 1341|      0|    }
 1342|       |
 1343|      6|    self->ok = 1;
 1344|      6|    return 0;
 1345|       |
 1346|      0|  error:
 1347|      0|    Py_XDECREF(codec_info);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1348|      0|    return -1;
 1349|      6|}
textio.c:io_check_errors:
 1110|      6|{
 1111|      6|    assert(errors != NULL && errors != Py_None);
  ------------------
  |  Branch (1111:5): [True: 6, False: 0]
  |  Branch (1111:5): [True: 6, False: 0]
  ------------------
 1112|       |
 1113|      6|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1114|      6|#ifndef Py_DEBUG
 1115|       |    /* In release mode, only check in development mode (-X dev) */
 1116|      6|    if (!_PyInterpreterState_GetConfig(interp)->dev_mode) {
  ------------------
  |  Branch (1116:9): [True: 6, False: 0]
  ------------------
 1117|      6|        return 0;
 1118|      6|    }
 1119|       |#else
 1120|       |    /* Always check in debug mode */
 1121|       |#endif
 1122|       |
 1123|       |    /* Avoid calling PyCodec_LookupError() before the codec registry is ready:
 1124|       |       before_PyUnicode_InitEncodings() is called. */
 1125|      0|    if (!interp->unicode.fs_codec.encoding) {
  ------------------
  |  Branch (1125:9): [True: 0, False: 0]
  ------------------
 1126|      0|        return 0;
 1127|      0|    }
 1128|       |
 1129|      0|    const char *name = _PyUnicode_AsUTF8NoNUL(errors);
 1130|      0|    if (name == NULL) {
  ------------------
  |  Branch (1130:9): [True: 0, False: 0]
  ------------------
 1131|      0|        return -1;
 1132|      0|    }
 1133|      0|    PyObject *handler = PyCodec_LookupError(name);
 1134|      0|    if (handler != NULL) {
  ------------------
  |  Branch (1134:9): [True: 0, False: 0]
  ------------------
 1135|      0|        Py_DECREF(handler);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1136|      0|        return 0;
 1137|      0|    }
 1138|      0|    return -1;
 1139|      0|}

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

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

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

sre.c:sre_ucs1_match:
  663|      1|{
  664|      1|    const SRE_CHAR* end = (const SRE_CHAR *)state->end;
  665|      1|    Py_ssize_t alloc_pos, ctx_pos = -1;
  666|      1|    Py_ssize_t ret = 0;
  667|      1|    int jump;
  668|      1|    unsigned int sigcount = state->sigcount;
  669|       |
  670|      1|    SRE(match_context)* ctx;
  ------------------
  |  |  501|      1|#define SRE(F) sre_ucs1_##F
  ------------------
  671|      1|    SRE(match_context)* nextctx;
  ------------------
  |  |  501|      1|#define SRE(F) sre_ucs1_##F
  ------------------
  672|      1|    INIT_TRACE(state);
  673|       |
  674|      1|    TRACE(("|%p|%p|ENTER\n", pattern, state->ptr));
  675|       |
  676|      1|    DATA_ALLOC(SRE(match_context), ctx);
  ------------------
  |  |  512|      1|    DATA_STACK_ALLOC(state, t, p)
  |  |  ------------------
  |  |  |  |  451|      1|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  452|      1|do { \
  |  |  |  |  453|      1|    alloc_pos = state->data_stack_base; \
  |  |  |  |  454|      1|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  455|      1|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  456|      1|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (456:9): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  457|      1|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  458|      1|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (458:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |  459|      1|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (459:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |  460|      1|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  461|      1|    } \
  |  |  |  |  462|      1|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  463|      1|    state->data_stack_base += sizeof(type); \
  |  |  |  |  464|      1|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (464:10): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  677|      1|    ctx->last_ctx_pos = -1;
  678|      1|    ctx->jump = JUMP_NONE;
  ------------------
  |  |  559|      1|#define JUMP_NONE            0
  ------------------
  679|      1|    ctx->toplevel = toplevel;
  680|      1|    ctx_pos = alloc_pos;
  681|       |
  682|      1|#if USE_COMPUTED_GOTOS
  683|      1|#include "sre_targets.h"
  ------------------
  |  |    1|       |/*
  |  |    2|       | * Secret Labs' Regular Expression Engine
  |  |    3|       | *
  |  |    4|       | * regular expression matching engine
  |  |    5|       | *
  |  |    6|       | * Auto-generated by Tools/build/generate_sre_constants.py from
  |  |    7|       | * Lib/re/_constants.py.
  |  |    8|       | *
  |  |    9|       | * Copyright (c) 1997-2001 by Secret Labs AB.  All rights reserved.
  |  |   10|       | *
  |  |   11|       | * See the sre.c file for information on usage and redistribution.
  |  |   12|       | */
  |  |   13|       |
  |  |   14|      1|static void *sre_targets[43] = {
  |  |   15|      1|    &&TARGET_SRE_OP_FAILURE,
  |  |   16|      1|    &&TARGET_SRE_OP_SUCCESS,
  |  |   17|      1|    &&TARGET_SRE_OP_ANY,
  |  |   18|      1|    &&TARGET_SRE_OP_ANY_ALL,
  |  |   19|      1|    &&TARGET_SRE_OP_ASSERT,
  |  |   20|      1|    &&TARGET_SRE_OP_ASSERT_NOT,
  |  |   21|      1|    &&TARGET_SRE_OP_AT,
  |  |   22|      1|    &&TARGET_SRE_OP_BRANCH,
  |  |   23|      1|    &&TARGET_SRE_OP_CATEGORY,
  |  |   24|      1|    &&TARGET_SRE_OP_CHARSET,
  |  |   25|      1|    &&TARGET_SRE_OP_BIGCHARSET,
  |  |   26|      1|    &&TARGET_SRE_OP_GROUPREF,
  |  |   27|      1|    &&TARGET_SRE_OP_GROUPREF_EXISTS,
  |  |   28|      1|    &&TARGET_SRE_OP_IN,
  |  |   29|      1|    &&TARGET_SRE_OP_INFO,
  |  |   30|      1|    &&TARGET_SRE_OP_JUMP,
  |  |   31|      1|    &&TARGET_SRE_OP_LITERAL,
  |  |   32|      1|    &&TARGET_SRE_OP_MARK,
  |  |   33|      1|    &&TARGET_SRE_OP_MAX_UNTIL,
  |  |   34|      1|    &&TARGET_SRE_OP_MIN_UNTIL,
  |  |   35|      1|    &&TARGET_SRE_OP_NOT_LITERAL,
  |  |   36|      1|    &&TARGET_SRE_OP_NEGATE,
  |  |   37|      1|    &&TARGET_SRE_OP_RANGE,
  |  |   38|      1|    &&TARGET_SRE_OP_REPEAT,
  |  |   39|      1|    &&TARGET_SRE_OP_REPEAT_ONE,
  |  |   40|      1|    &&TARGET_SRE_OP_SUBPATTERN,
  |  |   41|      1|    &&TARGET_SRE_OP_MIN_REPEAT_ONE,
  |  |   42|      1|    &&TARGET_SRE_OP_ATOMIC_GROUP,
  |  |   43|      1|    &&TARGET_SRE_OP_POSSESSIVE_REPEAT,
  |  |   44|      1|    &&TARGET_SRE_OP_POSSESSIVE_REPEAT_ONE,
  |  |   45|      1|    &&TARGET_SRE_OP_GROUPREF_IGNORE,
  |  |   46|      1|    &&TARGET_SRE_OP_IN_IGNORE,
  |  |   47|      1|    &&TARGET_SRE_OP_LITERAL_IGNORE,
  |  |   48|      1|    &&TARGET_SRE_OP_NOT_LITERAL_IGNORE,
  |  |   49|      1|    &&TARGET_SRE_OP_GROUPREF_LOC_IGNORE,
  |  |   50|      1|    &&TARGET_SRE_OP_IN_LOC_IGNORE,
  |  |   51|      1|    &&TARGET_SRE_OP_LITERAL_LOC_IGNORE,
  |  |   52|      1|    &&TARGET_SRE_OP_NOT_LITERAL_LOC_IGNORE,
  |  |   53|      1|    &&TARGET_SRE_OP_GROUPREF_UNI_IGNORE,
  |  |   54|      1|    &&TARGET_SRE_OP_IN_UNI_IGNORE,
  |  |   55|      1|    &&TARGET_SRE_OP_LITERAL_UNI_IGNORE,
  |  |   56|      1|    &&TARGET_SRE_OP_NOT_LITERAL_UNI_IGNORE,
  |  |   57|      1|    &&TARGET_SRE_OP_RANGE_UNI_IGNORE,
  |  |   58|      1|};
  ------------------
  684|      1|#endif
  685|       |
  686|      1|entrance:
  687|       |
  688|      1|    ;  // Fashion statement.
  689|      1|    const SRE_CHAR *ptr = (SRE_CHAR *)state->ptr;
  690|       |
  691|      1|    if (pattern[0] == SRE_OP_INFO) {
  ------------------
  |  |   29|      1|#define SRE_OP_INFO 14
  ------------------
  |  Branch (691:9): [True: 1, False: 0]
  ------------------
  692|       |        /* optimization info block */
  693|       |        /* <INFO> <1=skip> <2=flags> <3=min> ... */
  694|      1|        if (pattern[3] && (uintptr_t)(end - ptr) < pattern[3]) {
  ------------------
  |  Branch (694:13): [True: 0, False: 1]
  |  Branch (694:27): [True: 0, False: 0]
  ------------------
  695|      0|            TRACE(("reject (got %tu chars, need %zu)\n",
  696|      0|                   end - ptr, (size_t) pattern[3]));
  697|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  698|      0|        }
  699|      1|        pattern += pattern[1] + 1;
  700|      1|    }
  701|       |
  702|      1|#if USE_COMPUTED_GOTOS
  703|      1|    DISPATCH;
  ------------------
  |  |  650|      1|        do {                               \
  |  |  651|      1|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      1|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      1|    do {                                                           \
  |  |  |  |  |  |  616|      1|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 1]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      1|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      1|            goto *sre_targets[*pattern++]; \
  |  |  653|      1|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 1]
  |  |  ------------------
  ------------------
  704|       |#else
  705|       |dispatch:
  706|       |    MAYBE_CHECK_SIGNALS;
  707|       |    switch (*pattern++)
  708|       |#endif
  709|      1|    {
  710|       |
  711|      1|        TARGET(SRE_OP_MARK):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  712|       |            /* set mark */
  713|       |            /* <MARK> <gid> */
  714|      0|            TRACE(("|%p|%p|MARK %d\n", pattern,
  715|      0|                   ptr, pattern[0]));
  716|      0|            {
  717|      0|                int i = pattern[0];
  718|      0|                if (i & 1)
  ------------------
  |  Branch (718:21): [True: 0, False: 0]
  ------------------
  719|      0|                    state->lastindex = i/2 + 1;
  720|      0|                if (i > state->lastmark) {
  ------------------
  |  Branch (720:21): [True: 0, False: 0]
  ------------------
  721|       |                    /* state->lastmark is the highest valid index in the
  722|       |                       state->mark array.  If it is increased by more than 1,
  723|       |                       the intervening marks must be set to NULL to signal
  724|       |                       that these marks have not been encountered. */
  725|      0|                    int j = state->lastmark + 1;
  726|      0|                    while (j < i)
  ------------------
  |  Branch (726:28): [True: 0, False: 0]
  ------------------
  727|      0|                        state->mark[j++] = NULL;
  728|      0|                    state->lastmark = i;
  729|      0|                }
  730|      0|                state->mark[i] = ptr;
  731|      0|            }
  732|      0|            pattern++;
  733|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  734|       |
  735|      0|        TARGET(SRE_OP_LITERAL):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  736|       |            /* match literal string */
  737|       |            /* <LITERAL> <code> */
  738|      0|            TRACE(("|%p|%p|LITERAL %d\n", pattern,
  739|      0|                   ptr, *pattern));
  740|      0|            if (ptr >= end || (SRE_CODE) ptr[0] != pattern[0])
  ------------------
  |  Branch (740:17): [True: 0, False: 0]
  |  Branch (740:31): [True: 0, False: 0]
  ------------------
  741|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  742|      0|            pattern++;
  743|      0|            ptr++;
  744|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  745|       |
  746|      0|        TARGET(SRE_OP_NOT_LITERAL):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  747|       |            /* match anything that is not literal character */
  748|       |            /* <NOT_LITERAL> <code> */
  749|      0|            TRACE(("|%p|%p|NOT_LITERAL %d\n", pattern,
  750|      0|                   ptr, *pattern));
  751|      0|            if (ptr >= end || (SRE_CODE) ptr[0] == pattern[0])
  ------------------
  |  Branch (751:17): [True: 0, False: 0]
  |  Branch (751:31): [True: 0, False: 0]
  ------------------
  752|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  753|      0|            pattern++;
  754|      0|            ptr++;
  755|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  756|       |
  757|      1|        TARGET(SRE_OP_SUCCESS):
  ------------------
  |  |  648|      1|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  758|       |            /* end of pattern */
  759|      1|            TRACE(("|%p|%p|SUCCESS\n", pattern, ptr));
  760|      1|            if (ctx->toplevel &&
  ------------------
  |  Branch (760:17): [True: 1, False: 0]
  ------------------
  761|      1|                ((state->match_all && ptr != state->end) ||
  ------------------
  |  Branch (761:19): [True: 0, False: 1]
  |  Branch (761:39): [True: 0, False: 0]
  ------------------
  762|      1|                 (state->must_advance && ptr == state->start)))
  ------------------
  |  Branch (762:19): [True: 0, False: 1]
  |  Branch (762:42): [True: 0, False: 0]
  ------------------
  763|      0|            {
  764|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  765|      0|            }
  766|      1|            state->ptr = ptr;
  767|      1|            RETURN_SUCCESS;
  ------------------
  |  |  442|      1|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  768|       |
  769|      0|        TARGET(SRE_OP_AT):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  770|       |            /* match at given position */
  771|       |            /* <AT> <code> */
  772|      0|            TRACE(("|%p|%p|AT %d\n", pattern, ptr, *pattern));
  773|      0|            if (!SRE(at)(state, ptr, *pattern))
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (773:17): [True: 0, False: 0]
  ------------------
  774|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  775|      0|            pattern++;
  776|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  777|       |
  778|      0|        TARGET(SRE_OP_CATEGORY):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  779|       |            /* match at given category */
  780|       |            /* <CATEGORY> <code> */
  781|      0|            TRACE(("|%p|%p|CATEGORY %d\n", pattern,
  782|      0|                   ptr, *pattern));
  783|      0|            if (ptr >= end || !sre_category(pattern[0], ptr[0]))
  ------------------
  |  Branch (783:17): [True: 0, False: 0]
  |  Branch (783:31): [True: 0, False: 0]
  ------------------
  784|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  785|      0|            pattern++;
  786|      0|            ptr++;
  787|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  788|       |
  789|      0|        TARGET(SRE_OP_ANY):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  790|       |            /* match anything (except a newline) */
  791|       |            /* <ANY> */
  792|      0|            TRACE(("|%p|%p|ANY\n", pattern, ptr));
  793|      0|            if (ptr >= end || SRE_IS_LINEBREAK(ptr[0]))
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (142:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (793:17): [True: 0, False: 0]
  ------------------
  794|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  795|      0|            ptr++;
  796|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  797|       |
  798|      0|        TARGET(SRE_OP_ANY_ALL):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  799|       |            /* match anything */
  800|       |            /* <ANY_ALL> */
  801|      0|            TRACE(("|%p|%p|ANY_ALL\n", pattern, ptr));
  802|      0|            if (ptr >= end)
  ------------------
  |  Branch (802:17): [True: 0, False: 0]
  ------------------
  803|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  804|      0|            ptr++;
  805|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  806|       |
  807|      0|        TARGET(SRE_OP_IN):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  808|       |            /* match set member (or non_member) */
  809|       |            /* <IN> <skip> <set> */
  810|      0|            TRACE(("|%p|%p|IN\n", pattern, ptr));
  811|      0|            if (ptr >= end ||
  ------------------
  |  Branch (811:17): [True: 0, False: 0]
  ------------------
  812|      0|                !SRE(charset)(state, pattern + 1, *ptr))
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (812:17): [True: 0, False: 0]
  ------------------
  813|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  814|      0|            pattern += pattern[0];
  815|      0|            ptr++;
  816|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  817|       |
  818|      0|        TARGET(SRE_OP_LITERAL_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  819|      0|            TRACE(("|%p|%p|LITERAL_IGNORE %d\n",
  820|      0|                   pattern, ptr, pattern[0]));
  821|      0|            if (ptr >= end ||
  ------------------
  |  Branch (821:17): [True: 0, False: 0]
  ------------------
  822|      0|                sre_lower_ascii(*ptr) != *pattern)
  ------------------
  |  Branch (822:17): [True: 0, False: 0]
  ------------------
  823|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  824|      0|            pattern++;
  825|      0|            ptr++;
  826|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  827|       |
  828|      0|        TARGET(SRE_OP_LITERAL_UNI_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  829|      0|            TRACE(("|%p|%p|LITERAL_UNI_IGNORE %d\n",
  830|      0|                   pattern, ptr, pattern[0]));
  831|      0|            if (ptr >= end ||
  ------------------
  |  Branch (831:17): [True: 0, False: 0]
  ------------------
  832|      0|                sre_lower_unicode(*ptr) != *pattern)
  ------------------
  |  Branch (832:17): [True: 0, False: 0]
  ------------------
  833|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  834|      0|            pattern++;
  835|      0|            ptr++;
  836|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  837|       |
  838|      0|        TARGET(SRE_OP_LITERAL_LOC_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  839|      0|            TRACE(("|%p|%p|LITERAL_LOC_IGNORE %d\n",
  840|      0|                   pattern, ptr, pattern[0]));
  841|      0|            if (ptr >= end
  ------------------
  |  Branch (841:17): [True: 0, False: 0]
  ------------------
  842|      0|                || !char_loc_ignore(*pattern, *ptr))
  ------------------
  |  Branch (842:20): [True: 0, False: 0]
  ------------------
  843|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  844|      0|            pattern++;
  845|      0|            ptr++;
  846|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  847|       |
  848|      0|        TARGET(SRE_OP_NOT_LITERAL_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  849|      0|            TRACE(("|%p|%p|NOT_LITERAL_IGNORE %d\n",
  850|      0|                   pattern, ptr, *pattern));
  851|      0|            if (ptr >= end ||
  ------------------
  |  Branch (851:17): [True: 0, False: 0]
  ------------------
  852|      0|                sre_lower_ascii(*ptr) == *pattern)
  ------------------
  |  Branch (852:17): [True: 0, False: 0]
  ------------------
  853|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  854|      0|            pattern++;
  855|      0|            ptr++;
  856|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  857|       |
  858|      0|        TARGET(SRE_OP_NOT_LITERAL_UNI_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  859|      0|            TRACE(("|%p|%p|NOT_LITERAL_UNI_IGNORE %d\n",
  860|      0|                   pattern, ptr, *pattern));
  861|      0|            if (ptr >= end ||
  ------------------
  |  Branch (861:17): [True: 0, False: 0]
  ------------------
  862|      0|                sre_lower_unicode(*ptr) == *pattern)
  ------------------
  |  Branch (862:17): [True: 0, False: 0]
  ------------------
  863|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  864|      0|            pattern++;
  865|      0|            ptr++;
  866|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  867|       |
  868|      0|        TARGET(SRE_OP_NOT_LITERAL_LOC_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  869|      0|            TRACE(("|%p|%p|NOT_LITERAL_LOC_IGNORE %d\n",
  870|      0|                   pattern, ptr, *pattern));
  871|      0|            if (ptr >= end
  ------------------
  |  Branch (871:17): [True: 0, False: 0]
  ------------------
  872|      0|                || char_loc_ignore(*pattern, *ptr))
  ------------------
  |  Branch (872:20): [True: 0, False: 0]
  ------------------
  873|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  874|      0|            pattern++;
  875|      0|            ptr++;
  876|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  877|       |
  878|      0|        TARGET(SRE_OP_IN_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  879|      0|            TRACE(("|%p|%p|IN_IGNORE\n", pattern, ptr));
  880|      0|            if (ptr >= end
  ------------------
  |  Branch (880:17): [True: 0, False: 0]
  ------------------
  881|      0|                || !SRE(charset)(state, pattern+1,
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (881:20): [True: 0, False: 0]
  ------------------
  882|      0|                                 (SRE_CODE)sre_lower_ascii(*ptr)))
  883|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  884|      0|            pattern += pattern[0];
  885|      0|            ptr++;
  886|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  887|       |
  888|      0|        TARGET(SRE_OP_IN_UNI_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  889|      0|            TRACE(("|%p|%p|IN_UNI_IGNORE\n", pattern, ptr));
  890|      0|            if (ptr >= end
  ------------------
  |  Branch (890:17): [True: 0, False: 0]
  ------------------
  891|      0|                || !SRE(charset)(state, pattern+1,
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (891:20): [True: 0, False: 0]
  ------------------
  892|      0|                                 (SRE_CODE)sre_lower_unicode(*ptr)))
  893|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  894|      0|            pattern += pattern[0];
  895|      0|            ptr++;
  896|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  897|       |
  898|      0|        TARGET(SRE_OP_IN_LOC_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  899|      0|            TRACE(("|%p|%p|IN_LOC_IGNORE\n", pattern, ptr));
  900|      0|            if (ptr >= end
  ------------------
  |  Branch (900:17): [True: 0, False: 0]
  ------------------
  901|      0|                || !SRE(charset_loc_ignore)(state, pattern+1, *ptr))
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (901:20): [True: 0, False: 0]
  ------------------
  902|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  903|      0|            pattern += pattern[0];
  904|      0|            ptr++;
  905|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  906|       |
  907|      0|        TARGET(SRE_OP_JUMP):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  908|      0|        TARGET(SRE_OP_INFO):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  909|       |            /* jump forward */
  910|       |            /* <JUMP> <offset> */
  911|      0|            TRACE(("|%p|%p|JUMP %d\n", pattern,
  912|      0|                   ptr, pattern[0]));
  913|      0|            pattern += pattern[0];
  914|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
  915|       |
  916|      0|        TARGET(SRE_OP_BRANCH):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  917|       |            /* alternation */
  918|       |            /* <BRANCH> <0=skip> code <JUMP> ... <NULL> */
  919|      0|            TRACE(("|%p|%p|BRANCH\n", pattern, ptr));
  920|      0|            LASTMARK_SAVE();
  ------------------
  |  |  417|      0|    do { \
  |  |  418|      0|        ctx->lastmark = state->lastmark; \
  |  |  419|      0|        ctx->lastindex = state->lastindex; \
  |  |  420|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  921|      0|            if (state->save_marks)
  ------------------
  |  Branch (921:17): [True: 0, False: 0]
  ------------------
  922|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      0|do { \
  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  481|      0|    } \
  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  484|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  923|      0|            for (; pattern[0]; pattern += pattern[0]) {
  ------------------
  |  Branch (923:20): [True: 0, False: 0]
  ------------------
  924|      0|                if (pattern[1] == SRE_OP_LITERAL &&
  ------------------
  |  |   31|      0|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (924:21): [True: 0, False: 0]
  ------------------
  925|      0|                    (ptr >= end ||
  ------------------
  |  Branch (925:22): [True: 0, False: 0]
  ------------------
  926|      0|                     (SRE_CODE) *ptr != pattern[2]))
  ------------------
  |  Branch (926:22): [True: 0, False: 0]
  ------------------
  927|      0|                    continue;
  928|      0|                if (pattern[1] == SRE_OP_IN &&
  ------------------
  |  |   28|      0|#define SRE_OP_IN 13
  ------------------
  |  Branch (928:21): [True: 0, False: 0]
  ------------------
  929|      0|                    (ptr >= end ||
  ------------------
  |  Branch (929:22): [True: 0, False: 0]
  ------------------
  930|      0|                     !SRE(charset)(state, pattern + 3,
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (930:22): [True: 0, False: 0]
  ------------------
  931|      0|                                   (SRE_CODE) *ptr)))
  932|      0|                    continue;
  933|      0|                state->ptr = ptr;
  934|      0|                DO_JUMP(JUMP_BRANCH, jump_branch, pattern+1);
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
  935|      0|                if (ret) {
  ------------------
  |  Branch (935:21): [True: 0, False: 0]
  ------------------
  936|      0|                    if (state->save_marks)
  ------------------
  |  Branch (936:25): [True: 0, False: 0]
  ------------------
  937|      0|                        MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  938|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  939|      0|                    RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  940|      0|                }
  941|      0|                if (state->save_marks)
  ------------------
  |  Branch (941:21): [True: 0, False: 0]
  ------------------
  942|      0|                    MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  547|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (547:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  548|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  549|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  551|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (551:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  943|      0|                LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  944|      0|            }
  945|      0|            if (state->save_marks)
  ------------------
  |  Branch (945:17): [True: 0, False: 0]
  ------------------
  946|      0|                MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  947|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  948|       |
  949|      0|        TARGET(SRE_OP_REPEAT_ONE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  950|       |            /* match repeated sequence (maximizing regexp) */
  951|       |
  952|       |            /* this operator only works if the repeated item is
  953|       |               exactly one character wide, and we're not already
  954|       |               collecting backtracking points.  for other cases,
  955|       |               use the MAX_REPEAT operator */
  956|       |
  957|       |            /* <REPEAT_ONE> <skip> <1=min> <2=max> item <SUCCESS> tail */
  958|       |
  959|      0|            TRACE(("|%p|%p|REPEAT_ONE %d %d\n", pattern, ptr,
  960|      0|                   pattern[1], pattern[2]));
  961|       |
  962|      0|            if ((Py_ssize_t) pattern[1] > end - ptr)
  ------------------
  |  Branch (962:17): [True: 0, False: 0]
  ------------------
  963|      0|                RETURN_FAILURE; /* cannot match */
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  964|       |
  965|      0|            state->ptr = ptr;
  966|       |
  967|      0|            ret = SRE(count)(state, pattern+3, pattern[2]);
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  968|      0|            RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  969|      0|            DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  514|      0|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  467|      0|do { \
  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  470|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  970|      0|            ctx->count = ret;
  971|      0|            ptr += ctx->count;
  972|       |
  973|       |            /* when we arrive here, count contains the number of
  974|       |               matches, and ptr points to the tail of the target
  975|       |               string.  check if the rest of the pattern matches,
  976|       |               and backtrack if not. */
  977|       |
  978|      0|            if (ctx->count < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (978:17): [True: 0, False: 0]
  ------------------
  979|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  980|       |
  981|      0|            if (pattern[pattern[0]] == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (981:17): [True: 0, False: 0]
  ------------------
  982|      0|                ptr == state->end &&
  ------------------
  |  Branch (982:17): [True: 0, False: 0]
  ------------------
  983|      0|                !(ctx->toplevel && state->must_advance && ptr == state->start))
  ------------------
  |  Branch (983:19): [True: 0, False: 0]
  |  Branch (983:36): [True: 0, False: 0]
  |  Branch (983:59): [True: 0, False: 0]
  ------------------
  984|      0|            {
  985|       |                /* tail is empty.  we're finished */
  986|      0|                state->ptr = ptr;
  987|      0|                RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  988|      0|            }
  989|       |
  990|      0|            LASTMARK_SAVE();
  ------------------
  |  |  417|      0|    do { \
  |  |  418|      0|        ctx->lastmark = state->lastmark; \
  |  |  419|      0|        ctx->lastindex = state->lastindex; \
  |  |  420|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  991|      0|            if (state->save_marks)
  ------------------
  |  Branch (991:17): [True: 0, False: 0]
  ------------------
  992|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      0|do { \
  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  481|      0|    } \
  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  484|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  993|       |
  994|      0|            if (pattern[pattern[0]] == SRE_OP_LITERAL) {
  ------------------
  |  |   31|      0|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (994:17): [True: 0, False: 0]
  ------------------
  995|       |                /* tail starts with a literal. skip positions where
  996|       |                   the rest of the pattern cannot possibly match */
  997|      0|                ctx->u.chr = pattern[pattern[0]+1];
  998|      0|                for (;;) {
  999|      0|                    while (ctx->count >= (Py_ssize_t) pattern[1] &&
  ------------------
  |  Branch (999:28): [True: 0, False: 0]
  ------------------
 1000|      0|                           (ptr >= end || *ptr != ctx->u.chr)) {
  ------------------
  |  Branch (1000:29): [True: 0, False: 0]
  |  Branch (1000:43): [True: 0, False: 0]
  ------------------
 1001|      0|                        ptr--;
 1002|      0|                        ctx->count--;
 1003|      0|                    }
 1004|      0|                    if (ctx->count < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (1004:25): [True: 0, False: 0]
  ------------------
 1005|      0|                        break;
 1006|      0|                    state->ptr = ptr;
 1007|      0|                    DO_JUMP(JUMP_REPEAT_ONE_1, jump_repeat_one_1,
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1008|      0|                            pattern+pattern[0]);
 1009|      0|                    if (ret) {
  ------------------
  |  Branch (1009:25): [True: 0, False: 0]
  ------------------
 1010|      0|                        if (state->save_marks)
  ------------------
  |  Branch (1010:29): [True: 0, False: 0]
  ------------------
 1011|      0|                            MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1012|      0|                        RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1013|      0|                        RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1014|      0|                    }
 1015|      0|                    if (state->save_marks)
  ------------------
  |  Branch (1015:25): [True: 0, False: 0]
  ------------------
 1016|      0|                        MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  547|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (547:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  548|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  549|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  551|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (551:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1017|      0|                    LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1018|       |
 1019|      0|                    ptr--;
 1020|      0|                    ctx->count--;
 1021|      0|                }
 1022|      0|                if (state->save_marks)
  ------------------
  |  Branch (1022:21): [True: 0, False: 0]
  ------------------
 1023|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1024|      0|            } else {
 1025|       |                /* general case */
 1026|      0|                while (ctx->count >= (Py_ssize_t) pattern[1]) {
  ------------------
  |  Branch (1026:24): [True: 0, False: 0]
  ------------------
 1027|      0|                    state->ptr = ptr;
 1028|      0|                    DO_JUMP(JUMP_REPEAT_ONE_2, jump_repeat_one_2,
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1029|      0|                            pattern+pattern[0]);
 1030|      0|                    if (ret) {
  ------------------
  |  Branch (1030:25): [True: 0, False: 0]
  ------------------
 1031|      0|                        if (state->save_marks)
  ------------------
  |  Branch (1031:29): [True: 0, False: 0]
  ------------------
 1032|      0|                            MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1033|      0|                        RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1034|      0|                        RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1035|      0|                    }
 1036|      0|                    if (state->save_marks)
  ------------------
  |  Branch (1036:25): [True: 0, False: 0]
  ------------------
 1037|      0|                        MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  547|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (547:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  548|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  549|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  551|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (551:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1038|      0|                    LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1039|       |
 1040|      0|                    ptr--;
 1041|      0|                    ctx->count--;
 1042|      0|                }
 1043|      0|                if (state->save_marks)
  ------------------
  |  Branch (1043:21): [True: 0, False: 0]
  ------------------
 1044|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1045|      0|            }
 1046|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1047|       |
 1048|      0|        TARGET(SRE_OP_MIN_REPEAT_ONE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1049|       |            /* match repeated sequence (minimizing regexp) */
 1050|       |
 1051|       |            /* this operator only works if the repeated item is
 1052|       |               exactly one character wide, and we're not already
 1053|       |               collecting backtracking points.  for other cases,
 1054|       |               use the MIN_REPEAT operator */
 1055|       |
 1056|       |            /* <MIN_REPEAT_ONE> <skip> <1=min> <2=max> item <SUCCESS> tail */
 1057|       |
 1058|      0|            TRACE(("|%p|%p|MIN_REPEAT_ONE %d %d\n", pattern, ptr,
 1059|      0|                   pattern[1], pattern[2]));
 1060|       |
 1061|      0|            if ((Py_ssize_t) pattern[1] > end - ptr)
  ------------------
  |  Branch (1061:17): [True: 0, False: 0]
  ------------------
 1062|      0|                RETURN_FAILURE; /* cannot match */
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1063|       |
 1064|      0|            state->ptr = ptr;
 1065|       |
 1066|      0|            if (pattern[1] == 0)
  ------------------
  |  Branch (1066:17): [True: 0, False: 0]
  ------------------
 1067|      0|                ctx->count = 0;
 1068|      0|            else {
 1069|       |                /* count using pattern min as the maximum */
 1070|      0|                ret = SRE(count)(state, pattern+3, pattern[1]);
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1071|      0|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1072|      0|                DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  514|      0|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  467|      0|do { \
  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  470|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|      0|                if (ret < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (1073:21): [True: 0, False: 0]
  ------------------
 1074|       |                    /* didn't match minimum number of times */
 1075|      0|                    RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1076|       |                /* advance past minimum matches of repeat */
 1077|      0|                ctx->count = ret;
 1078|      0|                ptr += ctx->count;
 1079|      0|            }
 1080|       |
 1081|      0|            if (pattern[pattern[0]] == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (1081:17): [True: 0, False: 0]
  ------------------
 1082|      0|                !(ctx->toplevel &&
  ------------------
  |  Branch (1082:19): [True: 0, False: 0]
  ------------------
 1083|      0|                  ((state->match_all && ptr != state->end) ||
  ------------------
  |  Branch (1083:21): [True: 0, False: 0]
  |  Branch (1083:41): [True: 0, False: 0]
  ------------------
 1084|      0|                   (state->must_advance && ptr == state->start))))
  ------------------
  |  Branch (1084:21): [True: 0, False: 0]
  |  Branch (1084:44): [True: 0, False: 0]
  ------------------
 1085|      0|            {
 1086|       |                /* tail is empty.  we're finished */
 1087|      0|                state->ptr = ptr;
 1088|      0|                RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1089|       |
 1090|      0|            } else {
 1091|       |                /* general case */
 1092|      0|                LASTMARK_SAVE();
  ------------------
  |  |  417|      0|    do { \
  |  |  418|      0|        ctx->lastmark = state->lastmark; \
  |  |  419|      0|        ctx->lastindex = state->lastindex; \
  |  |  420|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1093|      0|                if (state->save_marks)
  ------------------
  |  Branch (1093:21): [True: 0, False: 0]
  ------------------
 1094|      0|                    MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      0|do { \
  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  481|      0|    } \
  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  484|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1095|       |
 1096|      0|                while ((Py_ssize_t)pattern[2] == SRE_MAXREPEAT
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1096:24): [True: 0, False: 0]
  ------------------
 1097|      0|                       || ctx->count <= (Py_ssize_t)pattern[2]) {
  ------------------
  |  Branch (1097:27): [True: 0, False: 0]
  ------------------
 1098|      0|                    state->ptr = ptr;
 1099|      0|                    DO_JUMP(JUMP_MIN_REPEAT_ONE,jump_min_repeat_one,
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1100|      0|                            pattern+pattern[0]);
 1101|      0|                    if (ret) {
  ------------------
  |  Branch (1101:25): [True: 0, False: 0]
  ------------------
 1102|      0|                        if (state->save_marks)
  ------------------
  |  Branch (1102:29): [True: 0, False: 0]
  ------------------
 1103|      0|                            MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1104|      0|                        RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1105|      0|                        RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1106|      0|                    }
 1107|      0|                    if (state->save_marks)
  ------------------
  |  Branch (1107:25): [True: 0, False: 0]
  ------------------
 1108|      0|                        MARK_POP_KEEP(ctx->lastmark);
  ------------------
  |  |  547|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (547:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  548|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  549|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 0); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|        MARK_TRACE("pop keep", (lastmark)); \
  |  |  551|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (551:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1109|      0|                    LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1110|       |
 1111|      0|                    state->ptr = ptr;
 1112|      0|                    ret = SRE(count)(state, pattern+3, 1);
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1113|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1114|      0|                    DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  514|      0|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  467|      0|do { \
  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  470|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1115|      0|                    if (ret == 0)
  ------------------
  |  Branch (1115:25): [True: 0, False: 0]
  ------------------
 1116|      0|                        break;
 1117|      0|                    assert(ret == 1);
  ------------------
  |  Branch (1117:21): [True: 0, False: 0]
  ------------------
 1118|      0|                    ptr++;
 1119|      0|                    ctx->count++;
 1120|      0|                }
 1121|      0|                if (state->save_marks)
  ------------------
  |  Branch (1121:21): [True: 0, False: 0]
  ------------------
 1122|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1123|      0|            }
 1124|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1125|       |
 1126|      0|        TARGET(SRE_OP_POSSESSIVE_REPEAT_ONE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1127|       |            /* match repeated sequence (maximizing regexp) without
 1128|       |               backtracking */
 1129|       |
 1130|       |            /* this operator only works if the repeated item is
 1131|       |               exactly one character wide, and we're not already
 1132|       |               collecting backtracking points.  for other cases,
 1133|       |               use the MAX_REPEAT operator */
 1134|       |
 1135|       |            /* <POSSESSIVE_REPEAT_ONE> <skip> <1=min> <2=max> item <SUCCESS>
 1136|       |               tail */
 1137|       |
 1138|      0|            TRACE(("|%p|%p|POSSESSIVE_REPEAT_ONE %d %d\n", pattern,
 1139|      0|                   ptr, pattern[1], pattern[2]));
 1140|       |
 1141|      0|            if (ptr + pattern[1] > end) {
  ------------------
  |  Branch (1141:17): [True: 0, False: 0]
  ------------------
 1142|      0|                RETURN_FAILURE; /* cannot match */
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1143|      0|            }
 1144|       |
 1145|      0|            state->ptr = ptr;
 1146|       |
 1147|      0|            ret = SRE(count)(state, pattern + 3, pattern[2]);
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1148|      0|            RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1149|      0|            DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  514|      0|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  467|      0|do { \
  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  470|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1150|      0|            ctx->count = ret;
 1151|      0|            ptr += ctx->count;
 1152|       |
 1153|       |            /* when we arrive here, count contains the number of
 1154|       |               matches, and ptr points to the tail of the target
 1155|       |               string.  check if the rest of the pattern matches,
 1156|       |               and fail if not. */
 1157|       |
 1158|       |            /* Test for not enough repetitions in match */
 1159|      0|            if (ctx->count < (Py_ssize_t) pattern[1]) {
  ------------------
  |  Branch (1159:17): [True: 0, False: 0]
  ------------------
 1160|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1161|      0|            }
 1162|       |
 1163|       |            /* Update the pattern to point to the next op code */
 1164|      0|            pattern += pattern[0];
 1165|       |
 1166|       |            /* Let the tail be evaluated separately and consider this
 1167|       |               match successful. */
 1168|      0|            if (*pattern == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (1168:17): [True: 0, False: 0]
  ------------------
 1169|      0|                ptr == state->end &&
  ------------------
  |  Branch (1169:17): [True: 0, False: 0]
  ------------------
 1170|      0|                !(ctx->toplevel && state->must_advance && ptr == state->start))
  ------------------
  |  Branch (1170:19): [True: 0, False: 0]
  |  Branch (1170:36): [True: 0, False: 0]
  |  Branch (1170:59): [True: 0, False: 0]
  ------------------
 1171|      0|            {
 1172|       |                /* tail is empty.  we're finished */
 1173|      0|                state->ptr = ptr;
 1174|      0|                RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1175|      0|            }
 1176|       |
 1177|       |            /* Attempt to match the rest of the string */
 1178|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1179|       |
 1180|      0|        TARGET(SRE_OP_REPEAT):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1181|       |            /* create repeat context.  all the hard work is done
 1182|       |               by the UNTIL operator (MAX_UNTIL, MIN_UNTIL) */
 1183|       |            /* <REPEAT> <skip> <1=min> <2=max>
 1184|       |               <3=repeat_index> item <UNTIL> tail */
 1185|      0|            TRACE(("|%p|%p|REPEAT %d %d\n", pattern, ptr,
 1186|      0|                   pattern[1], pattern[2]));
 1187|       |
 1188|       |            /* install new repeat context */
 1189|      0|            ctx->u.rep = repeat_pool_malloc(state);
 1190|      0|            if (!ctx->u.rep) {
  ------------------
  |  Branch (1190:17): [True: 0, False: 0]
  ------------------
 1191|      0|                RETURN_ERROR(SRE_ERROR_MEMORY);
  ------------------
  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1192|      0|            }
 1193|      0|            ctx->u.rep->count = -1;
 1194|      0|            ctx->u.rep->pattern = pattern;
 1195|      0|            ctx->u.rep->prev = state->repeat;
 1196|      0|            ctx->u.rep->last_ptr = NULL;
 1197|      0|            state->repeat = ctx->u.rep;
 1198|      0|            state->save_marks++;
 1199|       |
 1200|      0|            state->ptr = ptr;
 1201|      0|            DO_JUMP(JUMP_REPEAT, jump_repeat, pattern+pattern[0]);
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1202|      0|            state->repeat = ctx->u.rep->prev;
 1203|      0|            state->save_marks--;
 1204|      0|            repeat_pool_free(state, ctx->u.rep);
 1205|       |
 1206|      0|            if (ret) {
  ------------------
  |  Branch (1206:17): [True: 0, False: 0]
  ------------------
 1207|      0|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1208|      0|                RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1209|      0|            }
 1210|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1211|       |
 1212|      0|        TARGET(SRE_OP_MAX_UNTIL):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1213|       |            /* maximizing repeat */
 1214|       |            /* <REPEAT> <skip> <1=min> <2=max> item <MAX_UNTIL> tail */
 1215|       |
 1216|       |            /* FIXME: we probably need to deal with zero-width
 1217|       |               matches in here... */
 1218|       |
 1219|      0|            ctx->u.rep = state->repeat;
 1220|      0|            if (!ctx->u.rep)
  ------------------
  |  Branch (1220:17): [True: 0, False: 0]
  ------------------
 1221|      0|                RETURN_ERROR(SRE_ERROR_STATE);
  ------------------
  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1222|       |
 1223|      0|            state->ptr = ptr;
 1224|       |
 1225|      0|            ctx->count = ctx->u.rep->count+1;
 1226|       |
 1227|      0|            TRACE(("|%p|%p|MAX_UNTIL %zd\n", pattern,
 1228|      0|                   ptr, ctx->count));
 1229|       |
 1230|      0|            if (ctx->count < (Py_ssize_t) ctx->u.rep->pattern[1]) {
  ------------------
  |  Branch (1230:17): [True: 0, False: 0]
  ------------------
 1231|       |                /* not enough matches */
 1232|      0|                ctx->u.rep->count = ctx->count;
 1233|      0|                DO_JUMP(JUMP_MAX_UNTIL_1, jump_max_until_1,
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1234|      0|                        ctx->u.rep->pattern+3);
 1235|      0|                if (ret) {
  ------------------
  |  Branch (1235:21): [True: 0, False: 0]
  ------------------
 1236|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1237|      0|                    RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1238|      0|                }
 1239|      0|                ctx->u.rep->count = ctx->count-1;
 1240|      0|                state->ptr = ptr;
 1241|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1242|      0|            }
 1243|       |
 1244|      0|            if ((ctx->count < (Py_ssize_t) ctx->u.rep->pattern[2] ||
  ------------------
  |  Branch (1244:18): [True: 0, False: 0]
  ------------------
 1245|      0|                ctx->u.rep->pattern[2] == SRE_MAXREPEAT) &&
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1245:17): [True: 0, False: 0]
  ------------------
 1246|      0|                state->ptr != ctx->u.rep->last_ptr) {
  ------------------
  |  Branch (1246:17): [True: 0, False: 0]
  ------------------
 1247|       |                /* we may have enough matches, but if we can
 1248|       |                   match another item, do so */
 1249|      0|                ctx->u.rep->count = ctx->count;
 1250|      0|                LASTMARK_SAVE();
  ------------------
  |  |  417|      0|    do { \
  |  |  418|      0|        ctx->lastmark = state->lastmark; \
  |  |  419|      0|        ctx->lastindex = state->lastindex; \
  |  |  420|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1251|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      0|do { \
  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  481|      0|    } \
  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  484|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1252|       |                /* zero-width match protection */
 1253|      0|                LAST_PTR_PUSH();
  ------------------
  |  |  428|      0|    do { \
  |  |  429|      0|        TRACE(("push last_ptr: %zd", \
  |  |  430|      0|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  431|      0|        DATA_PUSH(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  506|      0|    DATA_STACK_PUSH(state, (x), sizeof(*(x)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  |  |  473|      0|do { \
  |  |  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  481|      0|    } \
  |  |  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  |  |  484|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  432|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (432:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1254|      0|                ctx->u.rep->last_ptr = state->ptr;
 1255|      0|                DO_JUMP(JUMP_MAX_UNTIL_2, jump_max_until_2,
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1256|      0|                        ctx->u.rep->pattern+3);
 1257|      0|                LAST_PTR_POP();
  ------------------
  |  |  434|      0|    do { \
  |  |  435|      0|        DATA_POP(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  508|      0|    DATA_STACK_POP(state, (x), sizeof(*(x)), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  |  |  490|      0|do { \
  |  |  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:9): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  |  |  496|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  436|      0|        TRACE(("pop last_ptr: %zd", \
  |  |  437|      0|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  438|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1258|      0|                if (ret) {
  ------------------
  |  Branch (1258:21): [True: 0, False: 0]
  ------------------
 1259|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1260|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1261|      0|                    RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1262|      0|                }
 1263|      0|                MARK_POP(ctx->lastmark);
  ------------------
  |  |  541|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (541:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  542|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  543|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  544|      0|        MARK_TRACE("pop", (lastmark)); \
  |  |  545|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (545:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1264|      0|                LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1265|      0|                ctx->u.rep->count = ctx->count-1;
 1266|      0|                state->ptr = ptr;
 1267|      0|            }
 1268|       |
 1269|       |            /* cannot match more repeated items here.  make sure the
 1270|       |               tail matches */
 1271|      0|            state->repeat = ctx->u.rep->prev;
 1272|      0|            state->save_marks--;
 1273|      0|            DO_JUMP(JUMP_MAX_UNTIL_3, jump_max_until_3, pattern);
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1274|      0|            state->repeat = ctx->u.rep; // restore repeat before return
 1275|      0|            state->save_marks++;
 1276|       |
 1277|      0|            RETURN_ON_SUCCESS(ret);
  ------------------
  |  |  447|      0|    do { RETURN_ON_ERROR(i); if (i > 0) RETURN_SUCCESS; } while (0)
  |  |  ------------------
  |  |  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   do { RETURN_ON_ERROR(i); if (i > 0) RETURN_SUCCESS; } while (0)
  |  |  ------------------
  |  |  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (447:34): [True: 0, False: 0]
  |  |  |  Branch (447:66): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1278|      0|            state->ptr = ptr;
 1279|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1280|       |
 1281|      0|        TARGET(SRE_OP_MIN_UNTIL):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1282|       |            /* minimizing repeat */
 1283|       |            /* <REPEAT> <skip> <1=min> <2=max> item <MIN_UNTIL> tail */
 1284|       |
 1285|      0|            ctx->u.rep = state->repeat;
 1286|      0|            if (!ctx->u.rep)
  ------------------
  |  Branch (1286:17): [True: 0, False: 0]
  ------------------
 1287|      0|                RETURN_ERROR(SRE_ERROR_STATE);
  ------------------
  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1288|       |
 1289|      0|            state->ptr = ptr;
 1290|       |
 1291|      0|            ctx->count = ctx->u.rep->count+1;
 1292|       |
 1293|      0|            TRACE(("|%p|%p|MIN_UNTIL %zd %p\n", pattern,
 1294|      0|                   ptr, ctx->count, ctx->u.rep->pattern));
 1295|       |
 1296|      0|            if (ctx->count < (Py_ssize_t) ctx->u.rep->pattern[1]) {
  ------------------
  |  Branch (1296:17): [True: 0, False: 0]
  ------------------
 1297|       |                /* not enough matches */
 1298|      0|                ctx->u.rep->count = ctx->count;
 1299|      0|                DO_JUMP(JUMP_MIN_UNTIL_1, jump_min_until_1,
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1300|      0|                        ctx->u.rep->pattern+3);
 1301|      0|                if (ret) {
  ------------------
  |  Branch (1301:21): [True: 0, False: 0]
  ------------------
 1302|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1303|      0|                    RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1304|      0|                }
 1305|      0|                ctx->u.rep->count = ctx->count-1;
 1306|      0|                state->ptr = ptr;
 1307|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1308|      0|            }
 1309|       |
 1310|       |            /* see if the tail matches */
 1311|      0|            state->repeat = ctx->u.rep->prev;
 1312|      0|            state->save_marks--;
 1313|       |
 1314|      0|            LASTMARK_SAVE();
  ------------------
  |  |  417|      0|    do { \
  |  |  418|      0|        ctx->lastmark = state->lastmark; \
  |  |  419|      0|        ctx->lastindex = state->lastindex; \
  |  |  420|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1315|      0|            if (state->save_marks)
  ------------------
  |  Branch (1315:17): [True: 0, False: 0]
  ------------------
 1316|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      0|do { \
  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  481|      0|    } \
  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  484|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1317|       |
 1318|      0|            DO_JUMP(JUMP_MIN_UNTIL_2, jump_min_until_2, pattern);
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1319|       |            /* save_marks is balanced across the jump, so this equals the
 1320|       |               value tested for MARK_PUSH above */
 1321|      0|            int pushed = state->save_marks != 0;
 1322|      0|            state->repeat = ctx->u.rep; // restore repeat before return
 1323|      0|            state->save_marks++;
 1324|       |
 1325|      0|            if (ret) {
  ------------------
  |  Branch (1325:17): [True: 0, False: 0]
  ------------------
 1326|      0|                if (pushed)
  ------------------
  |  Branch (1326:21): [True: 0, False: 0]
  ------------------
 1327|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1328|      0|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1329|      0|                RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1330|      0|            }
 1331|      0|            if (pushed)
  ------------------
  |  Branch (1331:17): [True: 0, False: 0]
  ------------------
 1332|      0|                MARK_POP(ctx->lastmark);
  ------------------
  |  |  541|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (541:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  542|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  543|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  544|      0|        MARK_TRACE("pop", (lastmark)); \
  |  |  545|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (545:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1333|      0|            LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1334|       |
 1335|      0|            state->ptr = ptr;
 1336|       |
 1337|      0|            if ((ctx->count >= (Py_ssize_t) ctx->u.rep->pattern[2]
  ------------------
  |  Branch (1337:18): [True: 0, False: 0]
  ------------------
 1338|      0|                && ctx->u.rep->pattern[2] != SRE_MAXREPEAT) ||
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1338:20): [True: 0, False: 0]
  ------------------
 1339|      0|                state->ptr == ctx->u.rep->last_ptr)
  ------------------
  |  Branch (1339:17): [True: 0, False: 0]
  ------------------
 1340|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1341|       |
 1342|      0|            ctx->u.rep->count = ctx->count;
 1343|       |            /* zero-width match protection */
 1344|      0|            LAST_PTR_PUSH();
  ------------------
  |  |  428|      0|    do { \
  |  |  429|      0|        TRACE(("push last_ptr: %zd", \
  |  |  430|      0|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  431|      0|        DATA_PUSH(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  506|      0|    DATA_STACK_PUSH(state, (x), sizeof(*(x)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  |  |  473|      0|do { \
  |  |  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  481|      0|    } \
  |  |  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  |  |  484|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  432|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (432:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1345|      0|            ctx->u.rep->last_ptr = state->ptr;
 1346|      0|            DO_JUMP(JUMP_MIN_UNTIL_3,jump_min_until_3,
  ------------------
  |  |  594|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1347|      0|                    ctx->u.rep->pattern+3);
 1348|      0|            LAST_PTR_POP();
  ------------------
  |  |  434|      0|    do { \
  |  |  435|      0|        DATA_POP(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  508|      0|    DATA_STACK_POP(state, (x), sizeof(*(x)), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  |  |  490|      0|do { \
  |  |  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:9): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  |  |  496|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  436|      0|        TRACE(("pop last_ptr: %zd", \
  |  |  437|      0|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  438|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1349|      0|            if (ret) {
  ------------------
  |  Branch (1349:17): [True: 0, False: 0]
  ------------------
 1350|      0|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1351|      0|                RETURN_SUCCESS;
  ------------------
  |  |  442|      0|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1352|      0|            }
 1353|      0|            ctx->u.rep->count = ctx->count-1;
 1354|      0|            state->ptr = ptr;
 1355|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1356|       |
 1357|      0|        TARGET(SRE_OP_POSSESSIVE_REPEAT):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1358|       |            /* create possessive repeat contexts. */
 1359|       |            /* <POSSESSIVE_REPEAT> <skip> <1=min> <2=max> pattern
 1360|       |               <SUCCESS> tail */
 1361|      0|            TRACE(("|%p|%p|POSSESSIVE_REPEAT %d %d\n", pattern,
 1362|      0|                   ptr, pattern[1], pattern[2]));
 1363|       |
 1364|       |            /* Set the global Input pointer to this context's Input
 1365|       |               pointer */
 1366|      0|            state->ptr = ptr;
 1367|       |
 1368|       |            /* Capture groups in the body can be revisited on backtracking
 1369|       |               between iterations, so their marks must be saved and restored,
 1370|       |               as is done inside a repeat. */
 1371|      0|            state->save_marks++;
 1372|       |
 1373|       |            /* Initialize Count to 0 */
 1374|      0|            ctx->count = 0;
 1375|       |
 1376|       |            /* Check for minimum required matches. */
 1377|      0|            while (ctx->count < (Py_ssize_t)pattern[1]) {
  ------------------
  |  Branch (1377:20): [True: 0, False: 0]
  ------------------
 1378|       |                /* not enough matches */
 1379|      0|                DO_JUMP0(JUMP_POSS_REPEAT_1, jump_poss_repeat_1,
  ------------------
  |  |  597|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1380|      0|                         &pattern[3]);
 1381|      0|                if (ret) {
  ------------------
  |  Branch (1381:21): [True: 0, False: 0]
  ------------------
 1382|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1383|      0|                    ctx->count++;
 1384|      0|                }
 1385|      0|                else {
 1386|      0|                    state->ptr = ptr;
 1387|      0|                    state->save_marks--;
 1388|      0|                    RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1389|      0|                }
 1390|      0|            }
 1391|       |
 1392|       |            /* Clear the context's Input stream pointer so that it
 1393|       |               doesn't match the global state so that the while loop can
 1394|       |               be entered. */
 1395|      0|            ptr = NULL;
 1396|       |
 1397|       |            /* Keep trying to parse the <pattern> sub-pattern until the
 1398|       |               end is reached, creating a new context each time. */
 1399|      0|            while ((ctx->count < (Py_ssize_t)pattern[2] ||
  ------------------
  |  Branch (1399:21): [True: 0, False: 0]
  ------------------
 1400|      0|                    (Py_ssize_t)pattern[2] == SRE_MAXREPEAT) &&
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1400:21): [True: 0, False: 0]
  ------------------
 1401|      0|                   state->ptr != ptr) {
  ------------------
  |  Branch (1401:20): [True: 0, False: 0]
  ------------------
 1402|       |                /* Save the Capture Group Marker state into the current
 1403|       |                   Context and back up the current highest number
 1404|       |                   Capture Group marker. */
 1405|      0|                LASTMARK_SAVE();
  ------------------
  |  |  417|      0|    do { \
  |  |  418|      0|        ctx->lastmark = state->lastmark; \
  |  |  419|      0|        ctx->lastindex = state->lastindex; \
  |  |  420|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1406|      0|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      0|do { \
  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  481|      0|    } \
  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  484|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1407|       |
 1408|       |                /* zero-width match protection */
 1409|       |                /* Set the context's Input Stream pointer to be the
 1410|       |                   current Input Stream pointer from the global
 1411|       |                   state.  When the loop reaches the next iteration,
 1412|       |                   the context will then store the last known good
 1413|       |                   position with the global state holding the Input
 1414|       |                   Input Stream position that has been updated with
 1415|       |                   the most recent match.  Thus, if state's Input
 1416|       |                   stream remains the same as the one stored in the
 1417|       |                   current Context, we know we have successfully
 1418|       |                   matched an empty string and that all subsequent
 1419|       |                   matches will also be the empty string until the
 1420|       |                   maximum number of matches are counted, and because
 1421|       |                   of this, we could immediately stop at that point and
 1422|       |                   consider this match successful. */
 1423|      0|                ptr = state->ptr;
 1424|       |
 1425|       |                /* We have not reached the maximin matches, so try to
 1426|       |                   match once more. */
 1427|      0|                DO_JUMP0(JUMP_POSS_REPEAT_2, jump_poss_repeat_2,
  ------------------
  |  |  597|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1428|      0|                         &pattern[3]);
 1429|       |
 1430|       |                /* Check to see if the last attempted match
 1431|       |                   succeeded. */
 1432|      0|                if (ret) {
  ------------------
  |  Branch (1432:21): [True: 0, False: 0]
  ------------------
 1433|       |                    /* Drop the saved highest number Capture Group
 1434|       |                       marker saved above and use the newly updated
 1435|       |                       value. */
 1436|      0|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1437|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1438|       |
 1439|       |                    /* Success, increment the count. */
 1440|      0|                    ctx->count++;
 1441|      0|                }
 1442|       |                /* Last attempted match failed. */
 1443|      0|                else {
 1444|       |                    /* Restore the previously saved highest number
 1445|       |                       Capture Group marker since the last iteration
 1446|       |                       did not match, then restore that to the global
 1447|       |                       state. */
 1448|      0|                    MARK_POP(ctx->lastmark);
  ------------------
  |  |  541|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (541:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  542|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  543|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  544|      0|        MARK_TRACE("pop", (lastmark)); \
  |  |  545|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (545:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1449|      0|                    LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1450|       |
 1451|       |                    /* Restore the global Input Stream pointer
 1452|       |                       since it can change after jumps. */
 1453|      0|                    state->ptr = ptr;
 1454|       |
 1455|       |                    /* We have sufficient matches, so exit loop. */
 1456|      0|                    break;
 1457|      0|                }
 1458|      0|            }
 1459|       |
 1460|      0|            state->save_marks--;
 1461|       |
 1462|       |            /* Evaluate Tail */
 1463|       |            /* Jump to end of pattern indicated by skip, and then skip
 1464|       |               the SUCCESS op code that follows it. */
 1465|      0|            pattern += pattern[0] + 1;
 1466|      0|            ptr = state->ptr;
 1467|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1468|       |
 1469|      0|        TARGET(SRE_OP_ATOMIC_GROUP):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1470|       |            /* Atomic Group Sub Pattern */
 1471|       |            /* <ATOMIC_GROUP> <skip> pattern <SUCCESS> tail */
 1472|      0|            TRACE(("|%p|%p|ATOMIC_GROUP\n", pattern, ptr));
 1473|       |
 1474|       |            /* Set the global Input pointer to this context's Input
 1475|       |               pointer */
 1476|      0|            state->ptr = ptr;
 1477|       |
 1478|       |            /* Evaluate the Atomic Group in a new context, terminating
 1479|       |               when the end of the group, represented by a SUCCESS op
 1480|       |               code, is reached. */
 1481|       |            /* Group Pattern begins at an offset of 1 code. */
 1482|      0|            DO_JUMP0(JUMP_ATOMIC_GROUP, jump_atomic_group,
  ------------------
  |  |  597|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1483|      0|                     &pattern[1]);
 1484|       |
 1485|       |            /* Test Exit Condition */
 1486|      0|            RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1487|       |
 1488|      0|            if (ret == 0) {
  ------------------
  |  Branch (1488:17): [True: 0, False: 0]
  ------------------
 1489|       |                /* Atomic Group failed to Match. */
 1490|      0|                state->ptr = ptr;
 1491|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1492|      0|            }
 1493|       |
 1494|       |            /* Evaluate Tail */
 1495|       |            /* Jump to end of pattern indicated by skip, and then skip
 1496|       |               the SUCCESS op code that follows it. */
 1497|      0|            pattern += pattern[0];
 1498|      0|            ptr = state->ptr;
 1499|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1500|       |
 1501|      0|        TARGET(SRE_OP_GROUPREF):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1502|       |            /* match backreference */
 1503|      0|            TRACE(("|%p|%p|GROUPREF %d\n", pattern,
 1504|      0|                   ptr, pattern[0]));
 1505|      0|            {
 1506|      0|                int groupref = pattern[0] * 2;
 1507|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1507:21): [True: 0, False: 0]
  ------------------
 1508|      0|                    RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1509|      0|                } else {
 1510|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1511|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1512|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1512:25): [True: 0, False: 0]
  |  Branch (1512:31): [True: 0, False: 0]
  |  Branch (1512:37): [True: 0, False: 0]
  ------------------
 1513|      0|                        RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1514|      0|                    while (p < e) {
  ------------------
  |  Branch (1514:28): [True: 0, False: 0]
  ------------------
 1515|      0|                        if (ptr >= end || *ptr != *p)
  ------------------
  |  Branch (1515:29): [True: 0, False: 0]
  |  Branch (1515:43): [True: 0, False: 0]
  ------------------
 1516|      0|                            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1517|      0|                        p++;
 1518|      0|                        ptr++;
 1519|      0|                    }
 1520|      0|                }
 1521|      0|            }
 1522|      0|            pattern++;
 1523|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1524|       |
 1525|      0|        TARGET(SRE_OP_GROUPREF_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1526|       |            /* match backreference */
 1527|      0|            TRACE(("|%p|%p|GROUPREF_IGNORE %d\n", pattern,
 1528|      0|                   ptr, pattern[0]));
 1529|      0|            {
 1530|      0|                int groupref = pattern[0] * 2;
 1531|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1531:21): [True: 0, False: 0]
  ------------------
 1532|      0|                    RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1533|      0|                } else {
 1534|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1535|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1536|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1536:25): [True: 0, False: 0]
  |  Branch (1536:31): [True: 0, False: 0]
  |  Branch (1536:37): [True: 0, False: 0]
  ------------------
 1537|      0|                        RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1538|      0|                    while (p < e) {
  ------------------
  |  Branch (1538:28): [True: 0, False: 0]
  ------------------
 1539|      0|                        if (ptr >= end ||
  ------------------
  |  Branch (1539:29): [True: 0, False: 0]
  ------------------
 1540|      0|                            sre_lower_ascii(*ptr) != sre_lower_ascii(*p))
  ------------------
  |  Branch (1540:29): [True: 0, False: 0]
  ------------------
 1541|      0|                            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1542|      0|                        p++;
 1543|      0|                        ptr++;
 1544|      0|                    }
 1545|      0|                }
 1546|      0|            }
 1547|      0|            pattern++;
 1548|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1549|       |
 1550|      0|        TARGET(SRE_OP_GROUPREF_UNI_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1551|       |            /* match backreference */
 1552|      0|            TRACE(("|%p|%p|GROUPREF_UNI_IGNORE %d\n", pattern,
 1553|      0|                   ptr, pattern[0]));
 1554|      0|            {
 1555|      0|                int groupref = pattern[0] * 2;
 1556|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1556:21): [True: 0, False: 0]
  ------------------
 1557|      0|                    RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1558|      0|                } else {
 1559|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1560|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1561|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1561:25): [True: 0, False: 0]
  |  Branch (1561:31): [True: 0, False: 0]
  |  Branch (1561:37): [True: 0, False: 0]
  ------------------
 1562|      0|                        RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1563|      0|                    while (p < e) {
  ------------------
  |  Branch (1563:28): [True: 0, False: 0]
  ------------------
 1564|      0|                        if (ptr >= end ||
  ------------------
  |  Branch (1564:29): [True: 0, False: 0]
  ------------------
 1565|      0|                            sre_lower_unicode(*ptr) != sre_lower_unicode(*p))
  ------------------
  |  Branch (1565:29): [True: 0, False: 0]
  ------------------
 1566|      0|                            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1567|      0|                        p++;
 1568|      0|                        ptr++;
 1569|      0|                    }
 1570|      0|                }
 1571|      0|            }
 1572|      0|            pattern++;
 1573|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1574|       |
 1575|      0|        TARGET(SRE_OP_GROUPREF_LOC_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1576|       |            /* match backreference */
 1577|      0|            TRACE(("|%p|%p|GROUPREF_LOC_IGNORE %d\n", pattern,
 1578|      0|                   ptr, pattern[0]));
 1579|      0|            {
 1580|      0|                int groupref = pattern[0] * 2;
 1581|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1581:21): [True: 0, False: 0]
  ------------------
 1582|      0|                    RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1583|      0|                } else {
 1584|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1585|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1586|      0|                    if (!p || !e || e < p)
  ------------------
  |  Branch (1586:25): [True: 0, False: 0]
  |  Branch (1586:31): [True: 0, False: 0]
  |  Branch (1586:37): [True: 0, False: 0]
  ------------------
 1587|      0|                        RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1588|      0|                    while (p < e) {
  ------------------
  |  Branch (1588:28): [True: 0, False: 0]
  ------------------
 1589|      0|                        if (ptr >= end ||
  ------------------
  |  Branch (1589:29): [True: 0, False: 0]
  ------------------
 1590|      0|                            sre_lower_locale(*ptr) != sre_lower_locale(*p))
  ------------------
  |  Branch (1590:29): [True: 0, False: 0]
  ------------------
 1591|      0|                            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1592|      0|                        p++;
 1593|      0|                        ptr++;
 1594|      0|                    }
 1595|      0|                }
 1596|      0|            }
 1597|      0|            pattern++;
 1598|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1599|       |
 1600|      0|        TARGET(SRE_OP_GROUPREF_EXISTS):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1601|      0|            TRACE(("|%p|%p|GROUPREF_EXISTS %d\n", pattern,
 1602|      0|                   ptr, pattern[0]));
 1603|       |            /* <GROUPREF_EXISTS> <group> <skip> codeyes <JUMP> codeno ... */
 1604|      0|            {
 1605|      0|                int groupref = pattern[0] * 2;
 1606|      0|                if (groupref >= state->lastmark) {
  ------------------
  |  Branch (1606:21): [True: 0, False: 0]
  ------------------
 1607|      0|                    pattern += pattern[1];
 1608|      0|                    DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1609|      0|                } else {
 1610|      0|                    SRE_CHAR* p = (SRE_CHAR*) state->mark[groupref];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1611|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  499|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1612|      0|                    if (!p || !e || e < p) {
  ------------------
  |  Branch (1612:25): [True: 0, False: 0]
  |  Branch (1612:31): [True: 0, False: 0]
  |  Branch (1612:37): [True: 0, False: 0]
  ------------------
 1613|      0|                        pattern += pattern[1];
 1614|      0|                        DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1615|      0|                    }
 1616|      0|                }
 1617|      0|            }
 1618|      0|            pattern += 2;
 1619|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1620|       |
 1621|      0|        TARGET(SRE_OP_ASSERT):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1622|       |            /* assert subpattern */
 1623|       |            /* <ASSERT> <skip> <back> <pattern> */
 1624|      0|            TRACE(("|%p|%p|ASSERT %d\n", pattern,
 1625|      0|                   ptr, pattern[1]));
 1626|      0|            if ((uintptr_t)(ptr - (SRE_CHAR *)state->beginning) < pattern[1])
  ------------------
  |  Branch (1626:17): [True: 0, False: 0]
  ------------------
 1627|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1628|      0|            state->ptr = ptr - pattern[1];
 1629|      0|            DO_JUMP0(JUMP_ASSERT, jump_assert, pattern+2);
  ------------------
  |  |  597|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1630|      0|            RETURN_ON_FAILURE(ret);
  ------------------
  |  |  449|      0|    do { RETURN_ON_ERROR(i); if (i == 0) RETURN_FAILURE; } while (0)
  |  |  ------------------
  |  |  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   do { RETURN_ON_ERROR(i); if (i == 0) RETURN_FAILURE; } while (0)
  |  |  ------------------
  |  |  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (449:34): [True: 0, False: 0]
  |  |  |  Branch (449:67): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1631|      0|            pattern += pattern[0];
 1632|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1633|       |
 1634|      0|        TARGET(SRE_OP_ASSERT_NOT):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1635|       |            /* assert not subpattern */
 1636|       |            /* <ASSERT_NOT> <skip> <back> <pattern> */
 1637|      0|            TRACE(("|%p|%p|ASSERT_NOT %d\n", pattern,
 1638|      0|                   ptr, pattern[1]));
 1639|      0|            if ((uintptr_t)(ptr - (SRE_CHAR *)state->beginning) >= pattern[1]) {
  ------------------
  |  Branch (1639:17): [True: 0, False: 0]
  ------------------
 1640|      0|                state->ptr = ptr - pattern[1];
 1641|      0|                LASTMARK_SAVE();
  ------------------
  |  |  417|      0|    do { \
  |  |  418|      0|        ctx->lastmark = state->lastmark; \
  |  |  419|      0|        ctx->lastindex = state->lastindex; \
  |  |  420|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1642|      0|                if (state->save_marks)
  ------------------
  |  Branch (1642:21): [True: 0, False: 0]
  ------------------
 1643|      0|                    MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      0|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      0|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      0|do { \
  |  |  |  |  474|      0|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      0|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      0|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  477|      0|        int j = data_stack_grow(state, size); \
  |  |  |  |  478|      0|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (478:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  479|      0|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (479:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  480|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  481|      0|    } \
  |  |  |  |  482|      0|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      0|    state->data_stack_base += size; \
  |  |  |  |  484|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1644|       |
 1645|      0|                DO_JUMP0(JUMP_ASSERT_NOT, jump_assert_not, pattern+2);
  ------------------
  |  |  597|      0|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  578|      0|    ctx->pattern = pattern; \
  |  |  |  |  579|      0|    ctx->ptr = ptr; \
  |  |  |  |  580|      0|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      0|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      0|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      0|do { \
  |  |  |  |  |  |  |  |  453|      0|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      0|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      0|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      0|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  457|      0|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  |  |  |  |  458|      0|        if (j < 0) return j; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (458:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  459|      0|        if (ctx_pos != -1) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (459:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  460|      0|            DATA_STACK_LOOKUP_AT(state, SRE(match_context), ctx, ctx_pos); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  |  |  |  |  |  |  467|      0|do { \
  |  |  |  |  |  |  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  |  |  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  |  |  |  |  |  |  470|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  461|      0|    } \
  |  |  |  |  |  |  |  |  462|      0|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      0|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      0|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      0|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      0|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      0|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      0|    pattern = nextpattern; \
  |  |  |  |  586|      0|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      0|    ctx = nextctx; \
  |  |  |  |  588|      0|    goto entrance; \
  |  |  |  |  589|      0|    jumplabel: \
  |  |  |  |  590|      0|    pattern = ctx->pattern; \
  |  |  |  |  591|      0|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1646|      0|                if (ret) {
  ------------------
  |  Branch (1646:21): [True: 0, False: 0]
  ------------------
 1647|      0|                    if (state->save_marks)
  ------------------
  |  Branch (1647:25): [True: 0, False: 0]
  ------------------
 1648|      0|                        MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  555|      0|        DATA_STACK_POP_DISCARD(state, _marks_size); \
  |  |  ------------------
  |  |  |  |  498|      0|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      0|do { \
  |  |  |  |  500|      0|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      0|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      0|    state->data_stack_base -= size; \
  |  |  |  |  503|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  556|      0|        MARK_TRACE("pop discard", (lastmark)); \
  |  |  557|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1649|      0|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      0|    do { if (i < 0) RETURN_ERROR(i); } while (0)
  |  |  ------------------
  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (445:14): [True: 0, False: 0]
  |  |  |  Branch (445:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1650|      0|                    RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1651|      0|                }
 1652|      0|                if (state->save_marks)
  ------------------
  |  Branch (1652:21): [True: 0, False: 0]
  ------------------
 1653|      0|                    MARK_POP(ctx->lastmark);
  ------------------
  |  |  541|      0|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (541:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  542|      0|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  543|      0|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  489|      0|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      0|do { \
  |  |  |  |  491|      0|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      0|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      0|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      0|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  495|      0|        state->data_stack_base -= size; \
  |  |  |  |  496|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  544|      0|        MARK_TRACE("pop", (lastmark)); \
  |  |  545|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (545:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1654|      0|                LASTMARK_RESTORE();
  ------------------
  |  |  422|      0|    do { \
  |  |  423|      0|        state->lastmark = ctx->lastmark; \
  |  |  424|      0|        state->lastindex = ctx->lastindex; \
  |  |  425|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1655|      0|            }
 1656|      0|            pattern += pattern[0];
 1657|      0|            DISPATCH;
  ------------------
  |  |  650|      0|        do {                               \
  |  |  651|      0|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      0|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      0|    do {                                                           \
  |  |  |  |  |  |  616|      0|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (616:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  617|      0|            RETURN_ERROR(SRE_ERROR_INTERRUPTED);                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  618|      0|        }                                                          \
  |  |  |  |  |  |  619|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      0|            goto *sre_targets[*pattern++]; \
  |  |  653|      0|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1658|       |
 1659|      0|        TARGET(SRE_OP_FAILURE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1660|       |            /* immediate failure */
 1661|      0|            TRACE(("|%p|%p|FAILURE\n", pattern, ptr));
 1662|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1663|       |
 1664|       |#if !USE_COMPUTED_GOTOS
 1665|       |        default:
 1666|       |#endif
 1667|       |        // Also any unused opcodes:
 1668|      0|        TARGET(SRE_OP_RANGE_UNI_IGNORE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1669|      0|        TARGET(SRE_OP_SUBPATTERN):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1670|      0|        TARGET(SRE_OP_RANGE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1671|      0|        TARGET(SRE_OP_NEGATE):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1672|      0|        TARGET(SRE_OP_BIGCHARSET):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1673|      0|        TARGET(SRE_OP_CHARSET):
  ------------------
  |  |  648|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1674|      0|            TRACE(("|%p|%p|UNKNOWN %d\n", pattern, ptr,
 1675|      0|                   pattern[-1]));
 1676|      0|            RETURN_ERROR(SRE_ERROR_ILLEGAL);
  ------------------
  |  |  440|      0|#define RETURN_ERROR(i) do { return i; } while(0)
  |  |  ------------------
  |  |  |  Branch (440:48): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1677|       |
 1678|      0|    }
 1679|       |
 1680|      1|exit:
 1681|      1|    ctx_pos = ctx->last_ctx_pos;
 1682|      1|    jump = ctx->jump;
 1683|      1|    DATA_POP_DISCARD(ctx);
  ------------------
  |  |  510|      1|    DATA_STACK_POP_DISCARD(state, sizeof(*(x)))
  |  |  ------------------
  |  |  |  |  498|      1|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|      1|do { \
  |  |  |  |  500|      1|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|      1|           state->data_stack_base-size, size)); \
  |  |  |  |  502|      1|    state->data_stack_base -= size; \
  |  |  |  |  503|      1|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      1|    if (ctx_pos == -1) {
  ------------------
  |  Branch (1684:9): [True: 1, False: 0]
  ------------------
 1685|      1|        state->sigcount = sigcount;
 1686|      1|        return ret;
 1687|      1|    }
 1688|      0|    DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  514|      0|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  466|      0|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  467|      0|do { \
  |  |  |  |  468|      0|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  469|      0|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  470|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1689|       |
 1690|      0|    switch (jump) {
  ------------------
  |  Branch (1690:13): [True: 0, False: 0]
  ------------------
 1691|      0|        case JUMP_MAX_UNTIL_2:
  ------------------
  |  |  561|      0|#define JUMP_MAX_UNTIL_2     2
  ------------------
  |  Branch (1691:9): [True: 0, False: 0]
  ------------------
 1692|      0|            TRACE(("|%p|%p|JUMP_MAX_UNTIL_2\n", pattern, ptr));
 1693|      0|            goto jump_max_until_2;
 1694|      0|        case JUMP_MAX_UNTIL_3:
  ------------------
  |  |  562|      0|#define JUMP_MAX_UNTIL_3     3
  ------------------
  |  Branch (1694:9): [True: 0, False: 0]
  ------------------
 1695|      0|            TRACE(("|%p|%p|JUMP_MAX_UNTIL_3\n", pattern, ptr));
 1696|      0|            goto jump_max_until_3;
 1697|      0|        case JUMP_MIN_UNTIL_2:
  ------------------
  |  |  564|      0|#define JUMP_MIN_UNTIL_2     5
  ------------------
  |  Branch (1697:9): [True: 0, False: 0]
  ------------------
 1698|      0|            TRACE(("|%p|%p|JUMP_MIN_UNTIL_2\n", pattern, ptr));
 1699|      0|            goto jump_min_until_2;
 1700|      0|        case JUMP_MIN_UNTIL_3:
  ------------------
  |  |  565|      0|#define JUMP_MIN_UNTIL_3     6
  ------------------
  |  Branch (1700:9): [True: 0, False: 0]
  ------------------
 1701|      0|            TRACE(("|%p|%p|JUMP_MIN_UNTIL_3\n", pattern, ptr));
 1702|      0|            goto jump_min_until_3;
 1703|      0|        case JUMP_BRANCH:
  ------------------
  |  |  570|      0|#define JUMP_BRANCH          11
  ------------------
  |  Branch (1703:9): [True: 0, False: 0]
  ------------------
 1704|      0|            TRACE(("|%p|%p|JUMP_BRANCH\n", pattern, ptr));
 1705|      0|            goto jump_branch;
 1706|      0|        case JUMP_MAX_UNTIL_1:
  ------------------
  |  |  560|      0|#define JUMP_MAX_UNTIL_1     1
  ------------------
  |  Branch (1706:9): [True: 0, False: 0]
  ------------------
 1707|      0|            TRACE(("|%p|%p|JUMP_MAX_UNTIL_1\n", pattern, ptr));
 1708|      0|            goto jump_max_until_1;
 1709|      0|        case JUMP_MIN_UNTIL_1:
  ------------------
  |  |  563|      0|#define JUMP_MIN_UNTIL_1     4
  ------------------
  |  Branch (1709:9): [True: 0, False: 0]
  ------------------
 1710|      0|            TRACE(("|%p|%p|JUMP_MIN_UNTIL_1\n", pattern, ptr));
 1711|      0|            goto jump_min_until_1;
 1712|      0|        case JUMP_POSS_REPEAT_1:
  ------------------
  |  |  573|      0|#define JUMP_POSS_REPEAT_1   14
  ------------------
  |  Branch (1712:9): [True: 0, False: 0]
  ------------------
 1713|      0|            TRACE(("|%p|%p|JUMP_POSS_REPEAT_1\n", pattern, ptr));
 1714|      0|            goto jump_poss_repeat_1;
 1715|      0|        case JUMP_POSS_REPEAT_2:
  ------------------
  |  |  574|      0|#define JUMP_POSS_REPEAT_2   15
  ------------------
  |  Branch (1715:9): [True: 0, False: 0]
  ------------------
 1716|      0|            TRACE(("|%p|%p|JUMP_POSS_REPEAT_2\n", pattern, ptr));
 1717|      0|            goto jump_poss_repeat_2;
 1718|      0|        case JUMP_REPEAT:
  ------------------
  |  |  566|      0|#define JUMP_REPEAT          7
  ------------------
  |  Branch (1718:9): [True: 0, False: 0]
  ------------------
 1719|      0|            TRACE(("|%p|%p|JUMP_REPEAT\n", pattern, ptr));
 1720|      0|            goto jump_repeat;
 1721|      0|        case JUMP_REPEAT_ONE_1:
  ------------------
  |  |  567|      0|#define JUMP_REPEAT_ONE_1    8
  ------------------
  |  Branch (1721:9): [True: 0, False: 0]
  ------------------
 1722|      0|            TRACE(("|%p|%p|JUMP_REPEAT_ONE_1\n", pattern, ptr));
 1723|      0|            goto jump_repeat_one_1;
 1724|      0|        case JUMP_REPEAT_ONE_2:
  ------------------
  |  |  568|      0|#define JUMP_REPEAT_ONE_2    9
  ------------------
  |  Branch (1724:9): [True: 0, False: 0]
  ------------------
 1725|      0|            TRACE(("|%p|%p|JUMP_REPEAT_ONE_2\n", pattern, ptr));
 1726|      0|            goto jump_repeat_one_2;
 1727|      0|        case JUMP_MIN_REPEAT_ONE:
  ------------------
  |  |  569|      0|#define JUMP_MIN_REPEAT_ONE  10
  ------------------
  |  Branch (1727:9): [True: 0, False: 0]
  ------------------
 1728|      0|            TRACE(("|%p|%p|JUMP_MIN_REPEAT_ONE\n", pattern, ptr));
 1729|      0|            goto jump_min_repeat_one;
 1730|      0|        case JUMP_ATOMIC_GROUP:
  ------------------
  |  |  575|      0|#define JUMP_ATOMIC_GROUP    16
  ------------------
  |  Branch (1730:9): [True: 0, False: 0]
  ------------------
 1731|      0|            TRACE(("|%p|%p|JUMP_ATOMIC_GROUP\n", pattern, ptr));
 1732|      0|            goto jump_atomic_group;
 1733|      0|        case JUMP_ASSERT:
  ------------------
  |  |  571|      0|#define JUMP_ASSERT          12
  ------------------
  |  Branch (1733:9): [True: 0, False: 0]
  ------------------
 1734|      0|            TRACE(("|%p|%p|JUMP_ASSERT\n", pattern, ptr));
 1735|      0|            goto jump_assert;
 1736|      0|        case JUMP_ASSERT_NOT:
  ------------------
  |  |  572|      0|#define JUMP_ASSERT_NOT      13
  ------------------
  |  Branch (1736:9): [True: 0, False: 0]
  ------------------
 1737|      0|            TRACE(("|%p|%p|JUMP_ASSERT_NOT\n", pattern, ptr));
 1738|      0|            goto jump_assert_not;
 1739|      0|        case JUMP_NONE:
  ------------------
  |  |  559|      0|#define JUMP_NONE            0
  ------------------
  |  Branch (1739:9): [True: 0, False: 0]
  ------------------
 1740|      0|            TRACE(("|%p|%p|RETURN %zd\n", pattern,
 1741|      0|                   ptr, ret));
 1742|      0|            break;
 1743|      0|    }
 1744|       |
 1745|      0|    return ret; /* should never get here */
 1746|      0|}

PyInit__stat:
  711|      2|{
  712|      2|    return PyModuleDef_Init(&statmodule);
  713|      2|}
_stat.c:stat_S_ISDIR:
  334|      2|stat_S_ISFUNC(S_ISDIR,
  ------------------
  |  |  326|      2|    {                                                          \
  |  |  327|      2|       mode_t mode = _PyLong_AsMode_t(omode);                   \
  |  |  328|      2|       if ((mode == (mode_t)-1) && PyErr_Occurred())           \
  |  |  ------------------
  |  |  |  Branch (328:12): [True: 0, False: 2]
  |  |  |  Branch (328:36): [True: 0, False: 0]
  |  |  ------------------
  |  |  329|      2|           return NULL;                                        \
  |  |  330|      2|       return PyBool_FromLong(isfunc(mode));                   \
  |  |  ------------------
  |  |  |  |  334|      2|stat_S_ISFUNC(S_ISDIR,
  |  |  ------------------
  |  |  331|      2|    }                                                          \
  ------------------
_stat.c:_PyLong_AsMode_t:
  294|      2|{
  295|      2|    unsigned long value;
  296|      2|    mode_t mode;
  297|       |
  298|      2|    if (PyLong_Check(op)) {
  ------------------
  |  |   13|      2|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  299|      2|        value = PyLong_AsUnsignedLong(op);
  300|      2|    }
  301|      0|    else {
  302|      0|        op = PyNumber_Index(op);
  303|      0|        if (op == NULL) {
  ------------------
  |  Branch (303:13): [True: 0, False: 0]
  ------------------
  304|      0|            return (mode_t)-1;
  305|      0|        }
  306|      0|        value = PyLong_AsUnsignedLong(op);
  307|      0|        Py_DECREF(op);
  ------------------
  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  308|      0|    }
  309|       |
  310|      2|    if ((value == (unsigned long)-1) && PyErr_Occurred()) {
  ------------------
  |  Branch (310:9): [True: 0, False: 2]
  |  Branch (310:41): [True: 0, False: 0]
  ------------------
  311|      0|        return (mode_t)-1;
  312|      0|    }
  313|       |
  314|      2|    mode = (mode_t)value;
  315|      2|    if ((unsigned long)mode != value) {
  ------------------
  |  Branch (315:9): [True: 0, False: 2]
  ------------------
  316|      0|        PyErr_SetString(PyExc_OverflowError, "mode out of range");
  317|      0|        return (mode_t)-1;
  318|      0|    }
  319|      2|    return mode;
  320|      2|}
_stat.c:stat_exec:
  565|      2|{
  566|      2|#define ADD_INT_MACRO(module, macro)                                  \
  567|      2|    do {                                                              \
  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  569|      2|            return -1;                                                \
  570|      2|        }                                                             \
  571|      2|    } while (0)
  572|       |
  573|      2|    ADD_INT_MACRO(module, S_IFDIR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  574|      2|    ADD_INT_MACRO(module, S_IFCHR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  575|      2|    ADD_INT_MACRO(module, S_IFBLK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  576|      2|    ADD_INT_MACRO(module, S_IFREG);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  577|      2|    ADD_INT_MACRO(module, S_IFIFO);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  578|      2|    ADD_INT_MACRO(module, S_IFLNK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  579|      2|    ADD_INT_MACRO(module, S_IFSOCK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  580|      2|    ADD_INT_MACRO(module, S_IFDOOR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  581|      2|    ADD_INT_MACRO(module, S_IFPORT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  582|      2|    ADD_INT_MACRO(module, S_IFWHT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  583|       |
  584|      2|    ADD_INT_MACRO(module, S_ISUID);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  585|      2|    ADD_INT_MACRO(module, S_ISGID);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  586|      2|    ADD_INT_MACRO(module, S_ISVTX);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  587|      2|    ADD_INT_MACRO(module, S_ENFMT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  588|       |
  589|      2|    ADD_INT_MACRO(module, S_IREAD);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  590|      2|    ADD_INT_MACRO(module, S_IWRITE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  591|      2|    ADD_INT_MACRO(module, S_IEXEC);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  592|       |
  593|      2|    ADD_INT_MACRO(module, S_IRWXU);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  594|      2|    ADD_INT_MACRO(module, S_IRUSR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  595|      2|    ADD_INT_MACRO(module, S_IWUSR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  596|      2|    ADD_INT_MACRO(module, S_IXUSR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  597|       |
  598|      2|    ADD_INT_MACRO(module, S_IRWXG);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  599|      2|    ADD_INT_MACRO(module, S_IRGRP);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  600|      2|    ADD_INT_MACRO(module, S_IWGRP);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  601|      2|    ADD_INT_MACRO(module, S_IXGRP);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  602|       |
  603|      2|    ADD_INT_MACRO(module, S_IRWXO);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  604|      2|    ADD_INT_MACRO(module, S_IROTH);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  605|      2|    ADD_INT_MACRO(module, S_IWOTH);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  606|      2|    ADD_INT_MACRO(module, S_IXOTH);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  607|       |
  608|      2|    ADD_INT_MACRO(module, UF_SETTABLE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  609|      2|    ADD_INT_MACRO(module, UF_NODUMP);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  610|      2|    ADD_INT_MACRO(module, UF_IMMUTABLE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  611|      2|    ADD_INT_MACRO(module, UF_APPEND);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  612|      2|    ADD_INT_MACRO(module, UF_OPAQUE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  613|      2|    ADD_INT_MACRO(module, UF_NOUNLINK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  614|      2|    ADD_INT_MACRO(module, UF_COMPRESSED);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  615|      2|    ADD_INT_MACRO(module, UF_TRACKED);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  616|      2|    ADD_INT_MACRO(module, UF_DATAVAULT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  617|      2|    ADD_INT_MACRO(module, UF_HIDDEN);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  618|      2|    ADD_INT_MACRO(module, SF_SETTABLE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  619|      2|    ADD_INT_MACRO(module, SF_ARCHIVED);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  620|      2|    ADD_INT_MACRO(module, SF_IMMUTABLE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  621|      2|    ADD_INT_MACRO(module, SF_APPEND);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  622|      2|    ADD_INT_MACRO(module, SF_NOUNLINK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  623|      2|    ADD_INT_MACRO(module, SF_SNAPSHOT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  624|      2|    ADD_INT_MACRO(module, SF_FIRMLINK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  625|      2|    ADD_INT_MACRO(module, SF_DATALESS);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  626|       |
  627|       |#ifdef SF_SUPPORTED
  628|       |    ADD_INT_MACRO(module, SF_SUPPORTED);
  629|       |#endif
  630|       |#ifdef SF_SYNTHETIC
  631|       |    ADD_INT_MACRO(module, SF_SYNTHETIC);
  632|       |#endif
  633|       |
  634|       |
  635|      2|    const char* st_constants[] = {
  636|      2|        "ST_MODE",
  637|      2|        "ST_INO",
  638|      2|        "ST_DEV",
  639|      2|        "ST_NLINK",
  640|      2|        "ST_UID",
  641|      2|        "ST_GID",
  642|      2|        "ST_SIZE",
  643|      2|        "ST_ATIME",
  644|      2|        "ST_MTIME",
  645|      2|        "ST_CTIME"
  646|      2|    };
  647|       |
  648|     22|    for (int i = 0; i < (int)Py_ARRAY_LENGTH(st_constants); i++) {
  ------------------
  |  |  232|     22|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (648:21): [True: 20, False: 2]
  ------------------
  649|     20|        if (PyModule_AddIntConstant(module, st_constants[i], i) < 0) {
  ------------------
  |  Branch (649:13): [True: 0, False: 20]
  ------------------
  650|      0|            return -1;
  651|      0|        }
  652|     20|    }
  653|       |
  654|       |#ifdef MS_WINDOWS
  655|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_ARCHIVE);
  656|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_COMPRESSED);
  657|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_DEVICE);
  658|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_DIRECTORY);
  659|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_ENCRYPTED);
  660|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_HIDDEN);
  661|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_INTEGRITY_STREAM);
  662|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_NORMAL);
  663|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_NOT_CONTENT_INDEXED);
  664|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_NO_SCRUB_DATA);
  665|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_OFFLINE);
  666|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_READONLY);
  667|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_REPARSE_POINT);
  668|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_SPARSE_FILE);
  669|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_SYSTEM);
  670|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_TEMPORARY);
  671|       |    ADD_INT_MACRO(module, FILE_ATTRIBUTE_VIRTUAL);
  672|       |
  673|       |    if (PyModule_Add(module, "IO_REPARSE_TAG_SYMLINK",
  674|       |            PyLong_FromUnsignedLong(IO_REPARSE_TAG_SYMLINK)) < 0) {
  675|       |        return -1;
  676|       |    }
  677|       |    if (PyModule_Add(module, "IO_REPARSE_TAG_MOUNT_POINT",
  678|       |            PyLong_FromUnsignedLong(IO_REPARSE_TAG_MOUNT_POINT)) < 0) {
  679|       |        return -1;
  680|       |    }
  681|       |    if (PyModule_Add(module, "IO_REPARSE_TAG_APPEXECLINK",
  682|       |            PyLong_FromUnsignedLong(IO_REPARSE_TAG_APPEXECLINK)) < 0) {
  683|       |        return -1;
  684|       |    }
  685|       |#endif
  686|       |
  687|      2|    return 0;
  688|      2|}

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

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|    502|{
   59|    502|    if (_PyDict_DelItemIf(dct, key, is_dead_weakref, NULL) < 0) {
  ------------------
  |  Branch (59:9): [True: 0, False: 502]
  ------------------
   60|      0|        return NULL;
   61|      0|    }
   62|    502|    Py_RETURN_NONE;
  ------------------
  |  |  628|    502|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    502|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   63|    502|}
_weakref.c:is_dead_weakref:
   35|    502|{
   36|    502|    if (!PyWeakref_Check(value)) {
  ------------------
  |  |   23|    502|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|    502|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  1.00k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 502, 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|    502|    return _PyWeakref_IS_DEAD(value);
   41|    502|}
_weakref.c:weakref_exec:
  144|      2|{
  145|      2|    if (PyModule_AddObjectRef(module, "ref", (PyObject *) &_PyWeakref_RefType) < 0) {
  ------------------
  |  Branch (145:9): [True: 0, False: 2]
  ------------------
  146|      0|        return -1;
  147|      0|    }
  148|      2|    if (PyModule_AddObjectRef(module, "ReferenceType",
  ------------------
  |  Branch (148:9): [True: 0, False: 2]
  ------------------
  149|      2|                           (PyObject *) &_PyWeakref_RefType) < 0) {
  150|      0|        return -1;
  151|      0|    }
  152|      2|    if (PyModule_AddObjectRef(module, "ProxyType",
  ------------------
  |  Branch (152:9): [True: 0, False: 2]
  ------------------
  153|      2|                           (PyObject *) &_PyWeakref_ProxyType) < 0) {
  154|      0|        return -1;
  155|      0|    }
  156|      2|    if (PyModule_AddObjectRef(module, "CallableProxyType",
  ------------------
  |  Branch (156:9): [True: 0, False: 2]
  ------------------
  157|      2|                           (PyObject *) &_PyWeakref_CallableProxyType) < 0) {
  158|      0|        return -1;
  159|      0|    }
  160|       |
  161|      2|    return 0;
  162|      2|}

LLVMFuzzerInitialize:
  602|      2|int LLVMFuzzerInitialize(int *argc, char ***argv) {
  603|      2|    PyConfig config;
  604|      2|    PyConfig_InitPythonConfig(&config);
  605|      2|    config.install_signal_handlers = 0;
  606|       |    /* Raise the limit above the default allows exercising larger things
  607|       |     * now that we fall back to the _pylong module for large values. */
  608|      2|    config.int_max_str_digits = 8086;
  609|      2|    PyStatus status;
  610|      2|    status = PyConfig_SetBytesString(&config, &config.program_name, *argv[0]);
  611|      2|    if (PyStatus_Exception(status)) {
  ------------------
  |  Branch (611:9): [True: 0, False: 2]
  ------------------
  612|      0|        goto fail;
  613|      0|    }
  614|       |
  615|      2|    status = Py_InitializeFromConfig(&config);
  616|      2|    if (PyStatus_Exception(status)) {
  ------------------
  |  Branch (616:9): [True: 0, False: 2]
  ------------------
  617|      0|        goto fail;
  618|      0|    }
  619|      2|    PyConfig_Clear(&config);
  620|       |
  621|      2|    return 0;
  622|       |
  623|      0|fail:
  624|      0|    PyConfig_Clear(&config);
  625|      0|    Py_ExitStatusException(status);
  626|      2|}
LLVMFuzzerTestOneInput:
  635|  16.8k|int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  636|  16.8k|    assert(Py_IsInitialized());
  637|       |
  638|  16.8k|    int rv = 0;
  639|       |
  640|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_builtin_float)
  641|       |    rv |= _run_fuzz(data, size, fuzz_builtin_float);
  642|       |#endif
  643|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_builtin_int)
  644|       |    rv |= _run_fuzz(data, size, fuzz_builtin_int);
  645|       |#endif
  646|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_builtin_unicode)
  647|       |    rv |= _run_fuzz(data, size, fuzz_builtin_unicode);
  648|       |#endif
  649|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_struct_unpack)
  650|       |    static int STRUCT_UNPACK_INITIALIZED = 0;
  651|       |    if (!STRUCT_UNPACK_INITIALIZED && !init_struct_unpack()) {
  652|       |        PyErr_Print();
  653|       |        abort();
  654|       |    } else {
  655|       |        STRUCT_UNPACK_INITIALIZED = 1;
  656|       |    }
  657|       |    rv |= _run_fuzz(data, size, fuzz_struct_unpack);
  658|       |#endif
  659|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_json_loads)
  660|       |    static int JSON_LOADS_INITIALIZED = 0;
  661|       |    if (!JSON_LOADS_INITIALIZED && !init_json_loads()) {
  662|       |        PyErr_Print();
  663|       |        abort();
  664|       |    } else {
  665|       |        JSON_LOADS_INITIALIZED = 1;
  666|       |    }
  667|       |
  668|       |    rv |= _run_fuzz(data, size, fuzz_json_loads);
  669|       |#endif
  670|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_sre_compile)
  671|       |    static int SRE_COMPILE_INITIALIZED = 0;
  672|       |    if (!SRE_COMPILE_INITIALIZED && !init_sre_compile()) {
  673|       |        PyErr_Print();
  674|       |        abort();
  675|       |    } else {
  676|       |        SRE_COMPILE_INITIALIZED = 1;
  677|       |    }
  678|       |
  679|       |    if (SRE_COMPILE_INITIALIZED) {
  680|       |        rv |= _run_fuzz(data, size, fuzz_sre_compile);
  681|       |    }
  682|       |#endif
  683|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_sre_match)
  684|       |    static int SRE_MATCH_INITIALIZED = 0;
  685|       |    if (!SRE_MATCH_INITIALIZED && !init_sre_match()) {
  686|       |        PyErr_Print();
  687|       |        abort();
  688|       |    } else {
  689|       |        SRE_MATCH_INITIALIZED = 1;
  690|       |    }
  691|       |
  692|       |    rv |= _run_fuzz(data, size, fuzz_sre_match);
  693|       |#endif
  694|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_csv_reader)
  695|       |    static int CSV_READER_INITIALIZED = 0;
  696|       |    if (!CSV_READER_INITIALIZED && !init_csv_reader()) {
  697|       |        PyErr_Print();
  698|       |        abort();
  699|       |    } else {
  700|       |        CSV_READER_INITIALIZED = 1;
  701|       |    }
  702|       |
  703|       |    rv |= _run_fuzz(data, size, fuzz_csv_reader);
  704|       |#endif
  705|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_ast_literal_eval)
  706|       |    static int AST_LITERAL_EVAL_INITIALIZED = 0;
  707|       |    if (!AST_LITERAL_EVAL_INITIALIZED && !init_ast_literal_eval()) {
  708|       |        PyErr_Print();
  709|       |        abort();
  710|       |    } else {
  711|       |        AST_LITERAL_EVAL_INITIALIZED = 1;
  712|       |    }
  713|       |
  714|       |    rv |= _run_fuzz(data, size, fuzz_ast_literal_eval);
  715|       |#endif
  716|  16.8k|#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_elementtree_parsewhole)
  717|  16.8k|    static int ELEMENTTREE_PARSEWHOLE_INITIALIZED = 0;
  718|  16.8k|    if (!ELEMENTTREE_PARSEWHOLE_INITIALIZED && !init_elementtree_parsewhole()) {
  ------------------
  |  Branch (718:9): [True: 1, False: 16.8k]
  |  Branch (718:48): [True: 0, False: 1]
  ------------------
  719|      0|        PyErr_Print();
  720|      0|        abort();
  721|  16.8k|    } else {
  722|  16.8k|        ELEMENTTREE_PARSEWHOLE_INITIALIZED = 1;
  723|  16.8k|    }
  724|       |
  725|  16.8k|    rv |= _run_fuzz(data, size, fuzz_elementtree_parsewhole);
  726|  16.8k|#endif
  727|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_pycompile)
  728|       |    rv |= _run_fuzz(data, size, fuzz_pycompile);
  729|       |#endif
  730|  16.8k|  return rv;
  731|  16.8k|}
fuzzer.c:init_elementtree_parsewhole:
  449|      1|static int init_elementtree_parsewhole(void) {
  450|      1|    PyObject* elementtree_module = PyImport_ImportModule("_elementtree");
  451|      1|    if (elementtree_module == NULL) {
  ------------------
  |  Branch (451:9): [True: 0, False: 1]
  ------------------
  452|      0|        return 0;
  453|      0|    }
  454|      1|    xmlparser_type = PyObject_GetAttrString(elementtree_module, "XMLParser");
  455|      1|    Py_DECREF(elementtree_module);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  456|      1|    if (xmlparser_type == NULL) {
  ------------------
  |  Branch (456:9): [True: 0, False: 1]
  ------------------
  457|      0|        return 0;
  458|      0|    }
  459|       |
  460|       |
  461|      1|    PyObject* io_module = PyImport_ImportModule("io");
  462|      1|    if (io_module == NULL) {
  ------------------
  |  Branch (462:9): [True: 0, False: 1]
  ------------------
  463|      0|        return 0;
  464|      0|    }
  465|      1|    bytesio_type = PyObject_GetAttrString(io_module, "BytesIO");
  466|      1|    Py_DECREF(io_module);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  467|      1|    if (bytesio_type == NULL) {
  ------------------
  |  Branch (467:9): [True: 0, False: 1]
  ------------------
  468|      0|        return 0;
  469|      0|    }
  470|       |
  471|      1|    return 1;
  472|      1|}
fuzzer.c:_run_fuzz:
  586|  16.8k|static int _run_fuzz(const uint8_t *data, size_t size, int(*fuzzer)(const char* , size_t)) {
  587|  16.8k|    int rv = fuzzer((const char*) data, size);
  588|  16.8k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (588:9): [True: 0, False: 16.8k]
  ------------------
  589|       |        /* Fuzz tests should handle expected errors for themselves.
  590|       |           This is last-ditch check in case they didn't. */
  591|      0|        PyErr_Print();
  592|      0|        abort();
  593|      0|    }
  594|       |    /* Someday the return value might mean something, propagate it. */
  595|  16.8k|    return rv;
  596|  16.8k|}
fuzzer.c:fuzz_elementtree_parsewhole:
  474|  16.8k|static int fuzz_elementtree_parsewhole(const char* data, size_t size) {
  475|  16.8k|    if (size > MAX_ELEMENTTREE_PARSEWHOLE_TEST_SIZE) {
  ------------------
  |  |  445|  16.8k|#define MAX_ELEMENTTREE_PARSEWHOLE_TEST_SIZE 0x100000
  ------------------
  |  Branch (475:9): [True: 0, False: 16.8k]
  ------------------
  476|      0|        return 0;
  477|      0|    }
  478|       |
  479|  16.8k|    PyObject *input = PyObject_CallFunction(bytesio_type, "y#", data, (Py_ssize_t)size);
  480|  16.8k|    if (input == NULL) {
  ------------------
  |  Branch (480:9): [True: 0, False: 16.8k]
  ------------------
  481|      0|        assert(PyErr_Occurred());
  482|      0|        PyErr_Print();
  483|      0|        abort();
  484|      0|    }
  485|       |
  486|  16.8k|    PyObject *xmlparser_instance = PyObject_CallObject(xmlparser_type, NULL);
  487|  16.8k|    if (xmlparser_instance == NULL) {
  ------------------
  |  Branch (487:9): [True: 0, False: 16.8k]
  ------------------
  488|      0|        assert(PyErr_Occurred());
  489|      0|        PyErr_Print();
  490|      0|        abort();
  491|      0|    }
  492|       |
  493|  16.8k|    PyObject *result = PyObject_CallMethod(xmlparser_instance, "_parse_whole", "O", input);
  494|  16.8k|    if (result == NULL) {
  ------------------
  |  Branch (494:9): [True: 16.7k, False: 78]
  ------------------
  495|       |        /* Ignore exception here, which can be caused by invalid XML input */
  496|  16.7k|        PyErr_Clear();
  497|  16.7k|    } else {
  498|     78|        Py_DECREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  499|     78|    }
  500|       |
  501|  16.8k|    Py_DECREF(xmlparser_instance);
  ------------------
  |  |  430|  16.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  502|  16.8k|    Py_DECREF(input);
  ------------------
  |  |  430|  16.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  503|       |
  504|  16.8k|    return 0;
  505|  16.8k|}

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

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

_codecsmodule.c:_codecs_utf_8_decode:
  445|   200k|{
  446|   200k|    PyObject *return_value = NULL;
  447|   200k|    Py_buffer data = {NULL, NULL};
  448|   200k|    const char *errors = NULL;
  449|   200k|    int final = 0;
  450|       |
  451|   200k|    if (!_PyArg_CheckPositional("utf_8_decode", nargs, 1, 3)) {
  ------------------
  |  |   38|   200k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 200k, False: 0]
  |  |  |  Branch (38:27): [True: 200k, False: 0]
  |  |  ------------------
  |  |   39|   200k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  452|      0|        goto exit;
  453|      0|    }
  454|   200k|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|   200k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (454:9): [True: 0, False: 200k]
  ------------------
  455|      0|        goto exit;
  456|      0|    }
  457|   200k|    if (nargs < 2) {
  ------------------
  |  Branch (457:9): [True: 0, False: 200k]
  ------------------
  458|      0|        goto skip_optional;
  459|      0|    }
  460|   200k|    if (args[1] == Py_None) {
  ------------------
  |  |  616|   200k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (460:9): [True: 0, False: 200k]
  ------------------
  461|      0|        errors = NULL;
  462|      0|    }
  463|   200k|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|   200k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   200k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 200k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|   200k|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
  465|   200k|        if (errors == NULL) {
  ------------------
  |  Branch (465:13): [True: 0, False: 200k]
  ------------------
  466|      0|            goto exit;
  467|      0|        }
  468|   200k|    }
  469|      0|    else {
  470|      0|        _PyArg_BadArgument("utf_8_decode", "argument 2", "str or None", args[1]);
  471|      0|        goto exit;
  472|      0|    }
  473|   200k|    if (nargs < 3) {
  ------------------
  |  Branch (473:9): [True: 0, False: 200k]
  ------------------
  474|      0|        goto skip_optional;
  475|      0|    }
  476|   200k|    final = PyObject_IsTrue(args[2]);
  477|   200k|    if (final < 0) {
  ------------------
  |  Branch (477:9): [True: 0, False: 200k]
  ------------------
  478|      0|        goto exit;
  479|      0|    }
  480|   200k|skip_optional:
  481|   200k|    return_value = _codecs_utf_8_decode_impl(module, &data, errors, final);
  482|       |
  483|   200k|exit:
  484|       |    /* Cleanup for data */
  485|   200k|    if (data.obj) {
  ------------------
  |  Branch (485:9): [True: 200k, False: 0]
  ------------------
  486|   200k|       PyBuffer_Release(&data);
  487|   200k|    }
  488|       |
  489|   200k|    return return_value;
  490|   200k|}
_codecsmodule.c:_codecs_latin_1_decode:
 1158|     29|{
 1159|     29|    PyObject *return_value = NULL;
 1160|     29|    Py_buffer data = {NULL, NULL};
 1161|     29|    const char *errors = NULL;
 1162|       |
 1163|     29|    if (!_PyArg_CheckPositional("latin_1_decode", nargs, 1, 2)) {
  ------------------
  |  |   38|     29|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 29, False: 0]
  |  |  |  Branch (38:27): [True: 29, False: 0]
  |  |  ------------------
  |  |   39|     29|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1164|      0|        goto exit;
 1165|      0|    }
 1166|     29|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     29|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1166:9): [True: 0, False: 29]
  ------------------
 1167|      0|        goto exit;
 1168|      0|    }
 1169|     29|    if (nargs < 2) {
  ------------------
  |  Branch (1169:9): [True: 0, False: 29]
  ------------------
 1170|      0|        goto skip_optional;
 1171|      0|    }
 1172|     29|    if (args[1] == Py_None) {
  ------------------
  |  |  616|     29|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1172:9): [True: 0, False: 29]
  ------------------
 1173|      0|        errors = NULL;
 1174|      0|    }
 1175|     29|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|     29|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     29|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 29, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1176|     29|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
 1177|     29|        if (errors == NULL) {
  ------------------
  |  Branch (1177:13): [True: 0, False: 29]
  ------------------
 1178|      0|            goto exit;
 1179|      0|        }
 1180|     29|    }
 1181|      0|    else {
 1182|      0|        _PyArg_BadArgument("latin_1_decode", "argument 2", "str or None", args[1]);
 1183|      0|        goto exit;
 1184|      0|    }
 1185|     29|skip_optional:
 1186|     29|    return_value = _codecs_latin_1_decode_impl(module, &data, errors);
 1187|       |
 1188|     29|exit:
 1189|       |    /* Cleanup for data */
 1190|     29|    if (data.obj) {
  ------------------
  |  Branch (1190:9): [True: 29, False: 0]
  ------------------
 1191|     29|       PyBuffer_Release(&data);
 1192|     29|    }
 1193|       |
 1194|     29|    return return_value;
 1195|     29|}
_codecsmodule.c:_codecs_ascii_decode:
 1211|      3|{
 1212|      3|    PyObject *return_value = NULL;
 1213|      3|    Py_buffer data = {NULL, NULL};
 1214|      3|    const char *errors = NULL;
 1215|       |
 1216|      3|    if (!_PyArg_CheckPositional("ascii_decode", nargs, 1, 2)) {
  ------------------
  |  |   38|      3|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 3, False: 0]
  |  |  |  Branch (38:27): [True: 3, False: 0]
  |  |  ------------------
  |  |   39|      3|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1217|      0|        goto exit;
 1218|      0|    }
 1219|      3|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      3|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1219:9): [True: 0, False: 3]
  ------------------
 1220|      0|        goto exit;
 1221|      0|    }
 1222|      3|    if (nargs < 2) {
  ------------------
  |  Branch (1222:9): [True: 0, False: 3]
  ------------------
 1223|      0|        goto skip_optional;
 1224|      0|    }
 1225|      3|    if (args[1] == Py_None) {
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1225:9): [True: 0, False: 3]
  ------------------
 1226|      0|        errors = NULL;
 1227|      0|    }
 1228|      3|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|      3|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1229|      3|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
 1230|      3|        if (errors == NULL) {
  ------------------
  |  Branch (1230:13): [True: 0, False: 3]
  ------------------
 1231|      0|            goto exit;
 1232|      0|        }
 1233|      3|    }
 1234|      0|    else {
 1235|      0|        _PyArg_BadArgument("ascii_decode", "argument 2", "str or None", args[1]);
 1236|      0|        goto exit;
 1237|      0|    }
 1238|      3|skip_optional:
 1239|      3|    return_value = _codecs_ascii_decode_impl(module, &data, errors);
 1240|       |
 1241|      3|exit:
 1242|       |    /* Cleanup for data */
 1243|      3|    if (data.obj) {
  ------------------
  |  Branch (1243:9): [True: 3, False: 0]
  ------------------
 1244|      3|       PyBuffer_Release(&data);
 1245|      3|    }
 1246|       |
 1247|      3|    return return_value;
 1248|      3|}
_codecsmodule.c:_codecs_charmap_decode:
 1264|    154|{
 1265|    154|    PyObject *return_value = NULL;
 1266|    154|    Py_buffer data = {NULL, NULL};
 1267|    154|    const char *errors = NULL;
 1268|    154|    PyObject *mapping = Py_None;
  ------------------
  |  |  616|    154|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1269|       |
 1270|    154|    if (!_PyArg_CheckPositional("charmap_decode", nargs, 1, 3)) {
  ------------------
  |  |   38|    154|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 154, False: 0]
  |  |  |  Branch (38:27): [True: 154, False: 0]
  |  |  ------------------
  |  |   39|    154|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1271|      0|        goto exit;
 1272|      0|    }
 1273|    154|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|    154|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1273:9): [True: 0, False: 154]
  ------------------
 1274|      0|        goto exit;
 1275|      0|    }
 1276|    154|    if (nargs < 2) {
  ------------------
  |  Branch (1276:9): [True: 0, False: 154]
  ------------------
 1277|      0|        goto skip_optional;
 1278|      0|    }
 1279|    154|    if (args[1] == Py_None) {
  ------------------
  |  |  616|    154|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1279:9): [True: 0, False: 154]
  ------------------
 1280|      0|        errors = NULL;
 1281|      0|    }
 1282|    154|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|    154|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    154|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 154, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1283|    154|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
 1284|    154|        if (errors == NULL) {
  ------------------
  |  Branch (1284:13): [True: 0, False: 154]
  ------------------
 1285|      0|            goto exit;
 1286|      0|        }
 1287|    154|    }
 1288|      0|    else {
 1289|      0|        _PyArg_BadArgument("charmap_decode", "argument 2", "str or None", args[1]);
 1290|      0|        goto exit;
 1291|      0|    }
 1292|    154|    if (nargs < 3) {
  ------------------
  |  Branch (1292:9): [True: 0, False: 154]
  ------------------
 1293|      0|        goto skip_optional;
 1294|      0|    }
 1295|    154|    mapping = args[2];
 1296|    154|skip_optional:
 1297|    154|    return_value = _codecs_charmap_decode_impl(module, &data, errors, mapping);
 1298|       |
 1299|    154|exit:
 1300|       |    /* Cleanup for data */
 1301|    154|    if (data.obj) {
  ------------------
  |  Branch (1301:9): [True: 154, False: 0]
  ------------------
 1302|    154|       PyBuffer_Release(&data);
 1303|    154|    }
 1304|       |
 1305|    154|    return return_value;
 1306|    154|}
_codecsmodule.c:_codecs_charmap_build:
 2331|     34|{
 2332|     34|    PyObject *return_value = NULL;
 2333|     34|    PyObject *map;
 2334|       |
 2335|     34|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     34|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     34|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2335:9): [True: 0, False: 34]
  ------------------
 2336|      0|        _PyArg_BadArgument("charmap_build", "argument", "str", arg);
 2337|      0|        goto exit;
 2338|      0|    }
 2339|     34|    map = arg;
 2340|     34|    return_value = _codecs_charmap_build_impl(module, map);
 2341|       |
 2342|     34|exit:
 2343|     34|    return return_value;
 2344|     34|}
_codecsmodule.c:_codecs_iconv_encode:
 2527|    378|{
 2528|    378|    PyObject *return_value = NULL;
 2529|    378|    const char *encoding;
 2530|    378|    PyObject *str;
 2531|    378|    const char *errors = NULL;
 2532|       |
 2533|    378|    if (!_PyArg_CheckPositional("iconv_encode", nargs, 2, 3)) {
  ------------------
  |  |   38|    378|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 378, False: 0]
  |  |  |  Branch (38:27): [True: 378, False: 0]
  |  |  ------------------
  |  |   39|    378|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2534|      0|        goto exit;
 2535|      0|    }
 2536|    378|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    378|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    378|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2536:9): [True: 0, False: 378]
  ------------------
 2537|      0|        _PyArg_BadArgument("iconv_encode", "argument 1", "str", args[0]);
 2538|      0|        goto exit;
 2539|      0|    }
 2540|    378|    encoding = _PyUnicode_AsUTF8NoNUL(args[0]);
 2541|    378|    if (encoding == NULL) {
  ------------------
  |  Branch (2541:9): [True: 0, False: 378]
  ------------------
 2542|      0|        goto exit;
 2543|      0|    }
 2544|    378|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|    378|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    378|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2544:9): [True: 0, False: 378]
  ------------------
 2545|      0|        _PyArg_BadArgument("iconv_encode", "argument 2", "str", args[1]);
 2546|      0|        goto exit;
 2547|      0|    }
 2548|    378|    str = args[1];
 2549|    378|    if (nargs < 3) {
  ------------------
  |  Branch (2549:9): [True: 378, False: 0]
  ------------------
 2550|    378|        goto skip_optional;
 2551|    378|    }
 2552|      0|    if (args[2] == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2552:9): [True: 0, False: 0]
  ------------------
 2553|      0|        errors = NULL;
 2554|      0|    }
 2555|      0|    else if (PyUnicode_Check(args[2])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2556|      0|        errors = _PyUnicode_AsUTF8NoNUL(args[2]);
 2557|      0|        if (errors == NULL) {
  ------------------
  |  Branch (2557:13): [True: 0, False: 0]
  ------------------
 2558|      0|            goto exit;
 2559|      0|        }
 2560|      0|    }
 2561|      0|    else {
 2562|      0|        _PyArg_BadArgument("iconv_encode", "argument 3", "str or None", args[2]);
 2563|      0|        goto exit;
 2564|      0|    }
 2565|    378|skip_optional:
 2566|    378|    return_value = _codecs_iconv_encode_impl(module, encoding, str, errors);
 2567|       |
 2568|    378|exit:
 2569|    378|    return return_value;
 2570|    378|}
_codecsmodule.c:_codecs_iconv_decode:
 1524|     70|{
 1525|     70|    PyObject *return_value = NULL;
 1526|     70|    const char *encoding;
 1527|     70|    Py_buffer data = {NULL, NULL};
 1528|     70|    const char *errors = NULL;
 1529|     70|    int final = 0;
 1530|       |
 1531|     70|    if (!_PyArg_CheckPositional("iconv_decode", nargs, 2, 4)) {
  ------------------
  |  |   38|     70|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 70, False: 0]
  |  |  |  Branch (38:27): [True: 70, False: 0]
  |  |  ------------------
  |  |   39|     70|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1532|      0|        goto exit;
 1533|      0|    }
 1534|     70|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|     70|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     70|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1534:9): [True: 0, False: 70]
  ------------------
 1535|      0|        _PyArg_BadArgument("iconv_decode", "argument 1", "str", args[0]);
 1536|      0|        goto exit;
 1537|      0|    }
 1538|     70|    encoding = _PyUnicode_AsUTF8NoNUL(args[0]);
 1539|     70|    if (encoding == NULL) {
  ------------------
  |  Branch (1539:9): [True: 0, False: 70]
  ------------------
 1540|      0|        goto exit;
 1541|      0|    }
 1542|     70|    if (PyObject_GetBuffer(args[1], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     70|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1542:9): [True: 0, False: 70]
  ------------------
 1543|      0|        goto exit;
 1544|      0|    }
 1545|     70|    if (nargs < 3) {
  ------------------
  |  Branch (1545:9): [True: 0, False: 70]
  ------------------
 1546|      0|        goto skip_optional;
 1547|      0|    }
 1548|     70|    if (args[2] == Py_None) {
  ------------------
  |  |  616|     70|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1548:9): [True: 0, False: 70]
  ------------------
 1549|      0|        errors = NULL;
 1550|      0|    }
 1551|     70|    else if (PyUnicode_Check(args[2])) {
  ------------------
  |  |  103|     70|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     70|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 70, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1552|     70|        errors = _PyUnicode_AsUTF8NoNUL(args[2]);
 1553|     70|        if (errors == NULL) {
  ------------------
  |  Branch (1553:13): [True: 0, False: 70]
  ------------------
 1554|      0|            goto exit;
 1555|      0|        }
 1556|     70|    }
 1557|      0|    else {
 1558|      0|        _PyArg_BadArgument("iconv_decode", "argument 3", "str or None", args[2]);
 1559|      0|        goto exit;
 1560|      0|    }
 1561|     70|    if (nargs < 4) {
  ------------------
  |  Branch (1561:9): [True: 0, False: 70]
  ------------------
 1562|      0|        goto skip_optional;
 1563|      0|    }
 1564|     70|    final = PyObject_IsTrue(args[3]);
 1565|     70|    if (final < 0) {
  ------------------
  |  Branch (1565:9): [True: 0, False: 70]
  ------------------
 1566|      0|        goto exit;
 1567|      0|    }
 1568|     70|skip_optional:
 1569|     70|    return_value = _codecs_iconv_decode_impl(module, encoding, &data, errors, final);
 1570|       |
 1571|     70|exit:
 1572|       |    /* Cleanup for data */
 1573|     70|    if (data.obj) {
  ------------------
  |  Branch (1573:9): [True: 70, False: 0]
  ------------------
 1574|     70|       PyBuffer_Release(&data);
 1575|     70|    }
 1576|       |
 1577|     70|    return return_value;
 1578|     70|}
_codecsmodule.c:_codecs_lookup_error:
 2679|     12|{
 2680|     12|    PyObject *return_value = NULL;
 2681|     12|    const char *name;
 2682|       |
 2683|     12|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     12|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2683:9): [True: 0, False: 12]
  ------------------
 2684|      0|        _PyArg_BadArgument("lookup_error", "argument", "str", arg);
 2685|      0|        goto exit;
 2686|      0|    }
 2687|     12|    name = _PyUnicode_AsUTF8NoNUL(arg);
 2688|     12|    if (name == NULL) {
  ------------------
  |  Branch (2688:9): [True: 0, False: 12]
  ------------------
 2689|      0|        goto exit;
 2690|      0|    }
 2691|     12|    return_value = _codecs_lookup_error_impl(module, name);
 2692|       |
 2693|     12|exit:
 2694|     12|    return return_value;
 2695|     12|}
_codecsmodule.c:_codecs__normalize_encoding:
 2713|    523|{
 2714|    523|    PyObject *return_value = NULL;
 2715|    523|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 2716|       |
 2717|    523|    #define NUM_KEYWORDS 1
 2718|    523|    static struct {
 2719|    523|        PyGC_Head _this_is_not_used;
 2720|    523|        PyObject_VAR_HEAD
 2721|    523|        Py_hash_t ob_hash;
 2722|    523|        PyObject *ob_item[NUM_KEYWORDS];
 2723|    523|    } _kwtuple = {
 2724|    523|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    523|    {                                     \
  |  |   98|    523|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    523|    {                               \
  |  |  |  |   91|    523|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    523|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    523|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|    523|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    523|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    523|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    523|        (type)                      \
  |  |  |  |   93|    523|    },
  |  |  ------------------
  |  |   99|    523|        (size)                            \
  |  |  100|    523|    },
  ------------------
 2725|    523|        .ob_hash = -1,
 2726|    523|        .ob_item = { &_Py_ID(encoding), },
  ------------------
  |  |  951|    523|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    523|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    523|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2727|    523|    };
 2728|    523|    #undef NUM_KEYWORDS
 2729|    523|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 2730|       |
 2731|       |    #else  // !Py_BUILD_CORE
 2732|       |    #  define KWTUPLE NULL
 2733|       |    #endif  // !Py_BUILD_CORE
 2734|       |
 2735|    523|    static const char * const _keywords[] = {"encoding", NULL};
 2736|    523|    static _PyArg_Parser _parser = {
 2737|    523|        .keywords = _keywords,
 2738|    523|        .fname = "_normalize_encoding",
 2739|    523|        .kwtuple = KWTUPLE,
  ------------------
  |  | 2729|    523|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 2740|    523|    };
 2741|    523|    #undef KWTUPLE
 2742|    523|    PyObject *argsbuf[1];
 2743|    523|    PyObject *encoding;
 2744|       |
 2745|    523|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|    523|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 523, False: 0]
  |  |  ------------------
  |  |   91|    523|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 523, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 523]
  |  |  |  Branch (91:43): [True: 523, False: 0]
  |  |  |  Branch (91:67): [True: 523, False: 0]
  |  |  ------------------
  |  |   92|    523|      (args) : \
  |  |   93|    523|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 2746|    523|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 2747|    523|    if (!args) {
  ------------------
  |  Branch (2747:9): [True: 0, False: 523]
  ------------------
 2748|      0|        goto exit;
 2749|      0|    }
 2750|    523|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    523|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    523|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2750:9): [True: 0, False: 523]
  ------------------
 2751|      0|        _PyArg_BadArgument("_normalize_encoding", "argument 'encoding'", "str", args[0]);
 2752|      0|        goto exit;
 2753|      0|    }
 2754|    523|    encoding = args[0];
 2755|    523|    return_value = _codecs__normalize_encoding_impl(module, encoding);
 2756|       |
 2757|    523|exit:
 2758|    523|    return return_value;
 2759|    523|}

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

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

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

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

itertoolsmodule.c:itertools_count:
 1017|      1|{
 1018|      1|    PyObject *return_value = NULL;
 1019|      1|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1020|       |
 1021|      1|    #define NUM_KEYWORDS 2
 1022|      1|    static struct {
 1023|      1|        PyGC_Head _this_is_not_used;
 1024|      1|        PyObject_VAR_HEAD
 1025|      1|        Py_hash_t ob_hash;
 1026|      1|        PyObject *ob_item[NUM_KEYWORDS];
 1027|      1|    } _kwtuple = {
 1028|      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|    },
  ------------------
 1029|      1|        .ob_hash = -1,
 1030|      1|        .ob_item = { &_Py_ID(start), &_Py_ID(step), },
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(start), &_Py_ID(step), },
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1031|      1|    };
 1032|      1|    #undef NUM_KEYWORDS
 1033|      1|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1034|       |
 1035|       |    #else  // !Py_BUILD_CORE
 1036|       |    #  define KWTUPLE NULL
 1037|       |    #endif  // !Py_BUILD_CORE
 1038|       |
 1039|      1|    static const char * const _keywords[] = {"start", "step", NULL};
 1040|      1|    static _PyArg_Parser _parser = {
 1041|      1|        .keywords = _keywords,
 1042|      1|        .fname = "count",
 1043|      1|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1033|      1|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1044|      1|    };
 1045|      1|    #undef KWTUPLE
 1046|      1|    PyObject *argsbuf[2];
 1047|      1|    PyObject * const *fastargs;
 1048|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1049|      1|    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 (1049:36): [True: 0, False: 1]
  ------------------
 1050|      1|    PyObject *long_cnt = NULL;
 1051|      1|    PyObject *long_step = NULL;
 1052|       |
 1053|      1|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   90|      1|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 1, Folded]
  |  |  |  Branch (90:23): [True: 1, False: 0]
  |  |  |  Branch (90:43): [True: 0, Folded]
  |  |  ------------------
  |  |   91|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 1, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 1]
  |  |  |  Branch (91:43): [True: 1, False: 0]
  |  |  |  Branch (91:67): [True: 1, False: 0]
  |  |  |  Branch (91:68): [True: 1, False: 0]
  |  |  ------------------
  |  |   92|      2|      (args) : \
  |  |  ------------------
  |  |  |  Branch (92:8): [True: 1, False: 0]
  |  |  ------------------
  |  |   93|      1|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (93:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1054|      1|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1055|      1|    if (!fastargs) {
  ------------------
  |  Branch (1055:9): [True: 0, False: 1]
  ------------------
 1056|      0|        goto exit;
 1057|      0|    }
 1058|      1|    if (!noptargs) {
  ------------------
  |  Branch (1058:9): [True: 1, False: 0]
  ------------------
 1059|      1|        goto skip_optional_pos;
 1060|      1|    }
 1061|      0|    if (fastargs[0]) {
  ------------------
  |  Branch (1061:9): [True: 0, False: 0]
  ------------------
 1062|      0|        long_cnt = fastargs[0];
 1063|      0|        if (!--noptargs) {
  ------------------
  |  Branch (1063:13): [True: 0, False: 0]
  ------------------
 1064|      0|            goto skip_optional_pos;
 1065|      0|        }
 1066|      0|    }
 1067|      0|    long_step = fastargs[1];
 1068|      1|skip_optional_pos:
 1069|      1|    return_value = itertools_count_impl(type, long_cnt, long_step);
 1070|       |
 1071|      1|exit:
 1072|      1|    return return_value;
 1073|      1|}

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

PyInit_errno:
  986|      2|{
  987|      2|    return PyModuleDef_Init(&errnomodule);
  988|      2|}
errnomodule.c:errno_exec:
   90|      2|{
   91|      2|    PyObject *module_dict = PyModule_GetDict(module);  // Borrowed ref.
   92|      2|    if (module_dict == NULL) {
  ------------------
  |  Branch (92:9): [True: 0, False: 2]
  ------------------
   93|      0|        return -1;
   94|      0|    }
   95|      2|    PyObject *error_dict = PyDict_New();
   96|      2|    if (error_dict == NULL) {
  ------------------
  |  Branch (96:9): [True: 0, False: 2]
  ------------------
   97|      0|        return -1;
   98|      0|    }
   99|      2|    if (PyDict_SetItemString(module_dict, "errorcode", error_dict) < 0) {
  ------------------
  |  Branch (99:9): [True: 0, False: 2]
  ------------------
  100|      0|        Py_DECREF(error_dict);
  ------------------
  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|      0|        return -1;
  102|      0|    }
  103|       |
  104|       |/* Macro so I don't have to edit each and every line below... */
  105|      2|#define add_errcode(name, code, comment)                               \
  106|      2|    do {                                                               \
  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  108|      2|            Py_DECREF(error_dict);                                     \
  109|      2|            return -1;                                                 \
  110|      2|        }                                                              \
  111|      2|    } while (0);
  112|       |
  113|       |    /*
  114|       |     * The names and comments are borrowed from linux/include/errno.h,
  115|       |     * which should be pretty all-inclusive.  However, the Solaris specific
  116|       |     * names and comments are borrowed from sys/errno.h in Solaris.
  117|       |     * MacOSX specific names and comments are borrowed from sys/errno.h in
  118|       |     * MacOSX.
  119|       |     */
  120|       |
  121|      2|#ifdef ENODEV
  122|      2|    add_errcode("ENODEV", ENODEV, "No such device");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  123|      2|#endif
  124|      2|#ifdef ENOCSI
  125|      2|    add_errcode("ENOCSI", ENOCSI, "No CSI structure available");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  126|      2|#endif
  127|      2|#ifdef EHOSTUNREACH
  128|      2|    add_errcode("EHOSTUNREACH", EHOSTUNREACH, "No route to host");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  129|       |#else
  130|       |#ifdef WSAEHOSTUNREACH
  131|       |    add_errcode("EHOSTUNREACH", WSAEHOSTUNREACH, "No route to host");
  132|       |#endif
  133|       |#endif
  134|      2|#ifdef ENOMSG
  135|      2|    add_errcode("ENOMSG", ENOMSG, "No message of desired type");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  136|      2|#endif
  137|      2|#ifdef EUCLEAN
  138|      2|    add_errcode("EUCLEAN", EUCLEAN, "Structure needs cleaning");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  139|      2|#endif
  140|      2|#ifdef EL2NSYNC
  141|      2|    add_errcode("EL2NSYNC", EL2NSYNC, "Level 2 not synchronized");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  142|      2|#endif
  143|      2|#ifdef EL2HLT
  144|      2|    add_errcode("EL2HLT", EL2HLT, "Level 2 halted");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  145|      2|#endif
  146|      2|#ifdef ENODATA
  147|      2|    add_errcode("ENODATA", ENODATA, "No data available");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  148|      2|#endif
  149|      2|#ifdef ENOTBLK
  150|      2|    add_errcode("ENOTBLK", ENOTBLK, "Block device required");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  151|      2|#endif
  152|      2|#ifdef ENOSYS
  153|      2|    add_errcode("ENOSYS", ENOSYS, "Function not implemented");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  154|      2|#endif
  155|      2|#ifdef EPIPE
  156|      2|    add_errcode("EPIPE", EPIPE, "Broken pipe");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  157|      2|#endif
  158|      2|#ifdef EINVAL
  159|      2|    add_errcode("EINVAL", EINVAL, "Invalid argument");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  160|       |#else
  161|       |#ifdef WSAEINVAL
  162|       |    add_errcode("EINVAL", WSAEINVAL, "Invalid argument");
  163|       |#endif
  164|       |#endif
  165|      2|#ifdef EOVERFLOW
  166|      2|    add_errcode("EOVERFLOW", EOVERFLOW, "Value too large for defined data type");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  167|      2|#endif
  168|      2|#ifdef EADV
  169|      2|    add_errcode("EADV", EADV, "Advertise error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  170|      2|#endif
  171|      2|#ifdef EINTR
  172|      2|    add_errcode("EINTR", EINTR, "Interrupted system call");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  173|       |#else
  174|       |#ifdef WSAEINTR
  175|       |    add_errcode("EINTR", WSAEINTR, "Interrupted system call");
  176|       |#endif
  177|       |#endif
  178|      2|#ifdef EUSERS
  179|      2|    add_errcode("EUSERS", EUSERS, "Too many users");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  180|       |#else
  181|       |#ifdef WSAEUSERS
  182|       |    add_errcode("EUSERS", WSAEUSERS, "Too many users");
  183|       |#endif
  184|       |#endif
  185|      2|#ifdef ENOTEMPTY
  186|      2|    add_errcode("ENOTEMPTY", ENOTEMPTY, "Directory not empty");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  187|       |#else
  188|       |#ifdef WSAENOTEMPTY
  189|       |    add_errcode("ENOTEMPTY", WSAENOTEMPTY, "Directory not empty");
  190|       |#endif
  191|       |#endif
  192|      2|#ifdef ENOBUFS
  193|      2|    add_errcode("ENOBUFS", ENOBUFS, "No buffer space available");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  194|       |#else
  195|       |#ifdef WSAENOBUFS
  196|       |    add_errcode("ENOBUFS", WSAENOBUFS, "No buffer space available");
  197|       |#endif
  198|       |#endif
  199|      2|#ifdef EPROTO
  200|      2|    add_errcode("EPROTO", EPROTO, "Protocol error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  201|      2|#endif
  202|      2|#ifdef EREMOTE
  203|      2|    add_errcode("EREMOTE", EREMOTE, "Object is remote");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  204|       |#else
  205|       |#ifdef WSAEREMOTE
  206|       |    add_errcode("EREMOTE", WSAEREMOTE, "Object is remote");
  207|       |#endif
  208|       |#endif
  209|      2|#ifdef ENAVAIL
  210|      2|    add_errcode("ENAVAIL", ENAVAIL, "No XENIX semaphores available");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  211|      2|#endif
  212|      2|#ifdef ECHILD
  213|      2|    add_errcode("ECHILD", ECHILD, "No child processes");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  214|      2|#endif
  215|      2|#ifdef ELOOP
  216|      2|    add_errcode("ELOOP", ELOOP, "Too many symbolic links encountered");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  217|       |#else
  218|       |#ifdef WSAELOOP
  219|       |    add_errcode("ELOOP", WSAELOOP, "Too many symbolic links encountered");
  220|       |#endif
  221|       |#endif
  222|      2|#ifdef EXDEV
  223|      2|    add_errcode("EXDEV", EXDEV, "Cross-device link");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  224|      2|#endif
  225|      2|#ifdef E2BIG
  226|      2|    add_errcode("E2BIG", E2BIG, "Arg list too long");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  227|      2|#endif
  228|      2|#ifdef ESRCH
  229|      2|    add_errcode("ESRCH", ESRCH, "No such process");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  230|      2|#endif
  231|      2|#ifdef EMSGSIZE
  232|      2|    add_errcode("EMSGSIZE", EMSGSIZE, "Message too long");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  233|       |#else
  234|       |#ifdef WSAEMSGSIZE
  235|       |    add_errcode("EMSGSIZE", WSAEMSGSIZE, "Message too long");
  236|       |#endif
  237|       |#endif
  238|      2|#ifdef EAFNOSUPPORT
  239|      2|    add_errcode("EAFNOSUPPORT", EAFNOSUPPORT, "Address family not supported by protocol");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  240|       |#else
  241|       |#ifdef WSAEAFNOSUPPORT
  242|       |    add_errcode("EAFNOSUPPORT", WSAEAFNOSUPPORT, "Address family not supported by protocol");
  243|       |#endif
  244|       |#endif
  245|      2|#ifdef EBADR
  246|      2|    add_errcode("EBADR", EBADR, "Invalid request descriptor");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  247|      2|#endif
  248|      2|#ifdef EHOSTDOWN
  249|      2|    add_errcode("EHOSTDOWN", EHOSTDOWN, "Host is down");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  250|       |#else
  251|       |#ifdef WSAEHOSTDOWN
  252|       |    add_errcode("EHOSTDOWN", WSAEHOSTDOWN, "Host is down");
  253|       |#endif
  254|       |#endif
  255|      2|#ifdef EPFNOSUPPORT
  256|      2|    add_errcode("EPFNOSUPPORT", EPFNOSUPPORT, "Protocol family not supported");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  257|       |#else
  258|       |#ifdef WSAEPFNOSUPPORT
  259|       |    add_errcode("EPFNOSUPPORT", WSAEPFNOSUPPORT, "Protocol family not supported");
  260|       |#endif
  261|       |#endif
  262|      2|#ifdef ENOPROTOOPT
  263|      2|    add_errcode("ENOPROTOOPT", ENOPROTOOPT, "Protocol not available");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  264|       |#else
  265|       |#ifdef WSAENOPROTOOPT
  266|       |    add_errcode("ENOPROTOOPT", WSAENOPROTOOPT, "Protocol not available");
  267|       |#endif
  268|       |#endif
  269|      2|#ifdef EBUSY
  270|      2|    add_errcode("EBUSY", EBUSY, "Device or resource busy");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  271|      2|#endif
  272|      2|#ifdef EWOULDBLOCK
  273|      2|    add_errcode("EWOULDBLOCK", EWOULDBLOCK, "Operation would block");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  274|       |#else
  275|       |#ifdef WSAEWOULDBLOCK
  276|       |    add_errcode("EWOULDBLOCK", WSAEWOULDBLOCK, "Operation would block");
  277|       |#endif
  278|       |#endif
  279|      2|#ifdef EBADFD
  280|      2|    add_errcode("EBADFD", EBADFD, "File descriptor in bad state");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  281|      2|#endif
  282|      2|#ifdef EDOTDOT
  283|      2|    add_errcode("EDOTDOT", EDOTDOT, "RFS specific error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  284|      2|#endif
  285|      2|#ifdef EISCONN
  286|      2|    add_errcode("EISCONN", EISCONN, "Transport endpoint is already connected");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  287|       |#else
  288|       |#ifdef WSAEISCONN
  289|       |    add_errcode("EISCONN", WSAEISCONN, "Transport endpoint is already connected");
  290|       |#endif
  291|       |#endif
  292|      2|#ifdef ENOANO
  293|      2|    add_errcode("ENOANO", ENOANO, "No anode");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  294|      2|#endif
  295|       |#if defined(__wasi__) && !defined(ESHUTDOWN)
  296|       |    // WASI SDK 16 does not have ESHUTDOWN, shutdown results in EPIPE.
  297|       |    #define ESHUTDOWN EPIPE
  298|       |#endif
  299|      2|#ifdef ESHUTDOWN
  300|      2|    add_errcode("ESHUTDOWN", ESHUTDOWN, "Cannot send after transport endpoint shutdown");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  301|       |#else
  302|       |#ifdef WSAESHUTDOWN
  303|       |    add_errcode("ESHUTDOWN", WSAESHUTDOWN, "Cannot send after transport endpoint shutdown");
  304|       |#endif
  305|       |#endif
  306|      2|#ifdef ECHRNG
  307|      2|    add_errcode("ECHRNG", ECHRNG, "Channel number out of range");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  308|      2|#endif
  309|      2|#ifdef ELIBBAD
  310|      2|    add_errcode("ELIBBAD", ELIBBAD, "Accessing a corrupted shared library");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  311|      2|#endif
  312|      2|#ifdef ENONET
  313|      2|    add_errcode("ENONET", ENONET, "Machine is not on the network");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  314|      2|#endif
  315|      2|#ifdef EBADE
  316|      2|    add_errcode("EBADE", EBADE, "Invalid exchange");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  317|      2|#endif
  318|      2|#ifdef EBADF
  319|      2|    add_errcode("EBADF", EBADF, "Bad file number");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  320|       |#else
  321|       |#ifdef WSAEBADF
  322|       |    add_errcode("EBADF", WSAEBADF, "Bad file number");
  323|       |#endif
  324|       |#endif
  325|      2|#ifdef EMULTIHOP
  326|      2|    add_errcode("EMULTIHOP", EMULTIHOP, "Multihop attempted");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  327|      2|#endif
  328|      2|#ifdef EIO
  329|      2|    add_errcode("EIO", EIO, "I/O error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  330|      2|#endif
  331|      2|#ifdef EUNATCH
  332|      2|    add_errcode("EUNATCH", EUNATCH, "Protocol driver not attached");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  333|      2|#endif
  334|      2|#ifdef EPROTOTYPE
  335|      2|    add_errcode("EPROTOTYPE", EPROTOTYPE, "Protocol wrong type for socket");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  336|       |#else
  337|       |#ifdef WSAEPROTOTYPE
  338|       |    add_errcode("EPROTOTYPE", WSAEPROTOTYPE, "Protocol wrong type for socket");
  339|       |#endif
  340|       |#endif
  341|      2|#ifdef ENOSPC
  342|      2|    add_errcode("ENOSPC", ENOSPC, "No space left on device");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  343|      2|#endif
  344|      2|#ifdef ENOEXEC
  345|      2|    add_errcode("ENOEXEC", ENOEXEC, "Exec format error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  346|      2|#endif
  347|      2|#ifdef EALREADY
  348|      2|    add_errcode("EALREADY", EALREADY, "Operation already in progress");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  349|       |#else
  350|       |#ifdef WSAEALREADY
  351|       |    add_errcode("EALREADY", WSAEALREADY, "Operation already in progress");
  352|       |#endif
  353|       |#endif
  354|      2|#ifdef ENETDOWN
  355|      2|    add_errcode("ENETDOWN", ENETDOWN, "Network is down");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  356|       |#else
  357|       |#ifdef WSAENETDOWN
  358|       |    add_errcode("ENETDOWN", WSAENETDOWN, "Network is down");
  359|       |#endif
  360|       |#endif
  361|      2|#ifdef ENOTNAM
  362|      2|    add_errcode("ENOTNAM", ENOTNAM, "Not a XENIX named type file");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  363|      2|#endif
  364|      2|#ifdef EACCES
  365|      2|    add_errcode("EACCES", EACCES, "Permission denied");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  366|       |#else
  367|       |#ifdef WSAEACCES
  368|       |    add_errcode("EACCES", WSAEACCES, "Permission denied");
  369|       |#endif
  370|       |#endif
  371|      2|#ifdef ELNRNG
  372|      2|    add_errcode("ELNRNG", ELNRNG, "Link number out of range");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  373|      2|#endif
  374|      2|#ifdef EILSEQ
  375|      2|    add_errcode("EILSEQ", EILSEQ, "Illegal byte sequence");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  376|      2|#endif
  377|      2|#ifdef ENOTDIR
  378|      2|    add_errcode("ENOTDIR", ENOTDIR, "Not a directory");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  379|      2|#endif
  380|      2|#ifdef ENOTUNIQ
  381|      2|    add_errcode("ENOTUNIQ", ENOTUNIQ, "Name not unique on network");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  382|      2|#endif
  383|      2|#ifdef EPERM
  384|      2|    add_errcode("EPERM", EPERM, "Operation not permitted");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  385|      2|#endif
  386|      2|#ifdef EDOM
  387|      2|    add_errcode("EDOM", EDOM, "Math argument out of domain of func");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  388|      2|#endif
  389|      2|#ifdef EXFULL
  390|      2|    add_errcode("EXFULL", EXFULL, "Exchange full");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  391|      2|#endif
  392|      2|#ifdef ECONNREFUSED
  393|      2|    add_errcode("ECONNREFUSED", ECONNREFUSED, "Connection refused");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  394|       |#else
  395|       |#ifdef WSAECONNREFUSED
  396|       |    add_errcode("ECONNREFUSED", WSAECONNREFUSED, "Connection refused");
  397|       |#endif
  398|       |#endif
  399|      2|#ifdef EISDIR
  400|      2|    add_errcode("EISDIR", EISDIR, "Is a directory");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  401|      2|#endif
  402|      2|#ifdef EPROTONOSUPPORT
  403|      2|    add_errcode("EPROTONOSUPPORT", EPROTONOSUPPORT, "Protocol not supported");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  404|       |#else
  405|       |#ifdef WSAEPROTONOSUPPORT
  406|       |    add_errcode("EPROTONOSUPPORT", WSAEPROTONOSUPPORT, "Protocol not supported");
  407|       |#endif
  408|       |#endif
  409|      2|#ifdef EROFS
  410|      2|    add_errcode("EROFS", EROFS, "Read-only file system");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  411|      2|#endif
  412|      2|#ifdef EADDRNOTAVAIL
  413|      2|    add_errcode("EADDRNOTAVAIL", EADDRNOTAVAIL, "Cannot assign requested address");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  414|       |#else
  415|       |#ifdef WSAEADDRNOTAVAIL
  416|       |    add_errcode("EADDRNOTAVAIL", WSAEADDRNOTAVAIL, "Cannot assign requested address");
  417|       |#endif
  418|       |#endif
  419|      2|#ifdef EIDRM
  420|      2|    add_errcode("EIDRM", EIDRM, "Identifier removed");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  421|      2|#endif
  422|      2|#ifdef ECOMM
  423|      2|    add_errcode("ECOMM", ECOMM, "Communication error on send");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  424|      2|#endif
  425|      2|#ifdef ESRMNT
  426|      2|    add_errcode("ESRMNT", ESRMNT, "Srmount error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  427|      2|#endif
  428|      2|#ifdef EREMOTEIO
  429|      2|    add_errcode("EREMOTEIO", EREMOTEIO, "Remote I/O error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  430|      2|#endif
  431|      2|#ifdef EL3RST
  432|      2|    add_errcode("EL3RST", EL3RST, "Level 3 reset");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  433|      2|#endif
  434|      2|#ifdef EBADMSG
  435|      2|    add_errcode("EBADMSG", EBADMSG, "Not a data message");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  436|      2|#endif
  437|      2|#ifdef ENFILE
  438|      2|    add_errcode("ENFILE", ENFILE, "File table overflow");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  439|      2|#endif
  440|      2|#ifdef ELIBMAX
  441|      2|    add_errcode("ELIBMAX", ELIBMAX, "Attempting to link in too many shared libraries");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  442|      2|#endif
  443|      2|#ifdef ESPIPE
  444|      2|    add_errcode("ESPIPE", ESPIPE, "Illegal seek");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  445|      2|#endif
  446|      2|#ifdef ENOLINK
  447|      2|    add_errcode("ENOLINK", ENOLINK, "Link has been severed");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  448|      2|#endif
  449|      2|#ifdef ENETRESET
  450|      2|    add_errcode("ENETRESET", ENETRESET, "Network dropped connection because of reset");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  451|       |#else
  452|       |#ifdef WSAENETRESET
  453|       |    add_errcode("ENETRESET", WSAENETRESET, "Network dropped connection because of reset");
  454|       |#endif
  455|       |#endif
  456|      2|#ifdef ETIMEDOUT
  457|      2|    add_errcode("ETIMEDOUT", ETIMEDOUT, "Connection timed out");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  458|       |#else
  459|       |#ifdef WSAETIMEDOUT
  460|       |    add_errcode("ETIMEDOUT", WSAETIMEDOUT, "Connection timed out");
  461|       |#endif
  462|       |#endif
  463|      2|#ifdef ENOENT
  464|      2|    add_errcode("ENOENT", ENOENT, "No such file or directory");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  465|      2|#endif
  466|      2|#ifdef EEXIST
  467|      2|    add_errcode("EEXIST", EEXIST, "File exists");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  468|      2|#endif
  469|      2|#ifdef EDQUOT
  470|      2|    add_errcode("EDQUOT", EDQUOT, "Quota exceeded");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  471|       |#else
  472|       |#ifdef WSAEDQUOT
  473|       |    add_errcode("EDQUOT", WSAEDQUOT, "Quota exceeded");
  474|       |#endif
  475|       |#endif
  476|      2|#ifdef ENOSTR
  477|      2|    add_errcode("ENOSTR", ENOSTR, "Device not a stream");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  478|      2|#endif
  479|      2|#ifdef EBADSLT
  480|      2|    add_errcode("EBADSLT", EBADSLT, "Invalid slot");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  481|      2|#endif
  482|      2|#ifdef EBADRQC
  483|      2|    add_errcode("EBADRQC", EBADRQC, "Invalid request code");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  484|      2|#endif
  485|      2|#ifdef ELIBACC
  486|      2|    add_errcode("ELIBACC", ELIBACC, "Can not access a needed shared library");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  487|      2|#endif
  488|      2|#ifdef EFAULT
  489|      2|    add_errcode("EFAULT", EFAULT, "Bad address");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  490|       |#else
  491|       |#ifdef WSAEFAULT
  492|       |    add_errcode("EFAULT", WSAEFAULT, "Bad address");
  493|       |#endif
  494|       |#endif
  495|      2|#ifdef EFBIG
  496|      2|    add_errcode("EFBIG", EFBIG, "File too large");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  497|      2|#endif
  498|      2|#ifdef EDEADLK
  499|      2|    add_errcode("EDEADLK", EDEADLK, "Resource deadlock would occur");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  500|      2|#endif
  501|      2|#ifdef ENOTCONN
  502|      2|    add_errcode("ENOTCONN", ENOTCONN, "Transport endpoint is not connected");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  503|       |#else
  504|       |#ifdef WSAENOTCONN
  505|       |    add_errcode("ENOTCONN", WSAENOTCONN, "Transport endpoint is not connected");
  506|       |#endif
  507|       |#endif
  508|      2|#ifdef EDESTADDRREQ
  509|      2|    add_errcode("EDESTADDRREQ", EDESTADDRREQ, "Destination address required");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  510|       |#else
  511|       |#ifdef WSAEDESTADDRREQ
  512|       |    add_errcode("EDESTADDRREQ", WSAEDESTADDRREQ, "Destination address required");
  513|       |#endif
  514|       |#endif
  515|      2|#ifdef ELIBSCN
  516|      2|    add_errcode("ELIBSCN", ELIBSCN, ".lib section in a.out corrupted");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  517|      2|#endif
  518|      2|#ifdef ENOLCK
  519|      2|    add_errcode("ENOLCK", ENOLCK, "No record locks available");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  520|      2|#endif
  521|      2|#ifdef EISNAM
  522|      2|    add_errcode("EISNAM", EISNAM, "Is a named type file");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  523|      2|#endif
  524|      2|#ifdef ECONNABORTED
  525|      2|    add_errcode("ECONNABORTED", ECONNABORTED, "Software caused connection abort");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  526|       |#else
  527|       |#ifdef WSAECONNABORTED
  528|       |    add_errcode("ECONNABORTED", WSAECONNABORTED, "Software caused connection abort");
  529|       |#endif
  530|       |#endif
  531|      2|#ifdef ENETUNREACH
  532|      2|    add_errcode("ENETUNREACH", ENETUNREACH, "Network is unreachable");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  533|       |#else
  534|       |#ifdef WSAENETUNREACH
  535|       |    add_errcode("ENETUNREACH", WSAENETUNREACH, "Network is unreachable");
  536|       |#endif
  537|       |#endif
  538|      2|#ifdef ESTALE
  539|      2|    add_errcode("ESTALE", ESTALE, "Stale NFS file handle");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  540|       |#else
  541|       |#ifdef WSAESTALE
  542|       |    add_errcode("ESTALE", WSAESTALE, "Stale NFS file handle");
  543|       |#endif
  544|       |#endif
  545|      2|#ifdef ENOSR
  546|      2|    add_errcode("ENOSR", ENOSR, "Out of streams resources");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  547|      2|#endif
  548|      2|#ifdef ENOMEM
  549|      2|    add_errcode("ENOMEM", ENOMEM, "Out of memory");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  550|      2|#endif
  551|      2|#ifdef ENOTSOCK
  552|      2|    add_errcode("ENOTSOCK", ENOTSOCK, "Socket operation on non-socket");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  553|       |#else
  554|       |#ifdef WSAENOTSOCK
  555|       |    add_errcode("ENOTSOCK", WSAENOTSOCK, "Socket operation on non-socket");
  556|       |#endif
  557|       |#endif
  558|      2|#ifdef ESTRPIPE
  559|      2|    add_errcode("ESTRPIPE", ESTRPIPE, "Streams pipe error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  560|      2|#endif
  561|      2|#ifdef EMLINK
  562|      2|    add_errcode("EMLINK", EMLINK, "Too many links");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  563|      2|#endif
  564|      2|#ifdef ERANGE
  565|      2|    add_errcode("ERANGE", ERANGE, "Math result not representable");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  566|      2|#endif
  567|      2|#ifdef ELIBEXEC
  568|      2|    add_errcode("ELIBEXEC", ELIBEXEC, "Cannot exec a shared library directly");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  569|      2|#endif
  570|      2|#ifdef EL3HLT
  571|      2|    add_errcode("EL3HLT", EL3HLT, "Level 3 halted");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  572|      2|#endif
  573|      2|#ifdef ECONNRESET
  574|      2|    add_errcode("ECONNRESET", ECONNRESET, "Connection reset by peer");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  575|       |#else
  576|       |#ifdef WSAECONNRESET
  577|       |    add_errcode("ECONNRESET", WSAECONNRESET, "Connection reset by peer");
  578|       |#endif
  579|       |#endif
  580|      2|#ifdef EADDRINUSE
  581|      2|    add_errcode("EADDRINUSE", EADDRINUSE, "Address already in use");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  582|       |#else
  583|       |#ifdef WSAEADDRINUSE
  584|       |    add_errcode("EADDRINUSE", WSAEADDRINUSE, "Address already in use");
  585|       |#endif
  586|       |#endif
  587|      2|#ifdef EOPNOTSUPP
  588|      2|    add_errcode("EOPNOTSUPP", EOPNOTSUPP, "Operation not supported on transport endpoint");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  589|       |#else
  590|       |#ifdef WSAEOPNOTSUPP
  591|       |    add_errcode("EOPNOTSUPP", WSAEOPNOTSUPP, "Operation not supported on transport endpoint");
  592|       |#endif
  593|       |#endif
  594|      2|#ifdef EREMCHG
  595|      2|    add_errcode("EREMCHG", EREMCHG, "Remote address changed");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  596|      2|#endif
  597|      2|#ifdef EAGAIN
  598|      2|    add_errcode("EAGAIN", EAGAIN, "Try again");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  599|      2|#endif
  600|      2|#ifdef ENAMETOOLONG
  601|      2|    add_errcode("ENAMETOOLONG", ENAMETOOLONG, "File name too long");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  602|       |#else
  603|       |#ifdef WSAENAMETOOLONG
  604|       |    add_errcode("ENAMETOOLONG", WSAENAMETOOLONG, "File name too long");
  605|       |#endif
  606|       |#endif
  607|      2|#ifdef ENOTTY
  608|      2|    add_errcode("ENOTTY", ENOTTY, "Not a typewriter");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  609|      2|#endif
  610|      2|#ifdef ERESTART
  611|      2|    add_errcode("ERESTART", ERESTART, "Interrupted system call should be restarted");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  612|      2|#endif
  613|      2|#ifdef ESOCKTNOSUPPORT
  614|      2|    add_errcode("ESOCKTNOSUPPORT", ESOCKTNOSUPPORT, "Socket type not supported");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  615|       |#else
  616|       |#ifdef WSAESOCKTNOSUPPORT
  617|       |    add_errcode("ESOCKTNOSUPPORT", WSAESOCKTNOSUPPORT, "Socket type not supported");
  618|       |#endif
  619|       |#endif
  620|      2|#ifdef ETIME
  621|      2|    add_errcode("ETIME", ETIME, "Timer expired");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  622|      2|#endif
  623|      2|#ifdef EBFONT
  624|      2|    add_errcode("EBFONT", EBFONT, "Bad font file format");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  625|      2|#endif
  626|      2|#ifdef EDEADLOCK
  627|      2|    add_errcode("EDEADLOCK", EDEADLOCK, "Error EDEADLOCK");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  628|      2|#endif
  629|      2|#ifdef ETOOMANYREFS
  630|      2|    add_errcode("ETOOMANYREFS", ETOOMANYREFS, "Too many references: cannot splice");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  631|       |#else
  632|       |#ifdef WSAETOOMANYREFS
  633|       |    add_errcode("ETOOMANYREFS", WSAETOOMANYREFS, "Too many references: cannot splice");
  634|       |#endif
  635|       |#endif
  636|      2|#ifdef EMFILE
  637|      2|    add_errcode("EMFILE", EMFILE, "Too many open files");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  638|       |#else
  639|       |#ifdef WSAEMFILE
  640|       |    add_errcode("EMFILE", WSAEMFILE, "Too many open files");
  641|       |#endif
  642|       |#endif
  643|      2|#ifdef ETXTBSY
  644|      2|    add_errcode("ETXTBSY", ETXTBSY, "Text file busy");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  645|      2|#endif
  646|      2|#ifdef EINPROGRESS
  647|      2|    add_errcode("EINPROGRESS", EINPROGRESS, "Operation now in progress");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  648|       |#else
  649|       |#ifdef WSAEINPROGRESS
  650|       |    add_errcode("EINPROGRESS", WSAEINPROGRESS, "Operation now in progress");
  651|       |#endif
  652|       |#endif
  653|      2|#ifdef ENXIO
  654|      2|    add_errcode("ENXIO", ENXIO, "No such device or address");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  655|      2|#endif
  656|      2|#ifdef ENOPKG
  657|      2|    add_errcode("ENOPKG", ENOPKG, "Package not installed");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  658|      2|#endif
  659|       |#ifdef WSASY
  660|       |    add_errcode("WSASY", WSASY, "Error WSASY");
  661|       |#endif
  662|       |#ifdef WSAEHOSTDOWN
  663|       |    add_errcode("WSAEHOSTDOWN", WSAEHOSTDOWN, "Host is down");
  664|       |#endif
  665|       |#ifdef WSAENETDOWN
  666|       |    add_errcode("WSAENETDOWN", WSAENETDOWN, "Network is down");
  667|       |#endif
  668|       |#ifdef WSAENOTSOCK
  669|       |    add_errcode("WSAENOTSOCK", WSAENOTSOCK, "Socket operation on non-socket");
  670|       |#endif
  671|       |#ifdef WSAEHOSTUNREACH
  672|       |    add_errcode("WSAEHOSTUNREACH", WSAEHOSTUNREACH, "No route to host");
  673|       |#endif
  674|       |#ifdef WSAELOOP
  675|       |    add_errcode("WSAELOOP", WSAELOOP, "Too many symbolic links encountered");
  676|       |#endif
  677|       |#ifdef WSAEMFILE
  678|       |    add_errcode("WSAEMFILE", WSAEMFILE, "Too many open files");
  679|       |#endif
  680|       |#ifdef WSAESTALE
  681|       |    add_errcode("WSAESTALE", WSAESTALE, "Stale NFS file handle");
  682|       |#endif
  683|       |#ifdef WSAVERNOTSUPPORTED
  684|       |    add_errcode("WSAVERNOTSUPPORTED", WSAVERNOTSUPPORTED, "Error WSAVERNOTSUPPORTED");
  685|       |#endif
  686|       |#ifdef WSAENETUNREACH
  687|       |    add_errcode("WSAENETUNREACH", WSAENETUNREACH, "Network is unreachable");
  688|       |#endif
  689|       |#ifdef WSAEPROCLIM
  690|       |    add_errcode("WSAEPROCLIM", WSAEPROCLIM, "Error WSAEPROCLIM");
  691|       |#endif
  692|       |#ifdef WSAEFAULT
  693|       |    add_errcode("WSAEFAULT", WSAEFAULT, "Bad address");
  694|       |#endif
  695|       |#ifdef WSANOTINITIALISED
  696|       |    add_errcode("WSANOTINITIALISED", WSANOTINITIALISED, "Error WSANOTINITIALISED");
  697|       |#endif
  698|       |#ifdef WSAEUSERS
  699|       |    add_errcode("WSAEUSERS", WSAEUSERS, "Too many users");
  700|       |#endif
  701|       |#ifdef WSAMAKEASYNCREPL
  702|       |    add_errcode("WSAMAKEASYNCREPL", WSAMAKEASYNCREPL, "Error WSAMAKEASYNCREPL");
  703|       |#endif
  704|       |#ifdef WSAENOPROTOOPT
  705|       |    add_errcode("WSAENOPROTOOPT", WSAENOPROTOOPT, "Protocol not available");
  706|       |#endif
  707|       |#ifdef WSAECONNABORTED
  708|       |    add_errcode("WSAECONNABORTED", WSAECONNABORTED, "Software caused connection abort");
  709|       |#endif
  710|       |#ifdef WSAENAMETOOLONG
  711|       |    add_errcode("WSAENAMETOOLONG", WSAENAMETOOLONG, "File name too long");
  712|       |#endif
  713|       |#ifdef WSAENOTEMPTY
  714|       |    add_errcode("WSAENOTEMPTY", WSAENOTEMPTY, "Directory not empty");
  715|       |#endif
  716|       |#ifdef WSAESHUTDOWN
  717|       |    add_errcode("WSAESHUTDOWN", WSAESHUTDOWN, "Cannot send after transport endpoint shutdown");
  718|       |#endif
  719|       |#ifdef WSAEAFNOSUPPORT
  720|       |    add_errcode("WSAEAFNOSUPPORT", WSAEAFNOSUPPORT, "Address family not supported by protocol");
  721|       |#endif
  722|       |#ifdef WSAETOOMANYREFS
  723|       |    add_errcode("WSAETOOMANYREFS", WSAETOOMANYREFS, "Too many references: cannot splice");
  724|       |#endif
  725|       |#ifdef WSAEACCES
  726|       |    add_errcode("WSAEACCES", WSAEACCES, "Permission denied");
  727|       |#endif
  728|       |#ifdef WSATR
  729|       |    add_errcode("WSATR", WSATR, "Error WSATR");
  730|       |#endif
  731|       |#ifdef WSABASEERR
  732|       |    add_errcode("WSABASEERR", WSABASEERR, "Error WSABASEERR");
  733|       |#endif
  734|       |#ifdef WSADESCRIPTIO
  735|       |    add_errcode("WSADESCRIPTIO", WSADESCRIPTIO, "Error WSADESCRIPTIO");
  736|       |#endif
  737|       |#ifdef WSAEMSGSIZE
  738|       |    add_errcode("WSAEMSGSIZE", WSAEMSGSIZE, "Message too long");
  739|       |#endif
  740|       |#ifdef WSAEBADF
  741|       |    add_errcode("WSAEBADF", WSAEBADF, "Bad file number");
  742|       |#endif
  743|       |#ifdef WSAECONNRESET
  744|       |    add_errcode("WSAECONNRESET", WSAECONNRESET, "Connection reset by peer");
  745|       |#endif
  746|       |#ifdef WSAGETSELECTERRO
  747|       |    add_errcode("WSAGETSELECTERRO", WSAGETSELECTERRO, "Error WSAGETSELECTERRO");
  748|       |#endif
  749|       |#ifdef WSAETIMEDOUT
  750|       |    add_errcode("WSAETIMEDOUT", WSAETIMEDOUT, "Connection timed out");
  751|       |#endif
  752|       |#ifdef WSAENOBUFS
  753|       |    add_errcode("WSAENOBUFS", WSAENOBUFS, "No buffer space available");
  754|       |#endif
  755|       |#ifdef WSAEDISCON
  756|       |    add_errcode("WSAEDISCON", WSAEDISCON, "Error WSAEDISCON");
  757|       |#endif
  758|       |#ifdef WSAEINTR
  759|       |    add_errcode("WSAEINTR", WSAEINTR, "Interrupted system call");
  760|       |#endif
  761|       |#ifdef WSAEPROTOTYPE
  762|       |    add_errcode("WSAEPROTOTYPE", WSAEPROTOTYPE, "Protocol wrong type for socket");
  763|       |#endif
  764|       |#ifdef WSAHOS
  765|       |    add_errcode("WSAHOS", WSAHOS, "Error WSAHOS");
  766|       |#endif
  767|       |#ifdef WSAEADDRINUSE
  768|       |    add_errcode("WSAEADDRINUSE", WSAEADDRINUSE, "Address already in use");
  769|       |#endif
  770|       |#ifdef WSAEADDRNOTAVAIL
  771|       |    add_errcode("WSAEADDRNOTAVAIL", WSAEADDRNOTAVAIL, "Cannot assign requested address");
  772|       |#endif
  773|       |#ifdef WSAEALREADY
  774|       |    add_errcode("WSAEALREADY", WSAEALREADY, "Operation already in progress");
  775|       |#endif
  776|       |#ifdef WSAEPROTONOSUPPORT
  777|       |    add_errcode("WSAEPROTONOSUPPORT", WSAEPROTONOSUPPORT, "Protocol not supported");
  778|       |#endif
  779|       |#ifdef WSASYSNOTREADY
  780|       |    add_errcode("WSASYSNOTREADY", WSASYSNOTREADY, "Error WSASYSNOTREADY");
  781|       |#endif
  782|       |#ifdef WSAEWOULDBLOCK
  783|       |    add_errcode("WSAEWOULDBLOCK", WSAEWOULDBLOCK, "Operation would block");
  784|       |#endif
  785|       |#ifdef WSAEPFNOSUPPORT
  786|       |    add_errcode("WSAEPFNOSUPPORT", WSAEPFNOSUPPORT, "Protocol family not supported");
  787|       |#endif
  788|       |#ifdef WSAEOPNOTSUPP
  789|       |    add_errcode("WSAEOPNOTSUPP", WSAEOPNOTSUPP, "Operation not supported on transport endpoint");
  790|       |#endif
  791|       |#ifdef WSAEISCONN
  792|       |    add_errcode("WSAEISCONN", WSAEISCONN, "Transport endpoint is already connected");
  793|       |#endif
  794|       |#ifdef WSAEDQUOT
  795|       |    add_errcode("WSAEDQUOT", WSAEDQUOT, "Quota exceeded");
  796|       |#endif
  797|       |#ifdef WSAENOTCONN
  798|       |    add_errcode("WSAENOTCONN", WSAENOTCONN, "Transport endpoint is not connected");
  799|       |#endif
  800|       |#ifdef WSAEREMOTE
  801|       |    add_errcode("WSAEREMOTE", WSAEREMOTE, "Object is remote");
  802|       |#endif
  803|       |#ifdef WSAEINVAL
  804|       |    add_errcode("WSAEINVAL", WSAEINVAL, "Invalid argument");
  805|       |#endif
  806|       |#ifdef WSAEINPROGRESS
  807|       |    add_errcode("WSAEINPROGRESS", WSAEINPROGRESS, "Operation now in progress");
  808|       |#endif
  809|       |#ifdef WSAGETSELECTEVEN
  810|       |    add_errcode("WSAGETSELECTEVEN", WSAGETSELECTEVEN, "Error WSAGETSELECTEVEN");
  811|       |#endif
  812|       |#ifdef WSAESOCKTNOSUPPORT
  813|       |    add_errcode("WSAESOCKTNOSUPPORT", WSAESOCKTNOSUPPORT, "Socket type not supported");
  814|       |#endif
  815|       |#ifdef WSAGETASYNCERRO
  816|       |    add_errcode("WSAGETASYNCERRO", WSAGETASYNCERRO, "Error WSAGETASYNCERRO");
  817|       |#endif
  818|       |#ifdef WSAMAKESELECTREPL
  819|       |    add_errcode("WSAMAKESELECTREPL", WSAMAKESELECTREPL, "Error WSAMAKESELECTREPL");
  820|       |#endif
  821|       |#ifdef WSAGETASYNCBUFLE
  822|       |    add_errcode("WSAGETASYNCBUFLE", WSAGETASYNCBUFLE, "Error WSAGETASYNCBUFLE");
  823|       |#endif
  824|       |#ifdef WSAEDESTADDRREQ
  825|       |    add_errcode("WSAEDESTADDRREQ", WSAEDESTADDRREQ, "Destination address required");
  826|       |#endif
  827|       |#ifdef WSAECONNREFUSED
  828|       |    add_errcode("WSAECONNREFUSED", WSAECONNREFUSED, "Connection refused");
  829|       |#endif
  830|       |#ifdef WSAENETRESET
  831|       |    add_errcode("WSAENETRESET", WSAENETRESET, "Network dropped connection because of reset");
  832|       |#endif
  833|       |#ifdef WSAN
  834|       |    add_errcode("WSAN", WSAN, "Error WSAN");
  835|       |#endif
  836|      2|#ifdef ENOMEDIUM
  837|      2|    add_errcode("ENOMEDIUM", ENOMEDIUM, "No medium found");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  838|      2|#endif
  839|      2|#ifdef EMEDIUMTYPE
  840|      2|    add_errcode("EMEDIUMTYPE", EMEDIUMTYPE, "Wrong medium type");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  841|      2|#endif
  842|      2|#ifdef ECANCELED
  843|      2|    add_errcode("ECANCELED", ECANCELED, "Operation Canceled");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  844|      2|#endif
  845|      2|#ifdef ENOKEY
  846|      2|    add_errcode("ENOKEY", ENOKEY, "Required key not available");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  847|      2|#endif
  848|      2|#ifdef EHWPOISON
  849|      2|    add_errcode("EHWPOISON", EHWPOISON, "Memory page has hardware error");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  850|      2|#endif
  851|      2|#ifdef EKEYEXPIRED
  852|      2|    add_errcode("EKEYEXPIRED", EKEYEXPIRED, "Key has expired");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  853|      2|#endif
  854|      2|#ifdef EKEYREVOKED
  855|      2|    add_errcode("EKEYREVOKED", EKEYREVOKED, "Key has been revoked");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  856|      2|#endif
  857|      2|#ifdef EKEYREJECTED
  858|      2|    add_errcode("EKEYREJECTED", EKEYREJECTED, "Key was rejected by service");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  859|      2|#endif
  860|      2|#ifdef EOWNERDEAD
  861|      2|    add_errcode("EOWNERDEAD", EOWNERDEAD, "Owner died");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  862|      2|#endif
  863|      2|#ifdef ENOTRECOVERABLE
  864|      2|    add_errcode("ENOTRECOVERABLE", ENOTRECOVERABLE, "State not recoverable");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  865|      2|#endif
  866|      2|#ifdef ERFKILL
  867|      2|    add_errcode("ERFKILL", ERFKILL, "Operation not possible due to RF-kill");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  868|      2|#endif
  869|       |
  870|       |    /* Solaris-specific errnos */
  871|      2|#ifdef ECANCELED
  872|      2|    add_errcode("ECANCELED", ECANCELED, "Operation canceled");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  873|      2|#endif
  874|      2|#ifdef ENOTSUP
  875|      2|    add_errcode("ENOTSUP", ENOTSUP, "Operation not supported");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  876|      2|#endif
  877|      2|#ifdef EOWNERDEAD
  878|      2|    add_errcode("EOWNERDEAD", EOWNERDEAD, "Process died with the lock");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  879|      2|#endif
  880|      2|#ifdef ENOTRECOVERABLE
  881|      2|    add_errcode("ENOTRECOVERABLE", ENOTRECOVERABLE, "Lock is not recoverable");
  ------------------
  |  |  106|      2|    do {                                                               \
  |  |  107|      2|        if (_add_errcode(module_dict, error_dict, name, code) < 0) {   \
  |  |  ------------------
  |  |  |  Branch (107:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  108|      0|            Py_DECREF(error_dict);                                     \
  |  |  ------------------
  |  |  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  109|      0|            return -1;                                                 \
  |  |  110|      0|        }                                                              \
  |  |  111|      2|    } while (0);
  |  |  ------------------
  |  |  |  Branch (111:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  882|      2|#endif
  883|       |#ifdef ELOCKUNMAPPED
  884|       |    add_errcode("ELOCKUNMAPPED", ELOCKUNMAPPED, "Locked lock was unmapped");
  885|       |#endif
  886|       |#ifdef ENOTACTIVE
  887|       |    add_errcode("ENOTACTIVE", ENOTACTIVE, "Facility is not active");
  888|       |#endif
  889|       |
  890|       |    /* MacOSX specific errnos */
  891|       |#ifdef EAUTH
  892|       |    add_errcode("EAUTH", EAUTH, "Authentication error");
  893|       |#endif
  894|       |#ifdef EBADARCH
  895|       |    add_errcode("EBADARCH", EBADARCH, "Bad CPU type in executable");
  896|       |#endif
  897|       |#ifdef EBADEXEC
  898|       |    add_errcode("EBADEXEC", EBADEXEC, "Bad executable (or shared library)");
  899|       |#endif
  900|       |#ifdef EBADMACHO
  901|       |    add_errcode("EBADMACHO", EBADMACHO, "Malformed Mach-o file");
  902|       |#endif
  903|       |#ifdef EBADRPC
  904|       |    add_errcode("EBADRPC", EBADRPC, "RPC struct is bad");
  905|       |#endif
  906|       |#ifdef EDEVERR
  907|       |    add_errcode("EDEVERR", EDEVERR, "Device error");
  908|       |#endif
  909|       |#ifdef EFTYPE
  910|       |    add_errcode("EFTYPE", EFTYPE, "Inappropriate file type or format");
  911|       |#endif
  912|       |#ifdef ENEEDAUTH
  913|       |    add_errcode("ENEEDAUTH", ENEEDAUTH, "Need authenticator");
  914|       |#endif
  915|       |#ifdef ENOATTR
  916|       |    add_errcode("ENOATTR", ENOATTR, "Attribute not found");
  917|       |#endif
  918|       |#ifdef ENOPOLICY
  919|       |    add_errcode("ENOPOLICY", ENOPOLICY, "Policy not found");
  920|       |#endif
  921|       |#ifdef EPROCLIM
  922|       |    add_errcode("EPROCLIM", EPROCLIM, "Too many processes");
  923|       |#endif
  924|       |#ifdef EPROCUNAVAIL
  925|       |    add_errcode("EPROCUNAVAIL", EPROCUNAVAIL, "Bad procedure for program");
  926|       |#endif
  927|       |#ifdef EPROGMISMATCH
  928|       |    add_errcode("EPROGMISMATCH", EPROGMISMATCH, "Program version wrong");
  929|       |#endif
  930|       |#ifdef EPROGUNAVAIL
  931|       |    add_errcode("EPROGUNAVAIL", EPROGUNAVAIL, "RPC prog. not avail");
  932|       |#endif
  933|       |#ifdef EPWROFF
  934|       |    add_errcode("EPWROFF", EPWROFF, "Device power is off");
  935|       |#endif
  936|       |#ifdef ERPCMISMATCH
  937|       |    add_errcode("ERPCMISMATCH", ERPCMISMATCH, "RPC version wrong");
  938|       |#endif
  939|       |#ifdef ESHLIBVERS
  940|       |    add_errcode("ESHLIBVERS", ESHLIBVERS, "Shared library version mismatch");
  941|       |#endif
  942|       |#ifdef EQFULL
  943|       |    add_errcode("EQFULL", EQFULL, "Interface output queue is full");
  944|       |#endif
  945|       |#ifdef ENOTCAPABLE
  946|       |    // WASI extension
  947|       |    add_errcode("ENOTCAPABLE", ENOTCAPABLE, "Capabilities insufficient");
  948|       |#endif
  949|       |
  950|      2|    Py_DECREF(error_dict);
  ------------------
  |  |  340|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  951|      2|    return 0;
  952|      2|}
errnomodule.c:_add_errcode:
   60|    274|{
   61|    274|    PyObject *name = PyUnicode_FromString(name_str);
   62|    274|    if (!name) {
  ------------------
  |  Branch (62:9): [True: 0, False: 274]
  ------------------
   63|      0|        return -1;
   64|      0|    }
   65|       |
   66|    274|    PyObject *code = PyLong_FromLong(code_int);
   67|    274|    if (!code) {
  ------------------
  |  Branch (67:9): [True: 0, False: 274]
  ------------------
   68|      0|        Py_DECREF(name);
  ------------------
  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|      0|        return -1;
   70|      0|    }
   71|       |
   72|    274|    int ret = -1;
   73|       |    /* insert in modules dict */
   74|    274|    if (PyDict_SetItem(module_dict, name, code) < 0) {
  ------------------
  |  Branch (74:9): [True: 0, False: 274]
  ------------------
   75|      0|        goto end;
   76|      0|    }
   77|       |    /* insert in errorcode dict */
   78|    274|    if (PyDict_SetItem(error_dict, code, name) < 0) {
  ------------------
  |  Branch (78:9): [True: 0, False: 274]
  ------------------
   79|      0|        goto end;
   80|      0|    }
   81|    274|    ret = 0;
   82|    274|end:
   83|    274|    Py_DECREF(name);
  ------------------
  |  |  340|    274|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|    274|    Py_DECREF(code);
  ------------------
  |  |  340|    274|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   85|    274|    return ret;
   86|    274|}

_PyFaulthandler_Init:
 1473|      2|{
 1474|      2|#ifdef FAULTHANDLER_USE_ALT_STACK
 1475|      2|    memset(&stack, 0, sizeof(stack));
  ------------------
  |  |   86|      2|#  define stack _PyRuntime.faulthandler.stack
  ------------------
                  memset(&stack, 0, sizeof(stack));
  ------------------
  |  |   86|      2|#  define stack _PyRuntime.faulthandler.stack
  ------------------
 1476|      2|    stack.ss_flags = 0;
  ------------------
  |  |   86|      2|#  define stack _PyRuntime.faulthandler.stack
  ------------------
 1477|       |    /* bpo-21131: allocate dedicated stack of SIGSTKSZ*2 bytes, instead of just
 1478|       |       SIGSTKSZ bytes. Calling the previous signal handler in faulthandler
 1479|       |       signal handler uses more than SIGSTKSZ bytes of stack memory on some
 1480|       |       platforms. */
 1481|      2|    stack.ss_size = SIGSTKSZ * 2;
  ------------------
  |  |   86|      2|#  define stack _PyRuntime.faulthandler.stack
  ------------------
 1482|      2|#ifdef AT_MINSIGSTKSZ
 1483|       |    /* bpo-46968: Query Linux for minimal stack size to ensure signal delivery
 1484|       |       for the hardware running CPython. This OS feature is available in
 1485|       |       Linux kernel version >= 5.14 */
 1486|      2|    unsigned long at_minstack_size = getauxval(AT_MINSIGSTKSZ);
 1487|      2|    if (at_minstack_size != 0) {
  ------------------
  |  Branch (1487:9): [True: 0, False: 2]
  ------------------
 1488|      0|        stack.ss_size = SIGSTKSZ + at_minstack_size;
  ------------------
  |  |   86|      0|#  define stack _PyRuntime.faulthandler.stack
  ------------------
 1489|      0|    }
 1490|      2|#endif
 1491|      2|#endif
 1492|       |
 1493|      2|    memset(&thread, 0, sizeof(thread));
  ------------------
  |  |   60|      2|#define thread _PyRuntime.faulthandler.thread
  ------------------
                  memset(&thread, 0, sizeof(thread));
  ------------------
  |  |   60|      2|#define thread _PyRuntime.faulthandler.thread
  ------------------
 1494|       |
 1495|      2|    if (enable) {
  ------------------
  |  Branch (1495:9): [True: 0, False: 2]
  ------------------
 1496|      0|        if (faulthandler_init_enable() < 0) {
  ------------------
  |  Branch (1496:13): [True: 0, False: 0]
  ------------------
 1497|      0|            return _PyStatus_ERR("failed to enable faulthandler");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1498|      0|        }
 1499|      0|    }
 1500|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1501|      2|}

Py_GetBuildInfo:
   46|      2|{
   47|      2|    if (initialized) {
  ------------------
  |  Branch (47:9): [True: 0, False: 2]
  ------------------
   48|      0|        return buildinfo;
   49|      0|    }
   50|      2|    initialized = 1;
   51|      2|    const char *revision = _Py_gitversion();
   52|      2|    const char *sep = *revision ? ":" : "";
  ------------------
  |  Branch (52:23): [True: 2, False: 0]
  ------------------
   53|      2|    const char *gitid = _Py_gitidentifier();
   54|      2|    if (!(*gitid)) {
  ------------------
  |  Branch (54:9): [True: 0, False: 2]
  ------------------
   55|      0|        gitid = "main";
   56|      0|    }
   57|      2|    PyOS_snprintf(buildinfo, sizeof(buildinfo),
   58|      2|                  "%s%s%s, %.20s, %.9s", gitid, sep, revision,
   59|      2|                  DATE, TIME);
  ------------------
  |  |   14|       |#define DATE __DATE__
  ------------------
                                DATE, TIME);
  ------------------
  |  |   22|       |#define TIME __TIME__
  ------------------
   60|      2|    return buildinfo;
   61|      2|}
_Py_gitversion:
   65|      4|{
   66|      4|    return GITVERSION;
   67|      4|}
_Py_gitidentifier:
   71|      4|{
   72|      4|    const char *gittag, *gitid;
   73|      4|    gittag = GITTAG;
   74|      4|    if ((*gittag) && strcmp(gittag, "undefined") != 0)
  ------------------
  |  Branch (74:9): [True: 4, False: 0]
  |  Branch (74:22): [True: 4, False: 0]
  ------------------
   75|      4|        gitid = gittag;
   76|      0|    else
   77|      0|        gitid = GITBRANCH;
   78|      4|    return gitid;
   79|      4|}

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

PyInit_itertools:
 4225|      1|{
 4226|      1|    return PyModuleDef_Init(&itertoolsmodule);
 4227|      1|}
itertoolsmodule.c:get_module_state:
   44|     75|{
   45|     75|    void *state = _PyModule_GetState(mod);
   46|     75|    assert(state != NULL);
  ------------------
  |  Branch (46:5): [True: 75, False: 0]
  ------------------
   47|     75|    return (itertools_state *)state;
   48|     75|}
itertoolsmodule.c:itertoolsmodule_exec:
 4168|      1|{
 4169|      1|    itertools_state *state = get_module_state(mod);
 4170|      1|    ADD_TYPE(mod, state->accumulate_type, &accumulate_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4171|      1|    ADD_TYPE(mod, state->batched_type, &batched_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4172|      1|    ADD_TYPE(mod, state->chain_type, &chain_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4173|      1|    ADD_TYPE(mod, state->combinations_type, &combinations_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4174|      1|    ADD_TYPE(mod, state->compress_type, &compress_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4175|      1|    ADD_TYPE(mod, state->count_type, &count_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4176|      1|    ADD_TYPE(mod, state->cwr_type, &cwr_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4177|      1|    ADD_TYPE(mod, state->cycle_type, &cycle_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4178|      1|    ADD_TYPE(mod, state->dropwhile_type, &dropwhile_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4179|      1|    ADD_TYPE(mod, state->filterfalse_type, &filterfalse_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4180|      1|    ADD_TYPE(mod, state->groupby_type, &groupby_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4181|      1|    ADD_TYPE(mod, state->_grouper_type, &_grouper_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4182|      1|    ADD_TYPE(mod, state->islice_type, &islice_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4183|      1|    ADD_TYPE(mod, state->pairwise_type, &pairwise_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4184|      1|    ADD_TYPE(mod, state->permutations_type, &permutations_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4185|      1|    ADD_TYPE(mod, state->product_type, &product_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4186|      1|    ADD_TYPE(mod, state->repeat_type, &repeat_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4187|      1|    ADD_TYPE(mod, state->starmap_type, &starmap_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4188|      1|    ADD_TYPE(mod, state->takewhile_type, &takewhile_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4189|      1|    ADD_TYPE(mod, state->tee_type, &tee_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4190|      1|    ADD_TYPE(mod, state->teedataobject_type, &teedataobject_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4191|      1|    ADD_TYPE(mod, state->ziplongest_type, &ziplongest_spec);
  ------------------
  |  | 4155|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4156|      1|do {                                                                     \
  |  | 4157|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4158|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4158:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4159|      0|        return -1;                                                       \
  |  | 4160|      0|    }                                                                    \
  |  | 4161|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4161:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4162|      0|        return -1;                                                       \
  |  | 4163|      0|    }                                                                    \
  |  | 4164|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4164:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4192|       |
 4193|      1|    Py_SET_TYPE(state->teedataobject_type, &PyType_Type);
  ------------------
  |  |  217|      1|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4194|      1|    return 0;
 4195|      1|}
itertoolsmodule.c:count_traverse:
 3599|     74|{
 3600|     74|    countobject *lz = countobject_CAST(op);
  ------------------
  |  | 3472|     74|#define countobject_CAST(op)    ((countobject *)(op))
  ------------------
 3601|     74|    Py_VISIT(Py_TYPE(lz));
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 3602|     74|    Py_VISIT(lz->long_cnt);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 74]
  |  |  ------------------
  |  |  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|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 3603|     74|    Py_VISIT(lz->long_step);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 3604|     74|    return 0;
 3605|     74|}
itertoolsmodule.c:itertools_count_impl:
 3511|      1|{
 3512|      1|    countobject *lz;
 3513|      1|    int fast_mode;
 3514|      1|    Py_ssize_t cnt = 0;
 3515|      1|    long step;
 3516|       |
 3517|      1|    if ((long_cnt != NULL && !PyNumber_Check(long_cnt)) ||
  ------------------
  |  Branch (3517:10): [True: 0, False: 1]
  |  Branch (3517:30): [True: 0, False: 0]
  ------------------
 3518|      1|        (long_step != NULL && !PyNumber_Check(long_step))) {
  ------------------
  |  Branch (3518:10): [True: 0, False: 1]
  |  Branch (3518:31): [True: 0, False: 0]
  ------------------
 3519|      0|                    PyErr_SetString(PyExc_TypeError, "a number is required");
 3520|      0|                    return NULL;
 3521|      0|    }
 3522|       |
 3523|      1|    fast_mode = (long_cnt == NULL || PyLong_Check(long_cnt)) &&
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3523:18): [True: 1, False: 0]
  ------------------
 3524|      1|                (long_step == NULL || PyLong_Check(long_step));
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3524:18): [True: 1, False: 0]
  ------------------
 3525|       |
 3526|       |    /* If not specified, start defaults to 0 */
 3527|      1|    if (long_cnt != NULL) {
  ------------------
  |  Branch (3527:9): [True: 0, False: 1]
  ------------------
 3528|      0|        if (fast_mode) {
  ------------------
  |  Branch (3528:13): [True: 0, False: 0]
  ------------------
 3529|      0|            assert(PyLong_Check(long_cnt));
  ------------------
  |  Branch (3529:13): [True: 0, False: 0]
  ------------------
 3530|      0|            cnt = PyLong_AsSsize_t(long_cnt);
 3531|      0|            if (cnt == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3531:17): [True: 0, False: 0]
  |  Branch (3531:30): [True: 0, False: 0]
  ------------------
 3532|      0|                PyErr_Clear();
 3533|      0|                fast_mode = 0;
 3534|      0|            }
 3535|      0|        }
 3536|      1|    } else {
 3537|      1|        cnt = 0;
 3538|      1|        long_cnt = _PyLong_GetZero();
 3539|      1|    }
 3540|      1|    Py_INCREF(long_cnt);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3541|       |
 3542|       |    /* If not specified, step defaults to 1 */
 3543|      1|    if (long_step == NULL) {
  ------------------
  |  Branch (3543:9): [True: 1, False: 0]
  ------------------
 3544|      1|        long_step = _PyLong_GetOne();
 3545|      1|    }
 3546|      1|    Py_INCREF(long_step);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3547|       |
 3548|      1|    assert(long_cnt != NULL && long_step != NULL);
  ------------------
  |  Branch (3548:5): [True: 1, False: 0]
  |  Branch (3548:5): [True: 1, False: 0]
  ------------------
 3549|       |
 3550|       |    /* Fast mode only works when the step is 1 */
 3551|      1|    if (fast_mode) {
  ------------------
  |  Branch (3551:9): [True: 1, False: 0]
  ------------------
 3552|      1|        assert(PyLong_Check(long_step));
  ------------------
  |  Branch (3552:9): [True: 1, False: 0]
  ------------------
 3553|      1|        step = PyLong_AsLong(long_step);
 3554|      1|        if (step != 1) {
  ------------------
  |  Branch (3554:13): [True: 0, False: 1]
  ------------------
 3555|      0|            fast_mode = 0;
 3556|      0|            if (step == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3556:17): [True: 0, False: 0]
  |  Branch (3556:31): [True: 0, False: 0]
  ------------------
 3557|      0|                PyErr_Clear();
 3558|      0|        }
 3559|      1|    }
 3560|       |
 3561|      1|    if (fast_mode)
  ------------------
  |  Branch (3561:9): [True: 1, False: 0]
  ------------------
 3562|      1|        Py_CLEAR(long_cnt);
  ------------------
  |  |  487|      1|    do { \
  |  |  488|      1|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      1|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      1|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 1, False: 0]
  |  |  ------------------
  |  |  491|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      1|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      1|        } \
  |  |  494|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3563|      0|    else
 3564|      0|        cnt = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 3565|       |
 3566|      1|    assert((long_cnt == NULL && fast_mode) ||
  ------------------
  |  Branch (3566:5): [True: 1, False: 0]
  |  Branch (3566:5): [True: 1, False: 0]
  |  Branch (3566:5): [True: 0, False: 0]
  |  Branch (3566:5): [True: 0, False: 0]
  |  Branch (3566:5): [True: 0, False: 0]
  ------------------
 3567|      1|           (cnt == PY_SSIZE_T_MAX && long_cnt != NULL && !fast_mode));
 3568|      1|    assert(!fast_mode ||
  ------------------
  |  Branch (3568:5): [True: 1, False: 0]
  |  Branch (3568:5): [True: 1, False: 0]
  |  Branch (3568:5): [True: 0, False: 1]
  ------------------
 3569|      1|           (PyLong_Check(long_step) && PyLong_AS_LONG(long_step) == 1));
 3570|       |
 3571|       |    /* create countobject structure */
 3572|      1|    lz = (countobject *)type->tp_alloc(type, 0);
 3573|      1|    if (lz == NULL) {
  ------------------
  |  Branch (3573:9): [True: 0, False: 1]
  ------------------
 3574|      0|        Py_XDECREF(long_cnt);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3575|      0|        Py_DECREF(long_step);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3576|      0|        return NULL;
 3577|      0|    }
 3578|      1|    lz->cnt = cnt;
 3579|      1|    lz->long_cnt = long_cnt;
 3580|      1|    lz->long_step = long_step;
 3581|       |
 3582|      1|    return (PyObject *)lz;
 3583|      1|}
itertoolsmodule.c:itertoolsmodule_traverse:
 4093|     74|{
 4094|     74|    itertools_state *state = get_module_state(mod);
 4095|     74|    Py_VISIT(state->accumulate_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4096|     74|    Py_VISIT(state->batched_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4097|     74|    Py_VISIT(state->chain_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4098|     74|    Py_VISIT(state->combinations_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4099|     74|    Py_VISIT(state->compress_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4100|     74|    Py_VISIT(state->count_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4101|     74|    Py_VISIT(state->cwr_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4102|     74|    Py_VISIT(state->cycle_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4103|     74|    Py_VISIT(state->dropwhile_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4104|     74|    Py_VISIT(state->filterfalse_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4105|     74|    Py_VISIT(state->groupby_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4106|     74|    Py_VISIT(state->_grouper_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4107|     74|    Py_VISIT(state->islice_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4108|     74|    Py_VISIT(state->pairwise_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4109|     74|    Py_VISIT(state->permutations_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4110|     74|    Py_VISIT(state->product_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4111|     74|    Py_VISIT(state->repeat_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4112|     74|    Py_VISIT(state->starmap_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4113|     74|    Py_VISIT(state->takewhile_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4114|     74|    Py_VISIT(state->tee_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4115|     74|    Py_VISIT(state->teedataobject_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4116|     74|    Py_VISIT(state->ziplongest_type);
  ------------------
  |  |  194|     74|    do {                                                                \
  |  |  195|     74|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 74, False: 0]
  |  |  ------------------
  |  |  196|     74|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     74|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 74]
  |  |  ------------------
  |  |  198|     74|                return vret;                                            \
  |  |  199|     74|        }                                                               \
  |  |  200|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 4117|     74|    return 0;
 4118|     74|}

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

PyErr_CheckSignals:
 1775|    701|{
 1776|    701|    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|    701|    uintptr_t breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
 1785|    701|    if (breaker & _PY_GC_SCHEDULED_BIT) {
  ------------------
  |  |  349|    701|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1785:9): [True: 0, False: 701]
  ------------------
 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|    701|    if (breaker & _PY_ASYNC_EXCEPTION_BIT) {
  ------------------
  |  |  348|    701|#define _PY_ASYNC_EXCEPTION_BIT (1U << 3)
  ------------------
  |  Branch (1789:9): [True: 0, False: 701]
  ------------------
 1790|      0|        if (_PyEval_RaiseAsyncExc(tstate) < 0) {
  ------------------
  |  Branch (1790:13): [True: 0, False: 0]
  ------------------
 1791|      0|            return -1;
 1792|      0|        }
 1793|      0|    }
 1794|       |
 1795|    701|#if defined(Py_REMOTE_DEBUG) && defined(Py_SUPPORTS_REMOTE_DEBUG)
 1796|    701|    _PyRunRemoteDebugger(tstate);
 1797|    701|#endif
 1798|       |
 1799|    701|    if (_PyErr_CheckSignalsTstate(tstate) < 0) {
  ------------------
  |  Branch (1799:9): [True: 0, False: 701]
  ------------------
 1800|      0|        return -1;
 1801|      0|    }
 1802|       |
 1803|    701|    return 0;
 1804|    701|}
_PyErr_CheckSignalsTstate:
 1894|    701|{
 1895|    701|    _Py_CHECK_EMSCRIPTEN_SIGNALS();
 1896|    701|    if (!_Py_atomic_load_int(&is_tripped)) {
  ------------------
  |  |  112|    701|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
  |  Branch (1896:9): [True: 701, False: 0]
  ------------------
 1897|    701|        return 0;
 1898|    701|    }
 1899|      0|    if (!_Py_ThreadCanHandleSignals(tstate->interp)) {
  ------------------
  |  Branch (1899:9): [True: 0, False: 0]
  ------------------
 1900|      0|        return 0;
 1901|      0|    }
 1902|      0|    return run_tripped_handlers(tstate);
 1903|      0|}
_PySignal_Init:
 1989|      2|{
 1990|      2|    signal_state_t *state = &signal_global_state;
  ------------------
  |  |  116|      2|#define signal_global_state _PyRuntime.signals
  ------------------
 1991|       |
 1992|      2|    state->default_handler = PyLong_FromVoidPtr((void *)SIG_DFL);
 1993|      2|    if (state->default_handler == NULL) {
  ------------------
  |  Branch (1993:9): [True: 0, False: 2]
  ------------------
 1994|      0|        return -1;
 1995|      0|    }
 1996|       |
 1997|      2|    state->ignore_handler = PyLong_FromVoidPtr((void *)SIG_IGN);
 1998|      2|    if (state->ignore_handler == NULL) {
  ------------------
  |  Branch (1998:9): [True: 0, False: 2]
  ------------------
 1999|      0|        return -1;
 2000|      0|    }
 2001|       |
 2002|       |#ifdef MS_WINDOWS
 2003|       |    /* Create manual-reset event, initially unset */
 2004|       |    state->sigint_event = (void *)CreateEvent(NULL, TRUE, FALSE, FALSE);
 2005|       |    if (state->sigint_event == NULL) {
 2006|       |        PyErr_SetFromWindowsErr(0);
 2007|       |        return -1;
 2008|       |    }
 2009|       |#endif
 2010|       |
 2011|    130|    for (int signum = 1; signum < Py_NSIG; signum++) {
  ------------------
  |  |   26|    130|#  define Py_NSIG NSIG
  ------------------
  |  Branch (2011:26): [True: 128, False: 2]
  ------------------
 2012|    128|        _Py_atomic_store_int_relaxed(&Handlers[signum].tripped, 0);
  ------------------
  |  |  110|    128|#define Handlers _PyRuntime.signals.handlers
  ------------------
 2013|    128|    }
 2014|       |
 2015|      2|    if (install_signal_handlers) {
  ------------------
  |  Branch (2015:9): [True: 0, False: 2]
  ------------------
 2016|      0|        if (signal_install_handlers() < 0) {
  ------------------
  |  Branch (2016:13): [True: 0, False: 0]
  ------------------
 2017|      0|            return -1;
 2018|      0|        }
 2019|      0|    }
 2020|       |
 2021|      2|    return 0;
 2022|      2|}

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

PyObject_Type:
   46|      5|{
   47|      5|    PyObject *v;
   48|       |
   49|      5|    if (o == NULL) {
  ------------------
  |  Branch (49:9): [True: 0, False: 5]
  ------------------
   50|      0|        return null_error();
   51|      0|    }
   52|       |
   53|      5|    v = (PyObject *)Py_TYPE(o);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   54|      5|    return Py_NewRef(v);
  ------------------
  |  |  647|      5|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|      5|}
PyObject_Size:
   59|  3.56k|{
   60|  3.56k|    if (o == NULL) {
  ------------------
  |  Branch (60:9): [True: 0, False: 3.56k]
  ------------------
   61|      0|        null_error();
   62|      0|        return -1;
   63|      0|    }
   64|       |
   65|  3.56k|    PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  213|  3.56k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   66|  3.56k|    if (m && m->sq_length) {
  ------------------
  |  Branch (66:9): [True: 3.56k, False: 0]
  |  Branch (66:14): [True: 3.03k, False: 529]
  ------------------
   67|  3.03k|        Py_ssize_t len = m->sq_length(o);
   68|  3.03k|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
  ------------------
  |  Branch (68:9): [True: 3.03k, False: 0]
  ------------------
   69|  3.03k|        return len;
   70|  3.03k|    }
   71|       |
   72|    529|    return PyMapping_Size(o);
   73|  3.56k|}
_PyObject_HasLen:
   84|   403k|_PyObject_HasLen(PyObject *o) {
   85|   403k|    return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) ||
  ------------------
  |  |  213|   403k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) ||
  ------------------
  |  |  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 (85:13): [True: 51, False: 403k]
  |  Branch (85:43): [True: 51, False: 0]
  ------------------
   86|   403k|        (Py_TYPE(o)->tp_as_mapping && Py_TYPE(o)->tp_as_mapping->mp_length);
  ------------------
  |  |  213|   403k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#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: 403k]
  |  Branch (86:39): [True: 0, False: 0]
  ------------------
   87|   403k|}
PyObject_LengthHint:
   97|   403k|{
   98|   403k|    PyObject *hint, *result;
   99|   403k|    Py_ssize_t res;
  100|   403k|    if (_PyObject_HasLen(o)) {
  ------------------
  |  Branch (100:9): [True: 51, False: 403k]
  ------------------
  101|     51|        res = PyObject_Length(o);
  ------------------
  |  |   81|     51|#define PyObject_Length PyObject_Size
  ------------------
  102|     51|        if (res < 0) {
  ------------------
  |  Branch (102:13): [True: 0, False: 51]
  ------------------
  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|     51|        else {
  111|     51|            return res;
  112|     51|        }
  113|     51|    }
  114|   403k|    hint = _PyObject_LookupSpecial(o, &_Py_ID(__length_hint__));
  ------------------
  |  |  951|   403k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   403k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   403k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  115|   403k|    if (hint == NULL) {
  ------------------
  |  Branch (115:9): [True: 39, False: 403k]
  ------------------
  116|     39|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (116:13): [True: 0, False: 39]
  ------------------
  117|      0|            return -1;
  118|      0|        }
  119|     39|        return defaultvalue;
  120|     39|    }
  121|   403k|    result = _PyObject_CallNoArgs(hint);
  122|   403k|    Py_DECREF(hint);
  ------------------
  |  |  430|   403k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|   403k|    if (result == NULL) {
  ------------------
  |  Branch (123:9): [True: 0, False: 403k]
  ------------------
  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|   403k|    else if (result == Py_NotImplemented) {
  ------------------
  |  |  640|   403k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (131:14): [True: 0, False: 403k]
  ------------------
  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|   403k|    if (!PyLong_Check(result)) {
  ------------------
  |  |   13|   403k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   403k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (135:9): [True: 0, False: 403k]
  ------------------
  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|   403k|    res = PyLong_AsSsize_t(result);
  143|   403k|    Py_DECREF(result);
  ------------------
  |  |  430|   403k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  144|   403k|    if (res < 0 && PyErr_Occurred()) {
  ------------------
  |  Branch (144:9): [True: 0, False: 403k]
  |  Branch (144:20): [True: 0, False: 0]
  ------------------
  145|      0|        return -1;
  146|      0|    }
  147|   403k|    if (res < 0) {
  ------------------
  |  Branch (147:9): [True: 0, False: 403k]
  ------------------
  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|   403k|    return res;
  153|   403k|}
PyObject_GetItem:
  157|  1.80k|{
  158|  1.80k|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (158:9): [True: 0, False: 1.80k]
  |  Branch (158:22): [True: 0, False: 1.80k]
  ------------------
  159|      0|        return null_error();
  160|      0|    }
  161|       |
  162|  1.80k|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|  1.80k|    if (m && m->mp_subscript) {
  ------------------
  |  Branch (163:9): [True: 1.80k, False: 5]
  |  Branch (163:14): [True: 1.80k, False: 0]
  ------------------
  164|  1.80k|        PyObject *item = m->mp_subscript(o, key);
  165|  1.80k|        assert(_Py_CheckSlotResult(o, "__getitem__", item != NULL));
  ------------------
  |  Branch (165:9): [True: 1.80k, False: 0]
  ------------------
  166|  1.80k|        return item;
  167|  1.80k|    }
  168|       |
  169|      5|    PySequenceMethods *ms = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  213|      5|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  170|      5|    if (ms && ms->sq_item) {
  ------------------
  |  Branch (170:9): [True: 0, False: 5]
  |  Branch (170:15): [True: 0, False: 0]
  ------------------
  171|      0|        if (_PyIndex_Check(key)) {
  ------------------
  |  Branch (171:13): [True: 0, False: 0]
  ------------------
  172|      0|            Py_ssize_t key_value;
  173|      0|            key_value = PyNumber_AsSsize_t(key, PyExc_IndexError);
  174|      0|            if (key_value == -1 && PyErr_Occurred())
  ------------------
  |  Branch (174:17): [True: 0, False: 0]
  |  Branch (174:36): [True: 0, False: 0]
  ------------------
  175|      0|                return NULL;
  176|      0|            return PySequence_GetItem(o, key_value);
  177|      0|        }
  178|      0|        else {
  179|      0|            return type_error("sequence index must "
  180|      0|                              "be integer, not '%.200s'", key);
  181|      0|        }
  182|      0|    }
  183|       |
  184|      5|    if (PyType_Check(o)) {
  ------------------
  |  |  766|      5|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 5, False: 0]
  |  |  ------------------
  ------------------
  185|      5|        PyObject *meth, *result;
  186|       |
  187|       |        // Special case type[int], but disallow other types so str[int] fails
  188|      5|        if ((PyTypeObject*)o == &PyType_Type) {
  ------------------
  |  Branch (188:13): [True: 0, False: 5]
  ------------------
  189|      0|            return Py_GenericAlias(o, key);
  190|      0|        }
  191|       |
  192|      5|        if (PyObject_GetOptionalAttr(o, &_Py_ID(__class_getitem__), &meth) < 0) {
  ------------------
  |  |  951|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (192:13): [True: 0, False: 5]
  ------------------
  193|      0|            return NULL;
  194|      0|        }
  195|      5|        if (meth && meth != Py_None) {
  ------------------
  |  |  616|      5|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (195:13): [True: 5, False: 0]
  |  Branch (195:21): [True: 5, False: 0]
  ------------------
  196|      5|            result = PyObject_CallOneArg(meth, key);
  197|      5|            Py_DECREF(meth);
  ------------------
  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|      5|            return result;
  199|      5|        }
  200|      0|        Py_XDECREF(meth);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|      0|        PyErr_Format(PyExc_TypeError, "type '%.200s' is not subscriptable",
  202|      0|                     ((PyTypeObject *)o)->tp_name);
  203|      0|        return NULL;
  204|      5|    }
  205|       |
  206|      0|    return type_error("'%.200s' object is not subscriptable", o);
  207|      5|}
PyMapping_GetOptionalItem:
  211|  7.48k|{
  212|  7.48k|    if (PyAnyDict_CheckExact(obj)) {
  ------------------
  |  |   41|  7.48k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  7.48k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  14.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 7.45k, 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|  7.45k|        return PyDict_GetItemRef(obj, key, result);
  214|  7.45k|    }
  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|    776|{
  231|    776|    PyObject* result;
  232|    776|    *err = PyMapping_GetOptionalItem(obj, key, &result);
  233|    776|    return result;
  234|    776|}
PyObject_SetItem:
  238|    269|{
  239|    269|    if (o == NULL || key == NULL || value == NULL) {
  ------------------
  |  Branch (239:9): [True: 0, False: 269]
  |  Branch (239:22): [True: 0, False: 269]
  |  Branch (239:37): [True: 0, False: 269]
  ------------------
  240|      0|        null_error();
  241|      0|        return -1;
  242|      0|    }
  243|       |
  244|    269|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|    269|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|    269|    if (m && m->mp_ass_subscript) {
  ------------------
  |  Branch (245:9): [True: 269, False: 0]
  |  Branch (245:14): [True: 269, False: 0]
  ------------------
  246|    269|        int res = m->mp_ass_subscript(o, key, value);
  247|    269|        assert(_Py_CheckSlotResult(o, "__setitem__", res >= 0));
  ------------------
  |  Branch (247:9): [True: 269, False: 0]
  ------------------
  248|    269|        return res;
  249|    269|    }
  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|    503|{
  273|    503|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (273:9): [True: 0, False: 503]
  |  Branch (273:22): [True: 0, False: 503]
  ------------------
  274|      0|        null_error();
  275|      0|        return -1;
  276|      0|    }
  277|       |
  278|    503|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|    503|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    503|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    503|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  279|    503|    if (m && m->mp_ass_subscript) {
  ------------------
  |  Branch (279:9): [True: 503, False: 0]
  |  Branch (279:14): [True: 503, False: 0]
  ------------------
  280|    503|        int res = m->mp_ass_subscript(o, key, (PyObject*)NULL);
  281|    503|        assert(_Py_CheckSlotResult(o, "__delitem__", res >= 0));
  ------------------
  |  Branch (281:9): [True: 503, False: 0]
  ------------------
  282|    503|        return res;
  283|    503|    }
  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|    128|{
  327|    128|    PyBufferProcs *tp_as_buffer = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|    128|    return (tp_as_buffer != NULL && tp_as_buffer->bf_getbuffer != NULL);
  ------------------
  |  Branch (328:13): [True: 95, False: 33]
  |  Branch (328:37): [True: 95, False: 0]
  ------------------
  329|    128|}
PyObject_GetBuffer:
  441|   586k|{
  442|   586k|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|   586k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (442:9): [True: 95, False: 586k]
  ------------------
  443|     95|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|    190|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|     95|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (443:13): [True: 0, False: 95]
  |  Branch (443:36): [True: 0, False: 95]
  ------------------
  444|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  445|      0|            return -1;
  446|      0|        }
  447|     95|    }
  448|   586k|    PyBufferProcs *pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|   586k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   586k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   586k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  449|       |
  450|   586k|    if (pb == NULL || pb->bf_getbuffer == NULL) {
  ------------------
  |  Branch (450:9): [True: 0, False: 586k]
  |  Branch (450:23): [True: 0, False: 586k]
  ------------------
  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|   586k|    int res = (*pb->bf_getbuffer)(obj, view, flags);
  457|   586k|    assert(_Py_CheckSlotResult(obj, "getbuffer", res >= 0));
  ------------------
  |  Branch (457:5): [True: 586k, False: 0]
  ------------------
  458|   586k|    return res;
  459|   586k|}
PyBuffer_FillInfo:
  777|   586k|{
  778|   586k|    if (view == NULL) {
  ------------------
  |  Branch (778:9): [True: 0, False: 586k]
  ------------------
  779|      0|        PyErr_SetString(PyExc_BufferError,
  780|      0|                        "PyBuffer_FillInfo: view==NULL argument is obsolete");
  781|      0|        return -1;
  782|      0|    }
  783|       |
  784|   586k|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|   586k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (784:9): [True: 585k, False: 80]
  ------------------
  785|   585k|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|  1.17M|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|   585k|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (785:13): [True: 0, False: 585k]
  |  Branch (785:36): [True: 0, False: 585k]
  ------------------
  786|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  787|      0|            return -1;
  788|      0|        }
  789|   585k|        if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|   585k|#define PyBUF_WRITABLE 0x0001
  ------------------
                      if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|   585k|#define PyBUF_WRITABLE 0x0001
  ------------------
  |  Branch (789:13): [True: 0, False: 585k]
  ------------------
  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|   585k|    }
  796|       |
  797|   586k|    view->obj = Py_XNewRef(obj);
  ------------------
  |  |  648|   586k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   586k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   586k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|   586k|    view->buf = buf;
  799|   586k|    view->len = len;
  800|   586k|    view->readonly = readonly;
  801|   586k|    view->itemsize = 1;
  802|   586k|    view->format = NULL;
  803|   586k|    if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|   586k|#define PyBUF_FORMAT 0x0004
  ------------------
                  if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|   586k|#define PyBUF_FORMAT 0x0004
  ------------------
  |  Branch (803:9): [True: 585k, False: 80]
  ------------------
  804|   585k|        view->format = "B";
  805|   586k|    view->ndim = 1;
  806|   586k|    view->shape = NULL;
  807|   586k|    if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|   586k|#define PyBUF_ND 0x0008
  ------------------
                  if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|   586k|#define PyBUF_ND 0x0008
  ------------------
  |  Branch (807:9): [True: 585k, False: 80]
  ------------------
  808|   585k|        view->shape = &(view->len);
  809|   586k|    view->strides = NULL;
  810|   586k|    if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|   586k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|   586k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
                  if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|   586k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|   586k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (810:9): [True: 585k, False: 80]
  ------------------
  811|   585k|        view->strides = &(view->itemsize);
  812|   586k|    view->suboffsets = NULL;
  813|       |    view->internal = NULL;
  814|   586k|    return 0;
  815|   586k|}
PyBuffer_Release:
  819|  1.17M|{
  820|  1.17M|    PyObject *obj = view->obj;
  821|  1.17M|    PyBufferProcs *pb;
  822|  1.17M|    if (obj == NULL)
  ------------------
  |  Branch (822:9): [True: 585k, False: 586k]
  ------------------
  823|   585k|        return;
  824|   586k|    pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|   586k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   586k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   586k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  825|   586k|    if (pb && pb->bf_releasebuffer) {
  ------------------
  |  Branch (825:9): [True: 586k, False: 0]
  |  Branch (825:15): [True: 585k, False: 175]
  ------------------
  826|   585k|        pb->bf_releasebuffer(obj, view);
  827|   585k|    }
  828|   586k|    view->obj = NULL;
  829|   586k|    Py_DECREF(obj);
  ------------------
  |  |  430|   586k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   586k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   586k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  830|   586k|}
PyObject_Format:
  855|     26|{
  856|     26|    PyObject *meth;
  857|     26|    PyObject *empty = NULL;
  858|     26|    PyObject *result = NULL;
  859|       |
  860|     26|    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: 26]
  |  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|     26|    if (format_spec == NULL || PyUnicode_GET_LENGTH(format_spec) == 0) {
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (868:9): [True: 26, False: 0]
  |  Branch (868:32): [True: 0, False: 0]
  ------------------
  869|     26|        if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|     26|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     26|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  870|      0|            return Py_NewRef(obj);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  871|      0|        }
  872|     26|        if (PyLong_CheckExact(obj)) {
  ------------------
  |  |   14|     26|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|     26|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 26, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  873|     26|            return PyObject_Str(obj);
  874|     26|        }
  875|     26|    }
  876|       |
  877|       |    /* If no format_spec is provided, use an empty string */
  878|      0|    if (format_spec == NULL) {
  ------------------
  |  Branch (878:9): [True: 0, False: 0]
  ------------------
  879|      0|        empty = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  880|      0|        format_spec = empty;
  881|      0|    }
  882|       |
  883|       |    /* Find the (unbound!) __format__ method */
  884|      0|    meth = _PyObject_LookupSpecial(obj, &_Py_ID(__format__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  885|      0|    if (meth == NULL) {
  ------------------
  |  Branch (885:9): [True: 0, False: 0]
  ------------------
  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|      0|    result = PyObject_CallOneArg(meth, format_spec);
  897|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|       |
  899|      0|    if (result && !PyUnicode_Check(result)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (899:9): [True: 0, False: 0]
  |  Branch (899:19): [True: 0, False: 0]
  ------------------
  900|      0|        PyErr_Format(PyExc_TypeError,
  901|      0|                     "%T.__format__() must return a str, not %T",
  902|      0|                     obj, result);
  903|      0|        Py_SETREF(result, NULL);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  904|      0|        goto done;
  905|      0|    }
  906|       |
  907|      0|done:
  908|      0|    Py_XDECREF(empty);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  909|      0|    return result;
  910|      0|}
PyNumber_Check:
  915|    101|{
  916|    101|    if (o == NULL)
  ------------------
  |  Branch (916:9): [True: 0, False: 101]
  ------------------
  917|      0|        return 0;
  918|    101|    PyNumberMethods *nb = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  213|    101|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  919|    101|    return nb && (nb->nb_index || nb->nb_int || nb->nb_float || PyComplex_Check(o));
  ------------------
  |  |   13|     95|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|     95|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 95]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (919:12): [True: 101, False: 0]
  |  Branch (919:19): [True: 6, False: 95]
  |  Branch (919:35): [True: 0, False: 95]
  |  Branch (919:49): [True: 0, False: 95]
  ------------------
  920|    101|}
PyNumber_Add:
 1140|  36.5k|{
 1141|  36.5k|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_add), "+");
  ------------------
  |  |  996|  36.5k|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1142|  36.5k|    if (result != Py_NotImplemented) {
  ------------------
  |  |  640|  36.5k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1142:9): [True: 67, False: 36.4k]
  ------------------
 1143|     67|        return result;
 1144|     67|    }
 1145|  36.4k|    Py_DECREF(result);
  ------------------
  |  |  430|  36.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1146|       |
 1147|  36.4k|    PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|  36.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  36.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1148|  36.4k|    if (m && m->sq_concat) {
  ------------------
  |  Branch (1148:9): [True: 36.4k, False: 0]
  |  Branch (1148:14): [True: 36.4k, False: 0]
  ------------------
 1149|  36.4k|        result = (*m->sq_concat)(v, w);
 1150|  36.4k|        assert(_Py_CheckSlotResult(v, "+", result != NULL));
  ------------------
  |  Branch (1150:9): [True: 36.4k, False: 0]
  ------------------
 1151|  36.4k|        return result;
 1152|  36.4k|    }
 1153|       |
 1154|      0|    return binop_type_error(v, w, "+");
 1155|  36.4k|}
PyNumber_Multiply:
 1178|     26|{
 1179|     26|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_multiply), "*");
  ------------------
  |  |  996|     26|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1180|     26|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|     26|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1180:9): [True: 5, False: 21]
  ------------------
 1181|      5|        PySequenceMethods *mv = Py_TYPE(v)->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1182|      5|        PySequenceMethods *mw = Py_TYPE(w)->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|      5|        Py_DECREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1184|      5|        if  (mv && mv->sq_repeat) {
  ------------------
  |  Branch (1184:14): [True: 5, False: 0]
  |  Branch (1184:20): [True: 5, False: 0]
  ------------------
 1185|      5|            return sequence_repeat(mv->sq_repeat, v, w);
 1186|      5|        }
 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|     21|    return result;
 1193|     26|}
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|      8|{
 1310|      8|    PyObject *result = BINARY_IOP1(v, w, NB_SLOT(nb_inplace_add),
  ------------------
  |  | 1257|      8|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot, op_name)
  ------------------
 1311|      8|                                   NB_SLOT(nb_add), "+=");
 1312|      8|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|      8|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1312:9): [True: 7, False: 1]
  ------------------
 1313|      7|        PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|      7|        Py_DECREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|      7|        if (m != NULL) {
  ------------------
  |  Branch (1315:13): [True: 7, False: 0]
  ------------------
 1316|      7|            binaryfunc func = m->sq_inplace_concat;
 1317|      7|            if (func == NULL)
  ------------------
  |  Branch (1317:17): [True: 5, False: 2]
  ------------------
 1318|      5|                func = m->sq_concat;
 1319|      7|            if (func != NULL) {
  ------------------
  |  Branch (1319:17): [True: 7, False: 0]
  ------------------
 1320|      7|                result = func(v, w);
 1321|      7|                assert(_Py_CheckSlotResult(v, "+=", result != NULL));
  ------------------
  |  Branch (1321:17): [True: 7, False: 0]
  ------------------
 1322|      7|                return result;
 1323|      7|            }
 1324|      7|        }
 1325|      0|        result = binop_type_error(v, w, "+=");
 1326|      0|    }
 1327|      1|    return result;
 1328|      8|}
PyIndex_Check:
 1400|    724|{
 1401|    724|    return _PyIndex_Check(obj);
 1402|    724|}
_PyNumber_Index:
 1412|  38.0k|{
 1413|  38.0k|    if (item == NULL) {
  ------------------
  |  Branch (1413:9): [True: 0, False: 38.0k]
  ------------------
 1414|      0|        return null_error();
 1415|      0|    }
 1416|       |
 1417|  38.0k|    if (PyLong_Check(item)) {
  ------------------
  |  |   13|  38.0k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  38.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 38.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1418|  38.0k|        return Py_NewRef(item);
  ------------------
  |  |  647|  38.0k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  38.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|  38.0k|    }
 1420|      0|    if (!_PyIndex_Check(item)) {
  ------------------
  |  Branch (1420:9): [True: 0, False: 0]
  ------------------
 1421|      0|        PyErr_Format(PyExc_TypeError,
 1422|      0|                     "'%.200s' object cannot be interpreted "
 1423|      0|                     "as an integer", Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|      0|        return NULL;
 1425|      0|    }
 1426|       |
 1427|      0|    PyObject *result = Py_TYPE(item)->tp_as_number->nb_index(item);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1428|      0|    assert(_Py_CheckSlotResult(item, "__index__", result != NULL));
  ------------------
  |  Branch (1428:5): [True: 0, False: 0]
  ------------------
 1429|      0|    if (!result || PyLong_CheckExact(result)) {
  ------------------
  |  |   14|      0|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1429:9): [True: 0, False: 0]
  ------------------
 1430|      0|        return result;
 1431|      0|    }
 1432|       |
 1433|      0|    if (!PyLong_Check(result)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1433:9): [True: 0, False: 0]
  ------------------
 1434|      0|        PyErr_Format(PyExc_TypeError,
 1435|      0|                     "%T.__index__() must return an int, not %T",
 1436|      0|                     item, result);
 1437|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1438|      0|        return NULL;
 1439|      0|    }
 1440|       |    /* Issue #17576: warn if 'result' not of exact type int. */
 1441|      0|    if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (1441:9): [True: 0, False: 0]
  ------------------
 1442|      0|            "%T.__index__() must return an int, not %T.  "
 1443|      0|            "The ability to return an instance of a strict subclass of int "
 1444|      0|            "is deprecated, and may be removed in a future version of Python.",
 1445|      0|            item, result)) {
 1446|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1447|      0|        return NULL;
 1448|      0|    }
 1449|      0|    return result;
 1450|      0|}
PyNumber_Index:
 1458|  1.04k|{
 1459|  1.04k|    PyObject *result = _PyNumber_Index(item);
 1460|  1.04k|    if (result != NULL && !PyLong_CheckExact(result)) {
  ------------------
  |  |   14|  1.04k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  1.04k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1460:9): [True: 1.04k, False: 0]
  |  Branch (1460:27): [True: 0, False: 1.04k]
  ------------------
 1461|      0|        Py_SETREF(result, _PyLong_Copy((PyLongObject *)result));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1462|      0|    }
 1463|  1.04k|    return result;
 1464|  1.04k|}
PyNumber_AsSsize_t:
 1470|  31.0k|{
 1471|  31.0k|    Py_ssize_t result;
 1472|  31.0k|    PyObject *runerr;
 1473|  31.0k|    PyObject *value = _PyNumber_Index(item);
 1474|  31.0k|    if (value == NULL)
  ------------------
  |  Branch (1474:9): [True: 0, False: 31.0k]
  ------------------
 1475|      0|        return -1;
 1476|       |
 1477|       |    /* We're done if PyLong_AsSsize_t() returns without error. */
 1478|  31.0k|    result = PyLong_AsSsize_t(value);
 1479|  31.0k|    if (result != -1)
  ------------------
  |  Branch (1479:9): [True: 30.9k, False: 120]
  ------------------
 1480|  30.9k|        goto finish;
 1481|       |
 1482|    120|    PyThreadState *tstate = _PyThreadState_GET();
 1483|    120|    runerr = _PyErr_Occurred(tstate);
 1484|    120|    if (!runerr) {
  ------------------
  |  Branch (1484:9): [True: 120, False: 0]
  ------------------
 1485|    120|        goto finish;
 1486|    120|    }
 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|  31.0k| finish:
 1514|  31.0k|    Py_DECREF(value);
  ------------------
  |  |  430|  31.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1515|  31.0k|    return result;
 1516|      0|}
PyNumber_Long:
 1521|    237|{
 1522|    237|    PyObject *result;
 1523|    237|    PyNumberMethods *m;
 1524|    237|    Py_buffer view;
 1525|       |
 1526|    237|    if (o == NULL) {
  ------------------
  |  Branch (1526:9): [True: 0, False: 237]
  ------------------
 1527|      0|        return null_error();
 1528|      0|    }
 1529|       |
 1530|    237|    if (PyLong_CheckExact(o)) {
  ------------------
  |  |   14|    237|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_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: 142, False: 95]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1531|    142|        return Py_NewRef(o);
  ------------------
  |  |  647|    142|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1532|    142|    }
 1533|     95|    m = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  213|     95|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1534|     95|    if (m && m->nb_int) { /* This should include subclasses of int */
  ------------------
  |  Branch (1534:9): [True: 95, False: 0]
  |  Branch (1534:14): [True: 95, False: 0]
  ------------------
 1535|       |        /* Convert using the nb_int slot, which should return something
 1536|       |           of exact type int. */
 1537|     95|        result = m->nb_int(o);
 1538|     95|        assert(_Py_CheckSlotResult(o, "__int__", result != NULL));
  ------------------
  |  Branch (1538:9): [True: 95, False: 0]
  ------------------
 1539|     95|        if (!result || PyLong_CheckExact(result)) {
  ------------------
  |  |   14|     95|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|     95|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 95, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1539:13): [True: 0, False: 95]
  ------------------
 1540|     95|            return result;
 1541|     95|        }
 1542|       |
 1543|      0|        if (!PyLong_Check(result)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1543:13): [True: 0, False: 0]
  ------------------
 1544|      0|            PyErr_Format(PyExc_TypeError,
 1545|      0|                         "%T.__int__() must return an int, not %T",
 1546|      0|                         o, result);
 1547|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1548|      0|            return NULL;
 1549|      0|        }
 1550|       |        /* Issue #17576: warn if 'result' not of exact type int. */
 1551|      0|        if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (1551:13): [True: 0, False: 0]
  ------------------
 1552|      0|                "%T.__int__() must return an int, not %T.  "
 1553|      0|                "The ability to return an instance of a strict subclass of int "
 1554|      0|                "is deprecated, and may be removed in a future version of Python.",
 1555|      0|                o, result)) {
 1556|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1557|      0|            return NULL;
 1558|      0|        }
 1559|      0|        Py_SETREF(result, _PyLong_Copy((PyLongObject *)result));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1560|      0|        return result;
 1561|      0|    }
 1562|      0|    if (m && m->nb_index) {
  ------------------
  |  Branch (1562:9): [True: 0, False: 0]
  |  Branch (1562:14): [True: 0, False: 0]
  ------------------
 1563|      0|        return PyNumber_Index(o);
 1564|      0|    }
 1565|       |
 1566|      0|    if (PyUnicode_Check(o))
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1567|       |        /* The below check is done in PyLong_FromUnicodeObject(). */
 1568|      0|        return PyLong_FromUnicodeObject(o, 10);
 1569|       |
 1570|      0|    if (PyBytes_Check(o))
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1571|       |        /* need to do extra error checking that PyLong_FromString()
 1572|       |         * doesn't do.  In particular int('9\x005') must raise an
 1573|       |         * exception, not truncate at the null.
 1574|       |         */
 1575|      0|        return _PyLong_FromBytes(PyBytes_AS_STRING(o),
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|      0|                                 PyBytes_GET_SIZE(o), 10);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1577|       |
 1578|      0|    if (PyByteArray_Check(o))
  ------------------
  |  |   24|      0|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1579|      0|        return _PyLong_FromBytes(PyByteArray_AS_STRING(o),
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1580|      0|                                 PyByteArray_GET_SIZE(o), 10);
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1581|       |
 1582|      0|    if (PyObject_GetBuffer(o, &view, PyBUF_SIMPLE) == 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1582:9): [True: 0, False: 0]
  ------------------
 1583|      0|        PyObject *bytes;
 1584|       |
 1585|       |        /* Copy to NUL-terminated buffer. */
 1586|      0|        bytes = PyBytes_FromStringAndSize((const char *)view.buf, view.len);
 1587|      0|        if (bytes == NULL) {
  ------------------
  |  Branch (1587:13): [True: 0, False: 0]
  ------------------
 1588|      0|            PyBuffer_Release(&view);
 1589|      0|            return NULL;
 1590|      0|        }
 1591|      0|        result = _PyLong_FromBytes(PyBytes_AS_STRING(bytes),
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1592|      0|                                   PyBytes_GET_SIZE(bytes), 10);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1593|      0|        Py_DECREF(bytes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1594|      0|        PyBuffer_Release(&view);
 1595|      0|        return result;
 1596|      0|    }
 1597|       |
 1598|      0|    return type_error("int() argument must be a string, a bytes-like object "
 1599|      0|                      "or a real number, not '%.200s'", o);
 1600|      0|}
PySequence_Check:
 1683|     40|{
 1684|     40|    if (PyDict_Check(s))
  ------------------
  |  |   18|     40|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     40|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 40]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1685|      0|        return 0;
 1686|     40|    return Py_TYPE(s)->tp_as_sequence &&
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1686:12): [True: 40, False: 0]
  ------------------
 1687|     40|        Py_TYPE(s)->tp_as_sequence->sq_item != NULL;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1687:9): [True: 40, False: 0]
  ------------------
 1688|     40|}
PySequence_GetItem:
 1843|  1.69k|{
 1844|  1.69k|    if (s == NULL) {
  ------------------
  |  Branch (1844:9): [True: 0, False: 1.69k]
  ------------------
 1845|      0|        return null_error();
 1846|      0|    }
 1847|       |
 1848|  1.69k|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|  1.69k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1849|  1.69k|    if (m && m->sq_item) {
  ------------------
  |  Branch (1849:9): [True: 1.69k, False: 0]
  |  Branch (1849:14): [True: 1.69k, False: 0]
  ------------------
 1850|  1.69k|        if (i < 0) {
  ------------------
  |  Branch (1850:13): [True: 0, False: 1.69k]
  ------------------
 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.69k|        PyObject *res = m->sq_item(s, i);
 1861|  1.69k|        assert(_Py_CheckSlotResult(s, "__getitem__", res != NULL));
  ------------------
  |  Branch (1861:9): [True: 1.69k, False: 0]
  ------------------
 1862|  1.69k|        return res;
 1863|  1.69k|    }
 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|      1|{
 1929|      1|    if (s == NULL) {
  ------------------
  |  Branch (1929:9): [True: 0, False: 1]
  ------------------
 1930|      0|        null_error();
 1931|      0|        return -1;
 1932|      0|    }
 1933|       |
 1934|      1|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1935|      1|    if (m && m->sq_ass_item) {
  ------------------
  |  Branch (1935:9): [True: 1, False: 0]
  |  Branch (1935:14): [True: 1, False: 0]
  ------------------
 1936|      1|        if (i < 0) {
  ------------------
  |  Branch (1936:13): [True: 0, False: 1]
  ------------------
 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|      1|        int res = m->sq_ass_item(s, i, (PyObject *)NULL);
 1947|      1|        assert(_Py_CheckSlotResult(s, "__delitem__", res >= 0));
  ------------------
  |  Branch (1947:9): [True: 1, False: 0]
  ------------------
 1948|      1|        return res;
 1949|      1|    }
 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.63k|{
 2008|  1.63k|    PyObject *it;  /* iter(v) */
 2009|       |
 2010|  1.63k|    if (v == NULL) {
  ------------------
  |  Branch (2010:9): [True: 0, False: 1.63k]
  ------------------
 2011|      0|        return null_error();
 2012|      0|    }
 2013|       |
 2014|       |    /* Special-case the common tuple and list cases, for efficiency. */
 2015|  1.63k|    if (PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  1.63k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.63k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.37k, False: 259]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  1.37k|        return Py_NewRef(v);
  ------------------
  |  |  647|  1.37k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|  1.37k|    }
 2022|    259|    if (PyList_CheckExact(v))
  ------------------
  |  |   26|    259|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|    259|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    259|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    259|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 249, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2023|    249|        return PyList_AsTuple(v);
 2024|       |
 2025|       |    /* Get iterator. */
 2026|     10|    it = PyObject_GetIter(v);
 2027|     10|    if (it == NULL)
  ------------------
  |  Branch (2027:9): [True: 0, False: 10]
  ------------------
 2028|      0|        return NULL;
 2029|       |
 2030|     10|    Py_ssize_t n;
 2031|     10|    PyObject *buffer[8];
 2032|     49|    for (n = 0; n < 8; n++) {
  ------------------
  |  Branch (2032:17): [True: 49, False: 0]
  ------------------
 2033|     49|        PyObject *item = PyIter_Next(it);
 2034|     49|        if (item == NULL) {
  ------------------
  |  Branch (2034:13): [True: 10, False: 39]
  ------------------
 2035|     10|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2035:17): [True: 0, False: 10]
  ------------------
 2036|      0|                goto fail;
 2037|      0|            }
 2038|     10|            Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2039|     10|            return _PyTuple_FromArraySteal(buffer, n);
 2040|     10|        }
 2041|     39|        buffer[n] = item;
 2042|     39|    }
 2043|      0|    PyListObject *list = (PyListObject *)PyList_New(16);
 2044|      0|    if (list == NULL) {
  ------------------
  |  Branch (2044:9): [True: 0, False: 0]
  ------------------
 2045|      0|        goto fail;
 2046|      0|    }
 2047|      0|    assert(n == 8);
  ------------------
  |  Branch (2047:5): [True: 0, False: 0]
  ------------------
 2048|      0|    Py_SET_SIZE(list, n);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2049|      0|    for (Py_ssize_t j = 0; j < n; j++) {
  ------------------
  |  Branch (2049:28): [True: 0, False: 0]
  ------------------
 2050|      0|        PyList_SET_ITEM(list, j, buffer[j]);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2051|      0|    }
 2052|      0|    for (;;) {
 2053|      0|        PyObject *item = PyIter_Next(it);
 2054|      0|        if (item == NULL) {
  ------------------
  |  Branch (2054:13): [True: 0, False: 0]
  ------------------
 2055|      0|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2055:17): [True: 0, False: 0]
  ------------------
 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|      0|            break;
 2061|      0|        }
 2062|      0|        if (_PyList_AppendTakeRef(list, item) < 0) {
  ------------------
  |  Branch (2062:13): [True: 0, False: 0]
  ------------------
 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|      0|    }
 2068|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2069|      0|    PyObject *res = _PyList_AsTupleAndClear(list);
 2070|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2071|      0|    return res;
 2072|      0|fail:
 2073|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2074|      0|    while (n > 0) {
  ------------------
  |  Branch (2074:12): [True: 0, False: 0]
  ------------------
 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|      0|}
PySequence_List:
 2083|   403k|{
 2084|   403k|    PyObject *result;  /* result list */
 2085|   403k|    PyObject *rv;          /* return value from PyList_Extend */
 2086|       |
 2087|   403k|    if (v == NULL) {
  ------------------
  |  Branch (2087:9): [True: 0, False: 403k]
  ------------------
 2088|      0|        return null_error();
 2089|      0|    }
 2090|       |
 2091|   403k|    result = PyList_New(0);
 2092|   403k|    if (result == NULL)
  ------------------
  |  Branch (2092:9): [True: 0, False: 403k]
  ------------------
 2093|      0|        return NULL;
 2094|       |
 2095|   403k|    rv = _PyList_Extend((PyListObject *)result, v);
 2096|   403k|    if (rv == NULL) {
  ------------------
  |  Branch (2096:9): [True: 0, False: 403k]
  ------------------
 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|   403k|    Py_DECREF(rv);
  ------------------
  |  |  430|   403k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2101|   403k|    return result;
 2102|   403k|}
PySequence_Fast:
 2106|   437k|{
 2107|   437k|    PyObject *it;
 2108|       |
 2109|   437k|    if (v == NULL) {
  ------------------
  |  Branch (2109:9): [True: 0, False: 437k]
  ------------------
 2110|      0|        return null_error();
 2111|      0|    }
 2112|       |
 2113|   437k|    if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   26|   437k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|   874k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   437k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   437k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 32.6k, False: 404k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|   404k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   404k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   404k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   404k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.22k, False: 403k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|  33.8k|        return Py_NewRef(v);
  ------------------
  |  |  647|  33.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  33.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2115|  33.8k|    }
 2116|       |
 2117|   403k|    it = PyObject_GetIter(v);
 2118|   403k|    if (it == NULL) {
  ------------------
  |  Branch (2118:9): [True: 0, False: 403k]
  ------------------
 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|   403k|    v = PySequence_List(it);
 2127|   403k|    Py_DECREF(it);
  ------------------
  |  |  430|   403k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|       |
 2129|   403k|    return v;
 2130|   403k|}
PySequence_Contains:
 2242|  1.28k|{
 2243|  1.28k|    PySequenceMethods *sqm = Py_TYPE(seq)->tp_as_sequence;
  ------------------
  |  |  213|  1.28k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2244|  1.28k|    if (sqm != NULL && sqm->sq_contains != NULL) {
  ------------------
  |  Branch (2244:9): [True: 1.28k, False: 0]
  |  Branch (2244:24): [True: 1.28k, False: 0]
  ------------------
 2245|  1.28k|        int res = (*sqm->sq_contains)(seq, ob);
 2246|  1.28k|        assert(_Py_CheckSlotResult(seq, "__contains__", res >= 0));
  ------------------
  |  Branch (2246:9): [True: 1.28k, False: 0]
  ------------------
 2247|  1.28k|        return res;
 2248|  1.28k|    }
 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|  1.28k|}
PyMapping_Check:
 2271|  1.29k|{
 2272|  1.29k|    return o && Py_TYPE(o)->tp_as_mapping &&
  ------------------
  |  |  213|  1.29k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2272:12): [True: 1.29k, False: 0]
  |  Branch (2272:17): [True: 1.29k, False: 0]
  ------------------
 2273|  1.29k|        Py_TYPE(o)->tp_as_mapping->mp_subscript;
  ------------------
  |  |  213|  1.29k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2273:9): [True: 1.29k, False: 0]
  ------------------
 2274|  1.29k|}
PyMapping_Size:
 2278|    529|{
 2279|    529|    if (o == NULL) {
  ------------------
  |  Branch (2279:9): [True: 0, False: 529]
  ------------------
 2280|      0|        null_error();
 2281|      0|        return -1;
 2282|      0|    }
 2283|       |
 2284|    529|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|    529|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    529|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    529|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2285|    529|    if (m && m->mp_length) {
  ------------------
  |  Branch (2285:9): [True: 529, False: 0]
  |  Branch (2285:14): [True: 529, False: 0]
  ------------------
 2286|    529|        Py_ssize_t len = m->mp_length(o);
 2287|    529|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
  ------------------
  |  Branch (2287:9): [True: 529, False: 0]
  ------------------
 2288|    529|        return len;
 2289|    529|    }
 2290|       |
 2291|      0|    if (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2291:9): [True: 0, False: 0]
  |  Branch (2291:39): [True: 0, False: 0]
  ------------------
 2292|      0|        type_error("%.200s is not a mapping", o);
 2293|      0|        return -1;
 2294|      0|    }
 2295|       |    /* PyMapping_Size() can be called from PyObject_Size(). */
 2296|      0|    type_error("object of type '%.200s' has no len()", o);
 2297|      0|    return -1;
 2298|      0|}
PyMapping_GetItemString:
 2310|      8|{
 2311|      8|    PyObject *okey, *r;
 2312|       |
 2313|      8|    if (key == NULL) {
  ------------------
  |  Branch (2313:9): [True: 0, False: 8]
  ------------------
 2314|      0|        return null_error();
 2315|      0|    }
 2316|       |
 2317|      8|    okey = PyUnicode_FromString(key);
 2318|      8|    if (okey == NULL)
  ------------------
  |  Branch (2318:9): [True: 0, False: 8]
  ------------------
 2319|      0|        return NULL;
 2320|      8|    r = PyObject_GetItem(o, okey);
 2321|      8|    Py_DECREF(okey);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2322|      8|    return r;
 2323|      8|}
PyMapping_SetItemString:
 2345|      2|{
 2346|      2|    PyObject *okey;
 2347|      2|    int r;
 2348|       |
 2349|      2|    if (key == NULL) {
  ------------------
  |  Branch (2349:9): [True: 0, False: 2]
  ------------------
 2350|      0|        null_error();
 2351|      0|        return -1;
 2352|      0|    }
 2353|       |
 2354|      2|    okey = PyUnicode_FromString(key);
 2355|      2|    if (okey == NULL)
  ------------------
  |  Branch (2355:9): [True: 0, False: 2]
  ------------------
 2356|      0|        return -1;
 2357|      2|    r = PyObject_SetItem(o, okey, value);
 2358|      2|    Py_DECREF(okey);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2359|      2|    return r;
 2360|      2|}
PyMapping_Keys:
 2462|     20|{
 2463|     20|    if (o == NULL) {
  ------------------
  |  Branch (2463:9): [True: 0, False: 20]
  ------------------
 2464|      0|        return null_error();
 2465|      0|    }
 2466|     20|    if (PyAnyDict_CheckExact(o)) {
  ------------------
  |  |   41|     20|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|     20|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     40|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 12, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|      8|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2467|     12|        return PyDict_Keys(o);
 2468|     12|    }
 2469|      8|    return method_output_as_list(o, &_Py_ID(keys));
  ------------------
  |  |  951|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2470|     20|}
PyMapping_Items:
 2474|     73|{
 2475|     73|    if (o == NULL) {
  ------------------
  |  Branch (2475:9): [True: 0, False: 73]
  ------------------
 2476|      0|        return null_error();
 2477|      0|    }
 2478|     73|    if (PyAnyDict_CheckExact(o)) {
  ------------------
  |  |   41|     73|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|     73|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    146|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     73|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     73|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 73]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|     73|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     73|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     73|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     73|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 73]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2479|      0|        return PyDict_Items(o);
 2480|      0|    }
 2481|     73|    return method_output_as_list(o, &_Py_ID(items));
  ------------------
  |  |  951|     73|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     73|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     73|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2482|     73|}
PyObject_IsInstance:
 2727|  1.71k|{
 2728|  1.71k|    PyThreadState *tstate = _PyThreadState_GET();
 2729|  1.71k|    return object_recursive_isinstance(tstate, inst, cls);
 2730|  1.71k|}
PyObject_IsSubclass:
 2805|  18.0k|{
 2806|  18.0k|    PyThreadState *tstate = _PyThreadState_GET();
 2807|  18.0k|    return object_issubclass(tstate, derived, cls);
 2808|  18.0k|}
_PyObject_RealIsInstance:
 2813|      2|{
 2814|      2|    return object_isinstance(inst, cls);
 2815|      2|}
_PyObject_RealIsSubclass:
 2819|    753|{
 2820|    753|    return recursive_issubclass(derived, cls);
 2821|    753|}
PyObject_GetIter:
 2826|   808k|{
 2827|   808k|    PyTypeObject *t = Py_TYPE(o);
  ------------------
  |  |  213|   808k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   808k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   808k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2828|   808k|    getiterfunc f;
 2829|       |
 2830|   808k|    f = t->tp_iter;
 2831|   808k|    if (f == NULL) {
  ------------------
  |  Branch (2831:9): [True: 20, False: 808k]
  ------------------
 2832|     20|        if (PySequence_Check(o))
  ------------------
  |  Branch (2832:13): [True: 20, False: 0]
  ------------------
 2833|     20|            return PySeqIter_New(o);
 2834|      0|        return type_error("'%.200s' object is not iterable", o);
 2835|     20|    }
 2836|   808k|    else {
 2837|   808k|        PyObject *res = (*f)(o);
 2838|   808k|        if (res != NULL && !PyIter_Check(res)) {
  ------------------
  |  Branch (2838:13): [True: 808k, False: 0]
  |  Branch (2838:28): [True: 0, False: 808k]
  ------------------
 2839|      0|            PyErr_Format(PyExc_TypeError,
 2840|      0|                         "%T.__iter__() must return an iterator, not %T",
 2841|      0|                         o, res);
 2842|      0|            Py_SETREF(res, NULL);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2843|      0|        }
 2844|   808k|        return res;
 2845|   808k|    }
 2846|   808k|}
PyIter_Check:
 2869|   808k|{
 2870|   808k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   808k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   808k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   808k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2871|   808k|    return (tp->tp_iternext != NULL &&
  ------------------
  |  Branch (2871:13): [True: 808k, False: 0]
  ------------------
 2872|   808k|            tp->tp_iternext != &_PyObject_NextNotImplemented);
  ------------------
  |  Branch (2872:13): [True: 808k, False: 0]
  ------------------
 2873|   808k|}
PyIter_NextItem:
 2913|     27|{
 2914|     27|    assert(iter != NULL);
  ------------------
  |  Branch (2914:5): [True: 27, False: 0]
  ------------------
 2915|     27|    assert(item != NULL);
  ------------------
  |  Branch (2915:5): [True: 27, False: 0]
  ------------------
 2916|       |
 2917|     27|    if (Py_TYPE(iter)->tp_iternext == NULL) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2917:9): [True: 0, False: 27]
  ------------------
 2918|      0|        *item = NULL;
 2919|      0|        PyErr_Format(PyExc_TypeError, "expected an iterator, got '%T'", iter);
 2920|      0|        return -1;
 2921|      0|    }
 2922|       |
 2923|     27|    return iternext(iter, item);
 2924|     27|}
PyIter_Next:
 2936|  2.58k|{
 2937|  2.58k|    PyObject *item;
 2938|  2.58k|    (void)iternext(iter, &item);
 2939|  2.58k|    return item;
 2940|  2.58k|}
abstract.c:binary_op:
 1013|    281|{
 1014|    281|    PyObject *result = BINARY_OP1(v, w, op_slot, op_name);
  ------------------
  |  |  996|    281|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1015|    281|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|    281|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1015:9): [True: 0, False: 281]
  ------------------
 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|    281|    return result;
 1020|    281|}
abstract.c:binary_op1:
  946|  36.8k|{
  947|  36.8k|    binaryfunc slotv;
  948|  36.8k|    if (Py_TYPE(v)->tp_as_number != NULL) {
  ------------------
  |  |  213|  36.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  36.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (948:9): [True: 36.8k, False: 13]
  ------------------
  949|  36.8k|        slotv = NB_BINOP(Py_TYPE(v)->tp_as_number, op_slot);
  ------------------
  |  |  926|  36.8k|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  950|  36.8k|    }
  951|     13|    else {
  952|     13|        slotv = NULL;
  953|     13|    }
  954|       |
  955|  36.8k|    binaryfunc slotw;
  956|  36.8k|    if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  215|  73.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  36.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (956:9): [True: 6, False: 36.8k]
  |  Branch (956:39): [True: 6, False: 0]
  ------------------
  957|      6|        slotw = NB_BINOP(Py_TYPE(w)->tp_as_number, op_slot);
  ------------------
  |  |  926|      6|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  958|      6|        if (slotw == slotv) {
  ------------------
  |  Branch (958:13): [True: 0, False: 6]
  ------------------
  959|      0|            slotw = NULL;
  960|      0|        }
  961|      6|    }
  962|  36.8k|    else {
  963|  36.8k|        slotw = NULL;
  964|  36.8k|    }
  965|       |
  966|  36.8k|    if (slotv) {
  ------------------
  |  Branch (966:9): [True: 374, False: 36.4k]
  ------------------
  967|    374|        PyObject *x;
  968|    374|        if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  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 (968:13): [True: 1, False: 373]
  |  Branch (968:22): [True: 1, False: 0]
  ------------------
  969|      1|            x = slotw(v, w);
  970|      1|            if (x != Py_NotImplemented)
  ------------------
  |  |  640|      1|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (970:17): [True: 1, False: 0]
  ------------------
  971|      1|                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|    373|        x = slotv(v, w);
  976|    373|        assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (976:9): [True: 373, False: 0]
  ------------------
  977|    373|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|    373|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (977:13): [True: 373, False: 0]
  ------------------
  978|    373|            return x;
  979|    373|        }
  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|  36.4k|    if (slotw) {
  ------------------
  |  Branch (982:9): [True: 5, False: 36.4k]
  ------------------
  983|      5|        PyObject *x = slotw(v, w);
  984|      5|        assert(_Py_CheckSlotResult(w, op_name, x != NULL));
  ------------------
  |  Branch (984:9): [True: 5, False: 0]
  ------------------
  985|      5|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|      5|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (985:13): [True: 0, False: 5]
  ------------------
  986|      0|            return x;
  987|      0|        }
  988|      5|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  989|      5|    }
  990|  36.4k|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|  36.4k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|  36.4k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  991|  36.4k|}
abstract.c:sequence_repeat:
 1159|      5|{
 1160|      5|    Py_ssize_t count;
 1161|      5|    if (_PyIndex_Check(n)) {
  ------------------
  |  Branch (1161:9): [True: 5, False: 0]
  ------------------
 1162|      5|        count = PyNumber_AsSsize_t(n, PyExc_OverflowError);
 1163|      5|        if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1163:13): [True: 0, False: 5]
  |  Branch (1163:28): [True: 0, False: 0]
  ------------------
 1164|      0|            return NULL;
 1165|      0|        }
 1166|      5|    }
 1167|      0|    else {
 1168|      0|        return type_error("can't multiply sequence by "
 1169|      0|                          "non-int of type '%.200s'", n);
 1170|      0|    }
 1171|      5|    PyObject *res = (*repeatfunc)(seq, count);
 1172|      5|    assert(_Py_CheckSlotResult(seq, "*", res != NULL));
  ------------------
  |  Branch (1172:5): [True: 5, False: 0]
  ------------------
 1173|      5|    return res;
 1174|      5|}
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|     11|{
 1264|     11|    PyObject *result = BINARY_IOP1(v, w, iop_slot, op_slot, op_name);
  ------------------
  |  | 1257|     11|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot, op_name)
  ------------------
 1265|     11|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|     11|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1265:9): [True: 0, False: 11]
  ------------------
 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|     11|    return result;
 1270|     11|}
abstract.c:binary_iop1:
 1234|     19|{
 1235|     19|    PyNumberMethods *mv = Py_TYPE(v)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1236|     19|    if (mv != NULL) {
  ------------------
  |  Branch (1236:9): [True: 17, False: 2]
  ------------------
 1237|     17|        binaryfunc slot = NB_BINOP(mv, iop_slot);
  ------------------
  |  |  926|     17|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1238|     17|        if (slot) {
  ------------------
  |  Branch (1238:13): [True: 7, False: 10]
  ------------------
 1239|      7|            PyObject *x = (slot)(v, w);
 1240|      7|            assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (1240:13): [True: 7, False: 0]
  ------------------
 1241|      7|            if (x != Py_NotImplemented) {
  ------------------
  |  |  640|      7|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1241:17): [True: 7, False: 0]
  ------------------
 1242|      7|                return x;
 1243|      7|            }
 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|     17|    }
 1247|       |#ifdef NDEBUG
 1248|       |    return binary_op1(v, w, op_slot);
 1249|       |#else
 1250|     12|    return binary_op1(v, w, op_slot, op_name);
 1251|     19|#endif
 1252|     19|}
abstract.c:method_output_as_list:
 2435|     81|{
 2436|     81|    PyObject *it, *result, *meth_output;
 2437|       |
 2438|     81|    assert(o != NULL);
  ------------------
  |  Branch (2438:5): [True: 81, False: 0]
  ------------------
 2439|     81|    meth_output = PyObject_CallMethodNoArgs(o, meth);
 2440|     81|    if (meth_output == NULL || PyList_CheckExact(meth_output)) {
  ------------------
  |  |   26|     81|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_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: 0, False: 81]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2440:9): [True: 0, False: 81]
  ------------------
 2441|      0|        return meth_output;
 2442|      0|    }
 2443|     81|    it = PyObject_GetIter(meth_output);
 2444|     81|    if (it == NULL) {
  ------------------
  |  Branch (2444:9): [True: 0, False: 81]
  ------------------
 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|     81|    Py_DECREF(meth_output);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2455|     81|    result = PySequence_List(it);
 2456|     81|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2457|     81|    return result;
 2458|     81|}
abstract.c:object_recursive_isinstance:
 2672|  1.81k|{
 2673|       |    /* Quick test for an exact match */
 2674|  1.81k|    if (Py_IS_TYPE(inst, (PyTypeObject *)cls)) {
  ------------------
  |  |  215|  1.81k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 843, False: 968]
  |  |  ------------------
  ------------------
 2675|    843|        return 1;
 2676|    843|    }
 2677|       |
 2678|       |    /* We know what type's __instancecheck__ does. */
 2679|    968|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|    968|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    968|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    968|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 867, False: 101]
  |  |  ------------------
  ------------------
 2680|    867|        return object_isinstance(inst, cls);
 2681|    867|    }
 2682|       |
 2683|    101|    if (_PyUnion_Check(cls)) {
  ------------------
  |  |   15|    101|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|    101|#  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: 0, False: 101]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2684|      0|        cls = _Py_union_args(cls);
 2685|      0|    }
 2686|       |
 2687|    101|    if (PyTuple_Check(cls)) {
  ------------------
  |  |   27|    101|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    101|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 99, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2688|       |        /* Not a general sequence -- that opens up the road to
 2689|       |           recursion and stack overflow. */
 2690|     99|        if (_Py_EnterRecursiveCallTstate(tstate, " in __instancecheck__")) {
  ------------------
  |  Branch (2690:13): [True: 0, False: 99]
  ------------------
 2691|      0|            return -1;
 2692|      0|        }
 2693|     99|        Py_ssize_t n = PyTuple_GET_SIZE(cls);
  ------------------
  |  |   27|     99|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     99|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2694|     99|        int r = 0;
 2695|     99|        for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (2695:32): [True: 99, False: 0]
  ------------------
 2696|     99|            PyObject *item = PyTuple_GET_ITEM(cls, 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 (2696:30): [True: 99, False: 0]
  ------------------
 2697|      0|            r = object_recursive_isinstance(tstate, inst, item);
 2698|     99|            if (r != 0) {
  ------------------
  |  Branch (2698:17): [True: 99, False: 0]
  ------------------
 2699|       |                /* either found it, or got an error */
 2700|     99|                break;
 2701|     99|            }
 2702|     99|        }
 2703|     99|        _Py_LeaveRecursiveCallTstate(tstate);
 2704|     99|        return r;
 2705|     99|    }
 2706|       |
 2707|      2|    PyObject *res;
 2708|      2|    int found = call_special_method(tstate, cls, &_Py_ID(__instancecheck__),
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2709|      2|                                    " in __instancecheck__", inst, &res);
 2710|      2|    if (found > 0) {
  ------------------
  |  Branch (2710:9): [True: 2, False: 0]
  ------------------
 2711|      2|        int ok = PyObject_IsTrue(res);
 2712|      2|        Py_DECREF(res);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2713|       |
 2714|      2|        return ok;
 2715|      2|    }
 2716|      0|    else if (found < 0) {
  ------------------
  |  Branch (2716:14): [True: 0, False: 0]
  ------------------
 2717|      0|        return -1;
 2718|      0|    }
 2719|       |
 2720|       |    /* cls has no __instancecheck__() method */
 2721|      0|    return object_isinstance(inst, cls);
 2722|      2|}
abstract.c:call_special_method:
 2642|     90|{
 2643|     90|    _PyCStackRef cref;
 2644|     90|    _PyThreadState_PushCStackRef(tstate, &cref);
 2645|     90|    _PyStackRef self = PyStackRef_FromPyObjectBorrow(cls);
 2646|     90|    int found = _PyObject_LookupSpecialMethod(name, &cref.ref, &self);
 2647|     90|    if (found > 0) {
  ------------------
  |  Branch (2647:9): [True: 90, False: 0]
  ------------------
 2648|     90|        *res = NULL;
 2649|     90|        if (!_Py_EnterRecursiveCallTstate(tstate, where)) {
  ------------------
  |  Branch (2649:13): [True: 90, False: 0]
  ------------------
 2650|     90|            PyObject *method = PyStackRef_AsPyObjectBorrow(cref.ref);
 2651|     90|            PyObject *args[2] = {PyStackRef_AsPyObjectBorrow(self), arg};
 2652|     90|            if (args[0] != NULL) {
  ------------------
  |  Branch (2652:17): [True: 90, False: 0]
  ------------------
 2653|       |                /* Unbound method: prepend self. */
 2654|     90|                *res = PyObject_Vectorcall(method, args, 2, NULL);
 2655|     90|            }
 2656|      0|            else {
 2657|      0|                *res = PyObject_Vectorcall(method, args + 1, 1, NULL);
 2658|      0|            }
 2659|     90|            _Py_LeaveRecursiveCallTstate(tstate);
 2660|     90|        }
 2661|     90|        if (*res == NULL) {
  ------------------
  |  Branch (2661:13): [True: 0, False: 90]
  ------------------
 2662|      0|            found = -1;
 2663|      0|        }
 2664|     90|    }
 2665|     90|    PyStackRef_XCLOSE(self);
 2666|     90|    _PyThreadState_PopCStackRef(tstate, &cref);
 2667|     90|    return found;
 2668|     90|}
abstract.c:object_issubclass:
 2755|  18.0k|{
 2756|       |    /* We know what type's __subclasscheck__ does. */
 2757|  18.0k|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|  18.0k|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 17.9k, False: 88]
  |  |  ------------------
  ------------------
 2758|       |        /* Quick test for an exact match */
 2759|  17.9k|        if (derived == cls)
  ------------------
  |  Branch (2759:13): [True: 17.8k, False: 97]
  ------------------
 2760|  17.8k|            return 1;
 2761|     97|        return recursive_issubclass(derived, cls);
 2762|  17.9k|    }
 2763|       |
 2764|     88|    if (_PyUnion_Check(cls)) {
  ------------------
  |  |   15|     88|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|     88|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 88]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2765|      0|        cls = _Py_union_args(cls);
 2766|      0|    }
 2767|       |
 2768|     88|    if (PyTuple_Check(cls)) {
  ------------------
  |  |   27|     88|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     88|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 88]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|     88|    PyObject *res;
 2787|     88|    int found = call_special_method(tstate, cls, &_Py_ID(__subclasscheck__),
  ------------------
  |  |  951|     88|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     88|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     88|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2788|     88|                                    " in __subclasscheck__", derived, &res);
 2789|     88|    if (found > 0) {
  ------------------
  |  Branch (2789:9): [True: 88, False: 0]
  ------------------
 2790|     88|        int ok = PyObject_IsTrue(res);
 2791|     88|        Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2792|     88|        return ok;
 2793|     88|    }
 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|     88|}
abstract.c:object_isinstance:
 2605|    869|{
 2606|    869|    PyObject *icls;
 2607|    869|    int retval;
 2608|    869|    if (PyType_Check(cls)) {
  ------------------
  |  |  766|    869|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    869|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    869|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 869, False: 0]
  |  |  ------------------
  ------------------
 2609|    869|        retval = PyObject_TypeCheck(inst, (PyTypeObject *)cls);
  ------------------
  |  |  378|    869|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    869|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    869|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2610|    869|        if (retval == 0) {
  ------------------
  |  Branch (2610:13): [True: 774, False: 95]
  ------------------
 2611|    774|            retval = PyObject_GetOptionalAttr(inst, &_Py_ID(__class__), &icls);
  ------------------
  |  |  951|    774|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    774|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    774|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2612|    774|            if (icls != NULL) {
  ------------------
  |  Branch (2612:17): [True: 774, False: 0]
  ------------------
 2613|    774|                if (icls != (PyObject *)(Py_TYPE(inst)) && PyType_Check(icls)) {
  ------------------
  |  |  213|    774|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    774|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    774|#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: 774]
  ------------------
 2614|      0|                    retval = PyType_IsSubtype(
 2615|      0|                        (PyTypeObject *)icls,
 2616|      0|                        (PyTypeObject *)cls);
 2617|      0|                }
 2618|    774|                else {
 2619|    774|                    retval = 0;
 2620|    774|                }
 2621|    774|                Py_DECREF(icls);
  ------------------
  |  |  430|    774|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    774|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    774|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2622|    774|            }
 2623|    774|        }
 2624|    869|    }
 2625|      0|    else {
 2626|      0|        if (!check_class(cls,
  ------------------
  |  Branch (2626:13): [True: 0, False: 0]
  ------------------
 2627|      0|            "isinstance() arg 2 must be a type, a tuple of types, or a union"))
 2628|      0|            return -1;
 2629|      0|        retval = PyObject_GetOptionalAttr(inst, &_Py_ID(__class__), &icls);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2630|      0|        if (icls != NULL) {
  ------------------
  |  Branch (2630:13): [True: 0, False: 0]
  ------------------
 2631|      0|            retval = abstract_issubclass(icls, cls);
 2632|      0|            Py_DECREF(icls);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2633|      0|        }
 2634|      0|    }
 2635|       |
 2636|    869|    return retval;
 2637|    869|}
abstract.c:recursive_issubclass:
 2735|    850|{
 2736|    850|    if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|  1.70k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    850|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    850|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 850, False: 0]
  |  |  ------------------
  ------------------
                  if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|    850|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    850|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    850|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 850, False: 0]
  |  |  ------------------
  ------------------
 2737|       |        /* Fast path (non-recursive) */
 2738|    850|        return PyType_IsSubtype((PyTypeObject *)derived, (PyTypeObject *)cls);
 2739|    850|    }
 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.33k, False: 280]
  ------------------
 2889|  2.33k|        return 1;
 2890|  2.33k|    }
 2891|       |
 2892|    280|    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|    280|    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2895:9): [True: 280, False: 0]
  ------------------
 2896|    280|        return 0;
 2897|    280|    }
 2898|      0|    if (_PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) {
  ------------------
  |  Branch (2898:9): [True: 0, False: 0]
  ------------------
 2899|      0|        _PyErr_Clear(tstate);
 2900|      0|        return 0;
 2901|      0|    }
 2902|       |
 2903|       |    /* Error case: an exception (different than StopIteration) is set. */
 2904|      0|    return -1;
 2905|      0|}

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

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

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

PyBytes_FromStringAndSize:
  197|  16.8M|{
  198|  16.8M|    if (size < 0) {
  ------------------
  |  Branch (198:9): [True: 0, False: 16.8M]
  ------------------
  199|      0|        PyErr_SetString(PyExc_SystemError,
  200|      0|            "Negative size passed to PyBytes_FromStringAndSize");
  201|      0|        return NULL;
  202|      0|    }
  203|       |
  204|  16.8M|    if (str != NULL) {
  ------------------
  |  Branch (204:9): [True: 16.8M, False: 22]
  ------------------
  205|  16.8M|        return _PyBytes_FromStringAndSize(str, size);
  206|  16.8M|    }
  207|     22|    else {
  208|     22|        if (size == 0) {
  ------------------
  |  Branch (208:13): [True: 1, False: 21]
  ------------------
  209|      1|            return bytes_get_empty();
  210|      1|        }
  211|     21|        return bytes_alloc(size);
  212|     22|    }
  213|  16.8M|}
PyBytes_FromString:
  217|      6|{
  218|      6|    assert(str != NULL);
  ------------------
  |  Branch (218:5): [True: 6, False: 0]
  ------------------
  219|      6|    size_t size = strlen(str);
  220|      6|    if (size == 0) {
  ------------------
  |  Branch (220:9): [True: 0, False: 6]
  ------------------
  221|      0|        return bytes_get_empty();
  222|      0|    }
  223|      6|    if (size == 1) {
  ------------------
  |  Branch (223:9): [True: 0, False: 6]
  ------------------
  224|      0|        return bytes_get_char((uint8_t)str[0]);
  225|      0|    }
  226|       |
  227|      6|    PyBytesObject *op = (PyBytesObject *)bytes_alloc(size);
  228|      6|    if (op == NULL) {
  ------------------
  |  Branch (228:9): [True: 0, False: 6]
  ------------------
  229|      0|        return PyErr_NoMemory();
  230|      0|    }
  231|      6|    memcpy(op->ob_sval, str, size+1);
  232|      6|    return (PyObject *) op;
  233|      6|}
PyBytes_AsString:
 1398|     11|{
 1399|     11|    if (!PyBytes_Check(op)) {
  ------------------
  |  |   28|     11|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     11|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1399:9): [True: 0, False: 11]
  ------------------
 1400|      0|        PyErr_Format(PyExc_TypeError,
 1401|      0|             "expected bytes, %.200s found", Py_TYPE(op)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|      0|        return NULL;
 1403|      0|    }
 1404|     11|    return ((PyBytesObject *)op)->ob_sval;
 1405|     11|}
PyBytes_AsStringAndSize:
 1411|     10|{
 1412|     10|    if (s == NULL) {
  ------------------
  |  Branch (1412:9): [True: 0, False: 10]
  ------------------
 1413|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1414|      0|        return -1;
 1415|      0|    }
 1416|       |
 1417|     10|    if (!PyBytes_Check(obj)) {
  ------------------
  |  |   28|     10|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     10|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1417:9): [True: 0, False: 10]
  ------------------
 1418|      0|        PyErr_Format(PyExc_TypeError,
 1419|      0|             "expected bytes, %.200s found", Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1420|      0|        return -1;
 1421|      0|    }
 1422|       |
 1423|     10|    *s = PyBytes_AS_STRING(obj);
  ------------------
  |  |   27|     10|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|     10|    if (len != NULL)
  ------------------
  |  Branch (1424:9): [True: 0, False: 10]
  ------------------
 1425|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1426|     10|    else if (strlen(*s) != (size_t)PyBytes_GET_SIZE(obj)) {
  ------------------
  |  |   33|     10|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1426:14): [True: 0, False: 10]
  ------------------
 1427|      0|        PyErr_SetString(PyExc_ValueError,
 1428|      0|                        "embedded null byte");
 1429|      0|        return -1;
 1430|      0|    }
 1431|     10|    return 0;
 1432|     10|}
_PyBytes_Concat:
 1598|      1|{
 1599|      1|    Py_buffer va, vb;
 1600|      1|    PyObject *result = NULL;
 1601|       |
 1602|      1|    va.len = -1;
 1603|      1|    vb.len = -1;
 1604|      1|    if (PyObject_GetBuffer(a, &va, PyBUF_SIMPLE) != 0 ||
  ------------------
  |  |  108|      1|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1604:9): [True: 0, False: 1]
  ------------------
 1605|      1|        PyObject_GetBuffer(b, &vb, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      1|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1605:9): [True: 0, False: 1]
  ------------------
 1606|      0|        PyErr_Format(PyExc_TypeError, "can't concat %.100s to %.100s",
 1607|      0|                     Py_TYPE(b)->tp_name, Py_TYPE(a)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                   Py_TYPE(b)->tp_name, Py_TYPE(a)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1608|      0|        goto done;
 1609|      0|    }
 1610|       |
 1611|       |    /* Optimize end cases */
 1612|      1|    if (va.len == 0 && PyBytes_CheckExact(b)) {
  ------------------
  |  |   29|      0|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1612:9): [True: 0, False: 1]
  ------------------
 1613|      0|        result = Py_NewRef(b);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1614|      0|        goto done;
 1615|      0|    }
 1616|      1|    if (vb.len == 0 && PyBytes_CheckExact(a)) {
  ------------------
  |  |   29|      0|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1616:9): [True: 0, False: 1]
  ------------------
 1617|      0|        result = Py_NewRef(a);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1618|      0|        goto done;
 1619|      0|    }
 1620|       |
 1621|      1|    if (va.len > PY_SSIZE_T_MAX - vb.len) {
  ------------------
  |  |  137|      1|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1621:9): [True: 0, False: 1]
  ------------------
 1622|      0|        PyErr_NoMemory();
 1623|      0|        goto done;
 1624|      0|    }
 1625|       |
 1626|      1|    if ((va.len + vb.len) != 0) {
  ------------------
  |  Branch (1626:9): [True: 1, False: 0]
  ------------------
 1627|      1|        result = bytes_alloc(va.len + vb.len);
 1628|      1|        if (result != NULL) {
  ------------------
  |  Branch (1628:13): [True: 1, False: 0]
  ------------------
 1629|      1|            memcpy(PyBytes_AS_STRING(result), va.buf, va.len);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1630|      1|            memcpy(PyBytes_AS_STRING(result) + va.len, vb.buf, vb.len);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1631|      1|        }
 1632|      1|    }
 1633|      0|    else {
 1634|      0|        result = bytes_get_empty();
 1635|      0|    }
 1636|       |
 1637|      1|  done:
 1638|      1|    if (va.len != -1)
  ------------------
  |  Branch (1638:9): [True: 1, False: 0]
  ------------------
 1639|      1|        PyBuffer_Release(&va);
 1640|      1|    if (vb.len != -1)
  ------------------
  |  Branch (1640:9): [True: 1, False: 0]
  ------------------
 1641|      1|        PyBuffer_Release(&vb);
 1642|      1|    return result;
 1643|      1|}
_PyBytes_IsMutable:
 3395|  13.3k|{
 3396|  13.3k|    assert(PyBytes_Check(self));
  ------------------
  |  Branch (3396:5): [True: 13.3k, False: 0]
  ------------------
 3397|       |    // Do not use _PyObject_IsUniquelyReferenced(): this function is called
 3398|       |    // by bytearray and PyBytesWriter which can be used by multiple threads.
 3399|  13.3k|    assert(Py_REFCNT(self) == 1);
  ------------------
  |  Branch (3399:5): [True: 13.3k, False: 0]
  ------------------
 3400|  13.3k|    assert(!_Py_IsImmortal(self));
  ------------------
  |  Branch (3400:5): [True: 13.3k, False: 0]
  ------------------
 3401|       |
 3402|       |    // Check that the object is not a singleton
 3403|  13.3k|    Py_ssize_t size = PyBytes_GET_SIZE(self);
  ------------------
  |  |   33|  13.3k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3404|  13.3k|    if (size == 0) {
  ------------------
  |  Branch (3404:9): [True: 0, False: 13.3k]
  ------------------
 3405|      0|        assert(self != bytes_get_empty());
  ------------------
  |  Branch (3405:9): [True: 0, False: 0]
  ------------------
 3406|      0|    }
 3407|  13.3k|    else if (size == 1) {
  ------------------
  |  Branch (3407:14): [True: 0, False: 13.3k]
  ------------------
 3408|      0|        unsigned char ch = PyBytes_AS_STRING(self)[0];
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3409|      0|        assert(self != (PyObject*)CHARACTER(ch));
  ------------------
  |  Branch (3409:9): [True: 0, False: 0]
  ------------------
 3410|      0|    }
 3411|       |
 3412|       |    // gh-158219: The hash value must not be cached yet. Otherwise, it means
 3413|       |    // that the bytes object was already used in Python somehow (ex: as a
 3414|       |    // dictionary key).
 3415|  13.3k|    assert(get_ob_shash((PyBytesObject *)self) == -1);
  ------------------
  |  Branch (3415:5): [True: 13.3k, False: 0]
  ------------------
 3416|       |
 3417|  13.3k|    return 1;
 3418|  13.3k|}
_PyBytes_ResizeKeepOnError:
 3484|      2|{
 3485|      2|    PyObject *v = *pv;
 3486|       |
 3487|      2|    if (!PyBytes_Check(v) || newsize < 0) {
  ------------------
  |  |   28|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3487:9): [True: 0, False: 2]
  |  Branch (3487:30): [True: 0, False: 2]
  ------------------
 3488|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3489|      0|        return -1;
 3490|      0|    }
 3491|       |
 3492|      2|    Py_ssize_t oldsize = PyBytes_GET_SIZE(v);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3493|      2|    if (oldsize == newsize) {
  ------------------
  |  Branch (3493:9): [True: 0, False: 2]
  ------------------
 3494|       |        // Leave the object unchanged if the new size is the same as the old
 3495|       |        // size, even if the object is not uniquely referenced or if the hash
 3496|       |        // value was already computed.
 3497|      0|        return 0;
 3498|      0|    }
 3499|       |
 3500|      2|    if (oldsize == 0) {
  ------------------
  |  Branch (3500:9): [True: 2, False: 0]
  ------------------
 3501|      2|        assert(newsize >= 1);
  ------------------
  |  Branch (3501:9): [True: 2, False: 0]
  ------------------
 3502|      2|        PyObject *result = bytes_alloc(newsize);
 3503|      2|        if (result == NULL) {
  ------------------
  |  Branch (3503:13): [True: 0, False: 2]
  ------------------
 3504|      0|            return -1;
 3505|      0|        }
 3506|      2|        *pv = result;
 3507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3508|      2|        assert(_PyBytes_IsMutable(*pv));
  ------------------
  |  Branch (3508:9): [True: 2, False: 0]
  ------------------
 3509|      2|        return 0;
 3510|      2|    }
 3511|       |
 3512|      0|    if (newsize == 0) {
  ------------------
  |  Branch (3512:9): [True: 0, False: 0]
  ------------------
 3513|      0|        *pv = bytes_get_empty();  // cannot fail
 3514|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3515|      0|        return 0;
 3516|      0|    }
 3517|       |
 3518|      0|    if (!_PyObject_IsUniquelyReferenced(v)
  ------------------
  |  Branch (3518:9): [True: 0, False: 0]
  ------------------
 3519|       |        // Return a copy if the hash value was already computed
 3520|      0|        || get_ob_shash((PyBytesObject *)v) != -1)
  ------------------
  |  |   92|      0|#define get_ob_shash(op) _PyBytes_GET_CACHED_HASH(op)
  ------------------
  |  Branch (3520:12): [True: 0, False: 0]
  ------------------
 3521|      0|    {
 3522|       |        // Allocate and then copy so we don't get a shared immortal
 3523|       |        // one-character singleton!
 3524|      0|        PyObject *result = bytes_alloc(newsize);
 3525|      0|        if (!result) {
  ------------------
  |  Branch (3525:13): [True: 0, False: 0]
  ------------------
 3526|      0|            return -1;
 3527|      0|        }
 3528|       |
 3529|      0|        memcpy(PyBytes_AS_STRING(result), PyBytes_AS_STRING(v),
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      memcpy(PyBytes_AS_STRING(result), PyBytes_AS_STRING(v),
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3530|      0|               Py_MIN(oldsize, newsize));
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3531|      0|        *pv = result;
 3532|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3533|      0|        assert(_PyBytes_IsMutable(*pv));
  ------------------
  |  Branch (3533:9): [True: 0, False: 0]
  ------------------
 3534|      0|        return 0;
 3535|      0|    }
 3536|       |
 3537|      0|    return bytes_resize_inplace(pv, newsize);
 3538|      0|}
PyBytesWriter_Create:
 3957|  7.09k|{
 3958|  7.09k|    return byteswriter_create(size, 0);
 3959|  7.09k|}
PyBytesWriter_Discard:
 3970|      6|{
 3971|      6|    if (writer == NULL) {
  ------------------
  |  Branch (3971:9): [True: 6, False: 0]
  ------------------
 3972|      6|        return;
 3973|      6|    }
 3974|       |
 3975|      6|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3975:5): [True: 0, False: 0]
  ------------------
 3976|      0|    if (writer->obj != NULL) {
  ------------------
  |  Branch (3976:9): [True: 0, False: 0]
  ------------------
 3977|       |#ifdef Py_DEBUG
 3978|       |        byteswriter_reset_trailing_byte(writer);
 3979|       |#endif
 3980|      0|        Py_DECREF(writer->obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3981|      0|    }
 3982|      0|    _Py_FREELIST_FREE(bytes_writers, writer, PyMem_Free);
  ------------------
  |  |   35|      0|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|      0|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   30|      0|#  define Py_bytes_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
 3983|      0|}
PyBytesWriter_FinishWithSize:
 4061|    155|{
 4062|    155|    if (size < 0) {
  ------------------
  |  Branch (4062:9): [True: 0, False: 155]
  ------------------
 4063|      0|        PyErr_Format(PyExc_ValueError, "size must be positive");
 4064|      0|        goto error;
 4065|      0|    }
 4066|    155|    if (size > writer->size) {
  ------------------
  |  Branch (4066:9): [True: 0, False: 155]
  ------------------
 4067|      0|        PyErr_SetString(PyExc_ValueError, "size larger than allocated size");
 4068|      0|        goto error;
 4069|      0|    }
 4070|    155|    return byteswriter_finish_with_size(writer, size);
 4071|       |
 4072|      0|error:
 4073|      0|    PyBytesWriter_Discard(writer);
 4074|       |    return NULL;
 4075|    155|}
PyBytesWriter_Finish:
 4079|  6.93k|{
 4080|  6.93k|    return byteswriter_finish_with_size(writer, writer->size);
 4081|  6.93k|}
PyBytesWriter_FinishWithPointer:
 4086|     54|{
 4087|     54|    Py_ssize_t size = (char*)buf - _PyBytesWriter_GetData(writer);
 4088|       |    // Call PyBytesWriter_FinishWithSize() to check size
 4089|     54|    return PyBytesWriter_FinishWithSize(writer, size);
 4090|     54|}
PyBytesWriter_GetData:
 4095|  7.21k|{
 4096|  7.21k|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4096:5): [True: 7.21k, False: 0]
  ------------------
 4097|       |
 4098|  7.21k|    return _PyBytesWriter_GetData(writer);
 4099|  7.21k|}
PyBytesWriter_GetSize:
 4104|     75|{
 4105|     75|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4105:5): [True: 75, False: 0]
  ------------------
 4106|       |
 4107|     75|    return _PyBytesWriter_GetSize(writer);
 4108|     75|}
PyBytesWriter_Resize:
 4113|      1|{
 4114|      1|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4114:5): [True: 1, False: 0]
  ------------------
 4115|       |
 4116|      1|    if (new_size < 0) {
  ------------------
  |  Branch (4116:9): [True: 0, False: 1]
  ------------------
 4117|      0|        PyErr_SetString(PyExc_ValueError, "size must be >= 0");
 4118|      0|        return -1;
 4119|      0|    }
 4120|      1|    if (writer->size < new_size) {
  ------------------
  |  Branch (4120:9): [True: 1, False: 0]
  ------------------
 4121|      1|        if (byteswriter_resize(writer, new_size, 1) < 0) {
  ------------------
  |  Branch (4121:13): [True: 0, False: 1]
  ------------------
 4122|      0|            return -1;
 4123|      0|        }
 4124|      1|    }
 4125|      0|    else {
 4126|       |        // The buffer is already large enough. Never shrink the buffer.
 4127|      0|    }
 4128|       |
 4129|      1|    writer->size = new_size;
 4130|       |#ifdef Py_DEBUG
 4131|       |    byteswriter_write_canary_byte(writer);
 4132|       |#endif
 4133|      1|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4133:5): [True: 1, False: 0]
  ------------------
 4134|      1|    return 0;
 4135|      1|}
bytesobject.c:_PyBytes_FromStringAndSize:
  176|  16.8M|{
  177|  16.8M|    assert(str != NULL);
  ------------------
  |  Branch (177:5): [True: 16.8M, False: 0]
  ------------------
  178|  16.8M|    assert(size >= 0);
  ------------------
  |  Branch (178:5): [True: 16.8M, False: 0]
  ------------------
  179|       |
  180|  16.8M|    if (size == 0) {
  ------------------
  |  Branch (180:9): [True: 299, False: 16.8M]
  ------------------
  181|    299|        return bytes_get_empty();
  182|    299|    }
  183|  16.8M|    if (size == 1) {
  ------------------
  |  Branch (183:9): [True: 12.3M, False: 4.55M]
  ------------------
  184|  12.3M|        return bytes_get_char((uint8_t)str[0]);
  185|  12.3M|    }
  186|       |
  187|  4.55M|    PyBytesObject *op = (PyBytesObject *)bytes_alloc(size);
  188|  4.55M|    if (op == NULL) {
  ------------------
  |  Branch (188:9): [True: 0, False: 4.55M]
  ------------------
  189|      0|        return NULL;
  190|      0|    }
  191|  4.55M|    memcpy(op->ob_sval, str, size);
  192|  4.55M|    return (PyObject *) op;
  193|  4.55M|}
bytesobject.c:bytes_get_empty:
   47|    356|{
   48|    356|    PyObject *empty = &EMPTY->ob_base.ob_base;
  ------------------
  |  |   41|    356|#define EMPTY (&_Py_SINGLETON(bytes_empty))
  |  |  ------------------
  |  |  |  |   18|    356|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    356|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|    356|    assert(_Py_IsImmortal(empty));
  ------------------
  |  Branch (49:5): [True: 356, False: 0]
  ------------------
   50|    356|    return empty;
   51|    356|}
bytesobject.c:bytes_alloc:
  122|  4.55M|{
  123|  4.55M|    assert(size >= 1);
  ------------------
  |  Branch (123:5): [True: 4.55M, False: 0]
  ------------------
  124|       |
  125|  4.55M|    if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|  4.55M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   30|  4.55M|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|  4.55M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (125:9): [True: 0, False: 4.55M]
  ------------------
  126|      0|        PyErr_SetString(PyExc_OverflowError,
  127|      0|                        "byte string is too large");
  128|      0|        return NULL;
  129|      0|    }
  130|  4.55M|    size_t alloc = PyBytesObject_SIZE + size;
  ------------------
  |  |   30|  4.55M|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|  4.55M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  131|       |
  132|       |    /* Inline PyObject_NewVar */
  133|  4.55M|    PyBytesObject *op = (PyBytesObject *)PyObject_Malloc(alloc);
  134|  4.55M|    if (op == NULL) {
  ------------------
  |  Branch (134:9): [True: 0, False: 4.55M]
  ------------------
  135|      0|        return PyErr_NoMemory();
  136|      0|    }
  137|       |
  138|  4.55M|    _PyObject_InitVar(_PyVarObject_CAST(op), &PyBytes_Type, size);
  ------------------
  |  |  182|  4.55M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  139|  4.55M|    set_ob_shash_unsafe(op, -1);
  140|  4.55M|    op->ob_sval[size] = '\0';
  141|  4.55M|    return (PyObject *) op;
  142|  4.55M|}
bytesobject.c:set_ob_shash_unsafe:
   81|  4.55M|{
   82|       |    // Don't test _PyObject_IsUniquelyReferenced(), so the function can be
   83|       |    // called by bytes_resize_inplace().
   84|  4.55M|    assert(Py_REFCNT(a) == 1);
  ------------------
  |  Branch (84:5): [True: 4.55M, False: 0]
  ------------------
   85|       |
   86|  4.55M|_Py_COMP_DIAG_PUSH
   87|  4.55M|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   88|  4.55M|    a->ob_shash = hash;
   89|  4.55M|_Py_COMP_DIAG_POP
   90|  4.55M|}
bytesobject.c:bytes_get_char:
   57|  12.3M|{
   58|  12.3M|    PyObject *obj = (PyObject*)CHARACTER(ch);
  ------------------
  |  |   40|  12.3M|     ((PyBytesObject *)&(CHARACTERS[ch]))
  |  |  ------------------
  |  |  |  |   38|  12.3M|#define CHARACTERS _Py_SINGLETON(bytes_characters)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  12.3M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  12.3M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   59|  12.3M|    assert(_Py_IsImmortal(obj));
  ------------------
  |  Branch (59:5): [True: 12.3M, False: 0]
  ------------------
   60|  12.3M|    return obj;
   61|  12.3M|}
bytesobject.c:byteswriter_allocated:
 3748|  3.25k|{
 3749|  3.25k|    if (writer->obj == NULL) {
  ------------------
  |  Branch (3749:9): [True: 3.25k, False: 0]
  ------------------
 3750|       |        // Reserve the last byte for the canary byte
 3751|  3.25k|        return sizeof(writer->small_buffer) - 1;
 3752|  3.25k|    }
 3753|      0|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3753:14): [True: 0, False: 0]
  ------------------
 3754|      0|        return PyByteArray_GET_SIZE(writer->obj);
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3755|      0|    }
 3756|      0|    else {
 3757|      0|        return PyBytes_GET_SIZE(writer->obj);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3758|      0|    }
 3759|  3.25k|}
bytesobject.c:bytes_length:
 1590|    380|{
 1591|    380|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|    380|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1591:24): [True: 380, False: 0]
  ------------------
 1592|    380|    return Py_SIZE(a);
  ------------------
  |  |  214|    380|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1593|    380|}
bytesobject.c:bytes_subscript:
 1790|    381|{
 1791|    381|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    381|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    381|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1791:27): [True: 381, False: 0]
  ------------------
 1792|    381|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (1792:9): [True: 0, False: 381]
  ------------------
 1793|      0|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 1794|      0|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1794:13): [True: 0, False: 0]
  |  Branch (1794:24): [True: 0, False: 0]
  ------------------
 1795|      0|            return NULL;
 1796|      0|        if (i < 0)
  ------------------
  |  Branch (1796:13): [True: 0, False: 0]
  ------------------
 1797|      0|            i += PyBytes_GET_SIZE(self);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1798|      0|        if (i < 0 || i >= PyBytes_GET_SIZE(self)) {
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1798:13): [True: 0, False: 0]
  |  Branch (1798:22): [True: 0, False: 0]
  ------------------
 1799|      0|            PyErr_SetString(PyExc_IndexError,
 1800|      0|                            "index out of range");
 1801|      0|            return NULL;
 1802|      0|        }
 1803|      0|        return _PyLong_FromUnsignedChar((unsigned char)self->ob_sval[i]);
 1804|      0|    }
 1805|    381|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|    381|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|    381|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    381|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    381|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 381, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1806|    381|        Py_ssize_t start, stop, step, slicelength, i;
 1807|    381|        size_t cur;
 1808|    381|        const char* source_buf;
 1809|    381|        char* result_buf;
 1810|       |
 1811|    381|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (1811:13): [True: 0, False: 381]
  ------------------
 1812|      0|            return NULL;
 1813|      0|        }
 1814|    381|        slicelength = PySlice_AdjustIndices(PyBytes_GET_SIZE(self), &start,
  ------------------
  |  |   33|    381|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    381|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    381|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1815|    381|                                            &stop, step);
 1816|       |
 1817|    381|        if (slicelength <= 0) {
  ------------------
  |  Branch (1817:13): [True: 0, False: 381]
  ------------------
 1818|      0|            return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 1819|      0|        }
 1820|    381|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (1820:18): [True: 96, False: 285]
  |  Branch (1820:32): [True: 96, False: 0]
  ------------------
 1821|     96|                 slicelength == PyBytes_GET_SIZE(self) &&
  ------------------
  |  |   33|    477|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1821:18): [True: 0, False: 96]
  ------------------
 1822|      0|                 PyBytes_CheckExact(self)) {
  ------------------
  |  |   29|      0|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1823|      0|            return Py_NewRef(self);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1824|      0|        }
 1825|    381|        else if (step == 1) {
  ------------------
  |  Branch (1825:18): [True: 381, False: 0]
  ------------------
 1826|    381|            return _PyBytes_FromStringAndSize(
 1827|    381|                PyBytes_AS_STRING(self) + start,
  ------------------
  |  |   27|    381|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    381|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    381|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1828|    381|                slicelength);
 1829|    381|        }
 1830|      0|        else {
 1831|      0|            source_buf = PyBytes_AS_STRING(self);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1832|      0|            PyObject* result = bytes_alloc(slicelength);
 1833|      0|            if (result == NULL) {
  ------------------
  |  Branch (1833:17): [True: 0, False: 0]
  ------------------
 1834|      0|                return NULL;
 1835|      0|            }
 1836|       |
 1837|      0|            result_buf = PyBytes_AS_STRING(result);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1838|      0|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (1838:38): [True: 0, False: 0]
  ------------------
 1839|      0|                 cur += step, i++) {
 1840|      0|                result_buf[i] = source_buf[cur];
 1841|      0|            }
 1842|      0|            return result;
 1843|      0|        }
 1844|    381|    }
 1845|      0|    else {
 1846|      0|        PyErr_Format(PyExc_TypeError,
 1847|      0|                     "byte indices must be integers or slices, not %.200s",
 1848|      0|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1849|       |        return NULL;
 1850|      0|    }
 1851|    381|}
bytesobject.c:bytes_hash:
 1777|  16.8M|{
 1778|  16.8M|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|  16.8M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  16.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1778:24): [True: 16.8M, False: 0]
  ------------------
 1779|  16.8M|    Py_hash_t hash = get_ob_shash(a);
  ------------------
  |  |   92|  16.8M|#define get_ob_shash(op) _PyBytes_GET_CACHED_HASH(op)
  ------------------
 1780|  16.8M|    if (hash == -1) {
  ------------------
  |  Branch (1780:9): [True: 4.52M, False: 12.3M]
  ------------------
 1781|       |        /* Can't fail */
 1782|  4.52M|        hash = Py_HashBuffer(a->ob_sval, Py_SIZE(a));
  ------------------
  |  |  214|  4.52M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1783|  4.52M|        set_ob_shash(a, hash);
 1784|  4.52M|    }
 1785|  16.8M|    return hash;
 1786|  16.8M|}
bytesobject.c:set_ob_shash:
   66|  4.52M|{
   67|  4.52M|_Py_COMP_DIAG_PUSH
   68|  4.52M|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   69|       |#ifdef Py_GIL_DISABLED
   70|       |    _Py_atomic_store_ssize_relaxed(&a->ob_shash, hash);
   71|       |#else
   72|  4.52M|    a->ob_shash = hash;
   73|  4.52M|#endif
   74|  4.52M|_Py_COMP_DIAG_POP
   75|  4.52M|}
bytesobject.c:bytes_buffer_getbuffer:
 1855|    175|{
 1856|    175|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    175|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1856:27): [True: 175, False: 0]
  ------------------
 1857|    175|    return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self),
  ------------------
  |  |  214|    175|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    175|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1858|    175|                             1, flags);
 1859|    175|}
bytesobject.c:bytes_richcompare:
 1714|  4.50M|{
 1715|       |    /* Make sure both arguments are strings. */
 1716|  4.50M|    if (!(PyBytes_Check(aa) && PyBytes_Check(bb))) {
  ------------------
  |  |   28|  4.50M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.00M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4.50M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!(PyBytes_Check(aa) && PyBytes_Check(bb))) {
  ------------------
  |  |   28|  4.50M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.50M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4.50M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|      0|        if (_Py_GetConfig()->bytes_warning && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
                      if (_Py_GetConfig()->bytes_warning && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1717:13): [True: 0, False: 0]
  |  Branch (1717:48): [True: 0, False: 0]
  |  Branch (1717:63): [True: 0, False: 0]
  ------------------
 1718|      0|            if (PyUnicode_Check(aa) || PyUnicode_Check(bb)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyUnicode_Check(aa) || PyUnicode_Check(bb)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1719|      0|                if (PyErr_WarnEx(PyExc_BytesWarning,
  ------------------
  |  Branch (1719:21): [True: 0, False: 0]
  ------------------
 1720|      0|                                 "Comparison between bytes and string", 1))
 1721|      0|                    return NULL;
 1722|      0|            }
 1723|      0|            if (PyLong_Check(aa) || PyLong_Check(bb)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyLong_Check(aa) || PyLong_Check(bb)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1724|      0|                if (PyErr_WarnEx(PyExc_BytesWarning,
  ------------------
  |  Branch (1724:21): [True: 0, False: 0]
  ------------------
 1725|      0|                                 "Comparison between bytes and int", 1))
 1726|      0|                    return NULL;
 1727|      0|            }
 1728|      0|        }
 1729|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1730|      0|    }
 1731|       |
 1732|  4.50M|    PyBytesObject *a = _PyBytes_CAST(aa);
  ------------------
  |  |   21|  4.50M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  4.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1732:24): [True: 4.50M, False: 0]
  ------------------
 1733|  4.50M|    PyBytesObject *b = _PyBytes_CAST(bb);
  ------------------
  |  |   21|  4.50M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  4.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1733:24): [True: 4.50M, False: 0]
  ------------------
 1734|  4.50M|    if (a == b) {
  ------------------
  |  Branch (1734:9): [True: 0, False: 4.50M]
  ------------------
 1735|      0|        switch (op) {
 1736|      0|        case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (1736:9): [True: 0, False: 0]
  ------------------
 1737|      0|        case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (1737:9): [True: 0, False: 0]
  ------------------
 1738|      0|        case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (1738:9): [True: 0, False: 0]
  ------------------
 1739|       |            /* a byte string is equal to itself */
 1740|      0|            Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1741|      0|        case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1741:9): [True: 0, False: 0]
  ------------------
 1742|      0|        case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (1742:9): [True: 0, False: 0]
  ------------------
 1743|      0|        case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (1743:9): [True: 0, False: 0]
  ------------------
 1744|      0|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1745|      0|        default:
  ------------------
  |  Branch (1745:9): [True: 0, False: 0]
  ------------------
 1746|      0|            PyErr_BadArgument();
 1747|      0|            return NULL;
 1748|      0|        }
 1749|      0|    }
 1750|  4.50M|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|  9.00M|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|     95|#define Py_NE 3
  ------------------
  |  Branch (1750:14): [True: 4.50M, False: 95]
  |  Branch (1750:29): [True: 95, False: 0]
  ------------------
 1751|  4.50M|        int eq = bytes_compare_eq(a, b);
 1752|  4.50M|        eq ^= (op == Py_NE);
  ------------------
  |  |  655|  4.50M|#define Py_NE 3
  ------------------
 1753|  4.50M|        return PyBool_FromLong(eq);
 1754|  4.50M|    }
 1755|      0|    else {
 1756|      0|        Py_ssize_t len_a = Py_SIZE(a);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1757|      0|        Py_ssize_t len_b = Py_SIZE(b);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1758|      0|        Py_ssize_t min_len = Py_MIN(len_a, len_b);
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1759|      0|        int c;
 1760|      0|        if (min_len > 0) {
  ------------------
  |  Branch (1760:13): [True: 0, False: 0]
  ------------------
 1761|      0|            c = Py_CHARMASK(*a->ob_sval) - Py_CHARMASK(*b->ob_sval);
  ------------------
  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
                          c = Py_CHARMASK(*a->ob_sval) - Py_CHARMASK(*b->ob_sval);
  ------------------
  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1762|      0|            if (c == 0)
  ------------------
  |  Branch (1762:17): [True: 0, False: 0]
  ------------------
 1763|      0|                c = memcmp(a->ob_sval, b->ob_sval, min_len);
 1764|      0|        }
 1765|      0|        else {
 1766|      0|            c = 0;
 1767|      0|        }
 1768|      0|        if (c != 0) {
  ------------------
  |  Branch (1768:13): [True: 0, False: 0]
  ------------------
 1769|      0|            Py_RETURN_RICHCOMPARE(c, 0, op);
  ------------------
  |  |  674|      0|    do {                                                                    \
  |  |  675|      0|        switch (op) {                                                       \
  |  |  676|      0|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|      0|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 0, False: 0]
  |  |  |  Branch (676:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  677|      0|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|      0|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 0, False: 0]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|      0|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|      0|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 0, False: 0]
  |  |  |  Branch (678:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  679|      0|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|      0|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 0, False: 0]
  |  |  |  Branch (679:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  680|      0|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|      0|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 0, False: 0]
  |  |  |  Branch (680:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  681|      0|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      0|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 0, False: 0]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      0|        }                                                                   \
  |  |  685|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1770|      0|        }
 1771|      0|        Py_RETURN_RICHCOMPARE(len_a, len_b, op);
  ------------------
  |  |  674|      0|    do {                                                                    \
  |  |  675|      0|        switch (op) {                                                       \
  |  |  676|      0|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|      0|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 0, False: 0]
  |  |  |  Branch (676:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  677|      0|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|      0|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 0, False: 0]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|      0|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|      0|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 0, False: 0]
  |  |  |  Branch (678:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  679|      0|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|      0|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 0, False: 0]
  |  |  |  Branch (679:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  680|      0|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|      0|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 0, False: 0]
  |  |  |  Branch (680:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  681|      0|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      0|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 0, False: 0]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      0|        }                                                                   \
  |  |  685|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1772|      0|    }
 1773|  4.50M|}
bytesobject.c:bytes_compare_eq:
 1697|  4.50M|{
 1698|  4.50M|    int cmp;
 1699|  4.50M|    Py_ssize_t len;
 1700|       |
 1701|  4.50M|    len = Py_SIZE(a);
  ------------------
  |  |  214|  4.50M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1702|  4.50M|    if (Py_SIZE(b) != len)
  ------------------
  |  |  214|  4.50M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1702:9): [True: 0, False: 4.50M]
  ------------------
 1703|      0|        return 0;
 1704|       |
 1705|  4.50M|    if (a->ob_sval[0] != b->ob_sval[0])
  ------------------
  |  Branch (1705:9): [True: 0, False: 4.50M]
  ------------------
 1706|      0|        return 0;
 1707|       |
 1708|  4.50M|    cmp = memcmp(a->ob_sval, b->ob_sval, len);
 1709|  4.50M|    return (cmp == 0);
 1710|  4.50M|}
bytesobject.c:bytes_decode_impl:
 2642|      2|{
 2643|      2|    return PyUnicode_FromEncodedObject((PyObject*)self, encoding, errors);
 2644|      2|}
bytesobject.c:bytes_replace_impl:
 2487|     38|{
 2488|     38|    return stringlib_replace((PyObject *)self,
 2489|     38|                             (const char *)old->buf, old->len,
 2490|     38|                             (const char *)new->buf, new->len, count);
 2491|     38|}
bytesobject.c:bytes_iteritem:
 3246|     25|{
 3247|     25|    PyBytesObject *a = _PyBytes_CAST(obj);
  ------------------
  |  |   21|     25|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3247:24): [True: 25, False: 0]
  ------------------
 3248|     25|    if (index >= Py_SIZE(a)) {
  ------------------
  |  |  214|     25|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3248:9): [True: 1, False: 24]
  ------------------
 3249|      1|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
 3250|      1|    }
 3251|     24|    PyObject *l = _PyLong_FromUnsignedChar((unsigned char)a->ob_sval[index]);
 3252|     24|    return (_PyObjectIndexPair) { .object = l, .index = index + 1 };
 3253|     25|}
bytesobject.c:bytes_resize_inplace:
 3424|     94|{
 3425|     94|    PyObject *v = *pv;
 3426|       |    // Do not test _PyObject_IsUniquelyReferenced(). The function is used by
 3427|       |    // PyBytesWriter_FinishWithSize() and its caller can have its own lock.
 3428|     94|    assert(Py_REFCNT(v) == 1);
  ------------------
  |  Branch (3428:5): [True: 94, False: 0]
  ------------------
 3429|     94|    assert(PyBytes_GET_SIZE(v) >= 1);
  ------------------
  |  Branch (3429:5): [True: 94, False: 0]
  ------------------
 3430|     94|    assert(newsize >= 1);
  ------------------
  |  Branch (3430:5): [True: 94, False: 0]
  ------------------
 3431|     94|    assert(get_ob_shash((PyBytesObject *)v) == -1);
  ------------------
  |  Branch (3431:5): [True: 94, False: 0]
  ------------------
 3432|       |
 3433|       |    // Only mutable bytes can be resized in-place
 3434|     94|    assert(_PyBytes_IsMutable(v));
  ------------------
  |  Branch (3434:5): [True: 94, False: 0]
  ------------------
 3435|       |
 3436|     94|    if ((size_t)newsize > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|     94|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if ((size_t)newsize > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   30|     94|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|     94|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (3436:9): [True: 0, False: 94]
  ------------------
 3437|      0|        PyErr_SetString(PyExc_OverflowError,
 3438|      0|                        "byte string is too large");
 3439|      0|        return -1;
 3440|      0|    }
 3441|       |
 3442|       |#ifdef Py_TRACE_REFS
 3443|       |    _Py_ForgetReference(v);
 3444|       |#endif
 3445|     94|    _PyReftracerTrack(v, PyRefTracer_DESTROY);
  ------------------
  |  |  109|     94|    do { \
  |  |  110|     94|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|     94|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 94]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|     94|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 94]
  |  |  ------------------
  ------------------
 3446|       |
 3447|     94|    PyObject *result = PyObject_Realloc(v, PyBytesObject_SIZE + newsize);
  ------------------
  |  |   30|     94|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|     94|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
 3448|     94|    if (result == NULL) {
  ------------------
  |  Branch (3448:9): [True: 0, False: 94]
  ------------------
 3449|       |#ifdef Py_TRACE_REFS
 3450|       |        _Py_AddToAllObjects(v);
 3451|       |#endif
 3452|      0|        _PyReftracerTrack(v, PyRefTracer_CREATE);
  ------------------
  |  |  109|      0|    do { \
  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3453|       |
 3454|      0|        PyErr_NoMemory();
 3455|      0|        return -1;
 3456|      0|    }
 3457|       |
 3458|     94|    *pv = result;
 3459|     94|    v = result;
 3460|     94|    _Py_NewReferenceNoTotal(v);
 3461|     94|    PyBytesObject *sv = (PyBytesObject *)v;
 3462|     94|    Py_SET_SIZE(sv, newsize);
  ------------------
  |  |  216|     94|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     94|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3463|     94|    sv->ob_sval[newsize] = '\0';
 3464|     94|    assert(_PyBytes_IsMutable(*pv));
  ------------------
  |  Branch (3464:5): [True: 94, False: 0]
  ------------------
 3465|     94|    return 0;
 3466|     94|}
bytesobject.c:striter_dealloc:
 3566|      2|{
 3567|      2|    striterobject *it = _striterobject_CAST(op);
  ------------------
  |  | 3562|      2|#define _striterobject_CAST(op)  ((striterobject *)(op))
  ------------------
 3568|      2|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  504|      2|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3569|      2|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3570|      2|    PyObject_GC_Del(it);
 3571|      2|}
bytesobject.c:bytes_iter:
 3695|      2|{
 3696|      2|    striterobject *it;
 3697|       |
 3698|      2|    if (!PyBytes_Check(seq)) {
  ------------------
  |  |   28|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3698:9): [True: 0, False: 2]
  ------------------
 3699|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3700|      0|        return NULL;
 3701|      0|    }
 3702|      2|    it = PyObject_GC_New(striterobject, &PyBytesIter_Type);
  ------------------
  |  |  181|      2|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3703|      2|    if (it == NULL)
  ------------------
  |  Branch (3703:9): [True: 0, False: 2]
  ------------------
 3704|      0|        return NULL;
 3705|      2|    it->it_index = 0;
 3706|      2|    it->it_seq = (PyBytesObject *)Py_NewRef(seq);
  ------------------
  |  |  647|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3707|      2|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  502|      2|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3708|      2|    return (PyObject *)it;
 3709|      2|}
bytesobject.c:byteswriter_create:
 3914|  7.09k|{
 3915|  7.09k|    if (size < 0) {
  ------------------
  |  Branch (3915:9): [True: 0, False: 7.09k]
  ------------------
 3916|      0|        PyErr_SetString(PyExc_ValueError, "size must be >= 0");
 3917|      0|        return NULL;
 3918|      0|    }
 3919|       |
 3920|  7.09k|    PyBytesWriter *writer = _Py_FREELIST_POP_MEM(bytes_writers);
  ------------------
  |  |   48|  7.09k|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
 3921|  7.09k|    if (writer == NULL) {
  ------------------
  |  Branch (3921:9): [True: 38, False: 7.05k]
  ------------------
 3922|     38|        writer = (PyBytesWriter *)PyMem_Malloc(sizeof(PyBytesWriter));
 3923|     38|        if (writer == NULL) {
  ------------------
  |  Branch (3923:13): [True: 0, False: 38]
  ------------------
 3924|      0|            PyErr_NoMemory();
 3925|      0|            return NULL;
 3926|      0|        }
 3927|     38|    }
 3928|  7.09k|    writer->obj = NULL;
 3929|  7.09k|    writer->size = size;
 3930|  7.09k|    writer->use_bytearray = use_bytearray;
 3931|  7.09k|    writer->overallocate = !use_bytearray;
 3932|       |
 3933|  7.09k|    Py_ssize_t allocated = sizeof(writer->small_buffer) - 1;
 3934|  7.09k|    if (size > allocated) {
  ------------------
  |  Branch (3934:9): [True: 3.25k, False: 3.84k]
  ------------------
 3935|  3.25k|        if (byteswriter_resize(writer, size, 0) < 0) {
  ------------------
  |  Branch (3935:13): [True: 0, False: 3.25k]
  ------------------
 3936|       |#ifdef Py_DEBUG
 3937|       |            // Write the canary byte so byteswriter_check_consistency()
 3938|       |            // doesn't fail in PyBytesWriter_Discard()
 3939|       |            writer->size = 0;
 3940|       |            byteswriter_write_canary_byte(writer);
 3941|       |#endif
 3942|      0|            PyBytesWriter_Discard(writer);
 3943|      0|            return NULL;
 3944|      0|        }
 3945|  3.25k|    }
 3946|       |#ifdef Py_DEBUG
 3947|       |    memset(_PyBytesWriter_GetData(writer), PyBytesWrite_NEW_BYTE,
 3948|       |           byteswriter_allocated(writer));
 3949|       |    byteswriter_write_canary_byte(writer);
 3950|       |#endif
 3951|  7.09k|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3951:5): [True: 7.09k, False: 0]
  ------------------
 3952|  7.09k|    return writer;
 3953|  7.09k|}
bytesobject.c:byteswriter_check_consistency:
 3787|  21.4k|{
 3788|  21.4k|    PyObject *obj = writer->obj;
 3789|  21.4k|    if (obj != NULL) {
  ------------------
  |  Branch (3789:9): [True: 9.84k, False: 11.6k]
  ------------------
 3790|  9.84k|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3790:13): [True: 0, False: 9.84k]
  ------------------
 3791|      0|            assert(PyByteArray_CheckExact(obj));
  ------------------
  |  Branch (3791:13): [True: 0, False: 0]
  ------------------
 3792|       |            // Do not use _PyObject_IsUniquelyReferenced(): the caller can have
 3793|       |            // its own lock to prevent a writer from being used by two threads
 3794|       |            // at the same time.
 3795|      0|            assert(Py_REFCNT(obj) == 1);
  ------------------
  |  Branch (3795:13): [True: 0, False: 0]
  ------------------
 3796|      0|            PyByteArrayObject *bytearray = (PyByteArrayObject*)obj;
 3797|      0|            obj = bytearray->ob_bytes_object;
 3798|      0|            assert(obj != NULL);
  ------------------
  |  Branch (3798:13): [True: 0, False: 0]
  ------------------
 3799|      0|        }
 3800|       |
 3801|       |        // Code adapted from _PyBytes_IsMutable()
 3802|  9.84k|        assert(PyBytes_CheckExact(obj));
  ------------------
  |  Branch (3802:9): [True: 9.84k, False: 0]
  ------------------
 3803|  9.84k|        assert(_PyBytes_IsMutable(obj));
  ------------------
  |  Branch (3803:9): [True: 9.84k, False: 0]
  ------------------
 3804|       |        // -1 since the last small buffer byte is used as the canary byte
 3805|  9.84k|        assert((size_t)PyBytes_GET_SIZE(obj) > (sizeof(writer->small_buffer) - 1));
  ------------------
  |  Branch (3805:9): [True: 9.84k, False: 0]
  ------------------
 3806|  9.84k|    }
 3807|       |
 3808|       |#ifdef Py_DEBUG
 3809|       |    const unsigned char *data = (const unsigned char*)_PyBytesWriter_GetData(writer);
 3810|       |    unsigned char canary = data[writer->size];
 3811|       |    if (canary != PyBytesWriter_CANARY_BYTE) {
 3812|       |        _Py_FatalErrorFormat(__func__,
 3813|       |                             "Buffer overflow detected in PyBytesWriter %p "
 3814|       |                             "at position %zd",
 3815|       |                             writer, writer->size);
 3816|       |    }
 3817|       |#endif
 3818|  21.4k|    return 1;
 3819|  21.4k|}
bytesobject.c:byteswriter_finish_with_size:
 3988|  7.09k|{
 3989|  7.09k|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3989:5): [True: 7.09k, False: 0]
  ------------------
 3990|       |
 3991|  7.09k|    PyObject *result;
 3992|  7.09k|    if (final_size == 0 && !writer->use_bytearray) {
  ------------------
  |  Branch (3992:9): [True: 56, False: 7.03k]
  |  Branch (3992:28): [True: 56, False: 0]
  ------------------
 3993|     56|        result = bytes_get_empty();
 3994|     56|        if (writer->obj != NULL) {
  ------------------
  |  Branch (3994:13): [True: 0, False: 56]
  ------------------
 3995|       |#ifdef Py_DEBUG
 3996|       |            byteswriter_reset_trailing_byte(writer);
 3997|       |#endif
 3998|      0|            Py_DECREF(writer->obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3999|      0|            writer->obj = NULL;
 4000|      0|        }
 4001|     56|    }
 4002|  7.03k|    else if (writer->obj != NULL) {
  ------------------
  |  Branch (4002:14): [True: 3.25k, False: 3.78k]
  ------------------
 4003|       |        // Truncate the bytes/bytearray object if needed
 4004|       |#ifdef Py_DEBUG
 4005|       |        byteswriter_reset_trailing_byte(writer);
 4006|       |#endif
 4007|       |
 4008|  3.25k|        if (writer->use_bytearray) {
  ------------------
  |  Branch (4008:13): [True: 0, False: 3.25k]
  ------------------
 4009|      0|            if (final_size != PyByteArray_GET_SIZE(writer->obj)) {
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4009:17): [True: 0, False: 0]
  ------------------
 4010|      0|                if (PyByteArray_Resize(writer->obj, final_size)) {
  ------------------
  |  Branch (4010:21): [True: 0, False: 0]
  ------------------
 4011|      0|                    goto error;
 4012|      0|                }
 4013|      0|            }
 4014|      0|        }
 4015|  3.25k|        else {
 4016|  3.25k|            if (final_size == 1) {
  ------------------
  |  Branch (4016:17): [True: 0, False: 3.25k]
  ------------------
 4017|      0|                unsigned char ch = PyBytes_AS_STRING(writer->obj)[0];
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4018|      0|                Py_SETREF(writer->obj, bytes_get_char(ch));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4019|      0|            }
 4020|  3.25k|            else if (final_size != PyBytes_GET_SIZE(writer->obj)) {
  ------------------
  |  |   33|  3.25k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  3.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4020:22): [True: 94, False: 3.15k]
  ------------------
 4021|     94|                if (bytes_resize_inplace(&writer->obj, final_size)) {
  ------------------
  |  Branch (4021:21): [True: 0, False: 94]
  ------------------
 4022|      0|                    goto error;
 4023|      0|                }
 4024|     94|            }
 4025|  3.25k|        }
 4026|       |
 4027|  3.25k|        result = writer->obj;
 4028|  3.25k|        writer->obj = NULL;
 4029|  3.25k|    }
 4030|  3.78k|    else {
 4031|       |        // Create an object from the small buffer
 4032|  3.78k|        const char *buffer = (const char *)writer->small_buffer;
 4033|  3.78k|        if (writer->use_bytearray) {
  ------------------
  |  Branch (4033:13): [True: 0, False: 3.78k]
  ------------------
 4034|      0|            result = PyByteArray_FromStringAndSize(buffer, final_size);
 4035|      0|        }
 4036|  3.78k|        else {
 4037|  3.78k|            if (final_size == 1) {
  ------------------
  |  Branch (4037:17): [True: 0, False: 3.78k]
  ------------------
 4038|      0|                result = bytes_get_char((uint8_t)buffer[0]);
 4039|      0|            }
 4040|  3.78k|            else {
 4041|  3.78k|                result = bytes_alloc(final_size);
 4042|  3.78k|                if (result == NULL) {
  ------------------
  |  Branch (4042:21): [True: 0, False: 3.78k]
  ------------------
 4043|      0|                    goto error;
 4044|      0|                }
 4045|  3.78k|                memcpy(PyBytes_AS_STRING(result), buffer, final_size);
  ------------------
  |  |   27|  3.78k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4046|  3.78k|            }
 4047|  3.78k|        }
 4048|  3.78k|    }
 4049|       |
 4050|  7.09k|    assert(writer->obj == NULL);
  ------------------
  |  Branch (4050:5): [True: 7.09k, False: 0]
  ------------------
 4051|  7.09k|    _Py_FREELIST_FREE(bytes_writers, writer, PyMem_Free);
  ------------------
  |  |   35|  7.09k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  7.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  7.09k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   30|  7.09k|#  define Py_bytes_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
 4052|  7.09k|    return result;
 4053|       |
 4054|      0|error:
 4055|      0|    PyBytesWriter_Discard(writer);
 4056|       |    return NULL;
 4057|  7.09k|}
bytesobject.c:byteswriter_resize:
 3833|  3.25k|{
 3834|  3.25k|    assert(new_size >= 1);
  ------------------
  |  Branch (3834:5): [True: 3.25k, False: 0]
  ------------------
 3835|       |
 3836|  3.25k|    Py_ssize_t old_allocated = byteswriter_allocated(writer);
 3837|  3.25k|    if (new_size <= old_allocated) {
  ------------------
  |  Branch (3837:9): [True: 1, False: 3.25k]
  ------------------
 3838|       |        // Do not shrink the buffer before PyBytesWriter_FinishWithSize()
 3839|      1|        return 0;
 3840|      1|    }
 3841|       |
 3842|  3.25k|    Py_ssize_t alloc = new_size;
 3843|  3.25k|    if (resize && writer->overallocate) {
  ------------------
  |  Branch (3843:9): [True: 0, False: 3.25k]
  |  Branch (3843:19): [True: 0, False: 0]
  ------------------
 3844|      0|        if (alloc <= (PY_SSIZE_T_MAX - alloc / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                      if (alloc <= (PY_SSIZE_T_MAX - alloc / OVERALLOCATE_FACTOR)) {
  ------------------
  |  | 3828|      0|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (3844:13): [True: 0, False: 0]
  ------------------
 3845|      0|            alloc += alloc / OVERALLOCATE_FACTOR;
  ------------------
  |  | 3828|      0|#  define OVERALLOCATE_FACTOR 4
  ------------------
 3846|      0|        }
 3847|      0|    }
 3848|       |
 3849|  3.25k|    if (writer->obj != NULL) {
  ------------------
  |  Branch (3849:9): [True: 0, False: 3.25k]
  ------------------
 3850|      0|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3850:13): [True: 0, False: 0]
  ------------------
 3851|      0|            if (PyByteArray_Resize(writer->obj, alloc)) {
  ------------------
  |  Branch (3851:17): [True: 0, False: 0]
  ------------------
 3852|       |#ifdef Py_DEBUG
 3853|       |                // bytearray can override the canary byte on error
 3854|       |                byteswriter_write_canary_byte(writer);
 3855|       |#endif
 3856|      0|                assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3856:17): [True: 0, False: 0]
  ------------------
 3857|      0|                return -1;
 3858|      0|            }
 3859|      0|        }
 3860|      0|        else {
 3861|       |            // Can raise MemoryError or OverflowError
 3862|      0|            if (_PyBytes_ResizeKeepOnError(&writer->obj, alloc)) {
  ------------------
  |  Branch (3862:17): [True: 0, False: 0]
  ------------------
 3863|      0|                assert(writer->obj != NULL);
  ------------------
  |  Branch (3863:17): [True: 0, False: 0]
  ------------------
 3864|      0|                assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3864:17): [True: 0, False: 0]
  ------------------
 3865|      0|                return -1;
 3866|      0|            }
 3867|      0|            assert(_PyBytes_IsMutable(writer->obj));
  ------------------
  |  Branch (3867:13): [True: 0, False: 0]
  ------------------
 3868|      0|        }
 3869|      0|        assert(writer->obj != NULL);
  ------------------
  |  Branch (3869:9): [True: 0, False: 0]
  ------------------
 3870|      0|    }
 3871|  3.25k|    else {
 3872|  3.25k|        char *data;
 3873|  3.25k|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3873:13): [True: 0, False: 3.25k]
  ------------------
 3874|      0|            writer->obj = PyByteArray_FromStringAndSize(NULL, alloc);
 3875|      0|            if (writer->obj == NULL) {
  ------------------
  |  Branch (3875:17): [True: 0, False: 0]
  ------------------
 3876|      0|                return -1;
 3877|      0|            }
 3878|      0|            data = PyByteArray_AS_STRING(writer->obj);
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3879|      0|        }
 3880|  3.25k|        else {
 3881|  3.25k|            writer->obj = bytes_alloc(alloc);
 3882|  3.25k|            if (writer->obj == NULL) {
  ------------------
  |  Branch (3882:17): [True: 0, False: 3.25k]
  ------------------
 3883|      0|                return -1;
 3884|      0|            }
 3885|  3.25k|            assert(_PyBytes_IsMutable(writer->obj));
  ------------------
  |  Branch (3885:13): [True: 3.25k, False: 0]
  ------------------
 3886|  3.25k|            data = PyBytes_AS_STRING(writer->obj);
  ------------------
  |  |   27|  3.25k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3887|  3.25k|        }
 3888|       |
 3889|  3.25k|        if (resize) {
  ------------------
  |  Branch (3889:13): [True: 0, False: 3.25k]
  ------------------
 3890|       |            // Copy data from the small buffer
 3891|      0|            Py_ssize_t old_size = writer->size;
 3892|      0|            assert((size_t)old_size <= sizeof(writer->small_buffer));
  ------------------
  |  Branch (3892:13): [True: 0, False: 0]
  ------------------
 3893|      0|            assert(old_size <= alloc);
  ------------------
  |  Branch (3893:13): [True: 0, False: 0]
  ------------------
 3894|      0|            memcpy(data, writer->small_buffer, old_size);
 3895|      0|        }
 3896|  3.25k|    }
 3897|       |
 3898|       |#ifdef Py_DEBUG
 3899|       |    Py_ssize_t allocated = byteswriter_allocated(writer);
 3900|       |    if (resize) {
 3901|       |        Py_ssize_t old_size = writer->size;
 3902|       |        assert(allocated > old_size);
 3903|       |        memset(_PyBytesWriter_GetData(writer) + old_size, PyBytesWrite_NEW_BYTE,
 3904|       |               allocated - old_size);
 3905|       |    }
 3906|       |#endif
 3907|       |
 3908|  3.25k|    return 0;
 3909|  3.25k|}

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

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

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

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

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

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

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

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

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

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

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

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|      4|{
   21|      4|    PyObject *return_value = NULL;
   22|       |
   23|      4|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      4|    {
  ------------------
   24|      4|    return_value = function___annotate___get_impl((PyFunctionObject *)self);
   25|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
   26|       |
   27|      4|    return return_value;
   28|      4|}
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|      4|{
   99|      4|    PyObject *return_value = NULL;
  100|       |
  101|      4|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      4|    {
  ------------------
  102|      4|    return_value = function___type_params___get_impl((PyFunctionObject *)self);
  103|      4|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      4|    }
  ------------------
  104|       |
  105|      4|    return return_value;
  106|      4|}
funcobject.c:function___type_params___set:
  113|      3|{
  114|      3|    int return_value = -1;
  115|      3|    PyObject *value;
  116|       |
  117|      3|    if (arg == NULL) {
  ------------------
  |  Branch (117:9): [True: 0, False: 3]
  ------------------
  118|      0|        PyErr_Format(PyExc_AttributeError,
  119|      0|                     "attribute '__type_params__' of '%.100s' objects cannot be deleted",
  120|      0|                     Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|      0|        return -1;
  122|      0|    }
  123|      3|    if (!PyTuple_Check(arg)) {
  ------------------
  |  |   27|      3|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (123:9): [True: 0, False: 3]
  ------------------
  124|      0|        PyErr_Format(PyExc_TypeError, "attribute '__type_params__' must be tuple, not %T", arg);
  125|      0|        goto exit;
  126|      0|    }
  127|      3|    value = arg;
  128|      3|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      3|    {
  ------------------
  129|      3|    return_value = function___type_params___set_impl((PyFunctionObject *)self, value);
  130|      3|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      3|    }
  ------------------
  131|       |
  132|      3|exit:
  133|      3|    return return_value;
  134|      3|}

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

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

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

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

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

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

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

typeobject.c:type_mro:
   77|     82|{
   78|     82|    return type_mro_impl((PyTypeObject *)self);
   79|     82|}
typeobject.c:type___subclasses__:
   95|     46|{
   96|     46|    return type___subclasses___impl((PyTypeObject *)self);
   97|     46|}
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|}

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

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

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

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

_PyDict_CheckConsistency:
  699|  1.44M|{
  700|  1.44M|    ASSERT_WORLD_STOPPED_OR_DICT_LOCKED(op);
  701|       |
  702|  1.44M|#define CHECK(expr) \
  703|  1.44M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  704|       |
  705|  1.44M|    assert(op != NULL);
  ------------------
  |  Branch (705:5): [True: 1.44M, False: 0]
  ------------------
  706|  1.44M|    CHECK(PyAnyDict_Check(op));
  ------------------
  |  |  703|  1.44M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 1.44M, False: 3]
  |  |  |  Branch (703:16): [True: 3, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 1.44M]
  |  |  ------------------
  ------------------
  707|  1.44M|    PyDictObject *mp = (PyDictObject *)op;
  708|       |
  709|  1.44M|    PyDictKeysObject *keys = mp->ma_keys;
  710|  1.44M|    int splitted = _PyDict_HasSplitTable(mp);
  ------------------
  |  |   61|  1.44M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  ------------------
  711|  1.44M|    Py_ssize_t usable = USABLE_FRACTION(DK_SIZE(keys));
  ------------------
  |  |  590|  1.44M|#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|  1.44M|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  150|  1.44M|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  716|  1.44M|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  150|  1.44M|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  717|       |
  718|  1.44M|    CHECK(0 <= mp->ma_used && mp->ma_used <= usable);
  ------------------
  |  |  703|  2.88M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 1.44M, False: 0]
  |  |  |  Branch (703:16): [True: 1.44M, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 1.44M]
  |  |  ------------------
  ------------------
  719|  1.44M|    CHECK(0 <= dk_usable && dk_usable <= usable);
  ------------------
  |  |  703|  2.88M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 1.44M, False: 0]
  |  |  |  Branch (703:16): [True: 1.44M, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 1.44M]
  |  |  ------------------
  ------------------
  720|  1.44M|    CHECK(0 <= dk_nentries && dk_nentries <= usable);
  ------------------
  |  |  703|  2.88M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 1.44M, False: 0]
  |  |  |  Branch (703:16): [True: 1.44M, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 1.44M]
  |  |  ------------------
  ------------------
  721|  1.44M|    CHECK(dk_usable + dk_nentries <= usable);
  ------------------
  |  |  703|  1.44M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 1.44M]
  |  |  |  Branch (703:89): [Folded, False: 1.44M]
  |  |  ------------------
  ------------------
  722|       |
  723|  1.44M|    if (!splitted) {
  ------------------
  |  Branch (723:9): [True: 1.43M, False: 3.70k]
  ------------------
  724|       |        /* combined table */
  725|  1.43M|        CHECK(keys->dk_kind != DICT_KEYS_SPLIT);
  ------------------
  |  |  703|  1.43M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 1.43M]
  |  |  |  Branch (703:89): [Folded, False: 1.43M]
  |  |  ------------------
  ------------------
  726|  1.43M|        CHECK(keys->dk_refcnt == 1 || keys == Py_EMPTY_KEYS);
  ------------------
  |  |  703|  1.84M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 1.03M, False: 404k]
  |  |  |  Branch (703:16): [True: 404k, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 1.43M]
  |  |  ------------------
  ------------------
  727|  1.43M|    }
  728|  3.70k|    else {
  729|  3.70k|        CHECK(keys->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  |  703|  3.70k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 3.70k]
  |  |  |  Branch (703:89): [Folded, False: 3.70k]
  |  |  ------------------
  ------------------
  730|  3.70k|        CHECK(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  703|  3.70k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 3.70k]
  |  |  |  Branch (703:89): [Folded, False: 3.70k]
  |  |  ------------------
  ------------------
  731|  3.70k|        if (mp->ma_values->embedded) {
  ------------------
  |  Branch (731:13): [True: 0, False: 3.70k]
  ------------------
  732|      0|            CHECK(mp->ma_values->embedded == 1);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  733|      0|            CHECK(mp->ma_values->valid == 1);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  734|      0|        }
  735|  3.70k|    }
  736|       |
  737|  1.44M|    if (check_content) {
  ------------------
  |  Branch (737:9): [True: 0, False: 1.44M]
  ------------------
  738|      0|        LOCK_KEYS_IF_SPLIT(keys, keys->dk_kind);
  739|      0|        for (Py_ssize_t i=0; i < DK_SIZE(keys); i++) {
  ------------------
  |  |  283|      0|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  ------------------
  |  |  |  |  281|      0|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (739:30): [True: 0, False: 0]
  ------------------
  740|      0|            Py_ssize_t ix = dictkeys_get_index(keys, i);
  741|      0|            CHECK(DKIX_DUMMY <= ix && ix <= usable);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 0, False: 0]
  |  |  |  Branch (703:16): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  742|      0|        }
  743|       |
  744|      0|        if (keys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (744:13): [True: 0, False: 0]
  ------------------
  745|      0|            PyDictKeyEntry *entries = DK_ENTRIES(keys);
  746|      0|            for (Py_ssize_t i=0; i < usable; i++) {
  ------------------
  |  Branch (746:34): [True: 0, False: 0]
  ------------------
  747|      0|                PyDictKeyEntry *entry = &entries[i];
  748|      0|                PyObject *key = entry->me_key;
  749|       |
  750|      0|                if (key != NULL) {
  ------------------
  |  Branch (750:21): [True: 0, False: 0]
  ------------------
  751|       |                    /* test_dict fails if PyObject_Hash() is called again */
  752|      0|                    CHECK(entry->me_hash != -1);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  753|      0|                    CHECK(entry->me_value != NULL);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  754|       |
  755|      0|                    if (PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  756|      0|                        Py_hash_t hash = unicode_get_hash(key);
  757|      0|                        CHECK(entry->me_hash == hash);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  758|      0|                    }
  759|      0|                }
  760|      0|            }
  761|      0|        }
  762|      0|        else {
  763|      0|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  764|      0|            for (Py_ssize_t i=0; i < usable; i++) {
  ------------------
  |  Branch (764:34): [True: 0, False: 0]
  ------------------
  765|      0|                PyDictUnicodeEntry *entry = &entries[i];
  766|      0|                PyObject *key = entry->me_key;
  767|       |
  768|      0|                if (key != NULL) {
  ------------------
  |  Branch (768:21): [True: 0, False: 0]
  ------------------
  769|      0|                    CHECK(PyUnicode_CheckExact(key));
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  770|      0|                    Py_hash_t hash = unicode_get_hash(key);
  771|      0|                    CHECK(hash != -1);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  772|      0|                    if (!splitted) {
  ------------------
  |  Branch (772:25): [True: 0, False: 0]
  ------------------
  773|      0|                        CHECK(entry->me_value != NULL);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  774|      0|                    }
  775|      0|                }
  776|       |
  777|      0|                if (splitted) {
  ------------------
  |  Branch (777:21): [True: 0, False: 0]
  ------------------
  778|      0|                    CHECK(entry->me_value == NULL);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  779|      0|                }
  780|      0|            }
  781|      0|        }
  782|       |
  783|      0|        if (splitted) {
  ------------------
  |  Branch (783:13): [True: 0, False: 0]
  ------------------
  784|      0|            CHECK(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  785|       |            /* splitted table */
  786|      0|            int duplicate_check = 0;
  787|      0|            for (Py_ssize_t i=0; i < mp->ma_used; i++) {
  ------------------
  |  Branch (787:34): [True: 0, False: 0]
  ------------------
  788|      0|                int index = get_index_from_order(mp, i);
  789|      0|                CHECK((duplicate_check & (1<<index)) == 0);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  790|      0|                duplicate_check |= (1<<index);
  791|      0|                CHECK(mp->ma_values->values[index] != NULL);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  792|      0|            }
  793|      0|        }
  794|      0|        UNLOCK_KEYS_IF_SPLIT(keys, keys->dk_kind);
  795|      0|    }
  796|  1.44M|    return 1;
  797|       |
  798|  1.44M|#undef CHECK
  799|  1.44M|}
PyDict_New:
 1089|   403k|{
 1090|       |    /* We don't incref Py_EMPTY_KEYS here because it is immortal. */
 1091|   403k|    return new_dict(Py_EMPTY_KEYS, NULL, 0, 0);
  ------------------
  |  |  660|   403k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 1092|   403k|}
_PyDictKeys_StringLookup:
 1305|     63|{
 1306|     63|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1306:9): [True: 0, False: 63]
  ------------------
 1307|      0|        return DKIX_ERROR;
  ------------------
  |  |  196|      0|#define DKIX_ERROR (-3)
  ------------------
 1308|      0|    }
 1309|     63|    Py_hash_t hash = hash_unicode_key(key);
 1310|     63|    return unicodekeys_lookup_unicode(dk, key, hash);
 1311|     63|}
_PyDictKeys_StringLookupAndVersion:
 1315|    301|{
 1316|    301|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1316:9): [True: 0, False: 301]
  ------------------
 1317|      0|        return DKIX_ERROR;
  ------------------
  |  |  196|      0|#define DKIX_ERROR (-3)
  ------------------
 1318|      0|    }
 1319|    301|    Py_ssize_t ix;
 1320|    301|    Py_hash_t hash = hash_unicode_key(key);
 1321|    301|    LOCK_KEYS(dk);
 1322|    301|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1323|    301|    *version = _PyDictKeys_GetVersionForCurrentState(_PyInterpreterState_GET(), dk);
 1324|    301|    UNLOCK_KEYS(dk);
 1325|    301|    return ix;
 1326|    301|}
_PyDictKeys_StringLookupSplit:
 1333|  3.36k|{
 1334|  3.36k|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (1334:5): [True: 3.36k, False: 0]
  ------------------
 1335|  3.36k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1335:5): [True: 3.36k, False: 0]
  ------------------
 1336|  3.36k|    Py_hash_t hash = unicode_get_hash(key);
 1337|  3.36k|    if (hash == -1) {
  ------------------
  |  Branch (1337:9): [True: 0, False: 3.36k]
  ------------------
 1338|      0|        hash = PyUnicode_Type.tp_hash(key);
 1339|      0|        if (hash == -1) {
  ------------------
  |  Branch (1339:13): [True: 0, False: 0]
  ------------------
 1340|      0|            PyErr_Clear();
 1341|      0|            return DKIX_ERROR;
  ------------------
  |  |  196|      0|#define DKIX_ERROR (-3)
  ------------------
 1342|      0|        }
 1343|      0|    }
 1344|  3.36k|    return unicodekeys_lookup_split(dk, key, hash);
 1345|  3.36k|}
_Py_dict_lookup:
 1364|  19.3M|{
 1365|  19.3M|    PyDictKeysObject *dk;
 1366|  19.3M|    DictKeysKind kind;
 1367|  19.3M|    Py_ssize_t ix;
 1368|       |
 1369|  19.3M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(mp);
 1370|  19.3M|start:
 1371|  19.3M|    dk = mp->ma_keys;
 1372|  19.3M|    kind = dk->dk_kind;
 1373|       |
 1374|  19.3M|    if (kind != DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (1374:9): [True: 2.46M, False: 16.8M]
  ------------------
 1375|  2.46M|        if (PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  2.46M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.46M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.45M, False: 10.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1376|       |#ifdef Py_GIL_DISABLED
 1377|       |            if (kind == DICT_KEYS_SPLIT) {
 1378|       |                ix = unicodekeys_lookup_split(dk, key, hash);
 1379|       |            }
 1380|       |            else {
 1381|       |                ix = unicodekeys_lookup_unicode(dk, key, hash);
 1382|       |            }
 1383|       |#else
 1384|  2.45M|            ix = unicodekeys_lookup_unicode(dk, key, hash);
 1385|  2.45M|#endif
 1386|  2.45M|        }
 1387|  10.3k|        else {
 1388|  10.3k|            INCREF_KEYS_FT(dk);
 1389|  10.3k|            LOCK_KEYS_IF_SPLIT(dk, kind);
 1390|       |
 1391|  10.3k|            ix = unicodekeys_lookup_generic(mp, dk, key, hash);
 1392|       |
 1393|  10.3k|            UNLOCK_KEYS_IF_SPLIT(dk, kind);
 1394|  10.3k|            DECREF_KEYS_FT(dk, IS_DICT_SHARED(mp));
 1395|  10.3k|            if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  197|  10.3k|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1395:17): [True: 0, False: 10.3k]
  ------------------
 1396|      0|                goto start;
 1397|      0|            }
 1398|  10.3k|        }
 1399|       |
 1400|  2.46M|        if (ix >= 0) {
  ------------------
  |  Branch (1400:13): [True: 1.97M, False: 491k]
  ------------------
 1401|  1.97M|            if (kind == DICT_KEYS_SPLIT) {
  ------------------
  |  Branch (1401:17): [True: 588k, False: 1.38M]
  ------------------
 1402|   588k|                *value_addr = mp->ma_values->values[ix];
 1403|   588k|            }
 1404|  1.38M|            else {
 1405|  1.38M|                *value_addr = DK_UNICODE_ENTRIES(dk)[ix].me_value;
 1406|  1.38M|            }
 1407|  1.97M|        }
 1408|   491k|        else {
 1409|   491k|            *value_addr = NULL;
 1410|   491k|        }
 1411|  2.46M|    }
 1412|  16.8M|    else {
 1413|  16.8M|        ix = dictkeys_generic_lookup(mp, dk, key, hash);
 1414|  16.8M|        if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  197|  16.8M|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1414:13): [True: 0, False: 16.8M]
  ------------------
 1415|      0|            goto start;
 1416|      0|        }
 1417|  16.8M|        if (ix >= 0) {
  ------------------
  |  Branch (1417:13): [True: 16.7M, False: 56.8k]
  ------------------
 1418|  16.7M|            *value_addr = DK_ENTRIES(dk)[ix].me_value;
 1419|  16.7M|        }
 1420|  56.8k|        else {
 1421|  56.8k|            *value_addr = NULL;
 1422|  56.8k|        }
 1423|  16.8M|    }
 1424|       |
 1425|  19.3M|    return ix;
 1426|  19.3M|}
_Py_dict_lookup_threadsafe:
 1762|  7.74k|{
 1763|  7.74k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, value_addr);
 1764|  7.74k|    Py_XNewRef(*value_addr);
  ------------------
  |  |  648|  7.74k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1765|  7.74k|    return ix;
 1766|  7.74k|}
_Py_dict_lookup_threadsafe_stackref:
 1770|   273k|{
 1771|   273k|    PyObject *val;
 1772|   273k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &val);
 1773|   273k|    if (val == NULL) {
  ------------------
  |  Branch (1773:9): [True: 119k, False: 153k]
  ------------------
 1774|   119k|        *value_addr = PyStackRef_NULL;
 1775|   119k|    }
 1776|   153k|    else {
 1777|   153k|        *value_addr = PyStackRef_FromPyObjectNew(val);
  ------------------
  |  |  611|   153k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   153k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   153k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1778|   153k|    }
 1779|   273k|    return ix;
 1780|   273k|}
_PyDict_GetMethodStackRef:
 1788|    627|{
 1789|    627|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1789:5): [True: 627, False: 0]
  ------------------
 1790|    627|    Py_hash_t hash = hash_unicode_key(key);
 1791|       |
 1792|       |#ifdef Py_GIL_DISABLED
 1793|       |    // NOTE: We can only do the fast-path lookup if we are on the owning
 1794|       |    // thread or if the dict is already marked as shared so that the load
 1795|       |    // of ma_keys is safe without a lock. We cannot call ensure_shared_on_read()
 1796|       |    // in this code path without incref'ing the dict because the dict is a
 1797|       |    // borrowed reference protected by QSBR, and acquiring the lock could lead
 1798|       |    // to a quiescent state (allowing the dict to be freed).
 1799|       |    if (_Py_IsOwnedByCurrentThread((PyObject *)mp) || IS_DICT_SHARED(mp)) {
 1800|       |        PyDictKeysObject *dk = _Py_atomic_load_ptr_acquire(&mp->ma_keys);
 1801|       |        if (dk->dk_kind == DICT_KEYS_UNICODE) {
 1802|       |            _PyStackRef ref;
 1803|       |            Py_ssize_t ix = lookup_threadsafe_unicode(dk, key, hash, &ref);
 1804|       |            if (ix >= 0) {
 1805|       |                assert(!PyStackRef_IsNull(ref));
 1806|       |                PyStackRef_XSETREF(*method, ref);
 1807|       |                return 1;
 1808|       |            }
 1809|       |            else if (ix == DKIX_EMPTY) {
 1810|       |                return 0;
 1811|       |            }
 1812|       |            assert(ix == DKIX_KEY_CHANGED);
 1813|       |        }
 1814|       |    }
 1815|       |#endif
 1816|       |
 1817|    627|    PyObject *obj;
 1818|    627|    Py_INCREF(mp);
  ------------------
  |  |  310|    627|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1819|    627|    Py_ssize_t ix = _Py_dict_lookup_threadsafe(mp, key, hash, &obj);
 1820|    627|    Py_DECREF(mp);
  ------------------
  |  |  430|    627|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1821|    627|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|    627|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1821:9): [True: 0, False: 627]
  ------------------
 1822|      0|        PyStackRef_CLEAR(*method);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1823|      0|        return -1;
 1824|      0|    }
 1825|    627|    else if (ix >= 0 && obj != NULL) {
  ------------------
  |  Branch (1825:14): [True: 0, False: 627]
  |  Branch (1825:25): [True: 0, False: 0]
  ------------------
 1826|      0|        PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectSteal(obj));
  ------------------
  |  |  855|      0|    do { \
  |  |  856|      0|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|      0|        (dst) = (src); \
  |  |  858|      0|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1827|      0|        return 1;
 1828|      0|    }
 1829|    627|    return 0;  // not found
 1830|    627|}
_PyDict_HasOnlyStringKeys:
 1834|    816|{
 1835|    816|    Py_ssize_t pos = 0;
 1836|    816|    PyObject *key, *value;
 1837|    816|    assert(PyDict_Check(dict));
  ------------------
  |  Branch (1837:5): [True: 816, False: 0]
  ------------------
 1838|       |    /* Shortcut */
 1839|    816|    if (((PyDictObject *)dict)->ma_keys->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (1839:9): [True: 816, False: 0]
  ------------------
 1840|    816|        return 1;
 1841|      0|    while (PyDict_Next(dict, &pos, &key, &value))
  ------------------
  |  Branch (1841:12): [True: 0, False: 0]
  ------------------
 1842|      0|        if (!PyUnicode_Check(key))
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1842:13): [True: 0, False: 0]
  ------------------
 1843|      0|            return 0;
 1844|      0|    return 1;
 1845|      0|}
_PyDict_EnablePerThreadRefcounting:
 1849|    172|{
 1850|    172|    assert(PyDict_Check(op));
  ------------------
  |  Branch (1850:5): [True: 172, False: 0]
  ------------------
 1851|       |#ifdef Py_GIL_DISABLED
 1852|       |    Py_ssize_t id = _PyObject_AssignUniqueId(op);
 1853|       |    if (id == _Py_INVALID_UNIQUE_ID) {
 1854|       |        return;
 1855|       |    }
 1856|       |    if ((uint64_t)id >= (uint64_t)DICT_UNIQUE_ID_MAX) {
 1857|       |        _PyObject_ReleaseUniqueId(id);
 1858|       |        return;
 1859|       |    }
 1860|       |
 1861|       |    PyDictObject *mp = (PyDictObject *)op;
 1862|       |    assert((mp->_ma_watcher_tag >> DICT_UNIQUE_ID_SHIFT) == 0);
 1863|       |    mp->_ma_watcher_tag += (uint64_t)id << DICT_UNIQUE_ID_SHIFT;
 1864|       |#endif
 1865|    172|}
_PyDict_InsertSplitValue:
 1995|  1.67k|{
 1996|  1.67k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (1996:5): [True: 1.67k, False: 0]
  ------------------
 1997|  1.67k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1997:5): [True: 1.67k, False: 0]
  ------------------
 1998|       |
 1999|  1.67k|    PyObject *old_value = mp->ma_values->values[ix];
 2000|  1.67k|    if (old_value == NULL) {
  ------------------
  |  Branch (2000:9): [True: 1.67k, False: 0]
  ------------------
 2001|  1.67k|        _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 2002|  1.67k|        STORE_SPLIT_VALUE(mp, ix, Py_NewRef(value));
  ------------------
  |  |  332|  1.67k|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  166|  1.67k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2003|  1.67k|        _PyDictValues_AddToInsertionOrder(mp->ma_values, ix);
 2004|  1.67k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|  1.67k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|  1.67k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2005|  1.67k|    }
 2006|      0|    else {
 2007|      0|        _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, mp, key, value);
 2008|      0|        STORE_SPLIT_VALUE(mp, ix, Py_NewRef(value));
  ------------------
  |  |  332|      0|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2009|       |        // old_value should be DECREFed after GC track checking is done, if not, it could raise a segmentation fault,
 2010|       |        // when dict only holds the strong reference to value in ep->me_value.
 2011|      0|        Py_DECREF(old_value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2012|      0|    }
 2013|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  1.67k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2013:5): [True: 1.67k, False: 0]
  ------------------
 2014|  1.67k|}
_PyDict_FromItems:
 2396|  2.15k|{
 2397|  2.15k|    bool unicode = true;
 2398|  2.15k|    PyObject *const *ks = keys;
 2399|       |
 2400|  4.52k|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2400:28): [True: 2.41k, False: 2.11k]
  ------------------
 2401|  2.41k|        if (!PyUnicode_CheckExact(*ks)) {
  ------------------
  |  |  104|  2.41k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.41k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2401:13): [True: 43, False: 2.36k]
  ------------------
 2402|     43|            unicode = false;
 2403|     43|            break;
 2404|     43|        }
 2405|  2.36k|        ks += keys_offset;
 2406|  2.36k|    }
 2407|       |
 2408|  2.15k|    PyObject *dict = dict_new_presized(length, unicode);
 2409|  2.15k|    if (dict == NULL) {
  ------------------
  |  Branch (2409:9): [True: 0, False: 2.15k]
  ------------------
 2410|      0|        return NULL;
 2411|      0|    }
 2412|       |
 2413|  2.15k|    ks = keys;
 2414|  2.15k|    PyObject *const *vs = values;
 2415|       |
 2416|  4.75k|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2416:28): [True: 2.60k, False: 2.15k]
  ------------------
 2417|  2.60k|        PyObject *key = *ks;
 2418|  2.60k|        PyObject *value = *vs;
 2419|  2.60k|        if (setitem_lock_held((PyDictObject *)dict, key, value) < 0) {
  ------------------
  |  Branch (2419:13): [True: 0, False: 2.60k]
  ------------------
 2420|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2421|      0|            return NULL;
 2422|      0|        }
 2423|  2.60k|        ks += keys_offset;
 2424|  2.60k|        vs += values_offset;
 2425|  2.60k|    }
 2426|       |
 2427|  2.15k|    return dict;
 2428|  2.15k|}
PyDict_GetItem:
 2486|    687|{
 2487|    687|    return dict_getitem(op, key,
 2488|    687|            "Exception ignored in PyDict_GetItem(); consider using "
 2489|    687|            "PyDict_GetItemRef() or PyDict_GetItemWithError()");
 2490|    687|}
_PyDict_LookupIndexAndValue:
 2515|  2.09k|{
 2516|       |    // TODO: Thread safety
 2517|  2.09k|    assert(PyDict_CheckExact((PyObject*)mp));
  ------------------
  |  Branch (2517:5): [True: 2.09k, False: 0]
  ------------------
 2518|  2.09k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (2518:5): [True: 2.09k, False: 0]
  ------------------
 2519|       |
 2520|  2.09k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2521|  2.09k|    if (hash == -1) {
  ------------------
  |  Branch (2521:9): [True: 0, False: 2.09k]
  ------------------
 2522|      0|        dict_unhashable_type((PyObject*)mp, key);
 2523|      0|        return -1;
 2524|      0|    }
 2525|       |
 2526|  2.09k|    return _Py_dict_lookup(mp, key, hash, value);
 2527|  2.09k|}
_PyDict_GetItemRef_KnownHash:
 2591|  18.0M|{
 2592|  18.0M|    PyObject *value;
 2593|       |#ifdef Py_GIL_DISABLED
 2594|       |    Py_ssize_t ix = _Py_dict_lookup_threadsafe(op, key, hash, &value);
 2595|       |#else
 2596|  18.0M|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2597|  18.0M|#endif
 2598|  18.0M|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2598:5): [True: 17.9M, False: 37.2k]
  |  Branch (2598:5): [True: 37.2k, False: 0]
  ------------------
 2599|  18.0M|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  18.0M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2599:9): [True: 0, False: 18.0M]
  ------------------
 2600|      0|        *result = NULL;
 2601|      0|        return -1;
 2602|      0|    }
 2603|  18.0M|    if (value == NULL) {
  ------------------
  |  Branch (2603:9): [True: 624k, False: 17.4M]
  ------------------
 2604|   624k|        *result = NULL;
 2605|   624k|        return 0;  // missing key
 2606|   624k|    }
 2607|       |#ifdef Py_GIL_DISABLED
 2608|       |    *result = value;
 2609|       |#else
 2610|  17.4M|    *result = Py_NewRef(value);
  ------------------
  |  |  647|  17.4M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  17.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2611|  17.4M|#endif
 2612|  17.4M|    return 1;  // key is present
 2613|  18.0M|}
PyDict_GetItemRef:
 2617|  18.0M|{
 2618|  18.0M|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  18.0M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  18.0M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  36.0M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 18.0M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2619|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2620|      0|        *result = NULL;
 2621|      0|        return -1;
 2622|      0|    }
 2623|       |
 2624|  18.0M|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2625|  18.0M|    if (hash == -1) {
  ------------------
  |  Branch (2625:9): [True: 0, False: 18.0M]
  ------------------
 2626|      0|        dict_unhashable_type(op, key);
 2627|      0|        *result = NULL;
 2628|      0|        return -1;
 2629|      0|    }
 2630|       |
 2631|  18.0M|    return _PyDict_GetItemRef_KnownHash((PyDictObject *)op, key, hash, result);
 2632|  18.0M|}
_PyDict_GetItemRef_Unicode_LockHeld:
 2711|    170|{
 2712|    170|    ASSERT_DICT_LOCKED(op);
 2713|    170|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (2713:5): [True: 170, False: 0]
  ------------------
 2714|       |
 2715|    170|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2716|    170|    if (hash == -1) {
  ------------------
  |  Branch (2716:9): [True: 0, False: 170]
  ------------------
 2717|      0|        dict_unhashable_type((PyObject*)op, key);
 2718|      0|        *result = NULL;
 2719|      0|        return -1;
 2720|      0|    }
 2721|       |
 2722|    170|    PyObject *value;
 2723|    170|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2724|    170|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2724:5): [True: 40, False: 130]
  |  Branch (2724:5): [True: 130, False: 0]
  ------------------
 2725|    170|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|    170|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2725:9): [True: 0, False: 170]
  ------------------
 2726|      0|        *result = NULL;
 2727|      0|        return -1;
 2728|      0|    }
 2729|    170|    if (value == NULL) {
  ------------------
  |  Branch (2729:9): [True: 130, False: 40]
  ------------------
 2730|    130|        *result = NULL;
 2731|    130|        return 0;  // missing key
 2732|    130|    }
 2733|     40|    *result = Py_NewRef(value);
  ------------------
  |  |  647|     40|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2734|     40|    return 1;  // key is present
 2735|    170|}
PyDict_GetItemWithError:
 2743|  6.97k|{
 2744|  6.97k|    Py_ssize_t ix; (void)ix;
 2745|  6.97k|    Py_hash_t hash;
 2746|  6.97k|    PyDictObject*mp = (PyDictObject *)op;
 2747|  6.97k|    PyObject *value;
 2748|       |
 2749|  6.97k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  6.97k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  6.97k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  13.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 6.97k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2750|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2751|      0|        return NULL;
 2752|      0|    }
 2753|  6.97k|    hash = _PyObject_HashDictKey(key);
 2754|  6.97k|    if (hash == -1) {
  ------------------
  |  Branch (2754:9): [True: 0, False: 6.97k]
  ------------------
 2755|      0|        dict_unhashable_type(op, key);
 2756|      0|        return NULL;
 2757|      0|    }
 2758|       |
 2759|       |#ifdef Py_GIL_DISABLED
 2760|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 2761|       |    Py_XDECREF(value);
 2762|       |#else
 2763|  6.97k|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2764|  6.97k|#endif
 2765|  6.97k|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2765:5): [True: 2.30k, False: 4.67k]
  |  Branch (2765:5): [True: 4.67k, False: 0]
  ------------------
 2766|  6.97k|    return value;  // borrowed reference
 2767|  6.97k|}
_PyDict_LoadGlobalStackRef:
 2795|  13.3k|{
 2796|  13.3k|    Py_ssize_t ix;
 2797|  13.3k|    Py_hash_t hash;
 2798|       |
 2799|  13.3k|    hash = _PyObject_HashDictKey(key);
 2800|  13.3k|    if (hash == -1) {
  ------------------
  |  Branch (2800:9): [True: 0, False: 13.3k]
  ------------------
 2801|      0|        *res = PyStackRef_NULL;
 2802|      0|        return NULL;
 2803|      0|    }
 2804|       |
 2805|       |    /* namespace 1: globals */
 2806|  13.3k|    ix = _Py_dict_lookup_threadsafe_stackref(globals, key, hash, res);
 2807|  13.3k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  13.3k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2807:9): [True: 0, False: 13.3k]
  ------------------
 2808|      0|        return NULL;
 2809|      0|    }
 2810|  13.3k|    if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  194|  26.6k|#define DKIX_EMPTY (-1)
  ------------------
                  if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  482|  6.77k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  6.77k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.77k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2810:9): [True: 6.77k, False: 6.54k]
  |  Branch (2810:29): [True: 6.77k, False: 0]
  ------------------
 2811|  6.77k|        return (PyObject *)globals;
 2812|  6.77k|    }
 2813|       |
 2814|       |    /* namespace 2: builtins */
 2815|  6.54k|    ix = _Py_dict_lookup_threadsafe_stackref(builtins, key, hash, res);
 2816|  6.54k|    assert(ix >= 0 || PyStackRef_IsNull(*res));
  ------------------
  |  Branch (2816:5): [True: 6.54k, False: 0]
  |  Branch (2816:5): [True: 0, False: 0]
  ------------------
 2817|  6.54k|    return PyStackRef_IsNull(*res) ? NULL : (PyObject *)builtins;
  ------------------
  |  |  482|  6.54k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  6.54k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.54k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 6.54k]
  |  |  ------------------
  ------------------
 2818|  6.54k|}
_PyDict_LoadBuiltinsFromGlobals:
 2822|  4.11k|{
 2823|  4.11k|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|  4.11k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  4.11k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  8.22k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 4.11k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2824|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2825|      0|        return NULL;
 2826|      0|    }
 2827|       |
 2828|  4.11k|    PyDictObject *mp = (PyDictObject *)globals;
 2829|  4.11k|    PyObject *key = &_Py_ID(__builtins__);
  ------------------
  |  |  951|  4.11k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.11k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.11k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2830|  4.11k|    Py_hash_t hash = unicode_get_hash(key);
 2831|       |
 2832|       |    // Use the stackref variant to avoid reference count contention on the
 2833|       |    // builtins module in the free threading build. It's important not to
 2834|       |    // make any escaping calls between the lookup and the `PyStackRef_CLOSE()`
 2835|       |    // because the `ref` is not visible to the GC.
 2836|  4.11k|    _PyStackRef ref;
 2837|  4.11k|    Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(mp, key, hash, &ref);
 2838|  4.11k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  4.11k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2838:9): [True: 0, False: 4.11k]
  ------------------
 2839|      0|        return NULL;
 2840|      0|    }
 2841|  4.11k|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  482|  4.11k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  4.11k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.11k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 4.11k]
  |  |  ------------------
  ------------------
 2842|      0|        return Py_NewRef(PyEval_GetBuiltins());
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2843|      0|    }
 2844|  4.11k|    PyObject *builtins = PyStackRef_AsPyObjectBorrow(ref);
 2845|  4.11k|    if (PyModule_Check(builtins)) {
  ------------------
  |  |   12|  4.11k|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|  4.11k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 4.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2846|      0|        builtins = _PyModule_GetDict(builtins);
 2847|      0|        assert(builtins != NULL);
  ------------------
  |  Branch (2847:9): [True: 0, False: 0]
  ------------------
 2848|      0|    }
 2849|  4.11k|    _Py_INCREF_BUILTINS(builtins);
  ------------------
  |  |  407|  4.11k|#  define _Py_INCREF_BUILTINS Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  4.11k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2850|  4.11k|    PyStackRef_CLOSE(ref);
 2851|  4.11k|    return builtins;
 2852|  4.11k|}
_PyDict_SetItem_Take2:
 2890|   693k|{
 2891|   693k|    int res;
 2892|   693k|    Py_BEGIN_CRITICAL_SECTION(mp);
  ------------------
  |  |   51|   693k|    {
  ------------------
 2893|   693k|    res = setitem_take2_lock_held(mp, key, value);
 2894|   693k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   693k|    }
  ------------------
 2895|   693k|    return res;
 2896|   693k|}
PyDict_SetItem:
 2916|   680k|{
 2917|   680k|    assert(key);
  ------------------
  |  Branch (2917:5): [True: 680k, False: 0]
  ------------------
 2918|   680k|    assert(value);
  ------------------
  |  Branch (2918:5): [True: 680k, False: 0]
  ------------------
 2919|       |
 2920|   680k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|   680k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   680k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2920:9): [True: 0, False: 680k]
  ------------------
 2921|      0|        if (PyFrozenDict_Check(op)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2922|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2855|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2856|      0|                    "not support item " WHAT)
  ------------------
 2923|      0|        }
 2924|      0|        else {
 2925|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2926|      0|        }
 2927|      0|        return -1;
 2928|      0|    }
 2929|       |
 2930|   680k|    return _PyDict_SetItem_Take2((PyDictObject *)op,
 2931|   680k|                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  647|   680k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   680k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   680k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                               Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  647|   680k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   680k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   680k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2932|   680k|}
PyDict_DelItem:
 3053|  1.93k|{
 3054|  1.93k|    assert(key);
  ------------------
  |  Branch (3054:5): [True: 1.93k, False: 0]
  ------------------
 3055|  1.93k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3056|  1.93k|    if (hash == -1) {
  ------------------
  |  Branch (3056:9): [True: 0, False: 1.93k]
  ------------------
 3057|      0|        dict_unhashable_type(op, key);
 3058|      0|        return -1;
 3059|      0|    }
 3060|       |
 3061|  1.93k|    return _PyDict_DelItem_KnownHash(op, key, hash);
 3062|  1.93k|}
_PyDict_DelItem_KnownHash_LockHeld:
 3066|  1.97k|{
 3067|  1.97k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  1.97k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.97k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3067:9): [True: 0, False: 1.97k]
  ------------------
 3068|      0|        if (PyFrozenDict_Check(op)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3069|      0|            frozendict_does_not_support("deletion");
  ------------------
  |  | 2855|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2856|      0|                    "not support item " WHAT)
  ------------------
 3070|      0|        }
 3071|      0|        else {
 3072|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3073|      0|        }
 3074|      0|        return -1;
 3075|      0|    }
 3076|       |
 3077|  1.97k|    Py_ssize_t ix;
 3078|  1.97k|    PyObject *old_value;
 3079|  1.97k|    PyDictObject *mp = (PyDictObject *)op;
 3080|  1.97k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3080:5): [True: 1.97k, False: 0]
  ------------------
 3081|       |
 3082|  1.97k|    assert(key);
  ------------------
  |  Branch (3082:5): [True: 1.97k, False: 0]
  ------------------
 3083|  1.97k|    assert(hash != -1);
  ------------------
  |  Branch (3083:5): [True: 1.97k, False: 0]
  ------------------
 3084|  1.97k|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3085|  1.97k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  196|  1.97k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3085:9): [True: 0, False: 1.97k]
  ------------------
 3086|      0|        return -1;
 3087|  1.97k|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  194|  3.95k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3087:9): [True: 0, False: 1.97k]
  |  Branch (3087:29): [True: 0, False: 1.97k]
  ------------------
 3088|      0|        _PyErr_SetKeyError(key);
 3089|      0|        return -1;
 3090|      0|    }
 3091|       |
 3092|  1.97k|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3093|  1.97k|    delitem_common(mp, hash, ix, old_value);
 3094|  1.97k|    return 0;
 3095|  1.97k|}
_PyDict_DelItem_KnownHash:
 3099|  1.93k|{
 3100|  1.93k|    int res;
 3101|  1.93k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  1.93k|    {
  ------------------
 3102|  1.93k|    res = _PyDict_DelItem_KnownHash_LockHeld(op, key, hash);
 3103|  1.93k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.93k|    }
  ------------------
 3104|  1.93k|    return res;
 3105|  1.93k|}
_PyDict_DelItemIf:
 3153|    502|{
 3154|    502|    assert(PyDict_Check(op));
  ------------------
  |  Branch (3154:5): [True: 502, False: 0]
  ------------------
 3155|    502|    int res;
 3156|    502|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    502|    {
  ------------------
 3157|    502|    res = delitemif_lock_held(op, key, predicate, arg);
 3158|    502|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    502|    }
  ------------------
 3159|    502|    return res;
 3160|    502|}
PyDict_Clear:
 3267|     19|{
 3268|     19|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     19|    {
  ------------------
 3269|     19|    clear_lock_held(op);
 3270|     19|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     19|    }
  ------------------
 3271|     19|}
_PyDict_Next:
 3281|  63.2k|{
 3282|  63.2k|    Py_ssize_t i;
 3283|  63.2k|    PyDictObject *mp;
 3284|  63.2k|    PyObject *key, *value;
 3285|  63.2k|    Py_hash_t hash;
 3286|       |
 3287|  63.2k|    if (!PyAnyDict_Check(op))
  ------------------
  |  |   43|  63.2k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  63.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   126k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 63.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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3288|      0|        return 0;
 3289|       |
 3290|  63.2k|    mp = (PyDictObject *)op;
 3291|  63.2k|    i = *ppos;
 3292|  63.2k|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|  63.2k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 63.2k]
  |  |  ------------------
  ------------------
 3293|      0|        assert(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (3293:9): [True: 0, False: 0]
  ------------------
 3294|      0|        if (i < 0 || i >= mp->ma_used)
  ------------------
  |  Branch (3294:13): [True: 0, False: 0]
  |  Branch (3294:22): [True: 0, False: 0]
  ------------------
 3295|      0|            return 0;
 3296|      0|        int index = get_index_from_order(mp, i);
 3297|      0|        value = mp->ma_values->values[index];
 3298|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(mp->ma_keys)[index].me_key);
  ------------------
  |  |  260|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 3299|      0|        hash = unicode_get_hash(key);
 3300|      0|        assert(value != NULL);
  ------------------
  |  Branch (3300:9): [True: 0, False: 0]
  ------------------
 3301|      0|    }
 3302|  63.2k|    else {
 3303|  63.2k|        Py_ssize_t n = mp->ma_keys->dk_nentries;
 3304|  63.2k|        if (i < 0 || i >= n)
  ------------------
  |  Branch (3304:13): [True: 0, False: 63.2k]
  |  Branch (3304:22): [True: 4.48k, False: 58.7k]
  ------------------
 3305|  4.48k|            return 0;
 3306|  58.7k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  303|  58.7k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 50.6k, False: 8.15k]
  |  |  ------------------
  ------------------
 3307|  50.6k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(mp->ma_keys)[i];
 3308|  55.4k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3308:20): [True: 55.3k, False: 128]
  |  Branch (3308:29): [True: 4.83k, False: 50.4k]
  ------------------
 3309|  4.83k|                entry_ptr++;
 3310|  4.83k|                i++;
 3311|  4.83k|            }
 3312|  50.6k|            if (i >= n)
  ------------------
  |  Branch (3312:17): [True: 128, False: 50.4k]
  ------------------
 3313|    128|                return 0;
 3314|  50.4k|            key = entry_ptr->me_key;
 3315|  50.4k|            hash = unicode_get_hash(entry_ptr->me_key);
 3316|  50.4k|            value = entry_ptr->me_value;
 3317|  50.4k|        }
 3318|  8.15k|        else {
 3319|  8.15k|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(mp->ma_keys)[i];
 3320|  8.15k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3320:20): [True: 8.15k, False: 0]
  |  Branch (3320:29): [True: 0, False: 8.15k]
  ------------------
 3321|      0|                entry_ptr++;
 3322|      0|                i++;
 3323|      0|            }
 3324|  8.15k|            if (i >= n)
  ------------------
  |  Branch (3324:17): [True: 0, False: 8.15k]
  ------------------
 3325|      0|                return 0;
 3326|  8.15k|            key = entry_ptr->me_key;
 3327|  8.15k|            hash = entry_ptr->me_hash;
 3328|  8.15k|            value = entry_ptr->me_value;
 3329|  8.15k|        }
 3330|  58.7k|    }
 3331|  58.6k|    *ppos = i+1;
 3332|  58.6k|    if (pkey)
  ------------------
  |  Branch (3332:9): [True: 58.6k, False: 0]
  ------------------
 3333|  58.6k|        *pkey = key;
 3334|  58.6k|    if (pvalue)
  ------------------
  |  Branch (3334:9): [True: 56.2k, False: 2.35k]
  ------------------
 3335|  56.2k|        *pvalue = value;
 3336|  58.6k|    if (phash)
  ------------------
  |  Branch (3336:9): [True: 48.8k, False: 9.73k]
  ------------------
 3337|  48.8k|        *phash = hash;
 3338|  58.6k|    return 1;
 3339|  63.2k|}
PyDict_Next:
 3361|  8.55k|{
 3362|       |    return _PyDict_Next(op, ppos, pkey, pvalue, NULL);
 3363|  8.55k|}
_PyDict_Pop_KnownHash:
 3370|    562|{
 3371|    562|    assert(PyDict_Check(mp));
  ------------------
  |  Branch (3371:5): [True: 562, False: 0]
  ------------------
 3372|    562|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3372:5): [True: 562, False: 0]
  ------------------
 3373|       |
 3374|    562|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (3374:9): [True: 0, False: 562]
  ------------------
 3375|      0|        if (result) {
  ------------------
  |  Branch (3375:13): [True: 0, False: 0]
  ------------------
 3376|      0|            *result = NULL;
 3377|      0|        }
 3378|      0|        return 0;
 3379|      0|    }
 3380|       |
 3381|    562|    PyObject *old_value;
 3382|    562|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3383|    562|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|    562|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3383:9): [True: 0, False: 562]
  ------------------
 3384|      0|        if (result) {
  ------------------
  |  Branch (3384:13): [True: 0, False: 0]
  ------------------
 3385|      0|            *result = NULL;
 3386|      0|        }
 3387|      0|        return -1;
 3388|      0|    }
 3389|       |
 3390|    562|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  194|  1.12k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3390:9): [True: 81, False: 481]
  |  Branch (3390:29): [True: 0, False: 481]
  ------------------
 3391|     81|        if (result) {
  ------------------
  |  Branch (3391:13): [True: 78, False: 3]
  ------------------
 3392|     78|            *result = NULL;
 3393|     78|        }
 3394|     81|        return 0;
 3395|     81|    }
 3396|       |
 3397|    562|    assert(old_value != NULL);
  ------------------
  |  Branch (3397:5): [True: 481, False: 0]
  ------------------
 3398|    481|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3399|    481|    delitem_common(mp, hash, ix, Py_NewRef(old_value));
  ------------------
  |  |  647|    481|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    481|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    481|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3400|       |
 3401|    481|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|    481|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3401:5): [True: 481, False: 0]
  ------------------
 3402|    481|    if (result) {
  ------------------
  |  Branch (3402:9): [True: 481, False: 0]
  ------------------
 3403|    481|        *result = old_value;
 3404|    481|    }
 3405|      0|    else {
 3406|      0|        Py_DECREF(old_value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3407|      0|    }
 3408|    481|    return 1;
 3409|    481|}
PyDict_Pop:
 3449|    563|{
 3450|    563|    int err;
 3451|    563|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    563|    {
  ------------------
 3452|    563|    err = pop_lock_held(op, key, result);
 3453|    563|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    563|    }
  ------------------
 3454|       |
 3455|    563|    return err;
 3456|    563|}
_PyDict_FromKeys:
 3550|      5|{
 3551|      5|    PyObject *it = NULL;       /* iter(iterable) */
 3552|      5|    PyObject *d;
 3553|      5|    int need_copy = 0;
 3554|       |
 3555|      5|    if (cls == (PyObject*)&PyFrozenDict_Type) {
  ------------------
  |  Branch (3555:9): [True: 0, False: 5]
  ------------------
 3556|       |        // gh-151722: Create a frozendict which is not tracked by the GC.
 3557|      0|        d = frozendict_new_untracked(&PyFrozenDict_Type);
 3558|      0|    }
 3559|      5|    else {
 3560|       |        // Dict subclass, or frozendict subclass which overrides
 3561|       |        // the constructor.
 3562|      5|        d = _PyObject_CallNoArgs(cls);
 3563|      5|    }
 3564|      5|    if (d == NULL) {
  ------------------
  |  Branch (3564:9): [True: 0, False: 5]
  ------------------
 3565|      0|        return NULL;
 3566|      0|    }
 3567|       |
 3568|       |    // gh-151722: If cls constructor returns a frozendict which is tracked by
 3569|       |    // the GC, create a frozendict copy which is not tracked by the GC.
 3570|       |    //
 3571|       |    // At the function exit, return cls(fd) where fd is a frozendict.
 3572|       |    //
 3573|       |    // Untracking the frozendict requires tracking again the frozendict on
 3574|       |    // error which is more complicated. It's easier to work on a copy.
 3575|      5|    if (PyFrozenDict_Check(d) && _PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   37|      5|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|     10|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyFrozenDict_Check(d) && _PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   81|      0|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3576|      0|        need_copy = 1;
 3577|       |
 3578|      0|        PyObject *copy = frozendict_new_untracked(&PyFrozenDict_Type);
 3579|      0|        if (copy == NULL) {
  ------------------
  |  Branch (3579:13): [True: 0, False: 0]
  ------------------
 3580|      0|            goto Fail;
 3581|      0|        }
 3582|      0|        if (dict_merge(copy, d, 1, NULL) < 0) {
  ------------------
  |  Branch (3582:13): [True: 0, False: 0]
  ------------------
 3583|      0|            Py_DECREF(copy);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3584|      0|            goto Fail;
 3585|      0|        }
 3586|      0|        Py_SETREF(d, copy);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3587|      0|    }
 3588|      5|    if (PyFrozenDict_Check(d)) {
  ------------------
  |  |   37|      5|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      5|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3589|      0|        assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (3589:9): [True: 0, False: 0]
  ------------------
 3590|      0|    }
 3591|       |
 3592|      5|    if (PyDict_CheckExact(d)) {
  ------------------
  |  |   19|      5|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_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 (215:32): [True: 5, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3593|      5|        if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|      5|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_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 (215:32): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3594|      0|            PyDictObject *mp = (PyDictObject *)d;
 3595|       |
 3596|      0|            Py_BEGIN_CRITICAL_SECTION2(d, iterable);
  ------------------
  |  |   57|      0|    {
  ------------------
 3597|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3598|      0|            Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 3599|      0|            goto Done;
 3600|      0|        }
 3601|      5|        else if (PyFrozenDict_CheckExact(iterable)) {
  ------------------
  |  |   38|      5|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_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 (215:32): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3602|      0|            PyDictObject *mp = (PyDictObject *)d;
 3603|       |
 3604|      0|            Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|      0|    {
  ------------------
 3605|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3606|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3607|      0|            goto Done;
 3608|      0|        }
 3609|      5|        else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|      5|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|     10|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_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 (215:32): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3610|      0|            PyDictObject *mp = (PyDictObject *)d;
 3611|       |
 3612|      0|            Py_BEGIN_CRITICAL_SECTION2(d, iterable);
  ------------------
  |  |   57|      0|    {
  ------------------
 3613|      0|            d = (PyObject *)dict_set_fromkeys(mp, iterable, value);
 3614|      0|            Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 3615|      0|            goto Done;
 3616|      0|        }
 3617|      5|    }
 3618|      0|    else if (PyFrozenDict_CheckExact(d)) {
  ------------------
  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3619|      0|        if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3620|      0|            PyDictObject *mp = (PyDictObject *)d;
 3621|       |
 3622|      0|            Py_BEGIN_CRITICAL_SECTION(iterable);
  ------------------
  |  |   51|      0|    {
  ------------------
 3623|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3624|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3625|      0|            goto Done;
 3626|      0|        }
 3627|      0|        else if (PyFrozenDict_CheckExact(iterable)) {
  ------------------
  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3628|      0|            PyDictObject *mp = (PyDictObject *)d;
 3629|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3630|      0|            goto Done;
 3631|      0|        }
 3632|      0|        else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|      0|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3633|      0|            PyDictObject *mp = (PyDictObject *)d;
 3634|       |
 3635|      0|            Py_BEGIN_CRITICAL_SECTION(iterable);
  ------------------
  |  |   51|      0|    {
  ------------------
 3636|      0|            d = (PyObject *)dict_set_fromkeys(mp, iterable, value);
 3637|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3638|      0|            goto Done;
 3639|      0|        }
 3640|      0|    }
 3641|       |
 3642|      5|    it = PyObject_GetIter(iterable);
 3643|      5|    if (it == NULL){
  ------------------
  |  Branch (3643:9): [True: 0, False: 5]
  ------------------
 3644|      0|        goto Fail;
 3645|      0|    }
 3646|       |
 3647|      5|    if (PyDict_CheckExact(d)) {
  ------------------
  |  |   19|      5|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_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 (215:32): [True: 5, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3648|      5|        int status = 0;
 3649|       |
 3650|      5|        Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|      5|    {
  ------------------
 3651|     27|        while (1) {
  ------------------
  |  Branch (3651:16): [True: 27, Folded]
  ------------------
 3652|     27|            PyObject *key;
 3653|     27|            status = PyIter_NextItem(it, &key);
 3654|     27|            if (status <= 0) {
  ------------------
  |  Branch (3654:17): [True: 5, False: 22]
  ------------------
 3655|      5|                break;
 3656|      5|            }
 3657|       |
 3658|     22|            status = setitem_lock_held((PyDictObject *)d, key, value);
 3659|     22|            Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3660|     22|            if (status < 0) {
  ------------------
  |  Branch (3660:17): [True: 0, False: 22]
  ------------------
 3661|      0|                break;
 3662|      0|            }
 3663|     22|        }
 3664|      5|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      5|    }
  ------------------
 3665|       |
 3666|      5|        if (status < 0) {
  ------------------
  |  Branch (3666:13): [True: 0, False: 5]
  ------------------
 3667|      0|            goto Fail;
 3668|      0|        }
 3669|      5|    }
 3670|      0|    else if (PyFrozenDict_Check(d)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3671|      0|        while (1) {
  ------------------
  |  Branch (3671:16): [True: 0, Folded]
  ------------------
 3672|      0|            PyObject *key;
 3673|      0|            int status = PyIter_NextItem(it, &key);
 3674|      0|            if (status < 0) {
  ------------------
  |  Branch (3674:17): [True: 0, False: 0]
  ------------------
 3675|      0|                goto Fail;
 3676|      0|            }
 3677|      0|            if (status == 0) {
  ------------------
  |  Branch (3677:17): [True: 0, False: 0]
  ------------------
 3678|      0|                break;
 3679|      0|            }
 3680|       |
 3681|       |            // setitem_take2_lock_held consumes a reference to key
 3682|      0|            status = setitem_take2_lock_held((PyDictObject *)d,
 3683|      0|                                             key, Py_NewRef(value));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3684|      0|            if (status < 0) {
  ------------------
  |  Branch (3684:17): [True: 0, False: 0]
  ------------------
 3685|      0|                goto Fail;
 3686|      0|            }
 3687|      0|        }
 3688|      0|    }
 3689|      0|    else {
 3690|      0|        while (1) {
  ------------------
  |  Branch (3690:16): [True: 0, Folded]
  ------------------
 3691|      0|            PyObject *key;
 3692|      0|            int status = PyIter_NextItem(it, &key);
 3693|      0|            if (status < 0) {
  ------------------
  |  Branch (3693:17): [True: 0, False: 0]
  ------------------
 3694|      0|                goto Fail;
 3695|      0|            }
 3696|      0|            if (status == 0) {
  ------------------
  |  Branch (3696:17): [True: 0, False: 0]
  ------------------
 3697|      0|                break;
 3698|      0|            }
 3699|       |
 3700|      0|            status = PyObject_SetItem(d, key, value);
 3701|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3702|      0|            if (status < 0) {
  ------------------
  |  Branch (3702:17): [True: 0, False: 0]
  ------------------
 3703|      0|                goto Fail;
 3704|      0|            }
 3705|      0|        }
 3706|       |
 3707|      0|    }
 3708|       |
 3709|      5|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (3709:5): [True: 5, False: 0]
  ------------------
 3710|      5|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3711|      5|    goto Done;
 3712|       |
 3713|      0|Fail:
 3714|      0|    assert(PyErr_Occurred());
  ------------------
  |  Branch (3714:5): [True: 0, False: 0]
  ------------------
 3715|      0|    Py_XDECREF(it);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3716|      0|    Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3717|      0|    return NULL;
 3718|       |
 3719|      5|Done:
 3720|      5|    if (d == NULL) {
  ------------------
  |  Branch (3720:9): [True: 0, False: 5]
  ------------------
 3721|      0|        return NULL;
 3722|      0|    }
 3723|       |
 3724|      5|    if (need_copy) {
  ------------------
  |  Branch (3724:9): [True: 0, False: 5]
  ------------------
 3725|      0|        PyObject *copy = _PyObject_CallOneArg(cls, d);
  ------------------
  |  |   47|      0|#define _PyObject_CallOneArg PyObject_CallOneArg
  ------------------
 3726|      0|        Py_SETREF(d, copy);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3727|      0|    }
 3728|      5|    else if (!_PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   81|      5|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3728:14): [True: 0, False: 5]
  ------------------
 3729|      0|        _PyObject_GC_TRACK(d);
  ------------------
  |  |  502|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3730|      0|    }
 3731|      5|    return d;
 3732|      5|}
_PyDict_SubscriptKnownHash:
 3887|  2.79k|{
 3888|  2.79k|    PyDictObject *mp = (PyDictObject *)self;
 3889|  2.79k|    Py_ssize_t ix;
 3890|  2.79k|    PyObject *value;
 3891|       |
 3892|  2.79k|    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 3893|  2.79k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  196|  2.79k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3893:9): [True: 0, False: 2.79k]
  ------------------
 3894|      0|        return NULL;
 3895|  2.79k|    if (ix == DKIX_EMPTY || value == NULL) {
  ------------------
  |  |  194|  5.59k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3895:9): [True: 1.01k, False: 1.78k]
  |  Branch (3895:29): [True: 0, False: 1.78k]
  ------------------
 3896|  1.01k|        if (!PyAnyDict_CheckExact(mp)) {
  ------------------
  |  |   41|  1.01k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  1.01k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  2.02k|#  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 (215:32): [True: 989, False: 21]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|     21|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     21|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 21]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3897|       |            /* Look up __missing__ method if we're a subclass. */
 3898|     21|            PyObject *missing, *res;
 3899|     21|            missing = _PyObject_LookupSpecial(
 3900|     21|                    (PyObject *)mp, &_Py_ID(__missing__));
  ------------------
  |  |  951|     21|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     21|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     21|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3901|     21|            if (missing != NULL) {
  ------------------
  |  Branch (3901:17): [True: 0, False: 21]
  ------------------
 3902|      0|                res = PyObject_CallOneArg(missing, key);
 3903|      0|                Py_DECREF(missing);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3904|      0|                return res;
 3905|      0|            }
 3906|     21|            else if (PyErr_Occurred())
  ------------------
  |  Branch (3906:22): [True: 0, False: 21]
  ------------------
 3907|      0|                return NULL;
 3908|     21|        }
 3909|  1.01k|        _PyErr_SetKeyError(key);
 3910|  1.01k|        return NULL;
 3911|  1.01k|    }
 3912|  1.78k|    return value;
 3913|  2.79k|}
_PyDict_Subscript:
 3917|  2.79k|{
 3918|  2.79k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3919|  2.79k|    if (hash == -1) {
  ------------------
  |  Branch (3919:9): [True: 0, False: 2.79k]
  ------------------
 3920|      0|        dict_unhashable_type(self, key);
 3921|      0|        return NULL;
 3922|      0|    }
 3923|  2.79k|    return _PyDict_SubscriptKnownHash(self, key, hash);
 3924|  2.79k|}
_PyDict_StoreSubscript:
 3928|    707|{
 3929|    707|    if (w == NULL)
  ------------------
  |  Branch (3929:9): [True: 502, False: 205]
  ------------------
 3930|    502|        return PyDict_DelItem(mp, v);
 3931|    205|    else
 3932|    205|        return PyDict_SetItem(mp, v, w);
 3933|    707|}
PyDict_Keys:
 3981|     16|{
 3982|     16|    PyObject *res;
 3983|     16|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|     16|    {
  ------------------
 3984|     16|    res = keys_lock_held(dict);
 3985|     16|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     16|    }
  ------------------
 3986|       |
 3987|     16|    return res;
 3988|     16|}
PyDict_Update:
 4513|    452|{
 4514|       |    return dict_merge_api(a, b, 1, NULL);
 4515|    452|}
_PyDict_MergeUniq:
 4526|    842|{
 4527|    842|    return dict_merge_api(a, b, 2, dupkey);
 4528|    842|}
PyDict_Copy:
 4689|    793|{
 4690|    793|    if (o == NULL || !PyDict_Check(o)) {
  ------------------
  |  |   18|    793|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    793|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4690:9): [True: 0, False: 793]
  |  Branch (4690:22): [True: 0, False: 793]
  ------------------
 4691|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4692|      0|        return NULL;
 4693|      0|    }
 4694|       |
 4695|    793|    PyObject *res;
 4696|    793|    Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|    793|    {
  ------------------
 4697|    793|    res = copy_lock_held_untracked(o, 0);
 4698|    793|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    793|    }
  ------------------
 4699|    793|    if (res != NULL) {
  ------------------
  |  Branch (4699:9): [True: 793, False: 0]
  ------------------
 4700|    793|        _PyObject_GC_TRACK(res);
  ------------------
  |  |  502|    793|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    793|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    793|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4701|    793|    }
 4702|    793|    return res;
 4703|    793|}
_PyDict_CopyAsDict:
 4728|    789|{
 4729|    789|    assert(PyAnyDict_Check(o));
  ------------------
  |  Branch (4729:5): [True: 789, False: 0]
  |  Branch (4729:5): [True: 0, False: 0]
  ------------------
 4730|       |
 4731|    789|    PyObject *res;
 4732|    789|    if (PyFrozenDict_Check(o)) {
  ------------------
  |  |   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 (378:40): [True: 0, False: 789]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4733|      0|        res = copy_lock_held_untracked(o, 0);
 4734|      0|    }
 4735|    789|    else {
 4736|    789|        Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|    789|    {
  ------------------
 4737|    789|        res = copy_lock_held_untracked(o, 0);
 4738|    789|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    789|    }
  ------------------
 4739|    789|    }
 4740|    789|    if (res != NULL) {
  ------------------
  |  Branch (4740:9): [True: 789, False: 0]
  ------------------
 4741|    789|        _PyObject_GC_TRACK(res);
  ------------------
  |  |  502|    789|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4742|    789|    }
 4743|    789|    return res;
 4744|    789|}
PyDict_Size:
 4748|      7|{
 4749|      7|    if (mp == NULL || !PyAnyDict_Check(mp)) {
  ------------------
  |  |   43|      7|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|      7|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     14|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 7, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4749:9): [True: 0, False: 7]
  ------------------
 4750|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4751|      0|        return -1;
 4752|      0|    }
 4753|      7|    return GET_USED((PyDictObject *)mp);
  ------------------
  |  |  328|      7|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  151|      7|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 4754|      7|}
PyDict_SetDefaultRef:
 5015|   621k|{
 5016|   621k|    int res;
 5017|   621k|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|   621k|    {
  ------------------
 5018|   621k|    res = dict_setdefault_ref_lock_held(d, key, default_value, result, 1);
 5019|   621k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   621k|    }
  ------------------
 5020|   621k|    return res;
 5021|   621k|}
_PyDict_KeysSize:
 5267|  1.61k|{
 5268|  1.61k|    size_t es = (keys->dk_kind == DICT_KEYS_GENERAL
  ------------------
  |  Branch (5268:18): [True: 0, False: 1.61k]
  ------------------
 5269|  1.61k|                 ? sizeof(PyDictKeyEntry) : sizeof(PyDictUnicodeEntry));
 5270|  1.61k|    size_t size = sizeof(PyDictKeysObject);
 5271|  1.61k|    size += (size_t)1 << keys->dk_log2_index_bytes;
 5272|  1.61k|    size += USABLE_FRACTION((size_t)DK_SIZE(keys)) * es;
  ------------------
  |  |  590|  1.61k|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
 5273|  1.61k|    return size;
 5274|  1.61k|}
PyDict_Contains:
 5388|  8.94k|{
 5389|  8.94k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  8.94k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  8.94k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  17.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 8.94k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5390|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 5391|      0|        return -1;
 5392|      0|    }
 5393|       |
 5394|  8.94k|    return dict_contains(op, key);
 5395|  8.94k|}
PyDict_ContainsString:
 5399|      3|{
 5400|      3|    PyObject *key_obj = PyUnicode_FromString(key);
 5401|      3|    if (key_obj == NULL) {
  ------------------
  |  Branch (5401:9): [True: 0, False: 3]
  ------------------
 5402|      0|        return -1;
 5403|      0|    }
 5404|      3|    int res = PyDict_Contains(op, key_obj);
 5405|      3|    Py_DECREF(key_obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5406|      3|    return res;
 5407|      3|}
_PyDict_Contains_KnownHash:
 5412|  8.97k|{
 5413|  8.97k|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  326|  8.97k|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|  8.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5413:24): [True: 8.97k, False: 0]
  |  Branch (5413:24): [True: 0, False: 0]
  ------------------
 5414|      0|    PyObject *value;
 5415|  8.97k|    Py_ssize_t ix;
 5416|       |
 5417|       |#ifdef Py_GIL_DISABLED
 5418|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 5419|       |#else
 5420|  8.97k|    ix = _Py_dict_lookup(mp, key, hash, &value);
 5421|  8.97k|#endif
 5422|  8.97k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  196|  8.97k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (5422:9): [True: 0, False: 8.97k]
  ------------------
 5423|      0|        return -1;
 5424|  8.97k|    if (ix != DKIX_EMPTY && value != NULL) {
  ------------------
  |  |  194|  17.9k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (5424:9): [True: 1.68k, False: 7.28k]
  |  Branch (5424:29): [True: 1.68k, False: 0]
  ------------------
 5425|       |#ifdef Py_GIL_DISABLED
 5426|       |        Py_DECREF(value);
 5427|       |#endif
 5428|  1.68k|        return 1;
 5429|  1.68k|    }
 5430|  7.28k|    return 0;
 5431|  8.97k|}
PyDict_GetItemStringRef:
 5665|    420|{
 5666|    420|    PyObject *key_obj = PyUnicode_FromString(key);
 5667|    420|    if (key_obj == NULL) {
  ------------------
  |  Branch (5667:9): [True: 0, False: 420]
  ------------------
 5668|      0|        *result = NULL;
 5669|      0|        return -1;
 5670|      0|    }
 5671|    420|    int res = PyDict_GetItemRef(v, key_obj, result);
 5672|    420|    Py_DECREF(key_obj);
  ------------------
  |  |  430|    420|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    420|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    420|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5673|    420|    return res;
 5674|    420|}
PyDict_SetItemString:
 5678|  1.92k|{
 5679|  1.92k|    PyObject *kv;
 5680|  1.92k|    int err;
 5681|  1.92k|    kv = PyUnicode_FromString(key);
 5682|  1.92k|    if (kv == NULL)
  ------------------
  |  Branch (5682:9): [True: 0, False: 1.92k]
  ------------------
 5683|      0|        return -1;
 5684|  1.92k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5685|  1.92k|    _PyUnicode_InternImmortal(interp, &kv); /* XXX Should we really? */
 5686|  1.92k|    err = PyDict_SetItem(v, kv, item);
 5687|  1.92k|    Py_DECREF(kv);
  ------------------
  |  |  430|  1.92k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5688|  1.92k|    return err;
 5689|  1.92k|}
_PyDictView_New:
 6576|    113|{
 6577|    113|    _PyDictViewObject *dv;
 6578|    113|    if (dict == NULL) {
  ------------------
  |  Branch (6578:9): [True: 0, False: 113]
  ------------------
 6579|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 6580|      0|        return NULL;
 6581|      0|    }
 6582|    113|    if (!PyAnyDict_Check(dict)) {
  ------------------
  |  |   43|    113|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    113|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    226|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 113, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6583|       |        /* XXX Get rid of this restriction later */
 6584|      0|        PyErr_Format(PyExc_TypeError,
 6585|      0|                     "%s() requires a dict argument, not '%s'",
 6586|      0|                     type->tp_name, Py_TYPE(dict)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6587|      0|        return NULL;
 6588|      0|    }
 6589|    113|    dv = PyObject_GC_New(_PyDictViewObject, type);
  ------------------
  |  |  181|    113|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6590|    113|    if (dv == NULL)
  ------------------
  |  Branch (6590:9): [True: 0, False: 113]
  ------------------
 6591|      0|        return NULL;
 6592|    113|    dv->dv_dict = (PyDictObject *)Py_NewRef(dict);
  ------------------
  |  |  647|    113|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6593|    113|    _PyObject_GC_TRACK(dv);
  ------------------
  |  |  502|    113|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6594|    113|    return (PyObject *)dv;
 6595|    113|}
_PyDict_NewKeysForClass:
 7374|    687|{
 7375|    687|    int log2_bytes = get_log2_bytes(NEXT_LOG2_SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  265|    687|#define NEXT_LOG2_SHARED_KEYS_MAX_SIZE 6
  ------------------
 7376|    687|    Py_ssize_t usable = USABLE_FRACTION((size_t)1<<NEXT_LOG2_SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  590|    687|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
 7377|       |
 7378|    687|    struct _instancekeysobject *shared_keys =
 7379|    687|                          PyMem_Malloc(sizeof(struct _instancekeysobject)
 7380|    687|                          + ((size_t)1 << log2_bytes)
 7381|    687|                          + sizeof(PyDictUnicodeEntry) * usable);
 7382|    687|    if (shared_keys == NULL) {
  ------------------
  |  Branch (7382:9): [True: 0, False: 687]
  ------------------
 7383|      0|        PyErr_Clear();
 7384|      0|        return NULL;
 7385|      0|    }
 7386|       |
 7387|    687|    shared_keys->dsk_owning_type = (PyTypeObject *)cls;
 7388|    687|    PyDictKeysObject* keys = &shared_keys->dsk_keys;
 7389|    687|    init_keys_object(keys, NEXT_LOG2_SHARED_KEYS_MAX_SIZE, log2_bytes, DICT_KEYS_SPLIT,
  ------------------
  |  |  265|    687|#define NEXT_LOG2_SHARED_KEYS_MAX_SIZE 6
  ------------------
 7390|    687|                     SHARED_KEYS_MAX_SIZE, sizeof(PyDictUnicodeEntry));
  ------------------
  |  |  264|    687|#define SHARED_KEYS_MAX_SIZE 30
  ------------------
 7391|    687|    assert(keys->dk_nentries == 0);
  ------------------
  |  Branch (7391:5): [True: 687, False: 0]
  ------------------
 7392|       |    /* Set to max size+1 as it will shrink by one before each new object */
 7393|    687|    if (cls->ht_type.tp_dict) {
  ------------------
  |  Branch (7393:9): [True: 687, False: 0]
  ------------------
 7394|    687|        PyObject *attrs = PyDict_GetItem(cls->ht_type.tp_dict, &_Py_ID(__static_attributes__));
  ------------------
  |  |  951|    687|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    687|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    687|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7395|    687|        if (attrs != NULL && PyTuple_Check(attrs)) {
  ------------------
  |  |   27|    681|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    681|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 681, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7395:13): [True: 681, False: 6]
  ------------------
 7396|    945|            for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(attrs); i++) {
  ------------------
  |  |   27|    945|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    945|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    945|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7396:36): [True: 264, False: 681]
  ------------------
 7397|    264|                PyObject *key = PyTuple_GET_ITEM(attrs, i);
  ------------------
  |  |   29|    264|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    264|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7397:33): [True: 264, False: 0]
  ------------------
 7398|      0|                Py_hash_t hash;
 7399|    264|                if (PyUnicode_CheckExact(key) && (hash = unicode_get_hash(key)) != -1) {
  ------------------
  |  |  104|    264|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    528|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 264, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7399:50): [True: 264, False: 0]
  ------------------
 7400|       |                    /* An attribute stored in a slot never uses the dict. */
 7401|    264|                    PyObject *descr = _PyType_Lookup((PyTypeObject *)cls, key);
 7402|    264|                    if (descr != NULL && Py_IS_TYPE(descr, &PyMemberDescr_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: 11, False: 10]
  |  |  ------------------
  ------------------
  |  Branch (7402:25): [True: 21, False: 243]
  ------------------
 7403|     11|                        continue;
 7404|     11|                    }
 7405|    253|                    if (insert_split_key(keys, key, hash) == DKIX_EMPTY) {
  ------------------
  |  |  194|    253|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7405:25): [True: 0, False: 253]
  ------------------
 7406|      0|                        break;
 7407|      0|                    }
 7408|    253|                }
 7409|    264|            }
 7410|    681|        }
 7411|    687|    }
 7412|    687|    return keys;
 7413|    687|}
_PyDict_RemoveKeysForClass:
 7417|      4|{
 7418|      4|    struct _instancekeysobject *shared_keys = _PyDictKeys_AsSharedKeys(cls->ht_cached_keys);
 7419|      4|    FT_ATOMIC_STORE_PTR_RELEASE(shared_keys->dsk_owning_type, NULL);
  ------------------
  |  |  166|      4|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7420|       |
 7421|      4|    _PyDictKeys_DecRef(cls->ht_cached_keys);
 7422|      4|}
_PyObject_InitInlineValues:
 7426|  3.24k|{
 7427|  3.24k|    assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  Branch (7427:5): [True: 3.24k, False: 0]
  ------------------
 7428|  3.24k|    assert(tp->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (7428:5): [True: 3.24k, False: 0]
  ------------------
 7429|  3.24k|    assert(tp->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (7429:5): [True: 3.24k, False: 0]
  ------------------
 7430|  3.24k|    PyDictKeysObject *keys = CACHED_KEYS(tp);
  ------------------
  |  |  911|  3.24k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7431|  3.24k|    assert(keys != NULL);
  ------------------
  |  Branch (7431:5): [True: 3.24k, False: 0]
  ------------------
 7432|  3.24k|    OBJECT_STAT_INC(inline_values);
  ------------------
  |  |   77|  3.24k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 7433|       |#ifdef Py_GIL_DISABLED
 7434|       |    Py_ssize_t usable = _Py_atomic_load_ssize_relaxed(&keys->dk_usable);
 7435|       |    if (usable > 1) {
 7436|       |        LOCK_KEYS(keys);
 7437|       |        if (keys->dk_usable > 1) {
 7438|       |            _Py_atomic_store_ssize(&keys->dk_usable, keys->dk_usable - 1);
 7439|       |        }
 7440|       |        UNLOCK_KEYS(keys);
 7441|       |    }
 7442|       |#else
 7443|  3.24k|    if (keys->dk_usable > 1) {
  ------------------
  |  Branch (7443:9): [True: 573, False: 2.66k]
  ------------------
 7444|    573|        keys->dk_usable--;
 7445|    573|    }
 7446|  3.24k|#endif
 7447|  3.24k|    size_t size = shared_keys_usable_size(keys);
 7448|  3.24k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7449|  3.24k|    assert(size < 256);
  ------------------
  |  Branch (7449:5): [True: 3.24k, False: 0]
  ------------------
 7450|  3.24k|    values->capacity = (uint8_t)size;
 7451|  3.24k|    values->size = 0;
 7452|  3.24k|    values->embedded = 1;
 7453|  3.24k|    values->valid = 1;
 7454|  26.5k|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (7454:24): [True: 23.3k, False: 3.24k]
  ------------------
 7455|  23.3k|        values->values[i] = NULL;
 7456|  23.3k|    }
 7457|       |    _PyObject_ManagedDictPointer(obj)->dict = NULL;
 7458|  3.24k|}
_PyDict_SetItem_LockHeld:
 7525|  36.9k|{
 7526|  36.9k|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|  36.9k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  36.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7526:9): [True: 0, False: 36.9k]
  ------------------
 7527|      0|        if (PyFrozenDict_Check(dict)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7528|      0|            if (value == NULL) {
  ------------------
  |  Branch (7528:17): [True: 0, False: 0]
  ------------------
 7529|      0|                frozendict_does_not_support("deletion");
  ------------------
  |  | 2855|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2856|      0|                    "not support item " WHAT)
  ------------------
 7530|      0|            }
 7531|      0|            else {
 7532|      0|                frozendict_does_not_support("assignment");
  ------------------
  |  | 2855|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2856|      0|                    "not support item " WHAT)
  ------------------
 7533|      0|            }
 7534|      0|        }
 7535|      0|        else {
 7536|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 7537|      0|        }
 7538|      0|        return -1;
 7539|      0|    }
 7540|       |
 7541|  36.9k|    if (value == NULL) {
  ------------------
  |  Branch (7541:9): [True: 36, False: 36.9k]
  ------------------
 7542|     36|        Py_hash_t hash = _PyObject_HashDictKey(name);
 7543|     36|        if (hash == -1) {
  ------------------
  |  Branch (7543:13): [True: 0, False: 36]
  ------------------
 7544|      0|            dict_unhashable_type((PyObject*)dict, name);
 7545|      0|            return -1;
 7546|      0|        }
 7547|     36|        return _PyDict_DelItem_KnownHash_LockHeld((PyObject *)dict, name, hash);
 7548|  36.9k|    } else {
 7549|  36.9k|        return setitem_lock_held(dict, name, value);
 7550|  36.9k|    }
 7551|  36.9k|}
_PyObject_StoreInstanceAttribute:
 7672|    830|{
 7673|    830|    PyDictValues *values = _PyObject_InlineValues(obj);
 7674|    830|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  156|    830|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7674:9): [True: 0, False: 830]
  ------------------
 7675|      0|        PyDictObject *dict;
 7676|      0|        int res;
 7677|       |#ifdef Py_GIL_DISABLED
 7678|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7679|       |#endif
 7680|      0|        dict = _PyObject_GetManagedDict(obj);
 7681|      0|        Py_XINCREF(dict);
  ------------------
  |  |  611|      0|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7682|       |#ifdef Py_GIL_DISABLED
 7683|       |        Py_END_CRITICAL_SECTION();
 7684|       |#endif
 7685|      0|        if (dict == NULL) {
  ------------------
  |  Branch (7685:13): [True: 0, False: 0]
  ------------------
 7686|      0|            dict = (PyDictObject *)PyObject_GenericGetDict(obj, NULL);
 7687|      0|            if (dict == NULL) {
  ------------------
  |  Branch (7687:17): [True: 0, False: 0]
  ------------------
 7688|      0|                return -1;
 7689|      0|            }
 7690|      0|        }
 7691|      0|        res = store_instance_attr_dict(obj, dict, name, value);
 7692|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7693|      0|        return res;
 7694|      0|    }
 7695|       |
 7696|       |#ifdef Py_GIL_DISABLED
 7697|       |    // We have a valid inline values, at least for now...  There are two potential
 7698|       |    // races with having the values become invalid.  One is the dictionary
 7699|       |    // being detached from the object.  The other is if someone is inserting
 7700|       |    // into the dictionary directly and therefore causing it to resize.
 7701|       |    //
 7702|       |    // If we haven't materialized the dictionary yet we lock on the object, which
 7703|       |    // will also be used to prevent the dictionary from being materialized while
 7704|       |    // we're doing the insertion.  If we race and the dictionary gets created
 7705|       |    // then we'll need to release the object lock and lock the dictionary to
 7706|       |    // prevent resizing.
 7707|       |    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7708|       |    if (dict == NULL) {
 7709|       |        int res;
 7710|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7711|       |        dict = _PyObject_GetManagedDict(obj);
 7712|       |
 7713|       |        if (dict == NULL) {
 7714|       |            res = store_instance_attr_lock_held(obj, values, name, value);
 7715|       |        }
 7716|       |        Py_END_CRITICAL_SECTION();
 7717|       |
 7718|       |        if (dict == NULL) {
 7719|       |            return res;
 7720|       |        }
 7721|       |    }
 7722|       |    return store_instance_attr_dict(obj, dict, name, value);
 7723|       |#else
 7724|    830|    return store_instance_attr_lock_held(obj, values, name, value);
 7725|    830|#endif
 7726|    830|}
_PyObject_TryGetInstanceAttribute:
 7763|  3.01k|{
 7764|  3.01k|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (7764:5): [True: 3.01k, False: 0]
  ------------------
 7765|  3.01k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7766|  3.01k|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  156|  3.01k|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7766:9): [True: 0, False: 3.01k]
  ------------------
 7767|      0|        return false;
 7768|      0|    }
 7769|       |
 7770|  3.01k|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  911|  3.01k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7771|  3.01k|    assert(keys != NULL);
  ------------------
  |  Branch (7771:5): [True: 3.01k, False: 0]
  ------------------
 7772|  3.01k|    Py_ssize_t ix = _PyDictKeys_StringLookupSplit(keys, name);
 7773|  3.01k|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|  3.01k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7773:9): [True: 460, False: 2.55k]
  ------------------
 7774|    460|        *attr = NULL;
 7775|    460|        return true;
 7776|    460|    }
 7777|       |
 7778|       |#ifdef Py_GIL_DISABLED
 7779|       |    PyObject *value = _Py_atomic_load_ptr_acquire(&values->values[ix]);
 7780|       |    if (value == NULL) {
 7781|       |        if (FT_ATOMIC_LOAD_UINT8(values->valid)) {
 7782|       |            *attr = NULL;
 7783|       |            return true;
 7784|       |        }
 7785|       |    }
 7786|       |    else if (_Py_TryIncrefCompare(&values->values[ix], value)) {
 7787|       |        *attr = value;
 7788|       |        return true;
 7789|       |    }
 7790|       |
 7791|       |    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7792|       |    if (dict == NULL) {
 7793|       |        // No dict, lock the object to prevent one from being
 7794|       |        // materialized...
 7795|       |        bool success = false;
 7796|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7797|       |
 7798|       |        dict = _PyObject_GetManagedDict(obj);
 7799|       |        if (dict == NULL) {
 7800|       |            // Still no dict, we can read from the values
 7801|       |            assert(values->valid);
 7802|       |            value = values->values[ix];
 7803|       |            *attr = _Py_XNewRefWithLock(value);
 7804|       |            success = true;
 7805|       |        }
 7806|       |
 7807|       |        Py_END_CRITICAL_SECTION();
 7808|       |
 7809|       |        if (success) {
 7810|       |            return true;
 7811|       |        }
 7812|       |    }
 7813|       |
 7814|       |    // We have a dictionary, we'll need to lock it to prevent
 7815|       |    // the values from being resized.
 7816|       |    assert(dict != NULL);
 7817|       |
 7818|       |    bool success;
 7819|       |    Py_BEGIN_CRITICAL_SECTION(dict);
 7820|       |
 7821|       |    if (dict->ma_values == values && FT_ATOMIC_LOAD_UINT8(values->valid)) {
 7822|       |        value = _Py_atomic_load_ptr_consume(&values->values[ix]);
 7823|       |        *attr = _Py_XNewRefWithLock(value);
 7824|       |        success = true;
 7825|       |    } else {
 7826|       |        // Caller needs to lookup from the dictionary
 7827|       |        success = false;
 7828|       |    }
 7829|       |
 7830|       |    Py_END_CRITICAL_SECTION();
 7831|       |
 7832|       |    return success;
 7833|       |#else
 7834|  2.55k|    PyObject *value = values->values[ix];
 7835|  2.55k|    *attr = Py_XNewRef(value);
  ------------------
  |  |  648|  2.55k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7836|       |    return true;
 7837|  3.01k|#endif
 7838|  3.01k|}
PyObject_VisitManagedDict:
 7876|  56.6k|{
 7877|  56.6k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  56.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  56.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7878|  56.6k|    if((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|  56.6k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (7878:8): [True: 0, False: 56.6k]
  ------------------
 7879|      0|        return 0;
 7880|      0|    }
 7881|  56.6k|    PyDictObject *dict = _PyObject_ManagedDictPointer(obj)->dict;
 7882|  56.6k|    if (dict != NULL) {
  ------------------
  |  Branch (7882:9): [True: 25.1k, False: 31.4k]
  ------------------
 7883|       |        // GH-130327: If there's a managed dictionary available, we should
 7884|       |        // *always* traverse it. The dict is responsible for traversing the
 7885|       |        // inline values if it points to them.
 7886|  25.1k|        Py_VISIT(dict);
  ------------------
  |  |  194|  25.1k|    do {                                                                \
  |  |  195|  25.1k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 25.1k, False: 0]
  |  |  ------------------
  |  |  196|  25.1k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  25.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  25.1k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 25.1k]
  |  |  ------------------
  |  |  198|  25.1k|                return vret;                                            \
  |  |  199|  25.1k|        }                                                               \
  |  |  200|  25.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 25.1k]
  |  |  ------------------
  ------------------
 7887|  25.1k|    }
 7888|  31.4k|    else if (tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  31.4k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7888:14): [True: 31.4k, False: 74]
  ------------------
 7889|  31.4k|        PyDictValues *values = _PyObject_InlineValues(obj);
 7890|  31.4k|        if (values->valid) {
  ------------------
  |  Branch (7890:13): [True: 31.4k, False: 0]
  ------------------
 7891|   593k|            for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7891:36): [True: 562k, False: 31.4k]
  ------------------
 7892|   562k|                Py_VISIT(values->values[i]);
  ------------------
  |  |  194|   562k|    do {                                                                \
  |  |  195|   562k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 114k, False: 447k]
  |  |  ------------------
  |  |  196|   114k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   114k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   114k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   114k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 114k]
  |  |  ------------------
  |  |  198|   114k|                return vret;                                            \
  |  |  199|   114k|        }                                                               \
  |  |  200|   562k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 562k]
  |  |  ------------------
  ------------------
 7893|   562k|            }
 7894|  31.4k|        }
 7895|  31.4k|    }
 7896|  56.6k|    return 0;
 7897|  56.6k|}
PyObject_ClearManagedDict:
 8119|  2.77k|{
 8120|       |    // This is called when the object is being freed or cleared
 8121|       |    // by the GC and therefore known to have no references.
 8122|  2.77k|    if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  213|  2.77k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  2.77k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (8122:9): [True: 2.76k, False: 7]
  ------------------
 8123|  2.76k|        PyDictObject *dict = _PyObject_GetManagedDict(obj);
 8124|  2.76k|        if (dict == NULL) {
  ------------------
  |  Branch (8124:13): [True: 2.76k, False: 0]
  ------------------
 8125|       |            // We have no materialized dictionary and inline values
 8126|       |            // that just need to be cleared.
 8127|       |            // No dict to clear, we're done
 8128|  2.76k|            clear_inline_values(_PyObject_InlineValues(obj));
 8129|  2.76k|            return;
 8130|  2.76k|        }
 8131|      0|        if (FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_values) ==
  ------------------
  |  |  152|      0|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  |  Branch (8131:13): [True: 0, False: 0]
  ------------------
 8132|      0|                    _PyObject_InlineValues(obj)) {
 8133|       |            // We have a materialized object which points at the inline
 8134|       |            // values. We need to materialize the keys. Nothing can modify
 8135|       |            // this object, but we need to lock the dictionary.
 8136|      0|            int err;
 8137|      0|            Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|      0|    {
  ------------------
 8138|      0|            err = detach_dict_from_object(dict, obj);
 8139|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 8140|       |
 8141|      0|            if (err) {
  ------------------
  |  Branch (8141:17): [True: 0, False: 0]
  ------------------
 8142|       |                /* Must be out of memory */
 8143|      0|                assert(PyErr_Occurred() == PyExc_MemoryError);
  ------------------
  |  Branch (8143:17): [True: 0, False: 0]
  ------------------
 8144|      0|                PyErr_FormatUnraisable("Exception ignored while "
 8145|      0|                                       "clearing an object managed dict");
 8146|       |                /* Clear the dict */
 8147|      0|                Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|      0|    {
  ------------------
 8148|      0|                PyDictKeysObject *oldkeys = dict->ma_keys;
 8149|      0|                ensure_shared_on_resize(dict);
 8150|      0|                set_keys(dict, Py_EMPTY_KEYS);
  ------------------
  |  |  660|      0|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 8151|      0|                dict->ma_values = NULL;
 8152|      0|                dictkeys_decref(oldkeys, IS_DICT_SHARED(dict));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 8153|      0|                STORE_USED(dict, 0);
  ------------------
  |  |  336|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 8154|      0|                clear_inline_values(_PyObject_InlineValues(obj));
 8155|      0|                Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 8156|      0|            }
 8157|      0|        }
 8158|      0|    }
 8159|      7|    Py_CLEAR(_PyObject_ManagedDictPointer(obj)->dict);
  ------------------
  |  |  487|      7|    do { \
  |  |  488|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  491|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      7|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      7|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      7|        } \
  |  |  494|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 8160|      7|}
PyObject_GenericGetDict:
 8235|     38|{
 8236|     38|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|     38|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8237|     38|    if (_PyType_HasFeature(tp, Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|     38|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (8237:9): [True: 0, False: 38]
  ------------------
 8238|      0|        return Py_XNewRef(ensure_managed_dict(obj));
  ------------------
  |  |  648|      0|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8239|      0|    }
 8240|     38|    else {
 8241|     38|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 8242|     38|        if (dictptr == NULL) {
  ------------------
  |  Branch (8242:13): [True: 0, False: 38]
  ------------------
 8243|      0|            PyErr_SetString(PyExc_AttributeError,
 8244|      0|                            "This object has no __dict__");
 8245|      0|            return NULL;
 8246|      0|        }
 8247|       |
 8248|     38|        return Py_XNewRef(ensure_nonmanaged_dict(obj, dictptr));
  ------------------
  |  |  648|     38|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8249|     38|    }
 8250|     38|}
_PyObjectDict_SetItem:
 8255|  36.8k|{
 8256|  36.8k|    PyObject *dict;
 8257|  36.8k|    int res;
 8258|       |
 8259|  36.8k|    assert(dictptr != NULL);
  ------------------
  |  Branch (8259:5): [True: 36.8k, False: 0]
  ------------------
 8260|  36.8k|    dict = ensure_nonmanaged_dict(obj, dictptr);
 8261|  36.8k|    if (dict == NULL) {
  ------------------
  |  Branch (8261:9): [True: 0, False: 36.8k]
  ------------------
 8262|      0|        return -1;
 8263|      0|    }
 8264|       |
 8265|  36.8k|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|  36.8k|    {
  ------------------
 8266|  36.8k|    res = _PyDict_SetItem_LockHeld((PyDictObject *)dict, key, value);
 8267|  36.8k|    ASSERT_CONSISTENT(dict);
  ------------------
  |  |  668|  36.8k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (8267:5): [True: 36.8k, False: 0]
  ------------------
 8268|  36.8k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  36.8k|    }
  ------------------
 8269|  36.8k|    return res;
 8270|  36.8k|}
_PyDictKeys_DecRef:
 8274|      4|{
 8275|       |    dictkeys_decref(keys, false);
 8276|      4|}
_PyDictKeys_GetVersionForCurrentState:
 8305|  2.37k|{
 8306|  2.37k|    uint32_t dk_version = FT_ATOMIC_LOAD_UINT32_RELAXED(dictkeys->dk_version);
  ------------------
  |  |  161|  2.37k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  ------------------
 8307|  2.37k|    if (dk_version != 0) {
  ------------------
  |  Branch (8307:9): [True: 2.17k, False: 199]
  ------------------
 8308|  2.17k|        return dk_version;
 8309|  2.17k|    }
 8310|    199|    dk_version = get_next_dict_keys_version(interp);
 8311|    199|    FT_ATOMIC_STORE_UINT32_RELAXED(dictkeys->dk_version, dk_version);
  ------------------
  |  |  175|    199|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 8312|    199|    return dk_version;
 8313|  2.37k|}
_PyDict_GetKeysVersionForCurrentState:
 8318|  2.07k|{
 8319|  2.07k|    ASSERT_DICT_LOCKED((PyObject *) dict);
 8320|  2.07k|    uint32_t dk_version =
 8321|  2.07k|        _PyDictKeys_GetVersionForCurrentState(interp, dict->ma_keys);
 8322|  2.07k|    ensure_shared_on_keys_version_assignment(dict);
 8323|  2.07k|    return dk_version;
 8324|  2.07k|}
PyDict_Watch:
 8348|  1.96k|{
 8349|  1.96k|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|  1.96k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.96k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8349:9): [True: 0, False: 1.96k]
  ------------------
 8350|      0|        PyErr_SetString(PyExc_ValueError, "Cannot watch non-dictionary");
 8351|      0|        return -1;
 8352|      0|    }
 8353|  1.96k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8354|  1.96k|    if (validate_watcher_id(interp, watcher_id)) {
  ------------------
  |  Branch (8354:9): [True: 0, False: 1.96k]
  ------------------
 8355|      0|        return -1;
 8356|      0|    }
 8357|  1.96k|    FT_ATOMIC_OR_UINT64(((PyDictObject*)dict)->_ma_watcher_tag,
  ------------------
  |  |  177|  1.96k|#define FT_ATOMIC_OR_UINT64(value, new_value) (void)(value |= new_value)
  ------------------
 8358|  1.96k|                        1ULL << watcher_id);
 8359|  1.96k|    return 0;
 8360|  1.96k|}
_PyDict_SendEvent:
 8435|  8.13k|{
 8436|  8.13k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8437|  73.2k|    for (int i = 0; i < DICT_MAX_WATCHERS; i++) {
  ------------------
  |  |   11|  73.2k|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8437:21): [True: 65.1k, False: 8.13k]
  ------------------
 8438|  65.1k|        if (watcher_bits & 1) {
  ------------------
  |  Branch (8438:13): [True: 8.13k, False: 56.9k]
  ------------------
 8439|  8.13k|            PyDict_WatchCallback cb = FT_ATOMIC_LOAD_PTR_ACQUIRE(
  ------------------
  |  |  152|  8.13k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 8440|  8.13k|                interp->dict_state.watchers[i]);
 8441|  8.13k|            if (cb && (cb(event, (PyObject*)mp, key, value) < 0)) {
  ------------------
  |  Branch (8441:17): [True: 8.13k, False: 0]
  |  Branch (8441:23): [True: 0, False: 8.13k]
  ------------------
 8442|       |                // We don't want to resurrect the dict by potentially having an
 8443|       |                // unraisablehook keep a reference to it, so we don't pass the
 8444|       |                // dict as context, just an informative string message.  Dict
 8445|       |                // repr can call arbitrary code, so we invent a simpler version.
 8446|      0|                PyErr_FormatUnraisable(
 8447|      0|                    "Exception ignored in %s watcher callback for <dict at %p>",
 8448|      0|                    dict_event_name(event), mp);
 8449|      0|            }
 8450|  8.13k|        }
 8451|  65.1k|        watcher_bits >>= 1;
 8452|  65.1k|    }
 8453|  8.13k|}
dictobject.c:dictkeys_get_index:
  528|  21.9M|{
  529|  21.9M|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  281|  21.9M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  313|  21.9M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  530|  21.9M|    Py_ssize_t ix;
  531|       |
  532|  21.9M|    if (log2size < 8) {
  ------------------
  |  Branch (532:9): [True: 20.3M, False: 1.63M]
  ------------------
  533|  20.3M|        ix = LOAD_INDEX(keys, 8, i);
  ------------------
  |  |  271|  20.3M|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  534|  20.3M|    }
  535|  1.63M|    else if (log2size < 16) {
  ------------------
  |  Branch (535:14): [True: 1.63M, False: 0]
  ------------------
  536|  1.63M|        ix = LOAD_INDEX(keys, 16, i);
  ------------------
  |  |  271|  1.63M|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  537|  1.63M|    }
  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|  21.9M|    assert(ix >= DKIX_DUMMY);
  ------------------
  |  Branch (546:5): [True: 21.9M, False: 0]
  ------------------
  547|  21.9M|    return ix;
  548|  21.9M|}
dictobject.c:unicode_get_hash:
  451|  1.38M|{
  452|  1.38M|    return PyUnstable_Unicode_GET_CACHED_HASH(o);
  453|  1.38M|}
dictobject.c:new_dict:
  973|   403k|{
  974|   403k|    PyDictObject *mp = _Py_FREELIST_POP(PyDictObject, dicts);
  ------------------
  |  |   43|   403k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  975|   403k|    if (mp == NULL) {
  ------------------
  |  Branch (975:9): [True: 330k, False: 73.2k]
  ------------------
  976|   330k|        mp = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|   330k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|   330k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  977|   330k|    }
  978|   403k|    assert(mp == NULL || Py_IS_TYPE(mp, &PyDict_Type));
  ------------------
  |  Branch (978:5): [True: 0, False: 403k]
  |  Branch (978:5): [True: 403k, False: 0]
  ------------------
  979|       |
  980|   403k|    return new_dict_impl(mp, keys, values, used, free_values_on_failure, 0, 1);
  981|   403k|}
dictobject.c:new_dict_impl:
  945|   405k|{
  946|   405k|    assert(keys != NULL);
  ------------------
  |  Branch (946:5): [True: 405k, False: 0]
  ------------------
  947|   405k|    if (mp == NULL) {
  ------------------
  |  Branch (947:9): [True: 0, False: 405k]
  ------------------
  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|   405k|    mp->ma_keys = keys;
  956|   405k|    mp->ma_values = values;
  957|   405k|    mp->ma_used = used;
  958|   405k|    mp->_ma_watcher_tag = 0;
  959|   405k|    if (frozendict) {
  ------------------
  |  Branch (959:9): [True: 0, False: 405k]
  ------------------
  960|      0|        ((PyFrozenDictObject *)mp)->ma_hash = -1;
  961|      0|    }
  962|   405k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|   405k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (962:5): [True: 405k, False: 0]
  ------------------
  963|   405k|    if (gc_track) {
  ------------------
  |  Branch (963:9): [True: 403k, False: 1.58k]
  ------------------
  964|   403k|        _PyObject_GC_TRACK(mp);
  ------------------
  |  |  502|   403k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|   403k|    }
  966|   405k|    return (PyObject *)mp;
  967|   405k|}
dictobject.c:free_values:
  930|      7|{
  931|      7|    assert(values->embedded == 0);
  ------------------
  |  Branch (931:5): [True: 7, False: 0]
  ------------------
  932|       |#ifdef Py_GIL_DISABLED
  933|       |    if (use_qsbr) {
  934|       |        _PyMem_FreeDelayed(values, values_size_from_count(values->capacity));
  935|       |        return;
  936|       |    }
  937|       |#endif
  938|      7|    PyMem_Free(values);
  939|      7|}
dictobject.c:check_keys_unicode:
 1252|    364|{
 1253|    364|    return PyUnicode_CheckExact(key) && (dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  |  104|    364|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    728|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    364|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    364|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 364, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1253:41): [True: 364, False: 0]
  ------------------
 1254|    364|}
dictobject.c:hash_unicode_key:
 1258|    991|{
 1259|    991|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1259:5): [True: 991, False: 0]
  ------------------
 1260|    991|    Py_hash_t hash = unicode_get_hash(key);
 1261|    991|    if (hash == -1) {
  ------------------
  |  Branch (1261:9): [True: 0, False: 991]
  ------------------
 1262|      0|        hash = PyUnicode_Type.tp_hash(key);
 1263|      0|        assert(hash != -1);
  ------------------
  |  Branch (1263:9): [True: 0, False: 0]
  ------------------
 1264|      0|    }
 1265|    991|    return hash;
 1266|    991|}
dictobject.c:unicodekeys_lookup_unicode:
 1212|  2.46M|{
 1213|       |    return do_lookup(NULL, dk, key, hash, compare_unicode_unicode);
 1214|  2.46M|}
dictobject.c:compare_unicode_unicode:
 1198|  2.49M|{
 1199|  2.49M|    PyDictUnicodeEntry *ep = &((PyDictUnicodeEntry *)ep0)[ix];
 1200|  2.49M|    PyObject *ep_key = FT_ATOMIC_LOAD_PTR_CONSUME(ep->me_key);
  ------------------
  |  |  153|  2.49M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  ------------------
 1201|  2.49M|    assert(ep_key != NULL);
  ------------------
  |  Branch (1201:5): [True: 2.49M, False: 0]
  ------------------
 1202|  2.49M|    assert(PyUnicode_CheckExact(ep_key));
  ------------------
  |  Branch (1202:5): [True: 2.49M, False: 0]
  ------------------
 1203|  2.49M|    if (ep_key == key ||
  ------------------
  |  Branch (1203:9): [True: 1.23M, False: 1.26M]
  ------------------
 1204|  1.98M|            (unicode_get_hash(ep_key) == hash && unicode_eq(ep_key, key))) {
  ------------------
  |  Branch (1204:14): [True: 747k, False: 516k]
  |  Branch (1204:50): [True: 747k, False: 26]
  ------------------
 1205|  1.98M|        return 1;
 1206|  1.98M|    }
 1207|   516k|    return 0;
 1208|  2.49M|}
dictobject.c:unicodekeys_lookup_split:
 1276|  3.36k|{
 1277|  3.36k|    Py_ssize_t ix;
 1278|  3.36k|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (1278:5): [True: 3.36k, False: 0]
  ------------------
 1279|  3.36k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1279:5): [True: 3.36k, False: 0]
  ------------------
 1280|       |
 1281|       |#ifdef Py_GIL_DISABLED
 1282|       |    // A split dictionaries keys can be mutated by other dictionaries
 1283|       |    // but if we have a unicode key we can avoid locking the shared
 1284|       |    // keys.
 1285|       |    ix = unicodekeys_lookup_unicode_threadsafe(dk, key, hash);
 1286|       |    if (ix == DKIX_KEY_CHANGED) {
 1287|       |        LOCK_KEYS(dk);
 1288|       |        ix = unicodekeys_lookup_unicode(dk, key, hash);
 1289|       |        UNLOCK_KEYS(dk);
 1290|       |    }
 1291|       |#else
 1292|  3.36k|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1293|  3.36k|#endif
 1294|  3.36k|    return ix;
 1295|  3.36k|}
dictobject.c:unicodekeys_lookup_generic:
 1191|  10.3k|{
 1192|  10.3k|    return do_lookup(mp, dk, key, hash, compare_unicode_generic);
 1193|  10.3k|}
dictobject.c:dictkeys_generic_lookup:
 1246|  16.8M|{
 1247|  16.8M|    return do_lookup(mp, dk, key, hash, compare_generic);
 1248|  16.8M|}
dictobject.c:compare_generic:
 1219|  18.2M|{
 1220|  18.2M|    PyDictKeyEntry *ep = &((PyDictKeyEntry *)ep0)[ix];
 1221|  18.2M|    assert(ep->me_key != NULL);
  ------------------
  |  Branch (1221:5): [True: 18.2M, False: 0]
  ------------------
 1222|  18.2M|    if (ep->me_key == key) {
  ------------------
  |  Branch (1222:9): [True: 12.2M, False: 5.98M]
  ------------------
 1223|  12.2M|        return 1;
 1224|  12.2M|    }
 1225|  5.98M|    if (ep->me_hash == hash) {
  ------------------
  |  Branch (1225:9): [True: 4.50M, False: 1.47M]
  ------------------
 1226|  4.50M|        PyObject *startkey = ep->me_key;
 1227|  4.50M|        Py_INCREF(startkey);
  ------------------
  |  |  310|  4.50M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1228|  4.50M|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  4.50M|#define Py_EQ 2
  ------------------
 1229|  4.50M|        Py_DECREF(startkey);
  ------------------
  |  |  430|  4.50M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1230|  4.50M|        if (cmp < 0) {
  ------------------
  |  Branch (1230:13): [True: 0, False: 4.50M]
  ------------------
 1231|      0|            return DKIX_ERROR;
  ------------------
  |  |  196|      0|#define DKIX_ERROR (-3)
  ------------------
 1232|      0|        }
 1233|  4.50M|        if (dk == mp->ma_keys && ep->me_key == startkey) {
  ------------------
  |  Branch (1233:13): [True: 4.50M, False: 0]
  |  Branch (1233:34): [True: 4.50M, False: 0]
  ------------------
 1234|  4.50M|            return cmp;
 1235|  4.50M|        }
 1236|      0|        else {
 1237|       |            /* The dict was mutated, restart */
 1238|      0|            return DKIX_KEY_CHANGED;
  ------------------
  |  |  197|      0|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
 1239|      0|        }
 1240|  4.50M|    }
 1241|  1.47M|    return 0;
 1242|  5.98M|}
dictobject.c:can_modify_dict:
  306|  2.12M|{
  307|  2.12M|    if (PyFrozenDict_Check(mp)) {
  ------------------
  |  |   37|  2.12M|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  2.12M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 3, False: 2.12M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  2.12M|    else {
  317|       |        // Locking is only required if the dictionary is not
  318|       |        // uniquely referenced.
  319|  2.12M|        ASSERT_DICT_LOCKED(mp);
  320|  2.12M|    }
  321|  2.12M|    return 1;
  322|  2.12M|}
dictobject.c:dict_new_presized:
 2360|  2.15k|{
 2361|  2.15k|    const uint8_t log2_max_presize = 17;
 2362|  2.15k|    const Py_ssize_t max_presize = ((Py_ssize_t)1) << log2_max_presize;
 2363|  2.15k|    uint8_t log2_newsize;
 2364|  2.15k|    PyDictKeysObject *new_keys;
 2365|       |
 2366|  2.15k|    if (minused <= USABLE_FRACTION(PyDict_MINSIZE)) {
  ------------------
  |  |  590|  2.15k|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2366:9): [True: 1.91k, False: 238]
  ------------------
 2367|  1.91k|        return PyDict_New();
 2368|  1.91k|    }
 2369|       |    /* There are no strict guarantee that returned dict can contain minused
 2370|       |     * items without resize.  So we create medium size dict instead of very
 2371|       |     * large dict or MemoryError.
 2372|       |     */
 2373|    238|    if (minused > USABLE_FRACTION(max_presize)) {
  ------------------
  |  |  590|    238|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2373:9): [True: 0, False: 238]
  ------------------
 2374|      0|        log2_newsize = log2_max_presize;
 2375|      0|    }
 2376|    238|    else {
 2377|    238|        log2_newsize = estimate_log2_keysize(minused);
 2378|    238|    }
 2379|       |
 2380|    238|    new_keys = new_keys_object(log2_newsize, unicode);
 2381|    238|    if (new_keys == NULL)
  ------------------
  |  Branch (2381:9): [True: 0, False: 238]
  ------------------
 2382|      0|        return NULL;
 2383|    238|    return new_dict(new_keys, NULL, 0, 0);
 2384|    238|}
dictobject.c:estimate_log2_keysize:
  622|    239|{
  623|    239|    return calculate_log2_keysize((n*3 + 1) / 2);
  624|    239|}
dictobject.c:calculate_log2_keysize:
  595|  8.18k|{
  596|  8.18k|#if SIZEOF_LONG == SIZEOF_SIZE_T
  597|  8.18k|    minsize = Py_MAX(minsize, PyDict_MINSIZE);
  ------------------
  |  |  133|  8.18k|       __extension__ \
  |  |  134|  8.18k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  8.18k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  8.18k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  8.18k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  8.18k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 8.00k, False: 186]
  |  |  ------------------
  ------------------
  598|  8.18k|    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|  8.18k|}
dictobject.c:new_keys_object:
  849|   385k|{
  850|   385k|    Py_ssize_t usable = USABLE_FRACTION((size_t)1<<log2_size);
  ------------------
  |  |  590|   385k|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  851|   385k|    size_t entry_size = unicode ? sizeof(PyDictUnicodeEntry) : sizeof(PyDictKeyEntry);
  ------------------
  |  Branch (851:25): [True: 372k, False: 13.5k]
  ------------------
  852|       |
  853|   385k|    int log2_bytes = get_log2_bytes(log2_size);
  854|       |
  855|   385k|    PyDictKeysObject *dk = NULL;
  856|   385k|    if (log2_size == PyDict_LOG_MINSIZE && unicode) {
  ------------------
  |  |  115|   771k|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (856:9): [True: 377k, False: 8.00k]
  |  Branch (856:44): [True: 366k, False: 11.0k]
  ------------------
  857|   366k|        dk = _Py_FREELIST_POP_MEM(dictkeys);
  ------------------
  |  |   48|   366k|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
  858|   366k|    }
  859|   385k|    if (dk == NULL) {
  ------------------
  |  Branch (859:9): [True: 347k, False: 38.4k]
  ------------------
  860|   347k|        dk = PyMem_Malloc(sizeof(PyDictKeysObject)
  861|   347k|                          + ((size_t)1 << log2_bytes)
  862|   347k|                          + entry_size * usable);
  863|   347k|        if (dk == NULL) {
  ------------------
  |  Branch (863:13): [True: 0, False: 347k]
  ------------------
  864|      0|            PyErr_NoMemory();
  865|      0|            return NULL;
  866|      0|        }
  867|   347k|    }
  868|   385k|    init_keys_object(dk, log2_size, log2_bytes,
  869|   385k|                     unicode ? DICT_KEYS_UNICODE : DICT_KEYS_GENERAL,
  ------------------
  |  Branch (869:22): [True: 372k, False: 13.5k]
  ------------------
  870|   385k|                     usable, entry_size);
  871|   385k|    return dk;
  872|   385k|}
dictobject.c:dict_getitem:
 2442|    687|{
 2443|    687|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|    687|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    687|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.37k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 687, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2444|      0|        return NULL;
 2445|      0|    }
 2446|    687|    PyDictObject *mp = (PyDictObject *)op;
 2447|       |
 2448|    687|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2449|    687|    if (hash == -1) {
  ------------------
  |  Branch (2449:9): [True: 0, False: 687]
  ------------------
 2450|      0|        PyErr_FormatUnraisable(warnmsg);
 2451|      0|        return NULL;
 2452|      0|    }
 2453|       |
 2454|    687|    PyThreadState *tstate = _PyThreadState_GET();
 2455|       |#ifdef Py_DEBUG
 2456|       |    // bpo-40839: Before Python 3.10, it was possible to call PyDict_GetItem()
 2457|       |    // with the GIL released.
 2458|       |    _Py_EnsureTstateNotNULL(tstate);
 2459|       |#endif
 2460|       |
 2461|       |    /* Preserve the existing exception */
 2462|    687|    PyObject *value;
 2463|    687|    Py_ssize_t ix; (void)ix;
 2464|       |
 2465|    687|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 2466|       |#ifdef Py_GIL_DISABLED
 2467|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 2468|       |    Py_XDECREF(value);
 2469|       |#else
 2470|    687|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2471|    687|#endif
 2472|       |
 2473|       |    /* Ignore any exception raised by the lookup */
 2474|    687|    PyObject *exc2 = _PyErr_Occurred(tstate);
 2475|    687|    if (exc2 && !PyErr_GivenExceptionMatches(exc2, PyExc_KeyError)) {
  ------------------
  |  Branch (2475:9): [True: 0, False: 687]
  |  Branch (2475:17): [True: 0, False: 0]
  ------------------
 2476|      0|        PyErr_FormatUnraisable(warnmsg);
 2477|      0|    }
 2478|    687|    _PyErr_SetRaisedException(tstate, exc);
 2479|       |
 2480|    687|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2480:5): [True: 681, False: 6]
  |  Branch (2480:5): [True: 6, False: 0]
  ------------------
 2481|    687|    return value;  // borrowed reference
 2482|    687|}
dictobject.c:do_lookup:
 1119|  19.3M|{
 1120|  19.3M|    void *ep0 = _DK_ENTRIES(dk);
 1121|  19.3M|    size_t mask = DK_MASK(dk);
  ------------------
  |  |  467|  19.3M|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|  19.3M|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|  19.3M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|  19.3M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1122|  19.3M|    size_t perturb = hash;
 1123|  19.3M|    size_t i = (size_t)hash & mask;
 1124|  19.3M|    Py_ssize_t ix;
 1125|  19.4M|    for (;;) {
 1126|  19.4M|        ix = dictkeys_get_index(dk, i);
 1127|  19.4M|        if (ix >= 0) {
  ------------------
  |  Branch (1127:13): [True: 19.0M, False: 427k]
  ------------------
 1128|  19.0M|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1129|  19.0M|            if (cmp < 0) {
  ------------------
  |  Branch (1129:17): [True: 0, False: 19.0M]
  ------------------
 1130|      0|                return cmp;
 1131|  19.0M|            } else if (cmp) {
  ------------------
  |  Branch (1131:24): [True: 17.1M, False: 1.88M]
  ------------------
 1132|  17.1M|                return ix;
 1133|  17.1M|            }
 1134|  19.0M|        }
 1135|   427k|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|   427k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1135:18): [True: 424k, False: 2.65k]
  ------------------
 1136|   424k|            return DKIX_EMPTY;
  ------------------
  |  |  194|   424k|#define DKIX_EMPTY (-1)
  ------------------
 1137|   424k|        }
 1138|  1.88M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  1.88M|#define PERTURB_SHIFT 5
  ------------------
 1139|  1.88M|        i = mask & (i*5 + perturb + 1);
 1140|       |
 1141|       |        // Manual loop unrolling
 1142|  1.88M|        ix = dictkeys_get_index(dk, i);
 1143|  1.88M|        if (ix >= 0) {
  ------------------
  |  Branch (1143:13): [True: 1.75M, False: 124k]
  ------------------
 1144|  1.75M|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1145|  1.75M|            if (cmp < 0) {
  ------------------
  |  Branch (1145:17): [True: 0, False: 1.75M]
  ------------------
 1146|      0|                return cmp;
 1147|  1.75M|            } else if (cmp) {
  ------------------
  |  Branch (1147:24): [True: 1.64M, False: 114k]
  ------------------
 1148|  1.64M|                return ix;
 1149|  1.64M|            }
 1150|  1.75M|        }
 1151|   124k|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|   124k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1151:18): [True: 124k, False: 446]
  ------------------
 1152|   124k|            return DKIX_EMPTY;
  ------------------
  |  |  194|   124k|#define DKIX_EMPTY (-1)
  ------------------
 1153|   124k|        }
 1154|   114k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|   114k|#define PERTURB_SHIFT 5
  ------------------
 1155|   114k|        i = mask & (i*5 + perturb + 1);
 1156|   114k|    }
 1157|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1158|  19.3M|}
dictobject.c:setitem_take2_lock_held:
 2876|   733k|{
 2877|   733k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2878|   733k|    if (hash == -1) {
  ------------------
  |  Branch (2878:9): [True: 0, False: 733k]
  ------------------
 2879|      0|        dict_unhashable_type((PyObject*)mp, key);
 2880|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2881|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2882|      0|        return -1;
 2883|      0|    }
 2884|       |
 2885|   733k|    return setitem_take2_lock_held_known_hash(mp, key, value, hash);
 2886|   733k|}
dictobject.c:setitem_take2_lock_held_known_hash:
 2861|   733k|{
 2862|   733k|    assert(PyAnyDict_Check(mp));
  ------------------
  |  Branch (2862:5): [True: 733k, False: 0]
  |  Branch (2862:5): [True: 0, False: 0]
  ------------------
 2863|   733k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2863:5): [True: 733k, False: 0]
  ------------------
 2864|   733k|    assert(key);
  ------------------
  |  Branch (2864:5): [True: 733k, False: 0]
  ------------------
 2865|   733k|    assert(value);
  ------------------
  |  Branch (2865:5): [True: 733k, False: 0]
  ------------------
 2866|       |
 2867|   733k|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|   733k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2867:9): [True: 377k, False: 356k]
  ------------------
 2868|   377k|        return insert_to_emptydict(mp, key, hash, value);
 2869|   377k|    }
 2870|       |    /* insertdict() handles any resizing that might be necessary */
 2871|   356k|    return insertdict(mp, key, hash, value);
 2872|   733k|}
dictobject.c:setitem_lock_held:
 2946|  39.9k|{
 2947|  39.9k|    assert(key);
  ------------------
  |  Branch (2947:5): [True: 39.9k, False: 0]
  ------------------
 2948|  39.9k|    assert(value);
  ------------------
  |  Branch (2948:5): [True: 39.9k, False: 0]
  ------------------
 2949|  39.9k|    return setitem_take2_lock_held(mp,
 2950|  39.9k|                                   Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  647|  39.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  39.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  647|  39.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  39.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2951|  39.9k|}
dictobject.c:insert_to_emptydict:
 2107|   377k|{
 2108|   377k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2108:5): [True: 377k, False: 0]
  ------------------
 2109|   377k|    assert(mp->ma_keys == Py_EMPTY_KEYS);
  ------------------
  |  Branch (2109:5): [True: 377k, False: 0]
  ------------------
 2110|       |
 2111|   377k|    int unicode = PyUnicode_CheckExact(key);
  ------------------
  |  |  104|   377k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   377k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   377k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   377k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2112|   377k|    PyDictKeysObject *newkeys = new_keys_object(PyDict_LOG_MINSIZE, unicode);
  ------------------
  |  |  115|   377k|#define PyDict_LOG_MINSIZE 3
  ------------------
 2113|   377k|    if (newkeys == NULL) {
  ------------------
  |  Branch (2113:9): [True: 0, False: 377k]
  ------------------
 2114|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2115|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2116|      0|        return -1;
 2117|      0|    }
 2118|   377k|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 2119|       |
 2120|       |    /* We don't decref Py_EMPTY_KEYS here because it is immortal. */
 2121|   377k|    assert(mp->ma_values == NULL);
  ------------------
  |  Branch (2121:5): [True: 377k, False: 0]
  ------------------
 2122|       |
 2123|   377k|    size_t hashpos = (size_t)hash & (PyDict_MINSIZE-1);
  ------------------
  |  |  116|   377k|#define PyDict_MINSIZE 8
  ------------------
 2124|   377k|    dictkeys_set_index(newkeys, hashpos, 0);
 2125|   377k|    if (unicode) {
  ------------------
  |  Branch (2125:9): [True: 366k, False: 10.9k]
  ------------------
 2126|   366k|        PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(newkeys);
 2127|   366k|        ep->me_key = key;
 2128|   366k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|   366k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|   366k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2129|   366k|    }
 2130|  10.9k|    else {
 2131|  10.9k|        PyDictKeyEntry *ep = DK_ENTRIES(newkeys);
 2132|  10.9k|        ep->me_key = key;
 2133|  10.9k|        ep->me_hash = hash;
 2134|  10.9k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  10.9k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|  10.9k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2135|  10.9k|    }
 2136|   377k|    STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|   377k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|   377k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2137|   377k|    newkeys->dk_usable--;
 2138|   377k|    newkeys->dk_nentries++;
 2139|       |    // We store the keys last so no one can see them in a partially inconsistent
 2140|       |    // state so that we don't need to switch the keys to being shared yet for
 2141|       |    // the case where we're inserting from the non-owner thread.  We don't use
 2142|       |    // set_keys here because the transition from empty to non-empty is safe
 2143|       |    // as the empty keys will never be freed.
 2144|   377k|    FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_keys, newkeys);
  ------------------
  |  |  166|   377k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 2145|   377k|    return 0;
 2146|   377k|}
dictobject.c:dictkeys_set_index:
  553|   853k|{
  554|   853k|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  281|   853k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  313|   853k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  555|       |
  556|   853k|    assert(ix >= DKIX_DUMMY);
  ------------------
  |  Branch (556:5): [True: 853k, False: 0]
  ------------------
  557|   853k|    assert(keys->dk_version == 0);
  ------------------
  |  Branch (557:5): [True: 853k, False: 0]
  ------------------
  558|       |
  559|   853k|    if (log2size < 8) {
  ------------------
  |  Branch (559:9): [True: 796k, False: 57.0k]
  ------------------
  560|   796k|        assert(ix <= 0x7f);
  ------------------
  |  Branch (560:9): [True: 796k, False: 0]
  ------------------
  561|   796k|        STORE_INDEX(keys, 8, i, ix);
  ------------------
  |  |  272|   796k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  562|   796k|    }
  563|  57.0k|    else if (log2size < 16) {
  ------------------
  |  Branch (563:14): [True: 57.0k, False: 0]
  ------------------
  564|  57.0k|        assert(ix <= 0x7fff);
  ------------------
  |  Branch (564:9): [True: 57.0k, False: 0]
  ------------------
  565|  57.0k|        STORE_INDEX(keys, 16, i, ix);
  ------------------
  |  |  272|  57.0k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  566|  57.0k|    }
  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|   853k|}
dictobject.c:insertdict:
 2054|   365k|{
 2055|   365k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2055:5): [True: 365k, False: 0]
  ------------------
 2056|       |
 2057|   365k|    PyObject *old_value = NULL;
 2058|   365k|    Py_ssize_t ix;
 2059|       |
 2060|   365k|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   61|   730k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 1.67k, False: 363k]
  |  |  ------------------
  ------------------
                  if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  1.67k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.67k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.67k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2061|  1.67k|        ix = insert_split_key(mp->ma_keys, key, hash);
 2062|  1.67k|        if (ix != DKIX_EMPTY) {
  ------------------
  |  |  194|  1.67k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2062:13): [True: 1.67k, False: 0]
  ------------------
 2063|  1.67k|            _PyDict_InsertSplitValue(mp, key, value, ix);
 2064|  1.67k|            Py_DECREF(key);
  ------------------
  |  |  430|  1.67k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2065|  1.67k|            Py_DECREF(value);
  ------------------
  |  |  430|  1.67k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2066|  1.67k|            return 0;
 2067|  1.67k|        }
 2068|       |        // No space in shared keys. Go to insert_combined_dict() below.
 2069|  1.67k|    }
 2070|   363k|    else {
 2071|   363k|        ix = _Py_dict_lookup(mp, key, hash, &old_value);
 2072|   363k|        if (ix == DKIX_ERROR)
  ------------------
  |  |  196|   363k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2072:13): [True: 0, False: 363k]
  ------------------
 2073|      0|            goto Fail;
 2074|   363k|    }
 2075|       |
 2076|   363k|    if (old_value == NULL) {
  ------------------
  |  Branch (2076:9): [True: 360k, False: 3.58k]
  ------------------
 2077|       |        // insert_combined_dict() will convert from non DICT_KEYS_GENERAL table
 2078|       |        // into DICT_KEYS_GENERAL table if key is not Unicode.
 2079|       |        // We don't convert it before _Py_dict_lookup because non-Unicode key
 2080|       |        // may change generic table into Unicode table.
 2081|       |        //
 2082|       |        // NOTE: ix may not be DKIX_EMPTY because split table may have key
 2083|       |        // without value.
 2084|   360k|        if (insert_combined_dict(mp, hash, key, value) < 0) {
  ------------------
  |  Branch (2084:13): [True: 0, False: 360k]
  ------------------
 2085|      0|            goto Fail;
 2086|      0|        }
 2087|   360k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|   360k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|   360k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2088|   360k|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|   360k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2088:9): [True: 360k, False: 0]
  ------------------
 2089|   360k|        return 0;
 2090|   360k|    }
 2091|       |
 2092|  3.58k|    replace_value(mp, key, ix, old_value, value);
 2093|  3.58k|    Py_DECREF(key);
  ------------------
  |  |  430|  3.58k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2094|  3.58k|    return 0;
 2095|       |
 2096|      0|Fail:
 2097|      0|    Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2098|      0|    Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2099|      0|    return -1;
 2100|   363k|}
dictobject.c:insert_combined_dict:
 1905|   373k|{
 1906|       |    // gh-140551: If dict was cleared in _Py_dict_lookup,
 1907|       |    // we have to resize one more time to force general key kind.
 1908|   373k|    if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  303|   746k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 335k, False: 37.6k]
  |  |  ------------------
  ------------------
                  if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|   335k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   335k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   335k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   335k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1908:39): [True: 0, False: 335k]
  ------------------
 1909|      0|        if (insertion_resize(mp, 0) < 0)
  ------------------
  |  Branch (1909:13): [True: 0, False: 0]
  ------------------
 1910|      0|            return -1;
 1911|      0|        assert(mp->ma_keys->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (1911:9): [True: 0, False: 0]
  ------------------
 1912|      0|    }
 1913|       |
 1914|   373k|    if (mp->ma_keys->dk_usable <= 0) {
  ------------------
  |  Branch (1914:9): [True: 7.94k, False: 365k]
  ------------------
 1915|       |        /* Need to resize. */
 1916|  7.94k|        if (insertion_resize(mp, 1) < 0) {
  ------------------
  |  Branch (1916:13): [True: 0, False: 7.94k]
  ------------------
 1917|      0|            return -1;
 1918|      0|        }
 1919|  7.94k|    }
 1920|       |
 1921|   373k|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 1922|   373k|    FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  175|   373k|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1923|       |
 1924|   373k|    Py_ssize_t hashpos = find_empty_slot(mp->ma_keys, hash);
 1925|   373k|    dictkeys_set_index(mp->ma_keys, hashpos, mp->ma_keys->dk_nentries);
 1926|       |
 1927|   373k|    if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  303|   373k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 335k, False: 37.6k]
  |  |  ------------------
  ------------------
 1928|   335k|        PyDictUnicodeEntry *ep;
 1929|   335k|        ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1930|   335k|        STORE_KEY(ep, key);
  ------------------
  |  |  330|   335k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  166|   335k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1931|   335k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|   335k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|   335k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1932|   335k|    }
 1933|  37.6k|    else {
 1934|  37.6k|        PyDictKeyEntry *ep;
 1935|  37.6k|        ep = &DK_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1936|  37.6k|        STORE_KEY(ep, key);
  ------------------
  |  |  330|  37.6k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  166|  37.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1937|  37.6k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  37.6k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|  37.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1938|  37.6k|        STORE_HASH(ep, hash);
  ------------------
  |  |  333|  37.6k|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  197|  37.6k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1939|  37.6k|    }
 1940|   373k|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - 1);
  ------------------
  |  |  334|   373k|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  197|   373k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1941|   373k|    STORE_KEYS_NENTRIES(mp->ma_keys, mp->ma_keys->dk_nentries + 1);
  ------------------
  |  |  335|   373k|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  197|   373k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1942|   373k|    assert(mp->ma_keys->dk_usable >= 0);
  ------------------
  |  Branch (1942:5): [True: 373k, False: 0]
  ------------------
 1943|   373k|    return 0;
 1944|   373k|}
dictobject.c:insertion_resize:
 1898|  7.94k|{
 1899|  7.94k|    return dictresize(mp, calculate_log2_keysize(GROWTH_RATE(mp)), unicode);
  ------------------
  |  |  637|  7.94k|#define GROWTH_RATE(d) ((d)->ma_used*3)
  ------------------
 1900|  7.94k|}
dictobject.c:dictresize:
 2209|  7.94k|{
 2210|  7.94k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2210:5): [True: 7.94k, False: 0]
  ------------------
 2211|       |
 2212|  7.94k|    PyDictKeysObject *oldkeys, *newkeys;
 2213|  7.94k|    PyDictValues *oldvalues;
 2214|       |
 2215|  7.94k|    if (log2_newsize >= SIZEOF_SIZE_T*8) {
  ------------------
  |  | 1813|  7.94k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (2215:9): [True: 0, False: 7.94k]
  ------------------
 2216|      0|        PyErr_NoMemory();
 2217|      0|        return -1;
 2218|      0|    }
 2219|  7.94k|    assert(log2_newsize >= PyDict_LOG_MINSIZE);
  ------------------
  |  Branch (2219:5): [True: 7.94k, False: 0]
  ------------------
 2220|       |
 2221|  7.94k|    oldkeys = mp->ma_keys;
 2222|  7.94k|    oldvalues = mp->ma_values;
 2223|       |
 2224|  7.94k|    if (!DK_IS_UNICODE(oldkeys)) {
  ------------------
  |  |  303|  7.94k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (2224:9): [True: 2.57k, False: 5.37k]
  ------------------
 2225|  2.57k|        unicode = 0;
 2226|  2.57k|    }
 2227|       |
 2228|  7.94k|    ensure_shared_on_resize(mp);
 2229|       |    /* NOTE: Current odict checks mp->ma_keys to detect resize happen.
 2230|       |     * So we can't reuse oldkeys even if oldkeys->dk_size == newsize.
 2231|       |     * TODO: Try reusing oldkeys when reimplement odict.
 2232|       |     */
 2233|       |
 2234|       |    /* Allocate a new table. */
 2235|  7.94k|    newkeys = new_keys_object(log2_newsize, unicode);
 2236|  7.94k|    if (newkeys == NULL) {
  ------------------
  |  Branch (2236:9): [True: 0, False: 7.94k]
  ------------------
 2237|      0|        return -1;
 2238|      0|    }
 2239|       |    // New table must be large enough.
 2240|  7.94k|    assert(newkeys->dk_usable >= mp->ma_used);
  ------------------
  |  Branch (2240:5): [True: 7.94k, False: 0]
  ------------------
 2241|       |
 2242|  7.94k|    Py_ssize_t numentries = mp->ma_used;
 2243|       |
 2244|  7.94k|    if (oldvalues != NULL) {
  ------------------
  |  Branch (2244:9): [True: 0, False: 7.94k]
  ------------------
 2245|      0|        LOCK_KEYS(oldkeys);
 2246|      0|        PyDictUnicodeEntry *oldentries = DK_UNICODE_ENTRIES(oldkeys);
 2247|       |        /* Convert split table into new combined table.
 2248|       |         * We must incref keys; we can transfer values.
 2249|       |         */
 2250|      0|        if (newkeys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (2250:13): [True: 0, False: 0]
  ------------------
 2251|       |            // split -> generic
 2252|      0|            PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2253|       |
 2254|      0|            for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2254:36): [True: 0, False: 0]
  ------------------
 2255|      0|                int index = get_index_from_order(mp, i);
 2256|      0|                PyDictUnicodeEntry *ep = &oldentries[index];
 2257|      0|                assert(oldvalues->values[index] != NULL);
  ------------------
  |  Branch (2257:17): [True: 0, False: 0]
  ------------------
 2258|      0|                newentries[i].me_key = Py_NewRef(ep->me_key);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2259|      0|                newentries[i].me_hash = unicode_get_hash(ep->me_key);
 2260|      0|                newentries[i].me_value = oldvalues->values[index];
 2261|      0|            }
 2262|      0|            build_indices_generic(newkeys, newentries, numentries);
 2263|      0|        }
 2264|      0|        else { // split -> combined unicode
 2265|      0|            PyDictUnicodeEntry *newentries = DK_UNICODE_ENTRIES(newkeys);
 2266|       |
 2267|      0|            for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2267:36): [True: 0, False: 0]
  ------------------
 2268|      0|                int index = get_index_from_order(mp, i);
 2269|      0|                PyDictUnicodeEntry *ep = &oldentries[index];
 2270|      0|                assert(oldvalues->values[index] != NULL);
  ------------------
  |  Branch (2270:17): [True: 0, False: 0]
  ------------------
 2271|      0|                newentries[i].me_key = Py_NewRef(ep->me_key);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2272|      0|                newentries[i].me_value = oldvalues->values[index];
 2273|      0|            }
 2274|      0|            build_indices_unicode(newkeys, newentries, numentries);
 2275|      0|        }
 2276|      0|        UNLOCK_KEYS(oldkeys);
 2277|      0|        set_keys(mp, newkeys);
 2278|      0|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2279|      0|        if (oldvalues->embedded) {
  ------------------
  |  Branch (2279:13): [True: 0, False: 0]
  ------------------
 2280|      0|            assert(oldvalues->embedded == 1);
  ------------------
  |  Branch (2280:13): [True: 0, False: 0]
  ------------------
 2281|      0|            assert(oldvalues->valid == 1);
  ------------------
  |  Branch (2281:13): [True: 0, False: 0]
  ------------------
 2282|      0|            invalidate_and_clear_inline_values(oldvalues);
 2283|      0|        }
 2284|      0|        else {
 2285|      0|            free_values(oldvalues, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2286|      0|        }
 2287|      0|        set_values(mp, NULL);
 2288|      0|    }
 2289|  7.94k|    else {  // oldkeys is combined.
 2290|  7.94k|        if (oldkeys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (2290:13): [True: 2.57k, False: 5.37k]
  ------------------
 2291|       |            // generic -> generic
 2292|  2.57k|            assert(newkeys->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (2292:13): [True: 2.57k, False: 0]
  ------------------
 2293|  2.57k|            PyDictKeyEntry *oldentries = DK_ENTRIES(oldkeys);
 2294|  2.57k|            PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2295|  2.57k|            if (oldkeys->dk_nentries == numentries) {
  ------------------
  |  Branch (2295:17): [True: 2.47k, False: 99]
  ------------------
 2296|  2.47k|                memcpy(newentries, oldentries, numentries * sizeof(PyDictKeyEntry));
 2297|  2.47k|            }
 2298|     99|            else {
 2299|     99|                PyDictKeyEntry *ep = oldentries;
 2300|     99|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2300:40): [True: 0, False: 99]
  ------------------
 2301|      0|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2301:28): [True: 0, False: 0]
  ------------------
 2302|      0|                        ep++;
 2303|      0|                    newentries[i] = *ep++;
 2304|      0|                }
 2305|     99|            }
 2306|  2.57k|            build_indices_generic(newkeys, newentries, numentries);
 2307|  2.57k|        }
 2308|  5.37k|        else {  // oldkeys is combined unicode
 2309|  5.37k|            PyDictUnicodeEntry *oldentries = DK_UNICODE_ENTRIES(oldkeys);
 2310|  5.37k|            if (unicode) { // combined unicode -> combined unicode
  ------------------
  |  Branch (2310:17): [True: 5.37k, False: 0]
  ------------------
 2311|  5.37k|                PyDictUnicodeEntry *newentries = DK_UNICODE_ENTRIES(newkeys);
 2312|  5.37k|                if (oldkeys->dk_nentries == numentries && mp->ma_keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (2312:21): [True: 5.14k, False: 234]
  |  Branch (2312:59): [True: 5.14k, False: 0]
  ------------------
 2313|  5.14k|                    memcpy(newentries, oldentries, numentries * sizeof(PyDictUnicodeEntry));
 2314|  5.14k|                }
 2315|    234|                else {
 2316|    234|                    PyDictUnicodeEntry *ep = oldentries;
 2317|  1.57k|                    for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2317:44): [True: 1.34k, False: 234]
  ------------------
 2318|  1.67k|                        while (ep->me_value == NULL)
  ------------------
  |  Branch (2318:32): [True: 331, False: 1.34k]
  ------------------
 2319|    331|                            ep++;
 2320|  1.34k|                        newentries[i] = *ep++;
 2321|  1.34k|                    }
 2322|    234|                }
 2323|  5.37k|                build_indices_unicode(newkeys, newentries, numentries);
 2324|  5.37k|            }
 2325|      0|            else { // combined unicode -> generic
 2326|      0|                PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2327|      0|                PyDictUnicodeEntry *ep = oldentries;
 2328|      0|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2328:40): [True: 0, False: 0]
  ------------------
 2329|      0|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2329:28): [True: 0, False: 0]
  ------------------
 2330|      0|                        ep++;
 2331|      0|                    newentries[i].me_key = ep->me_key;
 2332|      0|                    newentries[i].me_hash = unicode_get_hash(ep->me_key);
 2333|      0|                    newentries[i].me_value = ep->me_value;
 2334|      0|                    ep++;
 2335|      0|                }
 2336|      0|                build_indices_generic(newkeys, newentries, numentries);
 2337|      0|            }
 2338|  5.37k|        }
 2339|       |
 2340|  7.94k|        set_keys(mp, newkeys);
 2341|       |
 2342|  7.94k|        if (oldkeys != Py_EMPTY_KEYS) {
  ------------------
  |  |  660|  7.94k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2342:13): [True: 7.94k, False: 0]
  ------------------
 2343|       |#ifdef Py_REF_DEBUG
 2344|       |            _Py_DecRefTotal(_PyThreadState_GET());
 2345|       |#endif
 2346|  7.94k|            assert(oldkeys->dk_kind != DICT_KEYS_SPLIT);
  ------------------
  |  Branch (2346:13): [True: 7.94k, False: 0]
  ------------------
 2347|  7.94k|            assert(oldkeys->dk_refcnt == 1);
  ------------------
  |  Branch (2347:13): [True: 7.94k, False: 0]
  ------------------
 2348|  7.94k|            free_keys_object(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|  7.94k|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2349|  7.94k|        }
 2350|  7.94k|    }
 2351|       |
 2352|  7.94k|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - numentries);
  ------------------
  |  |  334|  7.94k|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  197|  7.94k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2353|  7.94k|    STORE_KEYS_NENTRIES(mp->ma_keys, numentries);
  ------------------
  |  |  335|  7.94k|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  197|  7.94k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2354|  7.94k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  7.94k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2354:5): [True: 7.94k, False: 0]
  ------------------
 2355|  7.94k|    return 0;
 2356|  7.94k|}
dictobject.c:build_indices_generic:
 2153|  2.57k|{
 2154|  2.57k|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|  2.57k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|  2.57k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|  2.57k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|  2.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2155|  40.4k|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2155:29): [True: 37.8k, False: 2.57k]
  ------------------
 2156|  37.8k|        Py_hash_t hash = ep->me_hash;
 2157|  37.8k|        size_t i = hash & mask;
 2158|  42.4k|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  194|  42.4k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2158:37): [True: 4.63k, False: 37.8k]
  ------------------
 2159|  4.63k|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  4.63k|#define PERTURB_SHIFT 5
  ------------------
 2160|  4.63k|            i = mask & (i*5 + perturb + 1);
 2161|  4.63k|        }
 2162|  37.8k|        dictkeys_set_index(keys, i, ix);
 2163|  37.8k|    }
 2164|  2.57k|}
dictobject.c:build_indices_unicode:
 2168|  5.37k|{
 2169|  5.37k|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|  5.37k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|  5.37k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|  5.37k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|  5.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2170|  67.1k|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2170:29): [True: 61.7k, False: 5.37k]
  ------------------
 2171|  61.7k|        Py_hash_t hash = unicode_get_hash(ep->me_key);
 2172|  61.7k|        assert(hash != -1);
  ------------------
  |  Branch (2172:9): [True: 61.7k, False: 0]
  ------------------
 2173|  61.7k|        size_t i = hash & mask;
 2174|  73.5k|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  194|  73.5k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2174:37): [True: 11.8k, False: 61.7k]
  ------------------
 2175|  11.8k|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  11.8k|#define PERTURB_SHIFT 5
  ------------------
 2176|  11.8k|            i = mask & (i*5 + perturb + 1);
 2177|  11.8k|        }
 2178|  61.7k|        dictkeys_set_index(keys, i, ix);
 2179|  61.7k|    }
 2180|  5.37k|}
dictobject.c:free_keys_object:
  876|   385k|{
  877|   385k|    void *ptr = keys;
  878|       |#ifdef Py_GIL_DISABLED
  879|       |    size_t size = _PyDict_KeysSize(keys);
  880|       |#endif
  881|   385k|    if (keys->dk_kind == DICT_KEYS_SPLIT) {
  ------------------
  |  Branch (881:9): [True: 4, False: 385k]
  ------------------
  882|      4|        ptr = _PyDictKeys_AsSharedKeys(keys);
  883|       |#ifdef Py_GIL_DISABLED
  884|       |        size += offsetof(struct _instancekeysobject, dsk_keys);
  885|       |#endif
  886|      4|    }
  887|       |#ifdef Py_GIL_DISABLED
  888|       |    if (use_qsbr) {
  889|       |        _PyMem_FreeDelayed(ptr, size);
  890|       |        return;
  891|       |    }
  892|       |#endif
  893|   385k|    if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  281|   385k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  313|   385k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  115|   770k|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (893:9): [True: 377k, False: 8.02k]
  |  Branch (893:52): [True: 366k, False: 10.8k]
  ------------------
  894|   366k|        _Py_FREELIST_FREE(dictkeys, keys, PyMem_Free);
  ------------------
  |  |   35|   366k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|   366k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   366k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|   366k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   17|   366k|#  define Py_dictkeys_MAXFREELIST 80
  |  |  ------------------
  ------------------
  895|   366k|    }
  896|  18.8k|    else {
  897|  18.8k|        PyMem_Free(ptr);
  898|  18.8k|    }
  899|   385k|}
dictobject.c:find_empty_slot:
 1882|   373k|{
 1883|   373k|    assert(keys != NULL);
  ------------------
  |  Branch (1883:5): [True: 373k, False: 0]
  ------------------
 1884|       |
 1885|   373k|    const size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|   373k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|   373k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|   373k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|   373k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1886|   373k|    size_t i = hash & mask;
 1887|   373k|    Py_ssize_t ix = dictkeys_get_index(keys, i);
 1888|   515k|    for (size_t perturb = hash; is_unusable_slot(ix);) {
  ------------------
  |  Branch (1888:33): [True: 142k, False: 373k]
  ------------------
 1889|   142k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|   142k|#define PERTURB_SHIFT 5
  ------------------
 1890|   142k|        i = (i*5 + perturb + 1) & mask;
 1891|   142k|        ix = dictkeys_get_index(keys, i);
 1892|   142k|    }
 1893|   373k|    return i;
 1894|   373k|}
dictobject.c:is_unusable_slot:
 1869|   515k|{
 1870|       |#ifdef Py_GIL_DISABLED
 1871|       |    return ix >= 0 || ix == DKIX_DUMMY;
 1872|       |#else
 1873|   515k|    return ix >= 0;
 1874|   515k|#endif
 1875|   515k|}
dictobject.c:delitem_common:
 3011|  2.95k|{
 3012|  2.95k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3012:5): [True: 2.95k, False: 0]
  ------------------
 3013|       |
 3014|  2.95k|    PyObject *old_key;
 3015|       |
 3016|  2.95k|    STORE_USED(mp, mp->ma_used - 1);
  ------------------
  |  |  336|  2.95k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|  2.95k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3017|  2.95k|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|  2.95k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 2.95k]
  |  |  ------------------
  ------------------
 3018|      0|        assert(old_value == mp->ma_values->values[ix]);
  ------------------
  |  Branch (3018:9): [True: 0, False: 0]
  ------------------
 3019|      0|        STORE_SPLIT_VALUE(mp, ix, NULL);
  ------------------
  |  |  332|      0|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3020|      0|        assert(ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (3020:9): [True: 0, False: 0]
  ------------------
 3021|       |        /* Update order */
 3022|      0|        delete_index_from_values(mp->ma_values, ix);
 3023|      0|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|      0|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3023:9): [True: 0, False: 0]
  ------------------
 3024|      0|    }
 3025|  2.95k|    else {
 3026|  2.95k|        Py_ssize_t hashpos = lookdict_index(mp->ma_keys, hash, ix);
 3027|  2.95k|        assert(hashpos >= 0);
  ------------------
  |  Branch (3027:9): [True: 2.95k, False: 0]
  ------------------
 3028|       |
 3029|  2.95k|        FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  175|  2.95k|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 3030|  2.95k|        dictkeys_set_index(mp->ma_keys, hashpos, DKIX_DUMMY);
  ------------------
  |  |  195|  2.95k|#define DKIX_DUMMY (-2)  /* Used internally */
  ------------------
 3031|  2.95k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  303|  2.95k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 2.44k, False: 509]
  |  |  ------------------
  ------------------
 3032|  2.44k|            PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 3033|  2.44k|            old_key = ep->me_key;
 3034|  2.44k|            STORE_KEY(ep, NULL);
  ------------------
  |  |  330|  2.44k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  166|  2.44k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3035|  2.44k|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  331|  2.44k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|  2.44k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3036|  2.44k|        }
 3037|    509|        else {
 3038|    509|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 3039|    509|            old_key = ep->me_key;
 3040|    509|            STORE_KEY(ep, NULL);
  ------------------
  |  |  330|    509|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  166|    509|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3041|    509|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  331|    509|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|    509|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3042|    509|            STORE_HASH(ep, 0);
  ------------------
  |  |  333|    509|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  197|    509|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3043|    509|        }
 3044|  2.95k|        Py_DECREF(old_key);
  ------------------
  |  |  430|  2.95k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3045|  2.95k|    }
 3046|  2.95k|    Py_DECREF(old_value);
  ------------------
  |  |  430|  2.95k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3047|       |
 3048|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  2.95k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3048:5): [True: 2.95k, False: 0]
  ------------------
 3049|  2.95k|}
dictobject.c:lookdict_index:
 1097|  2.95k|{
 1098|  2.95k|    size_t mask = DK_MASK(k);
  ------------------
  |  |  467|  2.95k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|  2.95k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|  2.95k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|  2.95k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|  2.95k|    size_t perturb = (size_t)hash;
 1100|  2.95k|    size_t i = (size_t)hash & mask;
 1101|       |
 1102|  3.46k|    for (;;) {
 1103|  3.46k|        Py_ssize_t ix = dictkeys_get_index(k, i);
 1104|  3.46k|        if (ix == index) {
  ------------------
  |  Branch (1104:13): [True: 2.95k, False: 510]
  ------------------
 1105|  2.95k|            return i;
 1106|  2.95k|        }
 1107|    510|        if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|    510|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1107:13): [True: 0, False: 510]
  ------------------
 1108|      0|            return DKIX_EMPTY;
  ------------------
  |  |  194|      0|#define DKIX_EMPTY (-1)
  ------------------
 1109|      0|        }
 1110|    510|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|    510|#define PERTURB_SHIFT 5
  ------------------
 1111|    510|        i = mask & (i*5 + perturb + 1);
 1112|    510|    }
 1113|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1114|  2.95k|}
dictobject.c:delitemif_lock_held:
 3111|    502|{
 3112|    502|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  326|    502|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3112:24): [True: 502, False: 0]
  |  Branch (3112:24): [True: 0, False: 0]
  ------------------
 3113|    502|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3113:5): [True: 502, False: 0]
  ------------------
 3114|       |
 3115|    502|    Py_ssize_t ix;
 3116|    502|    Py_hash_t hash;
 3117|    502|    PyObject *old_value;
 3118|    502|    int res;
 3119|       |
 3120|    502|    assert(key);
  ------------------
  |  Branch (3120:5): [True: 502, False: 0]
  ------------------
 3121|    502|    hash = PyObject_Hash(key);
 3122|    502|    if (hash == -1)
  ------------------
  |  Branch (3122:9): [True: 0, False: 502]
  ------------------
 3123|      0|        return -1;
 3124|    502|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3125|    502|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|    502|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3125:9): [True: 0, False: 502]
  ------------------
 3126|      0|        return -1;
 3127|      0|    }
 3128|    502|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  194|  1.00k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3128:9): [True: 0, False: 502]
  |  Branch (3128:29): [True: 0, False: 502]
  ------------------
 3129|      0|        return 0;
 3130|      0|    }
 3131|       |
 3132|    502|    res = predicate(old_value, arg);
 3133|    502|    if (res == -1)
  ------------------
  |  Branch (3133:9): [True: 0, False: 502]
  ------------------
 3134|      0|        return -1;
 3135|       |
 3136|    502|    if (res > 0) {
  ------------------
  |  Branch (3136:9): [True: 502, False: 0]
  ------------------
 3137|    502|        _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3138|    502|        delitem_common(mp, hash, ix, old_value);
 3139|    502|        return 1;
 3140|    502|    } else {
 3141|      0|        return 0;
 3142|      0|    }
 3143|    502|}
dictobject.c:replace_value:
 2020|  3.58k|{
 2021|  3.58k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2021:5): [True: 3.58k, False: 0]
  ------------------
 2022|  3.58k|    assert(old_value != NULL);
  ------------------
  |  Branch (2022:5): [True: 3.58k, False: 0]
  ------------------
 2023|       |
 2024|  3.58k|    if (old_value != value) {
  ------------------
  |  Branch (2024:9): [True: 3.31k, False: 271]
  ------------------
 2025|  3.31k|        _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, mp, key, value);
 2026|  3.31k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  303|  3.31k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 1.12k, False: 2.18k]
  |  |  ------------------
  ------------------
 2027|  1.12k|            if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|  1.12k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 1.12k]
  |  |  ------------------
  ------------------
 2028|      0|                STORE_SPLIT_VALUE(mp, ix, value);
  ------------------
  |  |  332|      0|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2029|      0|            }
 2030|  1.12k|            else {
 2031|  1.12k|                PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 2032|  1.12k|                STORE_VALUE(ep, value);
  ------------------
  |  |  331|  1.12k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|  1.12k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2033|  1.12k|            }
 2034|  1.12k|        }
 2035|  2.18k|        else {
 2036|  2.18k|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 2037|  2.18k|            STORE_VALUE(ep, value);
  ------------------
  |  |  331|  2.18k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|  2.18k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2038|  2.18k|        }
 2039|  3.31k|    }
 2040|  3.58k|    Py_DECREF(old_value); /* which **CAN** re-enter (see gh-66843) */
  ------------------
  |  |  430|  3.58k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2041|       |
 2042|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  3.58k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2042:5): [True: 3.58k, False: 0]
  ------------------
 2043|  3.58k|}
dictobject.c:clear_lock_held:
 3219|     19|{
 3220|     19|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|     19|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     19|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3220:9): [True: 0, False: 19]
  ------------------
 3221|      0|        return;
 3222|      0|    }
 3223|     19|    PyDictObject *mp = (PyDictObject *)op;
 3224|     19|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3224:5): [True: 19, False: 0]
  ------------------
 3225|       |
 3226|     19|    PyDictKeysObject *oldkeys;
 3227|     19|    PyDictValues *oldvalues;
 3228|     19|    Py_ssize_t i, n;
 3229|       |
 3230|     19|    oldkeys = mp->ma_keys;
 3231|     19|    oldvalues = mp->ma_values;
 3232|     19|    if (oldkeys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|     19|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (3232:9): [True: 7, False: 12]
  ------------------
 3233|      7|        return;
 3234|      7|    }
 3235|       |    /* Empty the dict... */
 3236|     12|    clear_common(mp);
 3237|     12|    if (oldvalues == NULL) {
  ------------------
  |  Branch (3237:9): [True: 12, False: 0]
  ------------------
 3238|     12|        set_keys(mp, Py_EMPTY_KEYS);
  ------------------
  |  |  660|     12|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 3239|     12|        assert(oldkeys->dk_refcnt == 1);
  ------------------
  |  Branch (3239:9): [True: 12, False: 0]
  ------------------
 3240|     12|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|     12|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3241|     12|    }
 3242|      0|    else if (oldvalues->embedded) {
  ------------------
  |  Branch (3242:14): [True: 0, False: 0]
  ------------------
 3243|      0|        clear_embedded_values(oldvalues, oldkeys->dk_nentries);
 3244|      0|    }
 3245|      0|    else {
 3246|      0|        set_values(mp, NULL);
 3247|      0|        set_keys(mp, Py_EMPTY_KEYS);
  ------------------
  |  |  660|      0|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 3248|      0|        n = oldkeys->dk_nentries;
 3249|      0|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3249:21): [True: 0, False: 0]
  ------------------
 3250|      0|            PyObject *tmp = oldvalues->values[i];
 3251|      0|            FT_ATOMIC_STORE_PTR_RELEASE(oldvalues->values[i], NULL);
  ------------------
  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3252|      0|            Py_XDECREF(tmp);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3253|      0|        }
 3254|      0|        free_values(oldvalues, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3255|      0|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3256|      0|    }
 3257|     12|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|     12|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3257:5): [True: 12, False: 0]
  ------------------
 3258|     12|}
dictobject.c:clear_common:
 3210|     12|{
 3211|     12|    _PyDict_NotifyEvent(PyDict_EVENT_CLEARED, mp, NULL, NULL);
 3212|       |    // We don't inc ref empty keys because they're immortal
 3213|     12|    ensure_shared_on_resize(mp);
 3214|     12|    STORE_USED(mp, 0);
  ------------------
  |  |  336|     12|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|     12|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3215|     12|}
dictobject.c:pop_lock_held:
 3413|    563|{
 3414|    563|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|    563|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    563|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3414:9): [True: 0, False: 563]
  ------------------
 3415|      0|        if (result) {
  ------------------
  |  Branch (3415:13): [True: 0, False: 0]
  ------------------
 3416|      0|            *result = NULL;
 3417|      0|        }
 3418|      0|        if (PyFrozenDict_Check(op)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3419|      0|            frozendict_does_not_support("deletion");
  ------------------
  |  | 2855|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2856|      0|                    "not support item " WHAT)
  ------------------
 3420|      0|        }
 3421|      0|        else {
 3422|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3423|      0|        }
 3424|      0|        return -1;
 3425|      0|    }
 3426|    563|    PyDictObject *dict = (PyDictObject *)op;
 3427|    563|    assert(can_modify_dict(dict));
  ------------------
  |  Branch (3427:5): [True: 563, False: 0]
  ------------------
 3428|       |
 3429|    563|    if (dict->ma_used == 0) {
  ------------------
  |  Branch (3429:9): [True: 1, False: 562]
  ------------------
 3430|      1|        if (result) {
  ------------------
  |  Branch (3430:13): [True: 1, False: 0]
  ------------------
 3431|      1|            *result = NULL;
 3432|      1|        }
 3433|      1|        return 0;
 3434|      1|    }
 3435|       |
 3436|    562|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3437|    562|    if (hash == -1) {
  ------------------
  |  Branch (3437:9): [True: 0, False: 562]
  ------------------
 3438|      0|        dict_unhashable_type(op, key);
 3439|      0|        if (result) {
  ------------------
  |  Branch (3439:13): [True: 0, False: 0]
  ------------------
 3440|      0|            *result = NULL;
 3441|      0|        }
 3442|      0|        return -1;
 3443|      0|    }
 3444|    562|    return _PyDict_Pop_KnownHash(dict, key, hash, result);
 3445|    562|}
dictobject.c:dict_pop_default:
 3478|    175|{
 3479|    175|    PyObject *result;
 3480|    175|    if (PyDict_Pop(dict, key, &result) == 0) {
  ------------------
  |  Branch (3480:9): [True: 8, False: 167]
  ------------------
 3481|      8|        if (default_value != NULL) {
  ------------------
  |  Branch (3481:13): [True: 8, False: 0]
  ------------------
 3482|      8|            return Py_NewRef(default_value);
  ------------------
  |  |  647|      8|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3483|      8|        }
 3484|      0|        _PyErr_SetKeyError(key);
 3485|      0|        return NULL;
 3486|      8|    }
 3487|    167|    return result;
 3488|    175|}
dictobject.c:keys_lock_held:
 3943|     16|{
 3944|     16|    ASSERT_DICT_LOCKED(dict);
 3945|       |
 3946|     16|    if (dict == NULL || !PyAnyDict_Check(dict)) {
  ------------------
  |  |   43|     16|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|     16|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     32|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 16, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3946:9): [True: 0, False: 16]
  ------------------
 3947|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3948|      0|        return NULL;
 3949|      0|    }
 3950|     16|    PyDictObject *mp = (PyDictObject *)dict;
 3951|     16|    PyObject *v;
 3952|     16|    Py_ssize_t n;
 3953|       |
 3954|     16|  again:
 3955|     16|    n = mp->ma_used;
 3956|     16|    v = PyList_New(n);
 3957|     16|    if (v == NULL)
  ------------------
  |  Branch (3957:9): [True: 0, False: 16]
  ------------------
 3958|      0|        return NULL;
 3959|     16|    if (n != mp->ma_used) {
  ------------------
  |  Branch (3959:9): [True: 0, False: 16]
  ------------------
 3960|       |        /* Durnit.  The allocations caused the dict to resize.
 3961|       |         * Just start over, this shouldn't normally happen.
 3962|       |         */
 3963|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3964|      0|        goto again;
 3965|      0|    }
 3966|       |
 3967|       |    /* Nothing we do below makes any function calls. */
 3968|     16|    Py_ssize_t j = 0, pos = 0;
 3969|     16|    PyObject *key;
 3970|  2.36k|    while (_PyDict_Next((PyObject*)mp, &pos, &key, NULL, NULL)) {
  ------------------
  |  Branch (3970:12): [True: 2.35k, False: 16]
  ------------------
 3971|  2.35k|        assert(j < n);
  ------------------
  |  Branch (3971:9): [True: 2.35k, False: 0]
  ------------------
 3972|  2.35k|        PyList_SET_ITEM(v, j, Py_NewRef(key));
  ------------------
  |  |   50|  2.35k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3973|  2.35k|        j++;
 3974|  2.35k|    }
 3975|     16|    assert(j == n);
  ------------------
  |  Branch (3975:5): [True: 16, False: 0]
  ------------------
 3976|     16|    return v;
 3977|     16|}
dictobject.c:dict_merge_from_seq2:
 4272|      8|{
 4273|      8|    int res;
 4274|      8|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|      8|    {
  ------------------
 4275|      8|    res = merge_from_seq2_lock_held(d, seq2, override);
 4276|      8|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
 4277|       |
 4278|      8|    return res;
 4279|      8|}
dictobject.c:merge_from_seq2_lock_held:
 4183|      8|{
 4184|      8|    PyObject *it;       /* iter(seq2) */
 4185|      8|    Py_ssize_t i;       /* index into seq2 of current element */
 4186|      8|    PyObject *item;     /* seq2[i] */
 4187|      8|    PyObject *fast;     /* item as a 2-tuple or 2-list */
 4188|       |
 4189|      8|    assert(d != NULL);
  ------------------
  |  Branch (4189:5): [True: 8, False: 0]
  ------------------
 4190|      8|    assert(PyAnyDict_Check(d));
  ------------------
  |  Branch (4190:5): [True: 8, False: 0]
  |  Branch (4190:5): [True: 0, False: 0]
  ------------------
 4191|      8|    assert(seq2 != NULL);
  ------------------
  |  Branch (4191:5): [True: 8, False: 0]
  ------------------
 4192|      8|    assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (4192:5): [True: 8, False: 0]
  ------------------
 4193|       |
 4194|      8|    it = PyObject_GetIter(seq2);
 4195|      8|    if (it == NULL)
  ------------------
  |  Branch (4195:9): [True: 0, False: 8]
  ------------------
 4196|      0|        return -1;
 4197|       |
 4198|    159|    for (i = 0; ; ++i) {
 4199|    159|        PyObject *key = NULL, *value = NULL;
 4200|    159|        Py_ssize_t n;
 4201|       |
 4202|    159|        fast = NULL;
 4203|    159|        item = PyIter_Next(it);
 4204|    159|        if (item == NULL) {
  ------------------
  |  Branch (4204:13): [True: 8, False: 151]
  ------------------
 4205|      8|            if (PyErr_Occurred())
  ------------------
  |  Branch (4205:17): [True: 0, False: 8]
  ------------------
 4206|      0|                goto Fail;
 4207|      8|            break;
 4208|      8|        }
 4209|       |
 4210|       |        /* Convert item to sequence, and verify length 2. */
 4211|    151|        fast = PySequence_Fast(item, "object is not iterable");
 4212|    151|        if (fast == NULL) {
  ------------------
  |  Branch (4212:13): [True: 0, False: 151]
  ------------------
 4213|      0|            if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (4213:17): [True: 0, False: 0]
  ------------------
 4214|      0|                _PyErr_FormatNote(
 4215|      0|                    "Cannot convert dictionary update "
 4216|      0|                    "sequence element #%zd to a sequence",
 4217|      0|                    i);
 4218|      0|            }
 4219|      0|            goto Fail;
 4220|      0|        }
 4221|    151|        Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(item);
  ------------------
  |  |   77|    151|# define Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(original) {
  ------------------
 4222|    151|        n = PySequence_Fast_GET_SIZE(fast);
  ------------------
  |  |   92|    151|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    151|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    151|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 151]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|    151|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4223|    151|        if (n == 2) {
  ------------------
  |  Branch (4223:13): [True: 151, False: 0]
  ------------------
 4224|    151|            key = Py_NewRef(PySequence_Fast_GET_ITEM(fast, 0));
  ------------------
  |  |  647|    151|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    755|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (37:38): [True: 151, False: 0]
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 151]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4225|    151|            value = Py_NewRef(PySequence_Fast_GET_ITEM(fast, 1));
  ------------------
  |  |  647|    151|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    755|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (37:38): [True: 151, False: 0]
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 151]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4226|    151|        }
 4227|    151|        Py_END_CRITICAL_SECTION_SEQUENCE_FAST();
  ------------------
  |  |   78|    151|# define Py_END_CRITICAL_SECTION_SEQUENCE_FAST() }
  ------------------
 4228|    151|        if (n != 2) {
  ------------------
  |  Branch (4228:13): [True: 0, False: 151]
  ------------------
 4229|      0|            PyErr_Format(PyExc_ValueError,
 4230|      0|                         "dictionary update sequence element #%zd "
 4231|      0|                         "has length %zd; 2 is required",
 4232|      0|                         i, n);
 4233|      0|            goto Fail;
 4234|      0|        }
 4235|       |
 4236|       |        /* Update/merge with this (key, value) pair. */
 4237|    151|        if (override) {
  ------------------
  |  Branch (4237:13): [True: 151, False: 0]
  ------------------
 4238|    151|            if (setitem_lock_held((PyDictObject *)d, key, value) < 0) {
  ------------------
  |  Branch (4238:17): [True: 0, False: 151]
  ------------------
 4239|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4240|      0|                Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4241|      0|                goto Fail;
 4242|      0|            }
 4243|    151|        }
 4244|      0|        else {
 4245|      0|            if (dict_setdefault_ref_lock_held(d, key, value, NULL, 0) < 0) {
  ------------------
  |  Branch (4245:17): [True: 0, False: 0]
  ------------------
 4246|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4247|      0|                Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4248|      0|                goto Fail;
 4249|      0|            }
 4250|      0|        }
 4251|       |
 4252|    151|        Py_DECREF(key);
  ------------------
  |  |  430|    151|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4253|    151|        Py_DECREF(value);
  ------------------
  |  |  430|    151|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4254|    151|        Py_DECREF(fast);
  ------------------
  |  |  430|    151|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4255|    151|        Py_DECREF(item);
  ------------------
  |  |  430|    151|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4256|    151|    }
 4257|       |
 4258|      8|    i = 0;
 4259|      8|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  668|      8|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4259:5): [True: 8, False: 0]
  ------------------
 4260|      8|    goto Return;
 4261|      8|Fail:
 4262|      0|    Py_XDECREF(item);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4263|      0|    Py_XDECREF(fast);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4264|      0|    i = -1;
 4265|      8|Return:
 4266|      8|    Py_DECREF(it);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4267|      8|    return Py_SAFE_DOWNCAST(i, Py_ssize_t, int);
  ------------------
  |  |  247|      8|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|      8|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4268|      0|}
dictobject.c:dict_merge:
 4392|  1.34k|{
 4393|  1.34k|    assert(a != NULL);
  ------------------
  |  Branch (4393:5): [True: 1.34k, False: 0]
  ------------------
 4394|  1.34k|    assert(b != NULL);
  ------------------
  |  Branch (4394:5): [True: 1.34k, False: 0]
  ------------------
 4395|  1.34k|    assert(0 <= override && override <= 2);
  ------------------
  |  Branch (4395:5): [True: 1.34k, False: 0]
  |  Branch (4395:5): [True: 1.34k, False: 0]
  ------------------
 4396|       |
 4397|  1.34k|    PyDictObject *mp = _PyAnyDict_CAST(a);
  ------------------
  |  |  326|  1.34k|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (4397:24): [True: 1.34k, False: 1]
  |  Branch (4397:24): [True: 1, False: 0]
  ------------------
 4398|       |
 4399|      0|    int res = 0;
 4400|  1.34k|    if (PyAnyDict_Check(b) && (Py_TYPE(b)->tp_iter == dict_iter)) {
  ------------------
  |  |   43|  2.68k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  1.34k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  2.68k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.33k, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      8|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      8|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyAnyDict_Check(b) && (Py_TYPE(b)->tp_iter == dict_iter)) {
  ------------------
  |  |  213|  1.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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4400:31): [True: 1.33k, False: 0]
  ------------------
 4401|  1.33k|        PyDictObject *other = (PyDictObject*)b;
 4402|  1.33k|        int res;
 4403|  1.33k|        Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|  1.33k|    {
  ------------------
 4404|  1.33k|        assert(can_modify_dict(mp));
  ------------------
  |  Branch (4404:9): [True: 1.33k, False: 0]
  ------------------
 4405|  1.33k|        res = dict_dict_merge((PyDictObject *)a, other, override, dupkey);
 4406|  1.33k|        ASSERT_CONSISTENT(a);
  ------------------
  |  |  668|  1.33k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4406:9): [True: 1.33k, False: 0]
  ------------------
 4407|  1.33k|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  1.33k|    }
  ------------------
 4408|  1.33k|        return res;
 4409|  1.33k|    }
 4410|      8|    else {
 4411|       |        /* Do it the generic, slower way */
 4412|      8|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|      8|    {
  ------------------
 4413|      8|        assert(can_modify_dict(mp));
  ------------------
  |  Branch (4413:9): [True: 8, False: 0]
  ------------------
 4414|       |
 4415|      8|        PyObject *keys = PyMapping_Keys(b);
 4416|      8|        PyObject *iter;
 4417|      8|        PyObject *key, *value;
 4418|      8|        int status;
 4419|       |
 4420|      8|        if (keys == NULL) {
  ------------------
  |  Branch (4420:13): [True: 0, False: 8]
  ------------------
 4421|       |            /* Docstring says this is equivalent to E.keys() so
 4422|       |             * if E doesn't have a .keys() method we want
 4423|       |             * AttributeError to percolate up.  Might as well
 4424|       |             * do the same for any other error.
 4425|       |             */
 4426|      0|            res = -1;
 4427|      0|            goto slow_exit;
 4428|      0|        }
 4429|       |
 4430|      8|        iter = PyObject_GetIter(keys);
 4431|      8|        Py_DECREF(keys);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4432|      8|        if (iter == NULL) {
  ------------------
  |  Branch (4432:13): [True: 0, False: 8]
  ------------------
 4433|      0|            res = -1;
 4434|      0|            goto slow_exit;
 4435|      0|        }
 4436|       |
 4437|    208|        for (key = PyIter_Next(iter); key; key = PyIter_Next(iter)) {
  ------------------
  |  Branch (4437:39): [True: 200, False: 8]
  ------------------
 4438|    200|            if (override != 1) {
  ------------------
  |  Branch (4438:17): [True: 0, False: 200]
  ------------------
 4439|      0|                status = dict_contains(a, key);
 4440|      0|                if (status != 0) {
  ------------------
  |  Branch (4440:21): [True: 0, False: 0]
  ------------------
 4441|      0|                    if (status > 0) {
  ------------------
  |  Branch (4441:25): [True: 0, False: 0]
  ------------------
 4442|      0|                        if (dupkey == NULL) {
  ------------------
  |  Branch (4442:29): [True: 0, False: 0]
  ------------------
 4443|      0|                            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4444|      0|                            continue;
 4445|      0|                        }
 4446|      0|                        *dupkey = key;
 4447|      0|                        res = -2;
 4448|      0|                    }
 4449|      0|                    else {
 4450|      0|                        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4451|      0|                        res = -1;
 4452|      0|                    }
 4453|      0|                    Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4454|      0|                    goto slow_exit;
 4455|      0|                }
 4456|      0|            }
 4457|    200|            value = PyObject_GetItem(b, key);
 4458|    200|            if (value == NULL) {
  ------------------
  |  Branch (4458:17): [True: 0, False: 200]
  ------------------
 4459|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4460|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4461|      0|                res = -1;
 4462|      0|                goto slow_exit;
 4463|      0|            }
 4464|    200|            status = setitem_lock_held(mp, key, value);
 4465|    200|            Py_DECREF(key);
  ------------------
  |  |  430|    200|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4466|    200|            Py_DECREF(value);
  ------------------
  |  |  430|    200|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4467|    200|            if (status < 0) {
  ------------------
  |  Branch (4467:17): [True: 0, False: 200]
  ------------------
 4468|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4469|      0|                res = -1;
 4470|      0|                goto slow_exit;
 4471|      0|                return -1;
 4472|      0|            }
 4473|    200|        }
 4474|      8|        Py_DECREF(iter);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4475|      8|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4475:13): [True: 0, False: 8]
  ------------------
 4476|       |            /* Iterator completed, via error */
 4477|      0|            res = -1;
 4478|      0|            goto slow_exit;
 4479|      0|        }
 4480|       |
 4481|      8|slow_exit:
 4482|      8|        ASSERT_CONSISTENT(a);
  ------------------
  |  |  668|      8|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4482:9): [True: 8, False: 0]
  ------------------
 4483|      8|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
 4484|      8|        return res;
 4485|      8|    }
 4486|  1.34k|}
dictobject.c:dict_dict_merge:
 4301|  1.33k|{
 4302|  1.33k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (4302:5): [True: 1.33k, False: 0]
  ------------------
 4303|  1.33k|    if (!PyFrozenDict_Check(other)) {
  ------------------
  |  |   37|  1.33k|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  1.33k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4303:9): [True: 1.33k, False: 0]
  ------------------
 4304|  1.33k|        ASSERT_DICT_LOCKED(other);
 4305|  1.33k|    }
 4306|       |
 4307|  1.33k|    if (other == mp || other->ma_used == 0)
  ------------------
  |  Branch (4307:9): [True: 0, False: 1.33k]
  |  Branch (4307:24): [True: 861, False: 473]
  ------------------
 4308|       |        /* a.update(a) or a.update({}); nothing to do */
 4309|    861|        return 0;
 4310|    473|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4310:9): [True: 34, False: 439]
  ------------------
 4311|       |        /* Since the target dict is empty, _PyDict_Contains_KnownHash()
 4312|       |         * always returns 0.  Setting override to 1
 4313|       |         * skips the unnecessary test.
 4314|       |         */
 4315|     34|        override = 1;
 4316|     34|        PyDictKeysObject *okeys = other->ma_keys;
 4317|       |
 4318|       |        // If other is clean, combined, and just allocated, just clone it.
 4319|     34|        if (mp->ma_values == NULL &&
  ------------------
  |  Branch (4319:13): [True: 34, False: 0]
  ------------------
 4320|     34|            other->ma_values == NULL &&
  ------------------
  |  Branch (4320:13): [True: 34, False: 0]
  ------------------
 4321|     34|            other->ma_used == okeys->dk_nentries &&
  ------------------
  |  Branch (4321:13): [True: 34, False: 0]
  ------------------
 4322|     34|            (DK_LOG_SIZE(okeys) == PyDict_LOG_MINSIZE ||
  ------------------
  |  |  281|     34|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  313|     34|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                          (DK_LOG_SIZE(okeys) == PyDict_LOG_MINSIZE ||
  ------------------
  |  |  115|     68|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (4322:14): [True: 32, False: 2]
  ------------------
 4323|      2|             USABLE_FRACTION(DK_SIZE(okeys)/2) < other->ma_used)
  ------------------
  |  |  590|      2|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4323:14): [True: 2, False: 0]
  ------------------
 4324|     34|        ) {
 4325|     34|            _PyDict_NotifyEvent(PyDict_EVENT_CLONED, mp, (PyObject *)other, NULL);
 4326|     34|            PyDictKeysObject *keys = clone_combined_dict_keys(other);
 4327|     34|            if (keys == NULL)
  ------------------
  |  Branch (4327:17): [True: 0, False: 34]
  ------------------
 4328|      0|                return -1;
 4329|       |
 4330|     34|            ensure_shared_on_resize(mp);
 4331|     34|            dictkeys_decref(mp->ma_keys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|     34|#define IS_DICT_SHARED(mp) (false)
  ------------------
 4332|     34|            set_keys(mp, keys);
 4333|     34|            STORE_USED(mp, other->ma_used);
  ------------------
  |  |  336|     34|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|     34|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4334|     34|            ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|     34|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4334:13): [True: 34, False: 0]
  ------------------
 4335|     34|            return 0;
 4336|     34|        }
 4337|     34|    }
 4338|       |    /* Do one big resize at the start, rather than
 4339|       |        * incrementally resizing as we insert new items.  Expect
 4340|       |        * that there will be no (or few) overlapping keys.
 4341|       |        */
 4342|    439|    if (USABLE_FRACTION(DK_SIZE(mp->ma_keys)) < other->ma_used) {
  ------------------
  |  |  590|    439|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4342:9): [True: 1, False: 438]
  ------------------
 4343|      1|        int unicode = DK_IS_UNICODE(other->ma_keys);
  ------------------
  |  |  303|      1|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
 4344|      1|        if (dictresize(mp, estimate_log2_keysize(mp->ma_used + other->ma_used),
  ------------------
  |  Branch (4344:13): [True: 0, False: 1]
  ------------------
 4345|      1|                        unicode)) {
 4346|      0|            return -1;
 4347|      0|        }
 4348|      1|    }
 4349|       |
 4350|    439|    Py_ssize_t orig_size = other->ma_used;
 4351|    439|    Py_ssize_t pos = 0;
 4352|    439|    Py_hash_t hash;
 4353|    439|    PyObject *key, *value;
 4354|       |
 4355|  9.46k|    while (_PyDict_Next((PyObject*)other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (4355:12): [True: 9.02k, False: 439]
  ------------------
 4356|  9.02k|        int err = 0;
 4357|  9.02k|        if (override == 1) {
  ------------------
  |  Branch (4357:13): [True: 9.02k, False: 0]
  ------------------
 4358|  9.02k|            err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  647|  9.02k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  647|  9.02k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4359|  9.02k|        }
 4360|      0|        else {
 4361|      0|            Py_INCREF(key);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4362|      0|            Py_INCREF(value);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4363|      0|            err = _PyDict_Contains_KnownHash((PyObject *)mp, key, hash);
 4364|      0|            if (err == 0) {
  ------------------
  |  Branch (4364:17): [True: 0, False: 0]
  ------------------
 4365|      0|                err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4366|      0|            }
 4367|      0|            else if (err > 0) {
  ------------------
  |  Branch (4367:22): [True: 0, False: 0]
  ------------------
 4368|      0|                if (dupkey != NULL) {
  ------------------
  |  Branch (4368:21): [True: 0, False: 0]
  ------------------
 4369|      0|                    *dupkey = key;
 4370|      0|                    Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4371|      0|                    return -2;
 4372|      0|                }
 4373|      0|                err = 0;
 4374|      0|            }
 4375|      0|            Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4376|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4377|      0|        }
 4378|  9.02k|        if (err != 0)
  ------------------
  |  Branch (4378:13): [True: 0, False: 9.02k]
  ------------------
 4379|      0|            return -1;
 4380|       |
 4381|  9.02k|        if (orig_size != other->ma_used) {
  ------------------
  |  Branch (4381:13): [True: 0, False: 9.02k]
  ------------------
 4382|      0|            PyErr_SetString(PyExc_RuntimeError,
 4383|      0|                    "dict mutated during update");
 4384|      0|            return -1;
 4385|      0|        }
 4386|  9.02k|    }
 4387|    439|    return 0;
 4388|    439|}
dictobject.c:clone_combined_dict_keys:
 1024|  1.61k|{
 1025|  1.61k|    assert(PyAnyDict_Check(orig));
  ------------------
  |  Branch (1025:5): [True: 1.61k, False: 0]
  |  Branch (1025:5): [True: 0, False: 0]
  ------------------
 1026|  1.61k|    assert(Py_TYPE(orig)->tp_iter == dict_iter);
  ------------------
  |  Branch (1026:5): [True: 1.61k, False: 0]
  ------------------
 1027|  1.61k|    assert(orig->ma_values == NULL);
  ------------------
  |  Branch (1027:5): [True: 1.61k, False: 0]
  ------------------
 1028|  1.61k|    assert(orig->ma_keys != Py_EMPTY_KEYS);
  ------------------
  |  Branch (1028:5): [True: 1.61k, False: 0]
  ------------------
 1029|  1.61k|    assert(orig->ma_keys->dk_refcnt == 1);
  ------------------
  |  Branch (1029:5): [True: 1.61k, False: 0]
  ------------------
 1030|       |
 1031|  1.61k|    if (!PyFrozenDict_Check(orig)) {
  ------------------
  |  |   37|  1.61k|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  1.61k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1031:9): [True: 1.61k, False: 0]
  ------------------
 1032|  1.61k|        ASSERT_DICT_LOCKED(orig);
 1033|  1.61k|    }
 1034|       |
 1035|  1.61k|    size_t keys_size = _PyDict_KeysSize(orig->ma_keys);
 1036|  1.61k|    PyDictKeysObject *keys = PyMem_Malloc(keys_size);
 1037|  1.61k|    if (keys == NULL) {
  ------------------
  |  Branch (1037:9): [True: 0, False: 1.61k]
  ------------------
 1038|      0|        PyErr_NoMemory();
 1039|      0|        return NULL;
 1040|      0|    }
 1041|       |
 1042|  1.61k|    memcpy(keys, orig->ma_keys, keys_size);
 1043|       |
 1044|       |    /* The keys version must be unique per keys object: the specializer
 1045|       |       and the JIT optimizer rely on it to identify a dict's keys. */
 1046|  1.61k|    keys->dk_version = 0;
 1047|       |
 1048|       |    /* After copying key/value pairs, we need to incref all
 1049|       |       keys and values and they are about to be co-owned by a
 1050|       |       new dict object. */
 1051|  1.61k|    PyObject **pkey, **pvalue;
 1052|  1.61k|    size_t offs;
 1053|  1.61k|    if (DK_IS_UNICODE(orig->ma_keys)) {
  ------------------
  |  |  303|  1.61k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 1.61k, False: 0]
  |  |  ------------------
  ------------------
 1054|  1.61k|        PyDictUnicodeEntry *ep0 = DK_UNICODE_ENTRIES(keys);
 1055|  1.61k|        pkey = &ep0->me_key;
 1056|  1.61k|        pvalue = &ep0->me_value;
 1057|  1.61k|        offs = sizeof(PyDictUnicodeEntry) / sizeof(PyObject*);
 1058|  1.61k|    }
 1059|      0|    else {
 1060|      0|        PyDictKeyEntry *ep0 = DK_ENTRIES(keys);
 1061|      0|        pkey = &ep0->me_key;
 1062|      0|        pvalue = &ep0->me_value;
 1063|      0|        offs = sizeof(PyDictKeyEntry) / sizeof(PyObject*);
 1064|      0|    }
 1065|       |
 1066|  1.61k|    Py_ssize_t n = keys->dk_nentries;
 1067|  14.9k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1067:28): [True: 13.3k, False: 1.61k]
  ------------------
 1068|  13.3k|        PyObject *value = *pvalue;
 1069|  13.3k|        if (value != NULL) {
  ------------------
  |  Branch (1069:13): [True: 12.0k, False: 1.27k]
  ------------------
 1070|  12.0k|            Py_INCREF(value);
  ------------------
  |  |  310|  12.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1071|  12.0k|            Py_INCREF(*pkey);
  ------------------
  |  |  310|  12.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1072|  12.0k|        }
 1073|  13.3k|        pvalue += offs;
 1074|  13.3k|        pkey += offs;
 1075|  13.3k|    }
 1076|       |
 1077|       |    /* Since we copied the keys table we now have an extra reference
 1078|       |       in the system.  Manually call increment _Py_RefTotal to signal that
 1079|       |       we have it now; calling dictkeys_incref would be an error as
 1080|       |       keys->dk_refcnt is already set to 1 (after memcpy). */
 1081|       |#ifdef Py_REF_DEBUG
 1082|       |    _Py_IncRefTotal(_PyThreadState_GET());
 1083|       |#endif
 1084|  1.61k|    return keys;
 1085|  1.61k|}
dictobject.c:dict_merge_api:
 4490|  1.29k|{
 4491|       |    /* We accept for the argument either a concrete dictionary object,
 4492|       |     * or an abstract "mapping" object.  For the former, we can do
 4493|       |     * things quite efficiently.  For the latter, we only require that
 4494|       |     * PyMapping_Keys() and PyObject_GetItem() be supported.
 4495|       |     */
 4496|  1.29k|    if (a == NULL || !PyDict_Check(a) || b == NULL) {
  ------------------
  |  |   18|  1.29k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.58k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4496:9): [True: 0, False: 1.29k]
  |  Branch (4496:22): [True: 0, False: 1.29k]
  |  Branch (4496:42): [True: 0, False: 1.29k]
  ------------------
 4497|      0|        if (a != NULL && PyFrozenDict_Check(a)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4497:13): [True: 0, False: 0]
  ------------------
 4498|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2855|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2856|      0|                    "not support item " WHAT)
  ------------------
 4499|      0|        }
 4500|      0|        else {
 4501|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4502|      0|        }
 4503|      0|        return -1;
 4504|      0|    }
 4505|       |
 4506|  1.29k|    int res = dict_merge(a, b, override, dupkey);
 4507|  1.29k|    assert(_PyObject_GC_IS_TRACKED(a));
  ------------------
  |  Branch (4507:5): [True: 1.29k, False: 0]
  ------------------
 4508|  1.29k|    return res;
 4509|  1.29k|}
dictobject.c:copy_lock_held_untracked:
 4566|  1.58k|{
 4567|  1.58k|    PyObject *copy;
 4568|  1.58k|    PyDictObject *mp;
 4569|       |
 4570|       |    // frozendict is immutable and so doesn't need critical section
 4571|  1.58k|    if (!PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|  1.58k|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  1.58k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4571:9): [True: 1.58k, False: 0]
  ------------------
 4572|  1.58k|        ASSERT_DICT_LOCKED(o);
 4573|  1.58k|    }
 4574|       |
 4575|  1.58k|    mp = (PyDictObject *)o;
 4576|  1.58k|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4576:9): [True: 2, False: 1.58k]
  ------------------
 4577|       |        /* The dict is empty; just return a new dict. */
 4578|      2|        PyObject *d;
 4579|      2|        if (as_frozendict) {
  ------------------
  |  Branch (4579:13): [True: 0, False: 2]
  ------------------
 4580|      0|            d = frozendict_new_untracked(&PyFrozenDict_Type);
 4581|      0|        }
 4582|      2|        else {
 4583|      2|            d = dict_new_untracked(&PyDict_Type);
 4584|      2|        }
 4585|      2|        assert(d == NULL || !_PyObject_GC_IS_TRACKED(d));
  ------------------
  |  Branch (4585:9): [True: 0, False: 2]
  |  Branch (4585:9): [True: 2, False: 0]
  ------------------
 4586|      2|        return d;
 4587|      2|    }
 4588|       |
 4589|  1.58k|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|  1.58k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 1.58k]
  |  |  ------------------
  ------------------
 4590|      0|        PyDictObject *split_copy;
 4591|      0|        PyDictValues *newvalues = copy_values(mp->ma_values);
 4592|      0|        if (newvalues == NULL) {
  ------------------
  |  Branch (4592:13): [True: 0, False: 0]
  ------------------
 4593|      0|            return PyErr_NoMemory();
 4594|      0|        }
 4595|      0|        if (as_frozendict) {
  ------------------
  |  Branch (4595:13): [True: 0, False: 0]
  ------------------
 4596|      0|            split_copy = (PyDictObject *)PyObject_GC_New(PyFrozenDictObject,
  ------------------
  |  |  181|      0|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4597|      0|                                                         &PyFrozenDict_Type);
 4598|      0|        }
 4599|      0|        else {
 4600|      0|            split_copy = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|      0|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4601|      0|        }
 4602|      0|        if (split_copy == NULL) {
  ------------------
  |  Branch (4602:13): [True: 0, False: 0]
  ------------------
 4603|      0|            free_values(newvalues, false);
 4604|      0|            return NULL;
 4605|      0|        }
 4606|      0|        for (size_t i = 0; i < newvalues->capacity; i++) {
  ------------------
  |  Branch (4606:28): [True: 0, False: 0]
  ------------------
 4607|      0|            Py_XINCREF(newvalues->values[i]);
  ------------------
  |  |  611|      0|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4608|      0|        }
 4609|      0|        split_copy->ma_values = newvalues;
 4610|      0|        split_copy->ma_keys = mp->ma_keys;
 4611|      0|        split_copy->ma_used = mp->ma_used;
 4612|      0|        split_copy->_ma_watcher_tag = 0;
 4613|      0|        dictkeys_incref(mp->ma_keys);
 4614|      0|        if (as_frozendict) {
  ------------------
  |  Branch (4614:13): [True: 0, False: 0]
  ------------------
 4615|      0|            PyFrozenDictObject *frozen = (PyFrozenDictObject *)split_copy;
 4616|      0|            frozen->ma_hash = -1;
 4617|      0|        }
 4618|      0|        assert(!_PyObject_GC_IS_TRACKED(split_copy));
  ------------------
  |  Branch (4618:9): [True: 0, False: 0]
  ------------------
 4619|      0|        return (PyObject *)split_copy;
 4620|      0|    }
 4621|       |
 4622|  1.58k|    if (Py_TYPE(mp)->tp_iter == dict_iter &&
  ------------------
  |  |  213|  1.58k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4622:9): [True: 1.58k, False: 0]
  ------------------
 4623|  1.58k|            mp->ma_values == NULL &&
  ------------------
  |  Branch (4623:13): [True: 1.58k, False: 0]
  ------------------
 4624|  1.58k|            (mp->ma_used >= (mp->ma_keys->dk_nentries * 2) / 3))
  ------------------
  |  Branch (4624:13): [True: 1.58k, False: 0]
  ------------------
 4625|  1.58k|    {
 4626|       |        /* Use fast-copy if:
 4627|       |
 4628|       |           (1) type(mp) doesn't override tp_iter; and
 4629|       |
 4630|       |           (2) 'mp' is not a split-dict; and
 4631|       |
 4632|       |           (3) if 'mp' is non-compact ('del' operation does not resize dicts),
 4633|       |               do fast-copy only if it has at most 1/3 non-used keys.
 4634|       |
 4635|       |           The last condition (3) is important to guard against a pathological
 4636|       |           case when a large dict is almost emptied with multiple del/pop
 4637|       |           operations and copied after that.  In cases like this, we defer to
 4638|       |           PyDict_Merge, which produces a compacted copy.
 4639|       |        */
 4640|  1.58k|        PyDictKeysObject *keys = clone_combined_dict_keys(mp);
 4641|  1.58k|        if (keys == NULL) {
  ------------------
  |  Branch (4641:13): [True: 0, False: 1.58k]
  ------------------
 4642|      0|            return NULL;
 4643|      0|        }
 4644|  1.58k|        PyDictObject *new;
 4645|  1.58k|        if (as_frozendict) {
  ------------------
  |  Branch (4645:13): [True: 0, False: 1.58k]
  ------------------
 4646|      0|            new = (PyDictObject *)new_frozendict_untracked(keys, NULL, 0, 0);
 4647|      0|        }
 4648|  1.58k|        else {
 4649|  1.58k|            new = (PyDictObject *)new_dict_untracked(keys, NULL, 0, 0);
 4650|  1.58k|        }
 4651|  1.58k|        if (new == NULL) {
  ------------------
  |  Branch (4651:13): [True: 0, False: 1.58k]
  ------------------
 4652|       |            /* In case of an error, new_dict()/new_frozendict() takes care of
 4653|       |               cleaning up `keys`. */
 4654|      0|            return NULL;
 4655|      0|        }
 4656|       |
 4657|  1.58k|        new->ma_used = mp->ma_used;
 4658|  1.58k|        ASSERT_CONSISTENT(new);
  ------------------
  |  |  668|  1.58k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4658:9): [True: 1.58k, False: 0]
  ------------------
 4659|  1.58k|        assert(!_PyObject_GC_IS_TRACKED(new));
  ------------------
  |  Branch (4659:9): [True: 1.58k, False: 0]
  ------------------
 4660|  1.58k|        return (PyObject *)new;
 4661|  1.58k|    }
 4662|       |
 4663|      0|    if (as_frozendict) {
  ------------------
  |  Branch (4663:9): [True: 0, False: 0]
  ------------------
 4664|      0|        copy = frozendict_new_untracked(&PyFrozenDict_Type);
 4665|      0|    }
 4666|      0|    else {
 4667|      0|        copy = dict_new_untracked(&PyDict_Type);
 4668|      0|    }
 4669|      0|    if (copy == NULL)
  ------------------
  |  Branch (4669:9): [True: 0, False: 0]
  ------------------
 4670|      0|        return NULL;
 4671|      0|    int res;
 4672|      0|    if (Py_TYPE(mp)->tp_iter == dict_iter) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4672:9): [True: 0, False: 0]
  ------------------
 4673|      0|        res = dict_dict_merge((PyDictObject *)copy, mp, 1, NULL);
 4674|      0|    }
 4675|      0|    else {
 4676|      0|        res = dict_merge(copy, o, 1, NULL);
 4677|      0|    }
 4678|      0|    if (res < 0) {
  ------------------
  |  Branch (4678:9): [True: 0, False: 0]
  ------------------
 4679|      0|        Py_DECREF(copy);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4680|      0|        return NULL;
 4681|      0|    }
 4682|       |
 4683|      0|    assert(!_PyObject_GC_IS_TRACKED(copy));
  ------------------
  |  Branch (4683:5): [True: 0, False: 0]
  ------------------
 4684|      0|    return copy;
 4685|      0|}
dictobject.c:dict_new_untracked:
 5477|      9|{
 5478|      9|    assert(PyObject_IsSubclass((PyObject*)type, (PyObject*)&PyDict_Type));
  ------------------
  |  Branch (5478:5): [True: 9, False: 0]
  ------------------
 5479|       |
 5480|      9|    return anydict_new_untracked(type);
 5481|      9|}
dictobject.c:anydict_new_untracked:
 5454|     10|{
 5455|     10|    assert(type != NULL);
  ------------------
  |  Branch (5455:5): [True: 10, False: 0]
  ------------------
 5456|       |    // dict and frozendict subclasses must implement the GC protocol
 5457|     10|    assert(_PyType_IS_GC(type));
  ------------------
  |  Branch (5457:5): [True: 10, False: 0]
  ------------------
 5458|       |
 5459|     10|    PyObject *self = _PyType_AllocNoTrack(type, 0);
 5460|     10|    if (self == NULL) {
  ------------------
  |  Branch (5460:9): [True: 0, False: 10]
  ------------------
 5461|      0|        return NULL;
 5462|      0|    }
 5463|     10|    PyDictObject *d = (PyDictObject *)self;
 5464|       |
 5465|     10|    d->ma_used = 0;
 5466|     10|    d->_ma_watcher_tag = 0;
 5467|       |    // We don't inc ref empty keys because they're immortal
 5468|     10|    assert((Py_EMPTY_KEYS)->dk_refcnt == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  ------------------
  |  Branch (5468:5): [True: 10, False: 0]
  ------------------
 5469|     10|    d->ma_keys = Py_EMPTY_KEYS;
  ------------------
  |  |  660|     10|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 5470|     10|    d->ma_values = NULL;
 5471|     10|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  668|     10|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (5471:5): [True: 10, False: 0]
  ------------------
 5472|     10|    return self;
 5473|     10|}
dictobject.c:new_values:
  915|    349|{
  916|    349|    size_t n = values_size_from_count(size);
  917|    349|    PyDictValues *res = (PyDictValues *)PyMem_Malloc(n);
  918|    349|    if (res == NULL) {
  ------------------
  |  Branch (918:9): [True: 0, False: 349]
  ------------------
  919|      0|        return NULL;
  920|      0|    }
  921|    349|    res->embedded = 0;
  922|    349|    res->size = 0;
  923|    349|    assert(size < 256);
  ------------------
  |  Branch (923:5): [True: 349, False: 0]
  ------------------
  924|    349|    res->capacity = (uint8_t)size;
  925|    349|    return res;
  926|    349|}
dictobject.c:values_size_from_count:
  903|    349|{
  904|    349|    assert(count >= 1);
  ------------------
  |  Branch (904:5): [True: 349, False: 0]
  ------------------
  905|    349|    size_t suffix_size = _Py_SIZE_ROUND_UP(count, sizeof(PyObject *));
  ------------------
  |  |  249|    349|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  250|    349|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  906|    349|    assert(suffix_size < 128);
  ------------------
  |  Branch (906:5): [True: 349, False: 0]
  ------------------
  907|    349|    assert(suffix_size % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (907:5): [True: 349, False: 0]
  ------------------
  908|    349|    return (count + 1) * sizeof(PyObject *) + suffix_size;
  909|    349|}
dictobject.c:dictkeys_incref:
  482|    349|{
  483|    349|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  151|    349|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (483:9): [True: 0, False: 349]
  ------------------
  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|    349|    INCREF_KEYS(dk);
  ------------------
  |  |  262|    349|#define INCREF_KEYS(dk)  dk->dk_refcnt++
  ------------------
  491|    349|}
dictobject.c:new_dict_untracked:
  987|  1.58k|{
  988|  1.58k|    PyDictObject *mp = _Py_FREELIST_POP(PyDictObject, dicts);
  ------------------
  |  |   43|  1.58k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  989|  1.58k|    if (mp == NULL) {
  ------------------
  |  Branch (989:9): [True: 873, False: 707]
  ------------------
  990|    873|        mp = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|    873|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    873|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  991|    873|    }
  992|  1.58k|    assert(mp == NULL || Py_IS_TYPE(mp, &PyDict_Type));
  ------------------
  |  Branch (992:5): [True: 0, False: 1.58k]
  |  Branch (992:5): [True: 1.58k, False: 0]
  ------------------
  993|       |
  994|  1.58k|    return new_dict_impl(mp, keys, values, used, free_values_on_failure, 0, 0);
  995|  1.58k|}
dictobject.c:dict_setdefault_ref_lock_held:
 4913|   621k|{
 4914|   621k|    if (!PyDict_Check(d)) {
  ------------------
  |  |   18|   621k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   621k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4914:9): [True: 0, False: 621k]
  ------------------
 4915|      0|        if (PyFrozenDict_Check(d)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4916|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2855|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2856|      0|                    "not support item " WHAT)
  ------------------
 4917|      0|        }
 4918|      0|        else {
 4919|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4920|      0|        }
 4921|      0|        if (result) {
  ------------------
  |  Branch (4921:13): [True: 0, False: 0]
  ------------------
 4922|      0|            *result = NULL;
 4923|      0|        }
 4924|      0|        return -1;
 4925|      0|    }
 4926|   621k|    assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (4926:5): [True: 621k, False: 0]
  ------------------
 4927|       |
 4928|   621k|    PyDictObject *mp = (PyDictObject *)d;
 4929|   621k|    PyObject *value;
 4930|   621k|    Py_hash_t hash;
 4931|   621k|    Py_ssize_t ix;
 4932|       |
 4933|   621k|    hash = _PyObject_HashDictKey(key);
 4934|   621k|    if (hash == -1) {
  ------------------
  |  Branch (4934:9): [True: 0, False: 621k]
  ------------------
 4935|      0|        dict_unhashable_type(d, key);
 4936|      0|        if (result) {
  ------------------
  |  Branch (4936:13): [True: 0, False: 0]
  ------------------
 4937|      0|            *result = NULL;
 4938|      0|        }
 4939|      0|        return -1;
 4940|      0|    }
 4941|       |
 4942|   621k|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|   621k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (4942:9): [True: 22, False: 621k]
  ------------------
 4943|     22|        if (insert_to_emptydict(mp, Py_NewRef(key), hash,
  ------------------
  |  |  647|     22|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4943:13): [True: 0, False: 22]
  ------------------
 4944|     22|                                Py_NewRef(default_value)) < 0) {
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4945|      0|            if (result) {
  ------------------
  |  Branch (4945:17): [True: 0, False: 0]
  ------------------
 4946|      0|                *result = NULL;
 4947|      0|            }
 4948|      0|            return -1;
 4949|      0|        }
 4950|     22|        if (result) {
  ------------------
  |  Branch (4950:13): [True: 5, False: 17]
  ------------------
 4951|      5|            *result = incref_result ? Py_NewRef(default_value) : default_value;
  ------------------
  |  |  647|      5|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4951:23): [True: 5, False: 0]
  ------------------
 4952|      5|        }
 4953|     22|        return 0;
 4954|     22|    }
 4955|       |
 4956|   621k|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   61|  1.24M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 621k]
  |  |  ------------------
  ------------------
                  if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4957|      0|        ix = insert_split_key(mp->ma_keys, key, hash);
 4958|      0|        if (ix != DKIX_EMPTY) {
  ------------------
  |  |  194|      0|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4958:13): [True: 0, False: 0]
  ------------------
 4959|      0|            PyObject *value = mp->ma_values->values[ix];
 4960|      0|            int already_present = value != NULL;
 4961|      0|            if (!already_present) {
  ------------------
  |  Branch (4961:17): [True: 0, False: 0]
  ------------------
 4962|      0|                _PyDict_InsertSplitValue(mp, key, default_value, ix);
 4963|      0|                value = default_value;
 4964|      0|            }
 4965|      0|            if (result) {
  ------------------
  |  Branch (4965:17): [True: 0, False: 0]
  ------------------
 4966|      0|                *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4966:27): [True: 0, False: 0]
  ------------------
 4967|      0|            }
 4968|      0|            return already_present;
 4969|      0|        }
 4970|       |        // No space in shared keys. Go to insert_combined_dict() below.
 4971|      0|    }
 4972|   621k|    else {
 4973|   621k|        ix = _Py_dict_lookup(mp, key, hash, &value);
 4974|   621k|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|   621k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4974:13): [True: 0, False: 621k]
  ------------------
 4975|      0|            if (result) {
  ------------------
  |  Branch (4975:17): [True: 0, False: 0]
  ------------------
 4976|      0|                *result = NULL;
 4977|      0|            }
 4978|      0|            return -1;
 4979|      0|        }
 4980|   621k|    }
 4981|       |
 4982|   621k|    if (ix == DKIX_EMPTY || value == NULL) {
  ------------------
  |  |  194|  1.24M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4982:9): [True: 13.0k, False: 608k]
  |  Branch (4982:29): [True: 0, False: 608k]
  ------------------
 4983|  13.0k|        value = default_value;
 4984|       |
 4985|       |        // See comment to this function in insertdict.
 4986|  13.0k|        if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  647|  13.0k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  13.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  647|  13.0k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  13.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4986:13): [True: 0, False: 13.0k]
  ------------------
 4987|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4988|      0|            Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4989|      0|            if (result) {
  ------------------
  |  Branch (4989:17): [True: 0, False: 0]
  ------------------
 4990|      0|                *result = NULL;
 4991|      0|            }
 4992|      0|            return -1;
 4993|      0|        }
 4994|       |
 4995|  13.0k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|  13.0k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|  13.0k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4996|  13.0k|        assert(mp->ma_keys->dk_usable >= 0);
  ------------------
  |  Branch (4996:9): [True: 13.0k, False: 0]
  ------------------
 4997|  13.0k|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  13.0k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4997:9): [True: 13.0k, False: 0]
  ------------------
 4998|  13.0k|        if (result) {
  ------------------
  |  Branch (4998:13): [True: 9.72k, False: 3.33k]
  ------------------
 4999|  9.72k|            *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  647|  9.72k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4999:23): [True: 9.72k, False: 0]
  ------------------
 5000|  9.72k|        }
 5001|  13.0k|        return 0;
 5002|  13.0k|    }
 5003|       |
 5004|   621k|    assert(value != NULL);
  ------------------
  |  Branch (5004:5): [True: 608k, False: 0]
  ------------------
 5005|   608k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|   608k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (5005:5): [True: 608k, False: 0]
  ------------------
 5006|   608k|    if (result) {
  ------------------
  |  Branch (5006:9): [True: 608k, False: 0]
  ------------------
 5007|   608k|        *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  647|   608k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   608k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   608k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5007:19): [True: 608k, False: 0]
  ------------------
 5008|   608k|    }
 5009|   608k|    return 1;
 5010|   608k|}
dictobject.c:dict_update_arg:
 4123|     56|{
 4124|     56|    if (PyAnyDict_CheckExact(arg)) {
  ------------------
  |  |   41|     56|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|     56|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    112|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 40, False: 16]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|     16|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     16|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 16]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4125|     40|        return dict_merge(self, arg, 1, NULL);
 4126|     40|    }
 4127|     16|    int has_keys = PyObject_HasAttrWithError(arg, &_Py_ID(keys));
  ------------------
  |  |  951|     16|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     16|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     16|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4128|     16|    if (has_keys < 0) {
  ------------------
  |  Branch (4128:9): [True: 0, False: 16]
  ------------------
 4129|      0|        return -1;
 4130|      0|    }
 4131|     16|    if (has_keys) {
  ------------------
  |  Branch (4131:9): [True: 8, False: 8]
  ------------------
 4132|      8|        return dict_merge(self, arg, 1, NULL);
 4133|      8|    }
 4134|      8|    return dict_merge_from_seq2(self, arg, 1);
 4135|     16|}
dictobject.c:dict_contains:
 5375|  8.97k|{
 5376|  8.97k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 5377|  8.97k|    if (hash == -1) {
  ------------------
  |  Branch (5377:9): [True: 0, False: 8.97k]
  ------------------
 5378|      0|        dict_unhashable_type(op, key);
 5379|      0|        return -1;
 5380|      0|    }
 5381|       |
 5382|  8.97k|    return _PyDict_Contains_KnownHash(op, key, hash);
 5383|  8.97k|}
dictobject.c:dict_dealloc:
 3738|   402k|{
 3739|   402k|    PyDictObject *mp = (PyDictObject *)self;
 3740|   402k|    _PyObject_ResurrectStart(self);
 3741|   402k|    _PyDict_NotifyEvent(PyDict_EVENT_DEALLOCATED, mp, NULL, NULL);
 3742|   402k|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (3742:9): [True: 0, False: 402k]
  ------------------
 3743|      0|        return;
 3744|      0|    }
 3745|   402k|    PyDictValues *values = mp->ma_values;
 3746|   402k|    PyDictKeysObject *keys = mp->ma_keys;
 3747|   402k|    Py_ssize_t i, n;
 3748|       |
 3749|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 3750|   402k|    PyObject_GC_UnTrack(mp);
 3751|   402k|    if (values != NULL) {
  ------------------
  |  Branch (3751:9): [True: 7, False: 402k]
  ------------------
 3752|      7|        if (values->embedded == 0) {
  ------------------
  |  Branch (3752:13): [True: 7, False: 0]
  ------------------
 3753|    217|            for (i = 0, n = values->capacity; i < n; i++) {
  ------------------
  |  Branch (3753:47): [True: 210, False: 7]
  ------------------
 3754|    210|                Py_XDECREF(values->values[i]);
  ------------------
  |  |  621|    210|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3755|    210|            }
 3756|      7|            free_values(values, false);
 3757|      7|        }
 3758|      7|        dictkeys_decref(keys, false);
 3759|      7|    }
 3760|   402k|    else if (keys != NULL) {
  ------------------
  |  Branch (3760:14): [True: 402k, False: 0]
  ------------------
 3761|   402k|        assert(keys->dk_refcnt == 1 || keys == Py_EMPTY_KEYS);
  ------------------
  |  Branch (3761:9): [True: 377k, False: 25.6k]
  |  Branch (3761:9): [True: 25.6k, False: 0]
  ------------------
 3762|   402k|        dictkeys_decref(keys, false);
 3763|   402k|    }
 3764|   402k|    if (Py_IS_TYPE(mp, &PyDict_Type)) {
  ------------------
  |  |  215|   402k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   402k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   402k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 402k, False: 7]
  |  |  ------------------
  ------------------
 3765|   402k|        _Py_FREELIST_FREE(dicts, mp, Py_TYPE(mp)->tp_free);
  ------------------
  |  |   35|   402k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|   402k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   402k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|   402k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   16|   402k|#  define Py_dicts_MAXFREELIST 80
  |  |  ------------------
  ------------------
 3766|   402k|    }
 3767|      7|    else {
 3768|      7|        Py_TYPE(mp)->tp_free((PyObject *)mp);
  ------------------
  |  |  213|      7|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3769|      7|    }
 3770|   402k|}
dictobject.c:dict_length:
 3875|    530|{
 3876|    530|    return GET_USED(_PyAnyDict_CAST(self));
  ------------------
  |  |  328|    530|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  151|  2.12k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (151:45): [True: 530, False: 0]
  |  |  |  |  |  Branch (151:45): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3877|    530|}
dictobject.c:dict_traverse:
 5188|   146k|{
 5189|   146k|    PyDictObject *mp = (PyDictObject *)op;
 5190|   146k|    PyDictKeysObject *keys = mp->ma_keys;
 5191|   146k|    Py_ssize_t i, n = keys->dk_nentries;
 5192|       |
 5193|   146k|    if (DK_IS_UNICODE(keys)) {
  ------------------
  |  |  303|   146k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 130k, False: 15.9k]
  |  |  ------------------
  ------------------
 5194|   130k|        if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|   130k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 25.1k, False: 105k]
  |  |  ------------------
  ------------------
 5195|   173k|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5195:25): [True: 148k, False: 25.1k]
  ------------------
 5196|   148k|                Py_VISIT(mp->ma_values->values[i]);
  ------------------
  |  |  194|   148k|    do {                                                                \
  |  |  195|   148k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 122k, False: 25.8k]
  |  |  ------------------
  |  |  196|   122k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   122k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   122k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   122k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 122k]
  |  |  ------------------
  |  |  198|   122k|                return vret;                                            \
  |  |  199|   122k|        }                                                               \
  |  |  200|   148k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 148k]
  |  |  ------------------
  ------------------
 5197|   148k|            }
 5198|  25.1k|        }
 5199|   105k|        else {
 5200|   105k|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
 5201|  1.77M|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5201:25): [True: 1.67M, False: 105k]
  ------------------
 5202|  1.67M|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|  1.67M|    do {                                                                \
  |  |  195|  1.67M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.56M, False: 102k]
  |  |  ------------------
  |  |  196|  1.56M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.56M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.56M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.56M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.56M]
  |  |  ------------------
  |  |  198|  1.56M|                return vret;                                            \
  |  |  199|  1.56M|        }                                                               \
  |  |  200|  1.67M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.67M]
  |  |  ------------------
  ------------------
 5203|  1.67M|            }
 5204|   105k|        }
 5205|   130k|    }
 5206|  15.9k|    else {
 5207|  15.9k|        PyDictKeyEntry *entries = DK_ENTRIES(keys);
 5208|   788k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5208:21): [True: 772k, False: 15.9k]
  ------------------
 5209|   772k|            if (entries[i].me_value != NULL) {
  ------------------
  |  Branch (5209:17): [True: 771k, False: 752]
  ------------------
 5210|   771k|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|   771k|    do {                                                                \
  |  |  195|   771k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 771k, False: 0]
  |  |  ------------------
  |  |  196|   771k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   771k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   771k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   771k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 771k]
  |  |  ------------------
  |  |  198|   771k|                return vret;                                            \
  |  |  199|   771k|        }                                                               \
  |  |  200|   771k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 771k]
  |  |  ------------------
  ------------------
 5211|   771k|                Py_VISIT(entries[i].me_key);
  ------------------
  |  |  194|   771k|    do {                                                                \
  |  |  195|   771k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 771k, False: 0]
  |  |  ------------------
  |  |  196|   771k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   771k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   771k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   771k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 771k]
  |  |  ------------------
  |  |  198|   771k|                return vret;                                            \
  |  |  199|   771k|        }                                                               \
  |  |  200|   771k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 771k]
  |  |  ------------------
  ------------------
 5212|   771k|            }
 5213|   772k|        }
 5214|  15.9k|    }
 5215|   146k|    return 0;
 5216|   146k|}
dictobject.c:dict_tp_clear:
 5220|     11|{
 5221|     11|    PyDict_Clear(op);
 5222|     11|    return 0;
 5223|     11|}
dictobject.c:dict_iter:
 5580|     12|{
 5581|     12|    PyDictObject *dict = (PyDictObject *)self;
 5582|     12|    return dictiter_new(dict, &PyDictIterKey_Type);
 5583|     12|}
dictobject.c:dictiter_new:
 5717|    119|{
 5718|    119|    Py_ssize_t used;
 5719|    119|    dictiterobject *di;
 5720|    119|    di = PyObject_GC_New(dictiterobject, itertype);
  ------------------
  |  |  181|    119|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5721|    119|    if (di == NULL) {
  ------------------
  |  Branch (5721:9): [True: 0, False: 119]
  ------------------
 5722|      0|        return NULL;
 5723|      0|    }
 5724|    119|    di->di_dict = (PyDictObject*)Py_NewRef(dict);
  ------------------
  |  |  647|    119|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5725|    119|    used = GET_USED(dict);
  ------------------
  |  |  328|    119|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  151|    119|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 5726|    119|    di->di_used = used;
 5727|    119|    di->len = used;
 5728|    119|    di->di_result = NULL;
 5729|    119|    if (itertype == &PyDictRevIterKey_Type ||
  ------------------
  |  Branch (5729:9): [True: 0, False: 119]
  ------------------
 5730|    119|         itertype == &PyDictRevIterItem_Type ||
  ------------------
  |  Branch (5730:10): [True: 0, False: 119]
  ------------------
 5731|    119|         itertype == &PyDictRevIterValue_Type) {
  ------------------
  |  Branch (5731:10): [True: 0, False: 119]
  ------------------
 5732|      0|        if (_PyDict_HasSplitTable(dict)) {
  ------------------
  |  |   61|      0|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5733|      0|            di->di_pos = used - 1;
 5734|      0|        }
 5735|      0|        else {
 5736|      0|            di->di_pos = load_keys_nentries(dict) - 1;
 5737|      0|        }
 5738|      0|    }
 5739|    119|    else {
 5740|    119|        di->di_pos = 0;
 5741|    119|    }
 5742|       |    /* gh-152107: track before allocating di_result. A dictiter with a NULL
 5743|       |       di_result is a valid state for dictiter_traverse()/dictiter_dealloc(),
 5744|       |       so a failure of the allocation below can safely DECREF a tracked di. */
 5745|    119|    _PyObject_GC_TRACK(di);
  ------------------
  |  |  502|    119|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5746|    119|    if (itertype == &PyDictIterItem_Type ||
  ------------------
  |  Branch (5746:9): [True: 95, False: 24]
  ------------------
 5747|     95|        itertype == &PyDictRevIterItem_Type) {
  ------------------
  |  Branch (5747:9): [True: 0, False: 24]
  ------------------
 5748|     95|        di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|     95|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|     95|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5749|     95|        if (di->di_result == NULL) {
  ------------------
  |  Branch (5749:13): [True: 0, False: 95]
  ------------------
 5750|      0|            Py_DECREF(di);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5751|      0|            return NULL;
 5752|      0|        }
 5753|     95|    }
 5754|    119|    return (PyObject *)di;
 5755|    119|}
dictobject.c:dict___contains___impl:
 4867|      4|{
 4868|      4|    int contains = dict_contains((PyObject *)self, key);
 4869|      4|    if (contains < 0) {
  ------------------
  |  Branch (4869:9): [True: 0, False: 4]
  ------------------
 4870|      0|        return NULL;
 4871|      0|    }
 4872|      4|    if (contains) {
  ------------------
  |  Branch (4872:9): [True: 0, False: 4]
  ------------------
 4873|      0|        Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4874|      0|    }
 4875|      4|    Py_RETURN_FALSE;
  ------------------
  |  |   45|      4|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      4|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4876|      4|}
dictobject.c:dict_get_impl:
 4891|  4.31k|{
 4892|  4.31k|    PyObject *val = NULL;
 4893|  4.31k|    Py_hash_t hash;
 4894|  4.31k|    Py_ssize_t ix;
 4895|       |
 4896|  4.31k|    hash = _PyObject_HashDictKey(key);
 4897|  4.31k|    if (hash == -1) {
  ------------------
  |  Branch (4897:9): [True: 0, False: 4.31k]
  ------------------
 4898|      0|        dict_unhashable_type((PyObject*)self, key);
 4899|      0|        return NULL;
 4900|      0|    }
 4901|  4.31k|    ix = _Py_dict_lookup_threadsafe(self, key, hash, &val);
 4902|  4.31k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  196|  4.31k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4902:9): [True: 0, False: 4.31k]
  ------------------
 4903|      0|        return NULL;
 4904|  4.31k|    if (ix == DKIX_EMPTY || val == NULL) {
  ------------------
  |  |  194|  8.63k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4904:9): [True: 3.25k, False: 1.06k]
  |  Branch (4904:29): [True: 0, False: 1.06k]
  ------------------
 4905|  3.25k|        val = Py_NewRef(default_value);
  ------------------
  |  |  647|  3.25k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4906|  3.25k|    }
 4907|  4.31k|    return val;
 4908|  4.31k|}
dictobject.c:dict_setdefault_impl:
 5050|     14|{
 5051|     14|    PyObject *val;
 5052|     14|    dict_setdefault_ref_lock_held((PyObject *)self, key, default_value, &val, 1);
 5053|     14|    return val;
 5054|     14|}
dictobject.c:dict_pop_impl:
 5088|    175|{
 5089|    175|    return dict_pop_default((PyObject*)self, key, default_value);
 5090|    175|}
dictobject.c:dict_keys_impl:
 7153|     12|{
 7154|     12|    return _PyDictView_New((PyObject *)self, &PyDictKeys_Type);
 7155|     12|}
dictobject.c:dict_items_impl:
 7265|     97|{
 7266|     97|    return _PyDictView_New((PyObject *)self, &PyDictItems_Type);
 7267|     97|}
dictobject.c:dict_values_impl:
 7355|      4|{
 7356|      4|    return _PyDictView_New((PyObject *)self, &PyDictValues_Type);
 7357|      4|}
dictobject.c:dict_update:
 4165|     47|{
 4166|     47|    if (dict_update_common(self, args, kwds, "update") != -1)
  ------------------
  |  Branch (4166:9): [True: 47, False: 0]
  ------------------
 4167|     47|        Py_RETURN_NONE;
  ------------------
  |  |  628|     47|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     47|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 4168|      0|    return NULL;
 4169|     47|}
dictobject.c:dict_update_common:
 4140|     54|{
 4141|     54|    PyObject *arg = NULL;
 4142|     54|    int result = 0;
 4143|       |
 4144|     54|    if (!PyArg_UnpackTuple(args, methname, 0, 1, &arg)) {
  ------------------
  |  Branch (4144:9): [True: 0, False: 54]
  ------------------
 4145|      0|        result = -1;
 4146|      0|    }
 4147|     54|    else if (arg != NULL) {
  ------------------
  |  Branch (4147:14): [True: 47, False: 7]
  ------------------
 4148|     47|        result = dict_update_arg(self, arg);
 4149|     47|    }
 4150|       |
 4151|     54|    if (result == 0 && kwds != NULL) {
  ------------------
  |  Branch (4151:9): [True: 54, False: 0]
  |  Branch (4151:24): [True: 0, False: 54]
  ------------------
 4152|      0|        if (PyArg_ValidateKeywordArguments(kwds))
  ------------------
  |  Branch (4152:13): [True: 0, False: 0]
  ------------------
 4153|      0|            result = dict_merge(self, kwds, 1, NULL);
 4154|      0|        else
 4155|      0|            result = -1;
 4156|      0|    }
 4157|     54|    return result;
 4158|     54|}
dictobject.c:dict_fromkeys_impl:
 4116|      5|{
 4117|      5|    return _PyDict_FromKeys((PyObject *)type, iterable, value);
 4118|      5|}
dictobject.c:dict_clear_impl:
 5066|      1|{
 5067|      1|    PyDict_Clear((PyObject *)self);
 5068|      1|    Py_RETURN_NONE;
  ------------------
  |  |  628|      1|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5069|      1|}
dictobject.c:dict_init:
 5497|      7|{
 5498|      7|    return dict_update_common(self, args, kwds, "dict");
 5499|      7|}
dictobject.c:dict_new:
 5485|      7|{
 5486|       |    /* tp_new ignores args/kwds; args/kwds are consumed by dict_init (tp_init). */
 5487|      7|    PyObject *self = dict_new_untracked(type);
 5488|      7|    if (self == NULL) {
  ------------------
  |  Branch (5488:9): [True: 0, False: 7]
  ------------------
 5489|      0|        return NULL;
 5490|      0|    }
 5491|      7|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|      7|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5492|      7|    return self;
 5493|      7|}
dictobject.c:dict_vectorcall:
 5504|     13|{
 5505|     13|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     13|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5506|     13|    if (!_PyArg_CheckPositional("dict", nargs, 0, 1)) {
  ------------------
  |  |   38|     13|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 13, False: 0]
  |  |  |  Branch (38:27): [True: 13, False: 0]
  |  |  ------------------
  |  |   39|     13|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5507|      0|        return NULL;
 5508|      0|    }
 5509|       |
 5510|     13|    assert(type == (PyObject *)&PyDict_Type);
  ------------------
  |  Branch (5510:5): [True: 13, False: 0]
  ------------------
 5511|     13|    PyObject *self = PyDict_New();
 5512|     13|    if (self == NULL) {
  ------------------
  |  Branch (5512:9): [True: 0, False: 13]
  ------------------
 5513|      0|        return NULL;
 5514|      0|    }
 5515|     13|    if (nargs == 1) {
  ------------------
  |  Branch (5515:9): [True: 8, False: 5]
  ------------------
 5516|      8|        if (dict_update_arg(self, args[0]) < 0) {
  ------------------
  |  Branch (5516:13): [True: 0, False: 8]
  ------------------
 5517|      0|            Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5518|      0|            return NULL;
 5519|      0|        }
 5520|      8|        args++;
 5521|      8|    }
 5522|     13|    if (kwnames != NULL) {
  ------------------
  |  Branch (5522:9): [True: 0, False: 13]
  ------------------
 5523|      0|        for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(kwnames); i++) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5523:32): [True: 0, False: 0]
  ------------------
 5524|      0|            PyObject *key = PyTuple_GET_ITEM(kwnames, i);  // borrowed
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5524:29): [True: 0, False: 0]
  ------------------
 5525|      0|            if (PyDict_SetItem(self, key, args[i]) < 0) {
  ------------------
  |  Branch (5525:17): [True: 0, False: 0]
  ------------------
 5526|      0|                Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5527|      0|                return NULL;
 5528|      0|            }
 5529|      0|        }
 5530|      0|    }
 5531|     13|    return self;
 5532|     13|}
dictobject.c:dictiter_dealloc:
 5759|    119|{
 5760|    119|    dictiterobject *di = (dictiterobject *)self;
 5761|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 5762|    119|    _PyObject_GC_UNTRACK(di);
  ------------------
  |  |  504|    119|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5763|    119|    Py_XDECREF(di->di_dict);
  ------------------
  |  |  621|    119|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5764|    119|    Py_XDECREF(di->di_result);
  ------------------
  |  |  621|    119|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5765|    119|    PyObject_GC_Del(di);
 5766|    119|}
dictobject.c:dictiter_iternextkey:
 5882|    268|{
 5883|    268|    dictiterobject *di = (dictiterobject *)self;
 5884|    268|    PyDictObject *d = di->di_dict;
 5885|       |
 5886|    268|    if (d == NULL)
  ------------------
  |  Branch (5886:9): [True: 0, False: 268]
  ------------------
 5887|      0|        return NULL;
 5888|       |
 5889|    268|    PyObject *value;
 5890|       |#ifdef Py_GIL_DISABLED
 5891|       |    if (dictiter_iternext_threadsafe(d, self, &value, NULL) < 0) {
 5892|       |        value = NULL;
 5893|       |    }
 5894|       |#else
 5895|    268|    value = dictiter_iternextkey_lock_held(d, self);
 5896|    268|#endif
 5897|       |
 5898|    268|    return value;
 5899|    268|}
dictobject.c:dictiter_iternextkey_lock_held:
 5813|    268|{
 5814|    268|    dictiterobject *di = (dictiterobject *)self;
 5815|    268|    PyObject *key;
 5816|    268|    Py_ssize_t i;
 5817|    268|    PyDictKeysObject *k;
 5818|       |
 5819|    268|    assert (PyAnyDict_Check(d));
  ------------------
  |  Branch (5819:5): [True: 268, False: 0]
  |  Branch (5819:5): [True: 0, False: 0]
  ------------------
 5820|    268|    ASSERT_DICT_LOCKED(d);
 5821|       |
 5822|    268|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5822:9): [True: 0, False: 268]
  ------------------
 5823|      0|        PyErr_SetString(PyExc_RuntimeError,
 5824|      0|                        "dictionary changed size during iteration");
 5825|      0|        di->di_used = -1; /* Make this state sticky */
 5826|      0|        return NULL;
 5827|      0|    }
 5828|       |
 5829|    268|    i = di->di_pos;
 5830|    268|    k = d->ma_keys;
 5831|    268|    assert(i >= 0);
  ------------------
  |  Branch (5831:5): [True: 268, False: 0]
  ------------------
 5832|    268|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   61|    268|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 268]
  |  |  ------------------
  ------------------
 5833|      0|        if (i >= d->ma_used)
  ------------------
  |  Branch (5833:13): [True: 0, False: 0]
  ------------------
 5834|      0|            goto fail;
 5835|      0|        int index = get_index_from_order(d, i);
 5836|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(k)[index].me_key);
  ------------------
  |  |  260|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 5837|      0|        assert(d->ma_values->values[index] != NULL);
  ------------------
  |  Branch (5837:9): [True: 0, False: 0]
  ------------------
 5838|      0|    }
 5839|    268|    else {
 5840|    268|        Py_ssize_t n = k->dk_nentries;
 5841|    268|        if (DK_IS_UNICODE(k)) {
  ------------------
  |  |  303|    268|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 268, False: 0]
  |  |  ------------------
  ------------------
 5842|    268|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(k)[i];
 5843|    289|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5843:20): [True: 269, False: 20]
  |  Branch (5843:29): [True: 21, False: 248]
  ------------------
 5844|     21|                entry_ptr++;
 5845|     21|                i++;
 5846|     21|            }
 5847|    268|            if (i >= n)
  ------------------
  |  Branch (5847:17): [True: 20, False: 248]
  ------------------
 5848|     20|                goto fail;
 5849|    248|            key = entry_ptr->me_key;
 5850|    248|        }
 5851|      0|        else {
 5852|      0|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(k)[i];
 5853|      0|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5853:20): [True: 0, False: 0]
  |  Branch (5853:29): [True: 0, False: 0]
  ------------------
 5854|      0|                entry_ptr++;
 5855|      0|                i++;
 5856|      0|            }
 5857|      0|            if (i >= n)
  ------------------
  |  Branch (5857:17): [True: 0, False: 0]
  ------------------
 5858|      0|                goto fail;
 5859|      0|            key = entry_ptr->me_key;
 5860|      0|        }
 5861|    268|    }
 5862|       |    // We found an element (key), but did not expect it
 5863|    248|    if (di->len == 0) {
  ------------------
  |  Branch (5863:9): [True: 0, False: 248]
  ------------------
 5864|      0|        PyErr_SetString(PyExc_RuntimeError,
 5865|      0|                        "dictionary keys changed during iteration");
 5866|      0|        goto fail;
 5867|      0|    }
 5868|    248|    di->di_pos = i+1;
 5869|    248|    di->len--;
 5870|    248|    return Py_NewRef(key);
  ------------------
  |  |  647|    248|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    248|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5871|       |
 5872|     20|fail:
 5873|     20|    di->di_dict = NULL;
 5874|     20|    Py_DECREF(d);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5875|       |    return NULL;
 5876|    248|}
dictobject.c:dictiter_len:
 5779|     81|{
 5780|     81|    dictiterobject *di = (dictiterobject *)self;
 5781|     81|    Py_ssize_t len = 0;
 5782|     81|    if (di->di_dict != NULL && di->di_used == GET_USED(di->di_dict))
  ------------------
  |  |  328|     81|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  151|     81|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
  |  Branch (5782:9): [True: 81, False: 0]
  |  Branch (5782:32): [True: 81, False: 0]
  ------------------
 5783|     81|        len = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->len);
  ------------------
  |  |  151|     81|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 5784|     81|    return PyLong_FromSize_t(len);
 5785|     81|}
dictobject.c:dictiter_iternextitem:
 6288|  1.08k|{
 6289|  1.08k|    dictiterobject *di = (dictiterobject *)self;
 6290|  1.08k|    PyDictObject *d = di->di_dict;
 6291|       |
 6292|  1.08k|    if (d == NULL)
  ------------------
  |  Branch (6292:9): [True: 0, False: 1.08k]
  ------------------
 6293|      0|        return NULL;
 6294|       |
 6295|  1.08k|    PyObject *key, *value;
 6296|       |#ifdef Py_GIL_DISABLED
 6297|       |    if (dictiter_iternext_threadsafe(d, self, &key, &value) == 0) {
 6298|       |#else
 6299|  1.08k|    if (dictiter_iternextitem_lock_held(d, self, &key, &value) == 0) {
  ------------------
  |  Branch (6299:9): [True: 992, False: 93]
  ------------------
 6300|       |
 6301|    992|#endif
 6302|    992|        PyObject *result = di->di_result;
 6303|    992|        if (acquire_iter_result(result)) {
  ------------------
  |  Branch (6303:13): [True: 218, False: 774]
  ------------------
 6304|    218|            PyObject *oldkey = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|    218|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    218|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6304:32): [True: 218, False: 0]
  ------------------
 6305|    218|            PyObject *oldvalue = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|    218|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    218|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6305:34): [True: 218, False: 0]
  ------------------
 6306|    218|            PyTuple_SET_ITEM(result, 0, key);
  ------------------
  |  |   40|    218|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    218|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    218|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6307|    218|            PyTuple_SET_ITEM(result, 1, value);
  ------------------
  |  |   40|    218|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    218|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    218|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6308|    218|            Py_DECREF(oldkey);
  ------------------
  |  |  430|    218|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    218|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6309|    218|            Py_DECREF(oldvalue);
  ------------------
  |  |  430|    218|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    218|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6310|       |            // bpo-42536: The GC may have untracked this result tuple. Since we're
 6311|       |            // recycling it, make sure it's tracked again:
 6312|    218|            _PyTuple_Recycle(result);
 6313|    218|        }
 6314|    774|        else {
 6315|    774|            result = _PyTuple_FromPairSteal(key, value);
 6316|    774|        }
 6317|    992|        return result;
 6318|    992|    }
 6319|     93|    return NULL;
 6320|  1.08k|}
dictobject.c:dictiter_iternextitem_lock_held:
 6060|  1.08k|{
 6061|  1.08k|    dictiterobject *di = (dictiterobject *)self;
 6062|  1.08k|    PyObject *key, *value;
 6063|  1.08k|    Py_ssize_t i;
 6064|       |
 6065|  1.08k|    assert (PyAnyDict_Check(d));
  ------------------
  |  Branch (6065:5): [True: 1.08k, False: 0]
  |  Branch (6065:5): [True: 0, False: 0]
  ------------------
 6066|  1.08k|    ASSERT_DICT_LOCKED(d);
 6067|       |
 6068|  1.08k|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (6068:9): [True: 0, False: 1.08k]
  ------------------
 6069|      0|        PyErr_SetString(PyExc_RuntimeError,
 6070|      0|                        "dictionary changed size during iteration");
 6071|      0|        di->di_used = -1; /* Make this state sticky */
 6072|      0|        return -1;
 6073|      0|    }
 6074|       |
 6075|  1.08k|    i = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->di_pos);
  ------------------
  |  |  151|  1.08k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 6076|       |
 6077|  1.08k|    assert(i >= 0);
  ------------------
  |  Branch (6077:5): [True: 1.08k, False: 0]
  ------------------
 6078|  1.08k|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   61|  1.08k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 1.08k]
  |  |  ------------------
  ------------------
 6079|      0|        if (i >= d->ma_used)
  ------------------
  |  Branch (6079:13): [True: 0, False: 0]
  ------------------
 6080|      0|            goto fail;
 6081|      0|        int index = get_index_from_order(d, i);
 6082|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(d->ma_keys)[index].me_key);
  ------------------
  |  |  260|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 6083|      0|        value = d->ma_values->values[index];
 6084|      0|        assert(value != NULL);
  ------------------
  |  Branch (6084:9): [True: 0, False: 0]
  ------------------
 6085|      0|    }
 6086|  1.08k|    else {
 6087|  1.08k|        Py_ssize_t n = d->ma_keys->dk_nentries;
 6088|  1.08k|        if (DK_IS_UNICODE(d->ma_keys)) {
  ------------------
  |  |  303|  1.08k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 1.08k, False: 0]
  |  |  ------------------
  ------------------
 6089|  1.08k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(d->ma_keys)[i];
 6090|  1.22k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (6090:20): [True: 1.12k, False: 93]
  |  Branch (6090:29): [True: 136, False: 992]
  ------------------
 6091|    136|                entry_ptr++;
 6092|    136|                i++;
 6093|    136|            }
 6094|  1.08k|            if (i >= n)
  ------------------
  |  Branch (6094:17): [True: 93, False: 992]
  ------------------
 6095|     93|                goto fail;
 6096|    992|            key = entry_ptr->me_key;
 6097|    992|            value = entry_ptr->me_value;
 6098|    992|        }
 6099|      0|        else {
 6100|      0|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(d->ma_keys)[i];
 6101|      0|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (6101:20): [True: 0, False: 0]
  |  Branch (6101:29): [True: 0, False: 0]
  ------------------
 6102|      0|                entry_ptr++;
 6103|      0|                i++;
 6104|      0|            }
 6105|      0|            if (i >= n)
  ------------------
  |  Branch (6105:17): [True: 0, False: 0]
  ------------------
 6106|      0|                goto fail;
 6107|      0|            key = entry_ptr->me_key;
 6108|      0|            value = entry_ptr->me_value;
 6109|      0|        }
 6110|  1.08k|    }
 6111|       |    // We found an element, but did not expect it
 6112|    992|    if (di->len == 0) {
  ------------------
  |  Branch (6112:9): [True: 0, False: 992]
  ------------------
 6113|      0|        PyErr_SetString(PyExc_RuntimeError,
 6114|      0|                        "dictionary keys changed during iteration");
 6115|      0|        goto fail;
 6116|      0|    }
 6117|    992|    di->di_pos = i+1;
 6118|    992|    di->len--;
 6119|    992|    if (out_key != NULL) {
  ------------------
  |  Branch (6119:9): [True: 992, False: 0]
  ------------------
 6120|    992|        *out_key = Py_NewRef(key);
  ------------------
  |  |  647|    992|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    992|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    992|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6121|    992|    }
 6122|    992|    if (out_value != NULL) {
  ------------------
  |  Branch (6122:9): [True: 992, False: 0]
  ------------------
 6123|    992|        *out_value = Py_NewRef(value);
  ------------------
  |  |  647|    992|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    992|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    992|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6124|    992|    }
 6125|    992|    return 0;
 6126|       |
 6127|     93|fail:
 6128|     93|    di->di_dict = NULL;
 6129|     93|    Py_DECREF(d);
  ------------------
  |  |  430|     93|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6130|     93|    return -1;
 6131|    992|}
dictobject.c:acquire_iter_result:
 6278|    992|{
 6279|    992|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (6279:9): [True: 218, False: 774]
  ------------------
 6280|    218|        Py_INCREF(result);
  ------------------
  |  |  310|    218|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    218|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6281|    218|        return true;
 6282|    218|    }
 6283|    774|    return false;
 6284|    992|}
dictobject.c:dictview_dealloc:
 6548|    113|{
 6549|    113|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6550|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 6551|    113|    _PyObject_GC_UNTRACK(dv);
  ------------------
  |  |  504|    113|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6552|    113|    Py_XDECREF(dv->dv_dict);
  ------------------
  |  |  621|    113|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6553|    113|    PyObject_GC_Del(dv);
 6554|    113|}
dictobject.c:dictkeys_iter:
 6734|     10|{
 6735|     10|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6736|     10|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (6736:9): [True: 0, False: 10]
  ------------------
 6737|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6738|      0|    }
 6739|     10|    return dictiter_new(dv->dv_dict, &PyDictIterKey_Type);
 6740|     10|}
dictobject.c:dictitems_iter:
 7171|     95|{
 7172|     95|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 7173|     95|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (7173:9): [True: 0, False: 95]
  ------------------
 7174|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 7175|      0|    }
 7176|     95|    return dictiter_new(dv->dv_dict, &PyDictIterItem_Type);
 7177|     95|}
dictobject.c:dictvalues_iter:
 7283|      2|{
 7284|      2|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 7285|      2|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (7285:9): [True: 0, False: 2]
  ------------------
 7286|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 7287|      0|    }
 7288|      2|    return dictiter_new(dv->dv_dict, &PyDictIterValue_Type);
 7289|      2|}
dictobject.c:get_log2_bytes:
  804|   386k|{
  805|   386k|    int log2_bytes;
  806|   386k|    assert(log2_size >= PyDict_LOG_MINSIZE);
  ------------------
  |  Branch (806:5): [True: 386k, False: 0]
  ------------------
  807|       |
  808|   386k|    if (log2_size < 8) {
  ------------------
  |  Branch (808:9): [True: 386k, False: 174]
  ------------------
  809|   386k|        log2_bytes = log2_size;
  810|   386k|    }
  811|    174|    else if (log2_size < 16) {
  ------------------
  |  Branch (811:14): [True: 174, False: 0]
  ------------------
  812|    174|        log2_bytes = log2_size + 1;
  813|    174|    }
  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|   386k|    return log2_bytes;
  824|   386k|}
dictobject.c:init_keys_object:
  829|   386k|{
  830|       |#ifdef Py_REF_DEBUG
  831|       |    _Py_IncRefTotal(_PyThreadState_GET());
  832|       |#endif
  833|   386k|    dk->dk_refcnt = 1;
  834|   386k|    dk->dk_log2_size = log2_size;
  835|   386k|    dk->dk_log2_index_bytes = log2_bytes;
  836|   386k|    dk->dk_kind = kind;
  837|       |#ifdef Py_GIL_DISABLED
  838|       |    dk->dk_mutex = (PyMutex){0};
  839|       |#endif
  840|   386k|    dk->dk_nentries = 0;
  841|   386k|    dk->dk_usable = usable;
  842|   386k|    dk->dk_version = 0;
  843|   386k|    memset(&dk->dk_indices[0], 0xff, ((size_t)1 << log2_bytes));
  844|   386k|    memset(&dk->dk_indices[(size_t)1 << log2_bytes], 0, entry_size * usable);
  845|   386k|}
dictobject.c:insert_split_key:
 1948|  2.76k|{
 1949|  2.76k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1949:5): [True: 2.76k, False: 0]
  ------------------
 1950|  2.76k|    Py_ssize_t ix;
 1951|       |
 1952|       |
 1953|       |#ifdef Py_GIL_DISABLED
 1954|       |    ix = unicodekeys_lookup_unicode_threadsafe(keys, key, hash);
 1955|       |    if (ix >= 0) {
 1956|       |        return ix;
 1957|       |    }
 1958|       |
 1959|       |    // We need to acquire the type lock before the keys mutex. Another lock
 1960|       |    // is never acquired below the keys mutex but a keys mutex can be acquired
 1961|       |    // elsewhere while we hold the types lock. To avoid deadlocks we must always
 1962|       |    // acquire the type lock first.
 1963|       |    Py_BEGIN_CRITICAL_SECTION_MUTEX(&_PyInterpreterState_GET()->types.mutex);
 1964|       |#endif
 1965|       |
 1966|  2.76k|    LOCK_KEYS(keys);
 1967|  2.76k|    ix = unicodekeys_lookup_unicode(keys, key, hash);
 1968|  2.76k|    if (ix == DKIX_EMPTY && keys->dk_usable > 0) {
  ------------------
  |  |  194|  5.52k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1968:9): [True: 295, False: 2.46k]
  |  Branch (1968:29): [True: 295, False: 0]
  ------------------
 1969|       |        // Insert into new slot
 1970|    295|        FT_ATOMIC_STORE_UINT32_RELAXED(keys->dk_version, 0);
  ------------------
  |  |  175|    295|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1971|    295|        struct _instancekeysobject *shared_keys = _PyDictKeys_AsSharedKeys(keys);
 1972|    295|        PyTypeObject *type = FT_ATOMIC_LOAD_PTR_ACQUIRE(shared_keys->dsk_owning_type);
  ------------------
  |  |  152|    295|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1973|    295|        if (type) {
  ------------------
  |  Branch (1973:13): [True: 295, False: 0]
  ------------------
 1974|       |            // we acquired the type lock above
 1975|    295|            _PyType_Modified_Unlocked(type);
 1976|    295|        }
 1977|    295|        Py_ssize_t hashpos = find_empty_slot(keys, hash);
 1978|    295|        ix = keys->dk_nentries;
 1979|    295|        dictkeys_set_index(keys, hashpos, ix);
 1980|    295|        PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(keys)[ix];
 1981|    295|        STORE_SHARED_KEY(ep->me_key, Py_NewRef(key));
  ------------------
  |  |  261|    295|#define STORE_SHARED_KEY(key, value) key = value
  ------------------
 1982|    295|        split_keys_entry_added(keys);
 1983|    295|    }
 1984|  2.76k|    assert (ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (1984:5): [True: 2.76k, False: 0]
  ------------------
 1985|  2.76k|    UNLOCK_KEYS(keys);
 1986|       |
 1987|       |#ifdef Py_GIL_DISABLED
 1988|       |    Py_END_CRITICAL_SECTION();
 1989|       |#endif
 1990|  2.76k|    return ix;
 1991|  2.76k|}
dictobject.c:split_keys_entry_added:
  275|    295|{
  276|    295|    keys->dk_usable--;
  277|    295|    keys->dk_nentries++;
  278|    295|}
dictobject.c:store_instance_attr_lock_held:
 7559|    830|{
 7560|    830|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  911|    830|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7561|    830|    assert(keys != NULL);
  ------------------
  |  Branch (7561:5): [True: 830, False: 0]
  ------------------
 7562|    830|    assert(values != NULL);
  ------------------
  |  Branch (7562:5): [True: 830, False: 0]
  ------------------
 7563|    830|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (7563:5): [True: 830, False: 0]
  ------------------
 7564|    830|    Py_ssize_t ix = DKIX_EMPTY;
  ------------------
  |  |  194|    830|#define DKIX_EMPTY (-1)
  ------------------
 7565|    830|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7566|    830|    assert(dict == NULL || ((PyDictObject *)dict)->ma_values == values);
  ------------------
  |  Branch (7566:5): [True: 830, False: 0]
  |  Branch (7566:5): [True: 0, False: 0]
  ------------------
 7567|    830|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|    830|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    830|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    830|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    830|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 830, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7568|    830|        Py_hash_t hash = unicode_get_hash(name);
 7569|    830|        if (hash == -1) {
  ------------------
  |  Branch (7569:13): [True: 0, False: 830]
  ------------------
 7570|      0|            hash = PyUnicode_Type.tp_hash(name);
 7571|      0|            assert(hash != -1);
  ------------------
  |  Branch (7571:13): [True: 0, False: 0]
  ------------------
 7572|      0|        }
 7573|       |
 7574|    830|        ix = insert_split_key(keys, name, hash);
 7575|       |
 7576|       |#ifdef Py_STATS
 7577|       |        if (ix == DKIX_EMPTY) {
 7578|       |            if (PyUnicode_CheckExact(name)) {
 7579|       |                if (shared_keys_usable_size(keys) == SHARED_KEYS_MAX_SIZE) {
 7580|       |                    OBJECT_STAT_INC(dict_materialized_too_big);
 7581|       |                }
 7582|       |                else {
 7583|       |                    OBJECT_STAT_INC(dict_materialized_new_key);
 7584|       |                }
 7585|       |            }
 7586|       |            else {
 7587|       |                OBJECT_STAT_INC(dict_materialized_str_subclass);
 7588|       |            }
 7589|       |        }
 7590|       |#endif
 7591|    830|    }
 7592|       |
 7593|    830|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|    830|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7593:9): [True: 0, False: 830]
  ------------------
 7594|      0|        int res;
 7595|      0|        if (dict == NULL) {
  ------------------
  |  Branch (7595:13): [True: 0, False: 0]
  ------------------
 7596|       |            // Make the dict but don't publish it in the object
 7597|       |            // so that no one else will see it.
 7598|      0|            dict = make_dict_from_instance_attributes(keys, values);
 7599|      0|            if (dict == NULL ||
  ------------------
  |  Branch (7599:17): [True: 0, False: 0]
  ------------------
 7600|      0|                _PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (7600:17): [True: 0, False: 0]
  ------------------
 7601|      0|                Py_XDECREF(dict);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7602|      0|                return -1;
 7603|      0|            }
 7604|       |
 7605|      0|            FT_ATOMIC_STORE_PTR_RELEASE(_PyObject_ManagedDictPointer(obj)->dict,
  ------------------
  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7606|      0|                                        (PyDictObject *)dict);
 7607|      0|            return 0;
 7608|      0|        }
 7609|       |
 7610|      0|        _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(dict);
 7611|       |
 7612|      0|        res = _PyDict_SetItem_LockHeld(dict, name, value);
 7613|      0|        return res;
 7614|      0|    }
 7615|       |
 7616|    830|    PyObject *old_value = values->values[ix];
 7617|    830|    if (old_value == NULL && value == NULL) {
  ------------------
  |  Branch (7617:9): [True: 794, False: 36]
  |  Branch (7617:30): [True: 0, False: 794]
  ------------------
 7618|      0|        PyErr_Format(PyExc_AttributeError,
 7619|      0|                        "'%.100s' object has no attribute '%U'",
 7620|      0|                        Py_TYPE(obj)->tp_name, name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7621|      0|        (void)_PyObject_SetAttributeErrorContext(obj, name);
 7622|      0|        return -1;
 7623|      0|    }
 7624|       |
 7625|    830|    if (dict) {
  ------------------
  |  Branch (7625:9): [True: 0, False: 830]
  ------------------
 7626|      0|        PyDict_WatchEvent event = (old_value == NULL ? PyDict_EVENT_ADDED :
  ------------------
  |  Branch (7626:36): [True: 0, False: 0]
  ------------------
 7627|      0|                                   value == NULL ? PyDict_EVENT_DELETED :
  ------------------
  |  Branch (7627:36): [True: 0, False: 0]
  ------------------
 7628|      0|                                   PyDict_EVENT_MODIFIED);
 7629|      0|        _PyDict_NotifyEvent(event, dict, name, value);
 7630|      0|    }
 7631|       |
 7632|    830|    FT_ATOMIC_STORE_PTR_RELEASE(values->values[ix], Py_XNewRef(value));
  ------------------
  |  |  166|    830|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7633|       |
 7634|    830|    if (old_value == NULL) {
  ------------------
  |  Branch (7634:9): [True: 794, False: 36]
  ------------------
 7635|    794|        _PyDictValues_AddToInsertionOrder(values, ix);
 7636|    794|        if (dict) {
  ------------------
  |  Branch (7636:13): [True: 0, False: 794]
  ------------------
 7637|      0|            assert(dict->ma_values == values);
  ------------------
  |  Branch (7637:13): [True: 0, False: 0]
  ------------------
 7638|      0|            STORE_USED(dict, dict->ma_used + 1);
  ------------------
  |  |  336|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 7639|      0|        }
 7640|    794|    }
 7641|     36|    else {
 7642|     36|        if (value == NULL) {
  ------------------
  |  Branch (7642:13): [True: 0, False: 36]
  ------------------
 7643|      0|            delete_index_from_values(values, ix);
 7644|      0|            if (dict) {
  ------------------
  |  Branch (7644:17): [True: 0, False: 0]
  ------------------
 7645|      0|                assert(dict->ma_values == values);
  ------------------
  |  Branch (7645:17): [True: 0, False: 0]
  ------------------
 7646|      0|                STORE_USED(dict, dict->ma_used - 1);
  ------------------
  |  |  336|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 7647|      0|            }
 7648|      0|        }
 7649|     36|        Py_DECREF(old_value);
  ------------------
  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7650|     36|    }
 7651|    830|    return 0;
 7652|    830|}
dictobject.c:clear_inline_values:
 7901|  2.76k|{
 7902|  2.76k|    if (values->valid) {
  ------------------
  |  Branch (7902:9): [True: 2.76k, False: 0]
  ------------------
 7903|  2.76k|        FT_ATOMIC_STORE_UINT8(values->valid, 0);
  ------------------
  |  |  157|  2.76k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  ------------------
 7904|  17.4k|        for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7904:32): [True: 14.6k, False: 2.76k]
  ------------------
 7905|  14.6k|            PyObject *value = values->values[i];
 7906|       |            // The attribute read fast-path may read these without holding the
 7907|       |            // per-object lock.
 7908|  14.6k|            FT_ATOMIC_STORE_PTR_RELEASE(values->values[i], NULL);
  ------------------
  |  |  166|  14.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7909|  14.6k|            Py_XDECREF(value);
  ------------------
  |  |  621|  14.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7910|  14.6k|        }
 7911|  2.76k|    }
 7912|  2.76k|}
dictobject.c:ensure_shared_on_resize:
 1454|  7.99k|{
 1455|       |#ifdef Py_GIL_DISABLED
 1456|       |    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(mp);
 1457|       |
 1458|       |    if (!_Py_IsOwnedByCurrentThread((PyObject *)mp) && !IS_DICT_SHARED(mp)) {
 1459|       |        // We are writing to the dict from another thread that owns
 1460|       |        // it and we haven't marked it as shared which will ensure
 1461|       |        // that when we re-size ma_keys or ma_values that we will
 1462|       |        // free using QSBR.  We need to lock the dictionary to
 1463|       |        // contend with writes from the owning thread, mark it as
 1464|       |        // shared, and then we can continue with lock-free reads.
 1465|       |        // Technically this is a little heavy handed, we could just
 1466|       |        // free the individual old keys / old-values using qsbr
 1467|       |        SET_DICT_SHARED(mp);
 1468|       |    }
 1469|       |#endif
 1470|  7.99k|}
dictobject.c:set_keys:
  282|  7.99k|{
  283|  7.99k|    mp->ma_keys = keys;
  284|  7.99k|}
dictobject.c:dictkeys_decref:
  495|   402k|{
  496|   402k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  151|   402k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (496:9): [True: 25.7k, False: 377k]
  ------------------
  497|  25.7k|        assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  ------------------
  |  Branch (497:9): [True: 25.7k, False: 0]
  ------------------
  498|  25.7k|        return;
  499|  25.7k|    }
  500|   402k|    assert(FT_ATOMIC_LOAD_SSIZE(dk->dk_refcnt) > 0);
  ------------------
  |  Branch (500:5): [True: 377k, False: 0]
  ------------------
  501|       |#ifdef Py_REF_DEBUG
  502|       |    _Py_DecRefTotal(_PyThreadState_GET());
  503|       |#endif
  504|   377k|    if (DECREF_KEYS(dk) == 1) {
  ------------------
  |  |  263|   377k|#define DECREF_KEYS(dk)  dk->dk_refcnt--
  ------------------
  |  Branch (504:9): [True: 377k, False: 7]
  ------------------
  505|   377k|        if (DK_IS_UNICODE(dk)) {
  ------------------
  |  |  303|   377k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 366k, False: 10.7k]
  |  |  ------------------
  ------------------
  506|   366k|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(dk);
  507|   366k|            Py_ssize_t i, n;
  508|  1.04M|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (508:46): [True: 681k, False: 366k]
  ------------------
  509|   681k|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  621|   681k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   681k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   681k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|   681k|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  621|   681k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   681k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   681k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|   681k|            }
  512|   366k|        }
  513|  10.7k|        else {
  514|  10.7k|            PyDictKeyEntry *entries = DK_ENTRIES(dk);
  515|  10.7k|            Py_ssize_t i, n;
  516|  47.9k|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (516:46): [True: 37.2k, False: 10.7k]
  ------------------
  517|  37.2k|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  621|  37.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|  37.2k|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  621|  37.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|  37.2k|            }
  520|  10.7k|        }
  521|   377k|        free_keys_object(dk, use_qsbr);
  522|   377k|    }
  523|   377k|}
dictobject.c:new_dict_with_shared_keys:
 1008|    349|{
 1009|    349|    size_t size = shared_keys_usable_size(keys);
 1010|    349|    PyDictValues *values = new_values(size);
 1011|    349|    if (values == NULL) {
  ------------------
  |  Branch (1011:9): [True: 0, False: 349]
  ------------------
 1012|      0|        return PyErr_NoMemory();
 1013|      0|    }
 1014|    349|    dictkeys_incref(keys);
 1015|  10.8k|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (1015:24): [True: 10.4k, False: 349]
  ------------------
 1016|       |        values->values[i] = NULL;
 1017|  10.4k|    }
 1018|    349|    return new_dict(keys, values, 0, 1);
 1019|    349|}
dictobject.c:ensure_nonmanaged_dict:
 8204|  36.8k|{
 8205|  36.8k|    PyDictKeysObject *cached;
 8206|       |
 8207|  36.8k|    PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  152|  36.8k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 8208|  36.8k|    if (dict == NULL) {
  ------------------
  |  Branch (8208:9): [True: 17.1k, False: 19.7k]
  ------------------
 8209|       |#ifdef Py_GIL_DISABLED
 8210|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 8211|       |        dict = *dictptr;
 8212|       |        if (dict != NULL) {
 8213|       |            goto done;
 8214|       |        }
 8215|       |#endif
 8216|  17.1k|        PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  17.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8217|  17.1k|        if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  503|  17.1k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
                      if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  911|  16.4k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
  |  Branch (8217:13): [True: 16.4k, False: 626]
  |  Branch (8217:60): [True: 349, False: 16.1k]
  ------------------
 8218|    349|            assert(!_PyType_HasFeature(tp, Py_TPFLAGS_INLINE_VALUES));
  ------------------
  |  Branch (8218:13): [True: 349, False: 0]
  ------------------
 8219|    349|            dict = new_dict_with_shared_keys(cached);
 8220|    349|        }
 8221|  16.7k|        else {
 8222|  16.7k|            dict = PyDict_New();
 8223|  16.7k|        }
 8224|  17.1k|        FT_ATOMIC_STORE_PTR_RELEASE(*dictptr, dict);
  ------------------
  |  |  166|  17.1k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 8225|       |#ifdef Py_GIL_DISABLED
 8226|       |done:
 8227|       |        Py_END_CRITICAL_SECTION();
 8228|       |#endif
 8229|  17.1k|    }
 8230|  36.8k|    return dict;
 8231|  36.8k|}
dictobject.c:get_next_dict_keys_version:
 8280|    199|{
 8281|       |#ifdef Py_GIL_DISABLED
 8282|       |    uint32_t v;
 8283|       |    do {
 8284|       |        v = _Py_atomic_load_uint32_relaxed(
 8285|       |            &interp->dict_state.next_keys_version);
 8286|       |        if (v == 0) {
 8287|       |            return 0;
 8288|       |        }
 8289|       |    } while (!_Py_atomic_compare_exchange_uint32(
 8290|       |        &interp->dict_state.next_keys_version, &v, v + 1));
 8291|       |#else
 8292|    199|    if (interp->dict_state.next_keys_version == 0) {
  ------------------
  |  Branch (8292:9): [True: 0, False: 199]
  ------------------
 8293|      0|        return 0;
 8294|      0|    }
 8295|    199|    uint32_t v = interp->dict_state.next_keys_version++;
 8296|    199|#endif
 8297|    199|    return v;
 8298|    199|}
dictobject.c:ensure_shared_on_keys_version_assignment:
 1474|  2.07k|{
 1475|  2.07k|    ASSERT_DICT_LOCKED((PyObject *) mp);
 1476|       |    #ifdef Py_GIL_DISABLED
 1477|       |    if (!IS_DICT_SHARED(mp)) {
 1478|       |        // This ensures that a concurrent resize operation will delay
 1479|       |        // freeing the old keys or values using QSBR, which is necessary to
 1480|       |        // safely allow concurrent reads without locking.
 1481|       |        SET_DICT_SHARED(mp);
 1482|       |    }
 1483|       |    #endif
 1484|  2.07k|}
dictobject.c:validate_watcher_id:
 8328|  1.96k|{
 8329|  1.96k|    if (watcher_id < 0 || watcher_id >= DICT_MAX_WATCHERS) {
  ------------------
  |  |   11|  1.96k|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8329:9): [True: 0, False: 1.96k]
  |  Branch (8329:27): [True: 0, False: 1.96k]
  ------------------
 8330|      0|        PyErr_Format(PyExc_ValueError, "Invalid dict watcher ID %d", watcher_id);
 8331|      0|        return -1;
 8332|      0|    }
 8333|  1.96k|    PyDict_WatchCallback cb = FT_ATOMIC_LOAD_PTR_RELAXED(
  ------------------
  |  |  155|  1.96k|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
 8334|  1.96k|        interp->dict_state.watchers[watcher_id]);
 8335|  1.96k|    if (cb == NULL) {
  ------------------
  |  Branch (8335:9): [True: 0, False: 1.96k]
  ------------------
 8336|      0|        PyErr_Format(PyExc_ValueError, "No dict watcher set for ID %d", watcher_id);
 8337|      0|        return -1;
 8338|      0|    }
 8339|  1.96k|    return 0;
 8340|  1.96k|}
dictobject.c:frozendict_new_untracked:
 8632|      1|{
 8633|      1|    assert(PyObject_IsSubclass((PyObject*)type, (PyObject*)&PyFrozenDict_Type));
  ------------------
  |  Branch (8633:5): [True: 1, False: 0]
  ------------------
 8634|       |
 8635|      1|    PyObject *d = anydict_new_untracked(type);
 8636|      1|    if (d == NULL) {
  ------------------
  |  Branch (8636:9): [True: 0, False: 1]
  ------------------
 8637|      0|        return NULL;
 8638|      0|    }
 8639|      1|    assert(can_modify_dict(_PyAnyDict_CAST(d)));
  ------------------
  |  Branch (8639:5): [True: 0, False: 1]
  |  Branch (8639:5): [True: 1, False: 0]
  |  Branch (8639:5): [True: 1, False: 0]
  ------------------
 8640|      1|    _PyFrozenDictObject_CAST(d)->ma_hash = -1;
  ------------------
  |  |  464|      1|    (assert(PyFrozenDict_Check(op)), _Py_CAST(PyFrozenDictObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (8640:5): [True: 1, False: 0]
  ------------------
 8641|      0|    return d;
 8642|      1|}
dictobject.c:frozendict_vectorcall:
 5537|      1|{
 5538|      1|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      1|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5539|      1|    if (!_PyArg_CheckPositional("frozendict", nargs, 0, 1)) {
  ------------------
  |  |   38|      1|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 1, False: 0]
  |  |  |  Branch (38:27): [True: 1, False: 0]
  |  |  ------------------
  |  |   39|      1|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5540|      0|        return NULL;
 5541|      0|    }
 5542|       |
 5543|      1|    if (nargs == 1 && kwnames == NULL
  ------------------
  |  Branch (5543:9): [True: 1, False: 0]
  |  Branch (5543:23): [True: 1, False: 0]
  ------------------
 5544|      1|        && PyFrozenDict_CheckExact(args[0])
  ------------------
  |  |   38|      1|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5545|      0|        && Py_Is((PyTypeObject*)type, &PyFrozenDict_Type))
  ------------------
  |  |  187|      0|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5546|      0|    {
 5547|       |        // frozendict(frozendict) returns the same object unmodified
 5548|      0|        return Py_NewRef(args[0]);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5549|      0|    }
 5550|       |
 5551|       |    /* gh-151722: Keep the frozendict untracked until it is fully built,
 5552|       |       so a half-built object is never reachable from another thread (using the gc module). */
 5553|      1|    PyObject *self = frozendict_new_untracked(_PyType_CAST(type));
  ------------------
  |  |  770|      1|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5553:47): [True: 1, False: 0]
  ------------------
 5554|      1|    if (self == NULL) {
  ------------------
  |  Branch (5554:9): [True: 0, False: 1]
  ------------------
 5555|      0|        return NULL;
 5556|      0|    }
 5557|      1|    if (nargs == 1) {
  ------------------
  |  Branch (5557:9): [True: 1, False: 0]
  ------------------
 5558|      1|        if (dict_update_arg(self, args[0]) < 0) {
  ------------------
  |  Branch (5558:13): [True: 0, False: 1]
  ------------------
 5559|      0|            Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5560|      0|            return NULL;
 5561|      0|        }
 5562|      1|        args++;
 5563|      1|    }
 5564|      1|    if (kwnames != NULL) {
  ------------------
  |  Branch (5564:9): [True: 0, False: 1]
  ------------------
 5565|      0|        for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(kwnames); i++) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5565:32): [True: 0, False: 0]
  ------------------
 5566|      0|            PyObject *key = PyTuple_GET_ITEM(kwnames, i);  // borrowed
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5566:29): [True: 0, False: 0]
  ------------------
 5567|      0|            if (_PyAnyDict_SetItem(self, key, args[i]) < 0) {
  ------------------
  |  Branch (5567:17): [True: 0, False: 0]
  ------------------
 5568|      0|                Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5569|      0|                return NULL;
 5570|      0|            }
 5571|      0|        }
 5572|      0|    }
 5573|       |
 5574|      1|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|      1|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5575|      1|    return self;
 5576|      1|}

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

PyException_GetTraceback:
  497|  3.43k|{
  498|  3.43k|    PyObject *traceback;
  499|  3.43k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.43k|    {
  ------------------
  500|  3.43k|    traceback = Py_XNewRef(PyBaseExceptionObject_CAST(self)->traceback);
  ------------------
  |  |  648|  3.43k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|  3.43k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.43k|    }
  ------------------
  502|  3.43k|    return traceback;
  503|  3.43k|}
PyException_SetTraceback:
  508|  3.43k|{
  509|  3.43k|    int res;
  510|  3.43k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.43k|    {
  ------------------
  511|  3.43k|    res = BaseException___traceback___set_impl(PyBaseExceptionObject_CAST(self), tb);
  512|  3.43k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.43k|    }
  ------------------
  513|  3.43k|    return res;
  514|  3.43k|}
PyException_GetContext:
  539|     21|{
  540|     21|    PyObject *context;
  541|     21|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     21|    {
  ------------------
  542|     21|    context = Py_XNewRef(PyBaseExceptionObject_CAST(self)->context);
  ------------------
  |  |  648|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     21|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     21|    }
  ------------------
  544|     21|    return context;
  545|     21|}
PyException_SetContext:
  550|     21|{
  551|     21|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     21|    {
  ------------------
  552|     21|    Py_XSETREF(PyBaseExceptionObject_CAST(self)->context, context);
  ------------------
  |  |  576|     21|    do { \
  |  |  577|     21|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     21|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     21|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     21|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     21|        *_tmp_dst_ptr = (src); \
  |  |  580|     21|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     21|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     21|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 21]
  |  |  ------------------
  ------------------
  553|     21|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     21|    }
  ------------------
  554|     21|}
_PyUnicodeError_GetParams:
 3443|  4.68k|{
 3444|  4.68k|    assert(self != NULL);
  ------------------
  |  Branch (3444:5): [True: 4.68k, False: 0]
  ------------------
 3445|  4.68k|    assert(as_bytes == 0 || as_bytes == 1);
  ------------------
  |  Branch (3445:5): [True: 0, False: 4.68k]
  |  Branch (3445:5): [True: 4.68k, False: 0]
  ------------------
 3446|  4.68k|    PyUnicodeErrorObject *exc = PyUnicodeError_CAST(self);
  ------------------
  |  | 3160|  4.68k|    (assert(PyUnicodeError_Check(PTR)), ((PyUnicodeErrorObject *)(PTR)))
  ------------------
  |  Branch (3446:33): [True: 4.68k, False: 0]
  ------------------
 3447|      0|    PyObject *r = as_unicode_error_attribute(exc->object, "object", as_bytes);
 3448|  4.68k|    if (r == NULL) {
  ------------------
  |  Branch (3448:9): [True: 0, False: 4.68k]
  ------------------
 3449|      0|        return -1;
 3450|      0|    }
 3451|       |
 3452|  4.68k|    Py_ssize_t n = as_bytes ? PyBytes_GET_SIZE(r) : PyUnicode_GET_LENGTH(r);
  ------------------
  |  |   33|  4.68k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  4.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  Py_ssize_t n = as_bytes ? PyBytes_GET_SIZE(r) : PyUnicode_GET_LENGTH(r);
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3452:20): [True: 4.68k, False: 0]
  ------------------
 3453|  4.68k|    if (objlen != NULL) {
  ------------------
  |  Branch (3453:9): [True: 2, False: 4.67k]
  ------------------
 3454|      2|        *objlen = n;
 3455|      2|    }
 3456|       |
 3457|  4.68k|    Py_ssize_t start_value = -1;
 3458|  4.68k|    if (start != NULL || slen != NULL) {
  ------------------
  |  Branch (3458:9): [True: 2, False: 4.67k]
  |  Branch (3458:26): [True: 0, False: 4.67k]
  ------------------
 3459|      2|        start_value = unicode_error_adjust_start(exc->start, n);
 3460|      2|    }
 3461|  4.68k|    if (start != NULL) {
  ------------------
  |  Branch (3461:9): [True: 2, False: 4.67k]
  ------------------
 3462|      2|        assert_adjusted_unicode_error_start(start_value, n);
 3463|      2|        *start = start_value;
 3464|      2|    }
 3465|       |
 3466|  4.68k|    Py_ssize_t end_value = -1;
 3467|  4.68k|    if (end != NULL || slen != NULL) {
  ------------------
  |  Branch (3467:9): [True: 4.68k, False: 0]
  |  Branch (3467:24): [True: 0, False: 0]
  ------------------
 3468|  4.68k|        end_value = unicode_error_adjust_end(exc->end, n);
 3469|  4.68k|    }
 3470|  4.68k|    if (end != NULL) {
  ------------------
  |  Branch (3470:9): [True: 4.68k, False: 0]
  ------------------
 3471|  4.68k|        assert_adjusted_unicode_error_end(end_value, n);
 3472|  4.68k|        *end = end_value;
 3473|  4.68k|    }
 3474|       |
 3475|  4.68k|    if (slen != NULL) {
  ------------------
  |  Branch (3475:9): [True: 2, False: 4.67k]
  ------------------
 3476|      2|        *slen = unicode_error_adjust_len(start_value, end_value, n);
 3477|      2|        assert_adjusted_unicode_error_len(*slen, n);
 3478|      2|    }
 3479|       |
 3480|  4.68k|    if (obj != NULL) {
  ------------------
  |  Branch (3480:9): [True: 2, False: 4.67k]
  ------------------
 3481|      2|        *obj = r;
 3482|      2|    }
 3483|  4.67k|    else {
 3484|  4.67k|        Py_DECREF(r);
  ------------------
  |  |  430|  4.67k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3485|  4.67k|    }
 3486|  4.68k|    return 0;
 3487|  4.68k|}
PyUnicodeDecodeError_GetEncoding:
 3503|      2|{
 3504|      2|    int rc = check_unicode_error_type(self, Py_UNICODE_DECODE_ERROR_NAME);
  ------------------
  |  | 3165|      2|#define Py_UNICODE_DECODE_ERROR_NAME        "UnicodeDecodeError"
  ------------------
 3505|      2|    return rc < 0 ? NULL : unicode_error_get_encoding_impl(self);
  ------------------
  |  Branch (3505:12): [True: 0, False: 2]
  ------------------
 3506|      2|}
PyUnicodeDecodeError_GetObject:
 3521|  4.68k|{
 3522|  4.68k|    int rc = check_unicode_error_type(self, Py_UNICODE_DECODE_ERROR_NAME);
  ------------------
  |  | 3165|  4.68k|#define Py_UNICODE_DECODE_ERROR_NAME        "UnicodeDecodeError"
  ------------------
 3523|  4.68k|    return rc < 0 ? NULL : unicode_error_get_object_impl(self, true);
  ------------------
  |  Branch (3523:12): [True: 0, False: 4.68k]
  ------------------
 3524|  4.68k|}
PyUnicodeDecodeError_SetStart:
 3589|  4.57k|{
 3590|  4.57k|    int rc = check_unicode_error_type(self, Py_UNICODE_DECODE_ERROR_NAME);
  ------------------
  |  | 3165|  4.57k|#define Py_UNICODE_DECODE_ERROR_NAME        "UnicodeDecodeError"
  ------------------
 3591|  4.57k|    return rc < 0 ? -1 : unicode_error_set_start_impl(self, start);
  ------------------
  |  Branch (3591:12): [True: 0, False: 4.57k]
  ------------------
 3592|  4.57k|}
PyUnicodeDecodeError_GetEnd:
 3631|  4.67k|{
 3632|  4.67k|    int rc = check_unicode_error_type(self, Py_UNICODE_DECODE_ERROR_NAME);
  ------------------
  |  | 3165|  4.67k|#define Py_UNICODE_DECODE_ERROR_NAME        "UnicodeDecodeError"
  ------------------
 3633|  4.67k|    return rc < 0 ? -1 : unicode_error_get_end_impl(self, end, true);
  ------------------
  |  Branch (3633:12): [True: 0, False: 4.67k]
  ------------------
 3634|  4.67k|}
PyUnicodeDecodeError_SetEnd:
 3657|  4.57k|{
 3658|  4.57k|    int rc = check_unicode_error_type(self, Py_UNICODE_DECODE_ERROR_NAME);
  ------------------
  |  | 3165|  4.57k|#define Py_UNICODE_DECODE_ERROR_NAME        "UnicodeDecodeError"
  ------------------
 3659|  4.57k|    return rc < 0 ? -1 : unicode_error_set_end_impl(self, end);
  ------------------
  |  Branch (3659:12): [True: 0, False: 4.57k]
  ------------------
 3660|  4.57k|}
PyUnicodeDecodeError_SetReason:
 3709|  4.57k|{
 3710|  4.57k|    int rc = check_unicode_error_type(self, Py_UNICODE_DECODE_ERROR_NAME);
  ------------------
  |  | 3165|  4.57k|#define Py_UNICODE_DECODE_ERROR_NAME        "UnicodeDecodeError"
  ------------------
 3711|  4.57k|    return rc < 0 ? -1 : unicode_error_set_reason_impl(self, reason);
  ------------------
  |  Branch (3711:12): [True: 0, False: 4.57k]
  ------------------
 3712|  4.57k|}
PyUnicodeDecodeError_Create:
 3990|    487|{
 3991|    487|    return PyObject_CallFunction(PyExc_UnicodeDecodeError, "sy#nns",
 3992|    487|                                 encoding, object, length, start, end, reason);
 3993|    487|}
_PyExc_InitTypes:
 4552|      2|{
 4553|    140|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_exceptions); i++) {
  ------------------
  |  |  232|    140|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (4553:22): [True: 138, False: 2]
  ------------------
 4554|    138|        PyTypeObject *exc = static_exceptions[i].exc;
 4555|    138|        if (_PyStaticType_InitBuiltin(interp, exc) < 0) {
  ------------------
  |  Branch (4555:13): [True: 0, False: 138]
  ------------------
 4556|      0|            return -1;
 4557|      0|        }
 4558|    138|        if (exc->tp_new == BaseException_new
  ------------------
  |  Branch (4558:13): [True: 102, False: 36]
  ------------------
 4559|    102|            && exc->tp_init == BaseException_init)
  ------------------
  |  Branch (4559:16): [True: 72, False: 30]
  ------------------
 4560|     72|        {
 4561|     72|            exc->tp_vectorcall = BaseException_vectorcall;
 4562|     72|        }
 4563|     66|        else if (exc->tp_init == ImportError_init) {
  ------------------
  |  Branch (4563:18): [True: 6, False: 60]
  ------------------
 4564|      6|            exc->tp_vectorcall = ImportError_vectorcall;
 4565|      6|        }
 4566|     60|        else if (exc->tp_init == NameError_init) {
  ------------------
  |  Branch (4566:18): [True: 4, False: 56]
  ------------------
 4567|      4|            exc->tp_vectorcall = NameError_vectorcall;
 4568|      4|        }
 4569|     56|        else if (exc->tp_init == AttributeError_init) {
  ------------------
  |  Branch (4569:18): [True: 2, False: 54]
  ------------------
 4570|      2|            exc->tp_vectorcall = AttributeError_vectorcall;
 4571|      2|        }
 4572|    138|    }
 4573|      2|    return 0;
 4574|      2|}
_PyExc_InitGlobalObjects:
 4589|      2|{
 4590|      2|    if (preallocate_memerrors() < 0) {
  ------------------
  |  Branch (4590:9): [True: 0, False: 2]
  ------------------
 4591|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 4592|      0|    }
 4593|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4594|      2|}
_PyExc_InitState:
 4598|      2|{
 4599|      2|    struct _Py_exc_state *state = &interp->exc_state;
 4600|       |
 4601|      2|#define ADD_ERRNO(TYPE, CODE) \
 4602|      2|    do { \
 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
 4606|      2|            Py_XDECREF(_code); \
 4607|      2|            return _PyStatus_ERR("errmap insertion problem."); \
 4608|      2|        } \
 4609|      2|        Py_DECREF(_code); \
 4610|      2|    } while (0)
 4611|       |
 4612|       |    /* Add exceptions to errnomap */
 4613|      2|    assert(state->errnomap == NULL);
  ------------------
  |  Branch (4613:5): [True: 2, False: 0]
  ------------------
 4614|      2|    state->errnomap = PyDict_New();
 4615|      2|    if (!state->errnomap) {
  ------------------
  |  Branch (4615:9): [True: 0, False: 2]
  ------------------
 4616|      0|        return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
 4617|      0|    }
 4618|       |
 4619|      2|    ADD_ERRNO(BlockingIOError, EAGAIN);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4619:5): [True: 2, False: 0]
  ------------------
 4620|      2|    ADD_ERRNO(BlockingIOError, EALREADY);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4620:5): [True: 2, False: 0]
  ------------------
 4621|      2|    ADD_ERRNO(BlockingIOError, EINPROGRESS);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4621:5): [True: 2, False: 0]
  ------------------
 4622|      2|    ADD_ERRNO(BlockingIOError, EWOULDBLOCK);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4622:5): [True: 2, False: 0]
  ------------------
 4623|      2|    ADD_ERRNO(BrokenPipeError, EPIPE);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4623:5): [True: 2, False: 0]
  ------------------
 4624|      2|#ifdef ESHUTDOWN
 4625|      2|    ADD_ERRNO(BrokenPipeError, ESHUTDOWN);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4625:5): [True: 2, False: 0]
  ------------------
 4626|      2|#endif
 4627|      2|    ADD_ERRNO(ChildProcessError, ECHILD);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4627:5): [True: 2, False: 0]
  ------------------
 4628|      2|    ADD_ERRNO(ConnectionAbortedError, ECONNABORTED);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4628:5): [True: 2, False: 0]
  ------------------
 4629|      2|    ADD_ERRNO(ConnectionRefusedError, ECONNREFUSED);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4629:5): [True: 2, False: 0]
  ------------------
 4630|      2|    ADD_ERRNO(ConnectionResetError, ECONNRESET);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4630:5): [True: 2, False: 0]
  ------------------
 4631|      2|    ADD_ERRNO(FileExistsError, EEXIST);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4631:5): [True: 2, False: 0]
  ------------------
 4632|      2|    ADD_ERRNO(FileNotFoundError, ENOENT);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4632:5): [True: 2, False: 0]
  ------------------
 4633|      2|    ADD_ERRNO(IsADirectoryError, EISDIR);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4633:5): [True: 2, False: 0]
  ------------------
 4634|      2|    ADD_ERRNO(NotADirectoryError, ENOTDIR);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4634:5): [True: 2, False: 0]
  ------------------
 4635|      2|    ADD_ERRNO(InterruptedError, EINTR);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4635:5): [True: 2, False: 0]
  ------------------
 4636|      2|    ADD_ERRNO(PermissionError, EACCES);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4636:5): [True: 2, False: 0]
  ------------------
 4637|      2|    ADD_ERRNO(PermissionError, EPERM);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4637:5): [True: 2, False: 0]
  ------------------
 4638|       |#ifdef ENOTCAPABLE
 4639|       |    // Extension for WASI capability-based security. Process lacks
 4640|       |    // capability to access a resource.
 4641|       |    ADD_ERRNO(PermissionError, ENOTCAPABLE);
 4642|       |#endif
 4643|      2|    ADD_ERRNO(ProcessLookupError, ESRCH);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4643:5): [True: 2, False: 0]
  ------------------
 4644|      2|    ADD_ERRNO(TimeoutError, ETIMEDOUT);
  ------------------
  |  | 4602|      2|    do { \
  |  | 4603|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4604|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4605|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4605:13): [True: 0, False: 2]
  |  |  |  Branch (4605:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4606|      0|            Py_XDECREF(_code); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4607|      0|            return _PyStatus_ERR("errmap insertion problem."); \
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  |  | 4608|      0|        } \
  |  | 4609|      2|        Py_DECREF(_code); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4610|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4610:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4644:5): [True: 2, False: 0]
  ------------------
 4645|       |#ifdef WSAETIMEDOUT
 4646|       |    ADD_ERRNO(TimeoutError, WSAETIMEDOUT);
 4647|       |#endif
 4648|       |
 4649|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4650|       |
 4651|      2|#undef ADD_ERRNO
 4652|      2|}
_PyBuiltins_AddExceptions:
 4658|      2|{
 4659|      2|    PyObject *mod_dict = PyModule_GetDict(bltinmod);
 4660|      2|    if (mod_dict == NULL) {
  ------------------
  |  Branch (4660:9): [True: 0, False: 2]
  ------------------
 4661|      0|        return -1;
 4662|      0|    }
 4663|       |
 4664|    140|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_exceptions); i++) {
  ------------------
  |  |  232|    140|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (4664:22): [True: 138, False: 2]
  ------------------
 4665|    138|        struct static_exception item = static_exceptions[i];
 4666|       |
 4667|    138|        if (PyDict_SetItemString(mod_dict, item.name, (PyObject*)item.exc)) {
  ------------------
  |  Branch (4667:13): [True: 0, False: 138]
  ------------------
 4668|      0|            return -1;
 4669|      0|        }
 4670|    138|    }
 4671|       |
 4672|      2|    PyObject *PyExc_ExceptionGroup = create_exception_group_class();
 4673|      2|    if (!PyExc_ExceptionGroup) {
  ------------------
  |  Branch (4673:9): [True: 0, False: 2]
  ------------------
 4674|      0|        return -1;
 4675|      0|    }
 4676|      2|    if (PyDict_SetItemString(mod_dict, "ExceptionGroup", PyExc_ExceptionGroup)) {
  ------------------
  |  Branch (4676:9): [True: 0, False: 2]
  ------------------
 4677|      0|        return -1;
 4678|      0|    }
 4679|      2|    if (PyDict_SetItemString(mod_dict, "EnvironmentError", PyExc_OSError)) {
  ------------------
  |  Branch (4679:9): [True: 0, False: 2]
  ------------------
 4680|      0|        return -1;
 4681|      0|    }
 4682|      2|    if (PyDict_SetItemString(mod_dict, "IOError", PyExc_OSError)) {
  ------------------
  |  Branch (4682:9): [True: 0, False: 2]
  ------------------
 4683|      0|        return -1;
 4684|      0|    }
 4685|       |#ifdef MS_WINDOWS
 4686|       |    if (PyDict_SetItemString(mod_dict, "WindowsError", PyExc_OSError)) {
 4687|       |        return -1;
 4688|       |    }
 4689|       |#endif
 4690|      2|    return 0;
 4691|      2|}
_PyException_AddNote:
 4712|    365|{
 4713|    365|    if (!PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|    365|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    365|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4713:9): [True: 0, False: 365]
  ------------------
 4714|      0|        PyErr_Format(PyExc_TypeError,
 4715|      0|                     "exc must be an exception, not '%s'",
 4716|      0|                     Py_TYPE(exc)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4717|      0|        return -1;
 4718|      0|    }
 4719|    365|    PyObject *r = BaseException_add_note(exc, note);
 4720|    365|    int res = r == NULL ? -1 : 0;
  ------------------
  |  Branch (4720:15): [True: 0, False: 365]
  ------------------
 4721|    365|    Py_XDECREF(r);
  ------------------
  |  |  621|    365|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    365|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    365|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4722|    365|    return res;
 4723|    365|}
exceptions.c:PyBaseExceptionObject_CAST:
   48|   146k|{
   49|   146k|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (49:5): [True: 146k, False: 0]
  ------------------
   50|   146k|    return (PyBaseExceptionObject *)exc;
   51|   146k|}
exceptions.c:BaseException___traceback___set_impl:
  388|  3.43k|{
  389|  3.43k|    if (PyTraceBack_Check(value)) {
  ------------------
  |  |   14|  3.43k|#define PyTraceBack_Check(v) Py_IS_TYPE((v), &PyTraceBack_Type)
  |  |  ------------------
  |  |  |  |  215|  3.43k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.11k, False: 321]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  390|  3.11k|        Py_XSETREF(self->traceback, Py_NewRef(value));
  ------------------
  |  |  576|  3.11k|    do { \
  |  |  577|  3.11k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  3.11k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  3.11k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  3.11k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  3.11k|        *_tmp_dst_ptr = (src); \
  |  |  580|  3.11k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  3.11k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  3.11k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 3.11k]
  |  |  ------------------
  ------------------
  391|  3.11k|    }
  392|    321|    else if (value == Py_None) {
  ------------------
  |  |  616|    321|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (392:14): [True: 321, False: 0]
  ------------------
  393|    321|        Py_CLEAR(self->traceback);
  ------------------
  |  |  487|    321|    do { \
  |  |  488|    321|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    321|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    321|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    321|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    321|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    321|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 321, False: 0]
  |  |  ------------------
  |  |  491|    321|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    321|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    321|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    321|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    321|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    321|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    321|        } \
  |  |  494|    321|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 321]
  |  |  ------------------
  ------------------
  394|    321|    }
  395|      0|    else {
  396|      0|        PyErr_SetString(PyExc_TypeError,
  397|      0|                        "__traceback__ must be a traceback or None");
  398|      0|        return -1;
  399|      0|    }
  400|  3.43k|    return 0;
  401|  3.43k|}
exceptions.c:BaseException_dealloc:
  144|  1.73k|{
  145|  1.73k|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  146|  1.73k|    PyObject_GC_UnTrack(self);
  147|       |    // bpo-44348: The trashcan mechanism prevents stack overflow when deleting
  148|       |    // long chains of exceptions. For example, exceptions can be chained
  149|       |    // through the __context__ attributes or the __traceback__ attribute.
  150|  1.73k|    (void)BaseException_clear(op);
  151|  1.73k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  1.73k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  152|  1.73k|}
exceptions.c:get_exc_state:
   36|    122|{
   37|    122|    PyInterpreterState *interp = _PyInterpreterState_GET();
   38|    122|    return &interp->exc_state;
   39|    122|}
exceptions.c:ImportError_dealloc:
 1832|    337|{
 1833|    337|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|    337|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1834|    337|    (void)ImportError_clear(self);
 1835|    337|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    337|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1836|    337|}
exceptions.c:PyImportErrorObject_CAST:
 1779|    337|{
 1780|    337|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_ImportError));
  ------------------
  |  Branch (1780:5): [True: 337, False: 0]
  ------------------
 1781|    337|    return (PyImportErrorObject *)self;
 1782|    337|}
exceptions.c:ImportError_clear:
 1821|    337|{
 1822|    337|    PyImportErrorObject *self = PyImportErrorObject_CAST(op);
 1823|    337|    Py_CLEAR(self->msg);
  ------------------
  |  |  487|    337|    do { \
  |  |  488|    337|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    337|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    337|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    337|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 337, False: 0]
  |  |  ------------------
  |  |  491|    337|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    337|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    337|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    337|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    337|        } \
  |  |  494|    337|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 337]
  |  |  ------------------
  ------------------
 1824|    337|    Py_CLEAR(self->name);
  ------------------
  |  |  487|    337|    do { \
  |  |  488|    337|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    337|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    337|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    337|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 322, False: 15]
  |  |  ------------------
  |  |  491|    322|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    322|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    322|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    322|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    322|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    322|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    322|        } \
  |  |  494|    337|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 337]
  |  |  ------------------
  ------------------
 1825|    337|    Py_CLEAR(self->path);
  ------------------
  |  |  487|    337|    do { \
  |  |  488|    337|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    337|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    337|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    337|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 16, False: 321]
  |  |  ------------------
  |  |  491|     16|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     16|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     16|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     16|        } \
  |  |  494|    337|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 337]
  |  |  ------------------
  ------------------
 1826|       |    Py_CLEAR(self->name_from);
  ------------------
  |  |  487|    337|    do { \
  |  |  488|    337|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    337|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    337|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    337|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 1, False: 336]
  |  |  ------------------
  |  |  491|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      1|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      1|        } \
  |  |  494|    337|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 337]
  |  |  ------------------
  ------------------
 1827|    337|    return BaseException_clear(op);
 1828|    337|}
exceptions.c:OSError_dealloc:
 2306|     56|{
 2307|     56|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|     56|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2308|     56|    (void)OSError_clear(self);
 2309|     56|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|     56|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2310|     56|}
exceptions.c:PyOSErrorObject_CAST:
 2020|    112|{
 2021|    112|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_OSError));
  ------------------
  |  Branch (2021:5): [True: 112, False: 0]
  ------------------
 2022|    112|    return (PyOSErrorObject *)self;
 2023|    112|}
exceptions.c:OSError_clear:
 2292|     56|{
 2293|     56|    PyOSErrorObject *self = PyOSErrorObject_CAST(op);
 2294|     56|    Py_CLEAR(self->myerrno);
  ------------------
  |  |  487|     56|    do { \
  |  |  488|     56|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     56|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     56|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     56|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 56, False: 0]
  |  |  ------------------
  |  |  491|     56|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     56|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     56|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     56|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     56|        } \
  |  |  494|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
 2295|     56|    Py_CLEAR(self->strerror);
  ------------------
  |  |  487|     56|    do { \
  |  |  488|     56|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     56|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     56|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     56|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 56, False: 0]
  |  |  ------------------
  |  |  491|     56|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     56|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     56|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     56|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     56|        } \
  |  |  494|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
 2296|     56|    Py_CLEAR(self->filename);
  ------------------
  |  |  487|     56|    do { \
  |  |  488|     56|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     56|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     56|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     56|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 56, False: 0]
  |  |  ------------------
  |  |  491|     56|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     56|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     56|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     56|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     56|        } \
  |  |  494|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
 2297|     56|    Py_CLEAR(self->filename2);
  ------------------
  |  |  487|     56|    do { \
  |  |  488|     56|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     56|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     56|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     56|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 56]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
 2298|       |#ifdef MS_WINDOWS
 2299|       |    Py_CLEAR(self->winerror);
 2300|       |#endif
 2301|     56|    return BaseException_clear(op);
 2302|     56|}
exceptions.c:OSError_init:
 2253|     56|{
 2254|     56|    PyOSErrorObject *self = PyOSErrorObject_CAST(op);
 2255|     56|    PyObject *myerrno = NULL, *strerror = NULL;
 2256|     56|    PyObject *filename = NULL, *filename2 = NULL;
 2257|       |#ifdef MS_WINDOWS
 2258|       |    PyObject *winerror = NULL;
 2259|       |#endif
 2260|       |
 2261|     56|    if (!oserror_use_init(Py_TYPE(self)))
  ------------------
  |  |  213|     56|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2261:9): [True: 56, False: 0]
  ------------------
 2262|       |        /* Everything already done in OSError_new */
 2263|     56|        return 0;
 2264|       |
 2265|      0|    if (!_PyArg_NoKeywords(Py_TYPE(self)->tp_name, kwds))
  ------------------
  |  |   32|      0|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 0, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2266|      0|        return -1;
 2267|       |
 2268|      0|    Py_INCREF(args);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2269|      0|    if (oserror_parse_args(&args, &myerrno, &strerror, &filename, &filename2
  ------------------
  |  Branch (2269:9): [True: 0, False: 0]
  ------------------
 2270|       |#ifdef MS_WINDOWS
 2271|       |                           , &winerror
 2272|       |#endif
 2273|      0|        ))
 2274|      0|        goto error;
 2275|       |
 2276|      0|    if (oserror_init(self, &args, myerrno, strerror, filename, filename2
  ------------------
  |  Branch (2276:9): [True: 0, False: 0]
  ------------------
 2277|       |#ifdef MS_WINDOWS
 2278|       |                     , winerror
 2279|       |#endif
 2280|      0|        ))
 2281|      0|        goto error;
 2282|       |
 2283|      0|    return 0;
 2284|       |
 2285|      0|error:
 2286|      0|    Py_DECREF(args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2287|      0|    return -1;
 2288|      0|}
exceptions.c:oserror_use_init:
 2165|    168|{
 2166|       |    /* When __init__ is defined in an OSError subclass, we want any
 2167|       |       extraneous argument to __new__ to be ignored.  The only reasonable
 2168|       |       solution, given __new__ takes a variable number of arguments,
 2169|       |       is to defer arg parsing and initialization to __init__.
 2170|       |
 2171|       |       But when __new__ is overridden as well, it should call our __new__
 2172|       |       with the right arguments.
 2173|       |
 2174|       |       (see http://bugs.python.org/issue12555#msg148829 )
 2175|       |    */
 2176|    168|    if (type->tp_init != OSError_init && type->tp_new == OSError_new) {
  ------------------
  |  Branch (2176:9): [True: 0, False: 168]
  |  Branch (2176:42): [True: 0, False: 0]
  ------------------
 2177|      0|        assert((PyObject *) type != PyExc_OSError);
  ------------------
  |  Branch (2177:9): [True: 0, False: 0]
  ------------------
 2178|      0|        return 1;
 2179|      0|    }
 2180|    168|    return 0;
 2181|    168|}
exceptions.c:oserror_parse_args:
 2054|     56|{
 2055|     56|    Py_ssize_t nargs;
 2056|     56|    PyObject *args = *p_args;
 2057|     56|#ifndef MS_WINDOWS
 2058|       |    /*
 2059|       |     * ignored on non-Windows platforms,
 2060|       |     * but parsed so OSError has a consistent signature
 2061|       |     */
 2062|     56|    PyObject *_winerror = NULL;
 2063|     56|    PyObject **winerror = &_winerror;
 2064|     56|#endif /* MS_WINDOWS */
 2065|       |
 2066|     56|    nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     56|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2067|       |
 2068|     56|    if (nargs >= 2 && nargs <= 5) {
  ------------------
  |  Branch (2068:9): [True: 56, False: 0]
  |  Branch (2068:23): [True: 56, False: 0]
  ------------------
 2069|     56|        if (!PyArg_UnpackTuple(args, "OSError", 2, 5,
  ------------------
  |  Branch (2069:13): [True: 0, False: 56]
  ------------------
 2070|     56|                               myerrno, strerror,
 2071|     56|                               filename, winerror, filename2))
 2072|      0|            return -1;
 2073|       |#ifdef MS_WINDOWS
 2074|       |        if (*winerror && PyLong_Check(*winerror)) {
 2075|       |            long errcode, winerrcode;
 2076|       |            PyObject *newargs;
 2077|       |            Py_ssize_t i;
 2078|       |
 2079|       |            winerrcode = PyLong_AsLong(*winerror);
 2080|       |            if (winerrcode == -1 && PyErr_Occurred())
 2081|       |                return -1;
 2082|       |            errcode = winerror_to_errno(winerrcode);
 2083|       |            *myerrno = PyLong_FromLong(errcode);
 2084|       |            if (!*myerrno)
 2085|       |                return -1;
 2086|       |            newargs = PyTuple_New(nargs);
 2087|       |            if (!newargs)
 2088|       |                return -1;
 2089|       |            PyTuple_SET_ITEM(newargs, 0, *myerrno);
 2090|       |            for (i = 1; i < nargs; i++) {
 2091|       |                PyObject *val = PyTuple_GET_ITEM(args, i);
 2092|       |                PyTuple_SET_ITEM(newargs, i, Py_NewRef(val));
 2093|       |            }
 2094|       |            Py_DECREF(args);
 2095|       |            args = *p_args = newargs;
 2096|       |        }
 2097|       |#endif /* MS_WINDOWS */
 2098|     56|    }
 2099|       |
 2100|     56|    return 0;
 2101|     56|}
exceptions.c:oserror_init:
 2111|     56|{
 2112|     56|    PyObject *args = *p_args;
 2113|     56|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     56|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|       |
 2115|       |    /* self->filename will remain Py_None otherwise */
 2116|     56|    if (filename && filename != Py_None) {
  ------------------
  |  |  616|     56|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2116:9): [True: 56, False: 0]
  |  Branch (2116:21): [True: 56, False: 0]
  ------------------
 2117|     56|        if (Py_IS_TYPE(self, (PyTypeObject *) PyExc_BlockingIOError) &&
  ------------------
  |  |  215|    112|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 56]
  |  |  ------------------
  ------------------
 2118|      0|            PyNumber_Check(filename)) {
  ------------------
  |  Branch (2118:13): [True: 0, False: 0]
  ------------------
 2119|       |            /* BlockingIOError's 3rd argument can be the number of
 2120|       |             * characters written.
 2121|       |             */
 2122|      0|            self->written = PyNumber_AsSsize_t(filename, PyExc_ValueError);
 2123|      0|            if (self->written == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2123:17): [True: 0, False: 0]
  |  Branch (2123:40): [True: 0, False: 0]
  ------------------
 2124|      0|                return -1;
 2125|      0|        }
 2126|     56|        else {
 2127|     56|            Py_XSETREF(self->filename, Py_NewRef(filename));
  ------------------
  |  |  576|     56|    do { \
  |  |  577|     56|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     56|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     56|        *_tmp_dst_ptr = (src); \
  |  |  580|     56|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     56|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
 2128|       |
 2129|     56|            if (filename2 && filename2 != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2129:17): [True: 0, False: 56]
  |  Branch (2129:30): [True: 0, False: 0]
  ------------------
 2130|      0|                Py_XSETREF(self->filename2, Py_NewRef(filename2));
  ------------------
  |  |  576|      0|    do { \
  |  |  577|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      0|        *_tmp_dst_ptr = (src); \
  |  |  580|      0|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2131|      0|            }
 2132|       |
 2133|     56|            if (nargs >= 2 && nargs <= 5) {
  ------------------
  |  Branch (2133:17): [True: 56, False: 0]
  |  Branch (2133:31): [True: 56, False: 0]
  ------------------
 2134|       |                /* filename, filename2, and winerror are removed from the args tuple
 2135|       |                   (for compatibility purposes, see test_exceptions.py) */
 2136|     56|                PyObject *subslice = PyTuple_GetSlice(args, 0, 2);
 2137|     56|                if (!subslice)
  ------------------
  |  Branch (2137:21): [True: 0, False: 56]
  ------------------
 2138|      0|                    return -1;
 2139|       |
 2140|     56|                Py_DECREF(args);  /* replacing args */
  ------------------
  |  |  430|     56|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2141|     56|                *p_args = args = subslice;
 2142|     56|            }
 2143|     56|        }
 2144|     56|    }
 2145|     56|    Py_XSETREF(self->myerrno, Py_XNewRef(myerrno));
  ------------------
  |  |  576|     56|    do { \
  |  |  577|     56|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     56|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     56|        *_tmp_dst_ptr = (src); \
  |  |  580|     56|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     56|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
 2146|     56|    Py_XSETREF(self->strerror, Py_XNewRef(strerror));
  ------------------
  |  |  576|     56|    do { \
  |  |  577|     56|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     56|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     56|        *_tmp_dst_ptr = (src); \
  |  |  580|     56|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     56|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
 2147|       |#ifdef MS_WINDOWS
 2148|       |    Py_XSETREF(self->winerror, Py_XNewRef(winerror));
 2149|       |#endif
 2150|       |
 2151|       |    /* Steals the reference to args */
 2152|     56|    Py_XSETREF(self->args, args);
  ------------------
  |  |  576|     56|    do { \
  |  |  577|     56|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     56|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     56|        *_tmp_dst_ptr = (src); \
  |  |  580|     56|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     56|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
 2153|     56|    *p_args = args = NULL;
 2154|       |
 2155|     56|    return 0;
 2156|     56|}
exceptions.c:OSError_new:
 2185|     56|{
 2186|     56|    PyOSErrorObject *self = NULL;
 2187|     56|    PyObject *myerrno = NULL, *strerror = NULL;
 2188|     56|    PyObject *filename = NULL, *filename2 = NULL;
 2189|       |#ifdef MS_WINDOWS
 2190|       |    PyObject *winerror = NULL;
 2191|       |#endif
 2192|       |
 2193|     56|    Py_INCREF(args);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2194|       |
 2195|     56|    if (!oserror_use_init(type)) {
  ------------------
  |  Branch (2195:9): [True: 56, False: 0]
  ------------------
 2196|     56|        if (!_PyArg_NoKeywords(type->tp_name, kwds))
  ------------------
  |  |   32|     56|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 56, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2197|      0|            goto error;
 2198|       |
 2199|     56|        if (oserror_parse_args(&args, &myerrno, &strerror,
  ------------------
  |  Branch (2199:13): [True: 0, False: 56]
  ------------------
 2200|     56|                               &filename, &filename2
 2201|       |#ifdef MS_WINDOWS
 2202|       |                               , &winerror
 2203|       |#endif
 2204|     56|            ))
 2205|      0|            goto error;
 2206|       |
 2207|     56|        struct _Py_exc_state *state = get_exc_state();
 2208|     56|        if (myerrno && PyLong_Check(myerrno) &&
  ------------------
  |  |   13|     56|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    112|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 56, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2208:13): [True: 56, False: 0]
  ------------------
 2209|     56|            state->errnomap && (PyObject *) type == PyExc_OSError) {
  ------------------
  |  Branch (2209:13): [True: 56, False: 0]
  |  Branch (2209:32): [True: 56, False: 0]
  ------------------
 2210|     56|            PyObject *newtype;
 2211|     56|            newtype = PyDict_GetItemWithError(state->errnomap, myerrno);
 2212|     56|            if (newtype) {
  ------------------
  |  Branch (2212:17): [True: 56, False: 0]
  ------------------
 2213|     56|                type = _PyType_CAST(newtype);
  ------------------
  |  |  770|     56|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2213:24): [True: 56, False: 0]
  ------------------
 2214|     56|            }
 2215|      0|            else if (PyErr_Occurred())
  ------------------
  |  Branch (2215:22): [True: 0, False: 0]
  ------------------
 2216|      0|                goto error;
 2217|     56|        }
 2218|     56|    }
 2219|       |
 2220|     56|    self = (PyOSErrorObject *) type->tp_alloc(type, 0);
 2221|     56|    if (!self)
  ------------------
  |  Branch (2221:9): [True: 0, False: 56]
  ------------------
 2222|      0|        goto error;
 2223|       |
 2224|     56|    self->dict = NULL;
 2225|     56|    self->traceback = self->cause = self->context = NULL;
 2226|     56|    self->written = -1;
 2227|       |
 2228|     56|    if (!oserror_use_init(type)) {
  ------------------
  |  Branch (2228:9): [True: 56, False: 0]
  ------------------
 2229|     56|        if (oserror_init(self, &args, myerrno, strerror, filename, filename2
  ------------------
  |  Branch (2229:13): [True: 0, False: 56]
  ------------------
 2230|       |#ifdef MS_WINDOWS
 2231|       |                         , winerror
 2232|       |#endif
 2233|     56|            ))
 2234|      0|            goto error;
 2235|     56|    }
 2236|      0|    else {
 2237|      0|        self->args = PyTuple_New(0);
 2238|      0|        if (self->args == NULL)
  ------------------
  |  Branch (2238:13): [True: 0, False: 0]
  ------------------
 2239|      0|            goto error;
 2240|      0|    }
 2241|       |
 2242|     56|    Py_XDECREF(args);
  ------------------
  |  |  621|     56|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2243|     56|    return (PyObject *) self;
 2244|       |
 2245|      0|error:
 2246|      0|    Py_XDECREF(args);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2247|      0|    Py_XDECREF(self);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2248|       |    return NULL;
 2249|     56|}
exceptions.c:AttributeError_dealloc:
 2700|  51.3k|{
 2701|  51.3k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|  51.3k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  51.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2702|  51.3k|    (void)AttributeError_clear(self);
 2703|  51.3k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  51.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  51.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2704|  51.3k|}
exceptions.c:PyAttributeErrorObject_CAST:
 2658|  51.3k|{
 2659|  51.3k|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_AttributeError));
  ------------------
  |  Branch (2659:5): [True: 51.3k, False: 0]
  ------------------
 2660|  51.3k|    return (PyAttributeErrorObject *)self;
 2661|  51.3k|}
exceptions.c:AttributeError_clear:
 2691|  51.3k|{
 2692|  51.3k|    PyAttributeErrorObject *self = PyAttributeErrorObject_CAST(op);
 2693|  51.3k|    Py_CLEAR(self->obj);
  ------------------
  |  |  487|  51.3k|    do { \
  |  |  488|  51.3k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  51.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  51.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  51.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  51.3k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  51.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 51.2k, False: 30]
  |  |  ------------------
  |  |  491|  51.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  51.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  51.2k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  51.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  51.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  51.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  51.2k|        } \
  |  |  494|  51.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 51.3k]
  |  |  ------------------
  ------------------
 2694|       |    Py_CLEAR(self->name);
  ------------------
  |  |  487|  51.3k|    do { \
  |  |  488|  51.3k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  51.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  51.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  51.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  51.3k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  51.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 51.2k, False: 30]
  |  |  ------------------
  |  |  491|  51.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  51.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  51.2k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  51.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  51.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  51.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  51.2k|        } \
  |  |  494|  51.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 51.3k]
  |  |  ------------------
  ------------------
 2695|  51.3k|    return BaseException_clear(op);
 2696|  51.3k|}
exceptions.c:PySyntaxErrorObject_CAST:
 2841|  32.0k|{
 2842|  32.0k|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_SyntaxError));
  ------------------
  |  Branch (2842:5): [True: 32.0k, False: 0]
  ------------------
 2843|  32.0k|    return (PySyntaxErrorObject *)self;
 2844|  32.0k|}
exceptions.c:SyntaxError_dealloc:
 2913|  16.0k|{
 2914|  16.0k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|  16.0k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2915|  16.0k|    (void)SyntaxError_clear(self);
 2916|  16.0k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  16.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2917|  16.0k|}
exceptions.c:SyntaxError_clear:
 2897|  16.0k|{
 2898|  16.0k|    PySyntaxErrorObject *self = PySyntaxErrorObject_CAST(op);
 2899|  16.0k|    Py_CLEAR(self->msg);
  ------------------
  |  |  487|  16.0k|    do { \
  |  |  488|  16.0k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  16.0k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  16.0k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  16.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 16.0k, False: 0]
  |  |  ------------------
  |  |  491|  16.0k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  16.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  16.0k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  16.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  16.0k|        } \
  |  |  494|  16.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 16.0k]
  |  |  ------------------
  ------------------
 2900|  16.0k|    Py_CLEAR(self->filename);
  ------------------
  |  |  487|  16.0k|    do { \
  |  |  488|  16.0k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  16.0k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  16.0k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  16.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 16.0k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  16.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 16.0k]
  |  |  ------------------
  ------------------
 2901|  16.0k|    Py_CLEAR(self->lineno);
  ------------------
  |  |  487|  16.0k|    do { \
  |  |  488|  16.0k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  16.0k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  16.0k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  16.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 16.0k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  16.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 16.0k]
  |  |  ------------------
  ------------------
 2902|  16.0k|    Py_CLEAR(self->offset);
  ------------------
  |  |  487|  16.0k|    do { \
  |  |  488|  16.0k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  16.0k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  16.0k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  16.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 16.0k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  16.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 16.0k]
  |  |  ------------------
  ------------------
 2903|  16.0k|    Py_CLEAR(self->end_lineno);
  ------------------
  |  |  487|  16.0k|    do { \
  |  |  488|  16.0k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  16.0k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  16.0k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  16.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 16.0k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  16.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 16.0k]
  |  |  ------------------
  ------------------
 2904|  16.0k|    Py_CLEAR(self->end_offset);
  ------------------
  |  |  487|  16.0k|    do { \
  |  |  488|  16.0k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  16.0k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  16.0k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  16.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 16.0k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  16.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 16.0k]
  |  |  ------------------
  ------------------
 2905|  16.0k|    Py_CLEAR(self->text);
  ------------------
  |  |  487|  16.0k|    do { \
  |  |  488|  16.0k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  16.0k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  16.0k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  16.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 16.0k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  16.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 16.0k]
  |  |  ------------------
  ------------------
 2906|  16.0k|    Py_CLEAR(self->print_file_and_line);
  ------------------
  |  |  487|  16.0k|    do { \
  |  |  488|  16.0k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  16.0k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  16.0k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  16.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 16.0k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  16.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 16.0k]
  |  |  ------------------
  ------------------
 2907|       |    Py_CLEAR(self->metadata);
  ------------------
  |  |  487|  16.0k|    do { \
  |  |  488|  16.0k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  16.0k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  16.0k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  16.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 16.0k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  16.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 16.0k]
  |  |  ------------------
  ------------------
 2908|  16.0k|    return BaseException_clear(op);
 2909|  16.0k|}
exceptions.c:SyntaxError_init:
 2848|  16.0k|{
 2849|  16.0k|    PyObject *info = NULL;
 2850|  16.0k|    Py_ssize_t lenargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  16.0k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2851|       |
 2852|  16.0k|    if (BaseException_init(op, args, kwds) == -1)
  ------------------
  |  Branch (2852:9): [True: 0, False: 16.0k]
  ------------------
 2853|      0|        return -1;
 2854|       |
 2855|  16.0k|    PySyntaxErrorObject *self = PySyntaxErrorObject_CAST(op);
 2856|  16.0k|    if (lenargs >= 1) {
  ------------------
  |  Branch (2856:9): [True: 16.0k, False: 0]
  ------------------
 2857|  16.0k|        Py_XSETREF(self->msg, Py_NewRef(PyTuple_GET_ITEM(args, 0)));
  ------------------
  |  |  576|  16.0k|    do { \
  |  |  577|  16.0k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  16.0k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  16.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  32.0k|        *_tmp_dst_ptr = (src); \
  |  |  ------------------
  |  |  |  Branch (579:26): [True: 16.0k, False: 0]
  |  |  ------------------
  |  |  580|  16.0k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  16.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  16.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 16.0k]
  |  |  ------------------
  ------------------
 2858|  16.0k|    }
 2859|  16.0k|    if (lenargs == 2) {
  ------------------
  |  Branch (2859:9): [True: 0, False: 16.0k]
  ------------------
 2860|      0|        info = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2860:16): [True: 0, False: 0]
  ------------------
 2861|      0|        info = PySequence_Tuple(info);
 2862|      0|        if (!info) {
  ------------------
  |  Branch (2862:13): [True: 0, False: 0]
  ------------------
 2863|      0|            return -1;
 2864|      0|        }
 2865|       |
 2866|      0|        PyObject *filename, *lineno, *offset, *text;
 2867|      0|        PyObject *end_lineno = NULL;
 2868|      0|        PyObject *end_offset = NULL;
 2869|      0|        PyObject *metadata = NULL;
 2870|      0|        if (!PyArg_ParseTuple(info, "OOOO|OOO",
  ------------------
  |  Branch (2870:13): [True: 0, False: 0]
  ------------------
 2871|      0|                              &filename, &lineno,
 2872|      0|                              &offset, &text,
 2873|      0|                              &end_lineno, &end_offset, &metadata)) {
 2874|      0|            Py_DECREF(info);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2875|      0|            return -1;
 2876|      0|        }
 2877|       |
 2878|      0|        Py_XSETREF(self->filename, Py_NewRef(filename));
  ------------------
  |  |  576|      0|    do { \
  |  |  577|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      0|        *_tmp_dst_ptr = (src); \
  |  |  580|      0|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2879|      0|        Py_XSETREF(self->lineno, Py_NewRef(lineno));
  ------------------
  |  |  576|      0|    do { \
  |  |  577|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      0|        *_tmp_dst_ptr = (src); \
  |  |  580|      0|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2880|      0|        Py_XSETREF(self->offset, Py_NewRef(offset));
  ------------------
  |  |  576|      0|    do { \
  |  |  577|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      0|        *_tmp_dst_ptr = (src); \
  |  |  580|      0|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2881|      0|        Py_XSETREF(self->text, Py_NewRef(text));
  ------------------
  |  |  576|      0|    do { \
  |  |  577|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      0|        *_tmp_dst_ptr = (src); \
  |  |  580|      0|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2882|      0|        Py_XSETREF(self->end_lineno, Py_XNewRef(end_lineno));
  ------------------
  |  |  576|      0|    do { \
  |  |  577|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      0|        *_tmp_dst_ptr = (src); \
  |  |  580|      0|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2883|      0|        Py_XSETREF(self->end_offset, Py_XNewRef(end_offset));
  ------------------
  |  |  576|      0|    do { \
  |  |  577|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      0|        *_tmp_dst_ptr = (src); \
  |  |  580|      0|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2884|      0|        Py_XSETREF(self->metadata, Py_XNewRef(metadata));
  ------------------
  |  |  576|      0|    do { \
  |  |  577|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      0|        *_tmp_dst_ptr = (src); \
  |  |  580|      0|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2885|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2886|       |
 2887|      0|        if (self->end_lineno != NULL && self->end_offset == NULL) {
  ------------------
  |  Branch (2887:13): [True: 0, False: 0]
  |  Branch (2887:41): [True: 0, False: 0]
  ------------------
 2888|      0|            PyErr_SetString(PyExc_TypeError, "end_offset must be provided when end_lineno is provided");
 2889|      0|            return -1;
 2890|      0|        }
 2891|      0|    }
 2892|  16.0k|    return 0;
 2893|  16.0k|}
exceptions.c:as_unicode_error_attribute:
 3151|  9.36k|{
 3152|  9.36k|    int rc = check_unicode_error_attribute(attr, name, as_bytes);
 3153|  9.36k|    return rc < 0 ? NULL : Py_NewRef(attr);
  ------------------
  |  |  647|  9.36k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3153:12): [True: 0, False: 9.36k]
  ------------------
 3154|  9.36k|}
exceptions.c:check_unicode_error_attribute:
 3122|  9.36k|{
 3123|  9.36k|    assert(as_bytes == 0 || as_bytes == 1);
  ------------------
  |  Branch (3123:5): [True: 2, False: 9.36k]
  |  Branch (3123:5): [True: 9.36k, False: 0]
  ------------------
 3124|  9.36k|    if (attr == NULL) {
  ------------------
  |  Branch (3124:9): [True: 0, False: 9.36k]
  ------------------
 3125|      0|        PyErr_Format(PyExc_TypeError,
 3126|      0|                     "UnicodeError '%s' attribute is not set",
 3127|      0|                     name);
 3128|      0|        return -1;
 3129|      0|    }
 3130|  9.36k|    if (!(as_bytes ? PyBytes_Check(attr) : PyUnicode_Check(attr))) {
  ------------------
  |  |   28|  9.36k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.36k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!(as_bytes ? PyBytes_Check(attr) : PyUnicode_Check(attr))) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3130:9): [True: 0, False: 9.36k]
  |  Branch (3130:11): [True: 9.36k, False: 2]
  ------------------
 3131|      0|        PyErr_Format(PyExc_TypeError,
 3132|      0|                     "UnicodeError '%s' attribute must be a %s",
 3133|      0|                     name, as_bytes ? "bytes" : "string");
  ------------------
  |  Branch (3133:28): [True: 0, False: 0]
  ------------------
 3134|      0|        return -1;
 3135|      0|    }
 3136|  9.36k|    return 0;
 3137|  9.36k|}
exceptions.c:unicode_error_adjust_start:
 3300|      2|{
 3301|      2|    assert(objlen >= 0);
  ------------------
  |  Branch (3301:5): [True: 2, False: 0]
  ------------------
 3302|      2|    if (start < 0) {
  ------------------
  |  Branch (3302:9): [True: 0, False: 2]
  ------------------
 3303|      0|        start = 0;
 3304|      0|    }
 3305|      2|    if (start >= objlen) {
  ------------------
  |  Branch (3305:9): [True: 0, False: 2]
  ------------------
 3306|      0|        start = objlen == 0 ? 0 : objlen - 1;
  ------------------
  |  Branch (3306:17): [True: 0, False: 0]
  ------------------
 3307|      0|    }
 3308|      2|    return start;
 3309|      2|}
exceptions.c:assert_adjusted_unicode_error_start:
 3316|      4|{
 3317|      4|    assert(objlen >= 0);
  ------------------
  |  Branch (3317:5): [True: 4, False: 0]
  ------------------
 3318|       |    /* in the future, `min_start` may be something else */
 3319|      4|    Py_ssize_t min_start = 0;
 3320|      4|    assert(start >= min_start);
  ------------------
  |  Branch (3320:5): [True: 4, False: 0]
  ------------------
 3321|       |    /* in the future, `max_start` may be something else */
 3322|      4|    Py_ssize_t max_start = Py_MAX(min_start, objlen - 1);
  ------------------
  |  |  133|      4|       __extension__ \
  |  |  134|      4|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|      4|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|      4|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 3323|       |    assert(start <= max_start);
  ------------------
  |  Branch (3323:5): [True: 4, False: 0]
  ------------------
 3324|      4|}
exceptions.c:unicode_error_adjust_end:
 3341|  4.68k|{
 3342|  4.68k|    assert(objlen >= 0);
  ------------------
  |  Branch (3342:5): [True: 4.68k, False: 0]
  ------------------
 3343|  4.68k|    if (end < 1) {
  ------------------
  |  Branch (3343:9): [True: 0, False: 4.68k]
  ------------------
 3344|      0|        end = 1;
 3345|      0|    }
 3346|  4.68k|    if (end > objlen) {
  ------------------
  |  Branch (3346:9): [True: 0, False: 4.68k]
  ------------------
 3347|      0|        end = objlen;
 3348|      0|    }
 3349|  4.68k|    return end;
 3350|  4.68k|}
exceptions.c:assert_adjusted_unicode_error_end:
 3361|  4.68k|{
 3362|  4.68k|    assert(objlen >= 0);
  ------------------
  |  Branch (3362:5): [True: 4.68k, False: 0]
  ------------------
 3363|       |    /* in the future, `min_end` may be something else */
 3364|  4.68k|    Py_ssize_t min_end = Py_MIN(1, objlen);
  ------------------
  |  |  127|  4.68k|       __extension__ \
  |  |  128|  4.68k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  4.68k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  4.68k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  4.68k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  4.68k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 4.68k, False: 0]
  |  |  ------------------
  ------------------
 3365|  4.68k|    assert(end >= min_end);
  ------------------
  |  Branch (3365:5): [True: 4.68k, False: 0]
  ------------------
 3366|       |    /* in the future, `max_end` may be something else */
 3367|  4.68k|    Py_ssize_t max_end = Py_MAX(min_end, objlen);
  ------------------
  |  |  133|  4.68k|       __extension__ \
  |  |  134|  4.68k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  4.68k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  4.68k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  4.68k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  4.68k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 4.68k]
  |  |  ------------------
  ------------------
 3368|       |    assert(end <= max_end);
  ------------------
  |  Branch (3368:5): [True: 4.68k, False: 0]
  ------------------
 3369|  4.68k|}
exceptions.c:unicode_error_adjust_len:
 3387|      2|{
 3388|      2|    assert_adjusted_unicode_error_start(start, objlen);
 3389|      2|    assert_adjusted_unicode_error_end(end, objlen);
 3390|      2|    Py_ssize_t ranlen = end - start;
 3391|      2|    assert(ranlen <= objlen);
  ------------------
  |  Branch (3391:5): [True: 2, False: 0]
  ------------------
 3392|      2|    return ranlen < 0 ? 0 : ranlen;
  ------------------
  |  Branch (3392:12): [True: 0, False: 2]
  ------------------
 3393|      2|}
exceptions.c:assert_adjusted_unicode_error_len:
 3400|      2|{
 3401|      2|    assert(objlen >= 0);
  ------------------
  |  Branch (3401:5): [True: 2, False: 0]
  ------------------
 3402|      2|    assert(ranlen >= 0);
  ------------------
  |  Branch (3402:5): [True: 2, False: 0]
  ------------------
 3403|      2|    assert(ranlen <= objlen);
  ------------------
  |  Branch (3403:5): [True: 2, False: 0]
  ------------------
 3404|      2|}
exceptions.c:check_unicode_error_type:
 3185|  23.0k|{
 3186|  23.0k|    assert(self != NULL);
  ------------------
  |  Branch (3186:5): [True: 23.0k, False: 0]
  ------------------
 3187|  23.0k|    if (!PyUnicodeError_Check(self)) {
  ------------------
  |  | 3158|  23.0k|    PyObject_TypeCheck((PTR), (PyTypeObject *)PyExc_UnicodeError)
  |  |  ------------------
  |  |  |  |  378|  23.0k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  23.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  23.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3187:9): [True: 0, False: 23.0k]
  ------------------
 3188|      0|        PyErr_Format(PyExc_TypeError,
 3189|      0|                     "expecting a %s object, got %T", expect_type, self);
 3190|      0|        return -1;
 3191|      0|    }
 3192|  23.0k|    return 0;
 3193|  23.0k|}
exceptions.c:unicode_error_get_encoding_impl:
 3207|      2|{
 3208|      2|    assert(self != NULL);
  ------------------
  |  Branch (3208:5): [True: 2, False: 0]
  ------------------
 3209|      2|    PyUnicodeErrorObject *exc = PyUnicodeError_CAST(self);
  ------------------
  |  | 3160|      2|    (assert(PyUnicodeError_Check(PTR)), ((PyUnicodeErrorObject *)(PTR)))
  ------------------
  |  Branch (3209:33): [True: 2, False: 0]
  ------------------
 3210|      0|    return as_unicode_error_attribute(exc->encoding, "encoding", false);
 3211|      2|}
exceptions.c:unicode_error_get_object_impl:
 3220|  4.68k|{
 3221|  4.68k|    assert(self != NULL);
  ------------------
  |  Branch (3221:5): [True: 4.68k, False: 0]
  ------------------
 3222|  4.68k|    PyUnicodeErrorObject *exc = PyUnicodeError_CAST(self);
  ------------------
  |  | 3160|  4.68k|    (assert(PyUnicodeError_Check(PTR)), ((PyUnicodeErrorObject *)(PTR)))
  ------------------
  |  Branch (3222:33): [True: 4.68k, False: 0]
  ------------------
 3223|      0|    return as_unicode_error_attribute(exc->object, "object", as_bytes);
 3224|  4.68k|}
exceptions.c:unicode_error_set_start_impl:
 3265|  4.57k|{
 3266|  4.57k|    assert(self != NULL);
  ------------------
  |  Branch (3266:5): [True: 4.57k, False: 0]
  ------------------
 3267|  4.57k|    PyUnicodeErrorObject *exc = PyUnicodeError_CAST(self);
  ------------------
  |  | 3160|  4.57k|    (assert(PyUnicodeError_Check(PTR)), ((PyUnicodeErrorObject *)(PTR)))
  ------------------
  |  Branch (3267:33): [True: 4.57k, False: 0]
  ------------------
 3268|      0|    exc->start = start;
 3269|  4.57k|    return 0;
 3270|  4.57k|}
exceptions.c:unicode_error_get_end_impl:
 3613|  4.67k|{
 3614|  4.67k|    assert(self != NULL);
  ------------------
  |  Branch (3614:5): [True: 4.67k, False: 0]
  ------------------
 3615|  4.67k|    return _PyUnicodeError_GetParams(self, NULL, NULL,
 3616|  4.67k|                                     NULL, end, NULL,
 3617|  4.67k|                                     as_bytes);
 3618|  4.67k|}
exceptions.c:unicode_error_set_end_impl:
 3280|  4.57k|{
 3281|  4.57k|    assert(self != NULL);
  ------------------
  |  Branch (3281:5): [True: 4.57k, False: 0]
  ------------------
 3282|  4.57k|    PyUnicodeErrorObject *exc = PyUnicodeError_CAST(self);
  ------------------
  |  | 3160|  4.57k|    (assert(PyUnicodeError_Check(PTR)), ((PyUnicodeErrorObject *)(PTR)))
  ------------------
  |  Branch (3282:33): [True: 4.57k, False: 0]
  ------------------
 3283|      0|    exc->end = end;
 3284|  4.57k|    return 0;
 3285|  4.57k|}
exceptions.c:unicode_error_set_reason_impl:
 3246|  4.57k|{
 3247|  4.57k|    assert(self != NULL);
  ------------------
  |  Branch (3247:5): [True: 4.57k, False: 0]
  ------------------
 3248|  4.57k|    PyObject *value = PyUnicode_FromString(reason);
 3249|  4.57k|    if (value == NULL) {
  ------------------
  |  Branch (3249:9): [True: 0, False: 4.57k]
  ------------------
 3250|      0|        return -1;
 3251|      0|    }
 3252|  4.57k|    PyUnicodeErrorObject *exc = PyUnicodeError_CAST(self);
  ------------------
  |  | 3160|  4.57k|    (assert(PyUnicodeError_Check(PTR)), ((PyUnicodeErrorObject *)(PTR)))
  ------------------
  |  Branch (3252:33): [True: 4.57k, False: 0]
  ------------------
 3253|  4.57k|    Py_XSETREF(exc->reason, value);
  ------------------
  |  |  576|  4.57k|    do { \
  |  |  577|  4.57k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  4.57k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  4.57k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  4.57k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  4.57k|        *_tmp_dst_ptr = (src); \
  |  |  580|  4.57k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  4.57k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  4.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 4.57k]
  |  |  ------------------
  ------------------
 3254|  4.57k|    return 0;
 3255|  4.57k|}
exceptions.c:UnicodeError_dealloc:
 3735|    487|{
 3736|    487|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|    487|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    487|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    487|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3737|    487|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|    487|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    487|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    487|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3738|    487|    (void)UnicodeError_clear(self);
 3739|    487|    type->tp_free(self);
 3740|    487|}
exceptions.c:UnicodeError_clear:
 3725|    487|{
 3726|    487|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3355|    487|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3726:33): [True: 487, False: 0]
  ------------------
 3727|    487|    Py_CLEAR(exc->encoding);
  ------------------
  |  |  487|    487|    do { \
  |  |  488|    487|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    487|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    487|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    487|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    487|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    487|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 487, False: 0]
  |  |  ------------------
  |  |  491|    487|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    487|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    487|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    487|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    487|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    487|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    487|        } \
  |  |  494|    487|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 487]
  |  |  ------------------
  ------------------
 3728|    487|    Py_CLEAR(exc->object);
  ------------------
  |  |  487|    487|    do { \
  |  |  488|    487|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    487|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    487|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    487|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    487|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    487|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 487, False: 0]
  |  |  ------------------
  |  |  491|    487|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    487|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    487|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    487|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    487|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    487|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    487|        } \
  |  |  494|    487|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 487]
  |  |  ------------------
  ------------------
 3729|       |    Py_CLEAR(exc->reason);
  ------------------
  |  |  487|    487|    do { \
  |  |  488|    487|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    487|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    487|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    487|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    487|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    487|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 487, False: 0]
  |  |  ------------------
  |  |  491|    487|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    487|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    487|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    487|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    487|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    487|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    487|        } \
  |  |  494|    487|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 487]
  |  |  ------------------
  ------------------
 3730|    487|    return BaseException_clear(self);
 3731|    487|}
exceptions.c:UnicodeDecodeError_init:
 3880|    487|{
 3881|    487|    if (BaseException_init(self, args, kwds) == -1) {
  ------------------
  |  Branch (3881:9): [True: 0, False: 487]
  ------------------
 3882|      0|        return -1;
 3883|      0|    }
 3884|       |
 3885|    487|    PyObject *encoding = NULL, *object = NULL, *reason = NULL;  // borrowed
 3886|    487|    Py_ssize_t start = -1, end = -1;
 3887|       |
 3888|    487|    if (!PyArg_ParseTuple(args, "UOnnU",
  ------------------
  |  Branch (3888:9): [True: 0, False: 487]
  ------------------
 3889|    487|                          &encoding, &object, &start, &end, &reason))
 3890|      0|    {
 3891|      0|        return -1;
 3892|      0|    }
 3893|       |
 3894|    487|    if (PyBytes_Check(object)) {
  ------------------
  |  |   28|    487|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    487|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 487, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3895|    487|        Py_INCREF(object);  // make 'object' a strong reference
  ------------------
  |  |  310|    487|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    487|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    487|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3896|    487|    }
 3897|      0|    else {
 3898|      0|        Py_buffer view;
 3899|      0|        if (PyObject_GetBuffer(object, &view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (3899:13): [True: 0, False: 0]
  ------------------
 3900|      0|            return -1;
 3901|      0|        }
 3902|       |        // 'object' is borrowed, so we can re-use the variable
 3903|      0|        object = PyBytes_FromStringAndSize(view.buf, view.len);
 3904|      0|        PyBuffer_Release(&view);
 3905|      0|        if (object == NULL) {
  ------------------
  |  Branch (3905:13): [True: 0, False: 0]
  ------------------
 3906|      0|            return -1;
 3907|      0|        }
 3908|      0|    }
 3909|       |
 3910|    487|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3355|    487|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3910:33): [True: 487, False: 0]
  ------------------
 3911|    487|    Py_XSETREF(exc->encoding, Py_NewRef(encoding));
  ------------------
  |  |  576|    487|    do { \
  |  |  577|    487|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    487|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    487|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    487|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    487|        *_tmp_dst_ptr = (src); \
  |  |  580|    487|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    487|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    487|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    487|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    487|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 487]
  |  |  ------------------
  ------------------
 3912|    487|    Py_XSETREF(exc->object, object /* already a strong reference */);
  ------------------
  |  |  576|    487|    do { \
  |  |  577|    487|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    487|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    487|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    487|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    487|        *_tmp_dst_ptr = (src); \
  |  |  580|    487|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    487|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    487|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    487|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    487|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 487]
  |  |  ------------------
  ------------------
 3913|    487|    exc->start = start;
 3914|    487|    exc->end = end;
 3915|    487|    Py_XSETREF(exc->reason, Py_NewRef(reason));
  ------------------
  |  |  576|    487|    do { \
  |  |  577|    487|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    487|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    487|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    487|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    487|        *_tmp_dst_ptr = (src); \
  |  |  580|    487|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    487|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    487|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    487|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    487|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 487]
  |  |  ------------------
  ------------------
 3916|    487|    return 0;
 3917|    487|}
exceptions.c:get_memory_error:
 4169|     32|{
 4170|     32|    PyBaseExceptionObject *self = NULL;
 4171|     32|    struct _Py_exc_state *state = get_exc_state();
 4172|       |
 4173|     32|    MEMERRORS_LOCK(state);
  ------------------
  |  | 4163|     32|# define MEMERRORS_LOCK(state) ((void)0)
  ------------------
 4174|     32|    if (state->memerrors_freelist != NULL) {
  ------------------
  |  Branch (4174:9): [True: 0, False: 32]
  ------------------
 4175|       |        /* Fetch MemoryError from freelist and initialize it */
 4176|      0|        self = state->memerrors_freelist;
 4177|      0|        state->memerrors_freelist = (PyBaseExceptionObject *) self->dict;
 4178|      0|        state->memerrors_numfree--;
 4179|      0|        self->dict = NULL;
 4180|      0|        self->args = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 4181|      0|        _Py_NewReference((PyObject *)self);
 4182|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4183|      0|    }
 4184|     32|    MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4164|     32|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4185|       |
 4186|     32|    if (self != NULL) {
  ------------------
  |  Branch (4186:9): [True: 0, False: 32]
  ------------------
 4187|      0|        return (PyObject *)self;
 4188|      0|    }
 4189|       |
 4190|     32|    if (!allow_allocation) {
  ------------------
  |  Branch (4190:9): [True: 0, False: 32]
  ------------------
 4191|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 4192|      0|        return Py_NewRef(
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4193|      0|            &_Py_INTERP_SINGLETON(interp, last_resort_memory_error));
 4194|      0|    }
 4195|     32|    return BaseException_new((PyTypeObject *)PyExc_MemoryError, args, kwds);
 4196|     32|}
exceptions.c:MemoryError_dealloc:
 4227|     32|{
 4228|     32|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
 4229|     32|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|     32|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4230|       |
 4231|     32|    (void)BaseException_clear(op);
 4232|       |
 4233|       |    /* If this is a subclass of MemoryError, we don't need to
 4234|       |     * do anything in the free-list*/
 4235|     32|    if (!Py_IS_TYPE(self, (PyTypeObject *) PyExc_MemoryError)) {
  ------------------
  |  |  215|     32|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4235:9): [True: 0, False: 32]
  ------------------
 4236|      0|        Py_TYPE(self)->tp_free(op);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4237|      0|        return;
 4238|      0|    }
 4239|       |
 4240|     32|    struct _Py_exc_state *state = get_exc_state();
 4241|     32|    MEMERRORS_LOCK(state);
  ------------------
  |  | 4163|     32|# define MEMERRORS_LOCK(state) ((void)0)
  ------------------
 4242|     32|    if (state->memerrors_numfree < MEMERRORS_SAVE) {
  ------------------
  |  | 4157|     32|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4242:9): [True: 32, False: 0]
  ------------------
 4243|     32|        self->dict = (PyObject *) state->memerrors_freelist;
 4244|     32|        state->memerrors_freelist = self;
 4245|     32|        state->memerrors_numfree++;
 4246|     32|        MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4164|     32|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4247|     32|        return;
 4248|     32|    }
 4249|      0|    MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4164|      0|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4250|       |
 4251|      0|    Py_TYPE(self)->tp_free((PyObject *)self);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4252|      0|}
exceptions.c:BaseException_clear:
  131|  69.9k|{
  132|  69.9k|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  133|  69.9k|    Py_CLEAR(self->dict);
  ------------------
  |  |  487|  69.9k|    do { \
  |  |  488|  69.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  69.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  69.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  69.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  69.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  69.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 16.3k, False: 53.5k]
  |  |  ------------------
  |  |  491|  16.3k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  16.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  16.3k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  16.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  16.3k|        } \
  |  |  494|  69.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 69.9k]
  |  |  ------------------
  ------------------
  134|  69.9k|    Py_CLEAR(self->args);
  ------------------
  |  |  487|  69.9k|    do { \
  |  |  488|  69.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  69.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  69.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  69.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  69.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  69.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 69.9k, False: 0]
  |  |  ------------------
  |  |  491|  69.9k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  69.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  69.9k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  69.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  69.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  69.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  69.9k|        } \
  |  |  494|  69.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 69.9k]
  |  |  ------------------
  ------------------
  135|  69.9k|    Py_CLEAR(self->notes);
  ------------------
  |  |  487|  69.9k|    do { \
  |  |  488|  69.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  69.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  69.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  69.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  69.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  69.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 69.9k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  69.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 69.9k]
  |  |  ------------------
  ------------------
  136|  69.9k|    Py_CLEAR(self->traceback);
  ------------------
  |  |  487|  69.9k|    do { \
  |  |  488|  69.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  69.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  69.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  69.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  69.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  69.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2.41k, False: 67.5k]
  |  |  ------------------
  |  |  491|  2.41k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.41k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  2.41k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  2.41k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  2.41k|        } \
  |  |  494|  69.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 69.9k]
  |  |  ------------------
  ------------------
  137|  69.9k|    Py_CLEAR(self->cause);
  ------------------
  |  |  487|  69.9k|    do { \
  |  |  488|  69.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  69.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  69.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  69.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  69.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  69.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 69.9k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  69.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 69.9k]
  |  |  ------------------
  ------------------
  138|       |    Py_CLEAR(self->context);
  ------------------
  |  |  487|  69.9k|    do { \
  |  |  488|  69.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  69.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  69.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  69.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  69.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  69.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 21, False: 69.9k]
  |  |  ------------------
  |  |  491|     21|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     21|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     21|            Py_DECREF(_PyObject_CAST(_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     21|        } \
  |  |  494|  69.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 69.9k]
  |  |  ------------------
  ------------------
  139|  69.9k|    return 0;
  140|  69.9k|}
exceptions.c:BaseException_init:
   86|  68.1k|{
   87|  68.1k|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
   88|  68.1k|    if (!_PyArg_NoKeywords(Py_TYPE(self)->tp_name, kwds))
  ------------------
  |  |   32|  68.1k|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 68.1k, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   89|      0|        return -1;
   90|       |
   91|  68.1k|    Py_XSETREF(self->args, Py_NewRef(args));
  ------------------
  |  |  576|  68.1k|    do { \
  |  |  577|  68.1k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  68.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  68.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  68.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  68.1k|        *_tmp_dst_ptr = (src); \
  |  |  580|  68.1k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  68.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  68.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  68.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  68.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 68.1k]
  |  |  ------------------
  ------------------
   92|  68.1k|    return 0;
   93|  68.1k|}
exceptions.c:MemoryError_new:
 4200|     32|{
 4201|       |    /* If this is a subclass of MemoryError, don't use the freelist
 4202|       |     * and just return a fresh object */
 4203|     32|    if (type != (PyTypeObject *) PyExc_MemoryError) {
  ------------------
  |  Branch (4203:9): [True: 0, False: 32]
  ------------------
 4204|      0|        return BaseException_new(type, args, kwds);
 4205|      0|    }
 4206|     32|    return get_memory_error(1, args, kwds);
 4207|     32|}
exceptions.c:BaseException_new:
   58|  68.1k|{
   59|  68.1k|    PyBaseExceptionObject *self;
   60|       |
   61|  68.1k|    self = (PyBaseExceptionObject *)type->tp_alloc(type, 0);
   62|  68.1k|    if (!self)
  ------------------
  |  Branch (62:9): [True: 0, False: 68.1k]
  ------------------
   63|      0|        return NULL;
   64|       |    /* the dict is created on the fly in PyObject_GenericSetAttr */
   65|  68.1k|    self->dict = NULL;
   66|  68.1k|    self->notes = NULL;
   67|  68.1k|    self->traceback = self->cause = self->context = NULL;
   68|  68.1k|    self->suppress_context = 0;
   69|       |
   70|  68.1k|    if (args) {
  ------------------
  |  Branch (70:9): [True: 68.1k, False: 32]
  ------------------
   71|  68.1k|        self->args = Py_NewRef(args);
  ------------------
  |  |  647|  68.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  68.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  68.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|  68.1k|        return (PyObject *)self;
   73|  68.1k|    }
   74|       |
   75|     32|    self->args = PyTuple_New(0);
   76|     32|    if (!self->args) {
  ------------------
  |  Branch (76:9): [True: 0, False: 32]
  ------------------
   77|      0|        Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   78|      0|        return NULL;
   79|      0|    }
   80|       |
   81|     32|    return (PyObject *)self;
   82|     32|}
exceptions.c:BaseException_vectorcall:
   99|  1.73k|{
  100|  1.73k|    PyTypeObject *type = _PyType_CAST(type_obj);
  ------------------
  |  |  770|  1.73k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (100:26): [True: 1.73k, False: 0]
  ------------------
  101|  1.73k|    if (!_PyArg_NoKwnames(type->tp_name, kwnames)) {
  ------------------
  |  |   16|  1.73k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 1.73k, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  102|      0|        return NULL;
  103|      0|    }
  104|       |
  105|  1.73k|    PyBaseExceptionObject *self;
  106|  1.73k|    self = (PyBaseExceptionObject *)type->tp_alloc(type, 0);
  107|  1.73k|    if (!self) {
  ------------------
  |  Branch (107:9): [True: 0, False: 1.73k]
  ------------------
  108|      0|        return NULL;
  109|      0|    }
  110|       |
  111|       |    // The dict is created on the fly in PyObject_GenericSetAttr()
  112|  1.73k|    self->dict = NULL;
  113|  1.73k|    self->notes = NULL;
  114|  1.73k|    self->traceback = NULL;
  115|  1.73k|    self->cause = NULL;
  116|  1.73k|    self->context = NULL;
  117|  1.73k|    self->suppress_context = 0;
  118|       |
  119|  1.73k|    self->args = PyTuple_FromArray(args, PyVectorcall_NARGS(nargsf));
  ------------------
  |  |   37|  1.73k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  120|  1.73k|    if (!self->args) {
  ------------------
  |  Branch (120:9): [True: 0, False: 1.73k]
  ------------------
  121|      0|        Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|      0|        return NULL;
  123|      0|    }
  124|       |
  125|  1.73k|    return (PyObject *)self;
  126|  1.73k|}
exceptions.c:ImportError_init_impl:
 1799|    337|{
 1800|    337|    PyObject *msg = NULL;
 1801|       |
 1802|    337|    if (BaseException_init((PyObject *)self, args, NULL) == -1) {
  ------------------
  |  Branch (1802:9): [True: 0, False: 337]
  ------------------
 1803|      0|        return -1;
 1804|      0|    }
 1805|       |
 1806|    337|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  576|    337|    do { \
  |  |  577|    337|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    337|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    337|        *_tmp_dst_ptr = (src); \
  |  |  580|    337|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    337|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    337|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 337]
  |  |  ------------------
  ------------------
 1807|    337|    Py_XSETREF(self->path, Py_XNewRef(path));
  ------------------
  |  |  576|    337|    do { \
  |  |  577|    337|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    337|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    337|        *_tmp_dst_ptr = (src); \
  |  |  580|    337|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    337|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    337|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 337]
  |  |  ------------------
  ------------------
 1808|    337|    Py_XSETREF(self->name_from, Py_XNewRef(name_from));
  ------------------
  |  |  576|    337|    do { \
  |  |  577|    337|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    337|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    337|        *_tmp_dst_ptr = (src); \
  |  |  580|    337|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    337|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    337|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 337]
  |  |  ------------------
  ------------------
 1809|       |
 1810|    337|    if (PyTuple_GET_SIZE(args) == 1) {
  ------------------
  |  |   27|    337|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1810:9): [True: 337, False: 0]
  ------------------
 1811|    337|        msg = Py_NewRef(PyTuple_GET_ITEM(args, 0));
  ------------------
  |  |  647|    337|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    674|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 337, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1812|    337|    }
 1813|    337|    Py_XSETREF(self->msg, msg);
  ------------------
  |  |  576|    337|    do { \
  |  |  577|    337|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    337|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    337|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    337|        *_tmp_dst_ptr = (src); \
  |  |  580|    337|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    337|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    337|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 337]
  |  |  ------------------
  ------------------
 1814|       |
 1815|    337|    return 0;
 1816|    337|}
exceptions.c:AttributeError_init_impl:
 2677|  51.3k|{
 2678|  51.3k|    if (BaseException_init((PyObject *)self, args, NULL) == -1) {
  ------------------
  |  Branch (2678:9): [True: 0, False: 51.3k]
  ------------------
 2679|      0|        return -1;
 2680|      0|    }
 2681|       |
 2682|  51.3k|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  576|  51.3k|    do { \
  |  |  577|  51.3k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  51.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  51.3k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  51.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  51.3k|        *_tmp_dst_ptr = (src); \
  |  |  580|  51.3k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  51.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  51.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  51.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  51.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 51.3k]
  |  |  ------------------
  ------------------
 2683|  51.3k|    Py_XSETREF(self->obj, Py_XNewRef(obj));
  ------------------
  |  |  576|  51.3k|    do { \
  |  |  577|  51.3k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  51.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  51.3k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  51.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  51.3k|        *_tmp_dst_ptr = (src); \
  |  |  580|  51.3k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  51.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  51.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  51.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  51.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 51.3k]
  |  |  ------------------
  ------------------
 2684|       |
 2685|  51.3k|    return 0;
 2686|  51.3k|}
exceptions.c:preallocate_memerrors:
 4256|      2|{
 4257|       |    /* We create enough MemoryErrors and then decref them, which will fill
 4258|       |       up the freelist. */
 4259|      2|    int i;
 4260|       |
 4261|      2|    PyObject *errors[MEMERRORS_SAVE];
 4262|     34|    for (i = 0; i < MEMERRORS_SAVE; i++) {
  ------------------
  |  | 4157|     34|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4262:17): [True: 32, False: 2]
  ------------------
 4263|     32|        errors[i] = MemoryError_new((PyTypeObject *) PyExc_MemoryError,
 4264|     32|                                    NULL, NULL);
 4265|     32|        if (!errors[i]) {
  ------------------
  |  Branch (4265:13): [True: 0, False: 32]
  ------------------
 4266|      0|            return -1;
 4267|      0|        }
 4268|     32|    }
 4269|     34|    for (i = 0; i < MEMERRORS_SAVE; i++) {
  ------------------
  |  | 4157|     34|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4269:17): [True: 32, False: 2]
  ------------------
 4270|     32|        Py_DECREF(errors[i]);
  ------------------
  |  |  430|     32|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4271|     32|    }
 4272|      2|    return 0;
 4273|      2|}
exceptions.c:create_exception_group_class:
 1749|      2|create_exception_group_class(void) {
 1750|      2|    struct _Py_exc_state *state = get_exc_state();
 1751|       |
 1752|      2|    PyObject *bases = _PyTuple_FromPair(
 1753|      2|        PyExc_BaseExceptionGroup, PyExc_Exception);
 1754|      2|    if (bases == NULL) {
  ------------------
  |  Branch (1754:9): [True: 0, False: 2]
  ------------------
 1755|      0|        return NULL;
 1756|      0|    }
 1757|       |
 1758|      2|    assert(!state->PyExc_ExceptionGroup);
  ------------------
  |  Branch (1758:5): [True: 2, False: 0]
  ------------------
 1759|      2|    state->PyExc_ExceptionGroup = PyErr_NewException(
 1760|      2|        "builtins.ExceptionGroup", bases, NULL);
 1761|       |
 1762|      2|    Py_DECREF(bases);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1763|      2|    return state->PyExc_ExceptionGroup;
 1764|      2|}
exceptions.c:BaseException_add_note_impl:
  291|    365|{
  292|    365|    PyObject *notes;
  293|    365|    if (PyObject_GetOptionalAttr((PyObject *)self, &_Py_ID(__notes__), &notes) < 0) {
  ------------------
  |  |  951|    365|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    365|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    365|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (293:9): [True: 0, False: 365]
  ------------------
  294|      0|        return NULL;
  295|      0|    }
  296|    365|    if (notes == NULL) {
  ------------------
  |  Branch (296:9): [True: 365, False: 0]
  ------------------
  297|    365|        notes = PyList_New(0);
  298|    365|        if (notes == NULL) {
  ------------------
  |  Branch (298:13): [True: 0, False: 365]
  ------------------
  299|      0|            return NULL;
  300|      0|        }
  301|    365|        if (PyObject_SetAttr((PyObject *)self, &_Py_ID(__notes__), notes) < 0) {
  ------------------
  |  |  951|    365|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    365|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    365|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (301:13): [True: 0, False: 365]
  ------------------
  302|      0|            Py_DECREF(notes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  303|      0|            return NULL;
  304|      0|        }
  305|    365|    }
  306|      0|    else if (!PyList_Check(notes)) {
  ------------------
  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (306:14): [True: 0, False: 0]
  ------------------
  307|      0|        Py_DECREF(notes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  308|      0|        PyErr_SetString(PyExc_TypeError, "Cannot add note: __notes__ is not a list");
  309|      0|        return NULL;
  310|      0|    }
  311|    365|    if (PyList_Append(notes, note) < 0) {
  ------------------
  |  Branch (311:9): [True: 0, False: 365]
  ------------------
  312|      0|        Py_DECREF(notes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  313|      0|        return NULL;
  314|      0|    }
  315|    365|    Py_DECREF(notes);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|    365|    Py_RETURN_NONE;
  ------------------
  |  |  628|    365|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    365|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  317|    365|}

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

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

_PyFrameLocalsProxy_New:
 1025|      2|{
 1026|      2|    PyObject* args = PyTuple_Pack(1, frame);
 1027|      2|    if (args == NULL) {
  ------------------
  |  Branch (1027:9): [True: 0, False: 2]
  ------------------
 1028|      0|        return NULL;
 1029|      0|    }
 1030|       |
 1031|      2|    PyObject* proxy = framelocalsproxy_new(&PyFrameLocalsProxy_Type, args, NULL);
 1032|      2|    Py_DECREF(args);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1033|      2|    return proxy;
 1034|      2|}
_PyFrame_New_NoTrack:
 2193|  2.80k|{
 2194|  2.80k|    CALL_STAT_INC(frame_objects_created);
  ------------------
  |  |   76|  2.80k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2195|  2.80k|    int slots = code->co_nlocalsplus + code->co_stacksize;
 2196|  2.80k|    PyFrameObject *f = PyObject_GC_NewVar(PyFrameObject, &PyFrame_Type, slots);
  ------------------
  |  |  183|  2.80k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  2.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2197|  2.80k|    if (f == NULL) {
  ------------------
  |  Branch (2197:9): [True: 0, False: 2.80k]
  ------------------
 2198|      0|        return NULL;
 2199|      0|    }
 2200|  2.80k|    f->f_back = NULL;
 2201|  2.80k|    f->f_trace = NULL;
 2202|  2.80k|    f->f_trace_lines = 1;
 2203|  2.80k|    f->f_trace_opcodes = 0;
 2204|  2.80k|    f->f_lineno = 0;
 2205|  2.80k|    f->f_extra_locals = NULL;
 2206|  2.80k|    f->f_locals_cache = NULL;
 2207|  2.80k|    f->f_overwritten_fast_locals = NULL;
 2208|       |    f->f_weakreflist = NULL;
 2209|  2.80k|    return f;
 2210|  2.80k|}
_PyFrame_HasHiddenLocals:
 2379|     14|{
 2380|       |    /*
 2381|       |     * This function returns if there are hidden locals introduced by PEP 709,
 2382|       |     * which are the isolated fast locals for inline comprehensions
 2383|       |     */
 2384|     14|    PyCodeObject* co = _PyFrame_GetCode(frame);
 2385|       |
 2386|     15|    for (int i = 0; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (2386:21): [True: 1, False: 14]
  ------------------
 2387|      1|        _PyLocals_Kind kind = _PyLocals_GetKind(co->co_localspluskinds, i);
 2388|       |
 2389|      1|        if (kind & CO_FAST_HIDDEN) {
  ------------------
  |  |  196|      1|#define CO_FAST_HIDDEN  (0x10)
  ------------------
  |  Branch (2389:13): [True: 1, False: 0]
  ------------------
 2390|      1|            if (framelocalsproxy_hasval(frame, co, i)) {
  ------------------
  |  Branch (2390:17): [True: 0, False: 1]
  ------------------
 2391|      0|                return true;
 2392|      0|            }
 2393|      1|        }
 2394|      1|    }
 2395|       |
 2396|     14|    return false;
 2397|     14|}
_PyFrame_GetLocals:
 2402|     14|{
 2403|       |    // We should try to avoid creating the FrameObject if possible.
 2404|       |    // So we check if the frame is a module or class level scope
 2405|     14|    PyCodeObject *co = _PyFrame_GetCode(frame);
 2406|       |
 2407|     14|    if (!(co->co_flags & CO_OPTIMIZED) && !_PyFrame_HasHiddenLocals(frame)) {
  ------------------
  |  |  122|     14|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (2407:9): [True: 14, False: 0]
  |  Branch (2407:43): [True: 14, False: 0]
  ------------------
 2408|     14|        if (frame->f_locals == NULL) {
  ------------------
  |  Branch (2408:13): [True: 0, False: 14]
  ------------------
 2409|       |            // We found cases when f_locals is NULL for non-optimized code.
 2410|       |            // We fill the f_locals with an empty dict to avoid crash until
 2411|       |            // we find the root cause.
 2412|      0|            frame->f_locals = PyDict_New();
 2413|      0|            if (frame->f_locals == NULL) {
  ------------------
  |  Branch (2413:17): [True: 0, False: 0]
  ------------------
 2414|      0|                return NULL;
 2415|      0|            }
 2416|      0|        }
 2417|     14|        return Py_NewRef(frame->f_locals);
  ------------------
  |  |  647|     14|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2418|     14|    }
 2419|       |
 2420|      0|    PyFrameObject* f = _PyFrame_GetFrameObject(frame);
 2421|      0|    if (f == NULL) {
  ------------------
  |  Branch (2421:9): [True: 0, False: 0]
  ------------------
 2422|      0|        return NULL;
 2423|      0|    }
 2424|       |
 2425|      0|    return _PyFrameLocalsProxy_New(f);
 2426|      0|}
PyFrame_GetCode:
 2511|    642|{
 2512|    642|    assert(frame != NULL);
  ------------------
  |  Branch (2512:5): [True: 642, False: 0]
  ------------------
 2513|    642|    PyObject *code;
 2514|    642|    Py_BEGIN_CRITICAL_SECTION(frame);
  ------------------
  |  |   51|    642|    {
  ------------------
 2515|    642|    assert(!_PyFrame_IsIncomplete(frame->f_frame));
  ------------------
  |  Branch (2515:5): [True: 642, False: 0]
  ------------------
 2516|    642|    code = Py_NewRef(_PyFrame_GetCode(frame->f_frame));
  ------------------
  |  |  647|    642|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    642|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    642|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2517|    642|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    642|    }
  ------------------
 2518|    642|    return (PyCodeObject *)code;
 2519|    642|}
frameobject.c:framelocalsproxy_dealloc:
  448|      2|{
  449|      2|    PyFrameLocalsProxyObject *proxy = PyFrameLocalsProxyObject_CAST(self);
  ------------------
  |  |   31|      2|    (                                                               \
  |  |   32|      2|        assert(PyObject_TypeCheck((op), &PyFrameLocalsProxy_Type)), \
  |  |   33|      2|        (PyFrameLocalsProxyObject *)(op)                            \
  |  |   34|      2|    )
  ------------------
  |  Branch (449:39): [True: 2, False: 0]
  ------------------
  450|      0|    PyObject_GC_UnTrack(self);
  451|      2|    Py_CLEAR(proxy->frame);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  452|      2|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  453|      2|}
frameobject.c:framelocalsproxy_getval:
   47|      1|{
   48|      1|    _PyStackRef *fast = _PyFrame_GetLocalsArray(frame);
   49|      1|    _PyLocals_Kind kind = _PyLocals_GetKind(co->co_localspluskinds, i);
   50|       |
   51|      1|    PyObject *value = PyStackRef_AsPyObjectBorrow(fast[i]);
   52|      1|    PyObject *cell = NULL;
   53|       |
   54|      1|    if (value == NULL) {
  ------------------
  |  Branch (54:9): [True: 1, False: 0]
  ------------------
   55|      1|        return NULL;
   56|      1|    }
   57|       |
   58|      0|    if (kind == CO_FAST_FREE || kind & CO_FAST_CELL) {
  ------------------
  |  |  199|      0|#define CO_FAST_FREE    (0x80)
  ------------------
                  if (kind == CO_FAST_FREE || kind & CO_FAST_CELL) {
  ------------------
  |  |  198|      0|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (58:9): [True: 0, False: 0]
  |  Branch (58:33): [True: 0, False: 0]
  ------------------
   59|       |        // The cell was set when the frame was created from
   60|       |        // the function's closure.
   61|       |        // GH-128396: With PEP 709, it's possible to have a fast variable in
   62|       |        // an inlined comprehension that has the same name as the cell variable
   63|       |        // in the frame, where the `kind` obtained from frame can not guarantee
   64|       |        // that the variable is a cell.
   65|       |        // If the variable is not a cell, we are okay with it and we can simply
   66|       |        // return the value.
   67|      0|        if (PyCell_Check(value)) {
  ------------------
  |  |   18|      0|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   68|      0|            cell = value;
   69|      0|        }
   70|      0|    }
   71|       |
   72|      0|    if (cell != NULL) {
  ------------------
  |  Branch (72:9): [True: 0, False: 0]
  ------------------
   73|      0|        value = PyCell_GetRef((PyCellObject *)cell);
   74|      0|    }
   75|      0|    else {
   76|      0|        Py_XINCREF(value);
  ------------------
  |  |  611|      0|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   77|      0|    }
   78|       |
   79|      0|    if (value == NULL) {
  ------------------
  |  Branch (79:9): [True: 0, False: 0]
  ------------------
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|      0|    return value;
   84|      0|}
frameobject.c:framelocalsproxy_new:
  457|      2|{
  458|      2|    if (PyTuple_GET_SIZE(args) != 1) {
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (458:9): [True: 0, False: 2]
  ------------------
  459|      0|        PyErr_Format(PyExc_TypeError,
  460|      0|                     "FrameLocalsProxy expected 1 argument, got %zd",
  461|      0|                     PyTuple_GET_SIZE(args));
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  462|      0|        return NULL;
  463|      0|    }
  464|      2|    PyObject *item = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (464:22): [True: 2, False: 0]
  ------------------
  465|       |
  466|      2|    if (!PyFrame_Check(item)) {
  ------------------
  |  |    8|      2|#define PyFrame_Check(op) Py_IS_TYPE((op), &PyFrame_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (466:9): [True: 0, False: 2]
  ------------------
  467|      0|        PyErr_Format(PyExc_TypeError, "expect frame, not %T", item);
  468|      0|        return NULL;
  469|      0|    }
  470|      2|    PyFrameObject *frame = (PyFrameObject*)item;
  471|       |
  472|      2|    if (kwds != NULL && PyDict_Size(kwds) != 0) {
  ------------------
  |  Branch (472:9): [True: 0, False: 2]
  |  Branch (472:25): [True: 0, False: 0]
  ------------------
  473|      0|        PyErr_SetString(PyExc_TypeError,
  474|      0|                        "FrameLocalsProxy takes no keyword arguments");
  475|      0|        return 0;
  476|      0|    }
  477|       |
  478|      2|    PyFrameLocalsProxyObject *self = (PyFrameLocalsProxyObject *)type->tp_alloc(type, 0);
  479|      2|    if (self == NULL) {
  ------------------
  |  Branch (479:9): [True: 0, False: 2]
  ------------------
  480|      0|        return NULL;
  481|      0|    }
  482|       |
  483|      2|    ((PyFrameLocalsProxyObject*)self)->frame = (PyFrameObject*)Py_NewRef(frame);
  ------------------
  |  |  647|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  484|       |
  485|      2|    return (PyObject *)self;
  486|      2|}
frameobject.c:frame_dealloc:
 2003|  2.80k|{
 2004|       |    /* It is the responsibility of the owning generator/coroutine
 2005|       |     * to have cleared the generator pointer */
 2006|  2.80k|    PyFrameObject *f = PyFrameObject_CAST(op);
  ------------------
  |  |   28|  2.80k|    (assert(PyObject_TypeCheck((op), &PyFrame_Type)), (PyFrameObject *)(op))
  ------------------
  |  Branch (2006:24): [True: 2.80k, False: 0]
  ------------------
 2007|  2.80k|    if (_PyObject_GC_IS_TRACKED(f)) {
  ------------------
  |  |   81|  2.80k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 859, False: 1.94k]
  |  |  ------------------
  ------------------
 2008|    859|        _PyObject_GC_UNTRACK(f);
  ------------------
  |  |  504|    859|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    859|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    859|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|    859|    }
 2010|       |
 2011|  2.80k|    FT_CLEAR_WEAKREFS(op, f->f_weakreflist);
  ------------------
  |  |   47|  2.80k|    do {                                            \
  |  |   48|  2.80k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  2.80k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 2.80k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  2.80k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 2.80k]
  |  |  ------------------
  ------------------
  |  Branch (2011:5): [True: 2.80k, 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|  2.80k|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)f->_f_frame_data;
 2018|       |
 2019|       |    /* Kill all local variables including specials, if we own them */
 2020|  2.80k|    if (f->f_frame == frame && frame->owner == FRAME_OWNED_BY_FRAME_OBJECT) {
  ------------------
  |  Branch (2020:9): [True: 859, False: 1.94k]
  |  Branch (2020:32): [True: 859, False: 0]
  ------------------
 2021|    859|        PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  732|    859|    do { \
  |  |  733|    859|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|    859|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|    859|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|    859|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|    859|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 859]
  |  |  ------------------
  ------------------
 2022|    859|        PyStackRef_CLEAR(frame->f_funcobj);
  ------------------
  |  |  732|    859|    do { \
  |  |  733|    859|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|    859|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|    859|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|    859|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|    859|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 859]
  |  |  ------------------
  ------------------
 2023|    859|        Py_CLEAR(frame->f_locals);
  ------------------
  |  |  487|    859|    do { \
  |  |  488|    859|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    859|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    859|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    859|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    859|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    859|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 859]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|    859|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 859]
  |  |  ------------------
  ------------------
 2024|    859|        _PyStackRef *locals = _PyFrame_GetLocalsArray(frame);
 2025|    859|        _PyStackRef *sp = frame->stackpointer;
 2026|  7.14k|        while (sp > locals) {
  ------------------
  |  Branch (2026:16): [True: 6.28k, False: 859]
  ------------------
 2027|  6.28k|            sp--;
 2028|  6.28k|            PyStackRef_CLEAR(*sp);
  ------------------
  |  |  732|  6.28k|    do { \
  |  |  733|  6.28k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  6.28k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  6.28k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  6.28k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  6.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 6.28k]
  |  |  ------------------
  ------------------
 2029|  6.28k|        }
 2030|    859|    }
 2031|  2.80k|    Py_CLEAR(f->f_back);
  ------------------
  |  |  487|  2.80k|    do { \
  |  |  488|  2.80k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.80k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.80k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.80k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.80k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.80k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 729, False: 2.07k]
  |  |  ------------------
  |  |  491|    729|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    729|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    729|            Py_DECREF(_PyObject_CAST(_tmp_old_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    729|        } \
  |  |  494|  2.80k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.80k]
  |  |  ------------------
  ------------------
 2032|  2.80k|    Py_CLEAR(f->f_trace);
  ------------------
  |  |  487|  2.80k|    do { \
  |  |  488|  2.80k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.80k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.80k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.80k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.80k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.80k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 2.80k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  2.80k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.80k]
  |  |  ------------------
  ------------------
 2033|  2.80k|    Py_CLEAR(f->f_extra_locals);
  ------------------
  |  |  487|  2.80k|    do { \
  |  |  488|  2.80k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.80k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.80k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.80k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.80k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.80k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 2.80k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  2.80k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.80k]
  |  |  ------------------
  ------------------
 2034|  2.80k|    Py_CLEAR(f->f_locals_cache);
  ------------------
  |  |  487|  2.80k|    do { \
  |  |  488|  2.80k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.80k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.80k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.80k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.80k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.80k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 2.80k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  2.80k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.80k]
  |  |  ------------------
  ------------------
 2035|       |    Py_CLEAR(f->f_overwritten_fast_locals);
  ------------------
  |  |  487|  2.80k|    do { \
  |  |  488|  2.80k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.80k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.80k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.80k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.80k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.80k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 2.80k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  2.80k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.80k]
  |  |  ------------------
  ------------------
 2036|  2.80k|    PyObject_GC_Del(f);
 2037|  2.80k|}
frameobject.c:framelocalsproxy_hasval:
   88|      1|{
   89|      1|    PyObject *value = framelocalsproxy_getval(frame, co, i);
   90|      1|    if (value == NULL) {
  ------------------
  |  Branch (90:9): [True: 1, False: 0]
  ------------------
   91|      1|        return false;
   92|      1|    }
   93|      0|    Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   94|       |    return true;
   95|      1|}
frameobject.c:frame_locals_get_impl:
 1052|      2|{
 1053|      2|    assert(!_PyFrame_IsIncomplete(self->f_frame));
  ------------------
  |  Branch (1053:5): [True: 2, False: 0]
  ------------------
 1054|       |
 1055|      2|    PyCodeObject *co = _PyFrame_GetCode(self->f_frame);
 1056|       |
 1057|      2|    if (!(co->co_flags & CO_OPTIMIZED) && !_PyFrame_HasHiddenLocals(self->f_frame)) {
  ------------------
  |  |  122|      2|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (1057:9): [True: 0, False: 2]
  |  Branch (1057:43): [True: 0, False: 0]
  ------------------
 1058|      0|        if (self->f_frame->f_locals == NULL) {
  ------------------
  |  Branch (1058:13): [True: 0, False: 0]
  ------------------
 1059|       |            // We found cases when f_locals is NULL for non-optimized code.
 1060|       |            // We fill the f_locals with an empty dict to avoid crash until
 1061|       |            // we find the root cause.
 1062|      0|            self->f_frame->f_locals = PyDict_New();
 1063|      0|            if (self->f_frame->f_locals == NULL) {
  ------------------
  |  Branch (1063:17): [True: 0, False: 0]
  ------------------
 1064|      0|                return NULL;
 1065|      0|            }
 1066|      0|        }
 1067|      0|        return Py_NewRef(self->f_frame->f_locals);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|      0|    }
 1069|       |
 1070|      2|    return _PyFrameLocalsProxy_New(self);
 1071|      2|}

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

Py_GenericAlias:
 1093|      5|{
 1094|      5|    gaobject *alias = (gaobject*) PyType_GenericAlloc(
 1095|      5|            (PyTypeObject *)&Py_GenericAliasType, 0);
 1096|      5|    if (alias == NULL) {
  ------------------
  |  Branch (1096:9): [True: 0, False: 5]
  ------------------
 1097|      0|        return NULL;
 1098|      0|    }
 1099|      5|    if (!setup_ga(alias, origin, args)) {
  ------------------
  |  Branch (1099:9): [True: 0, False: 5]
  ------------------
 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|      5|    return (PyObject *)alias;
 1104|      5|}
genericaliasobject.c:ga_dealloc:
   34|      5|{
   35|      5|    gaobject *alias = (gaobject *)self;
   36|       |
   37|      5|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|      5|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   38|      5|    FT_CLEAR_WEAKREFS(self, alias->weakreflist);
  ------------------
  |  |   47|      5|    do {                                            \
  |  |   48|      5|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      5|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 5]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
  |  Branch (38:5): [True: 5, False: 0]
  ------------------
   39|      5|    Py_XDECREF(alias->origin);
  ------------------
  |  |  621|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|      5|    Py_XDECREF(alias->args);
  ------------------
  |  |  621|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|      5|    Py_XDECREF(alias->parameters);
  ------------------
  |  |  621|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|      5|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|      5|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   43|      5|}
genericaliasobject.c:setup_ga:
  906|      5|setup_ga(gaobject *alias, PyObject *origin, PyObject *args) {
  907|      5|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|      5|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      5|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (907:9): [True: 5, False: 0]
  ------------------
  908|      5|        args = PyTuple_Pack(1, args);
  909|      5|        if (args == NULL) {
  ------------------
  |  Branch (909:13): [True: 0, False: 5]
  ------------------
  910|      0|            return 0;
  911|      0|        }
  912|      5|    }
  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|      5|    alias->origin = Py_NewRef(origin);
  ------------------
  |  |  647|      5|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  918|      5|    alias->args = args;
  919|      5|    alias->parameters = NULL;
  920|      5|    alias->weakreflist = NULL;
  921|       |
  922|      5|    if (PyVectorcall_Function(origin) != NULL) {
  ------------------
  |  Branch (922:9): [True: 5, False: 0]
  ------------------
  923|      5|        alias->vectorcall = ga_vectorcall;
  924|      5|    }
  925|      0|    else {
  926|      0|        alias->vectorcall = NULL;
  927|      0|    }
  928|       |
  929|      5|    return 1;
  930|      5|}

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

_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|     20|{
   25|     20|    seqiterobject *it;
   26|       |
   27|     20|    if (!PySequence_Check(seq)) {
  ------------------
  |  Branch (27:9): [True: 0, False: 20]
  ------------------
   28|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   29|      0|        return NULL;
   30|      0|    }
   31|     20|    it = PyObject_GC_New(seqiterobject, &PySeqIter_Type);
  ------------------
  |  |  181|     20|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   32|     20|    if (it == NULL)
  ------------------
  |  Branch (32:9): [True: 0, False: 20]
  ------------------
   33|      0|        return NULL;
   34|     20|    it->it_index = 0;
   35|     20|    it->it_seq = Py_NewRef(seq);
  ------------------
  |  |  647|     20|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     20|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  502|     20|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   37|     20|    return (PyObject *)it;
   38|     20|}
iterobject.c:iter_dealloc:
   42|     20|{
   43|     20|    seqiterobject *it = (seqiterobject*)op;
   44|     20|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  504|     20|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   45|     20|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|     20|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|     20|    PyObject_GC_Del(it);
   47|     20|}
iterobject.c:iter_iternext:
   59|     52|{
   60|     52|    seqiterobject *it;
   61|     52|    PyObject *seq;
   62|     52|    PyObject *result;
   63|       |
   64|     52|    assert(PySeqIter_Check(iterator));
  ------------------
  |  Branch (64:5): [True: 52, False: 0]
  ------------------
   65|     52|    it = (seqiterobject *)iterator;
   66|     52|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  151|     52|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
   67|     52|    if (index < 0)
  ------------------
  |  Branch (67:9): [True: 0, False: 52]
  ------------------
   68|      0|        return NULL;
   69|     52|    seq = it->it_seq;
   70|     52|#ifndef Py_GIL_DISABLED
   71|     52|    if (seq == NULL)
  ------------------
  |  Branch (71:9): [True: 0, False: 52]
  ------------------
   72|      0|        return NULL;
   73|     52|#endif
   74|     52|    if (index == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|     52|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (74:9): [True: 0, False: 52]
  ------------------
   75|      0|        PyErr_SetString(PyExc_OverflowError,
   76|      0|                        "iter index too large");
   77|      0|        return NULL;
   78|      0|    }
   79|       |
   80|     52|    result = PySequence_GetItem(seq, index);
   81|     52|    if (result != NULL) {
  ------------------
  |  Branch (81:9): [True: 32, False: 20]
  ------------------
   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|     32|        if (FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index) >= 0) {
  ------------------
  |  |  151|     32|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (86:13): [True: 32, False: 0]
  ------------------
   87|     32|            FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  197|     32|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
   88|     32|        }
   89|     32|        return result;
   90|     32|    }
   91|     20|    if (PyErr_ExceptionMatches(PyExc_IndexError) ||
  ------------------
  |  Branch (91:9): [True: 20, False: 0]
  ------------------
   92|      0|        PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (92:9): [True: 0, False: 0]
  ------------------
   93|     20|    {
   94|       |        /* Mark the iterator exhausted before anything that can run
   95|       |         * arbitrary code. */
   96|     20|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
  ------------------
  |  |  197|     20|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
   97|     20|#ifndef Py_GIL_DISABLED
   98|     20|        Py_CLEAR(it->it_seq);
  ------------------
  |  |  487|     20|    do { \
  |  |  488|     20|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     20|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     20|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     20|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     20|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     20|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  491|     20|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     20|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     20|            Py_DECREF(_PyObject_CAST(_tmp_old_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     20|        } \
  |  |  494|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
   99|     20|#endif
  100|     20|        PyErr_Clear();
  101|     20|    }
  102|       |    return NULL;
  103|     52|}

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

PyList_New:
  263|  2.42M|{
  264|  2.42M|    if (size < 0) {
  ------------------
  |  Branch (264:9): [True: 0, False: 2.42M]
  ------------------
  265|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  266|      0|        return NULL;
  267|      0|    }
  268|       |
  269|  2.42M|    PyListObject *op = _Py_FREELIST_POP(PyListObject, lists);
  ------------------
  |  |   43|  2.42M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  2.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  270|  2.42M|    if (op == NULL) {
  ------------------
  |  Branch (270:9): [True: 1.94M, False: 481k]
  ------------------
  271|  1.94M|        op = PyObject_GC_New(PyListObject, &PyList_Type);
  ------------------
  |  |  181|  1.94M|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  1.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  272|  1.94M|        if (op == NULL) {
  ------------------
  |  Branch (272:13): [True: 0, False: 1.94M]
  ------------------
  273|      0|            return NULL;
  274|      0|        }
  275|  1.94M|    }
  276|  2.42M|    op->ob_item = NULL;
  277|  2.42M|    op->allocated = 0;
  278|  2.42M|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  2.42M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.42M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  279|       |
  280|  2.42M|    if (size > 0) {
  ------------------
  |  Branch (280:9): [True: 2.01M, False: 411k]
  ------------------
  281|       |#ifdef Py_GIL_DISABLED
  282|       |        _PyListArray *array = list_allocate_array(size);
  283|       |        if (array == NULL) {
  284|       |            Py_DECREF(op);
  285|       |            return PyErr_NoMemory();
  286|       |        }
  287|       |        memset(&array->ob_item, 0, size * sizeof(PyObject *));
  288|       |        op->ob_item = array->ob_item;
  289|       |#else
  290|  2.01M|        op->ob_item = (PyObject **) PyMem_Calloc(size, sizeof(PyObject *));
  291|  2.01M|#endif
  292|  2.01M|        if (op->ob_item == NULL) {
  ------------------
  |  Branch (292:13): [True: 0, False: 2.01M]
  ------------------
  293|      0|            Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  294|      0|            return PyErr_NoMemory();
  295|      0|        }
  296|  2.01M|    }
  297|       |
  298|  2.42M|    op->allocated = size;
  299|  2.42M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|  2.42M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.42M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  300|  2.42M|    return (PyObject *) op;
  301|  2.42M|}
PyList_Size:
  332|    539|{
  333|    539|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|    539|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    539|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (333:9): [True: 0, False: 539]
  ------------------
  334|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  335|      0|        return -1;
  336|      0|    }
  337|    539|    else {
  338|    539|        return PyList_GET_SIZE(op);
  ------------------
  |  |   38|    539|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    539|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    539|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  339|    539|    }
  340|    539|}
PyList_GetItemRef:
  429|    909|{
  430|    909|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|    909|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    909|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (430:9): [True: 0, False: 909]
  ------------------
  431|      0|        PyErr_SetString(PyExc_TypeError, "expected a list");
  432|      0|        return NULL;
  433|      0|    }
  434|    909|    PyObject *item = list_get_item_ref((PyListObject *)op, i);
  435|    909|    if (item == NULL) {
  ------------------
  |  Branch (435:9): [True: 0, False: 909]
  ------------------
  436|      0|        _Py_DECLARE_STR(list_err, "list index out of range");
  437|      0|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  953|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  438|      0|        return NULL;
  439|      0|    }
  440|    909|    return item;
  441|    909|}
PyList_SetItem:
  478|  3.72M|{
  479|  3.72M|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|  3.72M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.72M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (479:9): [True: 0, False: 3.72M]
  ------------------
  480|      0|        Py_XDECREF(newitem);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  482|      0|        return -1;
  483|      0|    }
  484|  3.72M|    int ret;
  485|  3.72M|    PyListObject *self = ((PyListObject *)op);
  486|  3.72M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.72M|    {
  ------------------
  487|  3.72M|    if (!valid_index(i, Py_SIZE(self))) {
  ------------------
  |  |  214|  3.72M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.72M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.72M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (487:9): [True: 0, False: 3.72M]
  ------------------
  488|      0|        Py_XDECREF(newitem);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|      0|        PyErr_SetString(PyExc_IndexError,
  490|      0|                        "list assignment index out of range");
  491|      0|        ret = -1;
  492|      0|        goto end;
  493|      0|    }
  494|  3.72M|    PyObject *tmp = self->ob_item[i];
  495|  3.72M|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[i], newitem);
  ------------------
  |  |  166|  3.72M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  496|  3.72M|    Py_XDECREF(tmp);
  ------------------
  |  |  621|  3.72M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.72M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.72M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  497|  3.72M|    ret = 0;
  498|  3.72M|end:;
  499|  3.72M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.72M|    }
  ------------------
  500|  3.72M|    return ret;
  501|  3.72M|}
PyList_Insert:
  567|      2|{
  568|      2|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (568:9): [True: 0, False: 2]
  ------------------
  569|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  570|      0|        return -1;
  571|      0|    }
  572|      2|    PyListObject *self = (PyListObject *)op;
  573|      2|    int err;
  574|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
  575|      2|    err = ins1(self, where, newitem);
  576|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
  577|      2|    return err;
  578|      2|}
_PyList_AppendTakeRefListResize:
  583|  2.10M|{
  584|  2.10M|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  2.10M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  585|  2.10M|    assert(self->allocated == -1 || self->allocated == len);
  ------------------
  |  Branch (585:5): [True: 0, False: 2.10M]
  |  Branch (585:5): [True: 2.10M, False: 0]
  ------------------
  586|  2.10M|    if (list_resize(self, len + 1) < 0) {
  ------------------
  |  Branch (586:9): [True: 0, False: 2.10M]
  ------------------
  587|      0|        Py_DECREF(newitem);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|      0|        return -1;
  589|      0|    }
  590|  2.10M|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], newitem);
  ------------------
  |  |  166|  2.10M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  591|  2.10M|    return 0;
  592|  2.10M|}
PyList_Append:
  596|  64.3M|{
  597|  64.3M|    if (PyList_Check(op) && (newitem != NULL)) {
  ------------------
  |  |   25|  64.3M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   128M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 64.3M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (597:29): [True: 64.3M, False: 0]
  ------------------
  598|  64.3M|        int ret;
  599|  64.3M|        Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  64.3M|    {
  ------------------
  600|  64.3M|        ret = _PyList_AppendTakeRef((PyListObject *)op, Py_NewRef(newitem));
  ------------------
  |  |  647|  64.3M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  64.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  64.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  601|  64.3M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  64.3M|    }
  ------------------
  602|  64.3M|        return ret;
  603|  64.3M|    }
  604|      0|    PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  605|      0|    return -1;
  606|  64.3M|}
_PyList_BinarySlice:
  775|      1|{
  776|      1|    assert(PyList_CheckExact(container));
  ------------------
  |  Branch (776:5): [True: 1, False: 0]
  ------------------
  777|      1|    Py_ssize_t istart = 0;
  778|      1|    Py_ssize_t istop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      1|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  779|       |    /* Unpack the index values before acquiring the lock, since
  780|       |     * _PyEval_SliceIndex may call __index__ which could execute
  781|       |     * arbitrary Python code. */
  782|      1|    if (!_PyEval_SliceIndex(start, &istart)) {
  ------------------
  |  Branch (782:9): [True: 0, False: 1]
  ------------------
  783|      0|        return NULL;
  784|      0|    }
  785|      1|    if (!_PyEval_SliceIndex(stop, &istop)) {
  ------------------
  |  Branch (785:9): [True: 0, False: 1]
  ------------------
  786|      0|        return NULL;
  787|      0|    }
  788|      1|    PyObject *ret;
  789|      1|    Py_BEGIN_CRITICAL_SECTION(container);
  ------------------
  |  |   51|      1|    {
  ------------------
  790|      1|    Py_ssize_t len = Py_SIZE(container);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  791|      1|    PySlice_AdjustIndices(len, &istart, &istop, 1);
  792|      1|    ret = list_slice_lock_held((PyListObject *)container, istart, istop);
  793|      1|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      1|    }
  ------------------
  794|      1|    return ret;
  795|      1|}
_PyList_Concat:
  857|      6|{
  858|      6|    if (!PyList_Check(bb)) {
  ------------------
  |  |   25|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (858:9): [True: 0, False: 6]
  ------------------
  859|      0|        PyErr_Format(PyExc_TypeError,
  860|      0|                  "can only concatenate list (not \"%.200s\") to list",
  861|      0|                  Py_TYPE(bb)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  862|      0|        return NULL;
  863|      0|    }
  864|      6|    PyListObject *a = (PyListObject *)aa;
  865|      6|    PyListObject *b = (PyListObject *)bb;
  866|      6|    PyObject *ret;
  867|      6|    Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|      6|    {
  ------------------
  868|      6|    ret = list_concat_lock_held(a, b);
  869|      6|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      6|    }
  ------------------
  870|      6|    return ret;
  871|      6|}
PyList_SetSlice:
 1125|   395k|{
 1126|   395k|    if (!PyList_Check(a)) {
  ------------------
  |  |   25|   395k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   395k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1126:9): [True: 0, False: 395k]
  ------------------
 1127|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1128|      0|        return -1;
 1129|      0|    }
 1130|   395k|    return list_ass_slice((PyListObject *)a, ilow, ihigh, v);
 1131|   395k|}
_PyList_Extend:
 1589|   403k|{
 1590|   403k|    return list_extend((PyObject*)self, iterable);
 1591|   403k|}
PyList_Sort:
 3287|     89|{
 3288|     89|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|     89|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     89|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3288:9): [True: 0, False: 89]
  |  Branch (3288:22): [True: 0, False: 89]
  ------------------
 3289|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3290|      0|        return -1;
 3291|      0|    }
 3292|     89|    Py_BEGIN_CRITICAL_SECTION(v);
  ------------------
  |  |   51|     89|    {
  ------------------
 3293|     89|    v = list_sort_impl((PyListObject *)v, NULL, 0);
 3294|     89|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     89|    }
  ------------------
 3295|     89|    if (v == NULL)
  ------------------
  |  Branch (3295:9): [True: 0, False: 89]
  ------------------
 3296|      0|        return -1;
 3297|     89|    Py_DECREF(v);
  ------------------
  |  |  430|     89|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3298|     89|    return 0;
 3299|     89|}
PyList_AsTuple:
 3336|    335|{
 3337|    335|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|    335|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    335|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3337:9): [True: 0, False: 335]
  |  Branch (3337:22): [True: 0, False: 335]
  ------------------
 3338|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3339|      0|        return NULL;
 3340|      0|    }
 3341|    335|    PyObject *ret;
 3342|    335|    PyListObject *self = (PyListObject *)v;
 3343|    335|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    335|    {
  ------------------
 3344|    335|    ret = PyTuple_FromArray(self->ob_item, Py_SIZE(v));
  ------------------
  |  |  214|    335|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    335|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    335|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3345|    335|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    335|    }
  ------------------
 3346|    335|    return ret;
 3347|    335|}
_PyList_AsTupleAndClear:
 3351|    183|{
 3352|    183|    assert(self != NULL);
  ------------------
  |  Branch (3352:5): [True: 183, False: 0]
  ------------------
 3353|    183|    PyObject *ret;
 3354|    183|    if (self->ob_item == NULL) {
  ------------------
  |  Branch (3354:9): [True: 0, False: 183]
  ------------------
 3355|      0|        return PyTuple_New(0);
 3356|      0|    }
 3357|    183|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    183|    {
  ------------------
 3358|    183|    PyObject **items = self->ob_item;
 3359|    183|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  214|    183|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    183|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    183|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3360|    183|    Py_SET_SIZE(self, 0);
  ------------------
  |  |  216|    183|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    183|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    183|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3361|    183|    ret = _PyTuple_FromArraySteal(items, size);
 3362|    183|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    183|    }
  ------------------
 3363|    183|    return ret;
 3364|    183|}
_PyList_FromStackRefStealOnSuccess:
 3368|  7.00k|{
 3369|  7.00k|    if (n == 0) {
  ------------------
  |  Branch (3369:9): [True: 6.19k, False: 813]
  ------------------
 3370|  6.19k|        return PyList_New(0);
 3371|  6.19k|    }
 3372|       |
 3373|    813|    PyListObject *list = (PyListObject *)PyList_New(n);
 3374|    813|    if (list == NULL) {
  ------------------
  |  Branch (3374:9): [True: 0, False: 813]
  ------------------
 3375|      0|        return NULL;
 3376|      0|    }
 3377|       |
 3378|    813|    PyObject **dst = list->ob_item;
 3379|  2.03k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3379:28): [True: 1.22k, False: 813]
  ------------------
 3380|  1.22k|        dst[i] = PyStackRef_AsPyObjectSteal(src[i]);
 3381|  1.22k|    }
 3382|       |
 3383|    813|    return (PyObject *)list;
 3384|    813|}
_PyList_SliceSubscript:
 3767|     12|{
 3768|     12|    return list_slice_subscript(_self, item);
 3769|     12|}
listobject.c:valid_index:
  344|  3.72M|{
  345|       |    /* The cast to size_t lets us use just a single comparison
  346|       |       to check whether i is in the range: 0 <= i < limit.
  347|       |
  348|       |       See:  Section 14.2 "Bounds Checking" in the Agner Fog
  349|       |       optimization manual found at:
  350|       |       https://www.agner.org/optimize/optimizing_cpp.pdf
  351|       |    */
  352|  3.72M|    return (size_t) i < (size_t) limit;
  353|  3.72M|}
listobject.c:list_get_item_ref:
  404|  4.11k|{
  405|  4.11k|    if (!valid_index(i, Py_SIZE(op))) {
  ------------------
  |  |  214|  4.11k|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (405:9): [True: 243, False: 3.87k]
  ------------------
  406|    243|        return NULL;
  407|    243|    }
  408|  3.87k|    return Py_NewRef(PyList_GET_ITEM(op, i));
  ------------------
  |  |  647|  3.87k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 3.87k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|  3.87k|}
listobject.c:ins1:
  538|      2|{
  539|      2|    Py_ssize_t n = Py_SIZE(self);
  ------------------
  |  |  214|      2|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  540|      2|    PyObject **items;
  541|      2|    if (v == NULL) {
  ------------------
  |  Branch (541:9): [True: 0, False: 2]
  ------------------
  542|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  543|      0|        return -1;
  544|      0|    }
  545|       |
  546|      2|    assert((size_t)n + 1 < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (546:5): [True: 2, False: 0]
  ------------------
  547|      2|    if (list_resize(self, n+1) < 0)
  ------------------
  |  Branch (547:9): [True: 0, False: 2]
  ------------------
  548|      0|        return -1;
  549|       |
  550|      2|    if (where < 0) {
  ------------------
  |  Branch (550:9): [True: 0, False: 2]
  ------------------
  551|      0|        where += n;
  552|      0|        if (where < 0)
  ------------------
  |  Branch (552:13): [True: 0, False: 0]
  ------------------
  553|      0|            where = 0;
  554|      0|    }
  555|      2|    if (where > n)
  ------------------
  |  Branch (555:9): [True: 0, False: 2]
  ------------------
  556|      0|        where = n;
  557|      2|    items = self->ob_item;
  558|      2|    if (where < n) {
  ------------------
  |  Branch (558:9): [True: 2, False: 0]
  ------------------
  559|      2|        list_shift_items_right_lock_held(self, where, n);
  560|      2|    }
  561|      2|    FT_ATOMIC_STORE_PTR_RELEASE(items[where], Py_NewRef(v));
  ------------------
  |  |  166|      2|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  562|      2|    return 0;
  563|      2|}
listobject.c:list_shift_items_right_lock_held:
  509|      2|{
  510|       |#ifdef Py_GIL_DISABLED
  511|       |    ptr_wise_atomic_memmove(self, &self->ob_item[first + 1],
  512|       |                            &self->ob_item[first], last - first);
  513|       |#else
  514|      2|    PyObject **items = self->ob_item;
  515|      4|    for (Py_ssize_t i = last; --i >= first; ) {
  ------------------
  |  Branch (515:31): [True: 2, False: 2]
  ------------------
  516|      2|        items[i + 1] = items[i];
  517|      2|    }
  518|      2|#endif
  519|      2|}
listobject.c:list_resize:
  112|  2.64M|{
  113|  2.64M|    Py_ssize_t allocated = self->allocated;
  114|       |
  115|       |    /* Bypass realloc() when a previous overallocation is large enough
  116|       |       to accommodate the newsize.  If the newsize falls lower than half
  117|       |       the allocated size, then proceed with the realloc() to shrink the list.
  118|       |       gh-158592: do not shrink a small list, the realloc() cost is bigger
  119|       |       than the memory we get back.
  120|       |    */
  121|  2.64M|    if (allocated >= newsize
  ------------------
  |  Branch (121:9): [True: 529k, False: 2.11M]
  ------------------
  122|   529k|        && (newsize >= (allocated >> 1) || allocated <= LIST_SMALL_ALLOCATED))
  ------------------
  |  |   94|     53|#define LIST_SMALL_ALLOCATED 32
  ------------------
  |  Branch (122:13): [True: 529k, False: 53]
  |  Branch (122:44): [True: 53, False: 0]
  ------------------
  123|   529k|    {
  124|   529k|        assert(self->ob_item != NULL || newsize == 0);
  ------------------
  |  Branch (124:9): [True: 529k, False: 0]
  |  Branch (124:9): [True: 0, False: 0]
  ------------------
  125|   529k|        Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|   529k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   529k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   529k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  126|   529k|        return 0;
  127|   529k|    }
  128|  2.11M|    return py_list_resize(self, newsize);
  129|  2.64M|}
listobject.c:py_list_resize:
  134|  2.11M|{
  135|  2.11M|    size_t new_allocated, target_bytes;
  136|  2.11M|    Py_ssize_t allocated = self->allocated;
  137|       |
  138|       |    /* This over-allocates proportional to the list size, making room
  139|       |     * for additional growth.  The over-allocation is mild, but is
  140|       |     * enough to give linear-time amortized behavior over a long
  141|       |     * sequence of appends() in the presence of a poorly-performing
  142|       |     * system realloc().
  143|       |     * Add padding to make the allocated size multiple of 4.
  144|       |     * The growth pattern is:  0, 4, 8, 16, 24, 32, 40, 52, 64, 76, ...
  145|       |     * Note: new_allocated won't overflow because the largest possible value
  146|       |     *       is PY_SSIZE_T_MAX * (9 / 8) + 6 which always fits in a size_t.
  147|       |     */
  148|  2.11M|    new_allocated = ((size_t)newsize + (newsize >> 3) + 6) & ~(size_t)3;
  149|       |    /* Do not overallocate if the new size is closer to overallocated size
  150|       |     * than to the old size.
  151|       |     */
  152|  2.11M|    if (newsize - Py_SIZE(self) > (Py_ssize_t)(new_allocated - newsize))
  ------------------
  |  |  214|  2.11M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (152:9): [True: 2.52k, False: 2.11M]
  ------------------
  153|  2.52k|        new_allocated = ((size_t)newsize + 3) & ~(size_t)3;
  154|       |
  155|  2.11M|    if (newsize == 0)
  ------------------
  |  Branch (155:9): [True: 0, False: 2.11M]
  ------------------
  156|      0|        new_allocated = 0;
  157|       |
  158|  2.11M|    assert(newsize > allocated || new_allocated < (size_t)allocated);
  ------------------
  |  Branch (158:5): [True: 2.11M, False: 0]
  |  Branch (158:5): [True: 0, False: 0]
  ------------------
  159|       |
  160|  2.11M|    ensure_shared_on_resize(self);
  161|       |
  162|       |#ifdef Py_GIL_DISABLED
  163|       |    _PyListArray *array = list_allocate_array(new_allocated);
  164|       |    if (array == NULL) {
  165|       |        if (newsize < allocated) {
  166|       |            // Never fail when shrinking allocations
  167|       |            Py_SET_SIZE(self, newsize);
  168|       |            return 0;
  169|       |        }
  170|       |        PyErr_NoMemory();
  171|       |        return -1;
  172|       |    }
  173|       |    PyObject **old_items = self->ob_item;
  174|       |    if (self->ob_item) {
  175|       |        if (new_allocated < (size_t)allocated) {
  176|       |            target_bytes = new_allocated * sizeof(PyObject*);
  177|       |        }
  178|       |        else {
  179|       |            target_bytes = allocated * sizeof(PyObject*);
  180|       |        }
  181|       |        memcpy(array->ob_item, self->ob_item, target_bytes);
  182|       |    }
  183|       |    if (new_allocated > (size_t)allocated) {
  184|       |        memset(array->ob_item + allocated, 0, sizeof(PyObject *) * (new_allocated - allocated));
  185|       |    }
  186|       |     _Py_atomic_store_ptr_release(&self->ob_item, &array->ob_item);
  187|       |    self->allocated = new_allocated;
  188|       |    Py_SET_SIZE(self, newsize);
  189|       |    if (old_items != NULL) {
  190|       |        free_list_items(old_items, _PyObject_GC_IS_SHARED(self));
  191|       |    }
  192|       |#else
  193|  2.11M|    PyObject **items;
  194|  2.11M|    if (new_allocated <= (size_t)PY_SSIZE_T_MAX / sizeof(PyObject *)) {
  ------------------
  |  |  137|  2.11M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (194:9): [True: 2.11M, False: 0]
  ------------------
  195|  2.11M|        target_bytes = new_allocated * sizeof(PyObject *);
  196|  2.11M|        items = (PyObject **)PyMem_Realloc(self->ob_item, target_bytes);
  197|  2.11M|    }
  198|      0|    else {
  199|       |        // integer overflow
  200|      0|        items = NULL;
  201|      0|    }
  202|  2.11M|    if (items == NULL) {
  ------------------
  |  Branch (202:9): [True: 0, False: 2.11M]
  ------------------
  203|      0|        if (newsize < allocated) {
  ------------------
  |  Branch (203:13): [True: 0, False: 0]
  ------------------
  204|       |            // Never fail when shrinking allocations
  205|      0|            Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  206|      0|            return 0;
  207|      0|        }
  208|      0|        PyErr_NoMemory();
  209|      0|        return -1;
  210|      0|    }
  211|  2.11M|    self->ob_item = items;
  212|  2.11M|    Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|  2.11M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.11M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|  2.11M|    self->allocated = new_allocated;
  214|  2.11M|#endif
  215|  2.11M|    return 0;
  216|  2.11M|}
listobject.c:ensure_shared_on_resize:
   77|  2.11M|{
   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.11M|}
listobject.c:list_slice_lock_held:
  751|     13|{
  752|     13|    PyListObject *np;
  753|     13|    PyObject **src, **dest;
  754|     13|    Py_ssize_t i, len;
  755|     13|    len = ihigh - ilow;
  756|     13|    if (len <= 0) {
  ------------------
  |  Branch (756:9): [True: 0, False: 13]
  ------------------
  757|      0|        return PyList_New(0);
  758|      0|    }
  759|     13|    np = (PyListObject *) list_new_prealloc(len);
  760|     13|    if (np == NULL)
  ------------------
  |  Branch (760:9): [True: 0, False: 13]
  ------------------
  761|      0|        return NULL;
  762|       |
  763|     13|    src = a->ob_item + ilow;
  764|     13|    dest = np->ob_item;
  765|     33|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (765:17): [True: 20, False: 13]
  ------------------
  766|     20|        PyObject *v = src[i];
  767|     20|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|     20|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  768|     20|    }
  769|     13|    Py_SET_SIZE(np, len);
  ------------------
  |  |  216|     13|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     13|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  770|     13|    return (PyObject *)np;
  771|     13|}
listobject.c:list_new_prealloc:
  305|     26|{
  306|     26|    assert(size > 0);
  ------------------
  |  Branch (306:5): [True: 26, False: 0]
  ------------------
  307|     26|    PyListObject *op = (PyListObject *) PyList_New(0);
  308|     26|    if (op == NULL) {
  ------------------
  |  Branch (308:9): [True: 0, False: 26]
  ------------------
  309|      0|        return NULL;
  310|      0|    }
  311|     26|    assert(op->ob_item == NULL);
  ------------------
  |  Branch (311:5): [True: 26, False: 0]
  ------------------
  312|       |#ifdef Py_GIL_DISABLED
  313|       |    _PyListArray *array = list_allocate_array(size);
  314|       |    if (array == NULL) {
  315|       |        Py_DECREF(op);
  316|       |        return PyErr_NoMemory();
  317|       |    }
  318|       |    op->ob_item = array->ob_item;
  319|       |#else
  320|     26|    op->ob_item = PyMem_New(PyObject *, size);
  ------------------
  |  |   64|     26|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     26|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 26]
  |  |  ------------------
  |  |   65|     26|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  321|     26|    if (op->ob_item == NULL) {
  ------------------
  |  Branch (321:9): [True: 0, False: 26]
  ------------------
  322|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  323|      0|        return PyErr_NoMemory();
  324|      0|    }
  325|     26|#endif
  326|     26|    op->allocated = size;
  327|     26|    return (PyObject *) op;
  328|     26|}
listobject.c:list_concat_lock_held:
  825|      6|{
  826|      6|    Py_ssize_t size;
  827|      6|    Py_ssize_t i;
  828|      6|    PyObject **src, **dest;
  829|      6|    PyListObject *np;
  830|      6|    assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (830:5): [True: 6, False: 0]
  ------------------
  831|      6|    size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|      6|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|      6|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  832|      6|    if (size == 0) {
  ------------------
  |  Branch (832:9): [True: 0, False: 6]
  ------------------
  833|      0|        return PyList_New(0);
  834|      0|    }
  835|      6|    np = (PyListObject *) list_new_prealloc(size);
  836|      6|    if (np == NULL) {
  ------------------
  |  Branch (836:9): [True: 0, False: 6]
  ------------------
  837|      0|        return NULL;
  838|      0|    }
  839|      6|    src = a->ob_item;
  840|      6|    dest = np->ob_item;
  841|     78|    for (i = 0; i < Py_SIZE(a); i++) {
  ------------------
  |  |  214|     78|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (841:17): [True: 72, False: 6]
  ------------------
  842|     72|        PyObject *v = src[i];
  843|     72|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|     72|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|     72|    }
  845|      6|    src = b->ob_item;
  846|      6|    dest = np->ob_item + Py_SIZE(a);
  ------------------
  |  |  214|      6|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  847|     91|    for (i = 0; i < Py_SIZE(b); i++) {
  ------------------
  |  |  214|     91|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (847:17): [True: 85, False: 6]
  ------------------
  848|     85|        PyObject *v = src[i];
  849|     85|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|     85|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  850|     85|    }
  851|      6|    Py_SET_SIZE(np, size);
  ------------------
  |  |  216|      6|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      6|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  852|      6|    return (PyObject *)np;
  853|      6|}
listobject.c:list_ass_slice:
 1095|   395k|{
 1096|   395k|    int ret;
 1097|   395k|    if (a == (PyListObject *)v) {
  ------------------
  |  Branch (1097:9): [True: 0, False: 395k]
  ------------------
 1098|      0|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|      0|    {
  ------------------
 1099|      0|        Py_ssize_t n = PyList_GET_SIZE(a);
  ------------------
  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1100|      0|        PyObject *copy = list_slice_lock_held(a, 0, n);
 1101|      0|        if (copy == NULL) {
  ------------------
  |  Branch (1101:13): [True: 0, False: 0]
  ------------------
 1102|      0|            ret = -1;
 1103|      0|        }
 1104|      0|        else {
 1105|      0|            ret = list_ass_slice_lock_held(a, ilow, ihigh, copy);
 1106|      0|            Py_DECREF(copy);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1107|      0|        }
 1108|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 1109|      0|    }
 1110|   395k|    else if (v != NULL && PyList_CheckExact(v)) {
  ------------------
  |  |   26|   395k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|   395k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   395k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   395k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 17.5k, False: 378k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1110:14): [True: 395k, False: 2]
  ------------------
 1111|  17.5k|        Py_BEGIN_CRITICAL_SECTION2(a, v);
  ------------------
  |  |   57|  17.5k|    {
  ------------------
 1112|  17.5k|        ret = list_ass_slice_lock_held(a, ilow, ihigh, v);
 1113|  17.5k|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  17.5k|    }
  ------------------
 1114|  17.5k|    }
 1115|   378k|    else {
 1116|   378k|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|   378k|    {
  ------------------
 1117|   378k|        ret = list_ass_slice_lock_held(a, ilow, ihigh, v);
 1118|   378k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   378k|    }
  ------------------
 1119|   378k|    }
 1120|   395k|    return ret;
 1121|   395k|}
listobject.c:list_ass_slice_lock_held:
 1004|   396k|{
 1005|       |    /* Because [X]DECREF can recursively invoke list operations on
 1006|       |       this list, we must postpone all [X]DECREF activity until
 1007|       |       after the list is back in its canonical shape.  Therefore
 1008|       |       we must allocate an additional array, 'recycle', into which
 1009|       |       we temporarily copy the items that are deleted from the
 1010|       |       list. :-( */
 1011|   396k|    PyObject *recycle_on_stack[8];
 1012|   396k|    PyObject **recycle = recycle_on_stack; /* will allocate more if needed */
 1013|   396k|    PyObject **item;
 1014|   396k|    PyObject **vitem = NULL;
 1015|   396k|    PyObject *v_as_SF = NULL; /* PySequence_Fast(v) */
 1016|   396k|    Py_ssize_t n; /* # of elements in replacement list */
 1017|   396k|    Py_ssize_t norig; /* # of elements in list getting replaced */
 1018|   396k|    Py_ssize_t d; /* Change in size */
 1019|   396k|    Py_ssize_t k;
 1020|   396k|    size_t s;
 1021|   396k|    int result = -1;            /* guilty until proved innocent */
 1022|   396k|#define b ((PyListObject *)v)
 1023|   396k|    if (v == NULL)
  ------------------
  |  Branch (1023:9): [True: 505, False: 395k]
  ------------------
 1024|    505|        n = 0;
 1025|   395k|    else {
 1026|   395k|        v_as_SF = PySequence_Fast(v, "can only assign an iterable");
 1027|   395k|        if(v_as_SF == NULL)
  ------------------
  |  Branch (1027:12): [True: 0, False: 395k]
  ------------------
 1028|      0|            goto Error;
 1029|   395k|        n = PySequence_Fast_GET_SIZE(v_as_SF);
  ------------------
  |  |   92|   395k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|   395k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   395k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 395k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|   395k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   395k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   395k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1030|   395k|        vitem = PySequence_Fast_ITEMS(v_as_SF);
  ------------------
  |  |  102|   395k|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|   395k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   395k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 395k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|   395k|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 1031|   395k|    }
 1032|   396k|    if (ilow < 0)
  ------------------
  |  Branch (1032:9): [True: 0, False: 396k]
  ------------------
 1033|      0|        ilow = 0;
 1034|   396k|    else if (ilow > Py_SIZE(a))
  ------------------
  |  |  214|   396k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   396k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   396k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1034:14): [True: 395k, False: 530]
  ------------------
 1035|   395k|        ilow = Py_SIZE(a);
  ------------------
  |  |  214|   395k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   395k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   395k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1036|       |
 1037|   396k|    if (ihigh < ilow)
  ------------------
  |  Branch (1037:9): [True: 0, False: 396k]
  ------------------
 1038|      0|        ihigh = ilow;
 1039|   396k|    else if (ihigh > Py_SIZE(a))
  ------------------
  |  |  214|   396k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   396k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   396k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1039:14): [True: 395k, False: 530]
  ------------------
 1040|   395k|        ihigh = Py_SIZE(a);
  ------------------
  |  |  214|   395k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   395k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   395k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1041|       |
 1042|   396k|    norig = ihigh - ilow;
 1043|   396k|    assert(norig >= 0);
  ------------------
  |  Branch (1043:5): [True: 396k, False: 0]
  ------------------
 1044|   396k|    d = n - norig;
 1045|   396k|    if (Py_SIZE(a) + d == 0) {
  ------------------
  |  |  214|   396k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   396k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   396k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1045:9): [True: 505, False: 395k]
  ------------------
 1046|    505|        Py_XDECREF(v_as_SF);
  ------------------
  |  |  621|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1047|    505|        list_clear(a);
 1048|    505|        return 0;
 1049|    505|    }
 1050|   395k|    item = a->ob_item;
 1051|       |    /* recycle the items that we are about to remove */
 1052|   395k|    s = norig * sizeof(PyObject *);
 1053|       |    /* If norig == 0, item might be NULL, in which case we may not memcpy from it. */
 1054|   395k|    if (s) {
  ------------------
  |  Branch (1054:9): [True: 25, False: 395k]
  ------------------
 1055|     25|        if (s > sizeof(recycle_on_stack)) {
  ------------------
  |  Branch (1055:13): [True: 0, False: 25]
  ------------------
 1056|      0|            recycle = (PyObject **)PyMem_Malloc(s);
 1057|      0|            if (recycle == NULL) {
  ------------------
  |  Branch (1057:17): [True: 0, False: 0]
  ------------------
 1058|      0|                PyErr_NoMemory();
 1059|      0|                goto Error;
 1060|      0|            }
 1061|      0|        }
 1062|     25|        memcpy(recycle, &item[ilow], s);
 1063|     25|    }
 1064|       |
 1065|   395k|    if (d < 0) { /* Delete -d items */
  ------------------
  |  Branch (1065:9): [True: 2, False: 395k]
  ------------------
 1066|      2|        Py_ssize_t tail = Py_SIZE(a) - ihigh;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1067|      2|        ptr_wise_atomic_memmove(a, &item[ihigh+d], &item[ihigh], tail);
 1068|      2|        (void)list_resize(a, Py_SIZE(a) + d); // NB: shrinking a list can't fail
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1069|      2|        item = a->ob_item;
 1070|      2|    }
 1071|   395k|    else if (d > 0) { /* Insert d items */
  ------------------
  |  Branch (1071:14): [True: 395k, False: 23]
  ------------------
 1072|   395k|        k = Py_SIZE(a);
  ------------------
  |  |  214|   395k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   395k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   395k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|   395k|        if (list_resize(a, k+d) < 0)
  ------------------
  |  Branch (1073:13): [True: 0, False: 395k]
  ------------------
 1074|      0|            goto Error;
 1075|   395k|        item = a->ob_item;
 1076|   395k|        ptr_wise_atomic_memmove(a, &item[ihigh+d], &item[ihigh], k - ihigh);
 1077|   395k|    }
 1078|   114M|    for (k = 0; k < n; k++, ilow++) {
  ------------------
  |  Branch (1078:17): [True: 114M, False: 395k]
  ------------------
 1079|   114M|        PyObject *w = vitem[k];
 1080|   114M|        FT_ATOMIC_STORE_PTR_RELEASE(item[ilow], Py_XNewRef(w));
  ------------------
  |  |  166|   114M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1081|   114M|    }
 1082|   395k|    for (k = norig - 1; k >= 0; --k)
  ------------------
  |  Branch (1082:25): [True: 42, False: 395k]
  ------------------
 1083|     42|        Py_XDECREF(recycle[k]);
  ------------------
  |  |  621|   395k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1084|   395k|    result = 0;
 1085|   395k| Error:
 1086|   395k|    if (recycle != recycle_on_stack)
  ------------------
  |  Branch (1086:9): [True: 0, False: 395k]
  ------------------
 1087|      0|        PyMem_Free(recycle);
 1088|   395k|    Py_XDECREF(v_as_SF);
  ------------------
  |  |  621|   395k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   395k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   395k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1089|   395k|    return result;
 1090|   395k|#undef b
 1091|   395k|}
listobject.c:ptr_wise_atomic_memmove:
  972|   395k|{
  973|   395k|#ifndef Py_GIL_DISABLED
  974|   395k|    memmove(dest, src, n * sizeof(PyObject *));
  975|       |#else
  976|       |    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(a);
  977|       |    if (_Py_IsOwnedByCurrentThread((PyObject *)a) && !_PyObject_GC_IS_SHARED(a)) {
  978|       |        // No other threads can read this list concurrently
  979|       |        memmove(dest, src, n * sizeof(PyObject *));
  980|       |        return;
  981|       |    }
  982|       |    if (dest < src) {
  983|       |        for (Py_ssize_t i = 0; i != n; i++) {
  984|       |            _Py_atomic_store_ptr_release(&dest[i], src[i]);
  985|       |        }
  986|       |    }
  987|       |    else {
  988|       |        // copy backwards to avoid overwriting src before it's read
  989|       |        for (Py_ssize_t i = n; i != 0; i--) {
  990|       |            _Py_atomic_store_ptr_release(&dest[i - 1], src[i - 1]);
  991|       |        }
  992|       |    }
  993|       |#endif
  994|   395k|}
listobject.c:list_extend_impl:
 1580|   404k|{
 1581|   404k|    if (_list_extend(self, iterable) < 0) {
  ------------------
  |  Branch (1581:9): [True: 0, False: 404k]
  ------------------
 1582|      0|        return NULL;
 1583|      0|    }
 1584|   404k|    Py_RETURN_NONE;
  ------------------
  |  |  628|   404k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|   404k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1585|   404k|}
listobject.c:_list_extend:
 1513|   404k|{
 1514|       |    // Special case:
 1515|       |    // lists and tuples which can use PySequence_Fast ops
 1516|   404k|    int res = -1;
 1517|   404k|    if ((PyObject *)self == iterable) {
  ------------------
  |  Branch (1517:9): [True: 0, False: 404k]
  ------------------
 1518|      0|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      0|    {
  ------------------
 1519|      0|        res = list_inplace_repeat_lock_held(self, 2);
 1520|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 1521|      0|    }
 1522|   404k|    else if (PyList_CheckExact(iterable)) {
  ------------------
  |  |   26|   404k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|   404k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   404k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   404k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 501, False: 404k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1523|    501|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|    501|    {
  ------------------
 1524|    501|        res = list_extend_lock_held(self, iterable);
 1525|    501|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|    501|    }
  ------------------
 1526|    501|    }
 1527|   404k|    else if (PyTuple_CheckExact(iterable)) {
  ------------------
  |  |   28|   404k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   404k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   404k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   404k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 223, False: 403k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1528|    223|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    223|    {
  ------------------
 1529|    223|        res = list_extend_lock_held(self, iterable);
 1530|    223|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    223|    }
  ------------------
 1531|    223|    }
 1532|   403k|    else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|   403k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|   807k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 403k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|   403k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 403k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1533|      2|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|      2|    {
  ------------------
 1534|      2|        res = list_extend_set(self, (PySetObject *)iterable);
 1535|      2|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      2|    }
  ------------------
 1536|      2|    }
 1537|   403k|    else if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|   403k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|   403k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5, False: 403k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1538|      5|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|      5|    {
  ------------------
 1539|      5|        res = list_extend_dict(self, (PyDictObject *)iterable, 0 /*keys*/);
 1540|      5|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      5|    }
  ------------------
 1541|      5|    }
 1542|   403k|    else if (Py_IS_TYPE(iterable, &PyDictKeys_Type)) {
  ------------------
  |  |  215|   403k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 403k]
  |  |  ------------------
  ------------------
 1543|      0|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1544|      0|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      0|    {
  ------------------
 1545|      0|        res = list_extend_dict(self, dict, 0 /*keys*/);
 1546|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 1547|      0|    }
 1548|   403k|    else if (Py_IS_TYPE(iterable, &PyDictValues_Type)) {
  ------------------
  |  |  215|   403k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 403k]
  |  |  ------------------
  ------------------
 1549|      0|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1550|      0|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      0|    {
  ------------------
 1551|      0|        res = list_extend_dict(self, dict, 1 /*values*/);
 1552|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 1553|      0|    }
 1554|   403k|    else if (Py_IS_TYPE(iterable, &PyDictItems_Type)) {
  ------------------
  |  |  215|   403k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 403k]
  |  |  ------------------
  ------------------
 1555|      0|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1556|      0|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      0|    {
  ------------------
 1557|      0|        res = list_extend_dictitems(self, dict);
 1558|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 1559|      0|    }
 1560|   403k|    else {
 1561|   403k|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   403k|    {
  ------------------
 1562|   403k|        res = list_extend_iter_lock_held(self, iterable);
 1563|   403k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   403k|    }
  ------------------
 1564|   403k|    }
 1565|   404k|    return res;
 1566|   404k|}
listobject.c:list_extend_lock_held:
 1411|    724|{
 1412|    724|    PyObject *seq = PySequence_Fast(iterable, "argument must be iterable");
 1413|    724|    if (!seq) {
  ------------------
  |  Branch (1413:9): [True: 0, False: 724]
  ------------------
 1414|      0|        return -1;
 1415|      0|    }
 1416|       |
 1417|    724|    int res = list_extend_fast(self, seq);
 1418|    724|    Py_DECREF(seq);
  ------------------
  |  |  430|    724|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    724|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    724|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|    724|    return res;
 1420|    724|}
listobject.c:list_extend_fast:
 1298|    724|{
 1299|    724|    Py_ssize_t n = PySequence_Fast_GET_SIZE(iterable);
  ------------------
  |  |   92|    724|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    724|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    724|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 501, False: 223]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|    501|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    501|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    501|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|    223|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    223|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    223|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1300|    724|    if (n == 0) {
  ------------------
  |  Branch (1300:9): [True: 97, False: 627]
  ------------------
 1301|       |        /* short circuit when iterable is empty */
 1302|     97|        return 0;
 1303|     97|    }
 1304|       |
 1305|    627|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|    627|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1306|       |    // It should not be possible to allocate a list large enough to cause
 1307|       |    // an overflow on any relevant platform.
 1308|    627|    assert(m < PY_SSIZE_T_MAX - n);
  ------------------
  |  Branch (1308:5): [True: 627, False: 0]
  ------------------
 1309|    627|    if (self->ob_item == NULL) {
  ------------------
  |  Branch (1309:9): [True: 570, False: 57]
  ------------------
 1310|    570|        if (list_preallocate_exact(self, n) < 0) {
  ------------------
  |  Branch (1310:13): [True: 0, False: 570]
  ------------------
 1311|      0|            return -1;
 1312|      0|        }
 1313|    570|        Py_SET_SIZE(self, n);
  ------------------
  |  |  216|    570|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    570|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    570|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|    570|    }
 1315|     57|    else if (list_resize(self, m + n) < 0) {
  ------------------
  |  Branch (1315:14): [True: 0, False: 57]
  ------------------
 1316|      0|        return -1;
 1317|      0|    }
 1318|       |
 1319|       |    // note that we may still have self == iterable here for the
 1320|       |    // situation a.extend(a), but the following code works
 1321|       |    // in that case too.  Just make sure to resize self
 1322|       |    // before calling PySequence_Fast_ITEMS.
 1323|       |    //
 1324|       |    // populate the end of self with iterable's items.
 1325|    627|    PyObject **src = PySequence_Fast_ITEMS(iterable);
  ------------------
  |  |  102|    627|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|    627|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    627|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 499, False: 128]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|    627|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 1326|    627|    PyObject **dest = self->ob_item + m;
 1327|  4.19k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1327:28): [True: 3.56k, False: 627]
  ------------------
 1328|  3.56k|        PyObject *o = src[i];
 1329|  3.56k|        FT_ATOMIC_STORE_PTR_RELEASE(dest[i], Py_NewRef(o));
  ------------------
  |  |  166|  3.56k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1330|  3.56k|    }
 1331|    627|    return 0;
 1332|    627|}
listobject.c:list_preallocate_exact:
  220|   404k|{
  221|   404k|    PyObject **items;
  222|   404k|    assert(self->ob_item == NULL);
  ------------------
  |  Branch (222:5): [True: 404k, False: 0]
  ------------------
  223|   404k|    assert(size > 0);
  ------------------
  |  Branch (223:5): [True: 404k, False: 0]
  ------------------
  224|       |
  225|       |    /* Since the Python memory allocator has granularity of 16 bytes on 64-bit
  226|       |     * platforms (8 on 32-bit), there is no benefit of allocating space for
  227|       |     * the odd number of items, and there is no drawback of rounding the
  228|       |     * allocated size up to the nearest even number.
  229|       |     */
  230|   404k|    size = (size + 1) & ~(size_t)1;
  231|       |#ifdef Py_GIL_DISABLED
  232|       |    _PyListArray *array = list_allocate_array(size);
  233|       |    if (array == NULL) {
  234|       |        PyErr_NoMemory();
  235|       |        return -1;
  236|       |    }
  237|       |    items = array->ob_item;
  238|       |    memset(items, 0, size * sizeof(PyObject *));
  239|       |#else
  240|   404k|    items = PyMem_New(PyObject*, size);
  ------------------
  |  |   64|   404k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|   404k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 404k]
  |  |  ------------------
  |  |   65|   404k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  241|   404k|    if (items == NULL) {
  ------------------
  |  Branch (241:9): [True: 0, False: 404k]
  ------------------
  242|      0|        PyErr_NoMemory();
  243|      0|        return -1;
  244|      0|    }
  245|   404k|#endif
  246|   404k|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, items);
  ------------------
  |  |  166|   404k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  247|   404k|    self->allocated = size;
  248|   404k|    return 0;
  249|   404k|}
listobject.c:list_extend_set:
 1424|      2|{
 1425|      2|    Py_ssize_t m = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1426|      2|    Py_ssize_t n = PySet_GET_SIZE(other);
  ------------------
  |  |   71|      2|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1427|      2|    Py_ssize_t r = m + n;
 1428|      2|    if (r == 0) {
  ------------------
  |  Branch (1428:9): [True: 2, False: 0]
  ------------------
 1429|      2|        return 0;
 1430|      2|    }
 1431|      0|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1431:9): [True: 0, False: 0]
  ------------------
 1432|      0|        return -1;
 1433|      0|    }
 1434|       |
 1435|      0|    assert(self->ob_item != NULL);
  ------------------
  |  Branch (1435:5): [True: 0, False: 0]
  ------------------
 1436|       |    /* populate the end of self with iterable's items */
 1437|      0|    Py_ssize_t setpos = 0;
 1438|      0|    Py_hash_t hash;
 1439|      0|    PyObject *key;
 1440|      0|    PyObject **dest = self->ob_item + m;
 1441|      0|    while (_PySet_NextEntryRef((PyObject *)other, &setpos, &key, &hash)) {
  ------------------
  |  Branch (1441:12): [True: 0, False: 0]
  ------------------
 1442|      0|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, key);
  ------------------
  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1443|      0|        dest++;
 1444|      0|    }
 1445|      0|    Py_SET_SIZE(self, r);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1446|      0|    return 0;
 1447|      0|}
listobject.c:list_extend_dict:
 1451|      5|{
 1452|       |    // which_item: 0 for keys and 1 for values
 1453|      5|    Py_ssize_t m = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1454|      5|    Py_ssize_t n = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|      5|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1455|      5|    Py_ssize_t r = m + n;
 1456|      5|    if (r == 0) {
  ------------------
  |  Branch (1456:9): [True: 0, False: 5]
  ------------------
 1457|      0|        return 0;
 1458|      0|    }
 1459|      5|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1459:9): [True: 0, False: 5]
  ------------------
 1460|      0|        return -1;
 1461|      0|    }
 1462|       |
 1463|      5|    assert(self->ob_item != NULL);
  ------------------
  |  Branch (1463:5): [True: 5, False: 0]
  ------------------
 1464|      5|    PyObject **dest = self->ob_item + m;
 1465|      5|    Py_ssize_t pos = 0;
 1466|      5|    PyObject *keyvalue[2];
 1467|     27|    while (_PyDict_Next((PyObject *)dict, &pos, &keyvalue[0], &keyvalue[1], NULL)) {
  ------------------
  |  Branch (1467:12): [True: 22, False: 5]
  ------------------
 1468|     22|        PyObject *obj = keyvalue[which_item];
 1469|     22|        Py_INCREF(obj);
  ------------------
  |  |  310|     22|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1470|     22|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, obj);
  ------------------
  |  |  166|     22|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1471|     22|        dest++;
 1472|     22|    }
 1473|       |
 1474|      5|    Py_SET_SIZE(self, r);
  ------------------
  |  |  216|      5|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      5|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1475|      5|    return 0;
 1476|      5|}
listobject.c:list_extend_iter_lock_held:
 1336|   403k|{
 1337|   403k|    PyObject *it = PyObject_GetIter(iterable);
 1338|   403k|    if (it == NULL) {
  ------------------
  |  Branch (1338:9): [True: 0, False: 403k]
  ------------------
 1339|      0|        return -1;
 1340|      0|    }
 1341|   403k|    PyObject *(*iternext)(PyObject *) = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|   403k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1342|       |
 1343|       |    /* Guess a result list size. */
 1344|   403k|    Py_ssize_t n = PyObject_LengthHint(iterable, 8);
 1345|   403k|    if (n < 0) {
  ------------------
  |  Branch (1345:9): [True: 0, False: 403k]
  ------------------
 1346|      0|        Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1347|      0|        return -1;
 1348|      0|    }
 1349|       |
 1350|   403k|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|   403k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1351|   403k|    if (m > PY_SSIZE_T_MAX - n) {
  ------------------
  |  |  137|   403k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1351:9): [True: 0, False: 403k]
  ------------------
 1352|       |        /* m + n overflowed; on the chance that n lied, and there really
 1353|       |         * is enough room, ignore it.  If n was telling the truth, we'll
 1354|       |         * eventually run out of memory during the loop.
 1355|       |         */
 1356|      0|    }
 1357|   403k|    else if (self->ob_item == NULL) {
  ------------------
  |  Branch (1357:14): [True: 403k, False: 22]
  ------------------
 1358|   403k|        if (n && list_preallocate_exact(self, n) < 0)
  ------------------
  |  Branch (1358:13): [True: 403k, False: 0]
  |  Branch (1358:18): [True: 0, False: 403k]
  ------------------
 1359|      0|            goto error;
 1360|   403k|    }
 1361|     22|    else {
 1362|       |        /* Make room. */
 1363|     22|        if (list_resize(self, m + n) < 0) {
  ------------------
  |  Branch (1363:13): [True: 0, False: 22]
  ------------------
 1364|      0|            goto error;
 1365|      0|        }
 1366|       |
 1367|       |        /* Make the list sane again. */
 1368|     22|        Py_SET_SIZE(self, m);
  ------------------
  |  |  216|     22|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     22|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1369|     22|    }
 1370|       |
 1371|       |    /* Run iterator to exhaustion. */
 1372|   107M|    for (;;) {
 1373|   107M|        PyObject *item = iternext(it);
 1374|   107M|        if (item == NULL) {
  ------------------
  |  Branch (1374:13): [True: 403k, False: 106M]
  ------------------
 1375|   403k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (1375:17): [True: 0, False: 403k]
  ------------------
 1376|      0|                if (PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1376:21): [True: 0, False: 0]
  ------------------
 1377|      0|                    PyErr_Clear();
 1378|      0|                else
 1379|      0|                    goto error;
 1380|      0|            }
 1381|   403k|            break;
 1382|   403k|        }
 1383|       |
 1384|   106M|        if (Py_SIZE(self) < self->allocated) {
  ------------------
  |  |  214|   106M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   106M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   106M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1384:13): [True: 106M, False: 0]
  ------------------
 1385|   106M|            Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|   106M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   106M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   106M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1386|   106M|            FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], item);  // steals item ref
  ------------------
  |  |  166|   106M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1387|   106M|            Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|   106M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   106M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   106M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1388|   106M|        }
 1389|      0|        else {
 1390|      0|            if (_PyList_AppendTakeRef(self, item) < 0)
  ------------------
  |  Branch (1390:17): [True: 0, False: 0]
  ------------------
 1391|      0|                goto error;
 1392|      0|        }
 1393|   106M|    }
 1394|       |
 1395|       |    /* Cut back result list if initial guess was too large. */
 1396|   403k|    if (Py_SIZE(self) < self->allocated) {
  ------------------
  |  |  214|   403k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1396:9): [True: 140k, False: 263k]
  ------------------
 1397|   140k|        if (list_resize(self, Py_SIZE(self)) < 0)
  ------------------
  |  |  214|   140k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   140k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   140k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1397:13): [True: 0, False: 140k]
  ------------------
 1398|      0|            goto error;
 1399|   140k|    }
 1400|       |
 1401|   403k|    Py_DECREF(it);
  ------------------
  |  |  430|   403k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|   403k|    return 0;
 1403|       |
 1404|      0|  error:
 1405|      0|    Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|      0|    return -1;
 1407|   403k|}
listobject.c:list_clear:
  957|  1.05k|{
  958|       |    list_clear_impl(a, true);
  959|  1.05k|}
listobject.c:list_clear_impl:
  927|  1.05k|{
  928|  1.05k|    PyObject **items = a->ob_item;
  929|  1.05k|    if (items == NULL) {
  ------------------
  |  Branch (929:9): [True: 2, False: 1.04k]
  ------------------
  930|      2|        return;
  931|      2|    }
  932|       |
  933|       |    /* Because XDECREF can recursively invoke operations on
  934|       |       this list, we make it empty first. */
  935|  1.04k|    Py_ssize_t i = Py_SIZE(a);
  ------------------
  |  |  214|  1.04k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  936|  1.04k|    Py_SET_SIZE(a, 0);
  ------------------
  |  |  216|  1.04k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.04k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  937|  1.04k|    FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item, NULL);
  ------------------
  |  |  166|  1.04k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  938|  1.04k|    a->allocated = 0;
  939|  2.09k|    while (--i >= 0) {
  ------------------
  |  Branch (939:12): [True: 1.04k, False: 1.04k]
  ------------------
  940|  1.04k|        Py_XDECREF(items[i]);
  ------------------
  |  |  621|  1.04k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  941|  1.04k|    }
  942|       |#ifdef Py_GIL_DISABLED
  943|       |    if (is_resize) {
  944|       |        ensure_shared_on_resize(a);
  945|       |    }
  946|       |    bool use_qsbr = is_resize && _PyObject_GC_IS_SHARED(a);
  947|       |#else
  948|  1.04k|    bool use_qsbr = false;
  949|  1.04k|#endif
  950|  1.04k|    free_list_items(items, use_qsbr);
  951|       |    // Note that there is no guarantee that the list is actually empty
  952|       |    // at this point, because XDECREF may have populated it indirectly again!
  953|  1.04k|}
listobject.c:free_list_items:
   60|  2.42M|{
   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|  2.42M|    PyMem_Free(items);
   72|  2.42M|#endif
   73|  2.42M|}
listobject.c:list_sort_impl:
 3021|     95|{
 3022|     95|    MergeState ms;
 3023|     95|    Py_ssize_t nremaining;
 3024|     95|    Py_ssize_t minrun;
 3025|     95|    sortslice lo;
 3026|     95|    Py_ssize_t saved_ob_size, saved_allocated;
 3027|     95|    PyObject **saved_ob_item;
 3028|     95|    PyObject **final_ob_item;
 3029|     95|    PyObject *result = NULL;            /* guilty until proved innocent */
 3030|     95|    Py_ssize_t i;
 3031|     95|    PyObject **keys;
 3032|       |
 3033|     95|    assert(self != NULL);
  ------------------
  |  Branch (3033:5): [True: 95, False: 0]
  ------------------
 3034|     95|    assert(PyList_Check(self));
  ------------------
  |  Branch (3034:5): [True: 95, False: 0]
  ------------------
 3035|     95|    if (keyfunc == Py_None)
  ------------------
  |  |  616|     95|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3035:9): [True: 6, False: 89]
  ------------------
 3036|      6|        keyfunc = NULL;
 3037|       |
 3038|       |    /* The list is temporarily made empty, so that mutations performed
 3039|       |     * by comparison functions can't affect the slice of memory we're
 3040|       |     * sorting (allowing mutations during sorting is a core-dump
 3041|       |     * factory, since ob_item may change).
 3042|       |     */
 3043|     95|    saved_ob_size = Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3044|     95|    saved_ob_item = self->ob_item;
 3045|     95|    saved_allocated = self->allocated;
 3046|     95|    Py_SET_SIZE(self, 0);
  ------------------
  |  |  216|     95|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     95|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3047|     95|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, NULL);
  ------------------
  |  |  166|     95|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3048|     95|    self->allocated = -1; /* any operation will reset it to >= 0 */
 3049|       |
 3050|     95|    if (keyfunc == NULL) {
  ------------------
  |  Branch (3050:9): [True: 95, False: 0]
  ------------------
 3051|     95|        keys = NULL;
 3052|     95|        lo.keys = saved_ob_item;
 3053|     95|        lo.values = NULL;
 3054|     95|    }
 3055|      0|    else {
 3056|      0|        if (saved_ob_size < MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1786|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (3056:13): [True: 0, False: 0]
  ------------------
 3057|       |            /* Leverage stack space we allocated but won't otherwise use */
 3058|      0|            keys = &ms.temparray[saved_ob_size+1];
 3059|      0|        else {
 3060|      0|            keys = PyMem_Malloc(sizeof(PyObject *) * saved_ob_size);
 3061|      0|            if (keys == NULL) {
  ------------------
  |  Branch (3061:17): [True: 0, False: 0]
  ------------------
 3062|      0|                PyErr_NoMemory();
 3063|      0|                goto keyfunc_fail;
 3064|      0|            }
 3065|      0|        }
 3066|       |
 3067|      0|        for (i = 0; i < saved_ob_size ; i++) {
  ------------------
  |  Branch (3067:21): [True: 0, False: 0]
  ------------------
 3068|      0|            keys[i] = PyObject_CallOneArg(keyfunc, saved_ob_item[i]);
 3069|      0|            if (keys[i] == NULL) {
  ------------------
  |  Branch (3069:17): [True: 0, False: 0]
  ------------------
 3070|      0|                for (i=i-1 ; i>=0 ; i--)
  ------------------
  |  Branch (3070:30): [True: 0, False: 0]
  ------------------
 3071|      0|                    Py_DECREF(keys[i]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3072|      0|                if (saved_ob_size >= MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1786|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (3072:21): [True: 0, False: 0]
  ------------------
 3073|      0|                    PyMem_Free(keys);
 3074|      0|                goto keyfunc_fail;
 3075|      0|            }
 3076|      0|        }
 3077|       |
 3078|      0|        lo.keys = keys;
 3079|      0|        lo.values = saved_ob_item;
 3080|      0|    }
 3081|       |
 3082|       |
 3083|       |    /* The pre-sort check: here's where we decide which compare function to use.
 3084|       |     * How much optimization is safe? We test for homogeneity with respect to
 3085|       |     * several properties that are expensive to check at compare-time, and
 3086|       |     * set ms appropriately. */
 3087|     95|    if (saved_ob_size > 1) {
  ------------------
  |  Branch (3087:9): [True: 20, False: 75]
  ------------------
 3088|       |        /* Assume the first element is representative of the whole list. */
 3089|     20|        int keys_are_in_tuples = (Py_IS_TYPE(lo.keys[0], &PyTuple_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: 0, False: 20]
  |  |  ------------------
  ------------------
 3090|      0|                                  Py_SIZE(lo.keys[0]) > 0);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3090:35): [True: 0, False: 0]
  ------------------
 3091|       |
 3092|     20|        PyTypeObject* key_type = (keys_are_in_tuples ?
  ------------------
  |  Branch (3092:35): [True: 0, False: 20]
  ------------------
 3093|      0|                                  Py_TYPE(PyTuple_GET_ITEM(lo.keys[0], 0)) :
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3094|     20|                                  Py_TYPE(lo.keys[0]));
  ------------------
  |  |  213|     20|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3095|       |
 3096|     20|        int keys_are_all_same_type = 1;
 3097|     20|        int strings_are_latin = 1;
 3098|     20|        int ints_are_bounded = 1;
 3099|       |
 3100|       |        /* Prove that assumption by checking every key. */
 3101|    908|        for (i=0; i < saved_ob_size; i++) {
  ------------------
  |  Branch (3101:19): [True: 888, False: 20]
  ------------------
 3102|       |
 3103|    888|            if (keys_are_in_tuples &&
  ------------------
  |  Branch (3103:17): [True: 0, False: 888]
  ------------------
 3104|      0|                !(Py_IS_TYPE(lo.keys[i], &PyTuple_Type) && Py_SIZE(lo.keys[i]) != 0)) {
  ------------------
  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                              !(Py_IS_TYPE(lo.keys[i], &PyTuple_Type) && Py_SIZE(lo.keys[i]) != 0)) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3104:60): [True: 0, False: 0]
  ------------------
 3105|      0|                keys_are_in_tuples = 0;
 3106|      0|                keys_are_all_same_type = 0;
 3107|      0|                break;
 3108|      0|            }
 3109|       |
 3110|       |            /* Note: for lists of tuples, key is the first element of the tuple
 3111|       |             * lo.keys[i], not lo.keys[i] itself! We verify type-homogeneity
 3112|       |             * for lists of tuples in the if-statement directly above. */
 3113|    888|            PyObject *key = (keys_are_in_tuples ?
  ------------------
  |  Branch (3113:30): [True: 0, False: 888]
  ------------------
 3114|      0|                             PyTuple_GET_ITEM(lo.keys[i], 0) :
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3114:30): [True: 0, False: 0]
  ------------------
 3115|    888|                             lo.keys[i]);
 3116|       |
 3117|    888|            if (!Py_IS_TYPE(key, key_type)) {
  ------------------
  |  |  215|    888|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    888|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    888|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3117:17): [True: 0, False: 888]
  ------------------
 3118|      0|                keys_are_all_same_type = 0;
 3119|       |                /* If keys are in tuple we must loop over the whole list to make
 3120|       |                   sure all items are tuples */
 3121|      0|                if (!keys_are_in_tuples) {
  ------------------
  |  Branch (3121:21): [True: 0, False: 0]
  ------------------
 3122|      0|                    break;
 3123|      0|                }
 3124|      0|            }
 3125|       |
 3126|    888|            if (keys_are_all_same_type) {
  ------------------
  |  Branch (3126:17): [True: 888, False: 0]
  ------------------
 3127|    888|                if (key_type == &PyLong_Type &&
  ------------------
  |  Branch (3127:21): [True: 8, False: 880]
  ------------------
 3128|      8|                    ints_are_bounded &&
  ------------------
  |  Branch (3128:21): [True: 8, False: 0]
  ------------------
 3129|      8|                    !_PyLong_IsCompact((PyLongObject *)key)) {
  ------------------
  |  Branch (3129:21): [True: 0, False: 8]
  ------------------
 3130|       |
 3131|      0|                    ints_are_bounded = 0;
 3132|      0|                }
 3133|    888|                else if (key_type == &PyUnicode_Type &&
  ------------------
  |  Branch (3133:26): [True: 880, False: 8]
  ------------------
 3134|    880|                         strings_are_latin &&
  ------------------
  |  Branch (3134:26): [True: 880, False: 0]
  ------------------
 3135|  1.76k|                         PyUnicode_KIND(key) != PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  259|    880|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 880, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3135:26): [True: 0, False: 880]
  ------------------
 3136|       |
 3137|      0|                        strings_are_latin = 0;
 3138|      0|                    }
 3139|    888|                }
 3140|    888|            }
 3141|       |
 3142|       |        /* Choose the best compare, given what we now know about the keys. */
 3143|     20|        if (keys_are_all_same_type) {
  ------------------
  |  Branch (3143:13): [True: 20, False: 0]
  ------------------
 3144|       |
 3145|     20|            if (key_type == &PyUnicode_Type && strings_are_latin) {
  ------------------
  |  Branch (3145:17): [True: 19, False: 1]
  |  Branch (3145:48): [True: 19, False: 0]
  ------------------
 3146|     19|                ms.key_compare = unsafe_latin_compare;
 3147|     19|            }
 3148|      1|            else if (key_type == &PyLong_Type && ints_are_bounded) {
  ------------------
  |  Branch (3148:22): [True: 1, False: 0]
  |  Branch (3148:50): [True: 1, False: 0]
  ------------------
 3149|      1|                ms.key_compare = unsafe_long_compare;
 3150|      1|            }
 3151|      0|            else if (key_type == &PyFloat_Type) {
  ------------------
  |  Branch (3151:22): [True: 0, False: 0]
  ------------------
 3152|      0|                ms.key_compare = unsafe_float_compare;
 3153|      0|            }
 3154|      0|            else if ((ms.key_richcompare = key_type->tp_richcompare) != NULL) {
  ------------------
  |  Branch (3154:22): [True: 0, False: 0]
  ------------------
 3155|      0|                ms.key_compare = unsafe_object_compare;
 3156|      0|            }
 3157|      0|            else {
 3158|      0|                ms.key_compare = safe_object_compare;
 3159|      0|            }
 3160|     20|        }
 3161|      0|        else {
 3162|      0|            ms.key_compare = safe_object_compare;
 3163|      0|        }
 3164|       |
 3165|     20|        if (keys_are_in_tuples) {
  ------------------
  |  Branch (3165:13): [True: 0, False: 20]
  ------------------
 3166|       |            /* Make sure we're not dealing with tuples of tuples
 3167|       |             * (remember: here, key_type refers list [key[0] for key in keys]) */
 3168|      0|            if (key_type == &PyTuple_Type) {
  ------------------
  |  Branch (3168:17): [True: 0, False: 0]
  ------------------
 3169|      0|                ms.tuple_elem_compare = safe_object_compare;
 3170|      0|            }
 3171|      0|            else {
 3172|      0|                ms.tuple_elem_compare = ms.key_compare;
 3173|      0|            }
 3174|       |
 3175|      0|            ms.key_compare = unsafe_tuple_compare;
 3176|      0|        }
 3177|     20|    }
 3178|       |    /* End of pre-sort check: ms is now set properly! */
 3179|       |
 3180|     95|    merge_init(&ms, saved_ob_size, keys != NULL, &lo);
 3181|       |
 3182|     95|    nremaining = saved_ob_size;
 3183|     95|    if (nremaining < 2)
  ------------------
  |  Branch (3183:9): [True: 75, False: 20]
  ------------------
 3184|     75|        goto succeed;
 3185|       |
 3186|       |    /* Reverse sort stability achieved by initially reversing the list,
 3187|       |    applying a stable forward sort, then reversing the final result. */
 3188|     20|    if (reverse) {
  ------------------
  |  Branch (3188:9): [True: 0, False: 20]
  ------------------
 3189|      0|        if (keys != NULL)
  ------------------
  |  Branch (3189:13): [True: 0, False: 0]
  ------------------
 3190|      0|            reverse_slice(&keys[0], &keys[saved_ob_size]);
 3191|      0|        reverse_slice(&saved_ob_item[0], &saved_ob_item[saved_ob_size]);
 3192|      0|    }
 3193|       |
 3194|       |    /* March over the array once, left to right, finding natural runs,
 3195|       |     * and extending short natural runs to minrun elements.
 3196|       |     */
 3197|     34|    do {
 3198|     34|        Py_ssize_t n;
 3199|       |
 3200|       |        /* Identify next run. */
 3201|     34|        n = count_run(&ms, &lo, nremaining);
 3202|     34|        if (n < 0)
  ------------------
  |  Branch (3202:13): [True: 0, False: 34]
  ------------------
 3203|      0|            goto fail;
 3204|       |        /* If short, extend to min(minrun, nremaining). */
 3205|     34|        minrun = minrun_next(&ms);
 3206|     34|        if (n < minrun) {
  ------------------
  |  Branch (3206:13): [True: 28, False: 6]
  ------------------
 3207|     28|            const Py_ssize_t force = nremaining <= minrun ?
  ------------------
  |  Branch (3207:38): [True: 14, False: 14]
  ------------------
 3208|     14|                              nremaining : minrun;
 3209|     28|            if (binarysort(&ms, &lo, force, n) < 0)
  ------------------
  |  Branch (3209:17): [True: 0, False: 28]
  ------------------
 3210|      0|                goto fail;
 3211|     28|            n = force;
 3212|     28|        }
 3213|       |        /* Maybe merge pending runs. */
 3214|     34|        assert(ms.n == 0 || ms.pending[ms.n -1].base.keys +
  ------------------
  |  Branch (3214:9): [True: 20, False: 14]
  |  Branch (3214:9): [True: 14, False: 0]
  ------------------
 3215|     34|                            ms.pending[ms.n-1].len == lo.keys);
 3216|     34|        if (found_new_run(&ms, n) < 0)
  ------------------
  |  Branch (3216:13): [True: 0, False: 34]
  ------------------
 3217|      0|            goto fail;
 3218|       |        /* Push new run on stack. */
 3219|     34|        assert(ms.n < MAX_MERGE_PENDING);
  ------------------
  |  Branch (3219:9): [True: 34, False: 0]
  ------------------
 3220|     34|        ms.pending[ms.n].base = lo;
 3221|     34|        ms.pending[ms.n].len = n;
 3222|     34|        ++ms.n;
 3223|       |        /* Advance to find next run. */
 3224|     34|        sortslice_advance(&lo, n);
 3225|     34|        nremaining -= n;
 3226|     34|    } while (nremaining);
  ------------------
  |  Branch (3226:14): [True: 14, False: 20]
  ------------------
 3227|       |
 3228|     20|    if (merge_force_collapse(&ms) < 0)
  ------------------
  |  Branch (3228:9): [True: 0, False: 20]
  ------------------
 3229|      0|        goto fail;
 3230|     20|    assert(ms.n == 1);
  ------------------
  |  Branch (3230:5): [True: 20, False: 0]
  ------------------
 3231|     20|    assert(keys == NULL
  ------------------
  |  Branch (3231:5): [True: 20, False: 0]
  |  Branch (3231:5): [True: 20, False: 0]
  ------------------
 3232|     20|           ? ms.pending[0].base.keys == saved_ob_item
 3233|     20|           : ms.pending[0].base.keys == &keys[0]);
 3234|     20|    assert(ms.pending[0].len == saved_ob_size);
  ------------------
  |  Branch (3234:5): [True: 20, False: 0]
  ------------------
 3235|     20|    lo = ms.pending[0].base;
 3236|       |
 3237|     95|succeed:
 3238|     95|    result = Py_None;
  ------------------
  |  |  616|     95|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3239|     95|fail:
 3240|     95|    if (keys != NULL) {
  ------------------
  |  Branch (3240:9): [True: 0, False: 95]
  ------------------
 3241|      0|        for (i = 0; i < saved_ob_size; i++)
  ------------------
  |  Branch (3241:21): [True: 0, False: 0]
  ------------------
 3242|      0|            Py_DECREF(keys[i]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3243|      0|        if (saved_ob_size >= MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1786|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (3243:13): [True: 0, False: 0]
  ------------------
 3244|      0|            PyMem_Free(keys);
 3245|      0|    }
 3246|       |
 3247|     95|    if (self->allocated != -1 && result != NULL) {
  ------------------
  |  Branch (3247:9): [True: 0, False: 95]
  |  Branch (3247:34): [True: 0, False: 0]
  ------------------
 3248|       |        /* The user mucked with the list during the sort,
 3249|       |         * and we don't already have another error to report.
 3250|       |         */
 3251|      0|        PyErr_SetString(PyExc_ValueError, "list modified during sort");
 3252|      0|        result = NULL;
 3253|      0|    }
 3254|       |
 3255|     95|    if (reverse && saved_ob_size > 1)
  ------------------
  |  Branch (3255:9): [True: 0, False: 95]
  |  Branch (3255:20): [True: 0, False: 0]
  ------------------
 3256|      0|        reverse_slice(saved_ob_item, saved_ob_item + saved_ob_size);
 3257|       |
 3258|     95|    merge_freemem(&ms);
 3259|       |
 3260|     95|keyfunc_fail:
 3261|     95|    final_ob_item = self->ob_item;
 3262|     95|    i = Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3263|     95|    Py_SET_SIZE(self, saved_ob_size);
  ------------------
  |  |  216|     95|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     95|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3264|     95|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, saved_ob_item);
  ------------------
  |  |  166|     95|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3265|     95|    FT_ATOMIC_STORE_SSIZE_RELAXED(self->allocated, saved_allocated);
  ------------------
  |  |  197|     95|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 3266|     95|    if (final_ob_item != NULL) {
  ------------------
  |  Branch (3266:9): [True: 0, False: 95]
  ------------------
 3267|       |        /* we cannot use list_clear() for this because it does not
 3268|       |           guarantee that the list is really empty when it returns */
 3269|      0|        while (--i >= 0) {
  ------------------
  |  Branch (3269:16): [True: 0, False: 0]
  ------------------
 3270|      0|            Py_XDECREF(final_ob_item[i]);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3271|      0|        }
 3272|       |#ifdef Py_GIL_DISABLED
 3273|       |        ensure_shared_on_resize(self);
 3274|       |        bool use_qsbr = _PyObject_GC_IS_SHARED(self);
 3275|       |#else
 3276|      0|        bool use_qsbr = false;
 3277|      0|#endif
 3278|      0|        free_list_items(final_ob_item, use_qsbr);
 3279|      0|    }
 3280|     95|    return Py_XNewRef(result);
  ------------------
  |  |  648|     95|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3281|     95|}
listobject.c:unsafe_latin_compare:
 2891|  5.18k|{
 2892|  5.18k|    Py_ssize_t len;
 2893|  5.18k|    int res;
 2894|       |
 2895|       |    /* Modified from Objects/unicodeobject.c:unicode_compare, assuming: */
 2896|  5.18k|    assert(Py_IS_TYPE(v, &PyUnicode_Type));
  ------------------
  |  Branch (2896:5): [True: 5.18k, False: 0]
  ------------------
 2897|  5.18k|    assert(Py_IS_TYPE(w, &PyUnicode_Type));
  ------------------
  |  Branch (2897:5): [True: 5.18k, False: 0]
  ------------------
 2898|  5.18k|    assert(PyUnicode_KIND(v) == PyUnicode_KIND(w));
  ------------------
  |  Branch (2898:5): [True: 5.18k, False: 0]
  |  Branch (2898:5): [True: 5.18k, False: 0]
  |  Branch (2898:5): [True: 5.18k, False: 0]
  ------------------
 2899|  5.18k|    assert(PyUnicode_KIND(v) == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (2899:5): [True: 5.18k, False: 0]
  |  Branch (2899:5): [True: 5.18k, False: 0]
  ------------------
 2900|       |
 2901|  5.18k|    len = Py_MIN(PyUnicode_GET_LENGTH(v), PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  127|  5.18k|       __extension__ \
  |  |  128|  5.18k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  5.18k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  5.18k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  5.18k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  5.18k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 1.90k, False: 3.28k]
  |  |  ------------------
  ------------------
 2902|  5.18k|    res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len);
  ------------------
  |  |  285|  5.18k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len);
  ------------------
  |  |  285|  5.18k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2903|       |
 2904|  5.18k|    res = (res != 0 ?
  ------------------
  |  Branch (2904:12): [True: 5.11k, False: 72]
  ------------------
 2905|  5.11k|           res < 0 :
 2906|  5.18k|           PyUnicode_GET_LENGTH(v) < PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  300|     72|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                         PyUnicode_GET_LENGTH(v) < PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  300|     72|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2907|       |
 2908|  5.18k|    assert_compare_consistent(v, w, res);
 2909|  5.18k|    return res;
 2910|  5.18k|}
listobject.c:assert_compare_consistent:
 2871|  5.20k|{
 2872|  5.20k|    int cmp = PyObject_RichCompareBool(v, w, Py_LT);
  ------------------
  |  |  652|  5.20k|#define Py_LT 0
  ------------------
 2873|  5.20k|    if (cmp < 0) {
  ------------------
  |  Branch (2873:9): [True: 0, False: 5.20k]
  ------------------
 2874|       |        /* This debug-only cross-check can hit the C stack guard even when
 2875|       |         * the specialized comparison itself is safe. Keep the optimized path
 2876|       |         * side-effect free by discarding that exception.
 2877|       |         */
 2878|      0|        assert(PyErr_ExceptionMatches(PyExc_RecursionError));
  ------------------
  |  Branch (2878:9): [True: 0, False: 0]
  ------------------
 2879|      0|        PyErr_Clear();
 2880|      0|        return;
 2881|      0|    }
 2882|  5.20k|    assert(res == cmp);
  ------------------
  |  Branch (2882:5): [True: 5.20k, False: 0]
  ------------------
 2883|  5.20k|}
listobject.c:unsafe_long_compare:
 2915|     19|{
 2916|     19|    PyLongObject *vl, *wl;
 2917|     19|    intptr_t v0, w0;
 2918|     19|    int res;
 2919|       |
 2920|       |    /* Modified from Objects/longobject.c:long_compare, assuming: */
 2921|     19|    assert(Py_IS_TYPE(v, &PyLong_Type));
  ------------------
  |  Branch (2921:5): [True: 19, False: 0]
  ------------------
 2922|     19|    assert(Py_IS_TYPE(w, &PyLong_Type));
  ------------------
  |  Branch (2922:5): [True: 19, False: 0]
  ------------------
 2923|     19|    assert(_PyLong_IsCompact((PyLongObject *)v));
  ------------------
  |  Branch (2923:5): [True: 19, False: 0]
  ------------------
 2924|     19|    assert(_PyLong_IsCompact((PyLongObject *)w));
  ------------------
  |  Branch (2924:5): [True: 19, False: 0]
  ------------------
 2925|       |
 2926|     19|    vl = (PyLongObject*)v;
 2927|     19|    wl = (PyLongObject*)w;
 2928|       |
 2929|     19|    v0 = _PyLong_CompactValue(vl);
 2930|     19|    w0 = _PyLong_CompactValue(wl);
 2931|       |
 2932|     19|    res = v0 < w0;
 2933|     19|    assert_compare_consistent(v, w, res);
 2934|     19|    return res;
 2935|     19|}
listobject.c:merge_init:
 2289|     95|{
 2290|     95|    assert(ms != NULL);
  ------------------
  |  Branch (2290:5): [True: 95, False: 0]
  ------------------
 2291|     95|    if (has_keyfunc) {
  ------------------
  |  Branch (2291:9): [True: 0, False: 95]
  ------------------
 2292|       |        /* The temporary space for merging will need at most half the list
 2293|       |         * size rounded up.  Use the minimum possible space so we can use the
 2294|       |         * rest of temparray for other things.  In particular, if there is
 2295|       |         * enough extra space, listsort() will use it to store the keys.
 2296|       |         */
 2297|      0|        ms->alloced = (list_size + 1) / 2;
 2298|       |
 2299|       |        /* ms->alloced describes how many keys will be stored at
 2300|       |           ms->temparray, but we also need to store the values.  Hence,
 2301|       |           ms->alloced is capped at half of MERGESTATE_TEMP_SIZE. */
 2302|      0|        if (MERGESTATE_TEMP_SIZE / 2 < ms->alloced)
  ------------------
  |  | 1786|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (2302:13): [True: 0, False: 0]
  ------------------
 2303|      0|            ms->alloced = MERGESTATE_TEMP_SIZE / 2;
  ------------------
  |  | 1786|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
 2304|      0|        ms->a.values = &ms->temparray[ms->alloced];
 2305|      0|    }
 2306|     95|    else {
 2307|     95|        ms->alloced = MERGESTATE_TEMP_SIZE;
  ------------------
  |  | 1786|     95|#define MERGESTATE_TEMP_SIZE 256
  ------------------
 2308|     95|        ms->a.values = NULL;
 2309|     95|    }
 2310|     95|    ms->a.keys = ms->temparray;
 2311|     95|    ms->n = 0;
 2312|     95|    ms->min_gallop = MIN_GALLOP;
  ------------------
  |  | 1783|     95|#define MIN_GALLOP 7
  ------------------
 2313|     95|    ms->listlen = list_size;
 2314|     95|    ms->basekeys = lo->keys;
 2315|       |
 2316|       |    /* State for generating minrun values. See listsort.txt. */
 2317|     95|    ms->mr_e = 0;
 2318|    101|    while (list_size >> ms->mr_e >= MAX_MINRUN) {
  ------------------
  |  | 1789|    101|#define MAX_MINRUN 64
  ------------------
  |  Branch (2318:12): [True: 6, False: 95]
  ------------------
 2319|      6|        ++ms->mr_e;
 2320|      6|    }
 2321|     95|    ms->mr_mask = ((Py_ssize_t)1 << ms->mr_e) - 1;
 2322|     95|    ms->mr_current = 0;
 2323|     95|}
listobject.c:count_run:
 2007|     34|{
 2008|     34|    Py_ssize_t k; /* used by IFLT macro expansion */
 2009|     34|    Py_ssize_t n;
 2010|     34|    PyObject ** const lo = slo->keys;
 2011|       |
 2012|       |    /* In general, as things go on we've established that the slice starts
 2013|       |       with a monotone run of n elements, starting at lo. */
 2014|       |
 2015|       |    /* We're n elements into the slice, and the most recent neq+1 elements are
 2016|       |     * all equal. This reverses them in-place, and resets neq for reuse.
 2017|       |     */
 2018|     34|#define REVERSE_LAST_NEQ                        \
 2019|     34|    if (neq) {                                  \
 2020|     34|        sortslice slice = *slo;                 \
 2021|     34|        ++neq;                                  \
 2022|     34|        sortslice_advance(&slice, n - neq);     \
 2023|     34|        sortslice_reverse(&slice, neq);         \
 2024|     34|        neq = 0;                                \
 2025|     34|    }
 2026|       |
 2027|       |    /* Sticking to only __lt__ compares is confusing and error-prone. But in
 2028|       |     * this routine, almost all uses of IFLT can be captured by tiny macros
 2029|       |     * giving mnemonic names to the intent. Note that inline functions don't
 2030|       |     * work for this (IFLT expands to code including `goto fail`).
 2031|       |     */
 2032|     34|#define IF_NEXT_LARGER  IFLT(lo[n-1], lo[n])
 2033|     34|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
 2034|       |
 2035|     34|    assert(nremaining);
  ------------------
  |  Branch (2035:5): [True: 34, False: 0]
  ------------------
 2036|       |    /* try ascending run first */
 2037|     72|    for (n = 1; n < nremaining; ++n) {
  ------------------
  |  Branch (2037:17): [True: 71, False: 1]
  ------------------
 2038|     71|        IF_NEXT_SMALLER
  ------------------
  |  | 2033|     71|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1770|     71|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1764|     71|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1770:24): [True: 0, False: 71]
  |  |  |  |  ------------------
  |  |  |  | 1771|     71|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1771:16): [True: 33, False: 38]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2039|     33|            break;
 2040|     71|    }
 2041|     34|    if (n == nremaining)
  ------------------
  |  Branch (2041:9): [True: 1, False: 33]
  ------------------
 2042|      1|        return n;
 2043|       |    /* lo[n] is strictly less */
 2044|       |    /* If n is 1 now, then the first compare established it's a descending
 2045|       |     * run, so fall through to the descending case. But if n > 1, there are
 2046|       |     * n elements in an ascending run terminated by the strictly less lo[n].
 2047|       |     * If the first key < lo[n-1], *somewhere* along the way the sequence
 2048|       |     * increased, so we're done (there is no descending run).
 2049|       |     * Else first key >= lo[n-1], which implies that the entire ascending run
 2050|       |     * consists of equal elements. In that case, this is a descending run,
 2051|       |     * and we reverse the all-equal prefix in-place.
 2052|       |     */
 2053|     33|    if (n > 1) {
  ------------------
  |  Branch (2053:9): [True: 18, False: 15]
  ------------------
 2054|     18|        IFLT(lo[0], lo[n-1])
  ------------------
  |  | 1770|     18|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     18|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 18]
  |  |  ------------------
  |  | 1771|     18|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 18, False: 0]
  |  |  ------------------
  ------------------
 2055|     18|            return n;
 2056|      0|        sortslice_reverse(slo, n);
 2057|      0|    }
 2058|     15|    ++n; /* in all cases it's been established that lo[n] has been resolved */
 2059|       |
 2060|       |    /* Finish descending run. All-squal subruns are reversed in-place on the
 2061|       |     * fly. Their original order will be restored at the end by the whole-slice
 2062|       |     * reversal.
 2063|       |     */
 2064|     15|    Py_ssize_t neq = 0;
 2065|     21|    for ( ; n < nremaining; ++n) {
  ------------------
  |  Branch (2065:13): [True: 16, False: 5]
  ------------------
 2066|     16|        IF_NEXT_SMALLER {
  ------------------
  |  | 2033|     16|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1770|     16|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1764|     16|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1770:24): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  |  | 1771|     16|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1771:16): [True: 6, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2067|       |            /* This ends the most recent run of equal elements, but still in
 2068|       |             * the "descending" direction.
 2069|       |             */
 2070|      6|            REVERSE_LAST_NEQ
  ------------------
  |  | 2019|      6|    if (neq) {                                  \
  |  |  ------------------
  |  |  |  Branch (2019:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 2020|      0|        sortslice slice = *slo;                 \
  |  | 2021|      0|        ++neq;                                  \
  |  | 2022|      0|        sortslice_advance(&slice, n - neq);     \
  |  | 2023|      0|        sortslice_reverse(&slice, neq);         \
  |  | 2024|      0|        neq = 0;                                \
  |  | 2025|      0|    }
  ------------------
 2071|      6|        }
 2072|     10|        else {
 2073|     10|            IF_NEXT_LARGER /* descending run is over */
  ------------------
  |  | 2032|     10|#define IF_NEXT_LARGER  IFLT(lo[n-1], lo[n])
  |  |  ------------------
  |  |  |  | 1770|     10|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1764|     10|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1770:24): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  | 1771|     10|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1771:16): [True: 10, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2074|     10|                break;
 2075|      0|            else /* not x < y and not y < x implies x == y */
 2076|      0|                ++neq;
 2077|     10|        }
 2078|     16|    }
 2079|     15|    REVERSE_LAST_NEQ
  ------------------
  |  | 2019|     15|    if (neq) {                                  \
  |  |  ------------------
  |  |  |  Branch (2019:9): [True: 0, False: 15]
  |  |  ------------------
  |  | 2020|      0|        sortslice slice = *slo;                 \
  |  | 2021|      0|        ++neq;                                  \
  |  | 2022|      0|        sortslice_advance(&slice, n - neq);     \
  |  | 2023|      0|        sortslice_reverse(&slice, neq);         \
  |  | 2024|      0|        neq = 0;                                \
  |  | 2025|      0|    }
  ------------------
 2080|     15|    sortslice_reverse(slo, n); /* transform to ascending run */
 2081|       |
 2082|       |    /* And after reversing, it's possible this can be extended by a
 2083|       |     * naturally increasing suffix; e.g., [3, 2, 3, 4, 1] makes an
 2084|       |     * ascending run from the first 4 elements.
 2085|       |     */
 2086|     18|    for ( ; n < nremaining; ++n) {
  ------------------
  |  Branch (2086:13): [True: 13, False: 5]
  ------------------
 2087|     13|        IF_NEXT_SMALLER
  ------------------
  |  | 2033|     13|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1770|     13|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1764|     13|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1770:24): [True: 0, False: 13]
  |  |  |  |  ------------------
  |  |  |  | 1771|     13|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1771:16): [True: 10, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2088|     10|            break;
 2089|     13|    }
 2090|       |
 2091|     15|    return n;
 2092|      0|fail:
 2093|      0|    return -1;
 2094|       |
 2095|     15|#undef REVERSE_LAST_NEQ
 2096|     15|#undef IF_NEXT_SMALLER
 2097|     15|#undef IF_NEXT_LARGER
 2098|     15|}
listobject.c:sortslice_reverse:
 1991|     15|{
 1992|     15|    reverse_slice(s->keys, &s->keys[n]);
 1993|     15|    if (s->values != NULL)
  ------------------
  |  Branch (1993:9): [True: 0, False: 15]
  ------------------
 1994|      0|        reverse_slice(s->values, &s->values[n]);
 1995|     15|}
listobject.c:minrun_next:
 2803|     34|{
 2804|     34|    ms->mr_current += ms->listlen;
 2805|     34|    assert(ms->mr_current >= 0); /* no overflow */
  ------------------
  |  Branch (2805:5): [True: 34, False: 0]
  ------------------
 2806|     34|    Py_ssize_t result = ms->mr_current >> ms->mr_e;
 2807|     34|    ms->mr_current &= ms->mr_mask;
 2808|     34|    return result;
 2809|     34|}
listobject.c:binarysort:
 1869|     28|{
 1870|     28|    Py_ssize_t k; /* for IFLT macro expansion */
 1871|     28|    PyObject ** const a = ss->keys;
 1872|     28|    PyObject ** const v = ss->values;
 1873|     28|    const bool has_values = v != NULL;
 1874|     28|    PyObject *pivot;
 1875|     28|    Py_ssize_t M;
 1876|       |
 1877|     28|    assert(0 <= ok && ok <= n && 1 <= n && n <= MAX_MINRUN);
  ------------------
  |  Branch (1877:5): [True: 28, False: 0]
  |  Branch (1877:5): [True: 28, False: 0]
  |  Branch (1877:5): [True: 28, False: 0]
  |  Branch (1877:5): [True: 28, False: 0]
  ------------------
 1878|       |    /* assert a[:ok] is sorted */
 1879|     28|    if (! ok)
  ------------------
  |  Branch (1879:9): [True: 0, False: 28]
  ------------------
 1880|      0|        ++ok;
 1881|       |    /* Regular insertion sort has average- and worst-case O(n**2) cost
 1882|       |       for both # of comparisons and number of bytes moved. But its branches
 1883|       |       are highly predictable, and it loves sorted input (n-1 compares and no
 1884|       |       data movement). This is significant in cases like sortperf.py's %sort,
 1885|       |       where an out-of-order element near the start of a run is moved into
 1886|       |       place slowly but then the remaining elements up to length minrun are
 1887|       |       generally at worst one slot away from their correct position (so only
 1888|       |       need 1 or 2 commpares to resolve). If comparisons are very fast (such
 1889|       |       as for a list of Python floats), the simple inner loop leaves it
 1890|       |       very competitive with binary insertion, despite that it does
 1891|       |       significantly more compares overall on random data.
 1892|       |
 1893|       |       Binary insertion sort has worst, average, and best case O(n log n)
 1894|       |       cost for # of comparisons, but worst and average case O(n**2) cost
 1895|       |       for data movement. The more expensive comparisons, the more important
 1896|       |       the comparison advantage. But its branches are less predictable the
 1897|       |       more "randomish" the data, and that's so significant its worst case
 1898|       |       in real life is random input rather than reverse-ordered (which does
 1899|       |       about twice the data movement than random input does).
 1900|       |
 1901|       |       Note that the number of bytes moved doesn't seem to matter. MAX_MINRUN
 1902|       |       of 64 is so small that the key and value pointers all fit in a corner
 1903|       |       of L1 cache, and moving things around in that is very fast. */
 1904|       |#if 0 // ordinary insertion sort.
 1905|       |    PyObject * vpivot = NULL;
 1906|       |    for (; ok < n; ++ok) {
 1907|       |        pivot = a[ok];
 1908|       |        if (has_values)
 1909|       |            vpivot = v[ok];
 1910|       |        for (M = ok - 1; M >= 0; --M) {
 1911|       |            k = ISLT(pivot, a[M]);
 1912|       |            if (k < 0) {
 1913|       |                a[M + 1] = pivot;
 1914|       |                if (has_values)
 1915|       |                    v[M + 1] = vpivot;
 1916|       |                goto fail;
 1917|       |            }
 1918|       |            else if (k) {
 1919|       |                a[M + 1] = a[M];
 1920|       |                if (has_values)
 1921|       |                    v[M + 1] = v[M];
 1922|       |            }
 1923|       |            else
 1924|       |                break;
 1925|       |        }
 1926|       |        a[M + 1] = pivot;
 1927|       |        if (has_values)
 1928|       |            v[M + 1] = vpivot;
 1929|       |    }
 1930|       |#else // binary insertion sort
 1931|     28|    Py_ssize_t L, R;
 1932|    820|    for (; ok < n; ++ok) {
  ------------------
  |  Branch (1932:12): [True: 792, False: 28]
  ------------------
 1933|       |        /* set L to where a[ok] belongs */
 1934|    792|        L = 0;
 1935|    792|        R = ok;
 1936|    792|        pivot = a[ok];
 1937|       |        /* Slice invariants. vacuously true at the start:
 1938|       |         * all a[0:L]  <= pivot
 1939|       |         * all a[L:R]     unknown
 1940|       |         * all a[R:ok]  > pivot
 1941|       |         */
 1942|    792|        assert(L < R);
  ------------------
  |  Branch (1942:9): [True: 792, False: 0]
  ------------------
 1943|  3.47k|        do {
 1944|       |            /* don't do silly ;-) things to prevent overflow when finding
 1945|       |               the midpoint; L and R are very far from filling a Py_ssize_t */
 1946|  3.47k|            M = (L + R) >> 1;
 1947|  3.47k|#if 1 // straightforward, but highly unpredictable branch on random data
 1948|  3.47k|            IFLT(pivot, a[M])
  ------------------
  |  | 1770|  3.47k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|  3.47k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 3.47k]
  |  |  ------------------
  |  | 1771|  3.47k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 1.74k, False: 1.73k]
  |  |  ------------------
  ------------------
 1949|  1.74k|                R = M;
 1950|  1.73k|            else
 1951|  1.73k|                L = M + 1;
 1952|       |#else
 1953|       |            /* Try to get compiler to generate conditional move instructions
 1954|       |               instead. Works fine, but leaving it disabled for now because
 1955|       |               it's not yielding consistently faster sorts. Needs more
 1956|       |               investigation. More computation in the inner loop adds its own
 1957|       |               costs, which can be significant when compares are fast. */
 1958|       |            k = ISLT(pivot, a[M]);
 1959|       |            if (k < 0)
 1960|       |                goto fail;
 1961|       |            Py_ssize_t Mp1 = M + 1;
 1962|       |            R = k ? M : R;
 1963|       |            L = k ? L : Mp1;
 1964|       |#endif
 1965|  3.47k|        } while (L < R);
  ------------------
  |  Branch (1965:18): [True: 2.68k, False: 792]
  ------------------
 1966|    792|        assert(L == R);
  ------------------
  |  Branch (1966:9): [True: 792, False: 0]
  ------------------
 1967|       |        /* a[:L] holds all elements from a[:ok] <= pivot now, so pivot belongs
 1968|       |           at index L. Slide a[L:ok] to the right a slot to make room for it.
 1969|       |           Caution: using memmove is much slower under MSVC 5; we're not
 1970|       |           usually moving many slots. Years later: under Visual Studio 2022,
 1971|       |           memmove seems just slightly slower than doing it "by hand". */
 1972|  9.62k|        for (M = ok; M > L; --M)
  ------------------
  |  Branch (1972:22): [True: 8.83k, False: 792]
  ------------------
 1973|  8.83k|            a[M] = a[M - 1];
 1974|    792|        a[L] = pivot;
 1975|    792|        if (has_values) {
  ------------------
  |  Branch (1975:13): [True: 0, False: 792]
  ------------------
 1976|      0|            pivot = v[ok];
 1977|      0|            for (M = ok; M > L; --M)
  ------------------
  |  Branch (1977:26): [True: 0, False: 0]
  ------------------
 1978|      0|                v[M] = v[M - 1];
 1979|      0|            v[L] = pivot;
 1980|      0|        }
 1981|    792|    }
 1982|     28|#endif // pick binary or regular insertion sort
 1983|     28|    return 0;
 1984|       |
 1985|      0| fail:
 1986|      0|    return -1;
 1987|     28|}
listobject.c:found_new_run:
 2761|     34|{
 2762|     34|    assert(ms);
  ------------------
  |  Branch (2762:5): [True: 34, False: 0]
  ------------------
 2763|     34|    if (ms->n) {
  ------------------
  |  Branch (2763:9): [True: 14, False: 20]
  ------------------
 2764|     14|        assert(ms->n > 0);
  ------------------
  |  Branch (2764:9): [True: 14, False: 0]
  ------------------
 2765|     14|        struct s_slice *p = ms->pending;
 2766|     14|        Py_ssize_t s1 = p[ms->n - 1].base.keys - ms->basekeys; /* start index */
 2767|     14|        Py_ssize_t n1 = p[ms->n - 1].len;
 2768|     14|        int power = powerloop(s1, n1, n2, ms->listlen);
 2769|     22|        while (ms->n > 1 && p[ms->n - 2].power > power) {
  ------------------
  |  Branch (2769:16): [True: 16, False: 6]
  |  Branch (2769:29): [True: 8, False: 8]
  ------------------
 2770|      8|            if (merge_at(ms, ms->n - 2) < 0)
  ------------------
  |  Branch (2770:17): [True: 0, False: 8]
  ------------------
 2771|      0|                return -1;
 2772|      8|        }
 2773|     14|        assert(ms->n < 2 || p[ms->n - 2].power < power);
  ------------------
  |  Branch (2773:9): [True: 6, False: 8]
  |  Branch (2773:9): [True: 8, False: 0]
  ------------------
 2774|     14|        p[ms->n - 1].power = power;
 2775|     14|    }
 2776|     34|    return 0;
 2777|     34|}
listobject.c:powerloop:
 2714|     14|{
 2715|     14|    int result = 0;
 2716|     14|    assert(s1 >= 0);
  ------------------
  |  Branch (2716:5): [True: 14, False: 0]
  ------------------
 2717|     14|    assert(n1 > 0 && n2 > 0);
  ------------------
  |  Branch (2717:5): [True: 14, False: 0]
  |  Branch (2717:5): [True: 14, False: 0]
  ------------------
 2718|     14|    assert(s1 + n1 + n2 <= n);
  ------------------
  |  Branch (2718:5): [True: 14, False: 0]
  ------------------
 2719|       |    /* midpoints a and b:
 2720|       |     * a = s1 + n1/2
 2721|       |     * b = s1 + n1 + n2/2 = a + (n1 + n2)/2
 2722|       |     *
 2723|       |     * Those may not be integers, though, because of the "/2". So we work with
 2724|       |     * 2*a and 2*b instead, which are necessarily integers. It makes no
 2725|       |     * difference to the outcome, since the bits in the expansion of (2*i)/n
 2726|       |     * are merely shifted one position from those of i/n.
 2727|       |     */
 2728|     14|    Py_ssize_t a = 2 * s1 + n1;  /* 2*a */
 2729|     14|    Py_ssize_t b = a + n1 + n2;  /* 2*b */
 2730|       |    /* Emulate a/n and b/n one bit a time, until bits differ. */
 2731|     34|    for (;;) {
 2732|     34|        ++result;
 2733|     34|        if (a >= n) {  /* both quotient bits are 1 */
  ------------------
  |  Branch (2733:13): [True: 10, False: 24]
  ------------------
 2734|     10|            assert(b >= a);
  ------------------
  |  Branch (2734:13): [True: 10, False: 0]
  ------------------
 2735|     10|            a -= n;
 2736|     10|            b -= n;
 2737|     10|        }
 2738|     24|        else if (b >= n) {  /* a/n bit is 0, b/n bit is 1 */
  ------------------
  |  Branch (2738:18): [True: 14, False: 10]
  ------------------
 2739|     14|            break;
 2740|     14|        } /* else both quotient bits are 0 */
 2741|     34|        assert(a < b && b < n);
  ------------------
  |  Branch (2741:9): [True: 20, False: 0]
  |  Branch (2741:9): [True: 20, False: 0]
  ------------------
 2742|     20|        a <<= 1;
 2743|     20|        b <<= 1;
 2744|     20|    }
 2745|     14|    return result;
 2746|     14|}
listobject.c:merge_at:
 2654|     14|{
 2655|     14|    sortslice ssa, ssb;
 2656|     14|    Py_ssize_t na, nb;
 2657|     14|    Py_ssize_t k;
 2658|       |
 2659|     14|    assert(ms != NULL);
  ------------------
  |  Branch (2659:5): [True: 14, False: 0]
  ------------------
 2660|     14|    assert(ms->n >= 2);
  ------------------
  |  Branch (2660:5): [True: 14, False: 0]
  ------------------
 2661|     14|    assert(i >= 0);
  ------------------
  |  Branch (2661:5): [True: 14, False: 0]
  ------------------
 2662|     14|    assert(i == ms->n - 2 || i == ms->n - 3);
  ------------------
  |  Branch (2662:5): [True: 14, False: 0]
  |  Branch (2662:5): [True: 0, False: 0]
  ------------------
 2663|       |
 2664|     14|    ssa = ms->pending[i].base;
 2665|     14|    na = ms->pending[i].len;
 2666|     14|    ssb = ms->pending[i+1].base;
 2667|     14|    nb = ms->pending[i+1].len;
 2668|     14|    assert(na > 0 && nb > 0);
  ------------------
  |  Branch (2668:5): [True: 14, False: 0]
  |  Branch (2668:5): [True: 14, False: 0]
  ------------------
 2669|     14|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2669:5): [True: 14, False: 0]
  ------------------
 2670|       |
 2671|       |    /* Record the length of the combined runs; if i is the 3rd-last
 2672|       |     * run now, also slide over the last run (which isn't involved
 2673|       |     * in this merge).  The current run i+1 goes away in any case.
 2674|       |     */
 2675|     14|    ms->pending[i].len = na + nb;
 2676|     14|    if (i == ms->n - 3)
  ------------------
  |  Branch (2676:9): [True: 0, False: 14]
  ------------------
 2677|      0|        ms->pending[i+1] = ms->pending[i+2];
 2678|     14|    --ms->n;
 2679|       |
 2680|       |    /* Where does b start in a?  Elements in a before that can be
 2681|       |     * ignored (already in place).
 2682|       |     */
 2683|     14|    k = gallop_right(ms, *ssb.keys, ssa.keys, na, 0);
 2684|     14|    if (k < 0)
  ------------------
  |  Branch (2684:9): [True: 0, False: 14]
  ------------------
 2685|      0|        return -1;
 2686|     14|    sortslice_advance(&ssa, k);
 2687|     14|    na -= k;
 2688|     14|    if (na == 0)
  ------------------
  |  Branch (2688:9): [True: 0, False: 14]
  ------------------
 2689|      0|        return 0;
 2690|       |
 2691|       |    /* Where does a end in b?  Elements in b after that can be
 2692|       |     * ignored (already in place).
 2693|       |     */
 2694|     14|    nb = gallop_left(ms, ssa.keys[na-1], ssb.keys, nb, nb-1);
 2695|     14|    if (nb <= 0)
  ------------------
  |  Branch (2695:9): [True: 0, False: 14]
  ------------------
 2696|      0|        return nb;
 2697|       |
 2698|       |    /* Merge what remains of the runs, using a temp array with
 2699|       |     * min(na, nb) elements.
 2700|       |     */
 2701|     14|    if (na <= nb)
  ------------------
  |  Branch (2701:9): [True: 8, False: 6]
  ------------------
 2702|      8|        return merge_lo(ms, ssa, na, ssb, nb);
 2703|      6|    else
 2704|      6|        return merge_hi(ms, ssa, na, ssb, nb);
 2705|     14|}
listobject.c:gallop_right:
 2212|     70|{
 2213|     70|    Py_ssize_t ofs;
 2214|     70|    Py_ssize_t lastofs;
 2215|     70|    Py_ssize_t k;
 2216|       |
 2217|     70|    assert(key && a && n > 0 && hint >= 0 && hint < n);
  ------------------
  |  Branch (2217:5): [True: 70, False: 0]
  |  Branch (2217:5): [True: 70, False: 0]
  |  Branch (2217:5): [True: 70, False: 0]
  |  Branch (2217:5): [True: 70, False: 0]
  |  Branch (2217:5): [True: 70, False: 0]
  ------------------
 2218|       |
 2219|     70|    a += hint;
 2220|     70|    lastofs = 0;
 2221|     70|    ofs = 1;
 2222|     70|    IFLT(key, *a) {
  ------------------
  |  | 1770|     70|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     70|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 70]
  |  |  ------------------
  |  | 1771|     70|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 38, False: 32]
  |  |  ------------------
  ------------------
 2223|       |        /* key < a[hint] -- gallop left, until
 2224|       |         * a[hint - ofs] <= key < a[hint - lastofs]
 2225|       |         */
 2226|     38|        const Py_ssize_t maxofs = hint + 1;             /* &a[0] is lowest */
 2227|     74|        while (ofs < maxofs) {
  ------------------
  |  Branch (2227:16): [True: 46, False: 28]
  ------------------
 2228|     46|            IFLT(key, *(a-ofs)) {
  ------------------
  |  | 1770|     46|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     46|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 46]
  |  |  ------------------
  |  | 1771|     46|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 36, False: 10]
  |  |  ------------------
  ------------------
 2229|     36|                lastofs = ofs;
 2230|     36|                assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2230:17): [True: 36, False: 0]
  ------------------
 2231|     36|                ofs = (ofs << 1) + 1;
 2232|     36|            }
 2233|     10|            else                /* a[hint - ofs] <= key */
 2234|     10|                break;
 2235|     46|        }
 2236|     38|        if (ofs > maxofs)
  ------------------
  |  Branch (2236:13): [True: 4, False: 34]
  ------------------
 2237|      4|            ofs = maxofs;
 2238|       |        /* Translate back to positive offsets relative to &a[0]. */
 2239|     38|        k = lastofs;
 2240|     38|        lastofs = hint - ofs;
 2241|     38|        ofs = hint - k;
 2242|     38|    }
 2243|     32|    else {
 2244|       |        /* a[hint] <= key -- gallop right, until
 2245|       |         * a[hint + lastofs] <= key < a[hint + ofs]
 2246|       |        */
 2247|     32|        const Py_ssize_t maxofs = n - hint;             /* &a[n-1] is highest */
 2248|     80|        while (ofs < maxofs) {
  ------------------
  |  Branch (2248:16): [True: 70, False: 10]
  ------------------
 2249|     70|            IFLT(key, a[ofs])
  ------------------
  |  | 1770|     70|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     70|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 70]
  |  |  ------------------
  |  | 1771|     70|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 22, False: 48]
  |  |  ------------------
  ------------------
 2250|     22|                break;
 2251|       |            /* a[hint + ofs] <= key */
 2252|     48|            lastofs = ofs;
 2253|     48|            assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2253:13): [True: 48, False: 0]
  ------------------
 2254|     48|            ofs = (ofs << 1) + 1;
 2255|     48|        }
 2256|     32|        if (ofs > maxofs)
  ------------------
  |  Branch (2256:13): [True: 0, False: 32]
  ------------------
 2257|      0|            ofs = maxofs;
 2258|       |        /* Translate back to offsets relative to &a[0]. */
 2259|     32|        lastofs += hint;
 2260|     32|        ofs += hint;
 2261|     32|    }
 2262|     70|    a -= hint;
 2263|       |
 2264|     70|    assert(-1 <= lastofs && lastofs < ofs && ofs <= n);
  ------------------
  |  Branch (2264:5): [True: 70, False: 0]
  |  Branch (2264:5): [True: 70, False: 0]
  |  Branch (2264:5): [True: 70, False: 0]
  ------------------
 2265|       |    /* Now a[lastofs] <= key < a[ofs], so key belongs somewhere to the
 2266|       |     * right of lastofs but no farther right than ofs.  Do a binary
 2267|       |     * search, with invariant a[lastofs-1] <= key < a[ofs].
 2268|       |     */
 2269|     70|    ++lastofs;
 2270|    152|    while (lastofs < ofs) {
  ------------------
  |  Branch (2270:12): [True: 82, False: 70]
  ------------------
 2271|     82|        Py_ssize_t m = lastofs + ((ofs - lastofs) >> 1);
 2272|       |
 2273|     82|        IFLT(key, a[m])
  ------------------
  |  | 1770|     82|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     82|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 82]
  |  |  ------------------
  |  | 1771|     82|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 44, False: 38]
  |  |  ------------------
  ------------------
 2274|     44|            ofs = m;                    /* key < a[m] */
 2275|     38|        else
 2276|     38|            lastofs = m+1;              /* a[m] <= key */
 2277|     82|    }
 2278|     70|    assert(lastofs == ofs);             /* so a[ofs-1] <= key < a[ofs] */
  ------------------
  |  Branch (2278:5): [True: 70, False: 0]
  ------------------
 2279|     70|    return ofs;
 2280|       |
 2281|      0|fail:
 2282|      0|    return -1;
 2283|     70|}
listobject.c:gallop_left:
 2123|     64|{
 2124|     64|    Py_ssize_t ofs;
 2125|     64|    Py_ssize_t lastofs;
 2126|     64|    Py_ssize_t k;
 2127|       |
 2128|     64|    assert(key && a && n > 0 && hint >= 0 && hint < n);
  ------------------
  |  Branch (2128:5): [True: 64, False: 0]
  |  Branch (2128:5): [True: 64, False: 0]
  |  Branch (2128:5): [True: 64, False: 0]
  |  Branch (2128:5): [True: 64, False: 0]
  |  Branch (2128:5): [True: 64, False: 0]
  ------------------
 2129|       |
 2130|     64|    a += hint;
 2131|     64|    lastofs = 0;
 2132|     64|    ofs = 1;
 2133|     64|    IFLT(*a, key) {
  ------------------
  |  | 1770|     64|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     64|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 64]
  |  |  ------------------
  |  | 1771|     64|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 28, False: 36]
  |  |  ------------------
  ------------------
 2134|       |        /* a[hint] < key -- gallop right, until
 2135|       |         * a[hint + lastofs] < key <= a[hint + ofs]
 2136|       |         */
 2137|     28|        const Py_ssize_t maxofs = n - hint;             /* &a[n-1] is highest */
 2138|     58|        while (ofs < maxofs) {
  ------------------
  |  Branch (2138:16): [True: 42, False: 16]
  ------------------
 2139|     42|            IFLT(a[ofs], key) {
  ------------------
  |  | 1770|     42|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     42|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 42]
  |  |  ------------------
  |  | 1771|     42|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 30, False: 12]
  |  |  ------------------
  ------------------
 2140|     30|                lastofs = ofs;
 2141|     30|                assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2141:17): [True: 30, False: 0]
  ------------------
 2142|     30|                ofs = (ofs << 1) + 1;
 2143|     30|            }
 2144|     12|            else                /* key <= a[hint + ofs] */
 2145|     12|                break;
 2146|     42|        }
 2147|     28|        if (ofs > maxofs)
  ------------------
  |  Branch (2147:13): [True: 2, False: 26]
  ------------------
 2148|      2|            ofs = maxofs;
 2149|       |        /* Translate back to offsets relative to &a[0]. */
 2150|     28|        lastofs += hint;
 2151|     28|        ofs += hint;
 2152|     28|    }
 2153|     36|    else {
 2154|       |        /* key <= a[hint] -- gallop left, until
 2155|       |         * a[hint - ofs] < key <= a[hint - lastofs]
 2156|       |         */
 2157|     36|        const Py_ssize_t maxofs = hint + 1;             /* &a[0] is lowest */
 2158|     90|        while (ofs < maxofs) {
  ------------------
  |  Branch (2158:16): [True: 74, False: 16]
  ------------------
 2159|     74|            IFLT(*(a-ofs), key)
  ------------------
  |  | 1770|     74|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     74|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 74]
  |  |  ------------------
  |  | 1771|     74|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 20, False: 54]
  |  |  ------------------
  ------------------
 2160|     20|                break;
 2161|       |            /* key <= a[hint - ofs] */
 2162|     54|            lastofs = ofs;
 2163|     54|            assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2163:13): [True: 54, False: 0]
  ------------------
 2164|     54|            ofs = (ofs << 1) + 1;
 2165|     54|        }
 2166|     36|        if (ofs > maxofs)
  ------------------
  |  Branch (2166:13): [True: 2, False: 34]
  ------------------
 2167|      2|            ofs = maxofs;
 2168|       |        /* Translate back to positive offsets relative to &a[0]. */
 2169|     36|        k = lastofs;
 2170|     36|        lastofs = hint - ofs;
 2171|     36|        ofs = hint - k;
 2172|     36|    }
 2173|     64|    a -= hint;
 2174|       |
 2175|     64|    assert(-1 <= lastofs && lastofs < ofs && ofs <= n);
  ------------------
  |  Branch (2175:5): [True: 64, False: 0]
  |  Branch (2175:5): [True: 64, False: 0]
  |  Branch (2175:5): [True: 64, False: 0]
  ------------------
 2176|       |    /* Now a[lastofs] < key <= a[ofs], so key belongs somewhere to the
 2177|       |     * right of lastofs but no farther right than ofs.  Do a binary
 2178|       |     * search, with invariant a[lastofs-1] < key <= a[ofs].
 2179|       |     */
 2180|     64|    ++lastofs;
 2181|    142|    while (lastofs < ofs) {
  ------------------
  |  Branch (2181:12): [True: 78, False: 64]
  ------------------
 2182|     78|        Py_ssize_t m = lastofs + ((ofs - lastofs) >> 1);
 2183|       |
 2184|     78|        IFLT(a[m], key)
  ------------------
  |  | 1770|     78|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|     78|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 78]
  |  |  ------------------
  |  | 1771|     78|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 36, False: 42]
  |  |  ------------------
  ------------------
 2185|     36|            lastofs = m+1;              /* a[m] < key */
 2186|     42|        else
 2187|     42|            ofs = m;                    /* key <= a[m] */
 2188|     78|    }
 2189|     64|    assert(lastofs == ofs);             /* so a[ofs-1] < key <= a[ofs] */
  ------------------
  |  Branch (2189:5): [True: 64, False: 0]
  ------------------
 2190|     64|    return ofs;
 2191|       |
 2192|      0|fail:
 2193|      0|    return -1;
 2194|     64|}
listobject.c:merge_lo:
 2384|      8|{
 2385|      8|    Py_ssize_t k;
 2386|      8|    sortslice dest;
 2387|      8|    int result = -1;            /* guilty until proved innocent */
 2388|      8|    Py_ssize_t min_gallop;
 2389|       |
 2390|      8|    assert(ms && ssa.keys && ssb.keys && na > 0 && nb > 0);
  ------------------
  |  Branch (2390:5): [True: 8, False: 0]
  |  Branch (2390:5): [True: 8, False: 0]
  |  Branch (2390:5): [True: 8, False: 0]
  |  Branch (2390:5): [True: 8, False: 0]
  |  Branch (2390:5): [True: 8, False: 0]
  ------------------
 2391|      8|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2391:5): [True: 8, False: 0]
  ------------------
 2392|      8|    if (MERGE_GETMEM(ms, na) < 0)
  ------------------
  |  | 2372|      8|#define MERGE_GETMEM(MS, NEED) ((NEED) <= (MS)->alloced ? 0 :   \
  |  |  ------------------
  |  |  |  Branch (2372:33): [True: 8, False: 0]
  |  |  ------------------
  |  | 2373|      8|                                merge_getmem(MS, NEED))
  ------------------
  |  Branch (2392:9): [True: 0, False: 8]
  ------------------
 2393|      0|        return -1;
 2394|      8|    sortslice_memcpy(&ms->a, 0, &ssa, 0, na);
 2395|      8|    dest = ssa;
 2396|      8|    ssa = ms->a;
 2397|       |
 2398|      8|    sortslice_copy_incr(&dest, &ssb);
 2399|      8|    --nb;
 2400|      8|    if (nb == 0)
  ------------------
  |  Branch (2400:9): [True: 0, False: 8]
  ------------------
 2401|      0|        goto Succeed;
 2402|      8|    if (na == 1)
  ------------------
  |  Branch (2402:9): [True: 0, False: 8]
  ------------------
 2403|      0|        goto CopyB;
 2404|       |
 2405|      8|    min_gallop = ms->min_gallop;
 2406|     26|    for (;;) {
 2407|     26|        Py_ssize_t acount = 0;          /* # of times A won in a row */
 2408|     26|        Py_ssize_t bcount = 0;          /* # of times B won in a row */
 2409|       |
 2410|       |        /* Do the straightforward thing until (if ever) one run
 2411|       |         * appears to win consistently.
 2412|       |         */
 2413|    562|        for (;;) {
 2414|    562|            assert(na > 1 && nb > 0);
  ------------------
  |  Branch (2414:13): [True: 562, False: 0]
  |  Branch (2414:13): [True: 562, False: 0]
  ------------------
 2415|    562|            k = ISLT(ssb.keys[0], ssa.keys[0]);
  ------------------
  |  | 1764|    562|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  ------------------
 2416|    562|            if (k) {
  ------------------
  |  Branch (2416:17): [True: 256, False: 306]
  ------------------
 2417|    256|                if (k < 0)
  ------------------
  |  Branch (2417:21): [True: 0, False: 256]
  ------------------
 2418|      0|                    goto Fail;
 2419|    256|                sortslice_copy_incr(&dest, &ssb);
 2420|    256|                ++bcount;
 2421|    256|                acount = 0;
 2422|    256|                --nb;
 2423|    256|                if (nb == 0)
  ------------------
  |  Branch (2423:21): [True: 4, False: 252]
  ------------------
 2424|      4|                    goto Succeed;
 2425|    252|                if (bcount >= min_gallop)
  ------------------
  |  Branch (2425:21): [True: 8, False: 244]
  ------------------
 2426|      8|                    break;
 2427|    252|            }
 2428|    306|            else {
 2429|    306|                sortslice_copy_incr(&dest, &ssa);
 2430|    306|                ++acount;
 2431|    306|                bcount = 0;
 2432|    306|                --na;
 2433|    306|                if (na == 1)
  ------------------
  |  Branch (2433:21): [True: 0, False: 306]
  ------------------
 2434|      0|                    goto CopyB;
 2435|    306|                if (acount >= min_gallop)
  ------------------
  |  Branch (2435:21): [True: 14, False: 292]
  ------------------
 2436|     14|                    break;
 2437|    306|            }
 2438|    562|        }
 2439|       |
 2440|       |        /* One run is winning so consistently that galloping may
 2441|       |         * be a huge win.  So try that, and continue galloping until
 2442|       |         * (if ever) neither run appears to be winning consistently
 2443|       |         * anymore.
 2444|       |         */
 2445|     22|        ++min_gallop;
 2446|     32|        do {
 2447|     32|            assert(na > 1 && nb > 0);
  ------------------
  |  Branch (2447:13): [True: 32, False: 0]
  |  Branch (2447:13): [True: 32, False: 0]
  ------------------
 2448|     32|            min_gallop -= min_gallop > 1;
 2449|     32|            ms->min_gallop = min_gallop;
 2450|     32|            k = gallop_right(ms, ssb.keys[0], ssa.keys, na, 0);
 2451|     32|            acount = k;
 2452|     32|            if (k) {
  ------------------
  |  Branch (2452:17): [True: 18, False: 14]
  ------------------
 2453|     18|                if (k < 0)
  ------------------
  |  Branch (2453:21): [True: 0, False: 18]
  ------------------
 2454|      0|                    goto Fail;
 2455|     18|                sortslice_memcpy(&dest, 0, &ssa, 0, k);
 2456|     18|                sortslice_advance(&dest, k);
 2457|     18|                sortslice_advance(&ssa, k);
 2458|     18|                na -= k;
 2459|     18|                if (na == 1)
  ------------------
  |  Branch (2459:21): [True: 2, False: 16]
  ------------------
 2460|      2|                    goto CopyB;
 2461|       |                /* na==0 is impossible now if the comparison
 2462|       |                 * function is consistent, but we can't assume
 2463|       |                 * that it is.
 2464|       |                 */
 2465|     16|                if (na == 0)
  ------------------
  |  Branch (2465:21): [True: 0, False: 16]
  ------------------
 2466|      0|                    goto Succeed;
 2467|     16|            }
 2468|     30|            sortslice_copy_incr(&dest, &ssb);
 2469|     30|            --nb;
 2470|     30|            if (nb == 0)
  ------------------
  |  Branch (2470:17): [True: 2, False: 28]
  ------------------
 2471|      2|                goto Succeed;
 2472|       |
 2473|     28|            k = gallop_left(ms, ssa.keys[0], ssb.keys, nb, 0);
 2474|     28|            bcount = k;
 2475|     28|            if (k) {
  ------------------
  |  Branch (2475:17): [True: 14, False: 14]
  ------------------
 2476|     14|                if (k < 0)
  ------------------
  |  Branch (2476:21): [True: 0, False: 14]
  ------------------
 2477|      0|                    goto Fail;
 2478|     14|                sortslice_memmove(&dest, 0, &ssb, 0, k);
 2479|     14|                sortslice_advance(&dest, k);
 2480|     14|                sortslice_advance(&ssb, k);
 2481|     14|                nb -= k;
 2482|     14|                if (nb == 0)
  ------------------
  |  Branch (2482:21): [True: 0, False: 14]
  ------------------
 2483|      0|                    goto Succeed;
 2484|     14|            }
 2485|     28|            sortslice_copy_incr(&dest, &ssa);
 2486|     28|            --na;
 2487|     28|            if (na == 1)
  ------------------
  |  Branch (2487:17): [True: 0, False: 28]
  ------------------
 2488|      0|                goto CopyB;
 2489|     28|        } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1783|     56|#define MIN_GALLOP 7
  ------------------
                      } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1783|     20|#define MIN_GALLOP 7
  ------------------
  |  Branch (2489:18): [True: 8, False: 20]
  |  Branch (2489:42): [True: 2, False: 18]
  ------------------
 2490|     18|        ++min_gallop;           /* penalize it for leaving galloping mode */
 2491|     18|        ms->min_gallop = min_gallop;
 2492|     18|    }
 2493|      6|Succeed:
 2494|      6|    result = 0;
 2495|      6|Fail:
 2496|      6|    if (na)
  ------------------
  |  Branch (2496:9): [True: 6, False: 0]
  ------------------
 2497|      6|        sortslice_memcpy(&dest, 0, &ssa, 0, na);
 2498|      6|    return result;
 2499|      2|CopyB:
 2500|      2|    assert(na == 1 && nb > 0);
  ------------------
  |  Branch (2500:5): [True: 2, False: 0]
  |  Branch (2500:5): [True: 2, False: 0]
  ------------------
 2501|       |    /* The last element of ssa belongs at the end of the merge. */
 2502|      2|    sortslice_memmove(&dest, 0, &ssb, 0, nb);
 2503|      2|    sortslice_copy(&dest, nb, &ssa, 0);
 2504|      2|    return 0;
 2505|      2|}
listobject.c:sortslice_memcpy:
 1736|     58|{
 1737|     58|    memcpy(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
 1738|     58|    if (s1->values != NULL)
  ------------------
  |  Branch (1738:9): [True: 0, False: 58]
  ------------------
 1739|      0|        memcpy(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
 1740|     58|}
listobject.c:sortslice_copy_incr:
 1718|    628|{
 1719|    628|    *dst->keys++ = *src->keys++;
 1720|    628|    if (dst->values != NULL)
  ------------------
  |  Branch (1720:9): [True: 0, False: 628]
  ------------------
 1721|      0|        *dst->values++ = *src->values++;
 1722|    628|}
listobject.c:sortslice_memmove:
 1745|     30|{
 1746|     30|    memmove(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
 1747|     30|    if (s1->values != NULL)
  ------------------
  |  Branch (1747:9): [True: 0, False: 30]
  ------------------
 1748|      0|        memmove(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
 1749|     30|}
listobject.c:sortslice_copy:
 1710|      2|{
 1711|      2|    s1->keys[i] = s2->keys[j];
 1712|      2|    if (s1->values != NULL)
  ------------------
  |  Branch (1712:9): [True: 0, False: 2]
  ------------------
 1713|      0|        s1->values[i] = s2->values[j];
 1714|      2|}
listobject.c:merge_hi:
 2516|      6|{
 2517|      6|    Py_ssize_t k;
 2518|      6|    sortslice dest, basea, baseb;
 2519|      6|    int result = -1;            /* guilty until proved innocent */
 2520|      6|    Py_ssize_t min_gallop;
 2521|       |
 2522|      6|    assert(ms && ssa.keys && ssb.keys && na > 0 && nb > 0);
  ------------------
  |  Branch (2522:5): [True: 6, False: 0]
  |  Branch (2522:5): [True: 6, False: 0]
  |  Branch (2522:5): [True: 6, False: 0]
  |  Branch (2522:5): [True: 6, False: 0]
  |  Branch (2522:5): [True: 6, False: 0]
  ------------------
 2523|      6|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2523:5): [True: 6, False: 0]
  ------------------
 2524|      6|    if (MERGE_GETMEM(ms, nb) < 0)
  ------------------
  |  | 2372|      6|#define MERGE_GETMEM(MS, NEED) ((NEED) <= (MS)->alloced ? 0 :   \
  |  |  ------------------
  |  |  |  Branch (2372:33): [True: 6, False: 0]
  |  |  ------------------
  |  | 2373|      6|                                merge_getmem(MS, NEED))
  ------------------
  |  Branch (2524:9): [True: 0, False: 6]
  ------------------
 2525|      0|        return -1;
 2526|      6|    dest = ssb;
 2527|      6|    sortslice_advance(&dest, nb-1);
 2528|      6|    sortslice_memcpy(&ms->a, 0, &ssb, 0, nb);
 2529|      6|    basea = ssa;
 2530|      6|    baseb = ms->a;
 2531|      6|    ssb.keys = ms->a.keys + nb - 1;
 2532|      6|    if (ssb.values != NULL)
  ------------------
  |  Branch (2532:9): [True: 0, False: 6]
  ------------------
 2533|      0|        ssb.values = ms->a.values + nb - 1;
 2534|      6|    sortslice_advance(&ssa, na - 1);
 2535|       |
 2536|      6|    sortslice_copy_decr(&dest, &ssa);
 2537|      6|    --na;
 2538|      6|    if (na == 0)
  ------------------
  |  Branch (2538:9): [True: 0, False: 6]
  ------------------
 2539|      0|        goto Succeed;
 2540|      6|    if (nb == 1)
  ------------------
  |  Branch (2540:9): [True: 0, False: 6]
  ------------------
 2541|      0|        goto CopyA;
 2542|       |
 2543|      6|    min_gallop = ms->min_gallop;
 2544|     14|    for (;;) {
 2545|     14|        Py_ssize_t acount = 0;          /* # of times A won in a row */
 2546|     14|        Py_ssize_t bcount = 0;          /* # of times B won in a row */
 2547|       |
 2548|       |        /* Do the straightforward thing until (if ever) one run
 2549|       |         * appears to win consistently.
 2550|       |         */
 2551|    520|        for (;;) {
 2552|    520|            assert(na > 0 && nb > 1);
  ------------------
  |  Branch (2552:13): [True: 520, False: 0]
  |  Branch (2552:13): [True: 520, False: 0]
  ------------------
 2553|    520|            k = ISLT(ssb.keys[0], ssa.keys[0]);
  ------------------
  |  | 1764|    520|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  ------------------
 2554|    520|            if (k) {
  ------------------
  |  Branch (2554:17): [True: 300, False: 220]
  ------------------
 2555|    300|                if (k < 0)
  ------------------
  |  Branch (2555:21): [True: 0, False: 300]
  ------------------
 2556|      0|                    goto Fail;
 2557|    300|                sortslice_copy_decr(&dest, &ssa);
 2558|    300|                ++acount;
 2559|    300|                bcount = 0;
 2560|    300|                --na;
 2561|    300|                if (na == 0)
  ------------------
  |  Branch (2561:21): [True: 4, False: 296]
  ------------------
 2562|      4|                    goto Succeed;
 2563|    296|                if (acount >= min_gallop)
  ------------------
  |  Branch (2563:21): [True: 8, False: 288]
  ------------------
 2564|      8|                    break;
 2565|    296|            }
 2566|    220|            else {
 2567|    220|                sortslice_copy_decr(&dest, &ssb);
 2568|    220|                ++bcount;
 2569|    220|                acount = 0;
 2570|    220|                --nb;
 2571|    220|                if (nb == 1)
  ------------------
  |  Branch (2571:21): [True: 0, False: 220]
  ------------------
 2572|      0|                    goto CopyA;
 2573|    220|                if (bcount >= min_gallop)
  ------------------
  |  Branch (2573:21): [True: 2, False: 218]
  ------------------
 2574|      2|                    break;
 2575|    220|            }
 2576|    520|        }
 2577|       |
 2578|       |        /* One run is winning so consistently that galloping may
 2579|       |         * be a huge win.  So try that, and continue galloping until
 2580|       |         * (if ever) neither run appears to be winning consistently
 2581|       |         * anymore.
 2582|       |         */
 2583|     10|        ++min_gallop;
 2584|     24|        do {
 2585|     24|            assert(na > 0 && nb > 1);
  ------------------
  |  Branch (2585:13): [True: 24, False: 0]
  |  Branch (2585:13): [True: 24, False: 0]
  ------------------
 2586|     24|            min_gallop -= min_gallop > 1;
 2587|     24|            ms->min_gallop = min_gallop;
 2588|     24|            k = gallop_right(ms, ssb.keys[0], basea.keys, na, na-1);
 2589|     24|            if (k < 0)
  ------------------
  |  Branch (2589:17): [True: 0, False: 24]
  ------------------
 2590|      0|                goto Fail;
 2591|     24|            k = na - k;
 2592|     24|            acount = k;
 2593|     24|            if (k) {
  ------------------
  |  Branch (2593:17): [True: 14, False: 10]
  ------------------
 2594|     14|                sortslice_advance(&dest, -k);
 2595|     14|                sortslice_advance(&ssa, -k);
 2596|     14|                sortslice_memmove(&dest, 1, &ssa, 1, k);
 2597|     14|                na -= k;
 2598|     14|                if (na == 0)
  ------------------
  |  Branch (2598:21): [True: 2, False: 12]
  ------------------
 2599|      2|                    goto Succeed;
 2600|     14|            }
 2601|     22|            sortslice_copy_decr(&dest, &ssb);
 2602|     22|            --nb;
 2603|     22|            if (nb == 1)
  ------------------
  |  Branch (2603:17): [True: 0, False: 22]
  ------------------
 2604|      0|                goto CopyA;
 2605|       |
 2606|     22|            k = gallop_left(ms, ssa.keys[0], baseb.keys, nb, nb-1);
 2607|     22|            if (k < 0)
  ------------------
  |  Branch (2607:17): [True: 0, False: 22]
  ------------------
 2608|      0|                goto Fail;
 2609|     22|            k = nb - k;
 2610|     22|            bcount = k;
 2611|     22|            if (k) {
  ------------------
  |  Branch (2611:17): [True: 14, False: 8]
  ------------------
 2612|     14|                sortslice_advance(&dest, -k);
 2613|     14|                sortslice_advance(&ssb, -k);
 2614|     14|                sortslice_memcpy(&dest, 1, &ssb, 1, k);
 2615|     14|                nb -= k;
 2616|     14|                if (nb == 1)
  ------------------
  |  Branch (2616:21): [True: 0, False: 14]
  ------------------
 2617|      0|                    goto CopyA;
 2618|       |                /* nb==0 is impossible now if the comparison
 2619|       |                 * function is consistent, but we can't assume
 2620|       |                 * that it is.
 2621|       |                 */
 2622|     14|                if (nb == 0)
  ------------------
  |  Branch (2622:21): [True: 0, False: 14]
  ------------------
 2623|      0|                    goto Succeed;
 2624|     14|            }
 2625|     22|            sortslice_copy_decr(&dest, &ssa);
 2626|     22|            --na;
 2627|     22|            if (na == 0)
  ------------------
  |  Branch (2627:17): [True: 0, False: 22]
  ------------------
 2628|      0|                goto Succeed;
 2629|     22|        } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1783|     44|#define MIN_GALLOP 7
  ------------------
                      } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1783|     14|#define MIN_GALLOP 7
  ------------------
  |  Branch (2629:18): [True: 8, False: 14]
  |  Branch (2629:42): [True: 6, False: 8]
  ------------------
 2630|      8|        ++min_gallop;           /* penalize it for leaving galloping mode */
 2631|      8|        ms->min_gallop = min_gallop;
 2632|      8|    }
 2633|      6|Succeed:
 2634|      6|    result = 0;
 2635|      6|Fail:
 2636|      6|    if (nb)
  ------------------
  |  Branch (2636:9): [True: 6, False: 0]
  ------------------
 2637|      6|        sortslice_memcpy(&dest, -(nb-1), &baseb, 0, nb);
 2638|      6|    return result;
 2639|      0|CopyA:
 2640|      0|    assert(nb == 1 && na > 0);
  ------------------
  |  Branch (2640:5): [True: 0, False: 0]
  |  Branch (2640:5): [True: 0, False: 0]
  ------------------
 2641|       |    /* The first element of ssb belongs at the front of the merge. */
 2642|      0|    sortslice_memmove(&dest, 1-na, &ssa, 1-na, na);
 2643|      0|    sortslice_advance(&dest, -na);
 2644|      0|    sortslice_advance(&ssa, -na);
 2645|      0|    sortslice_copy(&dest, 0, &ssb, 0);
 2646|      0|    return 0;
 2647|      0|}
listobject.c:sortslice_copy_decr:
 1726|    570|{
 1727|    570|    *dst->keys-- = *src->keys--;
 1728|    570|    if (dst->values != NULL)
  ------------------
  |  Branch (1728:9): [True: 0, False: 570]
  ------------------
 1729|      0|        *dst->values-- = *src->values--;
 1730|    570|}
listobject.c:sortslice_advance:
 1753|    180|{
 1754|    180|    slice->keys += n;
 1755|    180|    if (slice->values != NULL)
  ------------------
  |  Branch (1755:9): [True: 0, False: 180]
  ------------------
 1756|      0|        slice->values += n;
 1757|    180|}
listobject.c:merge_force_collapse:
 2786|     20|{
 2787|     20|    struct s_slice *p = ms->pending;
 2788|       |
 2789|     20|    assert(ms);
  ------------------
  |  Branch (2789:5): [True: 20, False: 0]
  ------------------
 2790|     26|    while (ms->n > 1) {
  ------------------
  |  Branch (2790:12): [True: 6, False: 20]
  ------------------
 2791|      6|        Py_ssize_t n = ms->n - 2;
 2792|      6|        if (n > 0 && p[n-1].len < p[n+1].len)
  ------------------
  |  Branch (2792:13): [True: 4, False: 2]
  |  Branch (2792:22): [True: 0, False: 4]
  ------------------
 2793|      0|            --n;
 2794|      6|        if (merge_at(ms, n) < 0)
  ------------------
  |  Branch (2794:13): [True: 0, False: 6]
  ------------------
 2795|      0|            return -1;
 2796|      6|    }
 2797|     20|    return 0;
 2798|     20|}
listobject.c:merge_freemem:
 2331|     95|{
 2332|     95|    assert(ms != NULL);
  ------------------
  |  Branch (2332:5): [True: 95, False: 0]
  ------------------
 2333|     95|    if (ms->a.keys != ms->temparray) {
  ------------------
  |  Branch (2333:9): [True: 0, False: 95]
  ------------------
 2334|      0|        PyMem_Free(ms->a.keys);
 2335|       |        ms->a.keys = NULL;
 2336|      0|    }
 2337|     95|}
listobject.c:reverse_slice:
 1677|     15|{
 1678|     15|    assert(lo && hi);
  ------------------
  |  Branch (1678:5): [True: 15, False: 0]
  |  Branch (1678:5): [True: 15, False: 0]
  ------------------
 1679|       |
 1680|     15|    --hi;
 1681|     32|    while (lo < hi) {
  ------------------
  |  Branch (1681:12): [True: 17, False: 15]
  ------------------
 1682|     17|        PyObject *t = *lo;
 1683|     17|        FT_ATOMIC_STORE_PTR_RELEASE(*lo, *hi);
  ------------------
  |  |  166|     17|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1684|     17|        FT_ATOMIC_STORE_PTR_RELEASE(*hi, t);
  ------------------
  |  |  166|     17|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1685|     17|        ++lo;
 1686|     17|        --hi;
 1687|     17|    }
 1688|     15|}
listobject.c:list_slice_subscript:
 3755|     21|{
 3756|     21|    assert(PyList_Check(self));
  ------------------
  |  Branch (3756:5): [True: 21, False: 0]
  ------------------
 3757|     21|    assert(PySlice_Check(item));
  ------------------
  |  Branch (3757:5): [True: 21, False: 0]
  ------------------
 3758|     21|    Py_ssize_t start, stop, step;
 3759|     21|    if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (3759:9): [True: 0, False: 21]
  ------------------
 3760|      0|        return NULL;
 3761|      0|    }
 3762|     21|    return list_slice_wrap((PyListObject *)self, start, stop, step);
 3763|     21|}
listobject.c:list_slice_wrap:
 3736|     21|{
 3737|     21|    PyObject *res = NULL;
 3738|     21|    Py_BEGIN_CRITICAL_SECTION(aa);
  ------------------
  |  |   51|     21|    {
  ------------------
 3739|     21|    Py_ssize_t len = PySlice_AdjustIndices(Py_SIZE(aa), &start, &stop, step);
  ------------------
  |  |  214|     21|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3740|     21|    if (len <= 0) {
  ------------------
  |  Branch (3740:9): [True: 5, False: 16]
  ------------------
 3741|      5|        res = PyList_New(0);
 3742|      5|    }
 3743|     16|    else if (step == 1) {
  ------------------
  |  Branch (3743:14): [True: 12, False: 4]
  ------------------
 3744|     12|        res = list_slice_lock_held(aa, start, stop);
 3745|     12|    }
 3746|      4|    else {
 3747|      4|        res = list_slice_step_lock_held(aa, start, step, len);
 3748|      4|    }
 3749|     21|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     21|    }
  ------------------
 3750|     21|    return res;
 3751|     21|}
listobject.c:list_slice_step_lock_held:
 3716|      4|{
 3717|      4|    PyListObject *np = (PyListObject *)list_new_prealloc(len);
 3718|      4|    if (np == NULL) {
  ------------------
  |  Branch (3718:9): [True: 0, False: 4]
  ------------------
 3719|      0|        return NULL;
 3720|      0|    }
 3721|      4|    size_t cur;
 3722|      4|    Py_ssize_t i;
 3723|      4|    PyObject **src = a->ob_item;
 3724|      4|    PyObject **dest = np->ob_item;
 3725|    140|    for (cur = start, i = 0; i < len;
  ------------------
  |  Branch (3725:30): [True: 136, False: 4]
  ------------------
 3726|    136|            cur += (size_t)step, i++) {
 3727|    136|        PyObject *v = src[cur];
 3728|    136|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|    136|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3729|    136|    }
 3730|      4|    Py_SET_SIZE(np, len);
  ------------------
  |  |  216|      4|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      4|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3731|      4|    return (PyObject *)np;
 3732|      4|}
listobject.c:list_dealloc:
  612|  2.42M|{
  613|  2.42M|    PyListObject *op = (PyListObject *)self;
  614|  2.42M|    Py_ssize_t i;
  615|  2.42M|    PyObject_GC_UnTrack(op);
  616|  2.42M|    if (op->ob_item != NULL) {
  ------------------
  |  Branch (616:9): [True: 2.42M, False: 3.08k]
  ------------------
  617|       |        /* Do it backwards, for Christian Tismer.
  618|       |           There's a simple test case where somehow this reduces
  619|       |           thrashing when a *very* large list is created and
  620|       |           immediately deleted. */
  621|  2.42M|        i = Py_SIZE(op);
  ------------------
  |  |  214|  2.42M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.42M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|   292M|        while (--i >= 0) {
  ------------------
  |  Branch (622:16): [True: 289M, False: 2.42M]
  ------------------
  623|   289M|            Py_XDECREF(op->ob_item[i]);
  ------------------
  |  |  621|   289M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   289M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   289M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  624|   289M|        }
  625|  2.42M|        free_list_items(op->ob_item, false);
  626|  2.42M|        op->ob_item = NULL;
  627|  2.42M|    }
  628|  2.42M|    if (PyList_CheckExact(op)) {
  ------------------
  |  |   26|  2.42M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  2.42M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.42M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.42M, False: 502]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  629|  2.42M|        _Py_FREELIST_FREE(lists, op, PyObject_GC_Del);
  ------------------
  |  |   35|  2.42M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  2.42M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  2.42M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   13|  2.42M|#  define Py_lists_MAXFREELIST 80
  |  |  ------------------
  ------------------
  630|  2.42M|    }
  631|    502|    else {
  632|    502|        PyObject_GC_Del(op);
  633|    502|    }
  634|  2.42M|}
listobject.c:list_length:
  705|  2.39k|{
  706|  2.39k|    return PyList_GET_SIZE(a);
  ------------------
  |  |   38|  2.39k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  707|  2.39k|}
listobject.c:list_repeat_impl:
  885|      3|{
  886|      3|    const Py_ssize_t input_size = Py_SIZE(a);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  887|      3|    if (input_size == 0 || n <= 0)
  ------------------
  |  Branch (887:9): [True: 0, False: 3]
  |  Branch (887:28): [True: 0, False: 3]
  ------------------
  888|      0|        return PyList_New(0);
  889|      3|    assert(n > 0);
  ------------------
  |  Branch (889:5): [True: 3, False: 0]
  ------------------
  890|       |
  891|      3|    if (input_size > PY_SSIZE_T_MAX / n)
  ------------------
  |  |  137|      3|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (891:9): [True: 0, False: 3]
  ------------------
  892|      0|        return PyErr_NoMemory();
  893|      3|    Py_ssize_t output_size = input_size * n;
  894|       |
  895|      3|    PyListObject *np = (PyListObject *) list_new_prealloc(output_size);
  896|      3|    if (np == NULL)
  ------------------
  |  Branch (896:9): [True: 0, False: 3]
  ------------------
  897|      0|        return NULL;
  898|       |
  899|      3|    PyObject **dest = np->ob_item;
  900|      3|    if (input_size == 1) {
  ------------------
  |  Branch (900:9): [True: 3, False: 0]
  ------------------
  901|      3|        PyObject *elem = a->ob_item[0];
  902|      3|        _Py_RefcntAdd(elem, n);
  ------------------
  |  |  176|      3|#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  903|      3|        PyObject **dest_end = dest + output_size;
  904|      8|        while (dest < dest_end) {
  ------------------
  |  Branch (904:16): [True: 5, False: 3]
  ------------------
  905|      5|            *dest++ = elem;
  906|      5|        }
  907|      3|    }
  908|      0|    else {
  909|      0|        PyObject **src = a->ob_item;
  910|      0|        PyObject **src_end = src + input_size;
  911|      0|        while (src < src_end) {
  ------------------
  |  Branch (911:16): [True: 0, False: 0]
  ------------------
  912|      0|            _Py_RefcntAdd(*src, n);
  ------------------
  |  |  176|      0|#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  913|      0|            *dest++ = *src++;
  914|      0|        }
  915|       |        // This list is not yet visible to other threads, so atomic repeat
  916|       |        // is not necessary even in Py_GIL_DISABLED builds.
  917|      0|        _Py_memory_repeat((char *)np->ob_item, sizeof(PyObject *)*output_size,
  918|      0|                                        sizeof(PyObject *)*input_size);
  919|      0|    }
  920|       |
  921|      3|    Py_SET_SIZE(np, output_size);
  ------------------
  |  |  216|      3|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      3|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  922|      3|    return (PyObject *) np;
  923|      3|}
listobject.c:list_item:
  730|  1.67k|{
  731|  1.67k|    PyListObject *a = (PyListObject *)aa;
  732|  1.67k|    if (!valid_index(i, PyList_GET_SIZE(a))) {
  ------------------
  |  |   38|  1.67k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (732:9): [True: 34, False: 1.64k]
  ------------------
  733|     34|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  953|     34|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     34|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     34|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|     34|        return NULL;
  735|     34|    }
  736|  1.64k|    PyObject *item;
  737|       |#ifdef Py_GIL_DISABLED
  738|       |    item = list_get_item_ref(a, i);
  739|       |    if (item == NULL) {
  740|       |        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  741|       |        return NULL;
  742|       |    }
  743|       |#else
  744|  1.64k|    item = Py_NewRef(a->ob_item[i]);
  ------------------
  |  |  647|  1.64k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  745|  1.64k|#endif
  746|  1.64k|    return item;
  747|  1.67k|}
listobject.c:list_ass_item_impl:
 1205|     15|{
 1206|     15|    if (!valid_index(i, Py_SIZE(a))) {
  ------------------
  |  |  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 (1206:9): [True: 0, False: 15]
  ------------------
 1207|      0|        PyErr_SetString(PyExc_IndexError,
 1208|      0|                        "list assignment index out of range");
 1209|      0|        return -1;
 1210|      0|    }
 1211|     15|    PyObject *tmp = a->ob_item[i];
 1212|     15|    if (v == NULL) {
  ------------------
  |  Branch (1212:9): [True: 1, False: 14]
  ------------------
 1213|      1|        Py_ssize_t size = Py_SIZE(a);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1214|      1|        if (i < size - 1) {
  ------------------
  |  Branch (1214:13): [True: 0, False: 1]
  ------------------
 1215|      0|            list_shift_items_left_lock_held(a, i, size - 1);
 1216|      0|        }
 1217|      1|        list_resize(a, size - 1);  // NB: shrinking a list can't fail
 1218|      1|    }
 1219|     14|    else {
 1220|     14|        FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item[i], Py_NewRef(v));
  ------------------
  |  |  166|     14|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1221|     14|    }
 1222|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1223|     15|    return 0;
 1224|     15|}
listobject.c:list_contains:
  711|    252|{
  712|       |
  713|  1.79k|    for (Py_ssize_t i = 0; ; i++) {
  714|  1.79k|        PyObject *item = list_get_item_ref((PyListObject *)aa, i);
  715|  1.79k|        if (item == NULL) {
  ------------------
  |  Branch (715:13): [True: 174, False: 1.61k]
  ------------------
  716|       |            // out-of-bounds
  717|    174|            return 0;
  718|    174|        }
  719|  1.61k|        int cmp = PyObject_RichCompareBool(item, el, Py_EQ);
  ------------------
  |  |  654|  1.61k|#define Py_EQ 2
  ------------------
  720|  1.61k|        Py_DECREF(item);
  ------------------
  |  |  430|  1.61k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  721|  1.61k|        if (cmp != 0) {
  ------------------
  |  Branch (721:13): [True: 78, False: 1.53k]
  ------------------
  722|     78|            return cmp;
  723|     78|        }
  724|  1.61k|    }
  725|      0|    return 0;
  726|    252|}
listobject.c:list_inplace_concat:
 1620|      2|{
 1621|      2|    PyListObject *self = (PyListObject *)_self;
 1622|      2|    if (_list_extend(self, other) < 0) {
  ------------------
  |  Branch (1622:9): [True: 0, False: 2]
  ------------------
 1623|      0|        return NULL;
 1624|      0|    }
 1625|      2|    return Py_NewRef(self);
  ------------------
  |  |  647|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1626|      2|}
listobject.c:list_subscript:
 3773|     43|{
 3774|     43|    PyListObject* self = (PyListObject*)_self;
 3775|     43|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (3775:9): [True: 34, False: 9]
  ------------------
 3776|     34|        Py_ssize_t i;
 3777|     34|        i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 3778|     34|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3778:13): [True: 0, False: 34]
  |  Branch (3778:24): [True: 0, False: 0]
  ------------------
 3779|      0|            return NULL;
 3780|     34|        if (i < 0)
  ------------------
  |  Branch (3780:13): [True: 0, False: 34]
  ------------------
 3781|      0|            i += PyList_GET_SIZE(self);
  ------------------
  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3782|     34|        return list_item((PyObject *)self, i);
 3783|     34|    }
 3784|      9|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|      9|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|      9|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 9, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3785|      9|        return list_slice_subscript(_self, item);
 3786|      9|    }
 3787|      0|    else {
 3788|      0|        PyErr_Format(PyExc_TypeError,
 3789|      0|                     "list indices must be integers or slices, not %.200s",
 3790|      0|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3791|       |        return NULL;
 3792|      0|    }
 3793|     43|}
listobject.c:list_ass_subscript:
 3980|     40|{
 3981|     40|    int res;
 3982|       |#ifdef Py_GIL_DISABLED
 3983|       |    if (PySlice_Check(item) && value != NULL && PyList_CheckExact(value)) {
 3984|       |        Py_BEGIN_CRITICAL_SECTION2(self, value);
 3985|       |        res = list_ass_subscript_lock_held(self, item, value);
 3986|       |        Py_END_CRITICAL_SECTION2();
 3987|       |        return res;
 3988|       |    }
 3989|       |#endif
 3990|     40|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     40|    {
  ------------------
 3991|     40|    res = list_ass_subscript_lock_held(self, item, value);
 3992|     40|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     40|    }
  ------------------
 3993|     40|    return res;
 3994|     40|}
listobject.c:list_ass_subscript_lock_held:
 3814|     40|{
 3815|     40|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(_self);
 3816|       |
 3817|     40|    PyListObject *self = (PyListObject *)_self;
 3818|     40|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (3818:9): [True: 14, False: 26]
  ------------------
 3819|     14|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 3820|     14|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3820:13): [True: 7, False: 7]
  |  Branch (3820:24): [True: 0, False: 7]
  ------------------
 3821|      0|            return -1;
 3822|     14|        if (i < 0)
  ------------------
  |  Branch (3822:13): [True: 7, False: 7]
  ------------------
 3823|      7|            i += PyList_GET_SIZE(self);
  ------------------
  |  |   38|      7|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3824|     14|        return list_ass_item_impl(self, i, value);
 3825|     14|    }
 3826|     26|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|     26|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|     26|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 26, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3827|     26|        Py_ssize_t start, stop, step;
 3828|       |
 3829|     26|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (3829:13): [True: 0, False: 26]
  ------------------
 3830|      0|            return -1;
 3831|      0|        }
 3832|       |
 3833|     26|        if (value == NULL) {
  ------------------
  |  Branch (3833:13): [True: 1, False: 25]
  ------------------
 3834|       |            /* delete slice */
 3835|      1|            PyObject **garbage;
 3836|      1|            size_t cur;
 3837|      1|            Py_ssize_t i;
 3838|      1|            int res;
 3839|       |
 3840|      1|            Py_ssize_t slicelength = adjust_slice_indexes(self, &start, &stop,
 3841|      1|                                                          step);
 3842|       |
 3843|      1|            if (step == 1)
  ------------------
  |  Branch (3843:17): [True: 1, False: 0]
  ------------------
 3844|      1|                return list_ass_slice_lock_held(self, start, stop, value);
 3845|       |
 3846|      0|            if (slicelength <= 0)
  ------------------
  |  Branch (3846:17): [True: 0, False: 0]
  ------------------
 3847|      0|                return 0;
 3848|       |
 3849|      0|            if (step < 0) {
  ------------------
  |  Branch (3849:17): [True: 0, False: 0]
  ------------------
 3850|      0|                stop = start + 1;
 3851|      0|                start = stop + step*(slicelength - 1) - 1;
 3852|      0|                step = -step;
 3853|      0|            }
 3854|       |
 3855|      0|            garbage = (PyObject**)
 3856|      0|                PyMem_Malloc(slicelength*sizeof(PyObject*));
 3857|      0|            if (!garbage) {
  ------------------
  |  Branch (3857:17): [True: 0, False: 0]
  ------------------
 3858|      0|                PyErr_NoMemory();
 3859|      0|                return -1;
 3860|      0|            }
 3861|       |
 3862|       |            /* drawing pictures might help understand these for
 3863|       |               loops. Basically, we memmove the parts of the
 3864|       |               list that are *not* part of the slice: step-1
 3865|       |               items for each item that is part of the slice,
 3866|       |               and then tail end of the list that was not
 3867|       |               covered by the slice */
 3868|      0|            for (cur = start, i = 0;
 3869|      0|                 cur < (size_t)stop;
  ------------------
  |  Branch (3869:18): [True: 0, False: 0]
  ------------------
 3870|      0|                 cur += step, i++) {
 3871|      0|                Py_ssize_t lim = step - 1;
 3872|       |
 3873|      0|                garbage[i] = PyList_GET_ITEM(self, cur);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3873:30): [True: 0, False: 0]
  ------------------
 3874|       |
 3875|      0|                if (cur + step >= (size_t)Py_SIZE(self)) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3875:21): [True: 0, False: 0]
  ------------------
 3876|      0|                    lim = Py_SIZE(self) - cur - 1;
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3877|      0|                }
 3878|       |
 3879|      0|                ptr_wise_atomic_memmove(self, self->ob_item + cur - i,
 3880|      0|                    self->ob_item + cur + 1, lim);
 3881|      0|            }
 3882|      0|            cur = start + (size_t)slicelength * step;
 3883|      0|            if (cur < (size_t)Py_SIZE(self)) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3883:17): [True: 0, False: 0]
  ------------------
 3884|      0|                ptr_wise_atomic_memmove(self, self->ob_item + cur - slicelength,
 3885|      0|                    self->ob_item + cur, Py_SIZE(self) - cur);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3886|      0|            }
 3887|       |
 3888|      0|            Py_SET_SIZE(self, Py_SIZE(self) - slicelength);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3889|      0|            res = list_resize(self, Py_SIZE(self));
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3890|       |
 3891|      0|            for (i = 0; i < slicelength; i++) {
  ------------------
  |  Branch (3891:25): [True: 0, False: 0]
  ------------------
 3892|      0|                Py_DECREF(garbage[i]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3893|      0|            }
 3894|      0|            PyMem_Free(garbage);
 3895|       |
 3896|      0|            return res;
 3897|      0|        }
 3898|     25|        else {
 3899|       |            /* assign slice */
 3900|     25|            PyObject *ins, *seq;
 3901|     25|            PyObject **garbage, **seqitems, **selfitems;
 3902|     25|            Py_ssize_t i;
 3903|     25|            size_t cur;
 3904|       |
 3905|       |            /* protect against a[::-1] = a */
 3906|     25|            if (self == (PyListObject*)value) {
  ------------------
  |  Branch (3906:17): [True: 0, False: 25]
  ------------------
 3907|      0|                seq = list_slice_lock_held((PyListObject *)value, 0,
 3908|      0|                                            Py_SIZE(value));
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3909|      0|            }
 3910|     25|            else {
 3911|     25|                seq = PySequence_Fast(value,
 3912|     25|                                      "must assign iterable "
 3913|     25|                                      "to extended slice");
 3914|     25|            }
 3915|     25|            if (!seq)
  ------------------
  |  Branch (3915:17): [True: 0, False: 25]
  ------------------
 3916|      0|                return -1;
 3917|       |
 3918|     25|            Py_ssize_t slicelength = adjust_slice_indexes(self, &start, &stop,
 3919|     25|                                                          step);
 3920|       |
 3921|     25|            if (step == 1) {
  ------------------
  |  Branch (3921:17): [True: 25, False: 0]
  ------------------
 3922|     25|                int res = list_ass_slice_lock_held(self, start, stop, seq);
 3923|     25|                Py_DECREF(seq);
  ------------------
  |  |  430|     25|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3924|     25|                return res;
 3925|     25|            }
 3926|       |
 3927|      0|            if (PySequence_Fast_GET_SIZE(seq) != slicelength) {
  ------------------
  |  |   92|      0|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3927:17): [True: 0, False: 0]
  ------------------
 3928|      0|                PyErr_Format(PyExc_ValueError,
 3929|      0|                    "attempt to assign sequence of "
 3930|      0|                    "size %zd to extended slice of "
 3931|      0|                    "size %zd",
 3932|      0|                         PySequence_Fast_GET_SIZE(seq),
  ------------------
  |  |   92|      0|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3933|      0|                         slicelength);
 3934|      0|                Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3935|      0|                return -1;
 3936|      0|            }
 3937|       |
 3938|      0|            if (!slicelength) {
  ------------------
  |  Branch (3938:17): [True: 0, False: 0]
  ------------------
 3939|      0|                Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3940|      0|                return 0;
 3941|      0|            }
 3942|       |
 3943|      0|            garbage = (PyObject**)
 3944|      0|                PyMem_Malloc(slicelength*sizeof(PyObject*));
 3945|      0|            if (!garbage) {
  ------------------
  |  Branch (3945:17): [True: 0, False: 0]
  ------------------
 3946|      0|                Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3947|      0|                PyErr_NoMemory();
 3948|      0|                return -1;
 3949|      0|            }
 3950|       |
 3951|      0|            selfitems = self->ob_item;
 3952|      0|            seqitems = PySequence_Fast_ITEMS(seq);
  ------------------
  |  |  102|      0|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|      0|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 3953|      0|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (3953:38): [True: 0, False: 0]
  ------------------
 3954|      0|                 cur += (size_t)step, i++) {
 3955|      0|                garbage[i] = selfitems[cur];
 3956|      0|                ins = Py_NewRef(seqitems[i]);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3957|      0|                FT_ATOMIC_STORE_PTR_RELEASE(selfitems[cur], ins);
  ------------------
  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3958|      0|            }
 3959|       |
 3960|      0|            for (i = 0; i < slicelength; i++) {
  ------------------
  |  Branch (3960:25): [True: 0, False: 0]
  ------------------
 3961|      0|                Py_DECREF(garbage[i]);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3962|      0|            }
 3963|       |
 3964|      0|            PyMem_Free(garbage);
 3965|      0|            Py_DECREF(seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3966|       |
 3967|      0|            return 0;
 3968|      0|        }
 3969|     26|    }
 3970|      0|    else {
 3971|      0|        PyErr_Format(PyExc_TypeError,
 3972|      0|                     "list indices must be integers or slices, not %.200s",
 3973|      0|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3974|      0|        return -1;
 3975|      0|    }
 3976|     40|}
listobject.c:adjust_slice_indexes:
 3799|     26|{
 3800|     26|    Py_ssize_t slicelength = PySlice_AdjustIndices(Py_SIZE(lst), start, stop,
  ------------------
  |  |  214|     26|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3801|     26|                                                   step);
 3802|       |
 3803|       |    /* Make sure s[5:2] = [..] inserts at the right place:
 3804|       |        before 5, not before 2. */
 3805|     26|    if ((step < 0 && *start < *stop) ||
  ------------------
  |  Branch (3805:10): [True: 0, False: 26]
  |  Branch (3805:22): [True: 0, False: 0]
  ------------------
 3806|     26|        (step > 0 && *start > *stop))
  ------------------
  |  Branch (3806:10): [True: 26, False: 0]
  |  Branch (3806:22): [True: 0, False: 26]
  ------------------
 3807|      0|        *stop = *start;
 3808|       |
 3809|     26|    return slicelength;
 3810|     26|}
listobject.c:list_traverse:
 3503|  36.8k|{
 3504|  36.8k|    PyListObject *o = (PyListObject *)self;
 3505|  36.8k|    Py_ssize_t i;
 3506|       |
 3507|  10.3M|    for (i = Py_SIZE(o); --i >= 0; )
  ------------------
  |  |  214|  36.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  36.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3507:26): [True: 10.3M, False: 36.8k]
  ------------------
 3508|  10.3M|        Py_VISIT(o->ob_item[i]);
  ------------------
  |  |  194|  10.3M|    do {                                                                \
  |  |  195|  10.3M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 10.3M, False: 160]
  |  |  ------------------
  |  |  196|  10.3M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  10.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  10.3M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 10.3M]
  |  |  ------------------
  |  |  198|  10.3M|                return vret;                                            \
  |  |  199|  10.3M|        }                                                               \
  |  |  200|  10.3M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 10.3M]
  |  |  ------------------
  ------------------
 3509|  36.8k|    return 0;
 3510|  36.8k|}
listobject.c:list_richcompare:
 3580|    612|{
 3581|    612|    PyObject *ret;
 3582|    612|    Py_BEGIN_CRITICAL_SECTION2(v, w);
  ------------------
  |  |   57|    612|    {
  ------------------
 3583|    612|    ret = list_richcompare_impl(v, w, op);
 3584|    612|    Py_END_CRITICAL_SECTION2()
  ------------------
  |  |   61|    612|    }
  ------------------
 3585|    612|    return ret;
 3586|    612|}
listobject.c:list_richcompare_impl:
 3514|    612|{
 3515|    612|    PyListObject *vl, *wl;
 3516|    612|    Py_ssize_t i;
 3517|       |
 3518|    612|    if (!PyList_Check(v) || !PyList_Check(w))
  ------------------
  |  |   25|    612|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.22k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyList_Check(v) || !PyList_Check(w))
  ------------------
  |  |   25|    612|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    612|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3518:9): [True: 0, False: 612]
  |  Branch (3518:29): [True: 97, False: 515]
  ------------------
 3519|     97|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|     97|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|     97|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 3520|       |
 3521|    515|    vl = (PyListObject *)v;
 3522|    515|    wl = (PyListObject *)w;
 3523|       |
 3524|    515|    if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  214|    515|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    515|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    515|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  214|  1.03k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    515|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    515|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  654|     80|#define Py_EQ 2
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (3524:9): [True: 40, False: 475]
  |  Branch (3524:40): [True: 40, False: 0]
  |  Branch (3524:55): [True: 0, False: 0]
  ------------------
 3525|       |        /* Shortcut: if the lengths differ, the lists differ */
 3526|     40|        if (op == Py_EQ)
  ------------------
  |  |  654|     40|#define Py_EQ 2
  ------------------
  |  Branch (3526:13): [True: 40, False: 0]
  ------------------
 3527|     40|            Py_RETURN_FALSE;
  ------------------
  |  |   45|     40|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     40|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3528|      0|        else
 3529|      0|            Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3530|     40|    }
 3531|       |
 3532|       |    /* Search for the first index where items are different.
 3533|       |     * We incref vitem/witem before calling PyObject_RichCompareBool, which may
 3534|       |     * release the GIL and allow the list to be mutated in the meantime.
 3535|       |     */
 3536|    482|    for (i = 0; i < Py_SIZE(vl) && i < Py_SIZE(wl); i++) {
  ------------------
  |  |  214|    964|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    482|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    482|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  for (i = 0; i < Py_SIZE(vl) && i < Py_SIZE(wl); i++) {
  ------------------
  |  |  214|      9|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3536:17): [True: 9, False: 473]
  |  Branch (3536:36): [True: 9, False: 0]
  ------------------
 3537|      9|        PyObject *vitem = vl->ob_item[i];
 3538|      9|        PyObject *witem = wl->ob_item[i];
 3539|      9|        if (vitem == witem) {
  ------------------
  |  Branch (3539:13): [True: 1, False: 8]
  ------------------
 3540|      1|            continue;
 3541|      1|        }
 3542|       |
 3543|      8|        Py_INCREF(vitem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3544|      8|        Py_INCREF(witem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3545|      8|        int k = PyObject_RichCompareBool(vitem, witem, Py_EQ);
  ------------------
  |  |  654|      8|#define Py_EQ 2
  ------------------
 3546|      8|        if (k < 0) {
  ------------------
  |  Branch (3546:13): [True: 0, False: 8]
  ------------------
 3547|      0|            Py_DECREF(vitem);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3548|      0|            Py_DECREF(witem);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3549|      0|            return NULL;
 3550|      0|        }
 3551|      8|        if (!k) {
  ------------------
  |  Branch (3551:13): [True: 2, False: 6]
  ------------------
 3552|       |            /* We have a differing item -- shortcuts for EQ/NE */
 3553|      2|            if (op == Py_EQ) {
  ------------------
  |  |  654|      2|#define Py_EQ 2
  ------------------
  |  Branch (3553:17): [True: 1, False: 1]
  ------------------
 3554|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3555|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3556|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3557|      1|            }
 3558|      1|            if (op == Py_NE) {
  ------------------
  |  |  655|      1|#define Py_NE 3
  ------------------
  |  Branch (3558:17): [True: 1, False: 0]
  ------------------
 3559|      1|                Py_DECREF(vitem);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3560|      1|                Py_DECREF(witem);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3561|      1|                Py_RETURN_TRUE;
  ------------------
  |  |   44|      1|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      1|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3562|      1|            }
 3563|       |            /* Compare the differing items using the proper operator */
 3564|      0|            PyObject *result = PyObject_RichCompare(vitem, witem, op);
 3565|      0|            Py_DECREF(vitem);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3566|      0|            Py_DECREF(witem);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3567|      0|            return result;
 3568|      1|        }
 3569|       |
 3570|      6|        Py_DECREF(vitem);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3571|      6|        Py_DECREF(witem);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3572|      6|    }
 3573|       |
 3574|       |    /* All compared elements were equal -- compare sizes */
 3575|    473|    Py_RETURN_RICHCOMPARE(Py_SIZE(vl), Py_SIZE(wl), op);
  ------------------
  |  |  674|    473|    do {                                                                    \
  |  |  675|    473|        switch (op) {                                                       \
  |  |  676|    470|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|    470|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|    470|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|    470|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    470|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    470|#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: 470, False: 3]
  |  |  |  Branch (676:25): [True: 470, False: 0]
  |  |  ------------------
  |  |  677|    470|        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: 470]
  |  |  |  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: 473]
  |  |  |  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: 473]
  |  |  |  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: 473]
  |  |  |  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: 473]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 473]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|    473|        }                                                                   \
  |  |  685|    473|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3576|    473|}
listobject.c:list___reversed___impl:
 4273|      2|{
 4274|      2|    listreviterobject *it;
 4275|       |
 4276|      2|    it = PyObject_GC_New(listreviterobject, &PyListRevIter_Type);
  ------------------
  |  |  181|      2|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4277|      2|    if (it == NULL)
  ------------------
  |  Branch (4277:9): [True: 0, False: 2]
  ------------------
 4278|      0|        return NULL;
 4279|      2|    assert(PyList_Check(self));
  ------------------
  |  Branch (4279:5): [True: 2, False: 0]
  ------------------
 4280|      2|    it->it_index = PyList_GET_SIZE(self) - 1;
  ------------------
  |  |   38|      2|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4281|      2|    it->it_seq = (PyListObject*)Py_NewRef(self);
  ------------------
  |  |  647|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4282|      2|    PyObject_GC_Track(it);
 4283|      2|    return (PyObject *)it;
 4284|      2|}
listobject.c:list_append_impl:
 1289|    742|{
 1290|    742|    if (_PyList_AppendTakeRef(self, Py_NewRef(object)) < 0) {
  ------------------
  |  |  647|    742|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    742|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    742|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1290:9): [True: 0, False: 742]
  ------------------
 1291|      0|        return NULL;
 1292|      0|    }
 1293|    742|    Py_RETURN_NONE;
  ------------------
  |  |  628|    742|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    742|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1294|    742|}
listobject.c:list_pop_impl:
 1643|    582|{
 1644|    582|    PyObject *v;
 1645|       |
 1646|    582|    if (Py_SIZE(self) == 0) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1646:9): [True: 0, False: 582]
  ------------------
 1647|       |        /* Special-case most common failure cause */
 1648|      0|        PyErr_SetString(PyExc_IndexError, "pop from empty list");
 1649|      0|        return NULL;
 1650|      0|    }
 1651|    582|    if (index < 0)
  ------------------
  |  Branch (1651:9): [True: 582, False: 0]
  ------------------
 1652|    582|        index += Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1653|    582|    if (!valid_index(index, Py_SIZE(self))) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1653:9): [True: 0, False: 582]
  ------------------
 1654|      0|        PyErr_SetString(PyExc_IndexError, "pop index out of range");
 1655|      0|        return NULL;
 1656|      0|    }
 1657|       |
 1658|    582|    PyObject **items = self->ob_item;
 1659|    582|    v = items[index];
 1660|    582|    if (Py_SIZE(self) == 1) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1660:9): [True: 545, False: 37]
  ------------------
 1661|    545|        Py_INCREF(v);
  ------------------
  |  |  310|    545|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    545|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    545|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1662|    545|        list_clear(self);
 1663|    545|        return v;
 1664|    545|    }
 1665|     37|    Py_ssize_t size_after_pop = Py_SIZE(self) - 1;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1666|     37|    if (index < size_after_pop) {
  ------------------
  |  Branch (1666:9): [True: 0, False: 37]
  ------------------
 1667|      0|        ptr_wise_atomic_memmove(self, &items[index], &items[index+1],
 1668|      0|                                size_after_pop - index);
 1669|      0|    }
 1670|     37|    list_resize(self, size_after_pop);  // NB: shrinking a list can't fail
 1671|     37|    return v;
 1672|    582|}
listobject.c:list_remove_impl:
 3481|    502|{
 3482|    502|    Py_ssize_t i;
 3483|       |
 3484|    502|    for (i = 0; i < Py_SIZE(self); i++) {
  ------------------
  |  |  214|    502|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3484:17): [True: 502, False: 0]
  ------------------
 3485|    502|        PyObject *obj = self->ob_item[i];
 3486|    502|        Py_INCREF(obj);
  ------------------
  |  |  310|    502|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3487|    502|        int cmp = PyObject_RichCompareBool(obj, value, Py_EQ);
  ------------------
  |  |  654|    502|#define Py_EQ 2
  ------------------
 3488|    502|        Py_DECREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3489|    502|        if (cmp > 0) {
  ------------------
  |  Branch (3489:13): [True: 502, False: 0]
  ------------------
 3490|    502|            if (list_ass_slice_lock_held(self, i, i+1, NULL) == 0)
  ------------------
  |  Branch (3490:17): [True: 502, False: 0]
  ------------------
 3491|    502|                Py_RETURN_NONE;
  ------------------
  |  |  628|    502|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    502|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3492|      0|            return NULL;
 3493|    502|        }
 3494|      0|        else if (cmp < 0)
  ------------------
  |  Branch (3494:18): [True: 0, False: 0]
  ------------------
 3495|      0|            return NULL;
 3496|    502|    }
 3497|      0|    PyErr_SetString(PyExc_ValueError, "list.remove(x): x not in list");
 3498|       |    return NULL;
 3499|    502|}
listobject.c:list___init___impl:
 3603|    977|{
 3604|       |    /* Verify list invariants */
 3605|    977|    assert(0 <= Py_SIZE(self));
  ------------------
  |  Branch (3605:5): [True: 977, False: 0]
  ------------------
 3606|    977|    assert(Py_SIZE(self) <= self->allocated || self->allocated == -1);
  ------------------
  |  Branch (3606:5): [True: 977, False: 0]
  |  Branch (3606:5): [True: 0, False: 0]
  ------------------
 3607|    977|    assert(self->ob_item != NULL ||
  ------------------
  |  Branch (3607:5): [True: 0, False: 977]
  |  Branch (3607:5): [True: 977, False: 0]
  |  Branch (3607:5): [True: 0, False: 0]
  ------------------
 3608|    977|           self->allocated == 0 || self->allocated == -1);
 3609|       |
 3610|       |    /* Empty previous contents */
 3611|    977|    if (self->ob_item != NULL) {
  ------------------
  |  Branch (3611:9): [True: 0, False: 977]
  ------------------
 3612|      0|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      0|    {
  ------------------
 3613|      0|        list_clear(self);
 3614|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3615|      0|    }
 3616|    977|    if (iterable != NULL) {
  ------------------
  |  Branch (3616:9): [True: 475, False: 502]
  ------------------
 3617|    475|        if (_list_extend(self, iterable) < 0) {
  ------------------
  |  Branch (3617:13): [True: 0, False: 475]
  ------------------
 3618|      0|            return -1;
 3619|      0|        }
 3620|    475|    }
 3621|    977|    return 0;
 3622|    977|}
listobject.c:list_vectorcall:
 3627|    475|{
 3628|    475|    if (!_PyArg_NoKwnames("list", kwnames)) {
  ------------------
  |  |   16|    475|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 475, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3629|      0|        return NULL;
 3630|      0|    }
 3631|    475|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    475|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 3632|    475|    if (!_PyArg_CheckPositional("list", nargs, 0, 1)) {
  ------------------
  |  |   38|    475|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 475, False: 0]
  |  |  |  Branch (38:27): [True: 475, False: 0]
  |  |  ------------------
  |  |   39|    475|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3633|      0|        return NULL;
 3634|      0|    }
 3635|       |
 3636|       |    /* use PyList_New() to make exact lists from the freelist. */
 3637|    475|    PyObject *list = (type == (PyObject *)&PyList_Type
  ------------------
  |  Branch (3637:23): [True: 475, False: 0]
  ------------------
 3638|    475|                      ? PyList_New(0)
 3639|    475|                      : PyType_GenericAlloc(_PyType_CAST(type), 0));
  ------------------
  |  |  770|      0|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3639:45): [True: 0, False: 0]
  ------------------
 3640|    475|    if (list == NULL) {
  ------------------
  |  Branch (3640:9): [True: 0, False: 475]
  ------------------
 3641|      0|        return NULL;
 3642|      0|    }
 3643|    475|    if (nargs) {
  ------------------
  |  Branch (3643:9): [True: 475, False: 0]
  ------------------
 3644|    475|        if (list___init___impl((PyListObject *)list, args[0])) {
  ------------------
  |  Branch (3644:13): [True: 0, False: 475]
  ------------------
 3645|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3646|      0|            return NULL;
 3647|      0|        }
 3648|    475|    }
 3649|    475|    return list;
 3650|    475|}
listobject.c:list_iteritem:
 3998|     84|{
 3999|     84|    PyObject *result = list_get_item_ref((PyListObject *)obj, index);
 4000|     84|    return (_PyObjectIndexPair) { .object = result, .index = index + 1 };
 4001|     84|}
listobject.c:list_iter:
 4113|     56|{
 4114|     56|    if (!PyList_Check(seq)) {
  ------------------
  |  |   25|     56|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     56|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4114:9): [True: 0, False: 56]
  ------------------
 4115|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4116|      0|        return NULL;
 4117|      0|    }
 4118|     56|    _PyListIterObject *it = _Py_FREELIST_POP(_PyListIterObject, list_iters);
  ------------------
  |  |   43|     56|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4119|     56|    if (it == NULL) {
  ------------------
  |  Branch (4119:9): [True: 6, False: 50]
  ------------------
 4120|      6|        it = PyObject_GC_New(_PyListIterObject, &PyListIter_Type);
  ------------------
  |  |  181|      6|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4121|      6|        if (it == NULL) {
  ------------------
  |  Branch (4121:13): [True: 0, False: 6]
  ------------------
 4122|      0|            return NULL;
 4123|      0|        }
 4124|      6|    }
 4125|     56|    it->it_index = 0;
 4126|     56|    it->it_seq = (PyListObject *)Py_NewRef(seq);
  ------------------
  |  |  647|     56|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4127|     56|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  502|     56|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4128|     56|    return (PyObject *)it;
 4129|     56|}
listobject.c:listiter_dealloc:
 4133|     56|{
 4134|     56|    _PyListIterObject *it = (_PyListIterObject *)self;
 4135|     56|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  504|     56|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4136|     56|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|     56|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4137|     56|    assert(Py_IS_TYPE(self, &PyListIter_Type));
  ------------------
  |  Branch (4137:5): [True: 56, False: 0]
  ------------------
 4138|     56|    _Py_FREELIST_FREE(list_iters, it, PyObject_GC_Del);
  ------------------
  |  |   35|     56|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     56|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   14|     56|#  define Py_list_iters_MAXFREELIST 10
  |  |  ------------------
  ------------------
 4139|     56|}
listobject.c:listiter_next:
 4150|  1.33k|{
 4151|  1.33k|    _PyListIterObject *it = (_PyListIterObject *)self;
 4152|  1.33k|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  151|  1.33k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 4153|  1.33k|    if (index < 0) {
  ------------------
  |  Branch (4153:9): [True: 0, False: 1.33k]
  ------------------
 4154|      0|        return NULL;
 4155|      0|    }
 4156|       |
 4157|  1.33k|    PyObject *item = list_get_item_ref(it->it_seq, index);
 4158|  1.33k|    if (item == NULL) {
  ------------------
  |  Branch (4158:9): [True: 53, False: 1.27k]
  ------------------
 4159|       |        // out-of-bounds
 4160|     53|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
  ------------------
  |  |  197|     53|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4161|     53|#ifndef Py_GIL_DISABLED
 4162|     53|        PyListObject *seq = it->it_seq;
 4163|     53|        it->it_seq = NULL;
 4164|     53|        Py_DECREF(seq);
  ------------------
  |  |  430|     53|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     53|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     53|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4165|     53|#endif
 4166|     53|        return NULL;
 4167|     53|    }
 4168|  1.27k|    FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  197|  1.27k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4169|  1.27k|    return item;
 4170|  1.33k|}
listobject.c:listreviter_dealloc:
 4288|      2|{
 4289|      2|    listreviterobject *it = (listreviterobject *)self;
 4290|      2|    PyObject_GC_UnTrack(it);
 4291|      2|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4292|      2|    PyObject_GC_Del(it);
 4293|      2|}

PyLong_FromLong:
  408|   304k|{
  409|       |    PYLONG_FROM_INT(unsigned long, long, ival);
  ------------------
  |  |  371|   304k|    do {                                                                            \
  |  |  372|   304k|        /* Handle small and medium cases. */                                        \
  |  |  373|   304k|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|   304k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|   304k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|   304k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|   304k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 304k, False: 6]
  |  |  |  |  |  |  |  Branch (68:37): [True: 270k, False: 34.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|   270k|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|   270k|        }                                                                           \
  |  |  376|   304k|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  34.7k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  34.7k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  34.7k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  34.7k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  34.7k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  34.7k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 34.7k, False: 0]
  |  |  |  Branch (376:49): [True: 34.6k, False: 132]
  |  |  ------------------
  |  |  377|  34.6k|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|  34.6k|        }                                                                           \
  |  |  379|  34.7k|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 132]
  |  |  ------------------
  |  |  380|    132|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|    132|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|    132|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|    132|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|    132|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|    132|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|    132|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 0, False: 132]
  |  |  ------------------
  |  |  385|      0|            ++ndigits;                                                              \
  |  |  386|      0|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|      0|        }                                                                           \
  |  |  388|    132|        /* Construct output value. */                                               \
  |  |  389|    132|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|    132|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 132]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|    132|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|    132|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 132]
  |  |  ------------------
  |  |  395|    132|        t = abs_ival;                                                               \
  |  |  396|    396|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 264, False: 132]
  |  |  ------------------
  |  |  397|    264|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|    264|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    264|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    264|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|    264|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|    264|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|    264|        }                                                                           \
  |  |  400|    132|        return (PyObject *)v;                                                       \
  |  |  401|    132|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  410|   304k|}
PyLong_FromUnsignedLong:
  446|  2.87k|{
  447|       |    PYLONG_FROM_UINT(unsigned long, ival);
  ------------------
  |  |  413|  2.87k|    do { \
  |  |  414|  2.87k|        /* Handle small and medium cases. */ \
  |  |  415|  2.87k|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|  2.87k|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  2.87k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 1.34k, False: 1.53k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|  1.34k|            return get_small_int((sdigit)(ival)); \
  |  |  417|  1.34k|        } \
  |  |  418|  2.87k|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|  1.53k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  1.53k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.53k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 1, False: 1.53k]
  |  |  ------------------
  |  |  419|      1|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|      1|        } \
  |  |  421|  1.53k|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|  1.53k|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  1.53k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  1.53k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|  1.53k|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|  1.53k|        Py_ssize_t ndigits = 2; \
  |  |  425|  1.53k|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 0, False: 1.53k]
  |  |  ------------------
  |  |  426|      0|            ++ndigits; \
  |  |  427|      0|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      0|        } \
  |  |  429|  1.53k|        /* Construct output value. */ \
  |  |  430|  1.53k|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|  1.53k|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 1.53k]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|  1.53k|        digit *p = v->long_value.ob_digit; \
  |  |  435|  4.59k|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 3.06k, False: 1.53k]
  |  |  ------------------
  |  |  436|  3.06k|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|  3.06k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  3.06k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  3.06k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|  3.06k|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  3.06k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|  3.06k|        } \
  |  |  439|  1.53k|        return (PyObject *)v; \
  |  |  440|  1.53k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  448|  2.87k|}
PyLong_FromUnsignedLongLong:
  454|  2.99k|{
  455|       |    PYLONG_FROM_UINT(unsigned long long, ival);
  ------------------
  |  |  413|  2.99k|    do { \
  |  |  414|  2.99k|        /* Handle small and medium cases. */ \
  |  |  415|  2.99k|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|  2.99k|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  2.99k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 664, False: 2.33k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|    664|            return get_small_int((sdigit)(ival)); \
  |  |  417|    664|        } \
  |  |  418|  2.99k|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|  2.33k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  2.33k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  2.33k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 1.32k, False: 1.00k]
  |  |  ------------------
  |  |  419|  1.32k|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|  1.32k|        } \
  |  |  421|  2.33k|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|  2.33k|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  1.00k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  1.00k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|  1.00k|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|  1.00k|        Py_ssize_t ndigits = 2; \
  |  |  425|  1.00k|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 0, False: 1.00k]
  |  |  ------------------
  |  |  426|      0|            ++ndigits; \
  |  |  427|      0|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      0|        } \
  |  |  429|  1.00k|        /* Construct output value. */ \
  |  |  430|  1.00k|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|  1.00k|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 1.00k]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|  1.00k|        digit *p = v->long_value.ob_digit; \
  |  |  435|  3.01k|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 2.00k, False: 1.00k]
  |  |  ------------------
  |  |  436|  2.00k|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|  2.00k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  2.00k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  2.00k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|  2.00k|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  2.00k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|  2.00k|        } \
  |  |  439|  1.00k|        return (PyObject *)v; \
  |  |  440|  1.00k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  456|  2.99k|}
PyLong_FromSize_t:
  462|     81|{
  463|       |    PYLONG_FROM_UINT(size_t, ival);
  ------------------
  |  |  413|     81|    do { \
  |  |  414|     81|        /* Handle small and medium cases. */ \
  |  |  415|     81|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|     81|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|     81|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 81, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|     81|            return get_small_int((sdigit)(ival)); \
  |  |  417|     81|        } \
  |  |  418|     81|        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|     81|}
PyLong_FromDouble:
  470|     95|{
  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|     95|    const double int_max = (unsigned long)LONG_MAX + 1;
  482|     95|    if (-int_max < dval && dval < int_max) {
  ------------------
  |  Branch (482:9): [True: 95, False: 0]
  |  Branch (482:28): [True: 95, False: 0]
  ------------------
  483|     95|        return PyLong_FromLong((long)dval);
  484|     95|    }
  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|   293k|{
  595|       |    /* This version originally by Tim Peters */
  596|   293k|    PyLongObject *v;
  597|   293k|    long res;
  598|   293k|    Py_ssize_t i;
  599|   293k|    int sign;
  600|   293k|    int do_decref = 0; /* if PyNumber_Index was called */
  601|       |
  602|   293k|    *overflow = 0;
  603|   293k|    if (vv == NULL) {
  ------------------
  |  Branch (603:9): [True: 0, False: 293k]
  ------------------
  604|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  605|      0|        return -1;
  606|      0|    }
  607|       |
  608|   293k|    if (PyLong_Check(vv)) {
  ------------------
  |  |   13|   293k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   293k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 293k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|   293k|        v = (PyLongObject *)vv;
  610|   293k|    }
  611|      0|    else {
  612|      0|        v = (PyLongObject *)_PyNumber_Index(vv);
  613|      0|        if (v == NULL)
  ------------------
  |  Branch (613:13): [True: 0, False: 0]
  ------------------
  614|      0|            return -1;
  615|      0|        do_decref = 1;
  616|      0|    }
  617|   293k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (617:9): [True: 293k, False: 2]
  ------------------
  618|       |#if SIZEOF_LONG < SIZEOF_SIZE_T
  619|       |        Py_ssize_t tmp = _PyLong_CompactValue(v);
  620|       |        if (tmp < LONG_MIN) {
  621|       |            *overflow = -1;
  622|       |            res = -1;
  623|       |        }
  624|       |        else if (tmp > LONG_MAX) {
  625|       |            *overflow = 1;
  626|       |            res = -1;
  627|       |        }
  628|       |        else {
  629|       |            res = (long)tmp;
  630|       |        }
  631|       |#else
  632|   293k|        res = _PyLong_CompactValue(v);
  633|   293k|#endif
  634|   293k|    }
  635|      2|    else {
  636|      2|        res = -1;
  637|      2|        i = _PyLong_DigitCount(v);
  638|      2|        sign = _PyLong_NonCompactSign(v);
  639|       |
  640|      2|        unsigned long x = unroll_digits_ulong(v, &i);
  641|      2|        while (--i >= 0) {
  ------------------
  |  Branch (641:16): [True: 2, False: 0]
  ------------------
  642|      2|            if (x > (ULONG_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|      2|#define PyLong_SHIFT    30
  ------------------
  |  Branch (642:17): [True: 2, False: 0]
  ------------------
  643|      2|                *overflow = sign;
  644|      2|                goto exit;
  645|      2|            }
  646|      0|            x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  647|      0|        }
  648|       |        /* Haven't lost any bits, but casting to long requires extra
  649|       |        * care (see comment above).
  650|       |        */
  651|      0|        if (x <= (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (651:13): [True: 0, False: 0]
  ------------------
  652|      0|            res = (long)x * sign;
  653|      0|        }
  654|      0|        else if (sign < 0 && x == PY_ABS_LONG_MIN) {
  ------------------
  |  |  532|      0|#define PY_ABS_LONG_MIN         (0-(unsigned long)LONG_MIN)
  ------------------
  |  Branch (654:18): [True: 0, False: 0]
  |  Branch (654:30): [True: 0, False: 0]
  ------------------
  655|      0|            res = LONG_MIN;
  656|      0|        }
  657|      0|        else {
  658|      0|            *overflow = sign;
  659|       |            /* res is already set to -1 */
  660|      0|        }
  661|      0|    }
  662|   293k|  exit:
  663|   293k|    if (do_decref) {
  ------------------
  |  Branch (663:9): [True: 0, False: 293k]
  ------------------
  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|   293k|    return res;
  667|   293k|}
PyLong_AsLong:
  674|  1.84k|{
  675|  1.84k|    int overflow;
  676|  1.84k|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  677|  1.84k|    if (overflow) {
  ------------------
  |  Branch (677:9): [True: 2, False: 1.84k]
  ------------------
  678|       |        /* XXX: could be cute and give a different
  679|       |           message for overflow == -1 */
  680|      2|        PyErr_SetString(PyExc_OverflowError,
  681|      2|                        "Python int too large to convert to C long");
  682|      2|    }
  683|  1.84k|    return result;
  684|  1.84k|}
PyLong_AsInt:
  691|   290k|{
  692|   290k|    int overflow;
  693|   290k|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  694|   290k|    if (overflow || result > INT_MAX || result < INT_MIN) {
  ------------------
  |  Branch (694:9): [True: 0, False: 290k]
  |  Branch (694:21): [True: 0, False: 290k]
  |  Branch (694:41): [True: 0, False: 290k]
  ------------------
  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|   290k|    return (int)result;
  702|   290k|}
PyLong_AsSsize_t:
  708|   442k|PyLong_AsSsize_t(PyObject *vv) {
  709|   442k|    PyLongObject *v;
  710|   442k|    Py_ssize_t i;
  711|   442k|    int sign;
  712|       |
  713|   442k|    if (vv == NULL) {
  ------------------
  |  Branch (713:9): [True: 0, False: 442k]
  ------------------
  714|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  715|      0|        return -1;
  716|      0|    }
  717|   442k|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|   442k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   442k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (717:9): [True: 0, False: 442k]
  ------------------
  718|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  719|      0|        return -1;
  720|      0|    }
  721|       |
  722|   442k|    v = (PyLongObject *)vv;
  723|   442k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (723:9): [True: 442k, False: 0]
  ------------------
  724|   442k|        return _PyLong_CompactValue(v);
  725|   442k|    }
  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|    169|{
  759|    169|    PyLongObject *v;
  760|    169|    Py_ssize_t i;
  761|       |
  762|    169|    if (vv == NULL) {
  ------------------
  |  Branch (762:9): [True: 0, False: 169]
  ------------------
  763|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  764|      0|        return (unsigned long)-1;
  765|      0|    }
  766|    169|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|    169|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    169|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (766:9): [True: 0, False: 169]
  ------------------
  767|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  768|      0|        return (unsigned long)-1;
  769|      0|    }
  770|       |
  771|    169|    v = (PyLongObject *)vv;
  772|    169|    if (_PyLong_IsNonNegativeCompact(v)) {
  ------------------
  |  Branch (772:9): [True: 163, False: 6]
  ------------------
  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|    163|        return (unsigned long)(size_t)_PyLong_CompactValue(v);
  782|    163|#endif
  783|    163|    }
  784|      6|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (784:9): [True: 0, False: 6]
  ------------------
  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|      6|    i = _PyLong_DigitCount(v);
  790|       |
  791|      6|    unsigned long x = unroll_digits_ulong(v, &i);
  792|      6|    while (--i >= 0) {
  ------------------
  |  Branch (792:12): [True: 0, False: 6]
  ------------------
  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|      6|    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|      6|}
PyLong_GetSign:
  955|     26|{
  956|     26|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|     26|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     26|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (956:9): [True: 0, False: 26]
  ------------------
  957|      0|        PyErr_Format(PyExc_TypeError, "expect int, got %T", vv);
  958|      0|        return -1;
  959|      0|    }
  960|       |
  961|     26|    *sign = long_sign(vv);
  962|     26|    return 0;
  963|     26|}
_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|    285|{
 1003|    285|    const unsigned char* pstartbyte;    /* LSB of bytes */
 1004|    285|    int incr;                           /* direction to move pstartbyte */
 1005|    285|    const unsigned char* pendbyte;      /* MSB of bytes */
 1006|    285|    size_t numsignificantbytes;         /* number of bytes that matter */
 1007|    285|    Py_ssize_t ndigits;                 /* number of Python int digits */
 1008|    285|    PyLongObject* v;                    /* result */
 1009|    285|    Py_ssize_t idigit = 0;              /* next free index in v->long_value.ob_digit */
 1010|       |
 1011|    285|    if (n == 0)
  ------------------
  |  Branch (1011:9): [True: 0, False: 285]
  ------------------
 1012|      0|        return PyLong_FromLong(0L);
 1013|       |
 1014|    285|    if (little_endian) {
  ------------------
  |  Branch (1014:9): [True: 285, False: 0]
  ------------------
 1015|    285|        pstartbyte = bytes;
 1016|    285|        pendbyte = bytes + n - 1;
 1017|    285|        incr = 1;
 1018|    285|    }
 1019|      0|    else {
 1020|      0|        pstartbyte = bytes + n - 1;
 1021|      0|        pendbyte = bytes;
 1022|      0|        incr = -1;
 1023|      0|    }
 1024|       |
 1025|    285|    if (is_signed)
  ------------------
  |  Branch (1025:9): [True: 0, False: 285]
  ------------------
 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|    285|    {
 1032|    285|        size_t i;
 1033|    285|        const unsigned char* p = pendbyte;
 1034|    285|        const int pincr = -incr;  /* search MSB to LSB */
 1035|    285|        const unsigned char insignificant = is_signed ? 0xff : 0x00;
  ------------------
  |  Branch (1035:45): [True: 0, False: 285]
  ------------------
 1036|       |
 1037|    854|        for (i = 0; i < n; ++i, p += pincr) {
  ------------------
  |  Branch (1037:21): [True: 759, False: 95]
  ------------------
 1038|    759|            if (*p != insignificant)
  ------------------
  |  Branch (1038:17): [True: 190, False: 569]
  ------------------
 1039|    190|                break;
 1040|    759|        }
 1041|    285|        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|    285|        if (is_signed && numsignificantbytes < n)
  ------------------
  |  Branch (1047:13): [True: 0, False: 285]
  |  Branch (1047:26): [True: 0, False: 0]
  ------------------
 1048|      0|            ++numsignificantbytes;
 1049|    285|    }
 1050|       |
 1051|       |    /* avoid integer overflow */
 1052|    285|    ndigits = numsignificantbytes / PyLong_SHIFT * 8
  ------------------
  |  |   47|    285|#define PyLong_SHIFT    30
  ------------------
 1053|    285|        + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|    285|#define PyLong_SHIFT    30
  ------------------
                      + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|    285|#define PyLong_SHIFT    30
  ------------------
                      + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|    285|#define PyLong_SHIFT    30
  ------------------
 1054|    285|    v = long_alloc(ndigits);
 1055|    285|    if (v == NULL)
  ------------------
  |  Branch (1055:9): [True: 0, False: 285]
  ------------------
 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|    285|    {
 1062|    285|        size_t i;
 1063|    285|        twodigits carry = 1;                    /* for 2's-comp calculation */
 1064|    285|        twodigits accum = 0;                    /* sliding register */
 1065|    285|        unsigned int accumbits = 0;             /* number of bits in accum */
 1066|    285|        const unsigned char* p = pstartbyte;
 1067|       |
 1068|    856|        for (i = 0; i < numsignificantbytes; ++i, p += incr) {
  ------------------
  |  Branch (1068:21): [True: 571, False: 285]
  ------------------
 1069|    571|            twodigits thisbyte = *p;
 1070|       |            /* Compute correction for 2's comp, if needed. */
 1071|    571|            if (is_signed) {
  ------------------
  |  Branch (1071:17): [True: 0, False: 571]
  ------------------
 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|    571|            accum |= thisbyte << accumbits;
 1080|    571|            accumbits += 8;
 1081|    571|            if (accumbits >= PyLong_SHIFT) {
  ------------------
  |  |   47|    571|#define PyLong_SHIFT    30
  ------------------
  |  Branch (1081:17): [True: 95, False: 476]
  ------------------
 1082|       |                /* There's enough to fill a Python digit. */
 1083|     95|                assert(idigit < ndigits);
  ------------------
  |  Branch (1083:17): [True: 95, False: 0]
  ------------------
 1084|     95|                v->long_value.ob_digit[idigit] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|     95|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|     95|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     95|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|     95|                ++idigit;
 1086|     95|                accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|     95|#define PyLong_SHIFT    30
  ------------------
 1087|     95|                accumbits -= PyLong_SHIFT;
  ------------------
  |  |   47|     95|#define PyLong_SHIFT    30
  ------------------
 1088|     95|                assert(accumbits < PyLong_SHIFT);
  ------------------
  |  Branch (1088:17): [True: 95, False: 0]
  ------------------
 1089|     95|            }
 1090|    571|        }
 1091|    285|        assert(accumbits < PyLong_SHIFT);
  ------------------
  |  Branch (1091:9): [True: 285, False: 0]
  ------------------
 1092|    285|        if (accumbits) {
  ------------------
  |  Branch (1092:13): [True: 190, False: 95]
  ------------------
 1093|    190|            assert(idigit < ndigits);
  ------------------
  |  Branch (1093:13): [True: 190, False: 0]
  ------------------
 1094|    190|            v->long_value.ob_digit[idigit] = (digit)accum;
 1095|    190|            ++idigit;
 1096|    190|        }
 1097|    285|    }
 1098|       |
 1099|    285|    int sign = is_signed ? -1: 1;
  ------------------
  |  Branch (1099:16): [True: 0, False: 285]
  ------------------
 1100|    285|    if (idigit == 0) {
  ------------------
  |  Branch (1100:9): [True: 95, False: 190]
  ------------------
 1101|     95|        sign = 0;
 1102|     95|        v->long_value.ob_digit[0] = 0;
 1103|     95|    }
 1104|    285|    _PyLong_SetSignAndDigitCount(v, sign, idigit);
 1105|    285|    return (PyObject *)maybe_small_long(long_normalize(v));
 1106|    285|}
_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|  1.53k|{
 1510|  1.53k|#if SIZEOF_VOID_P <= SIZEOF_LONG
 1511|  1.53k|    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|  1.53k|}
PyLong_FromLongLong:
 1567|  4.65k|{
 1568|       |    PYLONG_FROM_INT(unsigned long long, long long, ival);
  ------------------
  |  |  371|  4.65k|    do {                                                                            \
  |  |  372|  4.65k|        /* Handle small and medium cases. */                                        \
  |  |  373|  4.65k|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  4.65k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  4.65k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  4.65k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  4.65k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 4.65k, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 6, False: 4.64k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|      6|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|      6|        }                                                                           \
  |  |  376|  4.65k|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  4.64k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  4.64k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  4.64k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  4.64k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  4.64k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  4.64k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 4.64k, False: 0]
  |  |  |  Branch (376:49): [True: 660, False: 3.98k]
  |  |  ------------------
  |  |  377|    660|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|    660|        }                                                                           \
  |  |  379|  4.64k|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 3.98k]
  |  |  ------------------
  |  |  380|  3.98k|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|  3.98k|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  3.98k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  3.98k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|  3.98k|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|  3.98k|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|  5.97k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 1.99k, False: 3.98k]
  |  |  ------------------
  |  |  385|  1.99k|            ++ndigits;                                                              \
  |  |  386|  1.99k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  1.99k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|  1.99k|        }                                                                           \
  |  |  388|  3.98k|        /* Construct output value. */                                               \
  |  |  389|  3.98k|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|  3.98k|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 3.98k]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|  3.98k|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|  3.98k|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 3.98k]
  |  |  ------------------
  |  |  395|  3.98k|        t = abs_ival;                                                               \
  |  |  396|  13.9k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 9.96k, False: 3.98k]
  |  |  ------------------
  |  |  397|  9.96k|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|  9.96k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  9.96k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  9.96k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|  9.96k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  9.96k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|  9.96k|        }                                                                           \
  |  |  400|  3.98k|        return (PyObject *)v;                                                       \
  |  |  401|  3.98k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1569|  4.65k|}
PyLong_FromSsize_t:
 1575|   792k|{
 1576|       |    PYLONG_FROM_INT(size_t, Py_ssize_t, ival);
  ------------------
  |  |  371|   792k|    do {                                                                            \
  |  |  372|   792k|        /* Handle small and medium cases. */                                        \
  |  |  373|   792k|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|   792k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|   792k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|   792k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|   792k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 792k, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 775k, False: 16.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|   775k|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|   775k|        }                                                                           \
  |  |  376|   792k|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  16.9k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  16.9k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  16.9k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  16.9k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  16.9k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  16.9k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 16.9k, False: 0]
  |  |  |  Branch (376:49): [True: 16.9k, False: 4]
  |  |  ------------------
  |  |  377|  16.9k|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|  16.9k|        }                                                                           \
  |  |  379|  16.9k|        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|   792k|}
PyLong_FromString:
 3053|     16|{
 3054|     16|    int sign = 1, error_if_nonzero = 0;
 3055|     16|    const char *orig_str = str;
 3056|     16|    PyLongObject *z = NULL;
 3057|     16|    PyObject *strobj;
 3058|     16|    Py_ssize_t slen;
 3059|       |
 3060|     16|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (3060:10): [True: 16, False: 0]
  |  Branch (3060:23): [True: 0, False: 16]
  |  Branch (3060:36): [True: 0, False: 16]
  ------------------
 3061|      0|        PyErr_SetString(PyExc_ValueError,
 3062|      0|                        "int() arg 2 must be >= 2 and <= 36");
 3063|      0|        return NULL;
 3064|      0|    }
 3065|     16|    while (*str != '\0' && Py_ISSPACE(*str)) {
  ------------------
  |  |   27|     16|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  170|     16|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|     16|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 16]
  |  |  ------------------
  ------------------
  |  Branch (3065:12): [True: 16, False: 0]
  ------------------
 3066|      0|        ++str;
 3067|      0|    }
 3068|     16|    if (*str == '+') {
  ------------------
  |  Branch (3068:9): [True: 0, False: 16]
  ------------------
 3069|      0|        ++str;
 3070|      0|    }
 3071|     16|    else if (*str == '-') {
  ------------------
  |  Branch (3071:14): [True: 0, False: 16]
  ------------------
 3072|      0|        ++str;
 3073|      0|        sign = -1;
 3074|      0|    }
 3075|     16|    if (base == 0) {
  ------------------
  |  Branch (3075:9): [True: 0, False: 16]
  ------------------
 3076|      0|        if (str[0] != '0') {
  ------------------
  |  Branch (3076:13): [True: 0, False: 0]
  ------------------
 3077|      0|            base = 10;
 3078|      0|        }
 3079|      0|        else if (str[1] == 'x' || str[1] == 'X') {
  ------------------
  |  Branch (3079:18): [True: 0, False: 0]
  |  Branch (3079:35): [True: 0, False: 0]
  ------------------
 3080|      0|            base = 16;
 3081|      0|        }
 3082|      0|        else if (str[1] == 'o' || str[1] == 'O') {
  ------------------
  |  Branch (3082:18): [True: 0, False: 0]
  |  Branch (3082:35): [True: 0, False: 0]
  ------------------
 3083|      0|            base = 8;
 3084|      0|        }
 3085|      0|        else if (str[1] == 'b' || str[1] == 'B') {
  ------------------
  |  Branch (3085:18): [True: 0, False: 0]
  |  Branch (3085:35): [True: 0, False: 0]
  ------------------
 3086|      0|            base = 2;
 3087|      0|        }
 3088|      0|        else {
 3089|       |            /* "old" (C-style) octal literal, now invalid.
 3090|       |               it might still be zero though */
 3091|      0|            error_if_nonzero = 1;
 3092|      0|            base = 10;
 3093|      0|        }
 3094|      0|    }
 3095|     16|    if (str[0] == '0' &&
  ------------------
  |  Branch (3095:9): [True: 16, False: 0]
  ------------------
 3096|     16|        ((base == 16 && (str[1] == 'x' || str[1] == 'X')) ||
  ------------------
  |  Branch (3096:11): [True: 0, False: 16]
  |  Branch (3096:26): [True: 0, False: 0]
  |  Branch (3096:43): [True: 0, False: 0]
  ------------------
 3097|     16|         (base == 8  && (str[1] == 'o' || str[1] == 'O')) ||
  ------------------
  |  Branch (3097:11): [True: 0, False: 16]
  |  Branch (3097:26): [True: 0, False: 0]
  |  Branch (3097:43): [True: 0, False: 0]
  ------------------
 3098|     16|         (base == 2  && (str[1] == 'b' || str[1] == 'B')))) {
  ------------------
  |  Branch (3098:11): [True: 16, False: 0]
  |  Branch (3098:26): [True: 0, False: 16]
  |  Branch (3098:43): [True: 0, False: 16]
  ------------------
 3099|      0|        str += 2;
 3100|       |        /* One underscore allowed here. */
 3101|      0|        if (*str == '_') {
  ------------------
  |  Branch (3101:13): [True: 0, False: 0]
  ------------------
 3102|      0|            ++str;
 3103|      0|        }
 3104|      0|    }
 3105|       |
 3106|       |    /* long_from_string_base is the main workhorse here. */
 3107|     16|    int ret = long_from_string_base(&str, base, &z);
 3108|     16|    if (ret == -1) {
  ------------------
  |  Branch (3108:9): [True: 0, False: 16]
  ------------------
 3109|       |        /* Syntax error. */
 3110|      0|        goto onError;
 3111|      0|    }
 3112|     16|    if (z == NULL) {
  ------------------
  |  Branch (3112:9): [True: 0, False: 16]
  ------------------
 3113|       |        /* Error. exception already set. */
 3114|      0|        return NULL;
 3115|      0|    }
 3116|       |
 3117|     16|    if (error_if_nonzero) {
  ------------------
  |  Branch (3117:9): [True: 0, False: 16]
  ------------------
 3118|       |        /* reset the base to 0, else the exception message
 3119|       |           doesn't make too much sense */
 3120|      0|        base = 0;
 3121|      0|        if (!_PyLong_IsZero(z)) {
  ------------------
  |  Branch (3121:13): [True: 0, False: 0]
  ------------------
 3122|      0|            goto onError;
 3123|      0|        }
 3124|       |        /* there might still be other problems, therefore base
 3125|       |           remains zero here for the same reason */
 3126|      0|    }
 3127|       |
 3128|       |    /* Set sign and normalize */
 3129|     16|    long_normalize(z);
 3130|     16|    z = maybe_small_long(z);
 3131|     16|    if (sign < 0) {
  ------------------
  |  Branch (3131:9): [True: 0, False: 16]
  ------------------
 3132|      0|        _PyLong_Negate(&z);
 3133|      0|    }
 3134|       |
 3135|     16|    if (pend != NULL) {
  ------------------
  |  Branch (3135:9): [True: 16, False: 0]
  ------------------
 3136|     16|        *pend = (char *)str;
 3137|     16|    }
 3138|     16|    return (PyObject *) z;
 3139|       |
 3140|      0|  onError:
 3141|      0|    if (pend != NULL) {
  ------------------
  |  Branch (3141:9): [True: 0, False: 0]
  ------------------
 3142|      0|        *pend = (char *)str;
 3143|      0|    }
 3144|      0|    Py_XDECREF(z);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3145|      0|    slen = strlen(orig_str) < 200 ? strlen(orig_str) : 200;
  ------------------
  |  Branch (3145:12): [True: 0, False: 0]
  ------------------
 3146|      0|    strobj = PyUnicode_FromStringAndSize(orig_str, slen);
 3147|      0|    if (strobj == NULL) {
  ------------------
  |  Branch (3147:9): [True: 0, False: 0]
  ------------------
 3148|      0|        return NULL;
 3149|      0|    }
 3150|      0|    PyErr_Format(PyExc_ValueError,
 3151|      0|                 "invalid literal for int() with base %d: %.200R",
 3152|      0|                 base, strobj);
 3153|      0|    Py_DECREF(strobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3154|       |    return NULL;
 3155|      0|}
_PyLong_FromBytes:
 3164|     16|{
 3165|     16|    PyObject *result, *strobj;
 3166|     16|    char *end = NULL;
 3167|       |
 3168|     16|    result = PyLong_FromString(s, &end, base);
 3169|     16|    if (end == NULL || (result != NULL && end == s + len))
  ------------------
  |  Branch (3169:9): [True: 0, False: 16]
  |  Branch (3169:25): [True: 16, False: 0]
  |  Branch (3169:43): [True: 16, False: 0]
  ------------------
 3170|     16|        return result;
 3171|      0|    Py_XDECREF(result);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3172|      0|    strobj = PyBytes_FromStringAndSize(s, Py_MIN(len, 200));
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3173|      0|    if (strobj != NULL) {
  ------------------
  |  Branch (3173:9): [True: 0, False: 0]
  ------------------
 3174|      0|        PyErr_Format(PyExc_ValueError,
 3175|      0|                     "invalid literal for int() with base %d: %.200R",
 3176|      0|                     base, strobj);
 3177|      0|        Py_DECREF(strobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3178|      0|    }
 3179|       |    return NULL;
 3180|     16|}
_PyLong_ExactDealloc:
 3634|    532|{
 3635|    532|    assert(PyLong_CheckExact(self));
  ------------------
  |  Branch (3635:5): [True: 532, False: 0]
  ------------------
 3636|    532|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3636:9): [True: 0, False: 532]
  ------------------
 3637|       |        // See PEP 683, section Accidental De-Immortalizing for details
 3638|      0|        _Py_SetImmortal(self);
 3639|      0|        return;
 3640|      0|    }
 3641|    532|    if (_PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  Branch (3641:9): [True: 507, False: 25]
  ------------------
 3642|    507|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|    507|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    507|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    507|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    507|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|    507|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3643|    507|        return;
 3644|    507|    }
 3645|     25|    PyObject_Free(self);
 3646|     25|}
_PyCompactLong_Add:
 3877|    255|{
 3878|    255|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (3878:5): [True: 255, False: 0]
  ------------------
 3879|    255|    stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|    255|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|    255|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3880|    255|    return medium_from_stwodigits(v);
 3881|    255|}
_PyCompactLong_Subtract:
 3922|    539|{
 3923|    539|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (3923:5): [True: 539, False: 0]
  ------------------
 3924|    539|    stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|    539|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|    539|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3925|    539|    return medium_from_stwodigits(v);
 3926|    539|}
_PyCompactLong_Multiply:
 4369|      8|{
 4370|      8|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (4370:5): [True: 8, False: 0]
  ------------------
 4371|      8|    stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|      8|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|      8|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 4372|      8|    return medium_from_stwodigits(v);
 4373|      8|}
PyLong_GetInfo:
 6743|      2|{
 6744|      2|    PyObject* int_info;
 6745|      2|    int field = 0;
 6746|      2|    int_info = PyStructSequence_New(&Int_InfoType);
 6747|      2|    if (int_info == NULL)
  ------------------
  |  Branch (6747:9): [True: 0, False: 2]
  ------------------
 6748|      0|        return NULL;
 6749|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6750|      2|                              PyLong_FromLong(PyLong_SHIFT));
  ------------------
  |  |   47|      2|#define PyLong_SHIFT    30
  ------------------
 6751|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6752|      2|                              PyLong_FromLong(sizeof(digit)));
 6753|       |    /*
 6754|       |     * The following two fields were added after investigating uses of
 6755|       |     * sys.int_info in the wild: Exceedingly rarely used. The ONLY use found was
 6756|       |     * numba using sys.int_info.bits_per_digit as attribute access rather than
 6757|       |     * sequence unpacking. Cython and sympy also refer to sys.int_info but only
 6758|       |     * as info for debugging. No concern about adding these in a backport.
 6759|       |     */
 6760|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6761|      2|                              PyLong_FromLong(_PY_LONG_DEFAULT_MAX_STR_DIGITS));
  ------------------
  |  |   29|      2|#define _PY_LONG_DEFAULT_MAX_STR_DIGITS 4300
  ------------------
 6762|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6763|      2|                              PyLong_FromLong(_PY_LONG_MAX_STR_DIGITS_THRESHOLD));
  ------------------
  |  |   42|      2|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
 6764|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (6764:9): [True: 0, False: 2]
  ------------------
 6765|      0|        Py_CLEAR(int_info);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6766|      0|        return NULL;
 6767|      0|    }
 6768|      2|    return int_info;
 6769|      2|}
_PyLong_InitTypes:
 6776|      2|{
 6777|       |    /* initialize int_info */
 6778|      2|    if (_PyStructSequence_InitBuiltin(interp, &Int_InfoType,
  ------------------
  |  Branch (6778:9): [True: 0, False: 2]
  ------------------
 6779|      2|                                      &int_info_desc) < 0)
 6780|      0|    {
 6781|      0|        return _PyStatus_ERR("can't init int info type");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 6782|      0|    }
 6783|       |
 6784|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 6785|      2|}
PyLong_FromInt64:
 6820|      1|{
 6821|       |    PYLONG_FROM_INT(uint64_t, int64_t, value);
  ------------------
  |  |  371|      1|    do {                                                                            \
  |  |  372|      1|        /* Handle small and medium cases. */                                        \
  |  |  373|      1|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|      1|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|      1|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|      1|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|      1|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 1, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|      1|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|      1|        }                                                                           \
  |  |  376|      1|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 0]
  |  |  |  Branch (376:49): [True: 0, False: 0]
  |  |  ------------------
  |  |  377|      0|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|      0|        }                                                                           \
  |  |  379|      0|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 0]
  |  |  ------------------
  |  |  380|      0|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|      0|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|      0|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|      0|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|      0|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  385|      0|            ++ndigits;                                                              \
  |  |  386|      0|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|      0|        }                                                                           \
  |  |  388|      0|        /* Construct output value. */                                               \
  |  |  389|      0|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|      0|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|      0|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|      0|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 0]
  |  |  ------------------
  |  |  395|      0|        t = abs_ival;                                                               \
  |  |  396|      0|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  397|      0|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|      0|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|      0|        }                                                                           \
  |  |  400|      0|        return (PyObject *)v;                                                       \
  |  |  401|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6822|      1|}
PyLong_AsInt64:
 6853|      3|{
 6854|      3|    LONG_TO_INT(int64_t, obj, result);
  ------------------
  |  | 6830|      3|    do { \
  |  | 6831|      3|        type value; \
  |  | 6832|      3|        int flags = (Py_ASNATIVEBYTES_NATIVE_ENDIAN \
  |  |  ------------------
  |  |  |  |   47|      3|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  |  |  ------------------
  |  | 6833|      3|                     | Py_ASNATIVEBYTES_ALLOW_INDEX); \
  |  |  ------------------
  |  |  |  |   50|      3|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  |  |  ------------------
  |  | 6834|      3|        Py_ssize_t bytes = PyLong_AsNativeBytes(obj, &value, sizeof(value), flags); \
  |  | 6835|      3|        if (bytes < 0) { \
  |  |  ------------------
  |  |  |  Branch (6835:13): [True: 0, False: 3]
  |  |  ------------------
  |  | 6836|      0|            return -1; \
  |  | 6837|      0|        } \
  |  | 6838|      3|        if ((size_t)bytes > sizeof(value)) { \
  |  |  ------------------
  |  |  |  Branch (6838:13): [True: 0, False: 3]
  |  |  ------------------
  |  | 6839|      0|            PyErr_SetString(PyExc_OverflowError, \
  |  | 6840|      0|                            "Python int too large to convert to C " #type); \
  |  | 6841|      0|            return -1; \
  |  | 6842|      0|        } \
  |  | 6843|      3|        *result = value; \
  |  | 6844|      3|        return 0; \
  |  | 6845|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6845:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6855|      3|}
PyLong_GetNativeLayout:
 6898|      9|{
 6899|      9|    return &PyLong_LAYOUT;
 6900|      9|}
PyLongWriter_Create:
 6961|      9|{
 6962|      9|    if (ndigits <= 0) {
  ------------------
  |  Branch (6962:9): [True: 0, False: 9]
  ------------------
 6963|      0|        PyErr_SetString(PyExc_ValueError, "ndigits must be positive");
 6964|      0|        goto error;
 6965|      0|    }
 6966|      9|    assert(digits != NULL);
  ------------------
  |  Branch (6966:5): [True: 9, False: 0]
  ------------------
 6967|       |
 6968|      9|    PyLongObject *obj = long_alloc(ndigits);
 6969|      9|    if (obj == NULL) {
  ------------------
  |  Branch (6969:9): [True: 0, False: 9]
  ------------------
 6970|      0|        goto error;
 6971|      0|    }
 6972|      9|    if (negative) {
  ------------------
  |  Branch (6972:9): [True: 0, False: 9]
  ------------------
 6973|      0|        _PyLong_FlipSign(obj);
 6974|      0|    }
 6975|       |
 6976|      9|    *digits = obj->long_value.ob_digit;
 6977|      9|    return (PyLongWriter*)obj;
 6978|       |
 6979|      0|error:
 6980|      0|    *digits = NULL;
 6981|       |    return NULL;
 6982|      9|}
PyLongWriter_Finish:
 7000|      9|{
 7001|      9|    PyLongObject *obj = (PyLongObject *)writer;
 7002|      9|    assert(Py_REFCNT(obj) == 1);
  ------------------
  |  Branch (7002:5): [True: 9, False: 0]
  ------------------
 7003|       |
 7004|       |#ifdef Py_DEBUG
 7005|       |    // gh-147988: Detect uninitialized digits: long_alloc() fills digits with
 7006|       |    // 0xFF byte pattern. It's posssible because PyLong_BASE is smaller than
 7007|       |    // the maximum value of the C digit type (uint32_t or unsigned short):
 7008|       |    // most significan bits are unused by the API.
 7009|       |    Py_ssize_t ndigits = _PyLong_DigitCount(obj);
 7010|       |    if (ndigits == 0) {
 7011|       |        // Check ob_digit[0] digit for the number zero
 7012|       |        ndigits = 1;
 7013|       |    }
 7014|       |    for (Py_ssize_t i = 0; i < ndigits; i++) {
 7015|       |        digit d = obj->long_value.ob_digit[i];
 7016|       |        if (d & ~(digit)PyLong_MASK) {
 7017|       |            Py_DECREF(obj);
 7018|       |            PyErr_Format(PyExc_SystemError,
 7019|       |                         "PyLongWriter_Finish: digit %zd is uninitialized",
 7020|       |                         i);
 7021|       |            return NULL;
 7022|       |        }
 7023|       |    }
 7024|       |#endif
 7025|       |
 7026|       |    // Normalize and get singleton if possible
 7027|      9|    obj = maybe_small_long(long_normalize(obj));
 7028|       |
 7029|      9|    return (PyObject*)obj;
 7030|      9|}
longobject.c:long_alloc:
  160|  7.19k|{
  161|  7.19k|    assert(size >= 0);
  ------------------
  |  Branch (161:5): [True: 7.19k, False: 0]
  ------------------
  162|  7.19k|    PyLongObject *result = NULL;
  163|  7.19k|    if (size > (Py_ssize_t)MAX_LONG_DIGITS) {
  ------------------
  |  |  155|  7.19k|# define MAX_LONG_DIGITS ((INT64_MAX-1) / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  7.19k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (163:9): [True: 0, False: 7.19k]
  ------------------
  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|  7.19k|    Py_ssize_t ndigits = size ? size : 1;
  ------------------
  |  Branch (170:26): [True: 7.09k, False: 95]
  ------------------
  171|       |
  172|  7.19k|    if (ndigits == 1) {
  ------------------
  |  Branch (172:9): [True: 286, False: 6.90k]
  ------------------
  173|    286|        result = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|    286|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    286|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  174|    286|    }
  175|  7.19k|    if (result == NULL) {
  ------------------
  |  Branch (175:9): [True: 6.90k, False: 286]
  ------------------
  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|  6.90k|        result = PyObject_Malloc(offsetof(PyLongObject, long_value.ob_digit) +
  182|  6.90k|                                ndigits*sizeof(digit));
  183|  6.90k|        if (!result) {
  ------------------
  |  Branch (183:13): [True: 0, False: 6.90k]
  ------------------
  184|      0|            PyErr_NoMemory();
  185|      0|            return NULL;
  186|      0|        }
  187|  6.90k|        _PyObject_Init((PyObject*)result, &PyLong_Type);
  188|  6.90k|        _PyLong_InitTag(result);
  189|  6.90k|    }
  190|  7.19k|    _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|  7.19k|    return result;
  197|  7.19k|}
longobject.c:get_small_int:
   62|  1.04M|{
   63|  1.04M|    assert(IS_SMALL_INT(ival));
  ------------------
  |  Branch (63:5): [True: 1.04M, False: 0]
  |  Branch (63:5): [True: 1.04M, False: 0]
  ------------------
   64|  1.04M|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   59|  1.04M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  1.04M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.04M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   98|  1.04M|#define _PY_NSMALLNEGINTS           5
  ------------------
   65|  1.04M|}
longobject.c:_PyLong_FromMedium:
  252|  53.6k|{
  253|  53.6k|    assert(!IS_SMALL_INT(x));
  ------------------
  |  Branch (253:5): [True: 53.5k, False: 8]
  |  Branch (253:5): [True: 0, False: 53.5k]
  ------------------
  254|  53.6k|    assert(is_medium_int(x));
  ------------------
  |  Branch (254:5): [True: 53.6k, False: 0]
  ------------------
  255|       |
  256|  53.6k|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  53.6k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  53.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  257|  53.6k|    if (v == NULL) {
  ------------------
  |  Branch (257:9): [True: 1.63k, False: 51.9k]
  ------------------
  258|  1.63k|        v = PyObject_Malloc(sizeof(PyLongObject));
  259|  1.63k|        if (v == NULL) {
  ------------------
  |  Branch (259:13): [True: 0, False: 1.63k]
  ------------------
  260|      0|            PyErr_NoMemory();
  261|      0|            return NULL;
  262|      0|        }
  263|  1.63k|        _PyObject_Init((PyObject*)v, &PyLong_Type);
  264|  1.63k|        _PyLong_InitTag(v);
  265|  1.63k|    }
  266|  53.6k|    digit abs_x = x < 0 ? -x : x;
  ------------------
  |  Branch (266:19): [True: 8, False: 53.5k]
  ------------------
  267|  53.6k|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (267:37): [True: 8, False: 53.5k]
  ------------------
  268|  53.6k|    v->long_value.ob_digit[0] = abs_x;
  269|  53.6k|    return (PyObject*)v;
  270|  53.6k|}
longobject.c:is_medium_int:
   54|  53.6k|{
   55|       |    /* Take care that we are comparing unsigned values. */
   56|  53.6k|    twodigits x_plus_mask = ((twodigits)x) + PyLong_MASK;
  ------------------
  |  |   62|  53.6k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  53.6k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  53.6k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|  53.6k|    return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   62|  53.6k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  53.6k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  53.6k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   61|  53.6k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  53.6k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
   58|  53.6k|}
longobject.c:unroll_digits_ulong:
  537|      8|{
  538|      8|    assert(ULONG_MAX >= ((1UL << PyLong_SHIFT) - 1));
  ------------------
  |  Branch (538:5): [True: 8, Folded]
  ------------------
  539|       |
  540|      8|    Py_ssize_t i = *iptr;
  541|      8|    assert(i >= 2);
  ------------------
  |  Branch (541:5): [True: 8, False: 0]
  ------------------
  542|       |
  543|       |    /* unroll 1 digit */
  544|      8|    --i;
  545|      8|    digit *digits = v->long_value.ob_digit;
  546|      8|    unsigned long x = digits[i];
  547|       |
  548|      8|#if (ULONG_MAX >> PyLong_SHIFT) >= ((1UL << PyLong_SHIFT) - 1)
  549|       |    /* unroll another digit */
  550|      8|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|      8|#define PyLong_SHIFT    30
  ------------------
  551|      8|    --i;
  552|      8|    x |= digits[i];
  553|      8|#endif
  554|       |
  555|      8|    *iptr = i;
  556|      8|    return x;
  557|      8|}
longobject.c:long_sign:
  936|     26|{
  937|     26|    assert(vv != NULL);
  ------------------
  |  Branch (937:5): [True: 26, False: 0]
  ------------------
  938|     26|    assert(PyLong_Check(vv));
  ------------------
  |  Branch (938:5): [True: 26, False: 0]
  ------------------
  939|     26|    PyLongObject *v = (PyLongObject *)vv;
  940|       |
  941|     26|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (941:9): [True: 26, False: 0]
  ------------------
  942|     26|        return _PyLong_CompactSign(v);
  943|     26|    }
  944|      0|    return _PyLong_NonCompactSign(v);
  945|     26|}
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|    504|{
   70|    504|    if (v && _PyLong_IsCompact(v)) {
  ------------------
  |  Branch (70:9): [True: 504, False: 0]
  |  Branch (70:14): [True: 301, False: 203]
  ------------------
   71|    301|        stwodigits ival = medium_value(v);
  ------------------
  |  |   27|    301|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
   72|    301|        if (IS_SMALL_INT(ival)) {
  ------------------
  |  |   29|    301|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|    301|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|    301|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|    301|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 301, False: 0]
  |  |  |  |  |  Branch (68:37): [True: 111, False: 190]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|    111|            _Py_DECREF_INT(v);
   74|    111|            return (PyLongObject *)get_small_int((sdigit)ival);
   75|    111|        }
   76|    301|    }
   77|    393|    return v;
   78|    504|}
longobject.c:_Py_DECREF_INT:
   47|    137|{
   48|    137|    assert(PyLong_CheckExact(op));
  ------------------
  |  Branch (48:5): [True: 137, False: 0]
  ------------------
   49|    137|    _Py_DECREF_SPECIALIZED((PyObject *)op, _PyLong_ExactDealloc);
   50|    137|}
longobject.c:long_normalize:
  127|    505|{
  128|    505|    Py_ssize_t j = _PyLong_DigitCount(v);
  129|    505|    Py_ssize_t i = j;
  130|       |
  131|    537|    while (i > 0 && v->long_value.ob_digit[i-1] == 0)
  ------------------
  |  Branch (131:12): [True: 430, False: 107]
  |  Branch (131:21): [True: 32, False: 398]
  ------------------
  132|     32|        --i;
  133|    505|    if (i != j) {
  ------------------
  |  Branch (133:9): [True: 20, False: 485]
  ------------------
  134|     20|        if (i == 0) {
  ------------------
  |  Branch (134:13): [True: 12, False: 8]
  ------------------
  135|     12|            _PyLong_SetSignAndDigitCount(v, 0, 0);
  136|     12|        }
  137|      8|        else {
  138|      8|            _PyLong_SetDigitCount(v, i);
  139|      8|        }
  140|     20|    }
  141|    505|    return v;
  142|    505|}
longobject.c:_resolve_endianness:
 1271|      3|{
 1272|      3|    if (*endianness == -1 || (*endianness & 2)) {
  ------------------
  |  Branch (1272:9): [True: 0, False: 3]
  |  Branch (1272:30): [True: 3, False: 0]
  ------------------
 1273|      3|        *endianness = PY_LITTLE_ENDIAN;
  ------------------
  |  |  453|      3|#  define PY_LITTLE_ENDIAN 1
  ------------------
 1274|      3|    } else {
 1275|      0|        *endianness &= 1;
 1276|      0|    }
 1277|      3|    assert(*endianness == 0 || *endianness == 1);
  ------------------
  |  Branch (1277:5): [True: 0, False: 3]
  |  Branch (1277:5): [True: 3, False: 0]
  ------------------
 1278|      3|    return 0;
 1279|      3|}
longobject.c:_fits_in_n_bits:
 1259|      3|{
 1260|      3|    if (n >= (Py_ssize_t)sizeof(Py_ssize_t) * 8) {
  ------------------
  |  Branch (1260:9): [True: 3, False: 0]
  ------------------
 1261|      3|        return 1;
 1262|      3|    }
 1263|       |    // If all bits above n are the same, we fit.
 1264|       |    // (Use n-1 if we require the sign bit to be consistent.)
 1265|      0|    Py_ssize_t v_extended = v >> ((int)n - 1);
 1266|      0|    return v_extended == 0 || v_extended == -1;
  ------------------
  |  Branch (1266:12): [True: 0, False: 0]
  |  Branch (1266:31): [True: 0, False: 0]
  ------------------
 1267|      3|}
longobject.c:long_to_decimal_string_internal:
 2097|     26|{
 2098|     26|    PyLongObject *scratch, *a;
 2099|     26|    PyObject *str = NULL;
 2100|     26|    Py_ssize_t size, strlen, size_a, i, j;
 2101|     26|    digit *pout, *pin, rem, tenpow;
 2102|     26|    int negative;
 2103|     26|    int d;
 2104|       |
 2105|       |    // writer or bytes_writer can be used, but not both at the same time.
 2106|     26|    assert(writer == NULL || bytes_writer == NULL);
  ------------------
  |  Branch (2106:5): [True: 26, False: 0]
  |  Branch (2106:5): [True: 0, False: 0]
  ------------------
 2107|       |
 2108|     26|    a = (PyLongObject *)aa;
 2109|     26|    if (a == NULL || !PyLong_Check(a)) {
  ------------------
  |  |   13|     26|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     26|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2109:9): [True: 0, False: 26]
  |  Branch (2109:22): [True: 0, False: 26]
  ------------------
 2110|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2111|      0|        return -1;
 2112|      0|    }
 2113|     26|    size_a = _PyLong_DigitCount(a);
 2114|     26|    negative = _PyLong_IsNegative(a);
 2115|       |
 2116|       |    /* quick and dirty pre-check for overflowing the decimal digit limit,
 2117|       |       based on the inequality 10/3 >= log2(10)
 2118|       |
 2119|       |       explanation in https://github.com/python/cpython/pull/96537
 2120|       |    */
 2121|     26|    if (size_a >= 10 * _PY_LONG_MAX_STR_DIGITS_THRESHOLD
  ------------------
  |  |   42|     26|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2121:9): [True: 0, False: 26]
  ------------------
 2122|     26|                  / (3 * PyLong_SHIFT) + 2) {
  ------------------
  |  |   47|     26|#define PyLong_SHIFT    30
  ------------------
 2123|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2124|      0|        int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 2125|      0|        if ((max_str_digits > 0) &&
  ------------------
  |  Branch (2125:13): [True: 0, False: 0]
  ------------------
 2126|      0|            (max_str_digits / (3 * PyLong_SHIFT) <= (size_a - 11) / 10)) {
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2126:13): [True: 0, False: 0]
  ------------------
 2127|      0|            PyErr_Format(PyExc_ValueError, _MAX_STR_DIGITS_ERROR_FMT_TO_STR,
  ------------------
  |  |   33|      0|#define _MAX_STR_DIGITS_ERROR_FMT_TO_STR "Exceeds the limit (%d digits) for integer string conversion; use sys.set_int_max_str_digits() to increase the limit"
  ------------------
 2128|      0|                         max_str_digits);
 2129|      0|            return -1;
 2130|      0|        }
 2131|      0|    }
 2132|       |
 2133|     26|#if WITH_PYLONG_MODULE
 2134|     26|    if (size_a > 1000) {
  ------------------
  |  Branch (2134:9): [True: 0, False: 26]
  ------------------
 2135|       |        /* Switch to _pylong.int_to_decimal_string(). */
 2136|      0|        return pylong_int_to_decimal_string(aa,
 2137|      0|                                         p_output,
 2138|      0|                                         writer,
 2139|      0|                                         bytes_writer,
 2140|      0|                                         bytes_str);
 2141|      0|    }
 2142|     26|#endif
 2143|       |
 2144|       |    /* quick and dirty upper bound for the number of digits
 2145|       |       required to express a in base _PyLong_DECIMAL_BASE:
 2146|       |
 2147|       |         #digits = 1 + floor(log2(a) / log2(_PyLong_DECIMAL_BASE))
 2148|       |
 2149|       |       But log2(a) < size_a * PyLong_SHIFT, and
 2150|       |       log2(_PyLong_DECIMAL_BASE) = log2(10) * _PyLong_DECIMAL_SHIFT
 2151|       |                                  > 3.3 * _PyLong_DECIMAL_SHIFT
 2152|       |
 2153|       |         size_a * PyLong_SHIFT / (3.3 * _PyLong_DECIMAL_SHIFT) =
 2154|       |             size_a + size_a / d < size_a + size_a / floor(d),
 2155|       |       where d = (3.3 * _PyLong_DECIMAL_SHIFT) /
 2156|       |                 (PyLong_SHIFT - 3.3 * _PyLong_DECIMAL_SHIFT)
 2157|       |    */
 2158|     26|    d = (33 * _PyLong_DECIMAL_SHIFT) /
  ------------------
  |  |   48|     26|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2159|     26|        (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   47|     26|#define PyLong_SHIFT    30
  ------------------
                      (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   48|     26|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2160|     26|    assert(size_a < PY_SSIZE_T_MAX/2);
  ------------------
  |  Branch (2160:5): [True: 26, False: 0]
  ------------------
 2161|     26|    size = 1 + size_a + size_a / d;
 2162|     26|    scratch = long_alloc(size);
 2163|     26|    if (scratch == NULL)
  ------------------
  |  Branch (2163:9): [True: 0, False: 26]
  ------------------
 2164|      0|        return -1;
 2165|       |
 2166|       |    /* convert array of base _PyLong_BASE digits in pin to an array of
 2167|       |       base _PyLong_DECIMAL_BASE digits in pout, following Knuth (TAOCP,
 2168|       |       Volume 2 (3rd edn), section 4.4, Method 1b). */
 2169|     26|    pin = a->long_value.ob_digit;
 2170|     26|    pout = scratch->long_value.ob_digit;
 2171|     26|    size = 0;
 2172|     51|    for (i = size_a; --i >= 0; ) {
  ------------------
  |  Branch (2172:22): [True: 25, False: 26]
  ------------------
 2173|     25|        digit hi = pin[i];
 2174|     25|        for (j = 0; j < size; j++) {
  ------------------
  |  Branch (2174:21): [True: 0, False: 25]
  ------------------
 2175|      0|            twodigits z = (twodigits)pout[j] << PyLong_SHIFT | hi;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 2176|      0|            hi = (digit)(z / _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|      0|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2177|      0|            pout[j] = (digit)(z - (twodigits)hi *
 2178|      0|                              _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|      0|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2179|      0|        }
 2180|     50|        while (hi) {
  ------------------
  |  Branch (2180:16): [True: 25, False: 25]
  ------------------
 2181|     25|            pout[size++] = hi % _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|     25|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2182|     25|            hi /= _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|     25|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2183|     25|        }
 2184|       |        /* check for keyboard interrupt */
 2185|     25|        SIGCHECK({
  ------------------
  |  |  117|     25|    do {                                        \
  |  |  118|     25|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 25]
  |  |  ------------------
  |  |  119|     25|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 25]
  |  |  ------------------
  ------------------
 2186|     25|                Py_DECREF(scratch);
 2187|     25|                return -1;
 2188|     25|            });
 2189|     25|    }
 2190|       |    /* pout should have at least one digit, so that the case when a = 0
 2191|       |       works correctly */
 2192|     26|    if (size == 0)
  ------------------
  |  Branch (2192:9): [True: 1, False: 25]
  ------------------
 2193|      1|        pout[size++] = 0;
 2194|       |
 2195|       |    /* calculate exact length of output string, and allocate */
 2196|     26|    strlen = negative + 1 + (size - 1) * _PyLong_DECIMAL_SHIFT;
  ------------------
  |  |   48|     26|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2197|     26|    tenpow = 10;
 2198|     26|    rem = pout[size-1];
 2199|     36|    while (rem >= tenpow) {
  ------------------
  |  Branch (2199:12): [True: 10, False: 26]
  ------------------
 2200|     10|        tenpow *= 10;
 2201|     10|        strlen++;
 2202|     10|    }
 2203|     26|    if (strlen > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|     26|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2203:9): [True: 0, False: 26]
  ------------------
 2204|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2205|      0|        int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 2206|      0|        Py_ssize_t strlen_nosign = strlen - negative;
 2207|      0|        if ((max_str_digits > 0) && (strlen_nosign > max_str_digits)) {
  ------------------
  |  Branch (2207:13): [True: 0, False: 0]
  |  Branch (2207:37): [True: 0, False: 0]
  ------------------
 2208|      0|            Py_DECREF(scratch);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2209|      0|            PyErr_Format(PyExc_ValueError, _MAX_STR_DIGITS_ERROR_FMT_TO_STR,
  ------------------
  |  |   33|      0|#define _MAX_STR_DIGITS_ERROR_FMT_TO_STR "Exceeds the limit (%d digits) for integer string conversion; use sys.set_int_max_str_digits() to increase the limit"
  ------------------
 2210|      0|                         max_str_digits);
 2211|      0|            return -1;
 2212|      0|        }
 2213|      0|    }
 2214|     26|    if (writer) {
  ------------------
  |  Branch (2214:9): [True: 0, False: 26]
  ------------------
 2215|      0|        if (_PyUnicodeWriter_Prepare(writer, strlen, 127) == -1) {
  ------------------
  |  Branch (2215:13): [True: 0, False: 0]
  ------------------
 2216|      0|            Py_DECREF(scratch);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2217|      0|            return -1;
 2218|      0|        }
 2219|      0|        assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (2219:9): [True: 0, False: 0]
  ------------------
 2220|      0|    }
 2221|     26|    else if (bytes_writer) {
  ------------------
  |  Branch (2221:14): [True: 0, False: 26]
  ------------------
 2222|      0|        *bytes_str = PyBytesWriter_GrowAndUpdatePointer(bytes_writer, strlen,
 2223|      0|                                                        *bytes_str);
 2224|      0|        if (*bytes_str == NULL) {
  ------------------
  |  Branch (2224:13): [True: 0, False: 0]
  ------------------
 2225|      0|            Py_DECREF(scratch);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2226|      0|            return -1;
 2227|      0|        }
 2228|      0|    }
 2229|     26|    else {
 2230|     26|        str = PyUnicode_New(strlen, 127);
 2231|     26|        if (str == NULL) {
  ------------------
  |  Branch (2231:13): [True: 0, False: 26]
  ------------------
 2232|      0|            Py_DECREF(scratch);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2233|      0|            return -1;
 2234|      0|        }
 2235|     26|    }
 2236|       |
 2237|     26|#define WRITE_DIGITS(p)                                               \
 2238|     26|    do {                                                              \
 2239|       |        /* pout[0] through pout[size-2] contribute exactly            \
 2240|       |           _PyLong_DECIMAL_SHIFT digits each */                       \
 2241|     26|        for (i=0; i < size - 1; i++) {                                \
 2242|     26|            rem = pout[i];                                            \
 2243|     26|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
 2244|     26|                *--p = '0' + rem % 10;                                \
 2245|     26|                rem /= 10;                                            \
 2246|     26|            }                                                         \
 2247|     26|        }                                                             \
 2248|       |        /* pout[size-1]: always produce at least one decimal digit */ \
 2249|     26|        rem = pout[i];                                                \
 2250|     26|        do {                                                          \
 2251|     26|            *--p = '0' + rem % 10;                                    \
 2252|     26|            rem /= 10;                                                \
 2253|     26|        } while (rem != 0);                                           \
 2254|     26|                                                                      \
 2255|       |        /* and sign */                                                \
 2256|     26|        if (negative)                                                 \
 2257|     26|            *--p = '-';                                               \
 2258|     26|    } while (0)
 2259|       |
 2260|     26|#define WRITE_UNICODE_DIGITS(TYPE)                                    \
 2261|     26|    do {                                                              \
 2262|     26|        if (writer)                                                   \
 2263|     26|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
 2264|     26|        else                                                          \
 2265|     26|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
 2266|     26|                                                                      \
 2267|     26|        WRITE_DIGITS(p);                                              \
 2268|     26|                                                                      \
 2269|       |        /* check we've counted correctly */                           \
 2270|     26|        if (writer)                                                   \
 2271|     26|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
 2272|     26|        else                                                          \
 2273|     26|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
 2274|     26|    } while (0)
 2275|       |
 2276|       |    /* fill the string right-to-left */
 2277|     26|    if (bytes_writer) {
  ------------------
  |  Branch (2277:9): [True: 0, False: 26]
  ------------------
 2278|      0|        char *p = *bytes_str + strlen;
 2279|      0|        WRITE_DIGITS(p);
  ------------------
  |  | 2238|      0|    do {                                                              \
  |  | 2239|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  | 2240|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  | 2241|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  ------------------
  |  |  |  Branch (2241:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 2242|      0|            rem = pout[i];                                            \
  |  | 2243|      0|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  ------------------
  |  |  |  |   48|      0|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  ------------------
  |  |  |  Branch (2243:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2244|      0|                *--p = '0' + rem % 10;                                \
  |  | 2245|      0|                rem /= 10;                                            \
  |  | 2246|      0|            }                                                         \
  |  | 2247|      0|        }                                                             \
  |  | 2248|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  | 2249|      0|        rem = pout[i];                                                \
  |  | 2250|      0|        do {                                                          \
  |  | 2251|      0|            *--p = '0' + rem % 10;                                    \
  |  | 2252|      0|            rem /= 10;                                                \
  |  | 2253|      0|        } while (rem != 0);                                           \
  |  |  ------------------
  |  |  |  Branch (2253:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 2254|      0|                                                                      \
  |  | 2255|      0|        /* and sign */                                                \
  |  | 2256|      0|        if (negative)                                                 \
  |  |  ------------------
  |  |  |  Branch (2256:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2257|      0|            *--p = '-';                                               \
  |  | 2258|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2258:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2280|      0|        assert(p == *bytes_str);
  ------------------
  |  Branch (2280:9): [True: 0, False: 0]
  ------------------
 2281|      0|    }
 2282|     26|    else {
 2283|     26|        int kind = writer ? writer->kind : PyUnicode_KIND(str);
  ------------------
  |  |  259|     26|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     52|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 26, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2283:20): [True: 0, False: 26]
  ------------------
 2284|     26|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2284:13): [True: 26, False: 0]
  ------------------
 2285|     26|            Py_UCS1 *p;
 2286|     26|            WRITE_UNICODE_DIGITS(Py_UCS1);
  ------------------
  |  | 2261|     26|    do {                                                              \
  |  | 2262|     26|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2262:13): [True: 0, False: 26]
  |  |  ------------------
  |  | 2263|     26|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2264|     26|        else                                                          \
  |  | 2265|     26|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  285|     26|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2266|     26|                                                                      \
  |  | 2267|     26|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2238|     26|    do {                                                              \
  |  |  |  | 2239|     26|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2240|     26|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2241|     26|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2241:19): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  |  | 2242|      0|            rem = pout[i];                                            \
  |  |  |  | 2243|      0|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2243:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2244|      0|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2245|      0|                rem /= 10;                                            \
  |  |  |  | 2246|      0|            }                                                         \
  |  |  |  | 2247|      0|        }                                                             \
  |  |  |  | 2248|     26|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2249|     26|        rem = pout[i];                                                \
  |  |  |  | 2250|     36|        do {                                                          \
  |  |  |  | 2251|     36|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2252|     36|            rem /= 10;                                                \
  |  |  |  | 2253|     36|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2253:18): [True: 10, False: 26]
  |  |  |  |  ------------------
  |  |  |  | 2254|     26|                                                                      \
  |  |  |  | 2255|     26|        /* and sign */                                                \
  |  |  |  | 2256|     26|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:13): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  |  | 2257|     26|            *--p = '-';                                               \
  |  |  |  | 2258|     26|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2258:14): [Folded, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2268|     26|                                                                      \
  |  | 2269|     26|        /* check we've counted correctly */                           \
  |  | 2270|     26|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2270:13): [True: 0, False: 26]
  |  |  ------------------
  |  | 2271|     26|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2272|     26|        else                                                          \
  |  | 2273|     26|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2274|     26|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2274:14): [Folded, False: 26]
  |  |  ------------------
  ------------------
  |  Branch (2286:13): [True: 0, False: 0]
  |  Branch (2286:13): [True: 26, False: 0]
  ------------------
 2287|     26|        }
 2288|      0|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (2288:18): [True: 0, False: 0]
  ------------------
 2289|      0|            Py_UCS2 *p;
 2290|      0|            WRITE_UNICODE_DIGITS(Py_UCS2);
  ------------------
  |  | 2261|      0|    do {                                                              \
  |  | 2262|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2262:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2263|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2264|      0|        else                                                          \
  |  | 2265|      0|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2266|      0|                                                                      \
  |  | 2267|      0|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2238|      0|    do {                                                              \
  |  |  |  | 2239|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2240|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2241|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2241:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2242|      0|            rem = pout[i];                                            \
  |  |  |  | 2243|      0|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2243:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2244|      0|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2245|      0|                rem /= 10;                                            \
  |  |  |  | 2246|      0|            }                                                         \
  |  |  |  | 2247|      0|        }                                                             \
  |  |  |  | 2248|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2249|      0|        rem = pout[i];                                                \
  |  |  |  | 2250|      0|        do {                                                          \
  |  |  |  | 2251|      0|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2252|      0|            rem /= 10;                                                \
  |  |  |  | 2253|      0|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2253:18): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2254|      0|                                                                      \
  |  |  |  | 2255|      0|        /* and sign */                                                \
  |  |  |  | 2256|      0|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2257|      0|            *--p = '-';                                               \
  |  |  |  | 2258|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2258:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2268|      0|                                                                      \
  |  | 2269|      0|        /* check we've counted correctly */                           \
  |  | 2270|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2270:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2271|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2272|      0|        else                                                          \
  |  | 2273|      0|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2274|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2274:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2290:13): [True: 0, False: 0]
  |  Branch (2290:13): [True: 0, False: 0]
  ------------------
 2291|      0|        }
 2292|      0|        else {
 2293|      0|            assert (kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (2293:13): [True: 0, False: 0]
  ------------------
 2294|      0|            Py_UCS4 *p;
 2295|      0|            WRITE_UNICODE_DIGITS(Py_UCS4);
  ------------------
  |  | 2261|      0|    do {                                                              \
  |  | 2262|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2262:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2263|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2264|      0|        else                                                          \
  |  | 2265|      0|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2266|      0|                                                                      \
  |  | 2267|      0|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2238|      0|    do {                                                              \
  |  |  |  | 2239|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2240|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2241|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2241:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2242|      0|            rem = pout[i];                                            \
  |  |  |  | 2243|      0|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2243:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2244|      0|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2245|      0|                rem /= 10;                                            \
  |  |  |  | 2246|      0|            }                                                         \
  |  |  |  | 2247|      0|        }                                                             \
  |  |  |  | 2248|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2249|      0|        rem = pout[i];                                                \
  |  |  |  | 2250|      0|        do {                                                          \
  |  |  |  | 2251|      0|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2252|      0|            rem /= 10;                                                \
  |  |  |  | 2253|      0|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2253:18): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2254|      0|                                                                      \
  |  |  |  | 2255|      0|        /* and sign */                                                \
  |  |  |  | 2256|      0|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2257|      0|            *--p = '-';                                               \
  |  |  |  | 2258|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2258:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2268|      0|                                                                      \
  |  | 2269|      0|        /* check we've counted correctly */                           \
  |  | 2270|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2270:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2271|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2272|      0|        else                                                          \
  |  | 2273|      0|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2274|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2274:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2295:13): [True: 0, False: 0]
  |  Branch (2295:13): [True: 0, False: 0]
  ------------------
 2296|      0|        }
 2297|     26|    }
 2298|       |
 2299|     26|#undef WRITE_DIGITS
 2300|     26|#undef WRITE_UNICODE_DIGITS
 2301|       |
 2302|     26|    _Py_DECREF_INT(scratch);
 2303|     26|    if (writer) {
  ------------------
  |  Branch (2303:9): [True: 0, False: 26]
  ------------------
 2304|      0|        writer->pos += strlen;
 2305|      0|    }
 2306|     26|    else if (bytes_writer) {
  ------------------
  |  Branch (2306:14): [True: 0, False: 26]
  ------------------
 2307|      0|        (*bytes_str) += strlen;
 2308|      0|    }
 2309|     26|    else {
 2310|     26|        assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (2310:9): [True: 26, False: 0]
  ------------------
 2311|     26|        *p_output = (PyObject *)str;
 2312|     26|    }
 2313|     26|    return 0;
 2314|     26|}
longobject.c:long_from_string_base:
 2960|     16|{
 2961|     16|    const char *start, *end, *p;
 2962|     16|    char prev = 0;
 2963|     16|    Py_ssize_t digits = 0;
 2964|     16|    int is_binary_base = (base & (base - 1)) == 0;
 2965|       |
 2966|       |    /* Here we do four things:
 2967|       |     *
 2968|       |     * - Find the `end` of the string.
 2969|       |     * - Validate the string.
 2970|       |     * - Count the number of `digits` (rather than underscores)
 2971|       |     * - Point *str to the end-of-string or first invalid character.
 2972|       |     */
 2973|     16|    start = p = *str;
 2974|       |    /* Leading underscore not allowed. */
 2975|     16|    if (*start == '_') {
  ------------------
  |  Branch (2975:9): [True: 0, False: 16]
  ------------------
 2976|      0|        return -1;
 2977|      0|    }
 2978|       |    /* Verify all characters are digits and underscores. */
 2979|    528|    while (_PyLong_DigitValue[Py_CHARMASK(*p)] < base || *p == '_') {
  ------------------
  |  |  170|    528|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (2979:12): [True: 512, False: 16]
  |  Branch (2979:58): [True: 0, False: 16]
  ------------------
 2980|    512|        if (*p == '_') {
  ------------------
  |  Branch (2980:13): [True: 0, False: 512]
  ------------------
 2981|       |            /* Double underscore not allowed. */
 2982|      0|            if (prev == '_') {
  ------------------
  |  Branch (2982:17): [True: 0, False: 0]
  ------------------
 2983|      0|                *str = p - 1;
 2984|      0|                return -1;
 2985|      0|            }
 2986|    512|        } else {
 2987|    512|            ++digits;
 2988|    512|        }
 2989|    512|        prev = *p;
 2990|    512|        ++p;
 2991|    512|    }
 2992|       |    /* Trailing underscore not allowed. */
 2993|     16|    if (prev == '_') {
  ------------------
  |  Branch (2993:9): [True: 0, False: 16]
  ------------------
 2994|      0|        *str = p - 1;
 2995|      0|        return -1;
 2996|      0|    }
 2997|     16|    *str = end = p;
 2998|       |    /* Reject empty strings */
 2999|     16|    if (start == end) {
  ------------------
  |  Branch (2999:9): [True: 0, False: 16]
  ------------------
 3000|      0|        return -1;
 3001|      0|    }
 3002|       |    /* Allow only trailing whitespace after `end` */
 3003|     16|    while (*p && Py_ISSPACE(*p)) {
  ------------------
  |  |   27|      0|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|      0|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3003:12): [True: 0, False: 16]
  ------------------
 3004|      0|        p++;
 3005|      0|    }
 3006|     16|    *str = p;
 3007|     16|    if (*p != '\0') {
  ------------------
  |  Branch (3007:9): [True: 0, False: 16]
  ------------------
 3008|      0|        return -1;
 3009|      0|    }
 3010|       |
 3011|       |    /*
 3012|       |     * Pass a validated string consisting of only valid digits and underscores
 3013|       |     * to long_from_xxx_base.
 3014|       |     */
 3015|     16|    if (is_binary_base) {
  ------------------
  |  Branch (3015:9): [True: 16, False: 0]
  ------------------
 3016|       |        /* Use the linear algorithm for binary bases. */
 3017|     16|        return long_from_binary_base(start, end, digits, base, res);
 3018|     16|    }
 3019|      0|    else {
 3020|       |        /* Limit the size to avoid excessive computation attacks exploiting the
 3021|       |         * quadratic algorithm. */
 3022|      0|        if (digits > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|      0|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (3022:13): [True: 0, False: 0]
  ------------------
 3023|      0|            PyInterpreterState *interp = _PyInterpreterState_GET();
 3024|      0|            int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 3025|      0|            if ((max_str_digits > 0) && (digits > max_str_digits)) {
  ------------------
  |  Branch (3025:17): [True: 0, False: 0]
  |  Branch (3025:41): [True: 0, False: 0]
  ------------------
 3026|      0|                PyErr_Format(PyExc_ValueError, _MAX_STR_DIGITS_ERROR_FMT_TO_INT,
  ------------------
  |  |   32|      0|#define _MAX_STR_DIGITS_ERROR_FMT_TO_INT "Exceeds the limit (%d digits) for integer string conversion: value has %zd digits; use sys.set_int_max_str_digits() to increase the limit"
  ------------------
 3027|      0|                             max_str_digits, digits);
 3028|      0|                *res = NULL;
 3029|      0|                return 0;
 3030|      0|            }
 3031|      0|        }
 3032|      0|#if WITH_PYLONG_MODULE
 3033|      0|        if (digits > 6000 && base == 10) {
  ------------------
  |  Branch (3033:13): [True: 0, False: 0]
  |  Branch (3033:30): [True: 0, False: 0]
  ------------------
 3034|       |            /* Switch to _pylong.int_from_string() */
 3035|      0|            return pylong_int_from_string(start, end, res);
 3036|      0|        }
 3037|      0|#endif
 3038|       |        /* Use the quadratic algorithm for non binary bases. */
 3039|      0|        return long_from_non_binary_base(start, end, digits, base, res);
 3040|      0|    }
 3041|     16|}
longobject.c:long_from_binary_base:
 2587|     16|{
 2588|     16|    const char *p;
 2589|     16|    int bits_per_char;
 2590|     16|    Py_ssize_t n;
 2591|     16|    PyLongObject *z;
 2592|     16|    twodigits accum;
 2593|     16|    int bits_in_accum;
 2594|     16|    digit *pdigit;
 2595|       |
 2596|     16|    assert(base >= 2 && base <= 32 && (base & (base - 1)) == 0);
  ------------------
  |  Branch (2596:5): [True: 16, False: 0]
  |  Branch (2596:5): [True: 16, False: 0]
  |  Branch (2596:5): [True: 16, False: 0]
  ------------------
 2597|     16|    n = base;
 2598|     48|    for (bits_per_char = -1; n; ++bits_per_char) {
  ------------------
  |  Branch (2598:30): [True: 32, False: 16]
  ------------------
 2599|     32|        n >>= 1;
 2600|     32|    }
 2601|       |
 2602|       |    /* n <- the number of Python digits needed,
 2603|       |            = ceiling((digits * bits_per_char) / PyLong_SHIFT). */
 2604|     16|    if (digits > (PY_SSIZE_T_MAX - (PyLong_SHIFT - 1)) / bits_per_char) {
  ------------------
  |  |  137|     16|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if (digits > (PY_SSIZE_T_MAX - (PyLong_SHIFT - 1)) / bits_per_char) {
  ------------------
  |  |   47|     16|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2604:9): [True: 0, False: 16]
  ------------------
 2605|      0|        PyErr_SetString(PyExc_ValueError,
 2606|      0|                        "int string too large to convert");
 2607|      0|        *res = NULL;
 2608|      0|        return 0;
 2609|      0|    }
 2610|     16|    n = (digits * bits_per_char + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|     16|#define PyLong_SHIFT    30
  ------------------
                  n = (digits * bits_per_char + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|     16|#define PyLong_SHIFT    30
  ------------------
 2611|     16|    z = long_alloc(n);
 2612|     16|    if (z == NULL) {
  ------------------
  |  Branch (2612:9): [True: 0, False: 16]
  ------------------
 2613|      0|        *res = NULL;
 2614|      0|        return 0;
 2615|      0|    }
 2616|       |    /* Read string from right, and fill in int from left; i.e.,
 2617|       |     * from least to most significant in both.
 2618|       |     */
 2619|     16|    accum = 0;
 2620|     16|    bits_in_accum = 0;
 2621|     16|    pdigit = z->long_value.ob_digit;
 2622|     16|    p = end;
 2623|    528|    while (--p >= start) {
  ------------------
  |  Branch (2623:12): [True: 512, False: 16]
  ------------------
 2624|    512|        int k;
 2625|    512|        if (*p == '_') {
  ------------------
  |  Branch (2625:13): [True: 0, False: 512]
  ------------------
 2626|      0|            continue;
 2627|      0|        }
 2628|    512|        k = (int)_PyLong_DigitValue[Py_CHARMASK(*p)];
  ------------------
  |  |  170|    512|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2629|    512|        assert(k >= 0 && k < base);
  ------------------
  |  Branch (2629:9): [True: 512, False: 0]
  |  Branch (2629:9): [True: 512, False: 0]
  ------------------
 2630|    512|        accum |= (twodigits)k << bits_in_accum;
 2631|    512|        bits_in_accum += bits_per_char;
 2632|    512|        if (bits_in_accum >= PyLong_SHIFT) {
  ------------------
  |  |   47|    512|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2632:13): [True: 16, False: 496]
  ------------------
 2633|     16|            *pdigit++ = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|     16|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|     16|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     16|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2634|     16|            assert(pdigit - z->long_value.ob_digit <= n);
  ------------------
  |  Branch (2634:13): [True: 16, False: 0]
  ------------------
 2635|     16|            accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|     16|#define PyLong_SHIFT    30
  ------------------
 2636|     16|            bits_in_accum -= PyLong_SHIFT;
  ------------------
  |  |   47|     16|#define PyLong_SHIFT    30
  ------------------
 2637|     16|            assert(bits_in_accum < PyLong_SHIFT);
  ------------------
  |  Branch (2637:13): [True: 16, False: 0]
  ------------------
 2638|     16|        }
 2639|    512|    }
 2640|     16|    if (bits_in_accum) {
  ------------------
  |  Branch (2640:9): [True: 16, False: 0]
  ------------------
 2641|     16|        assert(bits_in_accum <= PyLong_SHIFT);
  ------------------
  |  Branch (2641:9): [True: 16, False: 0]
  ------------------
 2642|     16|        *pdigit++ = (digit)accum;
 2643|     16|        assert(pdigit - z->long_value.ob_digit <= n);
  ------------------
  |  Branch (2643:9): [True: 16, False: 0]
  ------------------
 2644|     16|    }
 2645|     16|    while (pdigit - z->long_value.ob_digit < n)
  ------------------
  |  Branch (2645:12): [True: 0, False: 16]
  ------------------
 2646|      0|        *pdigit++ = 0;
 2647|     16|    *res = z;
 2648|     16|    return 0;
 2649|     16|}
longobject.c:_PyLong_FromSTwoDigits:
  314|    149|{
  315|    149|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|    149|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|    149|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|    149|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|    147|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 147, False: 2]
  |  |  |  |  |  Branch (68:37): [True: 139, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|    139|        return (PyLongObject*)get_small_int((sdigit)x);
  317|    139|    }
  318|    149|    assert(x != 0);
  ------------------
  |  Branch (318:5): [True: 10, False: 0]
  ------------------
  319|     10|    if (is_medium_int(x)) {
  ------------------
  |  Branch (319:9): [True: 10, False: 0]
  ------------------
  320|     10|        return (PyLongObject*)_PyLong_FromMedium((sdigit)x);
  321|     10|    }
  322|      0|    return (PyLongObject*)_PyLong_FromLarge(x);
  323|     10|}
longobject.c:medium_from_stwodigits:
  329|    802|{
  330|    802|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|    802|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|    802|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|    802|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|    802|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 802, False: 0]
  |  |  |  |  |  Branch (68:37): [True: 802, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|    802|        return PyStackRef_FromPyObjectBorrow(get_small_int((sdigit)x));
  332|    802|    }
  333|    802|    assert(x != 0);
  ------------------
  |  Branch (333:5): [True: 0, False: 0]
  ------------------
  334|      0|    if(!is_medium_int(x)) {
  ------------------
  |  Branch (334:8): [True: 0, False: 0]
  ------------------
  335|      0|        return PyStackRef_NULL;
  336|      0|    }
  337|      0|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|      0|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  338|      0|    if (v == NULL) {
  ------------------
  |  Branch (338:9): [True: 0, False: 0]
  ------------------
  339|      0|        v = PyObject_Malloc(sizeof(PyLongObject));
  340|      0|        if (v == NULL) {
  ------------------
  |  Branch (340:13): [True: 0, False: 0]
  ------------------
  341|      0|            return PyStackRef_NULL;
  342|      0|        }
  343|      0|        _PyObject_Init((PyObject*)v, &PyLong_Type);
  344|      0|        _PyLong_InitTag(v);
  345|      0|    }
  346|      0|    digit abs_x = x < 0 ? (digit)(-x) : (digit)x;
  ------------------
  |  Branch (346:19): [True: 0, False: 0]
  ------------------
  347|      0|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (347:37): [True: 0, False: 0]
  ------------------
  348|      0|    v->long_value.ob_digit[0] = abs_x;
  349|      0|    return PyStackRef_FromPyObjectStealMortal((PyObject *)v);
  350|      0|}
longobject.c:long_lshift_int64:
 5540|      3|{
 5541|      3|    assert(shiftby >= 0);
  ------------------
  |  Branch (5541:5): [True: 3, False: 0]
  ------------------
 5542|       |
 5543|      3|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5543:9): [True: 0, False: 3]
  ------------------
 5544|      0|        return PyLong_FromLong(0);
 5545|      0|    }
 5546|       |#if PY_SSIZE_T_MAX <= INT64_MAX / PyLong_SHIFT
 5547|       |    /* Keep wordshift <= MAX_LONG_DIGITS, so that oldsize + wordshift
 5548|       |       cannot overflow Py_ssize_t in long_lshift1(). */
 5549|       |    if (shiftby > (int64_t)MAX_LONG_DIGITS * PyLong_SHIFT) {
 5550|       |        PyErr_SetString(PyExc_OverflowError,
 5551|       |                        "too many digits in integer");
 5552|       |        return NULL;
 5553|       |    }
 5554|       |#endif
 5555|      3|    Py_ssize_t wordshift = (Py_ssize_t)(shiftby / PyLong_SHIFT);
  ------------------
  |  |   47|      3|#define PyLong_SHIFT    30
  ------------------
 5556|      3|    digit remshift = (digit)(shiftby % PyLong_SHIFT);
  ------------------
  |  |   47|      3|#define PyLong_SHIFT    30
  ------------------
 5557|      3|    return long_lshift1(a, wordshift, remshift);
 5558|      3|}
longobject.c:long_lshift1:
 5471|      3|{
 5472|      3|    PyLongObject *z = NULL;
 5473|      3|    Py_ssize_t oldsize, newsize, i, j;
 5474|      3|    twodigits accum;
 5475|       |
 5476|      3|    if (wordshift == 0 && _PyLong_IsCompact(a)) {
  ------------------
  |  Branch (5476:9): [True: 0, False: 3]
  |  Branch (5476:27): [True: 0, False: 0]
  ------------------
 5477|      0|        stwodigits m = medium_value(a);
  ------------------
  |  |   27|      0|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5478|       |        // bypass undefined shift operator behavior
 5479|      0|        stwodigits x = m < 0 ? -(-m << remshift) : m << remshift;
  ------------------
  |  Branch (5479:24): [True: 0, False: 0]
  ------------------
 5480|      0|        return (PyObject*)_PyLong_FromSTwoDigits(x);
 5481|      0|    }
 5482|       |
 5483|      3|    oldsize = _PyLong_DigitCount(a);
 5484|      3|    newsize = oldsize + wordshift;
 5485|      3|    if (remshift)
  ------------------
  |  Branch (5485:9): [True: 3, False: 0]
  ------------------
 5486|      3|        ++newsize;
 5487|      3|    z = long_alloc(newsize);
 5488|      3|    if (z == NULL)
  ------------------
  |  Branch (5488:9): [True: 0, False: 3]
  ------------------
 5489|      0|        return NULL;
 5490|      3|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (5490:9): [True: 0, False: 3]
  ------------------
 5491|      0|        assert(Py_REFCNT(z) == 1);
  ------------------
  |  Branch (5491:9): [True: 0, False: 0]
  ------------------
 5492|      0|        _PyLong_FlipSign(z);
 5493|      0|    }
 5494|     70|    for (i = 0; i < wordshift; i++)
  ------------------
  |  Branch (5494:17): [True: 67, False: 3]
  ------------------
 5495|     67|        z->long_value.ob_digit[i] = 0;
 5496|      3|    accum = 0;
 5497|      6|    for (j = 0; j < oldsize; i++, j++) {
  ------------------
  |  Branch (5497:17): [True: 3, False: 3]
  ------------------
 5498|      3|        accum |= (twodigits)a->long_value.ob_digit[j] << remshift;
 5499|      3|        z->long_value.ob_digit[i] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|      3|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      3|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      3|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5500|      3|        accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|      3|#define PyLong_SHIFT    30
  ------------------
 5501|      3|    }
 5502|      3|    if (remshift)
  ------------------
  |  Branch (5502:9): [True: 3, False: 0]
  ------------------
 5503|      3|        z->long_value.ob_digit[newsize-1] = (digit)accum;
 5504|      0|    else
 5505|      3|        assert(!accum);
  ------------------
  |  Branch (5505:9): [True: 0, False: 0]
  ------------------
 5506|      3|    z = long_normalize(z);
 5507|      3|    return (PyObject *) maybe_small_long(z);
 5508|      3|}
longobject.c:long_compare:
 3601|    905|{
 3602|    905|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3602:9): [True: 204, False: 701]
  ------------------
 3603|    204|        return _PyLong_CompactValue(a) - _PyLong_CompactValue(b);
 3604|    204|    }
 3605|    701|    Py_ssize_t sign = _PyLong_SignedDigitCount(a) - _PyLong_SignedDigitCount(b);
 3606|    701|    if (sign == 0) {
  ------------------
  |  Branch (3606:9): [True: 648, False: 53]
  ------------------
 3607|    648|        Py_ssize_t i = _PyLong_DigitCount(a);
 3608|    648|        sdigit diff = 0;
 3609|  1.95k|        while (--i >= 0) {
  ------------------
  |  Branch (3609:16): [True: 1.30k, False: 645]
  ------------------
 3610|  1.30k|            diff = (sdigit) a->long_value.ob_digit[i] - (sdigit) b->long_value.ob_digit[i];
 3611|  1.30k|            if (diff) {
  ------------------
  |  Branch (3611:17): [True: 3, False: 1.30k]
  ------------------
 3612|      3|                break;
 3613|      3|            }
 3614|  1.30k|        }
 3615|    648|        sign = _PyLong_IsNegative(a) ? -diff : diff;
  ------------------
  |  Branch (3615:16): [True: 0, False: 648]
  ------------------
 3616|    648|    }
 3617|    701|    return sign;
 3618|    905|}
longobject.c:long_neg:
 5284|      2|{
 5285|      2|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (5285:9): [True: 2, False: 0]
  ------------------
 5286|      2|        return _PyLong_FromSTwoDigits(-medium_value(v));
  ------------------
  |  |   27|      2|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5287|      2|    }
 5288|       |
 5289|      0|    PyLongObject *z = (PyLongObject *)_PyLong_Copy(v);
 5290|      0|    if (z != NULL) {
  ------------------
  |  Branch (5290:9): [True: 0, False: 0]
  ------------------
 5291|      0|        _PyLong_FlipSign(z);
 5292|      0|    }
 5293|      0|    return z;
 5294|      2|}
longobject.c:long_sub:
 3893|     18|{
 3894|     18|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3894:9): [True: 17, False: 1]
  ------------------
 3895|     17|        return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|     17|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|     17|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3896|     17|    }
 3897|       |
 3898|      1|    PyLongObject *z;
 3899|      1|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3899:9): [True: 0, False: 1]
  ------------------
 3900|      0|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (3900:13): [True: 0, False: 0]
  ------------------
 3901|      0|            z = x_sub(b, a);
 3902|      0|        }
 3903|      0|        else {
 3904|      0|            z = x_add(a, b);
 3905|      0|            if (z != NULL) {
  ------------------
  |  Branch (3905:17): [True: 0, False: 0]
  ------------------
 3906|      0|                assert(_PyLong_IsZero(z) || Py_REFCNT(z) == 1);
  ------------------
  |  Branch (3906:17): [True: 0, False: 0]
  |  Branch (3906:17): [True: 0, False: 0]
  ------------------
 3907|      0|                _PyLong_FlipSign(z);
 3908|      0|            }
 3909|      0|        }
 3910|      0|    }
 3911|      1|    else {
 3912|      1|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3912:13): [True: 0, False: 1]
  ------------------
 3913|      0|            z = x_add(a, b);
 3914|      1|        else
 3915|      1|            z = x_sub(a, b);
 3916|      1|    }
 3917|      1|    return z;
 3918|      1|}
longobject.c:x_sub:
 3790|      1|{
 3791|      1|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3792|      1|    PyLongObject *z;
 3793|      1|    Py_ssize_t i;
 3794|      1|    int sign = 1;
 3795|      1|    digit borrow = 0;
 3796|       |
 3797|       |    /* Ensure a is the larger of the two: */
 3798|      1|    if (size_a < size_b) {
  ------------------
  |  Branch (3798:9): [True: 0, False: 1]
  ------------------
 3799|      0|        sign = -1;
 3800|      0|        { PyLongObject *temp = a; a = b; b = temp; }
 3801|      0|        { Py_ssize_t size_temp = size_a;
 3802|      0|            size_a = size_b;
 3803|      0|            size_b = size_temp; }
 3804|      0|    }
 3805|      1|    else if (size_a == size_b) {
  ------------------
  |  Branch (3805:14): [True: 0, False: 1]
  ------------------
 3806|       |        /* Find highest digit where a and b differ: */
 3807|      0|        i = size_a;
 3808|      0|        while (--i >= 0 && a->long_value.ob_digit[i] == b->long_value.ob_digit[i])
  ------------------
  |  Branch (3808:16): [True: 0, False: 0]
  |  Branch (3808:28): [True: 0, False: 0]
  ------------------
 3809|      0|            ;
 3810|      0|        if (i < 0)
  ------------------
  |  Branch (3810:13): [True: 0, False: 0]
  ------------------
 3811|      0|            return (PyLongObject *)PyLong_FromLong(0);
 3812|      0|        if (a->long_value.ob_digit[i] < b->long_value.ob_digit[i]) {
  ------------------
  |  Branch (3812:13): [True: 0, False: 0]
  ------------------
 3813|      0|            sign = -1;
 3814|      0|            { PyLongObject *temp = a; a = b; b = temp; }
 3815|      0|        }
 3816|      0|        size_a = size_b = i+1;
 3817|      0|    }
 3818|      1|    z = long_alloc(size_a);
 3819|      1|    if (z == NULL)
  ------------------
  |  Branch (3819:9): [True: 0, False: 1]
  ------------------
 3820|      0|        return NULL;
 3821|      2|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3821:17): [True: 1, False: 1]
  ------------------
 3822|       |        /* The following assumes unsigned arithmetic
 3823|       |           works module 2**N for some N>PyLong_SHIFT. */
 3824|      1|        borrow = a->long_value.ob_digit[i] - b->long_value.ob_digit[i] - borrow;
 3825|      1|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|      1|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      1|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      1|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3826|      1|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|      1|#define PyLong_SHIFT    30
  ------------------
 3827|      1|        borrow &= 1; /* Keep only one sign bit */
 3828|      1|    }
 3829|      2|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3829:12): [True: 1, False: 1]
  ------------------
 3830|      1|        borrow = a->long_value.ob_digit[i] - borrow;
 3831|      1|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|      1|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      1|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      1|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3832|      1|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|      1|#define PyLong_SHIFT    30
  ------------------
 3833|      1|        borrow &= 1; /* Keep only one sign bit */
 3834|      1|    }
 3835|      1|    assert(borrow == 0);
  ------------------
  |  Branch (3835:5): [True: 1, False: 0]
  ------------------
 3836|      1|    if (sign < 0) {
  ------------------
  |  Branch (3836:9): [True: 0, False: 1]
  ------------------
 3837|      0|        _PyLong_FlipSign(z);
 3838|      0|    }
 3839|      1|    return maybe_small_long(long_normalize(z));
 3840|      1|}
longobject.c:x_add:
 3745|      8|{
 3746|      8|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3747|      8|    PyLongObject *z;
 3748|      8|    Py_ssize_t i;
 3749|      8|    digit carry = 0;
 3750|       |
 3751|       |    /* Ensure a is the larger of the two: */
 3752|      8|    if (size_a < size_b) {
  ------------------
  |  Branch (3752:9): [True: 5, False: 3]
  ------------------
 3753|      5|        { PyLongObject *temp = a; a = b; b = temp; }
 3754|      5|        { Py_ssize_t size_temp = size_a;
 3755|      5|            size_a = size_b;
 3756|      5|            size_b = size_temp; }
 3757|      5|    }
 3758|      8|    assert(size_a >= 1);
  ------------------
  |  Branch (3758:5): [True: 8, False: 0]
  ------------------
 3759|       |    /* A carry out of the top digit is only possible if the top digits sum
 3760|       |       to at least PyLong_MASK; only then allocate a digit for it. */
 3761|      8|    digit top_sum = a->long_value.ob_digit[size_a - 1]
 3762|      8|        + (size_b == size_a ? b->long_value.ob_digit[size_b - 1] : 0);
  ------------------
  |  Branch (3762:12): [True: 0, False: 8]
  ------------------
 3763|      8|    int extra_digit = top_sum >= PyLong_MASK;
  ------------------
  |  |   62|      8|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      8|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      8|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3764|      8|    z = long_alloc(size_a + extra_digit);
 3765|      8|    if (z == NULL)
  ------------------
  |  Branch (3765:9): [True: 0, False: 8]
  ------------------
 3766|      0|        return NULL;
 3767|     11|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3767:17): [True: 3, False: 8]
  ------------------
 3768|      3|        carry += a->long_value.ob_digit[i] + b->long_value.ob_digit[i];
 3769|      3|        z->long_value.ob_digit[i] = carry & 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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3770|      3|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|      3|#define PyLong_SHIFT    30
  ------------------
 3771|      3|    }
 3772|     29|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3772:12): [True: 21, False: 8]
  ------------------
 3773|     21|        carry += a->long_value.ob_digit[i];
 3774|     21|        z->long_value.ob_digit[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|     21|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|     21|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     21|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3775|     21|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|     21|#define PyLong_SHIFT    30
  ------------------
 3776|     21|    }
 3777|      8|    if (extra_digit) {
  ------------------
  |  Branch (3777:9): [True: 0, False: 8]
  ------------------
 3778|      0|        z->long_value.ob_digit[i] = carry;
 3779|      0|        return long_normalize(z);
 3780|      0|    }
 3781|      8|    assert(carry == 0);
  ------------------
  |  Branch (3781:5): [True: 8, False: 0]
  ------------------
 3782|      8|    assert(z->long_value.ob_digit[i - 1] != 0);
  ------------------
  |  Branch (3782:5): [True: 8, False: 0]
  ------------------
 3783|      8|    return z;
 3784|      8|}
longobject.c:long_add:
 3844|     68|{
 3845|     68|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3845:9): [True: 60, False: 8]
  ------------------
 3846|     60|        stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|     60|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|     60|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3847|     60|        return _PyLong_FromSTwoDigits(z);
 3848|     60|    }
 3849|       |
 3850|      8|    PyLongObject *z;
 3851|      8|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3851:9): [True: 0, False: 8]
  ------------------
 3852|      0|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (3852:13): [True: 0, False: 0]
  ------------------
 3853|      0|            z = x_add(a, b);
 3854|      0|            if (z != NULL) {
  ------------------
  |  Branch (3854:17): [True: 0, False: 0]
  ------------------
 3855|       |                /* x_add received at least one multiple-digit int,
 3856|       |                   and thus z must be a multiple-digit int.
 3857|       |                   That also means z is not an element of
 3858|       |                   small_ints, so negating it in-place is safe. */
 3859|      0|                assert(Py_REFCNT(z) == 1);
  ------------------
  |  Branch (3859:17): [True: 0, False: 0]
  ------------------
 3860|      0|                _PyLong_FlipSign(z);
 3861|      0|            }
 3862|      0|        }
 3863|      0|        else
 3864|      0|            z = x_sub(b, a);
 3865|      0|    }
 3866|      8|    else {
 3867|      8|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3867:13): [True: 0, False: 8]
  ------------------
 3868|      0|            z = x_sub(a, b);
 3869|      8|        else
 3870|      8|            z = x_add(a, b);
 3871|      8|    }
 3872|      8|    return z;
 3873|      8|}
longobject.c:long_dealloc:
 3650|  57.1k|{
 3651|  57.1k|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3651:9): [True: 0, False: 57.1k]
  ------------------
 3652|       |        /* This should never get called, but we also don't want to SEGV if
 3653|       |         * we accidentally decref small Ints out of existence. Instead,
 3654|       |         * since small Ints are immortal, re-set the reference count.
 3655|       |         *
 3656|       |         * See PEP 683, section Accidental De-Immortalizing for details
 3657|       |         */
 3658|      0|        _Py_SetImmortal(self);
 3659|      0|        return;
 3660|      0|    }
 3661|  57.1k|    if (PyLong_CheckExact(self) && _PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  |   14|  57.1k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   114k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  57.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  57.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 57.1k, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3661:36): [True: 51.8k, False: 5.30k]
  ------------------
 3662|  51.8k|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|  51.8k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  51.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  51.8k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|  51.8k|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3663|  51.8k|        return;
 3664|  51.8k|    }
 3665|  5.31k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  5.31k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3666|  5.31k|}
longobject.c:long_to_decimal_string:
 2318|     26|{
 2319|     26|    PyObject *v;
 2320|     26|    if (long_to_decimal_string_internal(aa, &v, NULL, NULL, NULL) == -1)
  ------------------
  |  Branch (2320:9): [True: 0, False: 26]
  ------------------
 2321|      0|        return NULL;
 2322|     26|    return v;
 2323|     26|}
longobject.c:long_add_method:
 3885|     68|{
 3886|     68|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|     68|    do {                                                \
  |  | 1845|     68|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     68|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    136|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     68|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     68|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 68]
  |  |  |  Branch (1845:33): [True: 0, False: 68]
  |  |  ------------------
  |  | 1846|     68|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     68|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 68]
  |  |  ------------------
  ------------------
 3887|     68|    return (PyObject*)long_add((PyLongObject*)a, (PyLongObject*)b);
 3888|     68|}
longobject.c:long_sub_method:
 3930|     18|{
 3931|     18|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|     18|    do {                                                \
  |  | 1845|     18|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     18|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     36|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     18|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     18|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 18]
  |  |  |  Branch (1845:33): [True: 0, False: 18]
  |  |  ------------------
  |  | 1846|     18|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     18|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 18]
  |  |  ------------------
  ------------------
 3932|     18|    return (PyObject*)long_sub((PyLongObject*)a, (PyLongObject*)b);
 3933|     18|}
longobject.c:long_mul_method:
 4377|     26|{
 4378|     26|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|     26|    do {                                                \
  |  | 1845|     26|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     26|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     52|#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: 5, False: 21]
  |  |  |  Branch (1845:33): [True: 0, False: 21]
  |  |  ------------------
  |  | 1846|     26|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      5|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      5|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     26|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 21]
  |  |  ------------------
  ------------------
 4379|     21|    return (PyObject*)long_mul((PyLongObject*)a, (PyLongObject*)b);
 4380|     26|}
longobject.c:long_mul:
 4350|     25|{
 4351|       |    /* fast path for single-digit multiplication */
 4352|     25|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (4352:9): [True: 24, False: 1]
  ------------------
 4353|     24|        stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|     24|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|     24|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 4354|     24|        return _PyLong_FromSTwoDigits(v);
 4355|     24|    }
 4356|       |
 4357|      1|    PyLongObject *z = k_mul(a, b);
 4358|       |    /* Negate if exactly one of the inputs is negative. */
 4359|      1|    if (!_PyLong_SameSign(a, b) && z) {
  ------------------
  |  Branch (4359:9): [True: 0, False: 1]
  |  Branch (4359:36): [True: 0, False: 0]
  ------------------
 4360|      0|        _PyLong_Negate(&z);
 4361|      0|    }
 4362|      1|    return z;
 4363|     25|}
longobject.c:k_mul:
 4080|      1|{
 4081|      1|    Py_ssize_t asize = _PyLong_DigitCount(a);
 4082|      1|    Py_ssize_t bsize = _PyLong_DigitCount(b);
 4083|      1|    PyLongObject *ah = NULL;
 4084|      1|    PyLongObject *al = NULL;
 4085|      1|    PyLongObject *bh = NULL;
 4086|      1|    PyLongObject *bl = NULL;
 4087|      1|    PyLongObject *ret = NULL;
 4088|      1|    PyLongObject *t1, *t2, *t3;
 4089|      1|    Py_ssize_t shift;           /* the number of digits we split off */
 4090|      1|    Py_ssize_t i;
 4091|       |
 4092|       |    /* (ah*X+al)(bh*X+bl) = ah*bh*X*X + (ah*bl + al*bh)*X + al*bl
 4093|       |     * Let k = (ah+al)*(bh+bl) = ah*bl + al*bh  + ah*bh + al*bl
 4094|       |     * Then the original product is
 4095|       |     *     ah*bh*X*X + (k - ah*bh - al*bl)*X + al*bl
 4096|       |     * By picking X to be a power of 2, "*X" is just shifting, and it's
 4097|       |     * been reduced to 3 multiplies on numbers half the size.
 4098|       |     */
 4099|       |
 4100|       |    /* We want to split based on the larger number; fiddle so that b
 4101|       |     * is largest.
 4102|       |     */
 4103|      1|    if (asize > bsize) {
  ------------------
  |  Branch (4103:9): [True: 1, False: 0]
  ------------------
 4104|      1|        t1 = a;
 4105|      1|        a = b;
 4106|      1|        b = t1;
 4107|       |
 4108|      1|        i = asize;
 4109|      1|        asize = bsize;
 4110|      1|        bsize = i;
 4111|      1|    }
 4112|       |
 4113|       |    /* Use gradeschool math when either number is too small. */
 4114|      1|    i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF;
  ------------------
  |  |   85|      0|#define KARATSUBA_SQUARE_CUTOFF (2 * KARATSUBA_CUTOFF)
  |  |  ------------------
  |  |  |  |   84|      0|#define KARATSUBA_CUTOFF 70
  |  |  ------------------
  ------------------
                  i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF;
  ------------------
  |  |   84|      2|#define KARATSUBA_CUTOFF 70
  ------------------
  |  Branch (4114:9): [True: 0, False: 1]
  ------------------
 4115|      1|    if (asize <= i) {
  ------------------
  |  Branch (4115:9): [True: 1, False: 0]
  ------------------
 4116|      1|        if (asize == 0)
  ------------------
  |  Branch (4116:13): [True: 0, False: 1]
  ------------------
 4117|      0|            return (PyLongObject *)PyLong_FromLong(0);
 4118|      1|        else
 4119|      1|            return x_mul(a, b);
 4120|      1|    }
 4121|       |
 4122|       |    /* If a is small compared to b, splitting on b gives a degenerate
 4123|       |     * case with ah==0, and Karatsuba may be (even much) less efficient
 4124|       |     * than "grade school" then.  However, we can still win, by viewing
 4125|       |     * b as a string of "big digits", each of the same width as a. That
 4126|       |     * leads to a sequence of balanced calls to k_mul.
 4127|       |     */
 4128|      0|    if (2 * asize <= bsize)
  ------------------
  |  Branch (4128:9): [True: 0, False: 0]
  ------------------
 4129|      0|        return k_lopsided_mul(a, b);
 4130|       |
 4131|       |    /* Split a & b into hi & lo pieces. */
 4132|      0|    shift = bsize >> 1;
 4133|      0|    if (kmul_split(a, shift, &ah, &al) < 0) goto fail;
  ------------------
  |  Branch (4133:9): [True: 0, False: 0]
  ------------------
 4134|      0|    assert(_PyLong_IsPositive(ah));        /* the split isn't degenerate */
  ------------------
  |  Branch (4134:5): [True: 0, False: 0]
  ------------------
 4135|       |
 4136|      0|    if (a == b) {
  ------------------
  |  Branch (4136:9): [True: 0, False: 0]
  ------------------
 4137|      0|        bh = (PyLongObject*)Py_NewRef(ah);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4138|      0|        bl = (PyLongObject*)Py_NewRef(al);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4139|      0|    }
 4140|      0|    else if (kmul_split(b, shift, &bh, &bl) < 0) goto fail;
  ------------------
  |  Branch (4140:14): [True: 0, False: 0]
  ------------------
 4141|       |
 4142|       |    /* The plan:
 4143|       |     * 1. Allocate result space (asize + bsize digits:  that's always
 4144|       |     *    enough).
 4145|       |     * 2. Compute ah*bh, and copy into result at 2*shift.
 4146|       |     * 3. Compute al*bl, and copy into result at 0.  Note that this
 4147|       |     *    can't overlap with #2.
 4148|       |     * 4. Subtract al*bl from the result, starting at shift.  This may
 4149|       |     *    underflow (borrow out of the high digit), but we don't care:
 4150|       |     *    we're effectively doing unsigned arithmetic mod
 4151|       |     *    BASE**(sizea + sizeb), and so long as the *final* result fits,
 4152|       |     *    borrows and carries out of the high digit can be ignored.
 4153|       |     * 5. Subtract ah*bh from the result, starting at shift.
 4154|       |     * 6. Compute (ah+al)*(bh+bl), and add it into the result starting
 4155|       |     *    at shift.
 4156|       |     */
 4157|       |
 4158|       |    /* 1. Allocate result space. */
 4159|      0|    ret = long_alloc(asize + bsize);
 4160|      0|    if (ret == NULL) goto fail;
  ------------------
  |  Branch (4160:9): [True: 0, False: 0]
  ------------------
 4161|       |
 4162|       |    /* 2. t1 <- ah*bh, and copy into high digits of result. */
 4163|      0|    if ((t1 = k_mul(ah, bh)) == NULL) goto fail;
  ------------------
  |  Branch (4163:9): [True: 0, False: 0]
  ------------------
 4164|      0|    assert(!_PyLong_IsNegative(t1));
  ------------------
  |  Branch (4164:5): [True: 0, False: 0]
  ------------------
 4165|      0|    assert(2*shift + _PyLong_DigitCount(t1) <= _PyLong_DigitCount(ret));
  ------------------
  |  Branch (4165:5): [True: 0, False: 0]
  ------------------
 4166|      0|    memcpy(ret->long_value.ob_digit + 2*shift, t1->long_value.ob_digit,
 4167|      0|           _PyLong_DigitCount(t1) * sizeof(digit));
 4168|       |
 4169|       |    /* Zero-out the digits higher than the ah*bh copy. */
 4170|      0|    i = _PyLong_DigitCount(ret) - 2*shift - _PyLong_DigitCount(t1);
 4171|      0|    if (i)
  ------------------
  |  Branch (4171:9): [True: 0, False: 0]
  ------------------
 4172|      0|        memset(ret->long_value.ob_digit + 2*shift + _PyLong_DigitCount(t1), 0,
 4173|      0|               i * sizeof(digit));
 4174|       |
 4175|       |    /* 3. t2 <- al*bl, and copy into the low digits. */
 4176|      0|    if ((t2 = k_mul(al, bl)) == NULL) {
  ------------------
  |  Branch (4176:9): [True: 0, False: 0]
  ------------------
 4177|      0|        Py_DECREF(t1);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4178|      0|        goto fail;
 4179|      0|    }
 4180|      0|    assert(!_PyLong_IsNegative(t2));
  ------------------
  |  Branch (4180:5): [True: 0, False: 0]
  ------------------
 4181|      0|    assert(_PyLong_DigitCount(t2) <= 2*shift); /* no overlap with high digits */
  ------------------
  |  Branch (4181:5): [True: 0, False: 0]
  ------------------
 4182|      0|    memcpy(ret->long_value.ob_digit, t2->long_value.ob_digit, _PyLong_DigitCount(t2) * sizeof(digit));
 4183|       |
 4184|       |    /* Zero out remaining digits. */
 4185|      0|    i = 2*shift - _PyLong_DigitCount(t2);          /* number of uninitialized digits */
 4186|      0|    if (i)
  ------------------
  |  Branch (4186:9): [True: 0, False: 0]
  ------------------
 4187|      0|        memset(ret->long_value.ob_digit + _PyLong_DigitCount(t2), 0, i * sizeof(digit));
 4188|       |
 4189|       |    /* 4 & 5. Subtract ah*bh (t1) and al*bl (t2).  We do al*bl first
 4190|       |     * because it's fresher in cache.
 4191|       |     */
 4192|      0|    i = _PyLong_DigitCount(ret) - shift;  /* # digits after shift */
 4193|      0|    (void)v_isub(ret->long_value.ob_digit + shift, i, t2->long_value.ob_digit, _PyLong_DigitCount(t2));
 4194|      0|    _Py_DECREF_INT(t2);
 4195|       |
 4196|      0|    (void)v_isub(ret->long_value.ob_digit + shift, i, t1->long_value.ob_digit, _PyLong_DigitCount(t1));
 4197|      0|    _Py_DECREF_INT(t1);
 4198|       |
 4199|       |    /* 6. t3 <- (ah+al)(bh+bl), and add into result. */
 4200|      0|    if ((t1 = x_add(ah, al)) == NULL) goto fail;
  ------------------
  |  Branch (4200:9): [True: 0, False: 0]
  ------------------
 4201|      0|    _Py_DECREF_INT(ah);
 4202|      0|    _Py_DECREF_INT(al);
 4203|      0|    ah = al = NULL;
 4204|       |
 4205|      0|    if (a == b) {
  ------------------
  |  Branch (4205:9): [True: 0, False: 0]
  ------------------
 4206|      0|        t2 = (PyLongObject*)Py_NewRef(t1);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4207|      0|    }
 4208|      0|    else if ((t2 = x_add(bh, bl)) == NULL) {
  ------------------
  |  Branch (4208:14): [True: 0, False: 0]
  ------------------
 4209|      0|        Py_DECREF(t1);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4210|      0|        goto fail;
 4211|      0|    }
 4212|      0|    _Py_DECREF_INT(bh);
 4213|      0|    _Py_DECREF_INT(bl);
 4214|      0|    bh = bl = NULL;
 4215|       |
 4216|      0|    t3 = k_mul(t1, t2);
 4217|      0|    _Py_DECREF_INT(t1);
 4218|      0|    _Py_DECREF_INT(t2);
 4219|      0|    if (t3 == NULL) goto fail;
  ------------------
  |  Branch (4219:9): [True: 0, False: 0]
  ------------------
 4220|      0|    assert(!_PyLong_IsNegative(t3));
  ------------------
  |  Branch (4220:5): [True: 0, False: 0]
  ------------------
 4221|       |
 4222|       |    /* Add t3.  It's not obvious why we can't run out of room here.
 4223|       |     * See the (*) comment after this function.
 4224|       |     */
 4225|      0|    (void)v_iadd(ret->long_value.ob_digit + shift, i, t3->long_value.ob_digit, _PyLong_DigitCount(t3));
 4226|      0|    _Py_DECREF_INT(t3);
 4227|       |
 4228|      0|    return long_normalize(ret);
 4229|       |
 4230|      0|  fail:
 4231|      0|    Py_XDECREF(ret);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4232|      0|    Py_XDECREF(ah);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4233|      0|    Py_XDECREF(al);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4234|      0|    Py_XDECREF(bh);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4235|      0|    Py_XDECREF(bl);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4236|       |    return NULL;
 4237|      0|}
longobject.c:x_mul:
 3941|      1|{
 3942|      1|    PyLongObject *z;
 3943|      1|    Py_ssize_t size_a = _PyLong_DigitCount(a);
 3944|      1|    Py_ssize_t size_b = _PyLong_DigitCount(b);
 3945|      1|    Py_ssize_t i;
 3946|       |
 3947|      1|    z = long_alloc(size_a + size_b);
 3948|      1|    if (z == NULL)
  ------------------
  |  Branch (3948:9): [True: 0, False: 1]
  ------------------
 3949|      0|        return NULL;
 3950|       |
 3951|      1|    memset(z->long_value.ob_digit, 0, _PyLong_DigitCount(z) * sizeof(digit));
 3952|      1|    if (a == b) {
  ------------------
  |  Branch (3952:9): [True: 0, False: 1]
  ------------------
 3953|       |        /* Efficient squaring per HAC, Algorithm 14.16:
 3954|       |         * https://cacr.uwaterloo.ca/hac/about/chap14.pdf
 3955|       |         * Gives slightly less than a 2x speedup when a == b,
 3956|       |         * via exploiting that each entry in the multiplication
 3957|       |         * pyramid appears twice (except for the size_a squares).
 3958|       |         */
 3959|      0|        digit *paend = a->long_value.ob_digit + size_a;
 3960|      0|        for (i = 0; i < size_a; ++i) {
  ------------------
  |  Branch (3960:21): [True: 0, False: 0]
  ------------------
 3961|      0|            twodigits carry;
 3962|      0|            twodigits f = a->long_value.ob_digit[i];
 3963|      0|            digit *pz = z->long_value.ob_digit + (i << 1);
 3964|      0|            digit *pa = a->long_value.ob_digit + i + 1;
 3965|       |
 3966|      0|            SIGCHECK({
  ------------------
  |  |  117|      0|    do {                                        \
  |  |  118|      0|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  119|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3967|      0|                    Py_DECREF(z);
 3968|      0|                    return NULL;
 3969|      0|                });
 3970|       |
 3971|      0|            carry = *pz + f * f;
 3972|      0|            *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3973|      0|            carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 3974|      0|            assert(carry <= PyLong_MASK);
  ------------------
  |  Branch (3974:13): [True: 0, False: 0]
  ------------------
 3975|       |
 3976|       |            /* Now f is added in twice in each column of the
 3977|       |             * pyramid it appears.  Same as adding f<<1 once.
 3978|       |             */
 3979|      0|            f <<= 1;
 3980|      0|            while (pa < paend) {
  ------------------
  |  Branch (3980:20): [True: 0, False: 0]
  ------------------
 3981|      0|                carry += *pz + *pa++ * f;
 3982|      0|                *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3983|      0|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 3984|      0|                assert(carry <= (PyLong_MASK << 1));
  ------------------
  |  Branch (3984:17): [True: 0, False: 0]
  ------------------
 3985|      0|            }
 3986|      0|            if (carry) {
  ------------------
  |  Branch (3986:17): [True: 0, False: 0]
  ------------------
 3987|       |                /* See comment below. pz points at the highest possible
 3988|       |                 * carry position from the last outer loop iteration, so
 3989|       |                 * *pz is at most 1.
 3990|       |                 */
 3991|      0|                assert(*pz <= 1);
  ------------------
  |  Branch (3991:17): [True: 0, False: 0]
  ------------------
 3992|      0|                carry += *pz;
 3993|      0|                *pz = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3994|      0|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 3995|      0|                if (carry) {
  ------------------
  |  Branch (3995:21): [True: 0, False: 0]
  ------------------
 3996|       |                    /* If there's still a carry, it must be into a position
 3997|       |                     * that still holds a 0. Where the base
 3998|       |                     ^ B is 1 << PyLong_SHIFT, the last add was of a carry no
 3999|       |                     * more than 2*B - 2 to a stored digit no more than 1.
 4000|       |                     * So the sum was no more than 2*B - 1, so the current
 4001|       |                     * carry no more than floor((2*B - 1)/B) = 1.
 4002|       |                     */
 4003|      0|                    assert(carry == 1);
  ------------------
  |  Branch (4003:21): [True: 0, False: 0]
  ------------------
 4004|      0|                    assert(pz[1] == 0);
  ------------------
  |  Branch (4004:21): [True: 0, False: 0]
  ------------------
 4005|      0|                    pz[1] = (digit)carry;
 4006|      0|                }
 4007|      0|            }
 4008|      0|        }
 4009|      0|    }
 4010|      1|    else {      /* a is not the same as b -- gradeschool int mult */
 4011|      2|        for (i = 0; i < size_a; ++i) {
  ------------------
  |  Branch (4011:21): [True: 1, False: 1]
  ------------------
 4012|      1|            twodigits carry = 0;
 4013|      1|            twodigits f = a->long_value.ob_digit[i];
 4014|      1|            digit *pz = z->long_value.ob_digit + i;
 4015|      1|            digit *pb = b->long_value.ob_digit;
 4016|      1|            digit *pbend = b->long_value.ob_digit + size_b;
 4017|       |
 4018|      1|            SIGCHECK({
  ------------------
  |  |  117|      1|    do {                                        \
  |  |  118|      1|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 1]
  |  |  ------------------
  |  |  119|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4019|      1|                    Py_DECREF(z);
 4020|      1|                    return NULL;
 4021|      1|                });
 4022|       |
 4023|      4|            while (pb < pbend) {
  ------------------
  |  Branch (4023:20): [True: 3, False: 1]
  ------------------
 4024|      3|                carry += *pz + *pb++ * f;
 4025|      3|                *pz++ = (digit)(carry & 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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4026|      3|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|      3|#define PyLong_SHIFT    30
  ------------------
 4027|      3|                assert(carry <= PyLong_MASK);
  ------------------
  |  Branch (4027:17): [True: 3, False: 0]
  ------------------
 4028|      3|            }
 4029|      1|            if (carry)
  ------------------
  |  Branch (4029:17): [True: 0, False: 1]
  ------------------
 4030|      0|                *pz += (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4031|      1|            assert((carry >> PyLong_SHIFT) == 0);
  ------------------
  |  Branch (4031:13): [True: 1, False: 0]
  ------------------
 4032|      1|        }
 4033|      1|    }
 4034|      1|    return long_normalize(z);
 4035|      1|}
longobject.c:long_pow:
 4985|      1|{
 4986|      1|    PyLongObject *a, *b, *c; /* a,b,c = v,w,x */
 4987|      1|    int negativeOutput = 0;  /* if x<0 return negative output */
 4988|       |
 4989|      1|    PyLongObject *z = NULL;  /* accumulated result */
 4990|      1|    Py_ssize_t i, j;             /* counters */
 4991|      1|    PyLongObject *temp = NULL;
 4992|      1|    PyLongObject *a2 = NULL; /* may temporarily hold a**2 % c */
 4993|       |
 4994|       |    /* k-ary values.  If the exponent is large enough, table is
 4995|       |     * precomputed so that table[i] == a**(2*i+1) % c for i in
 4996|       |     * range(EXP_TABLE_LEN).
 4997|       |     * Note: this is uninitialized stack trash: don't pay to set it to known
 4998|       |     * values unless it's needed. Instead ensure that num_table_entries is
 4999|       |     * set to the number of entries actually filled whenever a branch to the
 5000|       |     * Error or Done labels is possible.
 5001|       |     */
 5002|      1|    PyLongObject *table[EXP_TABLE_LEN];
 5003|      1|    Py_ssize_t num_table_entries = 0;
 5004|       |
 5005|       |    /* a, b, c = v, w, x */
 5006|      1|    CHECK_BINOP(v, w);
  ------------------
  |  | 1844|      1|    do {                                                \
  |  | 1845|      1|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|      1|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|      1|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 1]
  |  |  |  Branch (1845:33): [True: 0, False: 1]
  |  |  ------------------
  |  | 1846|      1|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 5007|      1|    a = (PyLongObject*)Py_NewRef(v);
  ------------------
  |  |  647|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5008|      1|    b = (PyLongObject*)Py_NewRef(w);
  ------------------
  |  |  647|      1|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5009|      1|    if (PyLong_Check(x)) {
  ------------------
  |  |   13|      1|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5010|      0|        c = (PyLongObject *)Py_NewRef(x);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5011|      0|    }
 5012|      1|    else if (x == Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5012:14): [True: 1, False: 0]
  ------------------
 5013|      1|        c = NULL;
 5014|      0|    else {
 5015|      0|        Py_DECREF(a);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5016|      0|        Py_DECREF(b);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5017|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 5018|      0|    }
 5019|       |
 5020|      1|    if (_PyLong_IsNegative(b) && c == NULL) {
  ------------------
  |  Branch (5020:9): [True: 0, False: 1]
  |  Branch (5020:34): [True: 0, False: 0]
  ------------------
 5021|       |        /* if exponent is negative and there's no modulus:
 5022|       |               return a float.  This works because we know
 5023|       |               that this calls float_pow() which converts its
 5024|       |               arguments to double. */
 5025|      0|        Py_DECREF(a);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5026|      0|        Py_DECREF(b);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5027|      0|        return PyFloat_Type.tp_as_number->nb_power(v, w, x);
 5028|      0|    }
 5029|       |
 5030|      1|    if (c) {
  ------------------
  |  Branch (5030:9): [True: 0, False: 1]
  ------------------
 5031|       |        /* if modulus == 0:
 5032|       |               raise ValueError() */
 5033|      0|        if (_PyLong_IsZero(c)) {
  ------------------
  |  Branch (5033:13): [True: 0, False: 0]
  ------------------
 5034|      0|            PyErr_SetString(PyExc_ValueError,
 5035|      0|                            "pow() 3rd argument cannot be 0");
 5036|      0|            goto Error;
 5037|      0|        }
 5038|       |
 5039|       |        /* if modulus < 0:
 5040|       |               negativeOutput = True
 5041|       |               modulus = -modulus */
 5042|      0|        if (_PyLong_IsNegative(c)) {
  ------------------
  |  Branch (5042:13): [True: 0, False: 0]
  ------------------
 5043|      0|            negativeOutput = 1;
 5044|      0|            temp = (PyLongObject *)_PyLong_Copy(c);
 5045|      0|            if (temp == NULL)
  ------------------
  |  Branch (5045:17): [True: 0, False: 0]
  ------------------
 5046|      0|                goto Error;
 5047|      0|            Py_SETREF(c, temp);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5048|      0|            temp = NULL;
 5049|      0|            _PyLong_Negate(&c);
 5050|      0|            if (c == NULL)
  ------------------
  |  Branch (5050:17): [True: 0, False: 0]
  ------------------
 5051|      0|                goto Error;
 5052|      0|        }
 5053|       |
 5054|       |        /* if modulus == 1:
 5055|       |               return 0 */
 5056|      0|        if (_PyLong_IsNonNegativeCompact(c) && (c->long_value.ob_digit[0] == 1)) {
  ------------------
  |  Branch (5056:13): [True: 0, False: 0]
  |  Branch (5056:48): [True: 0, False: 0]
  ------------------
 5057|      0|            z = (PyLongObject *)PyLong_FromLong(0L);
 5058|      0|            goto Done;
 5059|      0|        }
 5060|       |
 5061|       |        /* if exponent is negative, negate the exponent and
 5062|       |           replace the base with a modular inverse */
 5063|      0|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (5063:13): [True: 0, False: 0]
  ------------------
 5064|      0|            temp = (PyLongObject *)_PyLong_Copy(b);
 5065|      0|            if (temp == NULL)
  ------------------
  |  Branch (5065:17): [True: 0, False: 0]
  ------------------
 5066|      0|                goto Error;
 5067|      0|            Py_SETREF(b, temp);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5068|      0|            temp = NULL;
 5069|      0|            _PyLong_Negate(&b);
 5070|      0|            if (b == NULL)
  ------------------
  |  Branch (5070:17): [True: 0, False: 0]
  ------------------
 5071|      0|                goto Error;
 5072|       |
 5073|      0|            temp = long_invmod(a, c);
 5074|      0|            if (temp == NULL)
  ------------------
  |  Branch (5074:17): [True: 0, False: 0]
  ------------------
 5075|      0|                goto Error;
 5076|      0|            Py_SETREF(a, temp);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5077|      0|            temp = NULL;
 5078|      0|        }
 5079|       |
 5080|       |        /* Reduce base by modulus in some cases:
 5081|       |           1. If base < 0.  Forcing the base non-negative makes things easier.
 5082|       |           2. If base is obviously larger than the modulus.  The "small
 5083|       |              exponent" case later can multiply directly by base repeatedly,
 5084|       |              while the "large exponent" case multiplies directly by base 31
 5085|       |              times.  It can be unboundedly faster to multiply by
 5086|       |              base % modulus instead.
 5087|       |           We could _always_ do this reduction, but l_mod() isn't cheap,
 5088|       |           so we only do it when it buys something. */
 5089|      0|        if (_PyLong_IsNegative(a) || _PyLong_DigitCount(a) > _PyLong_DigitCount(c)) {
  ------------------
  |  Branch (5089:13): [True: 0, False: 0]
  |  Branch (5089:38): [True: 0, False: 0]
  ------------------
 5090|      0|            if (l_mod(a, c, &temp) < 0)
  ------------------
  |  Branch (5090:17): [True: 0, False: 0]
  ------------------
 5091|      0|                goto Error;
 5092|      0|            Py_SETREF(a, temp);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5093|      0|            temp = NULL;
 5094|      0|        }
 5095|      0|    }
 5096|       |
 5097|       |    /* At this point a, b, and c are guaranteed non-negative UNLESS
 5098|       |       c is NULL, in which case a may be negative. */
 5099|       |
 5100|      1|    z = (PyLongObject *)PyLong_FromLong(1L);
 5101|      1|    if (z == NULL)
  ------------------
  |  Branch (5101:9): [True: 0, False: 1]
  ------------------
 5102|      0|        goto Error;
 5103|       |
 5104|       |    /* Perform a modular reduction, X = X % c, but leave X alone if c
 5105|       |     * is NULL.
 5106|       |     */
 5107|      1|#define REDUCE(X)                                       \
 5108|      1|    do {                                                \
 5109|      1|        if (c != NULL) {                                \
 5110|      1|            if (l_mod(X, c, &temp) < 0)                 \
 5111|      1|                goto Error;                             \
 5112|      1|            Py_XDECREF(X);                              \
 5113|      1|            X = temp;                                   \
 5114|      1|            temp = NULL;                                \
 5115|      1|        }                                               \
 5116|      1|    } while(0)
 5117|       |
 5118|       |    /* Multiply two values, then reduce the result:
 5119|       |       result = X*Y % c.  If c is NULL, skip the mod. */
 5120|      1|#define MULT(X, Y, result)                      \
 5121|      1|    do {                                        \
 5122|      1|        temp = (PyLongObject *)long_mul(X, Y);  \
 5123|      1|        if (temp == NULL)                       \
 5124|      1|            goto Error;                         \
 5125|      1|        Py_XDECREF(result);                     \
 5126|      1|        result = temp;                          \
 5127|      1|        temp = NULL;                            \
 5128|      1|        REDUCE(result);                         \
 5129|      1|    } while(0)
 5130|       |
 5131|      1|    i = _PyLong_SignedDigitCount(b);
 5132|      1|    digit bi = i ? b->long_value.ob_digit[i-1] : 0;
  ------------------
  |  Branch (5132:16): [True: 1, False: 0]
  ------------------
 5133|      1|    digit bit;
 5134|      1|    if (i <= 1 && bi <= 3) {
  ------------------
  |  Branch (5134:9): [True: 1, False: 0]
  |  Branch (5134:19): [True: 0, False: 1]
  ------------------
 5135|       |        /* aim for minimal overhead */
 5136|      0|        if (bi >= 2) {
  ------------------
  |  Branch (5136:13): [True: 0, False: 0]
  ------------------
 5137|      0|            MULT(a, a, z);
  ------------------
  |  | 5121|      0|    do {                                        \
  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5124|      0|            goto Error;                         \
  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      0|        result = temp;                          \
  |  | 5127|      0|        temp = NULL;                            \
  |  | 5128|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5138|      0|            if (bi == 3) {
  ------------------
  |  Branch (5138:17): [True: 0, False: 0]
  ------------------
 5139|      0|                MULT(z, a, z);
  ------------------
  |  | 5121|      0|    do {                                        \
  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5124|      0|            goto Error;                         \
  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      0|        result = temp;                          \
  |  | 5127|      0|        temp = NULL;                            \
  |  | 5128|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5140|      0|            }
 5141|      0|        }
 5142|      0|        else if (bi == 1) {
  ------------------
  |  Branch (5142:18): [True: 0, False: 0]
  ------------------
 5143|       |            /* Multiplying by 1 serves two purposes: if `a` is of an int
 5144|       |             * subclass, makes the result an int (e.g., pow(False, 1) returns
 5145|       |             * 0 instead of False), and potentially reduces `a` by the modulus.
 5146|       |             */
 5147|      0|            MULT(a, z, z);
  ------------------
  |  | 5121|      0|    do {                                        \
  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5124|      0|            goto Error;                         \
  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      0|        result = temp;                          \
  |  | 5127|      0|        temp = NULL;                            \
  |  | 5128|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5148|      0|        }
 5149|       |        /* else bi is 0, and z==1 is correct */
 5150|      0|    }
 5151|      1|    else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
  ------------------
  |  |  114|      1|#define HUGE_EXP_CUTOFF 60
  ------------------
                  else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
  ------------------
  |  |   47|      1|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5151:14): [True: 1, False: 0]
  ------------------
 5152|       |        /* Left-to-right binary exponentiation (HAC Algorithm 14.79) */
 5153|       |        /* https://cacr.uwaterloo.ca/hac/about/chap14.pdf            */
 5154|       |
 5155|       |        /* Find the first significant exponent bit. Search right to left
 5156|       |         * because we're primarily trying to cut overhead for small powers.
 5157|       |         */
 5158|      1|        assert(bi);  /* else there is no significant bit */
  ------------------
  |  Branch (5158:9): [True: 1, False: 0]
  ------------------
 5159|      1|        Py_SETREF(z, (PyLongObject*)Py_NewRef(a));
  ------------------
  |  |  545|      1|    do { \
  |  |  546|      1|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      1|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      1|        *_tmp_dst_ptr = (src); \
  |  |  549|      1|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 5160|      4|        for (bit = 2; ; bit <<= 1) {
 5161|      4|            if (bit > bi) { /* found the first bit */
  ------------------
  |  Branch (5161:17): [True: 1, False: 3]
  ------------------
 5162|      1|                assert((bi & bit) == 0);
  ------------------
  |  Branch (5162:17): [True: 1, False: 0]
  ------------------
 5163|      1|                bit >>= 1;
 5164|      1|                assert(bi & bit);
  ------------------
  |  Branch (5164:17): [True: 1, False: 0]
  ------------------
 5165|      1|                break;
 5166|      1|            }
 5167|      4|        }
 5168|      1|        for (--i, bit >>= 1;;) {
 5169|      4|            for (; bit != 0; bit >>= 1) {
  ------------------
  |  Branch (5169:20): [True: 3, False: 1]
  ------------------
 5170|      3|                MULT(z, z, z);
  ------------------
  |  | 5121|      3|    do {                                        \
  |  | 5122|      3|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      3|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 3]
  |  |  ------------------
  |  | 5124|      3|            goto Error;                         \
  |  | 5125|      3|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      3|        result = temp;                          \
  |  | 5127|      3|        temp = NULL;                            \
  |  | 5128|      3|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      3|    do {                                                \
  |  |  |  | 5109|      3|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      3|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 5171|      3|                if (bi & bit) {
  ------------------
  |  Branch (5171:21): [True: 1, False: 2]
  ------------------
 5172|      1|                    MULT(z, a, z);
  ------------------
  |  | 5121|      1|    do {                                        \
  |  | 5122|      1|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      1|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 5124|      1|            goto Error;                         \
  |  | 5125|      1|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      1|        result = temp;                          \
  |  | 5127|      1|        temp = NULL;                            \
  |  | 5128|      1|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      1|    do {                                                \
  |  |  |  | 5109|      1|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      1|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 5173|      1|                }
 5174|      3|            }
 5175|      1|            if (--i < 0) {
  ------------------
  |  Branch (5175:17): [True: 1, False: 0]
  ------------------
 5176|      1|                break;
 5177|      1|            }
 5178|      0|            bi = b->long_value.ob_digit[i];
 5179|      0|            bit = (digit)1 << (PyLong_SHIFT-1);
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 5180|      0|        }
 5181|      1|    }
 5182|      0|    else {
 5183|       |        /* Left-to-right k-ary sliding window exponentiation
 5184|       |         * (Handbook of Applied Cryptography (HAC) Algorithm 14.85)
 5185|       |         */
 5186|      0|        table[0] = (PyLongObject*)Py_NewRef(a);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5187|      0|        num_table_entries = 1;
 5188|      0|        MULT(a, a, a2);
  ------------------
  |  | 5121|      0|    do {                                        \
  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5124|      0|            goto Error;                         \
  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      0|        result = temp;                          \
  |  | 5127|      0|        temp = NULL;                            \
  |  | 5128|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5189|       |        /* table[i] == a**(2*i + 1) % c */
 5190|      0|        for (i = 1; i < EXP_TABLE_LEN; ++i) {
  ------------------
  |  |   94|      0|#define EXP_TABLE_LEN (1 << (EXP_WINDOW_SIZE - 1))
  |  |  ------------------
  |  |  |  |   93|      0|#define EXP_WINDOW_SIZE 5
  |  |  ------------------
  ------------------
  |  Branch (5190:21): [True: 0, False: 0]
  ------------------
 5191|      0|            table[i] = NULL; /* must set to known value for MULT */
 5192|      0|            MULT(table[i-1], a2, table[i]);
  ------------------
  |  | 5121|      0|    do {                                        \
  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5124|      0|            goto Error;                         \
  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      0|        result = temp;                          \
  |  | 5127|      0|        temp = NULL;                            \
  |  | 5128|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5193|      0|            ++num_table_entries; /* incremented iff MULT succeeded */
 5194|      0|        }
 5195|      0|        Py_CLEAR(a2);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5196|       |
 5197|       |        /* Repeatedly extract the next (no more than) EXP_WINDOW_SIZE bits
 5198|       |         * into `pending`, starting with the next 1 bit.  The current bit
 5199|       |         * length of `pending` is `blen`.
 5200|       |         */
 5201|      0|        int pending = 0, blen = 0;
 5202|      0|#define ABSORB_PENDING  do { \
 5203|      0|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
 5204|      0|            assert(pending && blen); \
 5205|      0|            assert(pending >> (blen - 1)); \
 5206|      0|            assert(pending >> blen == 0); \
 5207|      0|            while ((pending & 1) == 0) { \
 5208|      0|                ++ntz; \
 5209|      0|                pending >>= 1; \
 5210|      0|            } \
 5211|      0|            assert(ntz < blen); \
 5212|      0|            blen -= ntz; \
 5213|      0|            do { \
 5214|      0|                MULT(z, z, z); \
 5215|      0|            } while (--blen); \
 5216|      0|            MULT(z, table[pending >> 1], z); \
 5217|      0|            while (ntz-- > 0) \
 5218|      0|                MULT(z, z, z); \
 5219|      0|            assert(blen == 0); \
 5220|      0|            pending = 0; \
 5221|      0|        } while(0)
 5222|       |
 5223|      0|        for (i = _PyLong_SignedDigitCount(b) - 1; i >= 0; --i) {
  ------------------
  |  Branch (5223:51): [True: 0, False: 0]
  ------------------
 5224|      0|            const digit bi = b->long_value.ob_digit[i];
 5225|      0|            for (j = PyLong_SHIFT - 1; j >= 0; --j) {
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5225:40): [True: 0, False: 0]
  ------------------
 5226|      0|                const int bit = (bi >> j) & 1;
 5227|      0|                pending = (pending << 1) | bit;
 5228|      0|                if (pending) {
  ------------------
  |  Branch (5228:21): [True: 0, False: 0]
  ------------------
 5229|      0|                    ++blen;
 5230|      0|                    if (blen == EXP_WINDOW_SIZE)
  ------------------
  |  |   93|      0|#define EXP_WINDOW_SIZE 5
  ------------------
  |  Branch (5230:25): [True: 0, False: 0]
  ------------------
 5231|      0|                        ABSORB_PENDING;
  ------------------
  |  | 5202|      0|#define ABSORB_PENDING  do { \
  |  | 5203|      0|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
  |  | 5204|      0|            assert(pending && blen); \
  |  | 5205|      0|            assert(pending >> (blen - 1)); \
  |  | 5206|      0|            assert(pending >> blen == 0); \
  |  | 5207|      0|            while ((pending & 1) == 0) { \
  |  |  ------------------
  |  |  |  Branch (5207:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 5208|      0|                ++ntz; \
  |  | 5209|      0|                pending >>= 1; \
  |  | 5210|      0|            } \
  |  | 5211|      0|            assert(ntz < blen); \
  |  | 5212|      0|            blen -= ntz; \
  |  | 5213|      0|            do { \
  |  | 5214|      0|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5121|      0|    do {                                        \
  |  |  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5124|      0|            goto Error;                         \
  |  |  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|      0|        result = temp;                          \
  |  |  |  | 5127|      0|        temp = NULL;                            \
  |  |  |  | 5128|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      0|        }                                               \
  |  |  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5215|      0|            } while (--blen); \
  |  |  ------------------
  |  |  |  Branch (5215:22): [True: 0, False: 0]
  |  |  ------------------
  |  | 5216|      0|            MULT(z, table[pending >> 1], z); \
  |  |  ------------------
  |  |  |  | 5121|      0|    do {                                        \
  |  |  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5124|      0|            goto Error;                         \
  |  |  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|      0|        result = temp;                          \
  |  |  |  | 5127|      0|        temp = NULL;                            \
  |  |  |  | 5128|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      0|        }                                               \
  |  |  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5217|      0|            while (ntz-- > 0) \
  |  |  ------------------
  |  |  |  Branch (5217:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 5218|      0|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5121|      0|    do {                                        \
  |  |  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5124|      0|            goto Error;                         \
  |  |  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|      0|        result = temp;                          \
  |  |  |  | 5127|      0|        temp = NULL;                            \
  |  |  |  | 5128|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      0|        }                                               \
  |  |  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5219|      0|            assert(blen == 0); \
  |  | 5220|      0|            pending = 0; \
  |  | 5221|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (5221:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (5231:25): [True: 0, False: 0]
  |  Branch (5231:25): [True: 0, False: 0]
  |  Branch (5231:25): [True: 0, False: 0]
  |  Branch (5231:25): [True: 0, False: 0]
  |  Branch (5231:25): [True: 0, False: 0]
  |  Branch (5231:25): [True: 0, False: 0]
  ------------------
 5232|      0|                }
 5233|      0|                else /* absorb strings of 0 bits */
 5234|      0|                    MULT(z, z, z);
  ------------------
  |  | 5121|      0|    do {                                        \
  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5124|      0|            goto Error;                         \
  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|      0|        result = temp;                          \
  |  | 5127|      0|        temp = NULL;                            \
  |  | 5128|      0|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  | 5115|      0|        }                                               \
  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5235|      0|            }
 5236|      0|        }
 5237|      0|        if (pending)
  ------------------
  |  Branch (5237:13): [True: 0, False: 0]
  ------------------
 5238|      0|            ABSORB_PENDING;
  ------------------
  |  | 5202|      0|#define ABSORB_PENDING  do { \
  |  | 5203|      0|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
  |  | 5204|      0|            assert(pending && blen); \
  |  | 5205|      0|            assert(pending >> (blen - 1)); \
  |  | 5206|      0|            assert(pending >> blen == 0); \
  |  | 5207|      0|            while ((pending & 1) == 0) { \
  |  |  ------------------
  |  |  |  Branch (5207:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 5208|      0|                ++ntz; \
  |  | 5209|      0|                pending >>= 1; \
  |  | 5210|      0|            } \
  |  | 5211|      0|            assert(ntz < blen); \
  |  | 5212|      0|            blen -= ntz; \
  |  | 5213|      0|            do { \
  |  | 5214|      0|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5121|      0|    do {                                        \
  |  |  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5124|      0|            goto Error;                         \
  |  |  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|      0|        result = temp;                          \
  |  |  |  | 5127|      0|        temp = NULL;                            \
  |  |  |  | 5128|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      0|        }                                               \
  |  |  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5215|      0|            } while (--blen); \
  |  |  ------------------
  |  |  |  Branch (5215:22): [True: 0, False: 0]
  |  |  ------------------
  |  | 5216|      0|            MULT(z, table[pending >> 1], z); \
  |  |  ------------------
  |  |  |  | 5121|      0|    do {                                        \
  |  |  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5124|      0|            goto Error;                         \
  |  |  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|      0|        result = temp;                          \
  |  |  |  | 5127|      0|        temp = NULL;                            \
  |  |  |  | 5128|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      0|        }                                               \
  |  |  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5217|      0|            while (ntz-- > 0) \
  |  |  ------------------
  |  |  |  Branch (5217:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 5218|      0|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5121|      0|    do {                                        \
  |  |  |  | 5122|      0|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|      0|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5124|      0|            goto Error;                         \
  |  |  |  | 5125|      0|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|      0|        result = temp;                          \
  |  |  |  | 5127|      0|        temp = NULL;                            \
  |  |  |  | 5128|      0|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|      0|    do {                                                \
  |  |  |  |  |  | 5109|      0|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      0|                goto Error;                             \
  |  |  |  |  |  | 5112|      0|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      0|            X = temp;                                   \
  |  |  |  |  |  | 5114|      0|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      0|        }                                               \
  |  |  |  |  |  | 5116|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5219|      0|            assert(blen == 0); \
  |  | 5220|      0|            pending = 0; \
  |  | 5221|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (5221:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (5238:13): [True: 0, False: 0]
  |  Branch (5238:13): [True: 0, False: 0]
  |  Branch (5238:13): [True: 0, False: 0]
  |  Branch (5238:13): [True: 0, False: 0]
  |  Branch (5238:13): [True: 0, False: 0]
  |  Branch (5238:13): [True: 0, False: 0]
  ------------------
 5239|      0|    }
 5240|       |
 5241|      1|    if (negativeOutput && !_PyLong_IsZero(z)) {
  ------------------
  |  Branch (5241:9): [True: 0, False: 1]
  |  Branch (5241:27): [True: 0, False: 0]
  ------------------
 5242|      0|        temp = long_sub(z, c);
 5243|      0|        if (temp == NULL)
  ------------------
  |  Branch (5243:13): [True: 0, False: 0]
  ------------------
 5244|      0|            goto Error;
 5245|      0|        Py_SETREF(z, temp);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5246|      0|        temp = NULL;
 5247|      0|    }
 5248|      1|    goto Done;
 5249|       |
 5250|      1|  Error:
 5251|      0|    Py_CLEAR(z);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5252|       |    /* fall through */
 5253|      1|  Done:
 5254|      1|    for (i = 0; i < num_table_entries; ++i)
  ------------------
  |  Branch (5254:17): [True: 0, False: 1]
  ------------------
 5255|      0|        Py_DECREF(table[i]);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5256|      1|    Py_DECREF(a);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5257|      1|    Py_DECREF(b);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5258|      1|    Py_XDECREF(c);
  ------------------
  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5259|      1|    Py_XDECREF(a2);
  ------------------
  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5260|      1|    Py_XDECREF(temp);
  ------------------
  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5261|      1|    return (PyObject *)z;
 5262|      0|}
longobject.c:long_neg_method:
 5298|      2|{
 5299|      2|    return (PyObject*)long_neg(_PyLong_CAST(v));
  ------------------
  |  |    6|      2|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5299:32): [True: 2, False: 0]
  ------------------
 5300|      2|}
longobject.c:long_bool:
 5319|     41|{
 5320|     41|    return !_PyLong_IsZero(_PyLong_CAST(v));
  ------------------
  |  |    6|     41|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5320:28): [True: 41, False: 0]
  ------------------
 5321|     41|}
longobject.c:long_invert:
 5266|      2|{
 5267|      2|    PyLongObject *v = _PyLong_CAST(self);
  ------------------
  |  |    6|      2|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5267:23): [True: 2, False: 0]
  ------------------
 5268|       |
 5269|       |    /* Implement ~x as -(x+1) */
 5270|      2|    if (_PyLong_IsCompact(v))
  ------------------
  |  Branch (5270:9): [True: 2, False: 0]
  ------------------
 5271|      2|        return (PyObject*)_PyLong_FromSTwoDigits(~medium_value(v));
  ------------------
  |  |   27|      2|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5272|       |
 5273|      0|    PyLongObject *x = long_add(v, (PyLongObject *)_PyLong_GetOne());
 5274|      0|    if (x == NULL)
  ------------------
  |  Branch (5274:9): [True: 0, False: 0]
  ------------------
 5275|      0|        return NULL;
 5276|      0|    _PyLong_Negate(&x);
 5277|       |    /* No need for maybe_small_long here, since any small longs
 5278|       |       will have been caught in the _PyLong_IsCompact() fast path. */
 5279|      0|    return (PyObject *)x;
 5280|      0|}
longobject.c:long_lshift_method:
 5513|      3|{
 5514|      3|    CHECK_BINOP(aa, bb);
  ------------------
  |  | 1844|      3|    do {                                                \
  |  | 1845|      3|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|      3|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|      3|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 3]
  |  |  |  Branch (1845:33): [True: 0, False: 3]
  |  |  ------------------
  |  | 1846|      3|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 5515|      3|    PyLongObject *a = (PyLongObject*)aa;
 5516|      3|    PyLongObject *b = (PyLongObject*)bb;
 5517|       |
 5518|      3|    if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (5518:9): [True: 0, False: 3]
  ------------------
 5519|      0|        PyErr_SetString(PyExc_ValueError, "negative shift count");
 5520|      0|        return NULL;
 5521|      0|    }
 5522|      3|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5522:9): [True: 0, False: 3]
  ------------------
 5523|      0|        return PyLong_FromLong(0);
 5524|      0|    }
 5525|       |
 5526|      3|    int64_t shiftby;
 5527|      3|    if (PyLong_AsInt64(bb, &shiftby) < 0) {
  ------------------
  |  Branch (5527:9): [True: 0, False: 3]
  ------------------
 5528|      0|        if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (5528:13): [True: 0, False: 0]
  ------------------
 5529|      0|            PyErr_SetString(PyExc_OverflowError,
 5530|      0|                            "too many digits in integer");
 5531|      0|        }
 5532|      0|        return NULL;
 5533|      0|    }
 5534|      3|    return long_lshift_int64(a, shiftby);
 5535|      3|}
longobject.c:long_and:
 5720|    218|{
 5721|    218|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|    218|    do {                                                \
  |  | 1845|    218|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    218|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    436|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    218|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    218|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 218]
  |  |  |  Branch (1845:33): [True: 0, False: 218]
  |  |  ------------------
  |  | 1846|    218|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|    218|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 218]
  |  |  ------------------
  ------------------
 5722|    218|    PyLongObject *x = (PyLongObject*)a;
 5723|    218|    PyLongObject *y = (PyLongObject*)b;
 5724|    218|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5724:9): [True: 123, False: 95]
  |  Branch (5724:33): [True: 28, False: 95]
  ------------------
 5725|     28|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) & medium_value(y));
  ------------------
  |  |   27|     28|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) & medium_value(y));
  ------------------
  |  |   27|     28|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5726|     28|    }
 5727|    190|    return long_bitwise(x, '&', y);
 5728|    218|}
longobject.c:long_bitwise:
 5596|    190|{
 5597|    190|    int nega, negb, negz;
 5598|    190|    Py_ssize_t size_a, size_b, size_z, i;
 5599|    190|    PyLongObject *z;
 5600|       |
 5601|    190|    PyLongObject *new_a = NULL;
 5602|    190|    PyLongObject *new_b = NULL;
 5603|       |
 5604|       |    /* Bitwise operations for negative numbers operate as though
 5605|       |       on a two's complement representation.  So convert arguments
 5606|       |       from sign-magnitude to two's complement, and convert the
 5607|       |       result back to sign-magnitude at the end. */
 5608|       |
 5609|    190|    size_a = _PyLong_DigitCount(a);
 5610|    190|    size_b = _PyLong_DigitCount(b);
 5611|       |    /* Swap a and b if necessary to ensure size_a >= size_b. */
 5612|    190|    if (size_a < size_b) {
  ------------------
  |  Branch (5612:9): [True: 95, False: 95]
  ------------------
 5613|     95|        z = a; a = b; b = z;
 5614|     95|        size_z = size_a; size_a = size_b; size_b = size_z;
 5615|     95|    }
 5616|       |
 5617|       |    /* If a is negative, replace it by its two's complement. */
 5618|    190|    nega = _PyLong_IsNegative(a);
 5619|    190|    if (nega) {
  ------------------
  |  Branch (5619:9): [True: 0, False: 190]
  ------------------
 5620|      0|        z = long_alloc(size_a);
 5621|      0|        if (z == NULL)
  ------------------
  |  Branch (5621:13): [True: 0, False: 0]
  ------------------
 5622|      0|            return NULL;
 5623|      0|        v_complement(z->long_value.ob_digit, a->long_value.ob_digit, size_a);
 5624|      0|        new_a = z; // reference to decrement instead of a itself
 5625|      0|        a = z;
 5626|      0|    }
 5627|       |
 5628|       |    /* Same for b. */
 5629|    190|    negb = _PyLong_IsNegative(b);
 5630|    190|    if (negb) {
  ------------------
  |  Branch (5630:9): [True: 0, False: 190]
  ------------------
 5631|      0|        z = long_alloc(size_b);
 5632|      0|        if (z == NULL) {
  ------------------
  |  Branch (5632:13): [True: 0, False: 0]
  ------------------
 5633|      0|            Py_XDECREF(new_a);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5634|      0|            return NULL;
 5635|      0|        }
 5636|      0|        v_complement(z->long_value.ob_digit, b->long_value.ob_digit, size_b);
 5637|      0|        new_b = z; // reference to decrement instead of b itself
 5638|      0|        b = z;
 5639|      0|    }
 5640|       |
 5641|       |    /* JRH: The original logic here was to allocate the result value (z)
 5642|       |       as the longer of the two operands.  However, there are some cases
 5643|       |       where the result is guaranteed to be shorter than that: AND of two
 5644|       |       positives, OR of two negatives: use the shorter number.  AND with
 5645|       |       mixed signs: use the positive number.  OR with mixed signs: use the
 5646|       |       negative number.
 5647|       |    */
 5648|    190|    switch (op) {
 5649|      0|    case '^':
  ------------------
  |  Branch (5649:5): [True: 0, False: 190]
  ------------------
 5650|      0|        negz = nega ^ negb;
 5651|      0|        size_z = size_a;
 5652|      0|        break;
 5653|    190|    case '&':
  ------------------
  |  Branch (5653:5): [True: 190, False: 0]
  ------------------
 5654|    190|        negz = nega & negb;
 5655|    190|        size_z = negb ? size_a : size_b;
  ------------------
  |  Branch (5655:18): [True: 0, False: 190]
  ------------------
 5656|    190|        break;
 5657|      0|    case '|':
  ------------------
  |  Branch (5657:5): [True: 0, False: 190]
  ------------------
 5658|      0|        negz = nega | negb;
 5659|      0|        size_z = negb ? size_b : size_a;
  ------------------
  |  Branch (5659:18): [True: 0, False: 0]
  ------------------
 5660|      0|        break;
 5661|      0|    default:
  ------------------
  |  Branch (5661:5): [True: 0, False: 190]
  ------------------
 5662|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5663|    190|    }
 5664|       |
 5665|    190|    if ((size_z + negz) == 0) {
  ------------------
  |  Branch (5665:9): [True: 0, False: 190]
  ------------------
 5666|      0|        Py_XDECREF(new_a);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5667|      0|        Py_XDECREF(new_b);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5668|      0|        return get_small_int(0);
 5669|      0|    }
 5670|       |
 5671|       |    /* We allow an extra digit if z is negative, to make sure that
 5672|       |       the final two's complement of z doesn't overflow. */
 5673|    190|    z = long_alloc(size_z + negz);
 5674|    190|    if (z == NULL) {
  ------------------
  |  Branch (5674:9): [True: 0, False: 190]
  ------------------
 5675|      0|        Py_XDECREF(new_a);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5676|      0|        Py_XDECREF(new_b);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5677|      0|        return NULL;
 5678|      0|    }
 5679|       |
 5680|       |    /* Compute digits for overlap of a and b. */
 5681|    190|    switch(op) {
 5682|    190|    case '&':
  ------------------
  |  Branch (5682:5): [True: 190, False: 0]
  ------------------
 5683|    475|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5683:21): [True: 285, False: 190]
  ------------------
 5684|    285|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] & b->long_value.ob_digit[i];
 5685|    190|        break;
 5686|      0|    case '|':
  ------------------
  |  Branch (5686:5): [True: 0, False: 190]
  ------------------
 5687|      0|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5687:21): [True: 0, False: 0]
  ------------------
 5688|      0|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] | b->long_value.ob_digit[i];
 5689|      0|        break;
 5690|      0|    case '^':
  ------------------
  |  Branch (5690:5): [True: 0, False: 190]
  ------------------
 5691|      0|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5691:21): [True: 0, False: 0]
  ------------------
 5692|      0|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] ^ b->long_value.ob_digit[i];
 5693|      0|        break;
 5694|      0|    default:
  ------------------
  |  Branch (5694:5): [True: 0, False: 190]
  ------------------
 5695|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5696|    190|    }
 5697|       |
 5698|       |    /* Copy any remaining digits of a, inverting if necessary. */
 5699|    190|    if (op == '^' && negb)
  ------------------
  |  Branch (5699:9): [True: 0, False: 190]
  |  Branch (5699:22): [True: 0, False: 0]
  ------------------
 5700|      0|        for (; i < size_z; ++i)
  ------------------
  |  Branch (5700:16): [True: 0, False: 0]
  ------------------
 5701|      0|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] ^ PyLong_MASK;
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5702|    190|    else if (i < size_z)
  ------------------
  |  Branch (5702:14): [True: 0, False: 190]
  ------------------
 5703|      0|        memcpy(&z->long_value.ob_digit[i], &a->long_value.ob_digit[i],
 5704|      0|               (size_z-i)*sizeof(digit));
 5705|       |
 5706|       |    /* Complement result if negative. */
 5707|    190|    if (negz) {
  ------------------
  |  Branch (5707:9): [True: 0, False: 190]
  ------------------
 5708|      0|        _PyLong_FlipSign(z);
 5709|      0|        z->long_value.ob_digit[size_z] = PyLong_MASK;
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5710|      0|        v_complement(z->long_value.ob_digit, z->long_value.ob_digit, size_z+1);
 5711|      0|    }
 5712|       |
 5713|    190|    Py_XDECREF(new_a);
  ------------------
  |  |  621|    190|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    190|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    190|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5714|    190|    Py_XDECREF(new_b);
  ------------------
  |  |  621|    190|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    190|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    190|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5715|    190|    return (PyObject *)maybe_small_long(long_normalize(z));
 5716|    190|}
longobject.c:long_or:
 5744|     16|{
 5745|     16|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|     16|    do {                                                \
  |  | 1845|     16|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     16|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     32|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     16|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     16|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 16]
  |  |  |  Branch (1845:33): [True: 0, False: 16]
  |  |  ------------------
  |  | 1846|     16|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     16|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 16]
  |  |  ------------------
  ------------------
 5746|     16|    PyLongObject *x = (PyLongObject*)a;
 5747|     16|    PyLongObject *y = (PyLongObject*)b;
 5748|     16|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5748:9): [True: 16, False: 0]
  |  Branch (5748:33): [True: 16, False: 0]
  ------------------
 5749|     16|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) | medium_value(y));
  ------------------
  |  |   27|     16|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) | medium_value(y));
  ------------------
  |  |   27|     16|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5750|     16|    }
 5751|      0|    return long_bitwise(x, '|', y);
 5752|     16|}
longobject.c:long_hash:
 3670|  14.8k|{
 3671|  14.8k|    PyLongObject *v = (PyLongObject *)obj;
 3672|  14.8k|    Py_uhash_t x;
 3673|  14.8k|    Py_ssize_t i;
 3674|  14.8k|    int sign;
 3675|       |
 3676|  14.8k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (3676:9): [True: 11.7k, False: 3.03k]
  ------------------
 3677|  11.7k|        x = (Py_uhash_t)_PyLong_CompactValue(v);
 3678|  11.7k|        if (x == (Py_uhash_t)-1) {
  ------------------
  |  Branch (3678:13): [True: 0, False: 11.7k]
  ------------------
 3679|      0|            x = (Py_uhash_t)-2;
 3680|      0|        }
 3681|  11.7k|        return x;
 3682|  11.7k|    }
 3683|  3.03k|    i = _PyLong_DigitCount(v);
 3684|  3.03k|    sign = _PyLong_NonCompactSign(v);
 3685|       |
 3686|       |    // unroll first digit
 3687|  3.03k|    Py_BUILD_ASSERT(PyHASH_BITS > PyLong_SHIFT);
  ------------------
  |  |  199|  3.03k|        do { \
  |  |  200|  3.03k|            static_assert((cond), #cond); \
  |  |  201|  3.03k|        } while (0)
  |  |  ------------------
  |  |  |  Branch (201:18): [Folded, False: 3.03k]
  |  |  ------------------
  ------------------
 3688|  3.03k|    assert(i >= 1);
  ------------------
  |  Branch (3688:5): [True: 3.03k, False: 0]
  ------------------
 3689|  3.03k|    --i;
 3690|  3.03k|    x = v->long_value.ob_digit[i];
 3691|  3.03k|    assert(x < PyHASH_MODULUS);
  ------------------
  |  Branch (3691:5): [True: 3.03k, False: 0]
  ------------------
 3692|       |
 3693|  3.03k|#if PyHASH_BITS >= 2 * PyLong_SHIFT
 3694|       |    // unroll second digit
 3695|  3.03k|    assert(i >= 1);
  ------------------
  |  Branch (3695:5): [True: 3.03k, False: 0]
  ------------------
 3696|  3.03k|    --i;
 3697|  3.03k|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|  3.03k|#define PyLong_SHIFT    30
  ------------------
 3698|  3.03k|    x += v->long_value.ob_digit[i];
 3699|  3.03k|    assert(x < PyHASH_MODULUS);
  ------------------
  |  Branch (3699:5): [True: 3.03k, False: 0]
  ------------------
 3700|  3.03k|#endif
 3701|       |
 3702|  3.03k|    while (--i >= 0) {
  ------------------
  |  Branch (3702:12): [True: 0, False: 3.03k]
  ------------------
 3703|       |        /* Here x is a quantity in the range [0, PyHASH_MODULUS); we
 3704|       |           want to compute x * 2**PyLong_SHIFT + v->long_value.ob_digit[i] modulo
 3705|       |           PyHASH_MODULUS.
 3706|       |
 3707|       |           The computation of x * 2**PyLong_SHIFT % PyHASH_MODULUS
 3708|       |           amounts to a rotation of the bits of x.  To see this, write
 3709|       |
 3710|       |             x * 2**PyLong_SHIFT = y * 2**PyHASH_BITS + z
 3711|       |
 3712|       |           where y = x >> (PyHASH_BITS - PyLong_SHIFT) gives the top
 3713|       |           PyLong_SHIFT bits of x (those that are shifted out of the
 3714|       |           original PyHASH_BITS bits, and z = (x << PyLong_SHIFT) &
 3715|       |           PyHASH_MODULUS gives the bottom PyHASH_BITS - PyLong_SHIFT
 3716|       |           bits of x, shifted up.  Then since 2**PyHASH_BITS is
 3717|       |           congruent to 1 modulo PyHASH_MODULUS, y*2**PyHASH_BITS is
 3718|       |           congruent to y modulo PyHASH_MODULUS.  So
 3719|       |
 3720|       |             x * 2**PyLong_SHIFT = y + z (mod PyHASH_MODULUS).
 3721|       |
 3722|       |           The right-hand side is just the result of rotating the
 3723|       |           PyHASH_BITS bits of x left by PyLong_SHIFT places; since
 3724|       |           not all PyHASH_BITS bits of x are 1s, the same is true
 3725|       |           after rotation, so 0 <= y+z < PyHASH_MODULUS and y + z is
 3726|       |           the reduction of x*2**PyLong_SHIFT modulo
 3727|       |           PyHASH_MODULUS. */
 3728|      0|        x = ((x << PyLong_SHIFT) & PyHASH_MODULUS) |
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
                      x = ((x << PyLong_SHIFT) & PyHASH_MODULUS) |
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3729|      0|            (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   13|      0|#  define PyHASH_BITS 61
  ------------------
                          (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
 3730|      0|        x += v->long_value.ob_digit[i];
 3731|      0|        if (x >= PyHASH_MODULUS)
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  |  Branch (3731:13): [True: 0, False: 0]
  ------------------
 3732|      0|            x -= PyHASH_MODULUS;
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3733|      0|    }
 3734|  3.03k|    x = x * sign;
 3735|  3.03k|    if (x == (Py_uhash_t)-1)
  ------------------
  |  Branch (3735:9): [True: 0, False: 3.03k]
  ------------------
 3736|      0|        x = (Py_uhash_t)-2;
 3737|  3.03k|    return (Py_hash_t)x;
 3738|  3.03k|}
longobject.c:long_richcompare:
 3622|    949|{
 3623|    949|    Py_ssize_t result;
 3624|    949|    CHECK_BINOP(self, other);
  ------------------
  |  | 1844|    949|    do {                                                \
  |  | 1845|    949|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    949|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.89k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    949|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    949|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 949]
  |  |  |  Branch (1845:33): [True: 0, False: 949]
  |  |  ------------------
  |  | 1846|    949|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|    949|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 949]
  |  |  ------------------
  ------------------
 3625|    949|    if (self == other)
  ------------------
  |  Branch (3625:9): [True: 44, False: 905]
  ------------------
 3626|     44|        result = 0;
 3627|    905|    else
 3628|    905|        result = long_compare((PyLongObject*)self, (PyLongObject*)other);
 3629|    949|    Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|    949|    do {                                                                    \
  |  |  675|    949|        switch (op) {                                                       \
  |  |  676|    218|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|    218|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|     72|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     72|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|    146|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    146|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    146|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 218, False: 731]
  |  |  |  Branch (676:25): [True: 72, False: 146]
  |  |  ------------------
  |  |  677|    609|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|    609|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      3|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      3|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|    606|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    606|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    606|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    606|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 609, False: 340]
  |  |  |  Branch (677:25): [True: 3, False: 606]
  |  |  ------------------
  |  |  678|    609|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|     89|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|     20|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     20|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|     69|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|     69|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 89, False: 860]
  |  |  |  Branch (678:25): [True: 20, False: 69]
  |  |  ------------------
  |  |  679|     89|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|     24|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      8|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      8|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|     16|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|     16|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 24, False: 925]
  |  |  |  Branch (679:25): [True: 8, False: 16]
  |  |  ------------------
  |  |  680|     24|        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: 949]
  |  |  |  Branch (680:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  681|      9|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      9|#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|      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 (681:9): [True: 9, False: 940]
  |  |  |  Branch (681:25): [True: 0, False: 9]
  |  |  ------------------
  |  |  682|      9|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 949]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|    949|        }                                                                   \
  |  |  685|    949|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3630|    949|}
longobject.c:int_bit_length_impl:
 6318|      1|{
 6319|      1|    int64_t nbits = _PyLong_NumBits(self);
 6320|      1|    assert(nbits >= 0);
  ------------------
  |  Branch (6320:5): [True: 1, False: 0]
  ------------------
 6321|      1|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (6321:5): [True: 1, False: 0]
  ------------------
 6322|      1|    return PyLong_FromInt64(nbits);
 6323|      1|}
longobject.c:int_to_bytes_impl:
 6419|      2|{
 6420|      2|    int little_endian;
 6421|      2|    if (byteorder == NULL)
  ------------------
  |  Branch (6421:9): [True: 0, False: 2]
  ------------------
 6422|      0|        little_endian = 0;
 6423|      2|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6423:14): [True: 2, False: 0]
  ------------------
 6424|      2|        little_endian = 1;
 6425|      0|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6425:14): [True: 0, False: 0]
  ------------------
 6426|      0|        little_endian = 0;
 6427|      0|    else {
 6428|      0|        PyErr_SetString(PyExc_ValueError,
 6429|      0|            "byteorder must be either 'little' or 'big'");
 6430|      0|        return NULL;
 6431|      0|    }
 6432|       |
 6433|      2|    PyBytesWriter *writer = PyBytesWriter_Create(length);
 6434|      2|    if (writer == NULL) {
  ------------------
  |  Branch (6434:9): [True: 0, False: 2]
  ------------------
 6435|      0|        return NULL;
 6436|      0|    }
 6437|       |
 6438|      2|    if (_PyLong_AsByteArray((PyLongObject *)self,
  ------------------
  |  Branch (6438:9): [True: 0, False: 2]
  ------------------
 6439|      2|                            PyBytesWriter_GetData(writer),
 6440|      2|                            length, little_endian, is_signed, 1) < 0) {
 6441|      0|        PyBytesWriter_Discard(writer);
 6442|      0|        return NULL;
 6443|      0|    }
 6444|       |
 6445|      2|    return PyBytesWriter_Finish(writer);
 6446|      2|}
longobject.c:int_from_bytes_impl:
 6476|    285|{
 6477|    285|    int little_endian;
 6478|    285|    PyObject *long_obj, *bytes;
 6479|       |
 6480|    285|    if (byteorder == NULL)
  ------------------
  |  Branch (6480:9): [True: 0, False: 285]
  ------------------
 6481|      0|        little_endian = 0;
 6482|    285|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
  ------------------
  |  |  951|    285|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    285|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    285|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6482:14): [True: 285, False: 0]
  ------------------
 6483|    285|        little_endian = 1;
 6484|      0|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6484:14): [True: 0, False: 0]
  ------------------
 6485|      0|        little_endian = 0;
 6486|      0|    else {
 6487|      0|        PyErr_SetString(PyExc_ValueError,
 6488|      0|            "byteorder must be either 'little' or 'big'");
 6489|      0|        return NULL;
 6490|      0|    }
 6491|       |
 6492|       |    /* Fast-path exact bytes. */
 6493|    285|    if (PyBytes_CheckExact(bytes_obj)) {
  ------------------
  |  |   29|    285|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_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: 285, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6494|    285|        long_obj = _PyLong_FromByteArray(
 6495|    285|            (unsigned char *)PyBytes_AS_STRING(bytes_obj), Py_SIZE(bytes_obj),
  ------------------
  |  |   27|    285|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    285|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    285|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          (unsigned char *)PyBytes_AS_STRING(bytes_obj), Py_SIZE(bytes_obj),
  ------------------
  |  |  214|    285|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    285|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    285|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6496|    285|            little_endian, is_signed);
 6497|    285|    }
 6498|       |    /* Use buffer protocol to avoid copies. */
 6499|      0|    else if (PyObject_CheckBuffer(bytes_obj)) {
  ------------------
  |  Branch (6499:14): [True: 0, False: 0]
  ------------------
 6500|      0|        Py_buffer view;
 6501|      0|        if (PyObject_GetBuffer(bytes_obj, &view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (6501:13): [True: 0, False: 0]
  ------------------
 6502|      0|            return NULL;
 6503|      0|        }
 6504|      0|        long_obj = _PyLong_FromByteArray(view.buf, view.len, little_endian,
 6505|      0|            is_signed);
 6506|      0|        PyBuffer_Release(&view);
 6507|      0|    }
 6508|      0|    else {
 6509|       |        /* fallback: Construct a bytes then convert. */
 6510|      0|        bytes = PyObject_Bytes(bytes_obj);
 6511|      0|        if (bytes == NULL) {
  ------------------
  |  Branch (6511:13): [True: 0, False: 0]
  ------------------
 6512|      0|            return NULL;
 6513|      0|        }
 6514|      0|        long_obj = _PyLong_FromByteArray(
 6515|      0|            (unsigned char *)PyBytes_AS_STRING(bytes), Py_SIZE(bytes),
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          (unsigned char *)PyBytes_AS_STRING(bytes), Py_SIZE(bytes),
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6516|      0|            little_endian, is_signed);
 6517|      0|        Py_DECREF(bytes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6518|      0|    }
 6519|       |
 6520|    285|    if (long_obj != NULL && type != &PyLong_Type) {
  ------------------
  |  Branch (6520:9): [True: 285, False: 0]
  |  Branch (6520:29): [True: 0, False: 285]
  ------------------
 6521|      0|        Py_SETREF(long_obj, PyObject_CallOneArg((PyObject *)type, long_obj));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6522|      0|    }
 6523|       |
 6524|    285|    return long_obj;
 6525|    285|}
longobject.c:long_new_impl:
 5997|    302|{
 5998|    302|    Py_ssize_t base;
 5999|       |
 6000|    302|    if (type != &PyLong_Type)
  ------------------
  |  Branch (6000:9): [True: 143, False: 159]
  ------------------
 6001|    143|        return long_subtype_new(type, x, obase); /* Wimp out */
 6002|    159|    if (x == NULL) {
  ------------------
  |  Branch (6002:9): [True: 1, False: 158]
  ------------------
 6003|      1|        if (obase != NULL) {
  ------------------
  |  Branch (6003:13): [True: 0, False: 1]
  ------------------
 6004|      0|            PyErr_SetString(PyExc_TypeError,
 6005|      0|                            "int() missing string argument");
 6006|      0|            return NULL;
 6007|      0|        }
 6008|      1|        return PyLong_FromLong(0L);
 6009|      1|    }
 6010|       |    /* default base and limit, forward to standard implementation */
 6011|    158|    if (obase == NULL)
  ------------------
  |  Branch (6011:9): [True: 142, False: 16]
  ------------------
 6012|    142|        return PyNumber_Long(x);
 6013|       |
 6014|     16|    base = PyNumber_AsSsize_t(obase, NULL);
 6015|     16|    if (base == -1 && PyErr_Occurred())
  ------------------
  |  Branch (6015:9): [True: 0, False: 16]
  |  Branch (6015:23): [True: 0, False: 0]
  ------------------
 6016|      0|        return NULL;
 6017|     16|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (6017:10): [True: 16, False: 0]
  |  Branch (6017:23): [True: 0, False: 16]
  |  Branch (6017:36): [True: 0, False: 16]
  ------------------
 6018|      0|        PyErr_SetString(PyExc_ValueError,
 6019|      0|                        "int() base must be >= 2 and <= 36, or 0");
 6020|      0|        return NULL;
 6021|      0|    }
 6022|       |
 6023|     16|    if (PyUnicode_Check(x))
  ------------------
  |  |  103|     16|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     16|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6024|      0|        return PyLong_FromUnicodeObject(x, (int)base);
 6025|     16|    else if (PyByteArray_Check(x) || PyBytes_Check(x)) {
  ------------------
  |  |   24|     16|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|     32|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 16, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyByteArray_Check(x) || PyBytes_Check(x)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6026|     16|        const char *string;
 6027|     16|        if (PyByteArray_Check(x))
  ------------------
  |  |   24|     16|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|     16|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 16, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6028|     16|            string = PyByteArray_AS_STRING(x);
  ------------------
  |  |   28|     16|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6029|      0|        else
 6030|      0|            string = PyBytes_AS_STRING(x);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6031|     16|        return _PyLong_FromBytes(string, Py_SIZE(x), (int)base);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6032|     16|    }
 6033|      0|    else {
 6034|      0|        PyErr_SetString(PyExc_TypeError,
 6035|      0|                        "int() can't convert non-string with explicit base");
 6036|       |        return NULL;
 6037|      0|    }
 6038|     16|}
longobject.c:long_subtype_new:
 6047|    143|{
 6048|    143|    PyLongObject *tmp, *newobj;
 6049|    143|    Py_ssize_t size, ndigits;
 6050|    143|    int sign;
 6051|       |
 6052|    143|    assert(PyType_IsSubtype(type, &PyLong_Type));
  ------------------
  |  Branch (6052:5): [True: 143, False: 0]
  ------------------
 6053|    143|    tmp = (PyLongObject *)long_new_impl(&PyLong_Type, x, obase);
 6054|    143|    if (tmp == NULL)
  ------------------
  |  Branch (6054:9): [True: 0, False: 143]
  ------------------
 6055|      0|        return NULL;
 6056|    143|    assert(PyLong_Check(tmp));
  ------------------
  |  Branch (6056:5): [True: 143, False: 0]
  ------------------
 6057|    143|    size = _PyLong_DigitCount(tmp);
 6058|       |    /* Fast operations for single digit integers (including zero)
 6059|       |     * assume that there is always at least one digit present. */
 6060|    143|    ndigits = size ? size : 1;
  ------------------
  |  Branch (6060:15): [True: 138, False: 5]
  ------------------
 6061|    143|    newobj = (PyLongObject *)type->tp_alloc(type, ndigits);
 6062|    143|    if (newobj == NULL) {
  ------------------
  |  Branch (6062:9): [True: 0, False: 143]
  ------------------
 6063|      0|        Py_DECREF(tmp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6064|      0|        return NULL;
 6065|      0|    }
 6066|    143|    assert(PyLong_Check(newobj));
  ------------------
  |  Branch (6066:5): [True: 143, False: 0]
  ------------------
 6067|    143|    if (_PyLong_IsCompact(tmp)) {
  ------------------
  |  Branch (6067:9): [True: 142, False: 1]
  ------------------
 6068|    142|        sign = _PyLong_CompactSign(tmp);
 6069|    142|    }
 6070|      1|    else {
 6071|      1|        sign = _PyLong_NonCompactSign(tmp);
 6072|      1|    }
 6073|    143|    _PyLong_InitTag(newobj);
 6074|    143|    _PyLong_SetSignAndDigitCount(newobj, sign, size);
 6075|    143|    memcpy(newobj->long_value.ob_digit, tmp->long_value.ob_digit,
 6076|    143|           ndigits * sizeof(digit));
 6077|    143|    Py_DECREF(tmp);
  ------------------
  |  |  430|    143|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    143|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    143|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6078|    143|    return (PyObject *)newobj;
 6079|    143|}
longobject.c:long_vectorcall:
 6556|    111|{
 6557|    111|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    111|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 6558|    111|    if (kwnames != NULL) {
  ------------------
  |  Branch (6558:9): [True: 0, False: 111]
  ------------------
 6559|      0|        PyThreadState *tstate = PyThreadState_GET();
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 6560|      0|        return _PyObject_MakeTpCall(tstate, type, args, nargs, kwnames);
 6561|      0|    }
 6562|    111|    switch (nargs) {
 6563|      0|        case 0:
  ------------------
  |  Branch (6563:9): [True: 0, False: 111]
  ------------------
 6564|      0|            return _PyLong_GetZero();
 6565|     95|        case 1:
  ------------------
  |  Branch (6565:9): [True: 95, False: 16]
  ------------------
 6566|     95|            return PyNumber_Long(args[0]);
 6567|     16|        case 2:
  ------------------
  |  Branch (6567:9): [True: 16, False: 95]
  ------------------
 6568|     16|            return long_new_impl(_PyType_CAST(type), args[0], args[1]);
  ------------------
  |  |  770|     16|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (6568:34): [True: 16, False: 0]
  ------------------
 6569|      0|        default:
  ------------------
  |  Branch (6569:9): [True: 0, False: 111]
  ------------------
 6570|      0|            return PyErr_Format(PyExc_TypeError,
 6571|      0|                                "int expected at most 2 arguments, got %zd",
 6572|      0|                                nargs);
 6573|    111|    }
 6574|    111|}

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

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

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

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

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

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

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

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

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

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

mi_stats_reset:
  395|      2|void mi_stats_reset(void) mi_attr_noexcept {
  396|      2|  mi_stats_t* stats = mi_stats_get_default();
  397|      2|  if (stats != &_mi_stats_main) { memset(stats, 0, sizeof(mi_stats_t)); }
  ------------------
  |  Branch (397:7): [True: 2, False: 0]
  ------------------
  398|      2|  memset(&_mi_stats_main, 0, sizeof(mi_stats_t));
  399|      2|  if (mi_process_start == 0) { mi_process_start = _mi_clock_start(); };
  ------------------
  |  Branch (399:7): [True: 2, False: 0]
  ------------------
  400|      2|}
_mi_clock_now:
  435|      6|mi_msecs_t _mi_clock_now(void) {
  436|      6|  return _mi_prim_clock_now();
  437|      6|}
_mi_clock_start:
  439|      2|mi_msecs_t _mi_clock_start(void) {
  440|      2|  if (mi_clock_diff == 0.0) {
  ------------------
  |  Branch (440:7): [True: 2, False: 0]
  ------------------
  441|      2|    mi_msecs_t t0 = _mi_clock_now();
  442|      2|    mi_clock_diff = _mi_clock_now() - t0;
  443|      2|  }
  444|      2|  return _mi_clock_now();
  445|      2|}
obmalloc.c:mi_stats_get_default:
  383|      2|static mi_stats_t* mi_stats_get_default(void) {
  384|      2|  mi_heap_t* heap = mi_heap_get_default();
  385|      2|  return &heap->tld->stats;
  386|      2|}

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

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

_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|     55|{
  557|     55|    PyObject *op = (PyObject *) PyObject_Malloc(_PyObject_SIZE(tp));
  558|     55|    if (op == NULL) {
  ------------------
  |  Branch (558:9): [True: 0, False: 55]
  ------------------
  559|      0|        return PyErr_NoMemory();
  560|      0|    }
  561|     55|    _PyObject_Init(op, tp);
  562|     55|    return op;
  563|     55|}
_PyObject_NewVar:
  567|  3.13k|{
  568|  3.13k|    PyVarObject *op;
  569|  3.13k|    const size_t size = _PyObject_VAR_SIZE(tp, nitems);
  570|  3.13k|    op = (PyVarObject *) PyObject_Malloc(size);
  571|  3.13k|    if (op == NULL) {
  ------------------
  |  Branch (571:9): [True: 0, False: 3.13k]
  ------------------
  572|      0|        return (PyVarObject *)PyErr_NoMemory();
  573|      0|    }
  574|  3.13k|    _PyObject_InitVar(op, tp, nitems);
  575|  3.13k|    return op;
  576|  3.13k|}
PyObject_CallFinalizer:
  580|    384|{
  581|    384|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|    384|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    384|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|       |
  583|    384|    if (tp->tp_finalize == NULL)
  ------------------
  |  Branch (583:9): [True: 0, False: 384]
  ------------------
  584|      0|        return;
  585|       |    /* tp_finalize should only be called once. */
  586|    384|    if (_PyType_IS_GC(tp)) {
  ------------------
  |  Branch (586:9): [True: 384, False: 0]
  ------------------
  587|    384|        if (_PyGC_FINALIZED(self))
  ------------------
  |  Branch (587:13): [True: 0, False: 384]
  ------------------
  588|      0|            return;
  589|       |
  590|    384|        _PyGC_SET_FINALIZED(self);
  591|    384|    }
  592|    384|    tp->tp_finalize(self);
  593|    384|}
PyObject_CallFinalizerFromDealloc:
  597|    384|{
  598|    384|    if (Py_REFCNT(self) != 0) {
  ------------------
  |  |  119|    384|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    384|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (598:9): [True: 0, False: 384]
  ------------------
  599|      0|        _PyObject_ASSERT_FAILED_MSG(self,
  ------------------
  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
  600|      0|                                    "PyObject_CallFinalizerFromDealloc called "
  601|      0|                                    "on object with a non-zero refcount");
  602|      0|    }
  603|       |
  604|       |    /* Temporarily resurrect the object. */
  605|    384|    _PyObject_ResurrectStart(self);
  606|       |
  607|    384|    PyObject_CallFinalizer(self);
  608|       |
  609|    384|    _PyObject_ASSERT_WITH_MSG(self,
  ------------------
  |  |  358|    384|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  351|    384|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (351:6): [True: 384, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  352|    384|      ? (void)(0) \
  |  |  |  |  353|    384|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  ------------------
  ------------------
  610|    384|                              Py_REFCNT(self) > 0,
  611|    384|                              "refcount is too small");
  612|       |
  613|    384|    _PyObject_ASSERT(self,
  ------------------
  |  |  360|    384|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|    384|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|    768|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:7): [True: 0, False: 384]
  |  |  |  |  |  |  |  Branch (351:7): [True: 384, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|    384|      ? (void)(0) \
  |  |  |  |  |  |  353|    384|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  614|    384|                    (!_PyType_IS_GC(Py_TYPE(self))
  615|    384|                    || _PyObject_GC_IS_TRACKED(self)));
  616|       |
  617|       |    /* Undo the temporary resurrection; can't use DECREF here, it would
  618|       |     * cause a recursive call. */
  619|    384|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (619:9): [True: 0, False: 384]
  ------------------
  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|    384|    return 0;
  631|    384|}
_PyObject_IsFreed:
  712|   119M|{
  713|   119M|    if (_PyMem_IsPtrFreed(op) || _PyMem_IsPtrFreed(Py_TYPE(op))) {
  ------------------
  |  |  213|   119M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   119M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   119M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (713:9): [True: 0, False: 119M]
  |  Branch (713:34): [True: 0, False: 119M]
  ------------------
  714|      0|        return 1;
  715|      0|    }
  716|   119M|    return 0;
  717|   119M|}
PyObject_Repr:
  761|    332|{
  762|    332|    PyObject *res;
  763|    332|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (763:9): [True: 0, False: 332]
  ------------------
  764|      0|        return NULL;
  765|    332|    if (v == NULL)
  ------------------
  |  Branch (765:9): [True: 0, False: 332]
  ------------------
  766|      0|        return PyUnicode_FromString("<NULL>");
  767|    332|    if (Py_TYPE(v)->tp_repr == NULL)
  ------------------
  |  |  213|    332|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    332|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    332|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (767:9): [True: 0, False: 332]
  ------------------
  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|    332|    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|    332|    if (_Py_EnterRecursiveCallTstate(tstate,
  ------------------
  |  Branch (781:9): [True: 0, False: 332]
  ------------------
  782|    332|                                     " while getting the repr of an object")) {
  783|      0|        return NULL;
  784|      0|    }
  785|    332|    res = (*Py_TYPE(v)->tp_repr)(v);
  ------------------
  |  |  213|    332|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    332|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    332|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  786|    332|    _Py_LeaveRecursiveCallTstate(tstate);
  787|       |
  788|    332|    if (res == NULL) {
  ------------------
  |  Branch (788:9): [True: 0, False: 332]
  ------------------
  789|      0|        return NULL;
  790|      0|    }
  791|    332|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|    332|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    332|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (791:9): [True: 0, False: 332]
  ------------------
  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|    332|    return res;
  798|    332|}
PyObject_Str:
  802|    343|{
  803|    343|    PyObject *res;
  804|    343|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (804:9): [True: 0, False: 343]
  ------------------
  805|      0|        return NULL;
  806|    343|    if (v == NULL)
  ------------------
  |  Branch (806:9): [True: 0, False: 343]
  ------------------
  807|      0|        return PyUnicode_FromString("<NULL>");
  808|    343|    if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|    343|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    343|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    343|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    343|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 317, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  809|    317|        return Py_NewRef(v);
  ------------------
  |  |  647|    317|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    317|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  810|    317|    }
  811|     26|    if (Py_TYPE(v)->tp_str == NULL)
  ------------------
  |  |  213|     26|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (811:9): [True: 0, False: 26]
  ------------------
  812|      0|        return PyObject_Repr(v);
  813|       |
  814|     26|    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|     26|    if (_Py_EnterRecursiveCallTstate(tstate, " while getting the str of an object")) {
  ------------------
  |  Branch (824:9): [True: 0, False: 26]
  ------------------
  825|      0|        return NULL;
  826|      0|    }
  827|     26|    res = (*Py_TYPE(v)->tp_str)(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|     26|    _Py_LeaveRecursiveCallTstate(tstate);
  829|       |
  830|     26|    if (res == NULL) {
  ------------------
  |  Branch (830:9): [True: 0, False: 26]
  ------------------
  831|      0|        return NULL;
  832|      0|    }
  833|     26|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|     26|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     26|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (833:9): [True: 0, False: 26]
  ------------------
  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|     26|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (839:5): [True: 26, False: 0]
  ------------------
  840|     26|    return res;
  841|     26|}
_PyObject_ClearFreeLists:
  928|     35|{
  929|       |    // In the free-threaded build, freelists are per-PyThreadState and cleared in PyThreadState_Clear()
  930|       |    // In the default build, freelists are per-interpreter and cleared in finalize_interp_types()
  931|     35|    clear_freelist(&freelists->floats, is_finalization, free_object);
  932|     35|    clear_freelist(&freelists->complexes, is_finalization, free_object);
  933|    735|    for (Py_ssize_t i = 0; i < PyTuple_MAXSAVESIZE; i++) {
  ------------------
  |  |   11|    735|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (933:28): [True: 700, False: 35]
  ------------------
  934|    700|        clear_freelist(&freelists->tuples[i], is_finalization, free_object);
  935|    700|    }
  936|     35|    clear_freelist(&freelists->lists, is_finalization, free_object);
  937|     35|    clear_freelist(&freelists->list_iters, is_finalization, free_object);
  938|     35|    clear_freelist(&freelists->tuple_iters, is_finalization, free_object);
  939|     35|    clear_freelist(&freelists->dicts, is_finalization, free_object);
  940|     35|    clear_freelist(&freelists->dictkeys, is_finalization, PyMem_Free);
  941|     35|    clear_freelist(&freelists->slices, is_finalization, free_object);
  942|     35|    clear_freelist(&freelists->ranges, is_finalization, free_object);
  943|     35|    clear_freelist(&freelists->range_iters, is_finalization, free_object);
  944|     35|    clear_freelist(&freelists->contexts, is_finalization, free_object);
  945|     35|    clear_freelist(&freelists->async_gens, is_finalization, free_object);
  946|     35|    clear_freelist(&freelists->async_gen_asends, is_finalization, free_object);
  947|     35|    clear_freelist(&freelists->futureiters, is_finalization, free_object);
  948|     35|    if (is_finalization) {
  ------------------
  |  Branch (948:9): [True: 0, False: 35]
  ------------------
  949|       |        // Only clear object stack chunks during finalization. We use object
  950|       |        // stacks during GC, so emptying the free-list is counterproductive.
  951|      0|        clear_freelist(&freelists->object_stack_chunks, 1, PyMem_RawFree);
  952|      0|    }
  953|     35|    clear_freelist(&freelists->unicode_writers, is_finalization, PyMem_Free);
  954|     35|    clear_freelist(&freelists->bytes_writers, is_finalization, PyMem_Free);
  955|     35|    clear_freelist(&freelists->ints, is_finalization, free_object);
  956|     35|    clear_freelist(&freelists->pycfunctionobject, is_finalization, PyObject_GC_Del);
  957|     35|    clear_freelist(&freelists->pycmethodobject, is_finalization, PyObject_GC_Del);
  958|     35|    clear_freelist(&freelists->pymethodobjects, is_finalization, free_object);
  959|     35|    clear_freelist(&freelists->tracebacks, is_finalization, PyObject_GC_Del);
  960|     35|}
PyObject_RichCompare:
 1102|  4.51M|{
 1103|  4.51M|    PyThreadState *tstate = _PyThreadState_GET();
 1104|       |
 1105|  4.51M|    assert(Py_LT <= op && op <= Py_GE);
  ------------------
  |  Branch (1105:5): [True: 4.51M, False: 0]
  |  Branch (1105:5): [True: 4.51M, False: 0]
  ------------------
 1106|  4.51M|    if (v == NULL || w == NULL) {
  ------------------
  |  Branch (1106:9): [True: 0, False: 4.51M]
  |  Branch (1106:22): [True: 0, False: 4.51M]
  ------------------
 1107|      0|        if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1107:13): [True: 0, False: 0]
  ------------------
 1108|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1109|      0|        }
 1110|      0|        return NULL;
 1111|      0|    }
 1112|  4.51M|    if (_Py_EnterRecursiveCallTstate(tstate, " in comparison")) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 4.51M]
  ------------------
 1113|      0|        return NULL;
 1114|      0|    }
 1115|  4.51M|    PyObject *res = do_richcompare(tstate, v, w, op);
 1116|  4.51M|    _Py_LeaveRecursiveCallTstate(tstate);
 1117|  4.51M|    return res;
 1118|  4.51M|}
PyObject_RichCompareBool:
 1124|  4.51M|{
 1125|  4.51M|    PyObject *res;
 1126|  4.51M|    int ok;
 1127|       |
 1128|       |    /* Quick result when objects are the same.
 1129|       |       Guarantees that identity implies equality. */
 1130|  4.51M|    if (v == w) {
  ------------------
  |  Branch (1130:9): [True: 572, False: 4.51M]
  ------------------
 1131|    572|        if (op == Py_EQ)
  ------------------
  |  |  654|    572|#define Py_EQ 2
  ------------------
  |  Branch (1131:13): [True: 564, False: 8]
  ------------------
 1132|    564|            return 1;
 1133|      8|        else if (op == Py_NE)
  ------------------
  |  |  655|      8|#define Py_NE 3
  ------------------
  |  Branch (1133:18): [True: 0, False: 8]
  ------------------
 1134|      0|            return 0;
 1135|    572|    }
 1136|       |
 1137|  4.51M|    res = PyObject_RichCompare(v, w, op);
 1138|  4.51M|    if (res == NULL)
  ------------------
  |  Branch (1138:9): [True: 0, False: 4.51M]
  ------------------
 1139|      0|        return -1;
 1140|  4.51M|    if (PyBool_Check(res)) {
  ------------------
  |  |   12|  4.51M|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  4.51M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.51M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1141|  4.51M|        ok = (res == Py_True);
  ------------------
  |  |   26|  4.51M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  4.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1142|  4.51M|        assert(_Py_IsImmortal(res));
  ------------------
  |  Branch (1142:9): [True: 4.51M, False: 0]
  ------------------
 1143|  4.51M|    }
 1144|      0|    else {
 1145|      0|        ok = PyObject_IsTrue(res);
 1146|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1147|      0|    }
 1148|  4.51M|    return ok;
 1149|  4.51M|}
PyObject_Hash:
 1161|  17.0M|{
 1162|  17.0M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  17.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1163|  17.0M|    if (tp->tp_hash != NULL)
  ------------------
  |  Branch (1163:9): [True: 17.0M, False: 0]
  ------------------
 1164|  17.0M|        return (*tp->tp_hash)(v);
 1165|       |    /* To keep to the general practice that inheriting
 1166|       |     * solely from object in C code should work without
 1167|       |     * an explicit call to PyType_Ready, we implicitly call
 1168|       |     * PyType_Ready here and then check the tp_hash slot again
 1169|       |     */
 1170|      0|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1170:9): [True: 0, False: 0]
  ------------------
 1171|      0|        if (PyType_Ready(tp) < 0)
  ------------------
  |  Branch (1171:13): [True: 0, False: 0]
  ------------------
 1172|      0|            return -1;
 1173|      0|        if (tp->tp_hash != NULL)
  ------------------
  |  Branch (1173:13): [True: 0, False: 0]
  ------------------
 1174|      0|            return (*tp->tp_hash)(v);
 1175|      0|    }
 1176|       |    /* Otherwise, the object can't be hashed */
 1177|      0|    return PyObject_HashNotImplemented(v);
 1178|      0|}
PyObject_GetAttrString:
 1182|   168k|{
 1183|   168k|    PyObject *w, *res;
 1184|       |
 1185|   168k|    if (Py_TYPE(v)->tp_getattr != NULL)
  ------------------
  |  |  213|   168k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   168k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   168k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1185:9): [True: 0, False: 168k]
  ------------------
 1186|      0|        return (*Py_TYPE(v)->tp_getattr)(v, (char*)name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1187|   168k|    w = PyUnicode_FromString(name);
 1188|   168k|    if (w == NULL)
  ------------------
  |  Branch (1188:9): [True: 0, False: 168k]
  ------------------
 1189|      0|        return NULL;
 1190|   168k|    res = PyObject_GetAttr(v, w);
 1191|   168k|    Py_DECREF(w);
  ------------------
  |  |  430|   168k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   168k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   168k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1192|   168k|    return res;
 1193|   168k|}
PyObject_SetAttrString:
 1221|  33.0k|{
 1222|  33.0k|    PyThreadState *tstate = _PyThreadState_GET();
 1223|  33.0k|    if (w == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1223:9): [True: 0, False: 33.0k]
  |  Branch (1223:22): [True: 0, False: 0]
  ------------------
 1224|      0|        PyObject *exc = _PyErr_GetRaisedException(tstate);
 1225|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 1226|      0|            "PyObject_SetAttrString() must not be called with NULL value "
 1227|      0|            "and an exception set");
 1228|      0|        _PyErr_ChainExceptions1Tstate(tstate, exc);
 1229|      0|        return -1;
 1230|      0|    }
 1231|       |
 1232|  33.0k|    if (Py_TYPE(v)->tp_setattr != NULL) {
  ------------------
  |  |  213|  33.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  33.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1232:9): [True: 0, False: 33.0k]
  ------------------
 1233|      0|        return (*Py_TYPE(v)->tp_setattr)(v, (char*)name, w);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1234|      0|    }
 1235|       |
 1236|  33.0k|    PyObject *s = PyUnicode_InternFromString(name);
 1237|  33.0k|    if (s == NULL) {
  ------------------
  |  Branch (1237:9): [True: 0, False: 33.0k]
  ------------------
 1238|      0|        return -1;
 1239|      0|    }
 1240|       |
 1241|  33.0k|    int res = PyObject_SetAttr(v, s, w);
 1242|  33.0k|    Py_DECREF(s);
  ------------------
  |  |  430|  33.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  33.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1243|  33.0k|    return res;
 1244|  33.0k|}
_PyObject_IsAbstract:
 1254|  1.02k|{
 1255|  1.02k|    int res;
 1256|  1.02k|    PyObject* isabstract;
 1257|       |
 1258|  1.02k|    if (obj == NULL)
  ------------------
  |  Branch (1258:9): [True: 2, False: 1.02k]
  ------------------
 1259|      2|        return 0;
 1260|       |
 1261|  1.02k|    res = PyObject_GetOptionalAttr(obj, &_Py_ID(__isabstractmethod__), &isabstract);
  ------------------
  |  |  951|  1.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1262|  1.02k|    if (res > 0) {
  ------------------
  |  Branch (1262:9): [True: 157, False: 866]
  ------------------
 1263|    157|        res = PyObject_IsTrue(isabstract);
 1264|    157|        Py_DECREF(isabstract);
  ------------------
  |  |  430|    157|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    157|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1265|    157|    }
 1266|  1.02k|    return res;
 1267|  1.02k|}
_PyObject_SetAttributeErrorContext:
 1285|   102k|{
 1286|   102k|    assert(PyErr_Occurred());
  ------------------
  |  Branch (1286:5): [True: 102k, False: 0]
  ------------------
 1287|   102k|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)){
  ------------------
  |  Branch (1287:9): [True: 0, False: 102k]
  ------------------
 1288|      0|        return 0;
 1289|      0|    }
 1290|       |    // Intercept AttributeError exceptions and augment them to offer suggestions later.
 1291|   102k|    PyObject *exc = PyErr_GetRaisedException();
 1292|   102k|    if (!PyErr_GivenExceptionMatches(exc, PyExc_AttributeError)) {
  ------------------
  |  Branch (1292:9): [True: 0, False: 102k]
  ------------------
 1293|      0|        goto restore;
 1294|      0|    }
 1295|   102k|    PyAttributeErrorObject* the_exc = (PyAttributeErrorObject*) exc;
 1296|       |    // Check if this exception was already augmented
 1297|   102k|    if (the_exc->name || the_exc->obj) {
  ------------------
  |  Branch (1297:9): [True: 50.9k, False: 51.2k]
  |  Branch (1297:26): [True: 0, False: 51.2k]
  ------------------
 1298|  50.9k|        goto restore;
 1299|  50.9k|    }
 1300|       |    // Augment the exception with the name and object
 1301|  51.2k|    if (PyObject_SetAttr(exc, &_Py_ID(name), name) ||
  ------------------
  |  |  951|  51.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  51.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  51.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1301:9): [True: 0, False: 51.2k]
  ------------------
 1302|  51.2k|        PyObject_SetAttr(exc, &_Py_ID(obj), v)) {
  ------------------
  |  |  951|  51.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  51.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  51.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1302:9): [True: 0, False: 51.2k]
  ------------------
 1303|      0|        Py_DECREF(exc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|      0|        return 1;
 1305|      0|    }
 1306|   102k|restore:
 1307|   102k|    PyErr_SetRaisedException(exc);
 1308|   102k|    return 0;
 1309|  51.2k|}
PyObject_GetAttr:
 1313|   210k|{
 1314|   210k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|   210k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   210k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   210k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|   210k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|   210k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   210k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1315:9): [True: 0, False: 210k]
  ------------------
 1316|      0|        PyErr_Format(PyExc_TypeError,
 1317|      0|                     "attribute name must be string, not '%.200s'",
 1318|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1319|      0|        return NULL;
 1320|      0|    }
 1321|       |
 1322|   210k|    PyObject* result = NULL;
 1323|   210k|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1323:9): [True: 210k, False: 0]
  ------------------
 1324|   210k|        result = (*tp->tp_getattro)(v, name);
 1325|   210k|    }
 1326|      0|    else if (tp->tp_getattr != NULL) {
  ------------------
  |  Branch (1326:14): [True: 0, False: 0]
  ------------------
 1327|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1328|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1328:13): [True: 0, False: 0]
  ------------------
 1329|      0|            return NULL;
 1330|      0|        }
 1331|      0|        result = (*tp->tp_getattr)(v, (char *)name_str);
 1332|      0|    }
 1333|      0|    else {
 1334|      0|        PyErr_Format(PyExc_AttributeError,
 1335|      0|                    "'%.100s' object has no attribute '%U'",
 1336|      0|                    tp->tp_name, name);
 1337|      0|    }
 1338|       |
 1339|   210k|    if (result == NULL) {
  ------------------
  |  Branch (1339:9): [True: 50.7k, False: 160k]
  ------------------
 1340|  50.7k|        _PyObject_SetAttributeErrorContext(v, name);
 1341|  50.7k|    }
 1342|   210k|    return result;
 1343|   210k|}
_PyObject_GetAttrStackRef:
 1350|  9.10k|{
 1351|  9.10k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  9.10k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1352|  9.10k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  9.10k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.10k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1352:9): [True: 0, False: 9.10k]
  ------------------
 1353|      0|        PyErr_Format(PyExc_TypeError,
 1354|      0|                     "attribute name must be string, not '%.200s'",
 1355|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1356|      0|        return PyStackRef_NULL;
 1357|      0|    }
 1358|       |
 1359|       |    /* Fast path for types - can return deferred references */
 1360|  9.10k|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1360:9): [True: 3.36k, False: 5.73k]
  ------------------
 1361|  3.36k|        _PyStackRef result = _Py_type_getattro_stackref((PyTypeObject *)v, name, NULL);
 1362|  3.36k|        if (PyStackRef_IsNull(result)) {
  ------------------
  |  |  482|  3.36k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  3.36k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.36k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 2, False: 3.36k]
  |  |  ------------------
  ------------------
 1363|      2|            _PyObject_SetAttributeErrorContext(v, name);
 1364|      2|        }
 1365|  3.36k|        return result;
 1366|  3.36k|    }
 1367|       |
 1368|       |    /* Fall back to regular PyObject_GetAttr and convert to stackref */
 1369|  5.73k|    PyObject *result = NULL;
 1370|  5.73k|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1370:9): [True: 5.73k, False: 0]
  ------------------
 1371|  5.73k|        result = (*tp->tp_getattro)(v, name);
 1372|  5.73k|    }
 1373|      0|    else if (tp->tp_getattr != NULL) {
  ------------------
  |  Branch (1373:14): [True: 0, False: 0]
  ------------------
 1374|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1375|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1375:13): [True: 0, False: 0]
  ------------------
 1376|      0|            return PyStackRef_NULL;
 1377|      0|        }
 1378|      0|        result = (*tp->tp_getattr)(v, (char *)name_str);
 1379|      0|    }
 1380|      0|    else {
 1381|      0|        PyErr_Format(PyExc_AttributeError,
 1382|      0|                    "'%.100s' object has no attribute '%U'",
 1383|      0|                    tp->tp_name, name);
 1384|      0|    }
 1385|       |
 1386|  5.73k|    if (result == NULL) {
  ------------------
  |  Branch (1386:9): [True: 392, False: 5.34k]
  ------------------
 1387|    392|        _PyObject_SetAttributeErrorContext(v, name);
 1388|    392|        return PyStackRef_NULL;
 1389|    392|    }
 1390|  5.34k|    return PyStackRef_FromPyObjectSteal(result);
 1391|  5.73k|}
PyObject_GetOptionalAttr:
 1395|   603k|{
 1396|   603k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|   603k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   603k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   603k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1397|       |
 1398|   603k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|   603k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   603k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1398:9): [True: 0, False: 603k]
  ------------------
 1399|      0|        PyErr_Format(PyExc_TypeError,
 1400|      0|                     "attribute name must be string, not '%.200s'",
 1401|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|      0|        *result = NULL;
 1403|      0|        return -1;
 1404|      0|    }
 1405|       |
 1406|   603k|    if (tp->tp_getattro == PyObject_GenericGetAttr) {
  ------------------
  |  Branch (1406:9): [True: 598k, False: 4.94k]
  ------------------
 1407|   598k|        *result = _PyObject_GenericGetAttrWithDict(v, name, NULL, 1);
 1408|   598k|        if (*result != NULL) {
  ------------------
  |  Branch (1408:13): [True: 592k, False: 6.37k]
  ------------------
 1409|   592k|            return 1;
 1410|   592k|        }
 1411|  6.37k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1411:13): [True: 0, False: 6.37k]
  ------------------
 1412|      0|            return -1;
 1413|      0|        }
 1414|  6.37k|        return 0;
 1415|  6.37k|    }
 1416|  4.94k|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1416:9): [True: 1.22k, False: 3.71k]
  ------------------
 1417|  1.22k|        int suppress_missing_attribute_exception = 0;
 1418|  1.22k|        *result = _Py_type_getattro_impl((PyTypeObject*)v, name, &suppress_missing_attribute_exception);
 1419|  1.22k|        if (suppress_missing_attribute_exception) {
  ------------------
  |  Branch (1419:13): [True: 29, False: 1.19k]
  ------------------
 1420|       |            // return 0 without having to clear the exception
 1421|     29|            return 0;
 1422|     29|        }
 1423|  1.22k|    }
 1424|  3.71k|    else if (tp->tp_getattro == (getattrofunc)_Py_module_getattro) {
  ------------------
  |  Branch (1424:14): [True: 3.71k, False: 0]
  ------------------
 1425|       |        // optimization: suppress attribute error from module getattro method
 1426|  3.71k|        *result = _Py_module_getattro_impl((PyModuleObject*)v, name, 1);
 1427|  3.71k|        if (*result != NULL) {
  ------------------
  |  Branch (1427:13): [True: 3.12k, False: 587]
  ------------------
 1428|  3.12k|            return 1;
 1429|  3.12k|        }
 1430|    587|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1430:13): [True: 0, False: 587]
  ------------------
 1431|      0|            return -1;
 1432|      0|        }
 1433|    587|        return 0;
 1434|    587|    }
 1435|      0|    else if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1435:14): [True: 0, False: 0]
  ------------------
 1436|      0|        *result = (*tp->tp_getattro)(v, name);
 1437|      0|    }
 1438|      0|    else if (tp->tp_getattr != NULL) {
  ------------------
  |  Branch (1438:14): [True: 0, False: 0]
  ------------------
 1439|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1440|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1440:13): [True: 0, False: 0]
  ------------------
 1441|      0|            *result = NULL;
 1442|      0|            return -1;
 1443|      0|        }
 1444|      0|        *result = (*tp->tp_getattr)(v, (char *)name_str);
 1445|      0|    }
 1446|      0|    else {
 1447|      0|        *result = NULL;
 1448|      0|        return 0;
 1449|      0|    }
 1450|       |
 1451|  1.19k|    if (*result != NULL) {
  ------------------
  |  Branch (1451:9): [True: 1.17k, False: 24]
  ------------------
 1452|  1.17k|        return 1;
 1453|  1.17k|    }
 1454|     24|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1454:9): [True: 0, False: 24]
  ------------------
 1455|      0|        return -1;
 1456|      0|    }
 1457|     24|    PyErr_Clear();
 1458|     24|    return 0;
 1459|     24|}
PyObject_GetOptionalAttrString:
 1463|  1.41k|{
 1464|  1.41k|    if (Py_TYPE(obj)->tp_getattr == NULL) {
  ------------------
  |  |  213|  1.41k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1464:9): [True: 1.41k, False: 0]
  ------------------
 1465|  1.41k|        PyObject *oname = PyUnicode_FromString(name);
 1466|  1.41k|        if (oname == NULL) {
  ------------------
  |  Branch (1466:13): [True: 0, False: 1.41k]
  ------------------
 1467|      0|            *result = NULL;
 1468|      0|            return -1;
 1469|      0|        }
 1470|  1.41k|        int rc = PyObject_GetOptionalAttr(obj, oname, result);
 1471|  1.41k|        Py_DECREF(oname);
  ------------------
  |  |  430|  1.41k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1472|  1.41k|        return rc;
 1473|  1.41k|    }
 1474|       |
 1475|      0|    *result = (*Py_TYPE(obj)->tp_getattr)(obj, (char*)name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1476|      0|    if (*result != NULL) {
  ------------------
  |  Branch (1476:9): [True: 0, False: 0]
  ------------------
 1477|      0|        return 1;
 1478|      0|    }
 1479|      0|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1479:9): [True: 0, False: 0]
  ------------------
 1480|      0|        return -1;
 1481|      0|    }
 1482|      0|    PyErr_Clear();
 1483|      0|    return 0;
 1484|      0|}
PyObject_HasAttrWithError:
 1488|  5.01k|{
 1489|  5.01k|    PyObject *res;
 1490|  5.01k|    int rc = PyObject_GetOptionalAttr(obj, name, &res);
 1491|  5.01k|    Py_XDECREF(res);
  ------------------
  |  |  621|  5.01k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1492|  5.01k|    return rc;
 1493|  5.01k|}
PyObject_SetAttr:
 1511|   176k|{
 1512|   176k|    PyThreadState *tstate = _PyThreadState_GET();
 1513|   176k|    if (value == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1513:9): [True: 36, False: 176k]
  |  Branch (1513:26): [True: 0, False: 36]
  ------------------
 1514|      0|        PyObject *exc = _PyErr_GetRaisedException(tstate);
 1515|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 1516|      0|            "PyObject_SetAttr() must not be called with NULL value "
 1517|      0|            "and an exception set");
 1518|      0|        _PyErr_ChainExceptions1Tstate(tstate, exc);
 1519|      0|        return -1;
 1520|      0|    }
 1521|       |
 1522|   176k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|   176k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   176k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   176k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1523|   176k|    int err;
 1524|       |
 1525|   176k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|   176k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   176k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1525:9): [True: 0, False: 176k]
  ------------------
 1526|      0|        PyErr_Format(PyExc_TypeError,
 1527|      0|                     "attribute name must be string, not '%.200s'",
 1528|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1529|      0|        return -1;
 1530|      0|    }
 1531|   176k|    Py_INCREF(name);
  ------------------
  |  |  310|   176k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   176k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   176k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1532|       |
 1533|   176k|    _PyUnicode_InternMortal(tstate->interp, &name);
 1534|   176k|    if (tp->tp_setattro != NULL) {
  ------------------
  |  Branch (1534:9): [True: 176k, False: 0]
  ------------------
 1535|   176k|        err = (*tp->tp_setattro)(v, name, value);
 1536|   176k|        Py_DECREF(name);
  ------------------
  |  |  430|   176k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   176k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   176k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1537|   176k|        return err;
 1538|   176k|    }
 1539|      0|    if (tp->tp_setattr != NULL) {
  ------------------
  |  Branch (1539:9): [True: 0, False: 0]
  ------------------
 1540|      0|        const char *name_str = PyUnicode_AsUTF8(name);
 1541|      0|        if (name_str == NULL) {
  ------------------
  |  Branch (1541:13): [True: 0, False: 0]
  ------------------
 1542|      0|            Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1543|      0|            return -1;
 1544|      0|        }
 1545|      0|        err = (*tp->tp_setattr)(v, (char *)name_str, value);
 1546|      0|        Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1547|      0|        return err;
 1548|      0|    }
 1549|      0|    Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1550|      0|    _PyObject_ASSERT(name, Py_REFCNT(name) >= 1);
  ------------------
  |  |  360|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      0|      ? (void)(0) \
  |  |  |  |  |  |  353|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1551|      0|    if (tp->tp_getattr == NULL && tp->tp_getattro == NULL)
  ------------------
  |  Branch (1551:9): [True: 0, False: 0]
  |  Branch (1551:35): [True: 0, False: 0]
  ------------------
 1552|      0|        PyErr_Format(PyExc_TypeError,
 1553|      0|                     "'%.100s' object has no attributes "
 1554|      0|                     "(%s .%U)",
 1555|      0|                     tp->tp_name,
 1556|      0|                     value==NULL ? "del" : "assign to",
  ------------------
  |  Branch (1556:22): [True: 0, False: 0]
  ------------------
 1557|      0|                     name);
 1558|      0|    else
 1559|      0|        PyErr_Format(PyExc_TypeError,
 1560|      0|                     "'%.100s' object has only read-only attributes "
 1561|      0|                     "(%s .%U)",
 1562|      0|                     tp->tp_name,
 1563|      0|                     value==NULL ? "del" : "assign to",
  ------------------
  |  Branch (1563:22): [True: 0, False: 0]
  ------------------
 1564|      0|                     name);
 1565|      0|    return -1;
 1566|      0|}
PyObject_DelAttr:
 1570|     36|{
 1571|       |    return PyObject_SetAttr(v, name, NULL);
 1572|     36|}
_PyObject_ComputedDictPointer:
 1576|   238k|{
 1577|   238k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   238k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   238k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1578|   238k|    assert((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (1578:5): [True: 238k, False: 0]
  ------------------
 1579|       |
 1580|   238k|    Py_ssize_t dictoffset = tp->tp_dictoffset;
 1581|   238k|    if (dictoffset == 0) {
  ------------------
  |  Branch (1581:9): [True: 175k, False: 63.6k]
  ------------------
 1582|   175k|        return NULL;
 1583|   175k|    }
 1584|       |
 1585|  63.6k|    if (dictoffset < 0) {
  ------------------
  |  Branch (1585:9): [True: 0, False: 63.6k]
  ------------------
 1586|      0|        assert(dictoffset != -1);
  ------------------
  |  Branch (1586:9): [True: 0, False: 0]
  ------------------
 1587|       |
 1588|      0|        Py_ssize_t tsize = Py_SIZE(obj);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1589|      0|        if (tsize < 0) {
  ------------------
  |  Branch (1589:13): [True: 0, False: 0]
  ------------------
 1590|      0|            tsize = -tsize;
 1591|      0|        }
 1592|      0|        size_t size = _PyObject_VAR_SIZE(tp, tsize);
 1593|      0|        assert(size <= (size_t)PY_SSIZE_T_MAX);
  ------------------
  |  Branch (1593:9): [True: 0, False: 0]
  ------------------
 1594|      0|        dictoffset += (Py_ssize_t)size;
 1595|       |
 1596|      0|        _PyObject_ASSERT(obj, dictoffset > 0);
  ------------------
  |  |  360|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      0|      ? (void)(0) \
  |  |  |  |  |  |  353|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1597|      0|        _PyObject_ASSERT(obj, dictoffset % SIZEOF_VOID_P == 0);
  ------------------
  |  |  360|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      0|      ? (void)(0) \
  |  |  |  |  |  |  353|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1598|      0|    }
 1599|  63.6k|    return (PyObject **) ((char *)obj + dictoffset);
 1600|  63.6k|}
PyObject_SelfIter:
 1628|   403k|{
 1629|   403k|    return Py_NewRef(obj);
  ------------------
  |  |  647|   403k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1630|   403k|}
_PyObject_GetMethodStackRef:
 1760|  21.0k|{
 1761|  21.0k|    int meth_found = 0;
 1762|  21.0k|    PyObject *obj = PyStackRef_AsPyObjectBorrow(*self);
 1763|       |
 1764|  21.0k|    assert(PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1764:5): [True: 21.0k, False: 0]
  ------------------
 1765|       |
 1766|  21.0k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  21.0k|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1767|  21.0k|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1767:9): [True: 0, False: 21.0k]
  ------------------
 1768|      0|        if (PyType_Ready(tp) < 0) {
  ------------------
  |  Branch (1768:13): [True: 0, False: 0]
  ------------------
 1769|      0|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1770|      0|            return -1;
 1771|      0|        }
 1772|      0|    }
 1773|       |
 1774|  21.0k|    if (tp->tp_getattro != PyObject_GenericGetAttr || !PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|  18.4k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  18.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1774:9): [True: 2.54k, False: 18.4k]
  |  Branch (1774:55): [True: 0, False: 18.4k]
  ------------------
 1775|  2.54k|        PyObject *res = PyObject_GetAttr(obj, name);
 1776|  2.54k|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|  2.54k|    do { \
  |  |  733|  2.54k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  2.54k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  2.54k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  2.54k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  2.54k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 2.54k]
  |  |  ------------------
  ------------------
 1777|  2.54k|        if (res != NULL) {
  ------------------
  |  Branch (1777:13): [True: 2.39k, False: 153]
  ------------------
 1778|  2.39k|            *method = PyStackRef_FromPyObjectSteal(res);
 1779|  2.39k|            return 0;
 1780|  2.39k|        }
 1781|    153|        return -1;
 1782|  2.54k|    }
 1783|       |
 1784|  18.4k|    _PyType_LookupStackRefAndVersion(tp, name, method);
 1785|  18.4k|    PyObject *descr = PyStackRef_AsPyObjectBorrow(*method);
 1786|  18.4k|    descrgetfunc f = NULL;
 1787|  18.4k|    if (descr != NULL) {
  ------------------
  |  Branch (1787:9): [True: 18.4k, False: 11]
  ------------------
 1788|  18.4k|        if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  18.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  18.4k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (1788:13): [True: 18.4k, False: 1]
  ------------------
 1789|  18.4k|            meth_found = 1;
 1790|  18.4k|        }
 1791|      1|        else {
 1792|      1|            f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1793|      1|            if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1793:17): [True: 1, False: 0]
  |  Branch (1793:30): [True: 1, False: 0]
  ------------------
 1794|      1|                PyObject *value = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1795|      1|                PyStackRef_CLEAR(*method);
  ------------------
  |  |  732|      1|    do { \
  |  |  733|      1|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      1|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      1|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      1|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1796|      1|                PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      1|    do { \
  |  |  733|      1|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      1|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      1|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      1|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1797|      1|                if (value != NULL) {
  ------------------
  |  Branch (1797:21): [True: 1, False: 0]
  ------------------
 1798|      1|                    *method = PyStackRef_FromPyObjectSteal(value);
 1799|      1|                    return 0;
 1800|      1|                }
 1801|      0|                return -1;
 1802|      1|            }
 1803|      1|        }
 1804|  18.4k|    }
 1805|  18.4k|    PyObject *dict, *attr;
 1806|  18.4k|    if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  472|  18.4k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1806:9): [True: 116, False: 18.3k]
  ------------------
 1807|    116|         _PyObject_TryGetInstanceAttribute(obj, name, &attr)) {
  ------------------
  |  Branch (1807:10): [True: 116, False: 0]
  ------------------
 1808|    116|        if (attr != NULL) {
  ------------------
  |  Branch (1808:13): [True: 11, False: 105]
  ------------------
 1809|     11|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectSteal(attr));
  ------------------
  |  |  855|     11|    do { \
  |  |  856|     11|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|     11|        (dst) = (src); \
  |  |  858|     11|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|     11|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 11]
  |  |  ------------------
  ------------------
 1810|     11|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|     11|    do { \
  |  |  733|     11|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|     11|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|     11|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|     11|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|     11|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 11]
  |  |  ------------------
  ------------------
 1811|     11|            return 0;
 1812|     11|        }
 1813|    105|        dict = NULL;
 1814|    105|    }
 1815|  18.3k|    else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  18.3k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1815:14): [True: 17, False: 18.3k]
  ------------------
 1816|     17|        dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1817|     17|    }
 1818|  18.3k|    else {
 1819|  18.3k|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1820|  18.3k|        if (dictptr != NULL) {
  ------------------
  |  Branch (1820:13): [True: 824, False: 17.5k]
  ------------------
 1821|    824|            dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  152|    824|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1822|    824|        }
 1823|  17.5k|        else {
 1824|  17.5k|            dict = NULL;
 1825|  17.5k|        }
 1826|  18.3k|    }
 1827|  18.4k|    if (dict != NULL) {
  ------------------
  |  Branch (1827:9): [True: 627, False: 17.8k]
  ------------------
 1828|    627|        assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (1828:9): [True: 627, False: 0]
  ------------------
 1829|    627|        int found = _PyDict_GetMethodStackRef((PyDictObject *)dict, name, method);
 1830|    627|        if (found < 0) {
  ------------------
  |  Branch (1830:13): [True: 0, False: 627]
  ------------------
 1831|      0|            assert(PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1831:13): [True: 0, False: 0]
  ------------------
 1832|      0|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1833|      0|            return -1;
 1834|      0|        }
 1835|    627|        else if (found) {
  ------------------
  |  Branch (1835:18): [True: 0, False: 627]
  ------------------
 1836|      0|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1837|      0|            return 0;
 1838|      0|        }
 1839|    627|    }
 1840|       |
 1841|  18.4k|    if (meth_found) {
  ------------------
  |  Branch (1841:9): [True: 18.4k, False: 0]
  ------------------
 1842|  18.4k|        assert(!PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1842:9): [True: 18.4k, False: 0]
  ------------------
 1843|  18.4k|        return 1;
 1844|  18.4k|    }
 1845|       |
 1846|      0|    if (f != NULL) {
  ------------------
  |  Branch (1846:9): [True: 0, False: 0]
  ------------------
 1847|      0|        if (Py_IS_TYPE(descr, &PyClassMethod_Type)) {
  ------------------
  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1848|      0|            PyObject *callable = _PyClassMethod_GetFunc(descr);
 1849|      0|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectNew(callable));
  ------------------
  |  |  855|      0|    do { \
  |  |  856|      0|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|      0|        (dst) = (src); \
  |  |  858|      0|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1850|      0|            PyStackRef_XSETREF(*self, PyStackRef_FromPyObjectNew((PyObject *)tp));
  ------------------
  |  |  855|      0|    do { \
  |  |  856|      0|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|      0|        (dst) = (src); \
  |  |  858|      0|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1851|      0|            return 1;
 1852|      0|        }
 1853|      0|        else if (Py_IS_TYPE(descr, &PyStaticMethod_Type)) {
  ------------------
  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1854|      0|            PyObject *callable = _PyStaticMethod_GetFunc(descr);
 1855|      0|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectNew(callable));
  ------------------
  |  |  855|      0|    do { \
  |  |  856|      0|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|      0|        (dst) = (src); \
  |  |  858|      0|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1856|      0|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1857|      0|            return 0;
 1858|      0|        }
 1859|      0|        PyObject *value = f(descr, obj, (PyObject *)tp);
 1860|      0|        PyStackRef_CLEAR(*method);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1861|      0|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1862|      0|        if (value) {
  ------------------
  |  Branch (1862:13): [True: 0, False: 0]
  ------------------
 1863|      0|            *method = PyStackRef_FromPyObjectSteal(value);
 1864|      0|            return 0;
 1865|      0|        }
 1866|      0|        return -1;
 1867|      0|    }
 1868|       |
 1869|      0|    if (descr != NULL) {
  ------------------
  |  Branch (1869:9): [True: 0, False: 0]
  ------------------
 1870|      0|        assert(!PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1870:9): [True: 0, False: 0]
  ------------------
 1871|      0|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1872|      0|        return 0;
 1873|      0|    }
 1874|       |
 1875|      0|    PyErr_Format(PyExc_AttributeError,
 1876|      0|                 "'%.100s' object has no attribute '%U'",
 1877|      0|                 tp->tp_name, name);
 1878|       |
 1879|      0|    _PyObject_SetAttributeErrorContext(obj, name);
 1880|      0|    assert(PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1880:5): [True: 0, False: 0]
  ------------------
 1881|      0|    PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1882|      0|    return -1;
 1883|      0|}
_PyObject_GenericGetAttrWithDict:
 1891|   816k|{
 1892|       |    /* Make sure the logic of _PyObject_GetMethod is in sync with
 1893|       |       this method.
 1894|       |
 1895|       |       When suppress=1, this function suppresses AttributeError.
 1896|       |    */
 1897|       |
 1898|   816k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   816k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   816k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   816k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1899|   816k|    PyObject *descr = NULL;
 1900|   816k|    PyObject *res = NULL;
 1901|   816k|    descrgetfunc f;
 1902|       |
 1903|   816k|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|   816k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   816k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1903:9): [True: 0, False: 816k]
  ------------------
 1904|      0|        PyErr_Format(PyExc_TypeError,
 1905|      0|                     "attribute name must be string, not '%.200s'",
 1906|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1907|      0|        return NULL;
 1908|      0|    }
 1909|       |
 1910|   816k|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1910:9): [True: 0, False: 816k]
  ------------------
 1911|      0|        if (PyType_Ready(tp) < 0)
  ------------------
  |  Branch (1911:13): [True: 0, False: 0]
  ------------------
 1912|      0|            return NULL;
 1913|      0|    }
 1914|       |
 1915|   816k|    Py_INCREF(name);
  ------------------
  |  |  310|   816k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   816k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   816k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1916|       |
 1917|   816k|    PyThreadState *tstate = _PyThreadState_GET();
 1918|   816k|    _PyCStackRef cref;
 1919|   816k|    _PyThreadState_PushCStackRef(tstate, &cref);
 1920|       |
 1921|   816k|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 1922|   816k|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 1923|       |
 1924|   816k|    f = NULL;
 1925|   816k|    if (descr != NULL) {
  ------------------
  |  Branch (1925:9): [True: 745k, False: 70.7k]
  ------------------
 1926|   745k|        f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  213|   745k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   745k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   745k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1927|   745k|        if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1927:13): [True: 158k, False: 587k]
  |  Branch (1927:26): [True: 39.1k, False: 118k]
  ------------------
 1928|       |            // gh-157840: We special-case member descriptors here to avoid
 1929|       |            // allocating an extra AttributeError
 1930|  39.1k|            if (suppress && Py_IS_TYPE(descr, &PyMemberDescr_Type)) {
  ------------------
  |  |  215|  1.94k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 28, False: 1.92k]
  |  |  ------------------
  ------------------
  |  Branch (1930:17): [True: 1.94k, False: 37.2k]
  ------------------
 1931|     28|                PyMemberDef *member = ((PyMemberDescrObject *)descr)->d_member;
 1932|     28|                if (member->type == Py_T_OBJECT_EX
  ------------------
  |  |   75|     56|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (1932:21): [True: 0, False: 28]
  ------------------
 1933|      0|                    && !(member->flags & Py_AUDIT_READ)
  ------------------
  |  |   84|      0|#define Py_AUDIT_READ          (1 << 1) // Added in 3.10, harmless no-op before that
  ------------------
  |  Branch (1933:24): [True: 0, False: 0]
  ------------------
 1934|      0|                    && PyObject_TypeCheck(obj, PyDescr_TYPE(descr))) {
  ------------------
  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1935|      0|                    PyObject **addr = _PyMember_GetOffset(obj, member);
 1936|      0|                    if (FT_ATOMIC_LOAD_PTR(*addr) == NULL) {
  ------------------
  |  |  147|      0|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  |  Branch (1936:25): [True: 0, False: 0]
  ------------------
 1937|      0|                        goto done;
 1938|      0|                    }
 1939|      0|                }
 1940|     28|            }
 1941|  39.1k|            res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|  39.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  39.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1942|  39.1k|            if (res == NULL && suppress &&
  ------------------
  |  Branch (1942:17): [True: 0, False: 39.1k]
  |  Branch (1942:32): [True: 0, False: 0]
  ------------------
 1943|      0|                    PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1943:21): [True: 0, False: 0]
  ------------------
 1944|      0|                PyErr_Clear();
 1945|      0|            }
 1946|  39.1k|            goto done;
 1947|  39.1k|        }
 1948|   745k|    }
 1949|   776k|    if (dict == NULL) {
  ------------------
  |  Branch (1949:9): [True: 776k, False: 0]
  ------------------
 1950|   776k|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|   776k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1950:13): [True: 2.89k, False: 774k]
  ------------------
 1951|  2.89k|            if (PyUnicode_CheckExact(name) &&
  ------------------
  |  |  104|  2.89k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  5.79k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.89k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1952|  2.89k|                _PyObject_TryGetInstanceAttribute(obj, name, &res)) {
  ------------------
  |  Branch (1952:17): [True: 2.89k, False: 0]
  ------------------
 1953|  2.89k|                if (res != NULL) {
  ------------------
  |  Branch (1953:21): [True: 2.48k, False: 408]
  ------------------
 1954|  2.48k|                    goto done;
 1955|  2.48k|                }
 1956|  2.89k|            }
 1957|      0|            else {
 1958|      0|                dict = (PyObject *)_PyObject_MaterializeManagedDict(obj);
 1959|      0|                if (dict == NULL) {
  ------------------
  |  Branch (1959:21): [True: 0, False: 0]
  ------------------
 1960|      0|                    res = NULL;
 1961|      0|                    goto done;
 1962|      0|                }
 1963|      0|            }
 1964|  2.89k|        }
 1965|   774k|        else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|   774k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1965:18): [True: 588k, False: 185k]
  ------------------
 1966|   588k|            dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1967|   588k|        }
 1968|   185k|        else {
 1969|   185k|            PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1970|   185k|            if (dictptr) {
  ------------------
  |  Branch (1970:17): [True: 27.6k, False: 157k]
  ------------------
 1971|       |#ifdef Py_GIL_DISABLED
 1972|       |                dict = _Py_atomic_load_ptr_acquire(dictptr);
 1973|       |#else
 1974|  27.6k|                dict = *dictptr;
 1975|  27.6k|#endif
 1976|  27.6k|            }
 1977|   185k|        }
 1978|   776k|    }
 1979|   774k|    if (dict != NULL) {
  ------------------
  |  Branch (1979:9): [True: 598k, False: 175k]
  ------------------
 1980|   598k|        Py_INCREF(dict);
  ------------------
  |  |  310|   598k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   598k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   598k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1981|   598k|        int rc = PyDict_GetItemRef(dict, name, &res);
 1982|   598k|        Py_DECREF(dict);
  ------------------
  |  |  430|   598k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   598k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   598k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1983|   598k|        if (res != NULL) {
  ------------------
  |  Branch (1983:13): [True: 10.1k, False: 588k]
  ------------------
 1984|  10.1k|            goto done;
 1985|  10.1k|        }
 1986|   588k|        else if (rc < 0) {
  ------------------
  |  Branch (1986:18): [True: 0, False: 588k]
  ------------------
 1987|      0|            if (suppress && PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1987:17): [True: 0, False: 0]
  |  Branch (1987:29): [True: 0, False: 0]
  ------------------
 1988|      0|                PyErr_Clear();
 1989|      0|            }
 1990|      0|            else {
 1991|      0|                goto done;
 1992|      0|            }
 1993|      0|        }
 1994|   598k|    }
 1995|       |
 1996|   764k|    if (f != NULL) {
  ------------------
  |  Branch (1996:9): [True: 118k, False: 645k]
  ------------------
 1997|   118k|        res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|   118k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   118k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   118k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1998|   118k|        if (res == NULL && suppress &&
  ------------------
  |  Branch (1998:13): [True: 0, False: 118k]
  |  Branch (1998:28): [True: 0, False: 0]
  ------------------
 1999|      0|                PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1999:17): [True: 0, False: 0]
  ------------------
 2000|      0|            PyErr_Clear();
 2001|      0|        }
 2002|   118k|        goto done;
 2003|   118k|    }
 2004|       |
 2005|   645k|    if (descr != NULL) {
  ------------------
  |  Branch (2005:9): [True: 587k, False: 58.0k]
  ------------------
 2006|   587k|        res = PyStackRef_AsPyObjectSteal(cref.ref);
 2007|   587k|        cref.ref = PyStackRef_NULL;
 2008|   587k|        goto done;
 2009|   587k|    }
 2010|       |
 2011|  58.0k|    if (!suppress) {
  ------------------
  |  Branch (2011:9): [True: 51.1k, False: 6.96k]
  ------------------
 2012|  51.1k|        PyErr_Format(PyExc_AttributeError,
 2013|  51.1k|                     "'%.100s' object has no attribute '%U'",
 2014|  51.1k|                     tp->tp_name, name);
 2015|       |
 2016|  51.1k|        _PyObject_SetAttributeErrorContext(obj, name);
 2017|  51.1k|    }
 2018|   816k|  done:
 2019|   816k|    _PyThreadState_PopCStackRef(tstate, &cref);
 2020|   816k|    Py_DECREF(name);
  ------------------
  |  |  430|   816k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   816k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   816k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|   816k|    return res;
 2022|  58.0k|}
PyObject_GenericGetAttr:
 2026|   207k|{
 2027|       |    return _PyObject_GenericGetAttrWithDict(obj, name, NULL, 0);
 2028|   207k|}
_PyObject_GenericSetAttrWithDict:
 2033|   176k|{
 2034|   176k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   176k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   176k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   176k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2035|   176k|    PyObject *descr;
 2036|   176k|    descrsetfunc f;
 2037|   176k|    int res = -1;
 2038|       |
 2039|   176k|    assert(!PyType_IsSubtype(tp, &PyType_Type));
  ------------------
  |  Branch (2039:5): [True: 176k, False: 0]
  ------------------
 2040|   176k|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|   176k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   176k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2040:9): [True: 0, False: 176k]
  ------------------
 2041|      0|        PyErr_Format(PyExc_TypeError,
 2042|      0|                     "attribute name must be string, not '%.200s'",
 2043|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2044|      0|        return -1;
 2045|      0|    }
 2046|       |
 2047|   176k|    if (!_PyType_IsReady(tp) && PyType_Ready(tp) < 0) {
  ------------------
  |  Branch (2047:9): [True: 0, False: 176k]
  |  Branch (2047:33): [True: 0, False: 0]
  ------------------
 2048|      0|        return -1;
 2049|      0|    }
 2050|       |
 2051|   176k|    Py_INCREF(name);
  ------------------
  |  |  310|   176k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   176k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   176k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2052|   176k|    _Py_INCREF_TYPE(tp);
  ------------------
  |  |  304|   176k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|   176k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   176k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   176k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2053|       |
 2054|   176k|    PyThreadState *tstate = _PyThreadState_GET();
 2055|   176k|    _PyCStackRef cref;
 2056|   176k|    _PyThreadState_PushCStackRef(tstate, &cref);
 2057|       |
 2058|   176k|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 2059|   176k|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 2060|       |
 2061|   176k|    if (descr != NULL) {
  ------------------
  |  Branch (2061:9): [True: 139k, False: 37.4k]
  ------------------
 2062|   139k|        f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|   139k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   139k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   139k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2063|   139k|        if (f != NULL) {
  ------------------
  |  Branch (2063:13): [True: 139k, False: 205]
  ------------------
 2064|   139k|            res = f(descr, obj, value);
 2065|   139k|            goto done;
 2066|   139k|        }
 2067|   139k|    }
 2068|       |
 2069|  37.6k|    if (dict == NULL) {
  ------------------
  |  Branch (2069:9): [True: 37.6k, False: 0]
  ------------------
 2070|  37.6k|        PyObject **dictptr;
 2071|       |
 2072|  37.6k|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  37.6k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2072:13): [True: 830, False: 36.8k]
  ------------------
 2073|    830|            res = _PyObject_StoreInstanceAttribute(obj, name, value);
 2074|    830|            goto error_check;
 2075|    830|        }
 2076|       |
 2077|  36.8k|        if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  36.8k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2077:13): [True: 1.67k, False: 35.1k]
  ------------------
 2078|  1.67k|            PyManagedDictPointer *managed_dict = _PyObject_ManagedDictPointer(obj);
 2079|  1.67k|            dictptr = (PyObject **)&managed_dict->dict;
 2080|  1.67k|        }
 2081|  35.1k|        else {
 2082|  35.1k|            dictptr = _PyObject_ComputedDictPointer(obj);
 2083|  35.1k|        }
 2084|  36.8k|        if (dictptr == NULL) {
  ------------------
  |  Branch (2084:13): [True: 0, False: 36.8k]
  ------------------
 2085|      0|            if (descr == NULL) {
  ------------------
  |  Branch (2085:17): [True: 0, False: 0]
  ------------------
 2086|      0|                if (tp->tp_setattro == PyObject_GenericSetAttr) {
  ------------------
  |  Branch (2086:21): [True: 0, False: 0]
  ------------------
 2087|      0|                    PyErr_Format(PyExc_AttributeError,
 2088|      0|                                "'%.100s' object has no attribute '%U' and no "
 2089|      0|                                "__dict__ for setting new attributes",
 2090|      0|                                tp->tp_name, name);
 2091|      0|                }
 2092|      0|                else {
 2093|      0|                    PyErr_Format(PyExc_AttributeError,
 2094|      0|                                "'%.100s' object has no attribute '%U'",
 2095|      0|                                tp->tp_name, name);
 2096|      0|                }
 2097|      0|                _PyObject_SetAttributeErrorContext(obj, name);
 2098|      0|            }
 2099|      0|            else {
 2100|      0|                PyErr_Format(PyExc_AttributeError,
 2101|      0|                            "'%.100s' object attribute '%U' is read-only",
 2102|      0|                            tp->tp_name, name);
 2103|      0|            }
 2104|      0|            goto done;
 2105|      0|        }
 2106|  36.8k|        else {
 2107|  36.8k|            res = _PyObjectDict_SetItem(tp, obj, dictptr, name, value);
 2108|  36.8k|        }
 2109|  36.8k|    }
 2110|      0|    else {
 2111|      0|        Py_INCREF(dict);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2112|      0|        if (value == NULL)
  ------------------
  |  Branch (2112:13): [True: 0, False: 0]
  ------------------
 2113|      0|            res = PyDict_DelItem(dict, name);
 2114|      0|        else
 2115|      0|            res = PyDict_SetItem(dict, name, value);
 2116|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2117|      0|    }
 2118|  37.6k|  error_check:
 2119|  37.6k|    if (res < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) {
  ------------------
  |  Branch (2119:9): [True: 0, False: 37.6k]
  |  Branch (2119:20): [True: 0, False: 0]
  ------------------
 2120|      0|        PyErr_Format(PyExc_AttributeError,
 2121|      0|                        "'%.100s' object has no attribute '%U'",
 2122|      0|                        tp->tp_name, name);
 2123|      0|        _PyObject_SetAttributeErrorContext(obj, name);
 2124|      0|    }
 2125|   176k|  done:
 2126|   176k|    _PyThreadState_PopCStackRef(tstate, &cref);
 2127|   176k|    _Py_DECREF_TYPE(tp);
  ------------------
  |  |  305|   176k|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|   176k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   176k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   176k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|   176k|    Py_DECREF(name);
  ------------------
  |  |  430|   176k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   176k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   176k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2129|   176k|    return res;
 2130|  37.6k|}
PyObject_GenericSetAttr:
 2134|   176k|{
 2135|       |    return _PyObject_GenericSetAttrWithDict(obj, name, value, NULL);
 2136|   176k|}
PyObject_IsTrue:
 2154|   793k|{
 2155|   793k|    Py_ssize_t res;
 2156|   793k|    if (v == Py_True)
  ------------------
  |  |   26|   793k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|   793k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   793k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2156:9): [True: 789k, False: 3.70k]
  ------------------
 2157|   789k|        return 1;
 2158|  3.70k|    if (v == Py_False)
  ------------------
  |  |   25|  3.70k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  3.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2158:9): [True: 2.08k, False: 1.62k]
  ------------------
 2159|  2.08k|        return 0;
 2160|  1.62k|    if (v == Py_None)
  ------------------
  |  |  616|  1.62k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2160:9): [True: 170, False: 1.45k]
  ------------------
 2161|    170|        return 0;
 2162|  1.45k|    else if (Py_TYPE(v)->tp_as_number != NULL &&
  ------------------
  |  |  213|  1.45k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2162:14): [True: 992, False: 458]
  ------------------
 2163|    992|             Py_TYPE(v)->tp_as_number->nb_bool != NULL)
  ------------------
  |  |  213|    992|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    992|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    992|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2163:14): [True: 41, False: 951]
  ------------------
 2164|     41|        res = (*Py_TYPE(v)->tp_as_number->nb_bool)(v);
  ------------------
  |  |  213|     41|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2165|  1.40k|    else if (Py_TYPE(v)->tp_as_mapping != NULL &&
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2165:14): [True: 807, False: 602]
  ------------------
 2166|    807|             Py_TYPE(v)->tp_as_mapping->mp_length != NULL)
  ------------------
  |  |  213|    807|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    807|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    807|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2166:14): [True: 697, False: 110]
  ------------------
 2167|    697|        res = (*Py_TYPE(v)->tp_as_mapping->mp_length)(v);
  ------------------
  |  |  213|    697|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    697|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    697|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2168|    712|    else if (Py_TYPE(v)->tp_as_sequence != NULL &&
  ------------------
  |  |  213|    712|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    712|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    712|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2168:14): [True: 704, False: 8]
  ------------------
 2169|    704|             Py_TYPE(v)->tp_as_sequence->sq_length != NULL)
  ------------------
  |  |  213|    704|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    704|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    704|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2169:14): [True: 594, False: 110]
  ------------------
 2170|    594|        res = (*Py_TYPE(v)->tp_as_sequence->sq_length)(v);
  ------------------
  |  |  213|    594|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    594|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    594|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2171|    118|    else
 2172|    118|        return 1;
 2173|       |    /* if it is negative, it should be either -1 or -2 */
 2174|  1.33k|    return (res > 0) ? 1 : Py_SAFE_DOWNCAST(res, Py_ssize_t, int);
  ------------------
  |  |  247|    716|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|    716|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2174:12): [True: 616, False: 716]
  ------------------
 2175|  1.62k|}
PyCallable_Check:
 2194|  1.18M|{
 2195|  1.18M|    if (x == NULL)
  ------------------
  |  Branch (2195:9): [True: 0, False: 1.18M]
  ------------------
 2196|      0|        return 0;
 2197|  1.18M|    return Py_TYPE(x)->tp_call != NULL;
  ------------------
  |  |  213|  1.18M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2198|  1.18M|}
PyObject_Dir:
 2283|      2|{
 2284|      2|    return (obj == NULL) ? _dir_locals() : _dir_object(obj);
  ------------------
  |  Branch (2284:12): [True: 0, False: 2]
  ------------------
 2285|      2|}
_PyObject_InitState:
 2519|      2|{
 2520|       |#ifdef Py_TRACE_REFS
 2521|       |    if (refchain_init(interp) < 0) {
 2522|       |        return _PyStatus_NO_MEMORY();
 2523|       |    }
 2524|       |#endif
 2525|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2526|      2|}
_PyTypes_InitTypes:
 2683|      2|{
 2684|       |    // All other static types (unless initialized elsewhere)
 2685|    242|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_types); i++) {
  ------------------
  |  |  232|    242|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (2685:22): [True: 240, False: 2]
  ------------------
 2686|    240|        PyTypeObject *type = static_types[i];
 2687|    240|        if (type == NULL) {
  ------------------
  |  Branch (2687:13): [True: 4, False: 236]
  ------------------
 2688|      4|            continue;
 2689|      4|        }
 2690|    236|        if (_PyStaticType_InitBuiltin(interp, type) < 0) {
  ------------------
  |  Branch (2690:13): [True: 0, False: 236]
  ------------------
 2691|      0|            return _PyStatus_ERR("Can't initialize builtin type");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2692|      0|        }
 2693|    236|        if (type == &PyType_Type) {
  ------------------
  |  Branch (2693:13): [True: 2, False: 234]
  ------------------
 2694|       |            // Sanitify checks of the two most important types
 2695|      2|            assert(PyBaseObject_Type.tp_base == NULL);
  ------------------
  |  Branch (2695:13): [True: 2, False: 0]
  ------------------
 2696|      2|            assert(PyType_Type.tp_base == &PyBaseObject_Type);
  ------------------
  |  Branch (2696:13): [True: 2, False: 0]
  ------------------
 2697|      2|        }
 2698|    236|    }
 2699|       |
 2700|       |    // Cache __reduce__ from PyBaseObject_Type object
 2701|      2|    PyObject *baseobj_dict = _PyType_GetDict(&PyBaseObject_Type);
 2702|      2|    PyObject *baseobj_reduce = PyDict_GetItemWithError(baseobj_dict, &_Py_ID(__reduce__));
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2703|      2|    if (baseobj_reduce == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (2703:9): [True: 0, False: 2]
  |  Branch (2703:35): [True: 0, False: 0]
  ------------------
 2704|      0|        return _PyStatus_ERR("Can't get __reduce__ from base object");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2705|      0|    }
 2706|      2|    _Py_INTERP_CACHED_OBJECT(interp, objreduce) = baseobj_reduce;
  ------------------
  |  |   22|      2|    (interp)->cached_objects.NAME
  ------------------
 2707|       |
 2708|       |    // Must be after static types are initialized
 2709|      2|    if (_Py_initialize_generic(interp) < 0) {
  ------------------
  |  Branch (2709:9): [True: 0, False: 2]
  ------------------
 2710|      0|        return _PyStatus_ERR("Can't initialize generic types");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 2711|      0|    }
 2712|       |
 2713|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2714|      2|}
_Py_NewReference:
 2773|  38.1M|{
 2774|       |#ifdef Py_REF_DEBUG
 2775|       |    _Py_IncRefTotal(_PyThreadState_GET());
 2776|       |#endif
 2777|  38.1M|    new_reference(op);
 2778|  38.1M|}
_Py_NewReferenceNoTotal:
 2782|  1.31M|{
 2783|  1.31M|    new_reference(op);
 2784|  1.31M|}
_Py_SetImmortalUntracked:
 2788|  9.09k|{
 2789|       |    // Check if already immortal to avoid degrading from static immortal to plain immortal
 2790|  9.09k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  9.09k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 30, False: 9.06k]
  |  |  ------------------
  ------------------
 2791|     30|        return;
 2792|     30|    }
 2793|       |#ifdef Py_GIL_DISABLED
 2794|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_UNOWNED_TID);
 2795|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, _Py_IMMORTAL_REFCNT_LOCAL);
 2796|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
 2797|       |    _Py_atomic_or_uint8(&op->ob_gc_bits, _PyGC_BITS_DEFERRED);
 2798|       |#elif SIZEOF_VOID_P > 4
 2799|  9.06k|    op->ob_flags = _Py_IMMORTAL_FLAGS;
  ------------------
  |  |  581|  9.06k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  ------------------
 2800|  9.06k|    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
  ------------------
  |  |   47|  9.06k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
 2801|       |#else
 2802|       |    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
 2803|       |#endif
 2804|  9.06k|}
_Py_SetImmortal:
 2808|  9.09k|{
 2809|  9.09k|    if (PyObject_IS_GC(op) && _PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|    830|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    830|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 826, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (2809:9): [True: 830, False: 8.26k]
  ------------------
 2810|    826|        _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  504|    826|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    826|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    826|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2811|    826|    }
 2812|  9.09k|    _Py_SetImmortalUntracked(op);
 2813|  9.09k|}
_PyObject_SetDeferredRefcount:
 2817|  10.0k|{
 2818|       |#ifdef Py_GIL_DISABLED
 2819|       |    assert(PyType_IS_GC(Py_TYPE(op)));
 2820|       |    assert(_Py_IsOwnedByCurrentThread(op));
 2821|       |    assert(op->ob_ref_shared == 0);
 2822|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_DEFERRED);
 2823|       |    op->ob_ref_shared = _Py_REF_SHARED(_Py_REF_DEFERRED, 0);
 2824|       |#endif
 2825|  10.0k|}
PyUnstable_Object_EnableDeferredRefcount:
 2829|    916|{
 2830|       |#ifdef Py_GIL_DISABLED
 2831|       |    if (!PyType_IS_GC(Py_TYPE(op))) {
 2832|       |        // Deferred reference counting doesn't work
 2833|       |        // on untracked types.
 2834|       |        return 0;
 2835|       |    }
 2836|       |
 2837|       |    if (!PyObject_GC_IsTracked(op)) {
 2838|       |        // When deferred refcount is enabled, the object will only be
 2839|       |        // deallocated by the tracing garbage collector. So it must be tracked
 2840|       |        // by the garbage collector.
 2841|       |        return 0;
 2842|       |    }
 2843|       |
 2844|       |    uint8_t bits = _Py_atomic_load_uint8(&op->ob_gc_bits);
 2845|       |    if ((bits & _PyGC_BITS_DEFERRED) != 0)
 2846|       |    {
 2847|       |        // Nothing to do.
 2848|       |        return 0;
 2849|       |    }
 2850|       |
 2851|       |    if (_Py_atomic_compare_exchange_uint8(&op->ob_gc_bits, &bits, bits | _PyGC_BITS_DEFERRED) == 0)
 2852|       |    {
 2853|       |        // Someone beat us to it!
 2854|       |        return 0;
 2855|       |    }
 2856|       |    _Py_atomic_add_ssize(&op->ob_ref_shared, _Py_REF_SHARED(_Py_REF_DEFERRED, 0));
 2857|       |    return 1;
 2858|       |#else
 2859|    916|    return 0;
 2860|    916|#endif
 2861|    916|}
PyUnstable_EnableTryIncRef:
 2898|      6|{
 2899|       |#ifdef Py_GIL_DISABLED
 2900|       |    _PyObject_SetMaybeWeakref(op);
 2901|       |#endif
 2902|      6|}
_PyTrash_thread_deposit_object:
 3192|  29.5k|{
 3193|  29.5k|    _PyObject_ASSERT(op, Py_REFCNT(op) == 0);
  ------------------
  |  |  360|  29.5k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  29.5k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  29.5k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 29.5k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  29.5k|      ? (void)(0) \
  |  |  |  |  |  |  353|  29.5k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3194|  29.5k|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|  29.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  29.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3195|  29.5k|    assert(tp->tp_flags & Py_TPFLAGS_HAVE_GC);
  ------------------
  |  Branch (3195:5): [True: 29.5k, False: 0]
  ------------------
 3196|  29.5k|    int tracked = 0;
 3197|  29.5k|    if (tp->tp_is_gc == NULL || tp->tp_is_gc(op)) {
  ------------------
  |  Branch (3197:9): [True: 29.5k, False: 0]
  |  Branch (3197:33): [True: 0, False: 0]
  ------------------
 3198|  29.5k|        tracked = _PyObject_GC_IS_TRACKED(op);
  ------------------
  |  |   81|  29.5k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  29.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3199|  29.5k|        if (tracked) {
  ------------------
  |  Branch (3199:13): [True: 29.5k, False: 0]
  ------------------
 3200|  29.5k|            _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  504|  29.5k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3201|  29.5k|        }
 3202|  29.5k|    }
 3203|  29.5k|    uintptr_t tagged_ptr = ((uintptr_t)tstate->delete_later) | tracked;
 3204|       |#ifdef Py_GIL_DISABLED
 3205|       |    op->ob_tid = tagged_ptr;
 3206|       |#else
 3207|  29.5k|    _Py_AS_GC(op)->_gc_next = tagged_ptr;
 3208|  29.5k|#endif
 3209|  29.5k|    tstate->delete_later = op;
 3210|  29.5k|}
_PyTrash_thread_destroy_chain:
 3216|     70|{
 3217|  29.6k|    while (tstate->delete_later) {
  ------------------
  |  Branch (3217:12): [True: 29.5k, False: 70]
  ------------------
 3218|  29.5k|        PyObject *op = tstate->delete_later;
 3219|  29.5k|        destructor dealloc = Py_TYPE(op)->tp_dealloc;
  ------------------
  |  |  213|  29.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  29.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3220|       |
 3221|       |#ifdef Py_GIL_DISABLED
 3222|       |        uintptr_t tagged_ptr = op->ob_tid;
 3223|       |        op->ob_tid = 0;
 3224|       |        _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, _Py_REF_MERGED);
 3225|       |#else
 3226|  29.5k|        uintptr_t tagged_ptr = _Py_AS_GC(op)->_gc_next;
 3227|  29.5k|        _Py_AS_GC(op)->_gc_next = 0;
 3228|  29.5k|#endif
 3229|  29.5k|        tstate->delete_later = (PyObject *)(tagged_ptr & ~1);
 3230|  29.5k|        if (tagged_ptr & 1) {
  ------------------
  |  Branch (3230:13): [True: 29.5k, False: 0]
  ------------------
 3231|  29.5k|            _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|  29.5k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3232|  29.5k|        }
 3233|       |        /* Call the deallocator directly.  This used to try to
 3234|       |         * fool Py_DECREF into calling it indirectly, but
 3235|       |         * Py_DECREF was already called on this object, and in
 3236|       |         * assorted non-release builds calling Py_DECREF again ends
 3237|       |         * up distorting allocation statistics.
 3238|       |         */
 3239|  29.5k|        _PyObject_ASSERT(op, Py_REFCNT(op) == 0);
  ------------------
  |  |  360|  29.5k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  29.5k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  29.5k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 29.5k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  29.5k|      ? (void)(0) \
  |  |  |  |  |  |  353|  29.5k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3240|       |#ifdef Py_TRACE_REFS
 3241|       |        _Py_ForgetReference(op);
 3242|       |#endif
 3243|  29.5k|        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  109|  29.5k|    do { \
  |  |  110|  29.5k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|  29.5k|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 29.5k]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|  29.5k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 29.5k]
  |  |  ------------------
  ------------------
 3244|  29.5k|        (*dealloc)(op);
 3245|  29.5k|    }
 3246|     70|}
_Py_Dealloc:
 3379|  38.0M|{
 3380|  38.0M|#if !defined(Py_DEBUG) && !defined(Py_TRACE_REFS)
 3381|       |    // gh-130706: Avoid unnecessary register spills for non-GC objects.
 3382|  38.0M|    PyTypeObject *type = Py_TYPE(op);
  ------------------
  |  |  213|  38.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  38.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3383|  38.0M|    if (_PyRuntime.ref_tracer.tracer_func == NULL
  ------------------
  |  Branch (3383:9): [True: 38.0M, False: 0]
  ------------------
 3384|  38.0M|        && !(type->tp_flags & Py_TPFLAGS_HAVE_GC))
  ------------------
  |  |  524|  38.0M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (3384:12): [True: 15.5M, False: 22.5M]
  ------------------
 3385|  15.5M|    {
 3386|  15.5M|        type->tp_dealloc(op);
 3387|  15.5M|        return;
 3388|  15.5M|    }
 3389|  22.5M|#endif
 3390|       |    // GC objects (trashcan), reftracer set, or debug builds.
 3391|  22.5M|    py_dealloc(op);
 3392|  22.5M|}
_Py_GetConstant_Init:
 3495|      2|{
 3496|      2|    constants[Py_CONSTANT_ZERO] = _PyLong_GetZero();
  ------------------
  |  |  595|      2|#define Py_CONSTANT_ZERO 5
  ------------------
 3497|      2|    constants[Py_CONSTANT_ONE] = _PyLong_GetOne();
  ------------------
  |  |  596|      2|#define Py_CONSTANT_ONE 6
  ------------------
 3498|      2|    constants[Py_CONSTANT_EMPTY_STR] = PyUnicode_New(0, 0);
  ------------------
  |  |  597|      2|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 3499|      2|    constants[Py_CONSTANT_EMPTY_BYTES] = PyBytes_FromStringAndSize("", 0);
  ------------------
  |  |  598|      2|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 3500|      2|    constants[Py_CONSTANT_EMPTY_TUPLE] = PyTuple_New(0);
  ------------------
  |  |  599|      2|#define Py_CONSTANT_EMPTY_TUPLE 9
  ------------------
 3501|      2|#ifndef NDEBUG
 3502|     22|    for (size_t i=0; i < Py_ARRAY_LENGTH(constants); i++) {
  ------------------
  |  |  232|     22|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (3502:22): [True: 20, False: 2]
  ------------------
 3503|     20|        assert(constants[i] != NULL);
  ------------------
  |  Branch (3503:9): [True: 20, False: 0]
  ------------------
 3504|     20|        assert(_Py_IsImmortal(constants[i]));
  ------------------
  |  Branch (3504:9): [True: 20, False: 0]
  ------------------
 3505|     20|    }
 3506|      2|#endif
 3507|      2|}
Py_GetConstant:
 3511|  63.1k|{
 3512|  63.1k|    if (constant_id < Py_ARRAY_LENGTH(constants)) {
  ------------------
  |  |  232|  63.1k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (3512:9): [True: 63.1k, False: 0]
  ------------------
 3513|  63.1k|        return constants[constant_id];
 3514|  63.1k|    }
 3515|      0|    else {
 3516|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3517|       |        return NULL;
 3518|      0|    }
 3519|  63.1k|}
Py_GetConstantBorrowed:
 3524|      8|{
 3525|       |    // All constants are immortal
 3526|      8|    return Py_GetConstant(constant_id);
 3527|      8|}
PyUnstable_IsImmortal:
 3531|     31|{
 3532|       |    /* Checking a reference count requires a thread state */
 3533|     31|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|     31|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 3534|     31|    assert(op != NULL);
  ------------------
  |  Branch (3534:5): [True: 31, False: 0]
  ------------------
 3535|     31|    return _Py_IsImmortal(op);
  ------------------
  |  |  137|     31|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3536|     31|}
PyUnstable_Object_IsUniquelyReferenced:
 3540|   956k|{
 3541|   956k|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|   956k|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 3542|   956k|    assert(op != NULL);
  ------------------
  |  Branch (3542:5): [True: 956k, False: 0]
  ------------------
 3543|   956k|    return _PyObject_IsUniquelyReferenced(op);
 3544|   956k|}
_PyObject_VisitType:
 3548|     68|{
 3549|     68|    assert(op != NULL);
  ------------------
  |  Branch (3549:5): [True: 68, False: 0]
  ------------------
 3550|     68|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3551|     68|    _PyObject_ASSERT((PyObject *)tp, PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  360|     68|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|     68|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|     68|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 68, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|     68|      ? (void)(0) \
  |  |  |  |  |  |  353|     68|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3552|     68|    Py_VISIT(tp);
  ------------------
  |  |  194|     68|    do {                                                                \
  |  |  195|     68|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 68, False: 0]
  |  |  ------------------
  |  |  196|     68|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     68|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 68]
  |  |  ------------------
  |  |  198|     68|                return vret;                                            \
  |  |  199|     68|        }                                                               \
  |  |  200|     68|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 68]
  |  |  ------------------
  ------------------
 3553|     68|    return 0;
 3554|     68|}
object.c:clear_freelist:
  905|  1.43k|{
  906|  1.43k|    void *ptr;
  907|  7.42k|    while ((ptr = _PyFreeList_PopNoStats(freelist)) != NULL) {
  ------------------
  |  Branch (907:12): [True: 5.99k, False: 1.43k]
  ------------------
  908|  5.99k|        dofree(ptr);
  909|  5.99k|    }
  910|  1.43k|    assert(freelist->size == 0 || freelist->size == -1);
  ------------------
  |  Branch (910:5): [True: 1.43k, False: 0]
  |  Branch (910:5): [True: 0, False: 0]
  ------------------
  911|  1.43k|    assert(freelist->freelist == NULL);
  ------------------
  |  Branch (911:5): [True: 1.43k, False: 0]
  ------------------
  912|  1.43k|    if (is_finalization) {
  ------------------
  |  Branch (912:9): [True: 0, False: 1.43k]
  ------------------
  913|      0|        freelist->size = -1;
  914|      0|    }
  915|  1.43k|}
object.c:free_object:
  919|  3.95k|{
  920|  3.95k|    PyObject *op = (PyObject *)obj;
  921|  3.95k|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|  3.95k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  922|  3.95k|    tp->tp_free(op);
  923|  3.95k|    Py_DECREF(tp);
  ------------------
  |  |  430|  3.95k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  924|  3.95k|}
object.c:do_richcompare:
 1051|  4.51M|{
 1052|  4.51M|    richcmpfunc f;
 1053|  4.51M|    PyObject *res;
 1054|  4.51M|    int checked_reverse_op = 0;
 1055|       |
 1056|  4.51M|    if (!Py_IS_TYPE(v, Py_TYPE(w)) &&
  ------------------
  |  |  215|  9.02M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1056:9): [True: 161, False: 4.51M]
  ------------------
 1057|    161|        PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) &&
  ------------------
  |  |  213|    161|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    161|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    161|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) &&
  ------------------
  |  |  213|    161|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    161|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    161|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1057:9): [True: 5, False: 156]
  ------------------
 1058|      5|        (f = Py_TYPE(w)->tp_richcompare) != NULL) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1058:9): [True: 5, False: 0]
  ------------------
 1059|      5|        checked_reverse_op = 1;
 1060|      5|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1061|      5|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|      5|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1061:13): [True: 2, False: 3]
  ------------------
 1062|      2|            return res;
 1063|      3|        Py_DECREF(res);
  ------------------
  |  |  430|      3|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1064|      3|    }
 1065|  4.51M|    if ((f = Py_TYPE(v)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|  4.51M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1065:9): [True: 4.51M, False: 0]
  ------------------
 1066|  4.51M|        res = (*f)(v, w, op);
 1067|  4.51M|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|  4.51M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1067:13): [True: 4.51M, False: 152]
  ------------------
 1068|  4.51M|            return res;
 1069|    152|        Py_DECREF(res);
  ------------------
  |  |  430|    152|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1070|    152|    }
 1071|    152|    if (!checked_reverse_op && (f = Py_TYPE(w)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|    149|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1071:9): [True: 149, False: 3]
  |  Branch (1071:32): [True: 149, False: 0]
  ------------------
 1072|    149|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1073|    149|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|    149|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1073:13): [True: 0, False: 149]
  ------------------
 1074|      0|            return res;
 1075|    149|        Py_DECREF(res);
  ------------------
  |  |  430|    149|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1076|    149|    }
 1077|       |    /* If neither object implements it, provide a sensible default
 1078|       |       for == and !=, but raise an exception for ordering. */
 1079|    152|    switch (op) {
 1080|    152|    case Py_EQ:
  ------------------
  |  |  654|    152|#define Py_EQ 2
  ------------------
  |  Branch (1080:5): [True: 152, False: 0]
  ------------------
 1081|    152|        res = (v == w) ? Py_True : Py_False;
  ------------------
  |  |   26|    152|#  define Py_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|    152|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    304|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1081:15): [True: 0, False: 152]
  ------------------
 1082|    152|        break;
 1083|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1083:5): [True: 0, False: 152]
  ------------------
 1084|      0|        res = (v != w) ? Py_True : Py_False;
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      res = (v != w) ? Py_True : Py_False;
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1084:15): [True: 0, False: 0]
  ------------------
 1085|      0|        break;
 1086|      0|    default:
  ------------------
  |  Branch (1086:5): [True: 0, False: 152]
  ------------------
 1087|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 1088|      0|                      "'%s' not supported between instances of '%.100s' and '%.100s'",
 1089|      0|                      opstrings[op],
 1090|      0|                      Py_TYPE(v)->tp_name,
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1091|      0|                      Py_TYPE(w)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1092|      0|        return NULL;
 1093|    152|    }
 1094|    152|    return Py_NewRef(res);
  ------------------
  |  |  647|    152|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1095|    152|}
object.c:_dir_object:
 2250|      2|{
 2251|      2|    PyObject *result, *sorted;
 2252|      2|    PyObject *dirfunc = _PyObject_LookupSpecial(obj, &_Py_ID(__dir__));
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2253|       |
 2254|      2|    assert(obj != NULL);
  ------------------
  |  Branch (2254:5): [True: 2, False: 0]
  ------------------
 2255|      2|    if (dirfunc == NULL) {
  ------------------
  |  Branch (2255:9): [True: 0, False: 2]
  ------------------
 2256|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (2256:13): [True: 0, False: 0]
  ------------------
 2257|      0|            PyErr_SetString(PyExc_TypeError, "object does not provide __dir__");
 2258|      0|        return NULL;
 2259|      0|    }
 2260|       |    /* use __dir__ */
 2261|      2|    result = _PyObject_CallNoArgs(dirfunc);
 2262|      2|    Py_DECREF(dirfunc);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2263|      2|    if (result == NULL)
  ------------------
  |  Branch (2263:9): [True: 0, False: 2]
  ------------------
 2264|      0|        return NULL;
 2265|       |    /* return sorted(result) */
 2266|      2|    sorted = PySequence_List(result);
 2267|      2|    Py_DECREF(result);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2268|      2|    if (sorted == NULL)
  ------------------
  |  Branch (2268:9): [True: 0, False: 2]
  ------------------
 2269|      0|        return NULL;
 2270|      2|    if (PyList_Sort(sorted)) {
  ------------------
  |  Branch (2270:9): [True: 0, False: 2]
  ------------------
 2271|      0|        Py_DECREF(sorted);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2272|      0|        return NULL;
 2273|      0|    }
 2274|      2|    return sorted;
 2275|      2|}
object.c:none_repr:
 2296|      2|{
 2297|      2|    return PyUnicode_FromString("None");
 2298|      2|}
object.c:none_hash:
 2327|     29|{
 2328|     29|    return 0xFCA86420;
 2329|     29|}
object.c:new_reference:
 2740|  39.4M|{
 2741|       |    // Skip the immortal object check in Py_SET_REFCNT; always set refcnt to 1
 2742|  39.4M|#if !defined(Py_GIL_DISABLED)
 2743|  39.4M|#if SIZEOF_VOID_P > 4
 2744|  39.4M|    op->ob_refcnt_full = 1;
 2745|  39.4M|    assert(op->ob_refcnt == 1);
  ------------------
  |  Branch (2745:5): [True: 39.4M, False: 0]
  ------------------
 2746|  39.4M|    assert(op->ob_flags == 0);
  ------------------
  |  Branch (2746:5): [True: 39.4M, False: 0]
  ------------------
 2747|       |#else
 2748|       |    op->ob_refcnt = 1;
 2749|       |#endif
 2750|       |#else
 2751|       |    op->ob_flags = 0;
 2752|       |    op->ob_mutex = (PyMutex){ 0 };
 2753|       |#ifdef _Py_THREAD_SANITIZER
 2754|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
 2755|       |    _Py_atomic_store_uint8_relaxed(&op->ob_gc_bits, 0);
 2756|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
 2757|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
 2758|       |#else
 2759|       |    op->ob_tid = _Py_ThreadId();
 2760|       |    op->ob_gc_bits = 0;
 2761|       |    op->ob_ref_local = 1;
 2762|       |    op->ob_ref_shared = 0;
 2763|       |#endif
 2764|       |#endif
 2765|       |#ifdef Py_TRACE_REFS
 2766|       |    _Py_AddToAllObjects(op);
 2767|       |#endif
 2768|  39.4M|    _PyReftracerTrack(op, PyRefTracer_CREATE);
  ------------------
  |  |  109|  39.4M|    do { \
  |  |  110|  39.4M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|  39.4M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 39.4M]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|  39.4M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 39.4M]
  |  |  ------------------
  ------------------
 2769|  39.4M|}
object.c:py_dealloc:
 3308|  22.5M|{
 3309|  22.5M|    PyTypeObject *type = Py_TYPE(op);
  ------------------
  |  |  213|  22.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  22.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3310|  22.5M|    unsigned long gc_flag = type->tp_flags & Py_TPFLAGS_HAVE_GC;
  ------------------
  |  |  524|  22.5M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 3311|  22.5M|    destructor dealloc = type->tp_dealloc;
 3312|  22.5M|    PyThreadState *tstate = NULL;
 3313|  22.5M|    intptr_t margin = 0;
 3314|  22.5M|    if (gc_flag) {
  ------------------
  |  Branch (3314:9): [True: 22.5M, False: 0]
  ------------------
 3315|  22.5M|        tstate = _PyThreadState_GET();
 3316|  22.5M|        margin = _Py_RecursionLimit_GetMargin(tstate);
 3317|  22.5M|        if (margin < 2) {
  ------------------
  |  Branch (3317:13): [True: 29.5k, False: 22.5M]
  ------------------
 3318|  29.5k|            _PyTrash_thread_deposit_object(tstate, (PyObject *)op);
 3319|  29.5k|            return;
 3320|  29.5k|        }
 3321|  22.5M|    }
 3322|       |#ifdef Py_DEBUG
 3323|       |    if (tstate == NULL) {
 3324|       |        tstate = _PyThreadState_GET();
 3325|       |    }
 3326|       |#if !defined(Py_GIL_DISABLED) && !defined(Py_STACKREF_DEBUG)
 3327|       |    /* This assertion doesn't hold for the free-threading build, as
 3328|       |     * PyStackRef_CLOSE_SPECIALIZED is not implemented */
 3329|       |    assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
 3330|       |#endif
 3331|       |    PyObject *old_exc = tstate != NULL ? tstate->current_exception : NULL;
 3332|       |    // Keep the old exception type alive to prevent undefined behavior
 3333|       |    // on (tstate->curexc_type != old_exc_type) below
 3334|       |    Py_XINCREF(old_exc);
 3335|       |    // Make sure that type->tp_name remains valid
 3336|       |    Py_INCREF(type);
 3337|       |#endif
 3338|       |
 3339|       |#ifdef Py_TRACE_REFS
 3340|       |    _Py_ForgetReference(op);
 3341|       |#endif
 3342|  22.5M|    _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  109|  22.5M|    do { \
  |  |  110|  22.5M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|  22.5M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 22.5M]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|  22.5M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 22.5M]
  |  |  ------------------
  ------------------
 3343|  22.5M|    (*dealloc)(op);
 3344|       |
 3345|       |#ifdef Py_DEBUG
 3346|       |    // gh-89373: The tp_dealloc function must leave the current exception
 3347|       |    // unchanged.
 3348|       |    if (tstate != NULL && tstate->current_exception != old_exc) {
 3349|       |        const char *err;
 3350|       |        if (old_exc == NULL) {
 3351|       |            err = "Deallocator of type '%s' raised an exception";
 3352|       |        }
 3353|       |        else if (tstate->current_exception == NULL) {
 3354|       |            err = "Deallocator of type '%s' cleared the current exception";
 3355|       |        }
 3356|       |        else {
 3357|       |            // It can happen if dealloc() normalized the current exception.
 3358|       |            // A deallocator function must not change the current exception,
 3359|       |            // not even normalize it.
 3360|       |            err = "Deallocator of type '%s' overrode the current exception";
 3361|       |        }
 3362|       |        _Py_FatalErrorFormat(__func__, err, type->tp_name);
 3363|       |    }
 3364|       |    Py_XDECREF(old_exc);
 3365|       |    Py_DECREF(type);
 3366|       |#endif
 3367|  22.5M|    if (gc_flag && tstate->delete_later && margin >= 4) {
  ------------------
  |  Branch (3367:9): [True: 22.5M, False: 0]
  |  Branch (3367:20): [True: 6.03M, False: 16.4M]
  |  Branch (3367:44): [True: 70, False: 6.03M]
  ------------------
 3368|     70|        _PyTrash_thread_destroy_chain(tstate);
 3369|     70|    }
 3370|  22.5M|}

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

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

PySentinel_New:
   94|      1|{
   95|      1|    PyObject *name_obj = PyUnicode_FromString(name);
   96|      1|    if (name_obj == NULL) {
  ------------------
  |  Branch (96:9): [True: 0, False: 1]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|      1|    PyObject *repr_obj = NULL;
  100|      1|    if (repr != NULL) {
  ------------------
  |  Branch (100:9): [True: 0, False: 1]
  ------------------
  101|      0|        repr_obj = PyUnicode_FromString(repr);
  102|      0|        if (repr_obj == NULL) {
  ------------------
  |  Branch (102:13): [True: 0, False: 0]
  ------------------
  103|      0|            Py_DECREF(name_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  104|      0|            return NULL;
  105|      0|        }
  106|      0|    }
  107|      1|    PyObject *module_obj = module_name == NULL
  ------------------
  |  Branch (107:28): [True: 0, False: 1]
  ------------------
  108|      1|        ? Py_None
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  109|      1|        : PyUnicode_FromString(module_name);
  110|      1|    if (module_obj == NULL) {
  ------------------
  |  Branch (110:9): [True: 0, False: 1]
  ------------------
  111|      0|        Py_DECREF(name_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|      0|        Py_XDECREF(repr_obj);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|      0|        return NULL;
  114|      0|    }
  115|       |
  116|      1|    PyObject *sentinel = sentinel_new_with_module(
  117|      1|        &PySentinel_Type, name_obj, module_obj, repr_obj);
  118|      1|    Py_DECREF(module_obj);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  119|      1|    Py_DECREF(name_obj);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  120|      1|    Py_XDECREF(repr_obj);
  ------------------
  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|      1|    return sentinel;
  122|      1|}
sentinelobject.c:sentinel_new_with_module:
   51|      7|{
   52|      7|    assert(PyUnicode_Check(name));
  ------------------
  |  Branch (52:5): [True: 7, False: 0]
  ------------------
   53|       |
   54|      7|    sentinelobject *self = PyObject_GC_New(sentinelobject, type);
  ------------------
  |  |  181|      7|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   55|      7|    if (self == NULL) {
  ------------------
  |  Branch (55:9): [True: 0, False: 7]
  ------------------
   56|      0|        return NULL;
   57|      0|    }
   58|      7|    self->name = Py_NewRef(name);
  ------------------
  |  |  647|      7|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   59|      7|    self->module = Py_NewRef(module);
  ------------------
  |  |  647|      7|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|      7|    self->repr = Py_XNewRef(repr);
  ------------------
  |  |  648|      7|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   61|      7|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|      7|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   62|      7|    return (PyObject *)self;
   63|      7|}
sentinelobject.c:sentinel_dealloc:
  136|      1|{
  137|      1|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  504|      1|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  138|      1|    (void)sentinel_clear(op);
  139|      1|    Py_TYPE(op)->tp_free(op);
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|      1|}
sentinelobject.c:sentinel_traverse:
  144|    298|{
  145|    298|    sentinelobject *self = sentinelobject_CAST(op);
  ------------------
  |  |   21|    298|    (assert(PySentinel_Check(op)), _Py_CAST(sentinelobject *, (op)))
  |  |  ------------------
  |  |  |  |   37|    298|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (145:28): [True: 298, False: 0]
  ------------------
  146|    298|    Py_VISIT(self->name);
  ------------------
  |  |  194|    298|    do {                                                                \
  |  |  195|    298|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 298, False: 0]
  |  |  ------------------
  |  |  196|    298|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    298|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    298|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    298|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 298]
  |  |  ------------------
  |  |  198|    298|                return vret;                                            \
  |  |  199|    298|        }                                                               \
  |  |  200|    298|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 298]
  |  |  ------------------
  ------------------
  147|    298|    Py_VISIT(self->module);
  ------------------
  |  |  194|    298|    do {                                                                \
  |  |  195|    298|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 298, False: 0]
  |  |  ------------------
  |  |  196|    298|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    298|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    298|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    298|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 298]
  |  |  ------------------
  |  |  198|    298|                return vret;                                            \
  |  |  199|    298|        }                                                               \
  |  |  200|    298|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 298]
  |  |  ------------------
  ------------------
  148|    298|    Py_VISIT(self->repr);
  ------------------
  |  |  194|    298|    do {                                                                \
  |  |  195|    298|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 298]
  |  |  ------------------
  |  |  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|    298|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 298]
  |  |  ------------------
  ------------------
  149|    298|    return 0;
  150|    298|}
sentinelobject.c:sentinel_clear:
  126|      1|{
  127|      1|    sentinelobject *self = sentinelobject_CAST(op);
  ------------------
  |  |   21|      1|    (assert(PySentinel_Check(op)), _Py_CAST(sentinelobject *, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (127:28): [True: 1, False: 0]
  ------------------
  128|      1|    Py_CLEAR(self->name);
  ------------------
  |  |  487|      1|    do { \
  |  |  488|      1|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      1|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      1|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 1, False: 0]
  |  |  ------------------
  |  |  491|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      1|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      1|        } \
  |  |  494|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  129|      1|    Py_CLEAR(self->module);
  ------------------
  |  |  487|      1|    do { \
  |  |  488|      1|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      1|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      1|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 1, False: 0]
  |  |  ------------------
  |  |  491|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      1|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      1|        } \
  |  |  494|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  130|       |    Py_CLEAR(self->repr);
  ------------------
  |  |  487|      1|    do { \
  |  |  488|      1|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      1|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      1|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 1]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  131|      1|    return 0;
  132|      1|}
sentinelobject.c:sentinel_new_impl:
   78|      6|{
   79|      6|    if (repr == Py_None) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (79:9): [True: 6, False: 0]
  ------------------
   80|      6|        repr = NULL;
   81|      6|    }
   82|      0|    else if (!PyUnicode_Check(repr)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (82:14): [True: 0, False: 0]
  ------------------
   83|      0|        _PyArg_BadArgument("sentinel", "argument 'repr'", "str or None", repr);
   84|      0|        return NULL;
   85|      0|    }
   86|      6|    PyObject *module = caller();
   87|      6|    PyObject *self = sentinel_new_with_module(type, name, module, repr);
   88|      6|    Py_DECREF(module);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|      6|    return self;
   90|      6|}
sentinelobject.c:caller:
   33|      6|{
   34|      6|    _PyInterpreterFrame *f = _PyThreadState_GET()->current_frame;
   35|      6|    if (f == NULL || PyStackRef_IsNull(f->f_funcobj)) {
  ------------------
  |  |  482|      6|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|      6|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      6|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  |  Branch (35:9): [True: 0, False: 6]
  ------------------
   36|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (36:9): [True: 0, False: 0]
  ------------------
   37|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   38|      0|    }
   39|      6|    PyFunctionObject *func = _PyFrame_GetFunction(f);
   40|      6|    assert(PyFunction_Check(func));
  ------------------
  |  Branch (40:5): [True: 6, False: 0]
  ------------------
   41|      6|    PyObject *r = PyFunction_GetModule((PyObject *)func);
   42|      6|    if (!r) {
  ------------------
  |  Branch (42:9): [True: 0, False: 6]
  ------------------
   43|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (43:9): [True: 0, False: 0]
  ------------------
   44|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   45|      0|    }
   46|      6|    return Py_NewRef(r);
  ------------------
  |  |  647|      6|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   47|      6|}

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

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

unicodeobject.c:asciilib_utf8_decode:
   26|   956k|{
   27|   956k|    Py_UCS4 ch;
   28|   956k|    const char *s = *inptr;
   29|   956k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|   956k|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   30|       |
   31|   956k|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 956k, False: 0]
  ------------------
   32|   956k|        ch = (unsigned char)*s;
   33|       |
   34|   956k|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 0, False: 956k]
  ------------------
   35|       |            /* Fast path for runs of ASCII characters. Given that common UTF-8
   36|       |               input will consist of an overwhelming majority of ASCII
   37|       |               characters, we try to optimize for this case by checking
   38|       |               as many characters as a C 'size_t' can contain.
   39|       |               First, check if we can do an aligned read, as most CPUs have
   40|       |               a penalty for unaligned reads.
   41|       |            */
   42|      0|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|      0|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|      0|                const char *_s = s;
   45|      0|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|      0|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   46|      0|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1813|      0|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 0, False: 0]
  ------------------
   47|       |                    /* Read a whole size_t at a time (either 4 or 8 bytes),
   48|       |                       and do a fast unrolled copy if it only contains ASCII
   49|       |                       characters. */
   50|      0|                    size_t value = *(const size_t *) _s;
   51|      0|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|      0|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 0, False: 0]
  ------------------
   52|      0|                        break;
   53|      0|#if PY_LITTLE_ENDIAN
   54|      0|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|      0|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|      0|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|      0|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|      0|# if SIZEOF_SIZE_T == 8
   59|      0|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|      0|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|      0|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|      0|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|      0|# endif
   64|       |#else
   65|       |# if SIZEOF_SIZE_T == 8
   66|       |                    _p[0] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   67|       |                    _p[1] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   68|       |                    _p[2] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   69|       |                    _p[3] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   70|       |                    _p[4] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   71|       |                    _p[5] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   72|       |                    _p[6] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   73|       |                    _p[7] = (STRINGLIB_CHAR)(value & 0xFFu);
   74|       |# else
   75|       |                    _p[0] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   76|       |                    _p[1] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   77|       |                    _p[2] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   78|       |                    _p[3] = (STRINGLIB_CHAR)(value & 0xFFu);
   79|       |# endif
   80|       |#endif
   81|      0|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|      0|#define SIZEOF_SIZE_T 8
  ------------------
   82|      0|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|      0|#define SIZEOF_SIZE_T 8
  ------------------
   83|      0|                }
   84|      0|                s = _s;
   85|      0|                p = _p;
   86|      0|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 0, False: 0]
  ------------------
   87|      0|                    break;
   88|      0|                ch = (unsigned char)*s;
   89|      0|            }
   90|      0|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 0, False: 0]
  ------------------
   91|      0|                s++;
   92|      0|                *p++ = ch;
   93|      0|                continue;
   94|      0|            }
   95|      0|        }
   96|       |
   97|   956k|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 207k, False: 749k]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|   207k|            Py_UCS4 ch2;
  100|   207k|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 207k]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|   207k|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 0, False: 207k]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      0|                break;
  110|      0|            }
  111|   207k|            ch2 = (unsigned char)s[1];
  112|   207k|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|   207k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 207k, False: 10]
  |  |  |  Branch (20:51): [True: 207k, False: 24]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|     34|                goto InvalidContinuation1;
  115|   207k|            ch = (ch << 6) + ch2 -
  116|   207k|                 ((0xC0 << 6) + 0x80);
  117|   207k|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 207k, False: 0]
  |  Branch (117:13): [True: 207k, False: 0]
  ------------------
  118|   207k|            s += 2;
  119|   207k|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|   207k|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (119:17): [True: 207k, 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|   207k|                goto Return;
  123|      0|            *p++ = ch;
  124|      0|            continue;
  125|   207k|        }
  126|       |
  127|   749k|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 385k, False: 363k]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|   385k|            Py_UCS4 ch2, ch3;
  130|   385k|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 0, False: 385k]
  ------------------
  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|   385k|            ch2 = (unsigned char)s[1];
  143|   385k|            ch3 = (unsigned char)s[2];
  144|   385k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|   385k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 385k, False: 6]
  |  |  |  Branch (20:51): [True: 385k, False: 5]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|     11|                goto InvalidContinuation1;
  147|     11|            }
  148|   385k|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 141k, False: 243k]
  ------------------
  149|   141k|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 1, False: 141k]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|      1|                    goto InvalidContinuation1;
  153|   243k|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 1.88k, False: 241k]
  |  Branch (153:38): [True: 2, False: 1.88k]
  ------------------
  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|      2|                goto InvalidContinuation1;
  160|      2|            }
  161|   385k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|   385k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 385k, False: 1]
  |  |  |  Branch (20:51): [True: 385k, False: 1]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      2|                goto InvalidContinuation2;
  164|      2|            }
  165|   385k|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|   385k|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|   385k|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 385k, False: 0]
  |  Branch (167:13): [True: 385k, False: 0]
  ------------------
  168|   385k|            s += 3;
  169|   385k|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|   385k|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (169:17): [True: 385k, 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|   385k|                goto Return;
  173|      0|            *p++ = ch;
  174|      0|            continue;
  175|   385k|        }
  176|       |
  177|   363k|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 363k, False: 0]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|   363k|            Py_UCS4 ch2, ch3, ch4;
  180|   363k|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 0, False: 363k]
  ------------------
  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|   363k|            ch2 = (unsigned char)s[1];
  198|   363k|            ch3 = (unsigned char)s[2];
  199|   363k|            ch4 = (unsigned char)s[3];
  200|   363k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|   363k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 363k, False: 65]
  |  |  |  Branch (20:51): [True: 363k, False: 2]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|     67|                goto InvalidContinuation1;
  203|     67|            }
  204|   363k|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 1.85k, False: 361k]
  ------------------
  205|  1.85k|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 1, False: 1.85k]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|      1|                    goto InvalidContinuation1;
  209|   361k|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 6.13k, False: 355k]
  |  Branch (209:38): [True: 1, False: 6.13k]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|      1|                goto InvalidContinuation1;
  213|      1|            }
  214|   363k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|   363k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 363k, False: 1]
  |  |  |  Branch (20:51): [True: 363k, False: 1]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|      2|                goto InvalidContinuation2;
  217|      2|            }
  218|   363k|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|   363k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 363k, False: 1]
  |  |  |  Branch (20:51): [True: 363k, False: 1]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|      2|                goto InvalidContinuation3;
  221|      2|            }
  222|   363k|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|   363k|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|   363k|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 363k, False: 0]
  |  Branch (224:13): [True: 363k, False: 0]
  ------------------
  225|   363k|            s += 4;
  226|   363k|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|   363k|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (226:17): [True: 363k, 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|   363k|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|   363k|        }
  233|      0|        goto InvalidStart;
  234|   363k|    }
  235|      0|    ch = 0;
  236|   956k|Return:
  237|   956k|    *inptr = s;
  238|   956k|    *outpos = p - dest;
  239|   956k|    return ch;
  240|      0|InvalidStart:
  241|      0|    ch = 1;
  242|      0|    goto Return;
  243|    117|InvalidContinuation1:
  244|    117|    ch = 2;
  245|    117|    goto Return;
  246|      4|InvalidContinuation2:
  247|      4|    ch = 3;
  248|      4|    goto Return;
  249|      2|InvalidContinuation3:
  250|      2|    ch = 4;
  251|      2|    goto Return;
  252|      0|}
unicodeobject.c:ucs1lib_utf8_decode:
   26|  50.5k|{
   27|  50.5k|    Py_UCS4 ch;
   28|  50.5k|    const char *s = *inptr;
   29|  50.5k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|  50.5k|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   30|       |
   31|  72.1M|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 72.1M, False: 37.7k]
  ------------------
   32|  72.1M|        ch = (unsigned char)*s;
   33|       |
   34|  72.1M|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 1.54M, False: 70.5M]
  ------------------
   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.54M|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|  1.54M|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 209k, False: 1.33M]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|   209k|                const char *_s = s;
   45|   209k|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|   209k|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   46|  8.05M|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1813|  8.05M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 8.03M, False: 19.0k]
  ------------------
   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|  8.03M|                    size_t value = *(const size_t *) _s;
   51|  8.03M|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|  8.03M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 190k, False: 7.84M]
  ------------------
   52|   190k|                        break;
   53|  7.84M|#if PY_LITTLE_ENDIAN
   54|  7.84M|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|  7.84M|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|  7.84M|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|  7.84M|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|  7.84M|# if SIZEOF_SIZE_T == 8
   59|  7.84M|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|  7.84M|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|  7.84M|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|  7.84M|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|  7.84M|# 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|  7.84M|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  7.84M|#define SIZEOF_SIZE_T 8
  ------------------
   82|  7.84M|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  7.84M|#define SIZEOF_SIZE_T 8
  ------------------
   83|  7.84M|                }
   84|   209k|                s = _s;
   85|   209k|                p = _p;
   86|   209k|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 1.37k, False: 207k]
  ------------------
   87|  1.37k|                    break;
   88|   207k|                ch = (unsigned char)*s;
   89|   207k|            }
   90|  1.54M|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 1.52M, False: 17.7k]
  ------------------
   91|  1.52M|                s++;
   92|  1.52M|                *p++ = ch;
   93|  1.52M|                continue;
   94|  1.52M|            }
   95|  1.54M|        }
   96|       |
   97|  70.6M|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 70.5M, False: 9.07k]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|  70.5M|            Py_UCS4 ch2;
  100|  70.5M|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 70.5M]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|  70.5M|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 1, False: 70.5M]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      1|                break;
  110|      1|            }
  111|  70.5M|            ch2 = (unsigned char)s[1];
  112|  70.5M|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|  70.5M|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 70.5M, False: 1]
  |  |  |  Branch (20:51): [True: 70.5M, False: 1]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|      2|                goto InvalidContinuation1;
  115|  70.5M|            ch = (ch << 6) + ch2 -
  116|  70.5M|                 ((0xC0 << 6) + 0x80);
  117|  70.5M|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 70.5M, False: 0]
  |  Branch (117:13): [True: 70.5M, False: 0]
  ------------------
  118|  70.5M|            s += 2;
  119|  70.5M|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|  70.5M|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (119:17): [Folded, False: 70.5M]
  ------------------
  120|  70.5M|                (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|  70.5M|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|  70.5M|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (120:18): [True: 70.5M, Folded]
  |  Branch (120:49): [True: 2.37k, False: 70.5M]
  ------------------
  121|       |                /* Out-of-range */
  122|  2.37k|                goto Return;
  123|  70.5M|            *p++ = ch;
  124|  70.5M|            continue;
  125|  70.5M|        }
  126|       |
  127|  9.07k|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 8.08k, False: 986]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|  8.08k|            Py_UCS4 ch2, ch3;
  130|  8.08k|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 0, False: 8.08k]
  ------------------
  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|  8.08k|            ch2 = (unsigned char)s[1];
  143|  8.08k|            ch3 = (unsigned char)s[2];
  144|  8.08k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  8.08k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 8.08k, False: 0]
  |  |  |  Branch (20:51): [True: 8.08k, False: 0]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|      0|                goto InvalidContinuation1;
  147|      0|            }
  148|  8.08k|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 580, False: 7.50k]
  ------------------
  149|    580|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 0, False: 580]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|      0|                    goto InvalidContinuation1;
  153|  7.50k|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 557, False: 6.94k]
  |  Branch (153:38): [True: 0, False: 557]
  ------------------
  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|  8.08k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  8.08k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 8.08k, False: 0]
  |  |  |  Branch (20:51): [True: 8.08k, False: 0]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      0|                goto InvalidContinuation2;
  164|      0|            }
  165|  8.08k|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|  8.08k|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|  8.08k|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 8.08k, False: 0]
  |  Branch (167:13): [True: 8.08k, False: 0]
  ------------------
  168|  8.08k|            s += 3;
  169|  8.08k|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|  8.08k|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (169:17): [True: 8.08k, 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|  8.08k|                goto Return;
  173|      0|            *p++ = ch;
  174|      0|            continue;
  175|  8.08k|        }
  176|       |
  177|    986|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 986, False: 0]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|    986|            Py_UCS4 ch2, ch3, ch4;
  180|    986|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 0, False: 986]
  ------------------
  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|    986|            ch2 = (unsigned char)s[1];
  198|    986|            ch3 = (unsigned char)s[2];
  199|    986|            ch4 = (unsigned char)s[3];
  200|    986|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|    986|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 986, False: 0]
  |  |  |  Branch (20:51): [True: 986, False: 0]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|      0|                goto InvalidContinuation1;
  203|      0|            }
  204|    986|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 218, False: 768]
  ------------------
  205|    218|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 0, False: 218]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|      0|                    goto InvalidContinuation1;
  209|    768|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 134, False: 634]
  |  Branch (209:38): [True: 0, False: 134]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|      0|                goto InvalidContinuation1;
  213|      0|            }
  214|    986|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|    986|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 986, False: 0]
  |  |  |  Branch (20:51): [True: 986, False: 0]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|      0|                goto InvalidContinuation2;
  217|      0|            }
  218|    986|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|    986|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 986, False: 0]
  |  |  |  Branch (20:51): [True: 986, False: 0]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|      0|                goto InvalidContinuation3;
  221|      0|            }
  222|    986|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|    986|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|    986|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 986, False: 0]
  |  Branch (224:13): [True: 986, False: 0]
  ------------------
  225|    986|            s += 4;
  226|    986|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|    986|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (226:17): [True: 986, 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|    986|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|    986|        }
  233|      0|        goto InvalidStart;
  234|    986|    }
  235|  39.0k|    ch = 0;
  236|  50.5k|Return:
  237|  50.5k|    *inptr = s;
  238|  50.5k|    *outpos = p - dest;
  239|  50.5k|    return ch;
  240|      0|InvalidStart:
  241|      0|    ch = 1;
  242|      0|    goto Return;
  243|      2|InvalidContinuation1:
  244|      2|    ch = 2;
  245|      2|    goto Return;
  246|      0|InvalidContinuation2:
  247|      0|    ch = 3;
  248|      0|    goto Return;
  249|      0|InvalidContinuation3:
  250|      0|    ch = 4;
  251|      0|    goto Return;
  252|  39.0k|}
unicodeobject.c:ucs2lib_utf8_decode:
   26|   277k|{
   27|   277k|    Py_UCS4 ch;
   28|   277k|    const char *s = *inptr;
   29|   277k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|   277k|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   30|       |
   31|   580M|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 580M, False: 263k]
  ------------------
   32|   580M|        ch = (unsigned char)*s;
   33|       |
   34|   580M|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 24.2M, False: 556M]
  ------------------
   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|  24.2M|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|  24.2M|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 3.34M, False: 20.8M]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|  3.34M|                const char *_s = s;
   45|  3.34M|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|  3.34M|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   46|   121M|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1813|   121M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 121M, False: 75.1k]
  ------------------
   47|       |                    /* Read a whole size_t at a time (either 4 or 8 bytes),
   48|       |                       and do a fast unrolled copy if it only contains ASCII
   49|       |                       characters. */
   50|   121M|                    size_t value = *(const size_t *) _s;
   51|   121M|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|   121M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 3.26M, False: 118M]
  ------------------
   52|  3.26M|                        break;
   53|   118M|#if PY_LITTLE_ENDIAN
   54|   118M|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|   118M|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|   118M|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|   118M|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|   118M|# if SIZEOF_SIZE_T == 8
   59|   118M|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|   118M|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|   118M|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|   118M|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|   118M|# 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|   118M|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|   118M|#define SIZEOF_SIZE_T 8
  ------------------
   82|   118M|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|   118M|#define SIZEOF_SIZE_T 8
  ------------------
   83|   118M|                }
   84|  3.34M|                s = _s;
   85|  3.34M|                p = _p;
   86|  3.34M|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 3.72k, False: 3.33M]
  ------------------
   87|  3.72k|                    break;
   88|  3.33M|                ch = (unsigned char)*s;
   89|  3.33M|            }
   90|  24.2M|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 23.8M, False: 361k]
  ------------------
   91|  23.8M|                s++;
   92|  23.8M|                *p++ = ch;
   93|  23.8M|                continue;
   94|  23.8M|            }
   95|  24.2M|        }
   96|       |
   97|   556M|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 536M, False: 19.5M]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|   536M|            Py_UCS4 ch2;
  100|   536M|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 536M]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|   536M|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 3, False: 536M]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      3|                break;
  110|      3|            }
  111|   536M|            ch2 = (unsigned char)s[1];
  112|   536M|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|   536M|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 536M, False: 1]
  |  |  |  Branch (20:51): [True: 536M, False: 1]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|      2|                goto InvalidContinuation1;
  115|   536M|            ch = (ch << 6) + ch2 -
  116|   536M|                 ((0xC0 << 6) + 0x80);
  117|   536M|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 536M, False: 0]
  |  Branch (117:13): [True: 536M, False: 0]
  ------------------
  118|   536M|            s += 2;
  119|   536M|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|   536M|#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|   536M|            *p++ = ch;
  124|   536M|            continue;
  125|   536M|        }
  126|       |
  127|  19.5M|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 19.5M, False: 9.85k]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|  19.5M|            Py_UCS4 ch2, ch3;
  130|  19.5M|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 6, False: 19.5M]
  ------------------
  131|       |                /* unexpected end of data: the caller will decide whether
  132|       |                   it's an error or not */
  133|      6|                if (end - s < 2)
  ------------------
  |  Branch (133:21): [True: 1, False: 5]
  ------------------
  134|      1|                    break;
  135|      5|                ch2 = (unsigned char)s[1];
  136|      5|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|     10|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 5, False: 0]
  |  |  |  Branch (20:51): [True: 5, False: 0]
  |  |  ------------------
  ------------------
  137|      5|                    (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED))
  ------------------
  |  Branch (137:21): [True: 0, False: 5]
  |  Branch (137:22): [True: 2, False: 3]
  ------------------
  138|       |                    /* for clarification see comments below */
  139|      0|                    goto InvalidContinuation1;
  140|      5|                break;
  141|      5|            }
  142|  19.5M|            ch2 = (unsigned char)s[1];
  143|  19.5M|            ch3 = (unsigned char)s[2];
  144|  19.5M|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  19.5M|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 19.5M, False: 2]
  |  |  |  Branch (20:51): [True: 19.5M, False: 1]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|      3|                goto InvalidContinuation1;
  147|      3|            }
  148|  19.5M|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 4.24M, False: 15.3M]
  ------------------
  149|  4.24M|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 1, False: 4.24M]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|      1|                    goto InvalidContinuation1;
  153|  15.3M|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 189k, False: 15.1M]
  |  Branch (153:38): [True: 1, False: 189k]
  ------------------
  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|      1|                goto InvalidContinuation1;
  160|      1|            }
  161|  19.5M|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  19.5M|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 19.5M, False: 1]
  |  |  |  Branch (20:51): [True: 19.5M, False: 1]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      2|                goto InvalidContinuation2;
  164|      2|            }
  165|  19.5M|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|  19.5M|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|  19.5M|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 19.5M, False: 0]
  |  Branch (167:13): [True: 19.5M, False: 0]
  ------------------
  168|  19.5M|            s += 3;
  169|  19.5M|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|  19.5M|#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|  19.5M|            *p++ = ch;
  174|  19.5M|            continue;
  175|  19.5M|        }
  176|       |
  177|  9.85k|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 9.85k, False: 0]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|  9.85k|            Py_UCS4 ch2, ch3, ch4;
  180|  9.85k|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 3, False: 9.85k]
  ------------------
  181|       |                /* unexpected end of data: the caller will decide whether
  182|       |                   it's an error or not */
  183|      3|                if (end - s < 2)
  ------------------
  |  Branch (183:21): [True: 1, False: 2]
  ------------------
  184|      1|                    break;
  185|      2|                ch2 = (unsigned char)s[1];
  186|      2|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|      4|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 2, False: 0]
  |  |  |  Branch (20:51): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  187|      2|                    (ch2 < 0x90 ? ch == 0xF0 : ch == 0xF4))
  ------------------
  |  Branch (187:21): [True: 0, False: 2]
  |  Branch (187:22): [True: 1, False: 1]
  ------------------
  188|       |                    /* for clarification see comments below */
  189|      0|                    goto InvalidContinuation1;
  190|      2|                if (end - s < 3)
  ------------------
  |  Branch (190:21): [True: 1, False: 1]
  ------------------
  191|      1|                    break;
  192|      1|                ch3 = (unsigned char)s[2];
  193|      1|                if (!IS_CONTINUATION_BYTE(ch3))
  ------------------
  |  |   20|      1|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1, False: 0]
  |  |  |  Branch (20:51): [True: 1, False: 0]
  |  |  ------------------
  ------------------
  194|      0|                    goto InvalidContinuation2;
  195|      1|                break;
  196|      1|            }
  197|  9.85k|            ch2 = (unsigned char)s[1];
  198|  9.85k|            ch3 = (unsigned char)s[2];
  199|  9.85k|            ch4 = (unsigned char)s[3];
  200|  9.85k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  9.85k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 9.85k, False: 0]
  |  |  |  Branch (20:51): [True: 9.85k, False: 0]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|      0|                goto InvalidContinuation1;
  203|      0|            }
  204|  9.85k|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 3.07k, False: 6.77k]
  ------------------
  205|  3.07k|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 0, False: 3.07k]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|      0|                    goto InvalidContinuation1;
  209|  6.77k|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 420, False: 6.35k]
  |  Branch (209:38): [True: 0, False: 420]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|      0|                goto InvalidContinuation1;
  213|      0|            }
  214|  9.85k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  9.85k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 9.85k, False: 0]
  |  |  |  Branch (20:51): [True: 9.85k, False: 0]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|      0|                goto InvalidContinuation2;
  217|      0|            }
  218|  9.85k|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|  9.85k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 9.85k, False: 0]
  |  |  |  Branch (20:51): [True: 9.85k, False: 0]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|      0|                goto InvalidContinuation3;
  221|      0|            }
  222|  9.85k|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|  9.85k|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|  9.85k|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 9.85k, False: 0]
  |  Branch (224:13): [True: 9.85k, False: 0]
  ------------------
  225|  9.85k|            s += 4;
  226|  9.85k|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|  9.85k|#define STRINGLIB_MAX_CHAR       0xFFFFu
  ------------------
  |  Branch (226:17): [True: 9.85k, 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|  9.85k|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|  9.85k|        }
  233|      0|        goto InvalidStart;
  234|  9.85k|    }
  235|   267k|    ch = 0;
  236|   277k|Return:
  237|   277k|    *inptr = s;
  238|   277k|    *outpos = p - dest;
  239|   277k|    return ch;
  240|      0|InvalidStart:
  241|      0|    ch = 1;
  242|      0|    goto Return;
  243|      7|InvalidContinuation1:
  244|      7|    ch = 2;
  245|      7|    goto Return;
  246|      2|InvalidContinuation2:
  247|      2|    ch = 3;
  248|      2|    goto Return;
  249|      0|InvalidContinuation3:
  250|      0|    ch = 4;
  251|      0|    goto Return;
  252|   267k|}
unicodeobject.c:ucs4lib_utf8_decode:
   26|   369k|{
   27|   369k|    Py_UCS4 ch;
   28|   369k|    const char *s = *inptr;
   29|   369k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|   369k|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   30|       |
   31|  54.9M|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 54.6M, False: 347k]
  ------------------
   32|  54.6M|        ch = (unsigned char)*s;
   33|       |
   34|  54.6M|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 8.11M, False: 46.4M]
  ------------------
   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|  8.11M|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|  8.11M|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 1.09M, False: 7.02M]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|  1.09M|                const char *_s = s;
   45|  1.09M|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|  1.09M|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   46|  21.9M|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1813|  21.9M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 21.6M, False: 331k]
  ------------------
   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|  21.6M|                    size_t value = *(const size_t *) _s;
   51|  21.6M|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|  21.6M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 760k, False: 20.8M]
  ------------------
   52|   760k|                        break;
   53|  20.8M|#if PY_LITTLE_ENDIAN
   54|  20.8M|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|  20.8M|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|  20.8M|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|  20.8M|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|  20.8M|# if SIZEOF_SIZE_T == 8
   59|  20.8M|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|  20.8M|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|  20.8M|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|  20.8M|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|  20.8M|# 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|  20.8M|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  20.8M|#define SIZEOF_SIZE_T 8
  ------------------
   82|  20.8M|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  20.8M|#define SIZEOF_SIZE_T 8
  ------------------
   83|  20.8M|                }
   84|  1.09M|                s = _s;
   85|  1.09M|                p = _p;
   86|  1.09M|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 21.3k, False: 1.07M]
  ------------------
   87|  21.3k|                    break;
   88|  1.07M|                ch = (unsigned char)*s;
   89|  1.07M|            }
   90|  8.09M|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 8.02M, False: 71.8k]
  ------------------
   91|  8.02M|                s++;
   92|  8.02M|                *p++ = ch;
   93|  8.02M|                continue;
   94|  8.02M|            }
   95|  8.09M|        }
   96|       |
   97|  46.5M|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 40.3M, False: 6.23M]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|  40.3M|            Py_UCS4 ch2;
  100|  40.3M|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 40.3M]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|  40.3M|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 0, False: 40.3M]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      0|                break;
  110|      0|            }
  111|  40.3M|            ch2 = (unsigned char)s[1];
  112|  40.3M|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|  40.3M|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 40.3M, False: 0]
  |  |  |  Branch (20:51): [True: 40.3M, False: 0]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|      0|                goto InvalidContinuation1;
  115|  40.3M|            ch = (ch << 6) + ch2 -
  116|  40.3M|                 ((0xC0 << 6) + 0x80);
  117|  40.3M|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 40.3M, False: 0]
  |  Branch (117:13): [True: 40.3M, False: 0]
  ------------------
  118|  40.3M|            s += 2;
  119|  40.3M|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|  40.3M|#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|  40.3M|            *p++ = ch;
  124|  40.3M|            continue;
  125|  40.3M|        }
  126|       |
  127|  6.23M|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 6.00M, False: 230k]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|  6.00M|            Py_UCS4 ch2, ch3;
  130|  6.00M|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 5, False: 6.00M]
  ------------------
  131|       |                /* unexpected end of data: the caller will decide whether
  132|       |                   it's an error or not */
  133|      5|                if (end - s < 2)
  ------------------
  |  Branch (133:21): [True: 1, False: 4]
  ------------------
  134|      1|                    break;
  135|      4|                ch2 = (unsigned char)s[1];
  136|      4|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|      8|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 4, False: 0]
  |  |  |  Branch (20:51): [True: 4, False: 0]
  |  |  ------------------
  ------------------
  137|      4|                    (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED))
  ------------------
  |  Branch (137:21): [True: 0, False: 4]
  |  Branch (137:22): [True: 1, False: 3]
  ------------------
  138|       |                    /* for clarification see comments below */
  139|      0|                    goto InvalidContinuation1;
  140|      4|                break;
  141|      4|            }
  142|  6.00M|            ch2 = (unsigned char)s[1];
  143|  6.00M|            ch3 = (unsigned char)s[2];
  144|  6.00M|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  6.00M|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 6.00M, False: 0]
  |  |  |  Branch (20:51): [True: 6.00M, False: 0]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|      0|                goto InvalidContinuation1;
  147|      0|            }
  148|  6.00M|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 512k, False: 5.49M]
  ------------------
  149|   512k|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 0, False: 512k]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|      0|                    goto InvalidContinuation1;
  153|  5.49M|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 38.6k, False: 5.45M]
  |  Branch (153:38): [True: 0, False: 38.6k]
  ------------------
  154|       |                /* Decoding UTF-8 sequences in range \xED\xA0\x80-\xED\xBF\xBF
  155|       |                   will result in surrogates in range D800-DFFF. Surrogates are
  156|       |                   not valid UTF-8 so they are rejected.
  157|       |                   See https://www.unicode.org/versions/Unicode5.2.0/ch03.pdf
  158|       |                   (table 3-7) and http://www.rfc-editor.org/rfc/rfc3629.txt */
  159|      0|                goto InvalidContinuation1;
  160|      0|            }
  161|  6.00M|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  6.00M|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 6.00M, False: 0]
  |  |  |  Branch (20:51): [True: 6.00M, False: 0]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      0|                goto InvalidContinuation2;
  164|      0|            }
  165|  6.00M|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|  6.00M|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|  6.00M|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 6.00M, False: 0]
  |  Branch (167:13): [True: 6.00M, False: 0]
  ------------------
  168|  6.00M|            s += 3;
  169|  6.00M|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|  6.00M|#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|  6.00M|            *p++ = ch;
  174|  6.00M|            continue;
  175|  6.00M|        }
  176|       |
  177|   230k|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 230k, False: 0]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|   230k|            Py_UCS4 ch2, ch3, ch4;
  180|   230k|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 4, False: 230k]
  ------------------
  181|       |                /* unexpected end of data: the caller will decide whether
  182|       |                   it's an error or not */
  183|      4|                if (end - s < 2)
  ------------------
  |  Branch (183:21): [True: 1, False: 3]
  ------------------
  184|      1|                    break;
  185|      3|                ch2 = (unsigned char)s[1];
  186|      3|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|      6|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 3, False: 0]
  |  |  |  Branch (20:51): [True: 3, False: 0]
  |  |  ------------------
  ------------------
  187|      3|                    (ch2 < 0x90 ? ch == 0xF0 : ch == 0xF4))
  ------------------
  |  Branch (187:21): [True: 0, False: 3]
  |  Branch (187:22): [True: 1, False: 2]
  ------------------
  188|       |                    /* for clarification see comments below */
  189|      0|                    goto InvalidContinuation1;
  190|      3|                if (end - s < 3)
  ------------------
  |  Branch (190:21): [True: 1, False: 2]
  ------------------
  191|      1|                    break;
  192|      2|                ch3 = (unsigned char)s[2];
  193|      2|                if (!IS_CONTINUATION_BYTE(ch3))
  ------------------
  |  |   20|      2|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 2, False: 0]
  |  |  |  Branch (20:51): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  194|      0|                    goto InvalidContinuation2;
  195|      2|                break;
  196|      2|            }
  197|   230k|            ch2 = (unsigned char)s[1];
  198|   230k|            ch3 = (unsigned char)s[2];
  199|   230k|            ch4 = (unsigned char)s[3];
  200|   230k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|   230k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 230k, False: 1]
  |  |  |  Branch (20:51): [True: 230k, False: 1]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|      2|                goto InvalidContinuation1;
  203|      2|            }
  204|   230k|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 13.3k, False: 217k]
  ------------------
  205|  13.3k|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 1, False: 13.3k]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|      1|                    goto InvalidContinuation1;
  209|   217k|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 6.55k, False: 210k]
  |  Branch (209:38): [True: 1, False: 6.55k]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|      1|                goto InvalidContinuation1;
  213|      1|            }
  214|   230k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|   230k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 230k, False: 1]
  |  |  |  Branch (20:51): [True: 230k, False: 0]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|      1|                goto InvalidContinuation2;
  217|      1|            }
  218|   230k|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|   230k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 230k, False: 1]
  |  |  |  Branch (20:51): [True: 230k, False: 1]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|      2|                goto InvalidContinuation3;
  221|      2|            }
  222|   230k|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|   230k|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|   230k|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 230k, False: 0]
  |  Branch (224:13): [True: 230k, False: 0]
  ------------------
  225|   230k|            s += 4;
  226|   230k|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|   230k|#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|   230k|            *p++ = ch;
  231|   230k|            continue;
  232|   230k|        }
  233|      0|        goto InvalidStart;
  234|   230k|    }
  235|   369k|    ch = 0;
  236|   369k|Return:
  237|   369k|    *inptr = s;
  238|   369k|    *outpos = p - dest;
  239|   369k|    return ch;
  240|      0|InvalidStart:
  241|      0|    ch = 1;
  242|      0|    goto Return;
  243|      4|InvalidContinuation1:
  244|      4|    ch = 2;
  245|      4|    goto Return;
  246|      1|InvalidContinuation2:
  247|      1|    ch = 3;
  248|      1|    goto Return;
  249|      2|InvalidContinuation3:
  250|      2|    ch = 4;
  251|      2|    goto Return;
  252|   369k|}

dictobject.c:unicode_eq:
    8|   747k|{
    9|   747k|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|   747k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   747k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   747k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|   747k|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  300|   747k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   747k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   747k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 26, False: 747k]
  ------------------
   11|     26|        return 0;
   12|     26|    }
   13|       |
   14|   747k|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  259|   747k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.49M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 747k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|  1.49M|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  259|   747k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.49M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 747k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 747k]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|   747k|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|   747k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   747k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   747k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|   747k|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|   747k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   747k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   747k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|   747k|    return (memcmp(data1, data2, len * kind) == 0);
   22|   747k|}
setobject.c:unicode_eq:
    8|    105|{
    9|    105|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|    105|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|    105|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  300|    105|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 0, False: 105]
  ------------------
   11|      0|        return 0;
   12|      0|    }
   13|       |
   14|    105|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  259|    105|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    210|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 105, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|    210|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  259|    105|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    210|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 105, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 105]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|    105|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|    105|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|    105|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|    105|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|    105|    return (memcmp(data1, data2, len * kind) == 0);
   22|    105|}
unicodeobject.c:unicode_eq:
    8|  31.3k|{
    9|  31.3k|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|  31.3k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|  31.3k|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  300|  31.3k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 5.45k, False: 25.9k]
  ------------------
   11|  5.45k|        return 0;
   12|  5.45k|    }
   13|       |
   14|  25.9k|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  259|  25.9k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  51.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 25.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|  51.8k|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  259|  25.9k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  51.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 25.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 25.9k]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|  25.9k|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|  25.9k|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  25.9k|    return (memcmp(data1, data2, len * kind) == 0);
   22|  25.9k|}

unicodeobject.c:ucs1lib_find_char:
   51|  4.05k|{
   52|  4.05k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|  4.05k|    p = s;
   55|  4.05k|    e = s + n;
   56|  4.05k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|  4.05k|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 331, False: 3.71k]
  ------------------
   57|    331|#ifdef STRINGLIB_FAST_MEMCHR
   58|    331|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   23|    331|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   59|    331|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 67, False: 264]
  ------------------
   60|     67|            return (p - s);
   61|    264|        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|    331|    }
   98|  12.1k|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 8.50k, False: 3.62k]
  ------------------
   99|  8.50k|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 98, False: 8.41k]
  ------------------
  100|     98|            return (p - s);
  101|  8.41k|        p++;
  102|  8.41k|    }
  103|  3.62k|    return -1;
  104|  3.71k|}
unicodeobject.c:ucs1lib_rfind_char:
  117|    248|{
  118|    248|    const STRINGLIB_CHAR *p;
  119|    248|#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|    248|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|    248|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 144, False: 104]
  ------------------
  126|    144|#if STRINGLIB_SIZEOF_CHAR == 1
  127|    144|        p = memrchr(s, ch, n);
  128|    144|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 144, False: 0]
  ------------------
  129|    144|            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|    144|    }
  169|    104|#endif  /* HAVE_MEMRCHR */
  170|    104|    p = s + n;
  171|    795|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 728, False: 67]
  ------------------
  172|    728|        p--;
  173|    728|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 37, False: 691]
  ------------------
  174|     37|            return (p - s);
  175|    728|    }
  176|     67|    return -1;
  177|    104|}
unicodeobject.c:asciilib_fastsearch:
  776|  2.03k|{
  777|  2.03k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  4.07k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 2.03k]
  |  Branch (777:19): [True: 0, False: 2.03k]
  |  Branch (777:41): [True: 0, False: 0]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  2.03k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 2.03k, False: 0]
  ------------------
  783|  2.03k|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 2.03k]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|  2.03k|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|  2.03k|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 0, False: 2.03k]
  ------------------
  788|      0|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  789|  2.03k|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|  2.03k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 2.03k, False: 0]
  ------------------
  790|  2.03k|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|  2.03k|#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|  2.03k|    }
  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|  2.03k|{
  118|  2.03k|    const STRINGLIB_CHAR *p;
  119|  2.03k|#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|  2.03k|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|  2.03k|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 995, False: 1.04k]
  ------------------
  126|    995|#if STRINGLIB_SIZEOF_CHAR == 1
  127|    995|        p = memrchr(s, ch, n);
  128|    995|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 981, False: 14]
  ------------------
  129|    981|            return (p - s);
  130|     14|        return -1;
  131|       |#else
  132|       |        /* use memrchr if we can choose a needle without too many likely
  133|       |           false positives */
  134|       |        const STRINGLIB_CHAR *s1;
  135|       |        Py_ssize_t n1;
  136|       |        unsigned char needle = ch & 0xff;
  137|       |        /* If looking for a multiple of 256, we'd have too
  138|       |           many false positives looking for the '\0' byte in UCS2
  139|       |           and UCS4 representations. */
  140|       |        if (needle != 0) {
  141|       |            do {
  142|       |                void *candidate = memrchr(s, needle,
  143|       |                                          n * sizeof(STRINGLIB_CHAR));
  144|       |                if (candidate == NULL)
  145|       |                    return -1;
  146|       |                n1 = n;
  147|       |                p = (const STRINGLIB_CHAR *)
  148|       |                        _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR));
  149|       |                n = p - s;
  150|       |                if (*p == ch)
  151|       |                    return n;
  152|       |                /* False positive */
  153|       |                if (n1 - n > MEMRCHR_CUT_OFF)
  154|       |                    continue;
  155|       |                if (n <= MEMRCHR_CUT_OFF)
  156|       |                    break;
  157|       |                s1 = p - MEMRCHR_CUT_OFF;
  158|       |                while (p > s1) {
  159|       |                    p--;
  160|       |                    if (*p == ch)
  161|       |                        return (p - s);
  162|       |                }
  163|       |                n = p - s;
  164|       |            }
  165|       |            while (n > MEMRCHR_CUT_OFF);
  166|       |        }
  167|       |#endif
  168|    995|    }
  169|  1.04k|#endif  /* HAVE_MEMRCHR */
  170|  1.04k|    p = s + n;
  171|  6.15k|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 5.90k, False: 252]
  ------------------
  172|  5.90k|        p--;
  173|  5.90k|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 788, False: 5.11k]
  ------------------
  174|    788|            return (p - s);
  175|  5.90k|    }
  176|    252|    return -1;
  177|  1.04k|}
unicodeobject.c:ucs1lib_fastsearch:
  776|     18|{
  777|     18|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|     36|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 18]
  |  Branch (777:19): [True: 0, False: 18]
  |  Branch (777:41): [True: 0, False: 0]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|     18|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 0, False: 18]
  ------------------
  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|     18|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|     18|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 18, False: 0]
  ------------------
  800|     18|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 18, False: 0]
  |  Branch (800:26): [True: 0, False: 0]
  |  Branch (800:37): [True: 0, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|     18|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|     18|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  802|     18|        }
  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|     18|    }
  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|     18|}
unicodeobject.c:ucs1lib_default_find:
  560|     18|{
  561|     18|    const Py_ssize_t w = n - m;
  562|     18|    Py_ssize_t mlast = m - 1, count = 0;
  563|     18|    Py_ssize_t gap = mlast;
  564|     18|    const STRINGLIB_CHAR last = p[mlast];
  565|     18|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|     18|    unsigned long mask = 0;
  568|     36|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 18, False: 18]
  ------------------
  569|     18|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|     18|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|     18|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|     18|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 0, False: 18]
  ------------------
  571|      0|            gap = mlast - i - 1;
  572|      0|        }
  573|     18|    }
  574|     18|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|     18|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|     18|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|     36|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 18, False: 18]
  ------------------
  577|     18|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 1, False: 17]
  ------------------
  578|       |            /* candidate match */
  579|      1|            Py_ssize_t j;
  580|      1|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 1, False: 0]
  ------------------
  581|      1|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 1, False: 0]
  ------------------
  582|      1|                    break;
  583|      1|                }
  584|      1|            }
  585|      1|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 0, False: 1]
  ------------------
  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|      1|            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: 1]
  |  Branch (598:31): [True: 0, False: 0]
  ------------------
  599|      0|                i = i + m;
  600|      0|            }
  601|      1|            else {
  602|      1|                i = i + gap;
  603|      1|            }
  604|      1|        }
  605|     17|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|     17|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|      9|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|      9|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 9, False: 8]
  |  Branch (607:31): [True: 9, False: 0]
  ------------------
  608|      9|                i = i + m;
  609|      9|            }
  610|     17|        }
  611|     18|    }
  612|     18|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|     18|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 0, False: 18]
  ------------------
  613|     18|}
bytes_methods.c:stringlib_find_char:
   51|     10|{
   52|     10|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|     10|    p = s;
   55|     10|    e = s + n;
   56|     10|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|     10|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 10, False: 0]
  ------------------
   57|     10|#ifdef STRINGLIB_FAST_MEMCHR
   58|     10|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |  384|     10|#define STRINGLIB_FAST_MEMCHR memchr
  ------------------
   59|     10|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 10, False: 0]
  ------------------
   60|     10|            return (p - s);
   61|      0|        return -1;
   62|       |#else
   63|       |        /* use memchr if we can choose a needle without too many likely
   64|       |           false positives */
   65|       |        const STRINGLIB_CHAR *s1, *e1;
   66|       |        unsigned char needle = ch & 0xff;
   67|       |        /* If looking for a multiple of 256, we'd have too
   68|       |           many false positives looking for the '\0' byte in UCS2
   69|       |           and UCS4 representations. */
   70|       |        if (needle != 0) {
   71|       |            do {
   72|       |                const void *candidate = memchr(p, needle,
   73|       |                                               (e - p) * sizeof(STRINGLIB_CHAR));
   74|       |                if (candidate == NULL)
   75|       |                    return -1;
   76|       |                s1 = p;
   77|       |                p = (const STRINGLIB_CHAR *)
   78|       |                        _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR));
   79|       |                if (*p == ch)
   80|       |                    return (p - s);
   81|       |                /* False positive */
   82|       |                p++;
   83|       |                if (p - s1 > MEMCHR_CUT_OFF)
   84|       |                    continue;
   85|       |                if (e - p <= MEMCHR_CUT_OFF)
   86|       |                    break;
   87|       |                e1 = p + MEMCHR_CUT_OFF;
   88|       |                while (p != e1) {
   89|       |                    if (*p == ch)
   90|       |                        return (p - s);
   91|       |                    p++;
   92|       |                }
   93|       |            }
   94|       |            while (e - p > MEMCHR_CUT_OFF);
   95|       |        }
   96|       |#endif
   97|     10|    }
   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|     18|{
   12|     18|    Py_ssize_t pos;
   13|       |
   14|     18|    assert(str_len >= 0);
  ------------------
  |  Branch (14:5): [True: 18, False: 0]
  ------------------
   15|     18|    if (sub_len == 0)
  ------------------
  |  Branch (15:9): [True: 0, False: 18]
  ------------------
   16|      0|        return offset;
   17|       |
   18|     18|    pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |    6|     18|#define FASTSEARCH               ucs1lib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|     18|#define FAST_SEARCH 1
  ------------------
   19|       |
   20|     18|    if (pos >= 0)
  ------------------
  |  Branch (20:9): [True: 0, False: 18]
  ------------------
   21|      0|        pos += offset;
   22|       |
   23|     18|    return pos;
   24|     18|}

unicode_writer.c:ucs1lib_find_max_char:
   63|   219k|{
   64|   219k|    const unsigned char *p = (const unsigned char *)begin;
   65|   219k|    const unsigned char *_end = (const unsigned char *)end;
   66|   219k|    size_t value = 0;
   67|       |
   68|   219k|    if (p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1813|   219k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (68:9): [True: 68.5k, False: 150k]
  ------------------
   69|  68.5k|        if (!_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|  68.5k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (69:13): [True: 68.3k, False: 185]
  ------------------
   70|  68.3k|#if STRINGLIB_SIZEOF_CHAR == 1
   71|  68.3k|            if (!_Py_IS_ALIGNED(p, sizeof(uint16_t))) {
  ------------------
  |  |  257|  68.3k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (71:17): [True: 670, False: 67.7k]
  ------------------
   72|    670|                value |= *p++;
   73|    670|            }
   74|  68.3k|#endif
   75|  68.3k|#if STRINGLIB_SIZEOF_CHAR <= 2
   76|  68.3k|            if (!_Py_IS_ALIGNED(p, sizeof(uint32_t))) {
  ------------------
  |  |  257|  68.3k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (76:17): [True: 1.21k, False: 67.1k]
  ------------------
   77|  1.21k|                value |= *(const uint16_t *)p;
   78|  1.21k|                p += sizeof(uint16_t);
   79|  1.21k|            }
   80|  68.3k|#endif
   81|  68.3k|#if SIZEOF_SIZE_T == 8
   82|  68.3k|            if (!_Py_IS_ALIGNED(p, SIZEOF_SIZE_T)) {
  ------------------
  |  |  257|  68.3k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (82:17): [True: 68.1k, False: 197]
  ------------------
   83|  68.1k|                value |= *(const uint32_t *)p;
   84|  68.1k|                p += sizeof(uint32_t);
   85|  68.1k|            }
   86|  68.3k|#endif
   87|  68.3k|            if (value & MASK_MAX_CHAR) {
  ------------------
  |  |   23|  68.3k|#  define MASK_MAX_CHAR MASK_ASCII
  |  |  ------------------
  |  |  |  |   17|  68.3k|#    define MASK_ASCII 0x8080808080808080ULL
  |  |  ------------------
  ------------------
  |  Branch (87:17): [True: 0, False: 68.3k]
  ------------------
   88|      0|                return MAX_CHAR;
  ------------------
  |  |   24|      0|#  define MAX_CHAR MAX_CHAR_UCS1
  |  |  ------------------
  |  |  |  |    9|      0|#define MAX_CHAR_UCS1  0xff
  |  |  ------------------
  ------------------
   89|      0|            }
   90|  68.3k|            assert(_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T));
  ------------------
  |  Branch (90:13): [True: 68.3k, False: 0]
  ------------------
   91|  68.3k|        }
   92|       |
   93|  68.5k|        for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|  68.5k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|      0|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (93:16): [True: 0, False: 68.5k]
  ------------------
   94|       |            /* Four independent accumulators so the loop does not serialize on
   95|       |               one register when the compiler does not vectorize it. */
   96|      0|            size_t v0 = 0, v1 = 0, v2 = 0, v3 = 0;
   97|      0|            for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|      0|#define SIZEOF_SIZE_T 8
  ------------------
                          for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|      0|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (97:29): [True: 0, False: 0]
  ------------------
   98|      0|                const size_t *w = (const size_t *)(p + i);
   99|      0|                v0 |= w[0];
  100|      0|                v1 |= w[1];
  101|      0|                v2 |= w[2];
  102|      0|                v3 |= w[3];
  103|      0|            }
  104|      0|            size_t block = v0 | v1 | v2 | v3;
  105|      0|            if (block & MASK_MAX_CHAR) {
  ------------------
  |  |   23|      0|#  define MASK_MAX_CHAR MASK_ASCII
  |  |  ------------------
  |  |  |  |   17|      0|#    define MASK_ASCII 0x8080808080808080ULL
  |  |  ------------------
  ------------------
  |  Branch (105:17): [True: 0, False: 0]
  ------------------
  106|      0|                return MAX_CHAR;
  ------------------
  |  |   24|      0|#  define MAX_CHAR MAX_CHAR_UCS1
  |  |  ------------------
  |  |  |  |    9|      0|#define MAX_CHAR_UCS1  0xff
  |  |  ------------------
  ------------------
  107|      0|            }
  108|      0|            value |= block;
  109|      0|        }
  110|       |
  111|   172k|        for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   172k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   103k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (111:16): [True: 103k, False: 68.5k]
  ------------------
  112|   103k|            value |= *(const size_t *)p;
  113|   103k|        }
  114|  68.5k|    }
  115|       |
  116|       |    /* Fewer than SIZEOF_SIZE_T bytes are left. Read them as two overlapping
  117|       |       pieces, one from each end. OR does not mind seeing a byte twice. */
  118|   219k|    if (p < _end) {
  ------------------
  |  Branch (118:9): [True: 219k, False: 368]
  ------------------
  119|   219k|        size_t n = (size_t)(_end - p);
  120|   219k|        if (n >= 4) {
  ------------------
  |  Branch (120:13): [True: 84.7k, False: 134k]
  ------------------
  121|  84.7k|            uint32_t a, b;
  122|  84.7k|            memcpy(&a, p, 4);
  123|  84.7k|            memcpy(&b, _end - 4, 4);
  124|  84.7k|            value |= a | b;
  125|  84.7k|        }
  126|   134k|#if STRINGLIB_SIZEOF_CHAR <= 2
  127|   134k|        else if (n >= 2) {
  ------------------
  |  Branch (127:18): [True: 9.30k, False: 124k]
  ------------------
  128|  9.30k|            uint16_t a, b;
  129|  9.30k|            memcpy(&a, p, 2);
  130|  9.30k|            memcpy(&b, _end - 2, 2);
  131|  9.30k|            value |= a | b;
  132|  9.30k|        }
  133|   124k|#endif
  134|   124k|#if STRINGLIB_SIZEOF_CHAR == 1
  135|   124k|        else {
  136|   124k|            value |= *p;
  137|   124k|        }
  138|   219k|#endif
  139|   219k|    }
  140|       |
  141|       |#ifdef MASK_UCS2
  142|       |    if (value & MASK_UCS2) {
  143|       |        return MAX_CHAR_UCS4;
  144|       |    }
  145|       |#endif
  146|       |#ifdef MASK_UCS1
  147|       |    if (value & MASK_UCS1) {
  148|       |        return MAX_CHAR_UCS2;
  149|       |    }
  150|       |#endif
  151|   219k|    if (value & MASK_ASCII) {
  ------------------
  |  |   17|   219k|#    define MASK_ASCII 0x8080808080808080ULL
  ------------------
  |  Branch (151:9): [True: 0, False: 219k]
  ------------------
  152|      0|        return MAX_CHAR_UCS1;
  ------------------
  |  |    9|      0|#define MAX_CHAR_UCS1  0xff
  ------------------
  153|      0|    }
  154|   219k|    return MAX_CHAR_ASCII;
  ------------------
  |  |    8|   219k|#define MAX_CHAR_ASCII 0x7f
  ------------------
  155|   219k|}
unicodeobject.c:ucs4lib_find_max_char:
   63|    327|{
   64|    327|    const unsigned char *p = (const unsigned char *)begin;
   65|    327|    const unsigned char *_end = (const unsigned char *)end;
   66|    327|    size_t value = 0;
   67|       |
   68|    327|    if (p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1813|    327|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (68:9): [True: 279, False: 48]
  ------------------
   69|    279|        if (!_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|    279|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (69:13): [True: 0, False: 279]
  ------------------
   70|       |#if STRINGLIB_SIZEOF_CHAR == 1
   71|       |            if (!_Py_IS_ALIGNED(p, sizeof(uint16_t))) {
   72|       |                value |= *p++;
   73|       |            }
   74|       |#endif
   75|       |#if STRINGLIB_SIZEOF_CHAR <= 2
   76|       |            if (!_Py_IS_ALIGNED(p, sizeof(uint32_t))) {
   77|       |                value |= *(const uint16_t *)p;
   78|       |                p += sizeof(uint16_t);
   79|       |            }
   80|       |#endif
   81|      0|#if SIZEOF_SIZE_T == 8
   82|      0|            if (!_Py_IS_ALIGNED(p, SIZEOF_SIZE_T)) {
  ------------------
  |  |  257|      0|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (82:17): [True: 0, False: 0]
  ------------------
   83|      0|                value |= *(const uint32_t *)p;
   84|      0|                p += sizeof(uint32_t);
   85|      0|            }
   86|      0|#endif
   87|      0|            if (value & MASK_MAX_CHAR) {
  ------------------
  |  |   49|      0|#  define MASK_MAX_CHAR MASK_UCS2
  |  |  ------------------
  |  |  |  |   41|      0|#    define MASK_UCS2 0xFFFF0000FFFF0000ULL
  |  |  ------------------
  ------------------
  |  Branch (87:17): [True: 0, False: 0]
  ------------------
   88|      0|                return MAX_CHAR;
  ------------------
  |  |   50|      0|#  define MAX_CHAR MAX_CHAR_UCS4
  |  |  ------------------
  |  |  |  |   11|      0|#define MAX_CHAR_UCS4  0x10ffff
  |  |  ------------------
  ------------------
   89|      0|            }
   90|      0|            assert(_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T));
  ------------------
  |  Branch (90:13): [True: 0, False: 0]
  ------------------
   91|      0|        }
   92|       |
   93|    610|        for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|    610|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|    331|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (93:16): [True: 331, False: 279]
  ------------------
   94|       |            /* Four independent accumulators so the loop does not serialize on
   95|       |               one register when the compiler does not vectorize it. */
   96|    331|            size_t v0 = 0, v1 = 0, v2 = 0, v3 = 0;
   97|  1.65k|            for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  1.65k|#define SIZEOF_SIZE_T 8
  ------------------
                          for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  1.32k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (97:29): [True: 1.32k, False: 331]
  ------------------
   98|  1.32k|                const size_t *w = (const size_t *)(p + i);
   99|  1.32k|                v0 |= w[0];
  100|  1.32k|                v1 |= w[1];
  101|  1.32k|                v2 |= w[2];
  102|  1.32k|                v3 |= w[3];
  103|  1.32k|            }
  104|    331|            size_t block = v0 | v1 | v2 | v3;
  105|    331|            if (block & MASK_MAX_CHAR) {
  ------------------
  |  |   49|    331|#  define MASK_MAX_CHAR MASK_UCS2
  |  |  ------------------
  |  |  |  |   41|    331|#    define MASK_UCS2 0xFFFF0000FFFF0000ULL
  |  |  ------------------
  ------------------
  |  Branch (105:17): [True: 0, False: 331]
  ------------------
  106|      0|                return MAX_CHAR;
  ------------------
  |  |   50|      0|#  define MAX_CHAR MAX_CHAR_UCS4
  |  |  ------------------
  |  |  |  |   11|      0|#define MAX_CHAR_UCS4  0x10ffff
  |  |  ------------------
  ------------------
  107|      0|            }
  108|    331|            value |= block;
  109|    331|        }
  110|       |
  111|  1.65k|        for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  1.65k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  1.37k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (111:16): [True: 1.37k, False: 279]
  ------------------
  112|  1.37k|            value |= *(const size_t *)p;
  113|  1.37k|        }
  114|    279|    }
  115|       |
  116|       |    /* Fewer than SIZEOF_SIZE_T bytes are left. Read them as two overlapping
  117|       |       pieces, one from each end. OR does not mind seeing a byte twice. */
  118|    327|    if (p < _end) {
  ------------------
  |  Branch (118:9): [True: 168, False: 159]
  ------------------
  119|    168|        size_t n = (size_t)(_end - p);
  120|    168|        if (n >= 4) {
  ------------------
  |  Branch (120:13): [True: 168, False: 0]
  ------------------
  121|    168|            uint32_t a, b;
  122|    168|            memcpy(&a, p, 4);
  123|    168|            memcpy(&b, _end - 4, 4);
  124|    168|            value |= a | b;
  125|    168|        }
  126|       |#if STRINGLIB_SIZEOF_CHAR <= 2
  127|       |        else if (n >= 2) {
  128|       |            uint16_t a, b;
  129|       |            memcpy(&a, p, 2);
  130|       |            memcpy(&b, _end - 2, 2);
  131|       |            value |= a | b;
  132|       |        }
  133|       |#endif
  134|       |#if STRINGLIB_SIZEOF_CHAR == 1
  135|       |        else {
  136|       |            value |= *p;
  137|       |        }
  138|       |#endif
  139|    168|    }
  140|       |
  141|    327|#ifdef MASK_UCS2
  142|    327|    if (value & MASK_UCS2) {
  ------------------
  |  |   41|    327|#    define MASK_UCS2 0xFFFF0000FFFF0000ULL
  ------------------
  |  Branch (142:9): [True: 6, False: 321]
  ------------------
  143|      6|        return MAX_CHAR_UCS4;
  ------------------
  |  |   11|      6|#define MAX_CHAR_UCS4  0x10ffff
  ------------------
  144|      6|    }
  145|    321|#endif
  146|    321|#ifdef MASK_UCS1
  147|    321|    if (value & MASK_UCS1) {
  ------------------
  |  |   40|    321|#    define MASK_UCS1 0xFFFFFF00FFFFFF00ULL
  ------------------
  |  Branch (147:9): [True: 176, False: 145]
  ------------------
  148|    176|        return MAX_CHAR_UCS2;
  ------------------
  |  |   10|    176|#define MAX_CHAR_UCS2  0xffff
  ------------------
  149|    176|    }
  150|    145|#endif
  151|    145|    if (value & MASK_ASCII) {
  ------------------
  |  |   39|    145|#    define MASK_ASCII 0xFFFFFF80FFFFFF80ULL
  ------------------
  |  Branch (151:9): [True: 63, False: 82]
  ------------------
  152|     63|        return MAX_CHAR_UCS1;
  ------------------
  |  |    9|     63|#define MAX_CHAR_UCS1  0xff
  ------------------
  153|     63|    }
  154|     82|    return MAX_CHAR_ASCII;
  ------------------
  |  |    8|     82|#define MAX_CHAR_ASCII 0x7f
  ------------------
  155|    145|}
unicodeobject.c:ucs1lib_find_max_char:
   63|  84.6k|{
   64|  84.6k|    const unsigned char *p = (const unsigned char *)begin;
   65|  84.6k|    const unsigned char *_end = (const unsigned char *)end;
   66|  84.6k|    size_t value = 0;
   67|       |
   68|  84.6k|    if (p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1813|  84.6k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (68:9): [True: 79.1k, False: 5.53k]
  ------------------
   69|  79.1k|        if (!_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|  79.1k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (69:13): [True: 61.7k, False: 17.4k]
  ------------------
   70|  61.7k|#if STRINGLIB_SIZEOF_CHAR == 1
   71|  61.7k|            if (!_Py_IS_ALIGNED(p, sizeof(uint16_t))) {
  ------------------
  |  |  257|  61.7k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (71:17): [True: 57.4k, False: 4.30k]
  ------------------
   72|  57.4k|                value |= *p++;
   73|  57.4k|            }
   74|  61.7k|#endif
   75|  61.7k|#if STRINGLIB_SIZEOF_CHAR <= 2
   76|  61.7k|            if (!_Py_IS_ALIGNED(p, sizeof(uint32_t))) {
  ------------------
  |  |  257|  61.7k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (76:17): [True: 57.3k, False: 4.40k]
  ------------------
   77|  57.3k|                value |= *(const uint16_t *)p;
   78|  57.3k|                p += sizeof(uint16_t);
   79|  57.3k|            }
   80|  61.7k|#endif
   81|  61.7k|#if SIZEOF_SIZE_T == 8
   82|  61.7k|            if (!_Py_IS_ALIGNED(p, SIZEOF_SIZE_T)) {
  ------------------
  |  |  257|  61.7k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (82:17): [True: 6.01k, False: 55.6k]
  ------------------
   83|  6.01k|                value |= *(const uint32_t *)p;
   84|  6.01k|                p += sizeof(uint32_t);
   85|  6.01k|            }
   86|  61.7k|#endif
   87|  61.7k|            if (value & MASK_MAX_CHAR) {
  ------------------
  |  |   23|  61.7k|#  define MASK_MAX_CHAR MASK_ASCII
  |  |  ------------------
  |  |  |  |   17|  61.7k|#    define MASK_ASCII 0x8080808080808080ULL
  |  |  ------------------
  ------------------
  |  Branch (87:17): [True: 0, False: 61.7k]
  ------------------
   88|      0|                return MAX_CHAR;
  ------------------
  |  |   24|      0|#  define MAX_CHAR MAX_CHAR_UCS1
  |  |  ------------------
  |  |  |  |    9|      0|#define MAX_CHAR_UCS1  0xff
  |  |  ------------------
  ------------------
   89|      0|            }
   90|  61.7k|            assert(_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T));
  ------------------
  |  Branch (90:13): [True: 61.7k, False: 0]
  ------------------
   91|  61.7k|        }
   92|       |
   93|  80.1k|        for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|  80.1k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|  1.02k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (93:16): [True: 1.06k, False: 79.0k]
  ------------------
   94|       |            /* Four independent accumulators so the loop does not serialize on
   95|       |               one register when the compiler does not vectorize it. */
   96|  1.06k|            size_t v0 = 0, v1 = 0, v2 = 0, v3 = 0;
   97|  5.32k|            for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  5.32k|#define SIZEOF_SIZE_T 8
  ------------------
                          for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  4.25k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (97:29): [True: 4.25k, False: 1.06k]
  ------------------
   98|  4.25k|                const size_t *w = (const size_t *)(p + i);
   99|  4.25k|                v0 |= w[0];
  100|  4.25k|                v1 |= w[1];
  101|  4.25k|                v2 |= w[2];
  102|  4.25k|                v3 |= w[3];
  103|  4.25k|            }
  104|  1.06k|            size_t block = v0 | v1 | v2 | v3;
  105|  1.06k|            if (block & MASK_MAX_CHAR) {
  ------------------
  |  |   23|  1.06k|#  define MASK_MAX_CHAR MASK_ASCII
  |  |  ------------------
  |  |  |  |   17|  1.06k|#    define MASK_ASCII 0x8080808080808080ULL
  |  |  ------------------
  ------------------
  |  Branch (105:17): [True: 37, False: 1.02k]
  ------------------
  106|     37|                return MAX_CHAR;
  ------------------
  |  |   24|     37|#  define MAX_CHAR MAX_CHAR_UCS1
  |  |  ------------------
  |  |  |  |    9|     37|#define MAX_CHAR_UCS1  0xff
  |  |  ------------------
  ------------------
  107|     37|            }
  108|  1.02k|            value |= block;
  109|  1.02k|        }
  110|       |
  111|   352k|        for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   352k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   273k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (111:16): [True: 273k, False: 79.0k]
  ------------------
  112|   273k|            value |= *(const size_t *)p;
  113|   273k|        }
  114|  79.0k|    }
  115|       |
  116|       |    /* Fewer than SIZEOF_SIZE_T bytes are left. Read them as two overlapping
  117|       |       pieces, one from each end. OR does not mind seeing a byte twice. */
  118|  84.6k|    if (p < _end) {
  ------------------
  |  Branch (118:9): [True: 66.9k, False: 17.6k]
  ------------------
  119|  66.9k|        size_t n = (size_t)(_end - p);
  120|  66.9k|        if (n >= 4) {
  ------------------
  |  Branch (120:13): [True: 10.7k, False: 56.2k]
  ------------------
  121|  10.7k|            uint32_t a, b;
  122|  10.7k|            memcpy(&a, p, 4);
  123|  10.7k|            memcpy(&b, _end - 4, 4);
  124|  10.7k|            value |= a | b;
  125|  10.7k|        }
  126|  56.2k|#if STRINGLIB_SIZEOF_CHAR <= 2
  127|  56.2k|        else if (n >= 2) {
  ------------------
  |  Branch (127:18): [True: 54.8k, False: 1.37k]
  ------------------
  128|  54.8k|            uint16_t a, b;
  129|  54.8k|            memcpy(&a, p, 2);
  130|  54.8k|            memcpy(&b, _end - 2, 2);
  131|  54.8k|            value |= a | b;
  132|  54.8k|        }
  133|  1.37k|#endif
  134|  1.37k|#if STRINGLIB_SIZEOF_CHAR == 1
  135|  1.37k|        else {
  136|  1.37k|            value |= *p;
  137|  1.37k|        }
  138|  66.9k|#endif
  139|  66.9k|    }
  140|       |
  141|       |#ifdef MASK_UCS2
  142|       |    if (value & MASK_UCS2) {
  143|       |        return MAX_CHAR_UCS4;
  144|       |    }
  145|       |#endif
  146|       |#ifdef MASK_UCS1
  147|       |    if (value & MASK_UCS1) {
  148|       |        return MAX_CHAR_UCS2;
  149|       |    }
  150|       |#endif
  151|  84.6k|    if (value & MASK_ASCII) {
  ------------------
  |  |   17|  84.6k|#    define MASK_ASCII 0x8080808080808080ULL
  ------------------
  |  Branch (151:9): [True: 0, False: 84.6k]
  ------------------
  152|      0|        return MAX_CHAR_UCS1;
  ------------------
  |  |    9|      0|#define MAX_CHAR_UCS1  0xff
  ------------------
  153|      0|    }
  154|  84.6k|    return MAX_CHAR_ASCII;
  ------------------
  |  |    8|  84.6k|#define MAX_CHAR_ASCII 0x7f
  ------------------
  155|  84.6k|}

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

unicodeobject.c:ucs1lib_replace_1char_inplace:
   10|     64|{
   11|     64|    *s = u2;
   12|  1.01k|    while (--maxcount && ++s != end) {
  ------------------
  |  Branch (12:12): [True: 1.01k, False: 0]
  |  Branch (12:26): [True: 1.00k, False: 9]
  ------------------
   13|       |        /* Find the next character to be replaced.
   14|       |
   15|       |           If it occurs often, it is faster to scan for it using an inline
   16|       |           loop.  If it occurs seldom, it is faster to scan for it using a
   17|       |           function call; the overhead of the function call is amortized
   18|       |           across the many characters that call covers.  We start with an
   19|       |           inline loop and use a heuristic to determine whether to fall back
   20|       |           to a function call. */
   21|  1.00k|        if (*s != u1) {
  ------------------
  |  Branch (21:13): [True: 778, False: 225]
  ------------------
   22|    778|            int attempts = 10;
   23|       |            /* search u1 in a dummy loop */
   24|  6.45k|            while (1) {
  ------------------
  |  Branch (24:20): [True: 6.45k, Folded]
  ------------------
   25|  6.45k|                if (++s == end)
  ------------------
  |  Branch (25:21): [True: 39, False: 6.41k]
  ------------------
   26|     39|                    return;
   27|  6.41k|                if (*s == u1)
  ------------------
  |  Branch (27:21): [True: 237, False: 6.17k]
  ------------------
   28|    237|                    break;
   29|  6.17k|                if (!--attempts) {
  ------------------
  |  Branch (29:21): [True: 502, False: 5.67k]
  ------------------
   30|       |                    /* if u1 was not found for attempts iterations,
   31|       |                       use FASTSEARCH() or memchr() */
   32|    502|#ifdef STRINGLIB_FAST_MEMCHR
   33|    502|                    s++;
   34|    502|                    s = STRINGLIB_FAST_MEMCHR(s, u1, end - s);
  ------------------
  |  |   23|    502|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   35|    502|                    if (s == NULL)
  ------------------
  |  Branch (35:25): [True: 16, False: 486]
  ------------------
   36|     16|                        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|    486|                    break;
   48|    502|                }
   49|  6.17k|            }
   50|    778|        }
   51|    948|        *s = u2;
   52|    948|    }
   53|     64|}

unicodeobject.c:asciilib_split:
  143|    469|{
  144|    469|    Py_ssize_t i, j, pos, count=0;
  145|    469|    PyObject *list, *sub;
  146|       |
  147|    469|    if (sep_len == 0) {
  ------------------
  |  Branch (147:9): [True: 0, False: 469]
  ------------------
  148|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
  149|      0|        return NULL;
  150|      0|    }
  151|    469|    else if (sep_len == 1)
  ------------------
  |  Branch (151:14): [True: 469, False: 0]
  ------------------
  152|    469|        return STRINGLIB(split_char)(str_obj, str, str_len, sep[0], maxcount);
  ------------------
  |  |    7|    469|#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|    469|{
  101|    469|    Py_ssize_t i, j, count=0;
  102|    469|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   20|    469|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|    938|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|    411|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (20:6): [True: 411, False: 58]
  |  |  ------------------
  ------------------
  103|    469|    PyObject *sub;
  104|       |
  105|    469|    if (list == NULL)
  ------------------
  |  Branch (105:9): [True: 0, False: 469]
  ------------------
  106|      0|        return NULL;
  107|       |
  108|    469|    i = j = 0;
  109|  1.33k|    while ((j < str_len) && (maxcount-- > 0)) {
  ------------------
  |  Branch (109:12): [True: 867, False: 469]
  |  Branch (109:29): [True: 867, False: 0]
  ------------------
  110|  12.4M|        for(; j < str_len; j++) {
  ------------------
  |  Branch (110:15): [True: 12.4M, False: 469]
  ------------------
  111|       |            /* I found that using memchr makes no difference */
  112|  12.4M|            if (str[j] == ch) {
  ------------------
  |  Branch (112:17): [True: 398, False: 12.4M]
  ------------------
  113|    398|                SPLIT_ADD(str, i, j);
  ------------------
  |  |   30|    398|#define SPLIT_ADD(data, left, right) {          \
  |  |   31|    398|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|    398|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   32|    398|                        (right) - (left));      \
  |  |   33|    398|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (33:9): [True: 0, False: 398]
  |  |  ------------------
  |  |   34|    398|        goto onError;                           \
  |  |   35|    398|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   16|    398|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 398, False: 0]
  |  |  ------------------
  |  |   36|    398|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|    398|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    398|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    398|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    398|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    398|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   37|    398|    } else {                                    \
  |  |   38|      0|        if (_PyList_AppendTakeRef((PyListObject *)list, sub)) \
  |  |  ------------------
  |  |  |  Branch (38:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   39|      0|            goto onError;                       \
  |  |   40|      0|    }                                           \
  |  |   41|    398|    count++; }
  ------------------
  114|    398|                i = j = j + 1;
  115|    398|                break;
  116|    398|            }
  117|  12.4M|        }
  118|    867|    }
  119|    469|#if !STRINGLIB_MUTABLE
  120|    469|    if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) {
  ------------------
  |  |   22|     72|#define STRINGLIB_CHECK_EXACT    PyUnicode_CheckExact
  |  |  ------------------
  |  |  |  |  104|     72|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     72|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 72, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (120:9): [True: 72, False: 397]
  ------------------
  121|       |        /* ch not in str_obj, so just use str_obj as list[0] */
  122|     72|        Py_INCREF(str_obj);
  ------------------
  |  |  310|     72|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|     72|        PyList_SET_ITEM(list, 0, (PyObject *)str_obj);
  ------------------
  |  |   50|     72|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  124|     72|        count++;
  125|     72|    } else
  126|    397|#endif
  127|    397|    if (i <= str_len) {
  ------------------
  |  Branch (127:9): [True: 397, False: 0]
  ------------------
  128|    794|        SPLIT_ADD(str, i, str_len);
  ------------------
  |  |   30|    397|#define SPLIT_ADD(data, left, right) {          \
  |  |   31|    397|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|    397|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   32|    397|                        (right) - (left));      \
  |  |   33|    397|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (33:9): [True: 0, False: 397]
  |  |  ------------------
  |  |   34|    397|        goto onError;                           \
  |  |   35|    397|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   16|    397|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 397, False: 0]
  |  |  ------------------
  |  |   36|    397|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|    397|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    397|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    397|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    397|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    397|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   37|    397|    } else {                                    \
  |  |   38|      0|        if (_PyList_AppendTakeRef((PyListObject *)list, sub)) \
  |  |  ------------------
  |  |  |  Branch (38:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   39|      0|            goto onError;                       \
  |  |   40|      0|    }                                           \
  |  |   41|    397|    count++; }
  ------------------
  129|    794|    }
  130|    469|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   45|    469|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|    469|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|    469|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    469|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|    469|    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|    469|}

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

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

_PyStaticType_GetState:
  244|   732k|{
  245|   732k|    assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (245:5): [True: 732k, False: 0]
  ------------------
  246|   732k|    return managed_static_type_state_get(interp, self);
  247|   732k|}
_PyType_GetDict:
  481|  1.02M|{
  482|       |    /* It returns a borrowed reference. */
  483|  1.02M|    return lookup_tp_dict(self);
  484|  1.02M|}
_PyType_GetBases:
  528|     73|{
  529|     73|    PyObject *res;
  530|       |
  531|     73|    BEGIN_TYPE_LOCK();
  532|     73|    res = lookup_tp_bases(self);
  533|     73|    Py_INCREF(res);
  ------------------
  |  |  310|     73|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     73|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     73|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|     73|    END_TYPE_LOCK();
  535|       |
  536|     73|    return res;
  537|     73|}
_PyType_GetSubclasses:
  783|     46|{
  784|     46|    PyObject *list = PyList_New(0);
  785|     46|    if (list == NULL) {
  ------------------
  |  Branch (785:9): [True: 0, False: 46]
  ------------------
  786|      0|        return NULL;
  787|      0|    }
  788|       |
  789|       |    // The type lock protects tp_subclasses from being mutated while we
  790|       |    // iterate over it (e.g. by add_subclass() or by remove_subclass() when a
  791|       |    // subclass is deallocated).
  792|     46|    int res;
  793|     46|    BEGIN_TYPE_LOCK();
  794|     46|    res = get_subclasses_unlocked(self, list);
  795|     46|    END_TYPE_LOCK();
  796|       |
  797|     46|    if (res < 0) {
  ------------------
  |  Branch (797:9): [True: 0, False: 46]
  ------------------
  798|       |        Py_CLEAR(list);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  799|      0|    }
  800|     46|    return list;
  801|     46|}
_PyType_CheckConsistency:
  861|  3.32k|{
  862|  3.32k|#define CHECK(expr) \
  863|  3.32k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  864|       |
  865|  3.32k|    CHECK(!_PyObject_IsFreed((PyObject *)type));
  ------------------
  |  |  863|  3.32k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 3.32k]
  |  |  |  Branch (863:103): [Folded, False: 3.32k]
  |  |  ------------------
  ------------------
  866|       |
  867|  3.32k|    if (!(type->tp_flags & Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|  3.32k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (867:9): [True: 916, False: 2.41k]
  ------------------
  868|       |        /* don't check static types before PyType_Ready() */
  869|    916|        return 1;
  870|    916|    }
  871|       |
  872|  2.41k|    CHECK(Py_REFCNT(type) >= 1);
  ------------------
  |  |  863|  2.41k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 2.41k]
  |  |  |  Branch (863:103): [Folded, False: 2.41k]
  |  |  ------------------
  ------------------
  873|  2.41k|    CHECK(PyType_Check(type));
  ------------------
  |  |  863|  2.41k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 2.41k]
  |  |  |  Branch (863:103): [Folded, False: 2.41k]
  |  |  ------------------
  ------------------
  874|       |
  875|  2.41k|    CHECK(!is_readying(type));
  ------------------
  |  |  863|  2.41k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 2.41k]
  |  |  |  Branch (863:103): [Folded, False: 2.41k]
  |  |  ------------------
  ------------------
  876|  2.41k|    CHECK(lookup_tp_dict(type) != NULL);
  ------------------
  |  |  863|  2.41k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 2.41k]
  |  |  |  Branch (863:103): [Folded, False: 2.41k]
  |  |  ------------------
  ------------------
  877|       |
  878|  2.41k|    if (type->tp_flags & Py_TPFLAGS_HAVE_GC) {
  ------------------
  |  |  524|  2.41k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (878:9): [True: 2.33k, False: 78]
  ------------------
  879|       |        // bpo-44263: tp_traverse is required if Py_TPFLAGS_HAVE_GC is set.
  880|       |        // Note: tp_clear is optional.
  881|  2.33k|        CHECK(type->tp_traverse != NULL);
  ------------------
  |  |  863|  2.33k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 2.33k]
  |  |  |  Branch (863:103): [Folded, False: 2.33k]
  |  |  ------------------
  ------------------
  882|  2.33k|    }
  883|       |
  884|  2.41k|    if (type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION) {
  ------------------
  |  |  497|  2.41k|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
  |  Branch (884:9): [True: 172, False: 2.24k]
  ------------------
  885|    172|        CHECK(type->tp_new == NULL);
  ------------------
  |  |  863|    172|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 172]
  |  |  |  Branch (863:103): [Folded, False: 172]
  |  |  ------------------
  ------------------
  886|    172|        CHECK(PyDict_Contains(lookup_tp_dict(type), &_Py_ID(__new__)) == 0);
  ------------------
  |  |  863|    172|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (863:14): [True: 0, False: 172]
  |  |  |  Branch (863:103): [Folded, False: 172]
  |  |  ------------------
  ------------------
  887|    172|    }
  888|       |
  889|  2.41k|    return 1;
  890|  2.41k|#undef CHECK
  891|  2.41k|}
_PyType_GetDocFromInternalDoc:
  908|     24|{
  909|     24|    const char *doc = _PyType_DocWithoutSignature(name, internal_doc);
  910|       |
  911|     24|    if (!doc || *doc == '\0') {
  ------------------
  |  Branch (911:9): [True: 0, False: 24]
  |  Branch (911:17): [True: 0, False: 24]
  ------------------
  912|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  913|      0|    }
  914|       |
  915|     24|    return PyUnicode_FromString(doc);
  916|     24|}
_PyType_Modified_Unlocked:
 1103|  1.45k|{
 1104|       |    /* Invalidate any cached data for the specified type and all
 1105|       |       subclasses.  This function is called after the base
 1106|       |       classes, mro, or attributes of the type are altered.
 1107|       |
 1108|       |       Invariants:
 1109|       |
 1110|       |       - before tp_version_tag can be set on a type,
 1111|       |         it must first be set on all super types.
 1112|       |
 1113|       |       This function clears the tp_version_tag of a
 1114|       |       type (so it must first clear it on all subclasses).  The
 1115|       |       tp_version_tag value is meaningless when equal to zero.
 1116|       |       We don't assign new version tags eagerly, but only as
 1117|       |       needed.
 1118|       |     */
 1119|  1.45k|    ASSERT_NEW_TYPE_OR_LOCKED(type);
 1120|       |#ifdef Py_GIL_DISABLED
 1121|       |    // This function is re-entrant and it's not safe to call it
 1122|       |    // with the world stopped.
 1123|       |    assert(!types_world_is_stopped());
 1124|       |#endif
 1125|  1.45k|    if (type->tp_version_tag == 0) {
  ------------------
  |  Branch (1125:9): [True: 1.28k, False: 170]
  ------------------
 1126|  1.28k|        return;
 1127|  1.28k|    }
 1128|       |    // Cannot modify static builtin types.
 1129|  1.45k|    assert((type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) == 0);
  ------------------
  |  Branch (1129:5): [True: 170, False: 0]
  ------------------
 1130|       |
 1131|    170|    PyObject *subclasses = lookup_tp_subclasses(type);
 1132|    170|    if (subclasses != NULL) {
  ------------------
  |  Branch (1132:9): [True: 0, False: 170]
  ------------------
 1133|      0|        assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (1133:9): [True: 0, False: 0]
  ------------------
 1134|       |
 1135|      0|        Py_ssize_t i = 0;
 1136|      0|        PyObject *ref;
 1137|      0|        while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (1137:16): [True: 0, False: 0]
  ------------------
 1138|      0|            PyTypeObject *subclass = type_from_ref(ref);
 1139|      0|            if (subclass == NULL) {
  ------------------
  |  Branch (1139:17): [True: 0, False: 0]
  ------------------
 1140|      0|                continue;
 1141|      0|            }
 1142|      0|            _PyType_Modified_Unlocked(subclass);
 1143|      0|            Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1144|      0|        }
 1145|      0|    }
 1146|       |
 1147|       |    // Notify registered type watchers, if any
 1148|    170|    if (type->tp_watched) {
  ------------------
  |  Branch (1148:9): [True: 0, False: 170]
  ------------------
 1149|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1150|      0|        int bits = type->tp_watched;
 1151|      0|        int i = 0;
 1152|      0|        while (bits) {
  ------------------
  |  Branch (1152:16): [True: 0, False: 0]
  ------------------
 1153|      0|            assert(i < TYPE_MAX_WATCHERS);
  ------------------
  |  Branch (1153:13): [True: 0, False: 0]
  ------------------
 1154|      0|            if (bits & 1) {
  ------------------
  |  Branch (1154:17): [True: 0, False: 0]
  ------------------
 1155|       |                // Note that PyErr_FormatUnraisable is potentially re-entrant
 1156|       |                // and the watcher callback might be too.
 1157|      0|                PyType_WatchCallback cb = interp->type_watchers[i];
 1158|      0|                if (cb && (cb(type) < 0)) {
  ------------------
  |  Branch (1158:21): [True: 0, False: 0]
  |  Branch (1158:27): [True: 0, False: 0]
  ------------------
 1159|      0|                    PyErr_FormatUnraisable(
 1160|      0|                        "Exception ignored in type watcher callback #%d for %R",
 1161|      0|                        i, type);
 1162|      0|                }
 1163|      0|            }
 1164|      0|            i++;
 1165|      0|            bits >>= 1;
 1166|      0|        }
 1167|      0|    }
 1168|       |
 1169|    170|    set_version_unlocked(type, 0); /* 0 is not a valid version tag */
 1170|    170|    _PyTypeCache_Invalidate(type);
 1171|    170|    if (PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    170|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1171:9): [True: 170, False: 0]
  ------------------
 1172|       |        // This field *must* be invalidated if the type is modified (see the
 1173|       |        // comment on struct _specialization_cache):
 1174|    170|        FT_ATOMIC_STORE_PTR_RELAXED(
  ------------------
  |  |  165|    170|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
 1175|    170|            ((PyHeapTypeObject *)type)->_spec_cache.getitem, NULL);
 1176|    170|    }
 1177|    170|}
PyType_Modified:
 1181|     12|{
 1182|       |    // Quick check without the lock held
 1183|     12|    if (FT_ATOMIC_LOAD_UINT_RELAXED(type->tp_version_tag) == 0) {
  ------------------
  |  |  192|     12|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
  |  Branch (1183:9): [True: 12, False: 0]
  ------------------
 1184|     12|        return;
 1185|     12|    }
 1186|       |
 1187|      0|    BEGIN_TYPE_LOCK();
 1188|      0|    _PyType_Modified_Unlocked(type);
 1189|      0|    END_TYPE_LOCK();
 1190|      0|}
_PyType_SetVersion:
 1275|    388|{
 1276|    388|    BEGIN_TYPE_LOCK();
 1277|    388|    set_version_unlocked(tp, version);
 1278|    388|    END_TYPE_LOCK();
 1279|    388|}
_PyType_Name:
 1446|    147|{
 1447|    147|    assert(type->tp_name != NULL);
  ------------------
  |  Branch (1447:5): [True: 147, False: 0]
  ------------------
 1448|    147|    const char *s = strrchr(type->tp_name, '.');
 1449|    147|    if (s == NULL) {
  ------------------
  |  Branch (1449:9): [True: 6, False: 141]
  ------------------
 1450|      6|        s = type->tp_name;
 1451|      6|    }
 1452|    141|    else {
 1453|    141|        s++;
 1454|    141|    }
 1455|    147|    return s;
 1456|    147|}
_PyType_AllocNoTrack:
 2539|   136k|{
 2540|   136k|    PyObject *obj;
 2541|       |    /* The +1 on nitems is needed for most types but not all. We could save a
 2542|       |     * bit of space by allocating one less item in certain cases, depending on
 2543|       |     * the type. However, given the extra complexity (e.g. an additional type
 2544|       |     * flag to indicate when that is safe) it does not seem worth the memory
 2545|       |     * savings. An example type that doesn't need the +1 is a subclass of
 2546|       |     * tuple. See GH-100659 and GH-81381. */
 2547|   136k|    size_t size = _PyObject_VAR_SIZE(type, nitems+1);
 2548|       |
 2549|   136k|    const size_t presize = _PyType_PreHeaderSize(type);
 2550|   136k|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|   136k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2550:9): [True: 3.24k, False: 132k]
  ------------------
 2551|  3.24k|        assert(type->tp_itemsize == 0);
  ------------------
  |  Branch (2551:9): [True: 3.24k, False: 0]
  ------------------
 2552|  3.24k|        size += _PyInlineValuesSize(type);
 2553|  3.24k|    }
 2554|   136k|    char *alloc = _PyObject_MallocWithType(type, size + presize);
 2555|   136k|    if (alloc  == NULL) {
  ------------------
  |  Branch (2555:9): [True: 0, False: 136k]
  ------------------
 2556|      0|        return PyErr_NoMemory();
 2557|      0|    }
 2558|   136k|    obj = (PyObject *)(alloc + presize);
 2559|   136k|    if (presize) {
  ------------------
  |  Branch (2559:9): [True: 136k, False: 40]
  ------------------
 2560|   136k|        ((PyObject **)alloc)[0] = NULL;
 2561|   136k|        ((PyObject **)alloc)[1] = NULL;
 2562|   136k|    }
 2563|   136k|    if (PyType_IS_GC(type)) {
  ------------------
  |  |  157|   136k|#define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|   136k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (157:25): [True: 136k, False: 40]
  |  |  ------------------
  ------------------
 2564|   136k|        _PyObject_GC_Link(obj);
 2565|   136k|    }
 2566|       |    // Zero out the object after the PyObject header. The header fields are
 2567|       |    // initialized by _PyObject_Init[Var]().
 2568|   136k|    memset((char *)obj + sizeof(PyObject), 0, size - sizeof(PyObject));
 2569|       |
 2570|   136k|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (2570:9): [True: 134k, False: 1.26k]
  ------------------
 2571|   134k|        _PyObject_Init(obj, type);
 2572|   134k|    }
 2573|  1.26k|    else {
 2574|  1.26k|        _PyObject_InitVar((PyVarObject *)obj, type, nitems);
 2575|  1.26k|    }
 2576|   136k|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|   136k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2576:9): [True: 3.24k, False: 132k]
  ------------------
 2577|  3.24k|        _PyObject_InitInlineValues(obj, type);
 2578|  3.24k|    }
 2579|   136k|    return obj;
 2580|   136k|}
PyType_GenericAlloc:
 2584|   135k|{
 2585|   135k|    PyObject *obj = _PyType_AllocNoTrack(type, nitems);
 2586|   135k|    if (obj == NULL) {
  ------------------
  |  Branch (2586:9): [True: 0, False: 135k]
  ------------------
 2587|      0|        return NULL;
 2588|      0|    }
 2589|       |
 2590|   135k|    if (_PyType_IS_GC(type)) {
  ------------------
  |  Branch (2590:9): [True: 135k, False: 40]
  ------------------
 2591|   135k|        _PyObject_GC_TRACK(obj);
  ------------------
  |  |  502|   135k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   135k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   135k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2592|   135k|    }
 2593|   135k|    return obj;
 2594|   135k|}
PyType_GenericNew:
 2598|    534|{
 2599|    534|    return type->tp_alloc(type, 0);
 2600|    534|}
PyType_IsSubtype:
 2960|  2.66M|{
 2961|  2.66M|    return is_subtype_with_mro(a->tp_mro, a, b);
 2962|  2.66M|}
_PyObject_LookupSpecial:
 2981|   409k|{
 2982|   409k|    PyObject *res;
 2983|       |
 2984|   409k|    res = _PyType_LookupRef(Py_TYPE(self), attr);
  ------------------
  |  |  213|   409k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   409k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   409k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2985|   409k|    if (res != NULL) {
  ------------------
  |  Branch (2985:9): [True: 403k, False: 5.61k]
  ------------------
 2986|   403k|        descrgetfunc f;
 2987|   403k|        if ((f = Py_TYPE(res)->tp_descr_get) != NULL) {
  ------------------
  |  |  213|   403k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2987:13): [True: 403k, False: 0]
  ------------------
 2988|   403k|            Py_SETREF(res, f(res, self, (PyObject *)(Py_TYPE(self))));
  ------------------
  |  |  545|   403k|    do { \
  |  |  546|   403k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|   403k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|   403k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|   403k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|   403k|        *_tmp_dst_ptr = (src); \
  |  |  549|   403k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|   403k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|   403k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 403k]
  |  |  ------------------
  ------------------
 2989|   403k|        }
 2990|   403k|    }
 2991|   409k|    return res;
 2992|   409k|}
_PyObject_LookupSpecialMethod:
 3006|  5.97k|{
 3007|  5.97k|    PyObject *self_o = PyStackRef_AsPyObjectBorrow(*self);
 3008|  5.97k|    _PyType_LookupStackRefAndVersion(Py_TYPE(self_o), attr, method);
  ------------------
  |  |  213|  5.97k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3009|  5.97k|    PyObject *method_o = PyStackRef_AsPyObjectBorrow(*method);
 3010|  5.97k|    if (method_o == NULL) {
  ------------------
  |  Branch (3010:9): [True: 0, False: 5.97k]
  ------------------
 3011|      0|        return 0;
 3012|      0|    }
 3013|       |
 3014|  5.97k|    if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  5.97k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  5.97k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (3014:9): [True: 5.97k, False: 0]
  ------------------
 3015|       |        /* Avoid temporary PyMethodObject */
 3016|  5.97k|        return 1;
 3017|  5.97k|    }
 3018|       |
 3019|      0|    descrgetfunc f = Py_TYPE(method_o)->tp_descr_get;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3020|      0|    if (f != NULL) {
  ------------------
  |  Branch (3020:9): [True: 0, False: 0]
  ------------------
 3021|      0|        PyObject *func = f(method_o, self_o, (PyObject *)(Py_TYPE(self_o)));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3022|      0|        if (func == NULL) {
  ------------------
  |  Branch (3022:13): [True: 0, False: 0]
  ------------------
 3023|      0|            return -1;
 3024|      0|        }
 3025|      0|        PyStackRef_CLEAR(*method); // clear method
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3026|      0|        *method = PyStackRef_FromPyObjectSteal(func);
 3027|      0|    }
 3028|      0|    PyStackRef_CLEAR(*self); // clear self
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3029|      0|    return 1;
 3030|      0|}
PyType_GetFlags:
 4086|    310|{
 4087|    310|    return type->tp_flags;
 4088|    310|}
_PyType_CalculateMetaclass:
 4101|  1.59k|{
 4102|  1.59k|    Py_ssize_t i, nbases;
 4103|  1.59k|    PyTypeObject *winner;
 4104|  1.59k|    PyObject *tmp;
 4105|  1.59k|    PyTypeObject *tmptype;
 4106|       |
 4107|       |    /* Determine the proper metatype to deal with this,
 4108|       |       and check for metatype conflicts while we're at it.
 4109|       |       Note that if some other metatype wins to contract,
 4110|       |       it's possible that its instances are not types. */
 4111|       |
 4112|  1.59k|    nbases = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  1.59k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4113|  1.59k|    winner = metatype;
 4114|  3.48k|    for (i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4114:17): [True: 1.88k, False: 1.59k]
  ------------------
 4115|  1.88k|        tmp = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  1.88k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.88k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4115:15): [True: 1.88k, False: 0]
  ------------------
 4116|  1.88k|        tmptype = Py_TYPE(tmp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4117|  1.88k|        if (PyType_IsSubtype(winner, tmptype)) {
  ------------------
  |  Branch (4117:13): [True: 1.87k, False: 8]
  ------------------
 4118|  1.87k|            continue;
 4119|  1.87k|        }
 4120|      8|        if (PyType_IsSubtype(tmptype, winner)) {
  ------------------
  |  Branch (4120:13): [True: 8, False: 0]
  ------------------
 4121|      8|            winner = tmptype;
 4122|      8|            continue;
 4123|      8|        }
 4124|       |        /* else: */
 4125|      0|        PyErr_SetString(PyExc_TypeError,
 4126|      0|                        "metaclass conflict: "
 4127|      0|                        "the metaclass of a derived class "
 4128|      0|                        "must be a (non-strict) subclass "
 4129|      0|                        "of the metaclasses of all its bases");
 4130|      0|        return NULL;
 4131|      8|    }
 4132|  1.59k|    return winner;
 4133|  1.59k|}
PyType_FromMetaclass:
 5808|      5|{
 5809|       |    return type_from_slots_or_spec(NULL, spec, metaclass, module, bases);
 5810|      5|}
PyType_FromModuleAndSpec:
 5814|     85|{
 5815|     85|    return type_from_slots_or_spec(NULL, spec, NULL, module, bases);
 5816|     85|}
PyType_FromSpecWithBases:
 5820|     19|{
 5821|     19|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, bases);
 5822|     19|}
PyType_FromSpec:
 5826|     18|{
 5827|     18|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, NULL);
 5828|     18|}
PyType_GetModule:
 5868|      1|{
 5869|      1|    assert(PyType_Check(type));
  ------------------
  |  Branch (5869:5): [True: 1, False: 0]
  ------------------
 5870|      1|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      1|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5870:9): [True: 0, False: 1]
  ------------------
 5871|      0|        PyErr_Format(
 5872|      0|            PyExc_TypeError,
 5873|      0|            "PyType_GetModule: Type '%s' is not a heap type",
 5874|      0|            type->tp_name);
 5875|      0|        return NULL;
 5876|      0|    }
 5877|       |
 5878|      1|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 5879|      1|    if (!et->ht_module) {
  ------------------
  |  Branch (5879:9): [True: 0, False: 1]
  ------------------
 5880|      0|        PyErr_Format(
 5881|      0|            PyExc_TypeError,
 5882|      0|            "PyType_GetModule: Type '%s' has no associated module",
 5883|      0|            type->tp_name);
 5884|      0|        return NULL;
 5885|      0|    }
 5886|      1|    return et->ht_module;
 5887|      1|}
PyType_GetModuleByToken_DuringGC:
 5914|  34.2k|{
 5915|  34.2k|    assert(PyType_Check(type));
  ------------------
  |  Branch (5915:5): [True: 34.2k, False: 0]
  ------------------
 5916|       |
 5917|  34.2k|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  34.2k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5917:9): [True: 0, False: 34.2k]
  ------------------
 5918|       |        // type_ready_mro() ensures that no heap type is
 5919|       |        // contained in a static type MRO.
 5920|      0|        return NULL;
 5921|      0|    }
 5922|  34.2k|    else {
 5923|  34.2k|        PyHeapTypeObject *ht = (PyHeapTypeObject*)type;
 5924|  34.2k|        PyObject *module = ht->ht_module;
 5925|  34.2k|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5925:13): [True: 34.2k, False: 0]
  |  Branch (5925:23): [True: 34.2k, False: 0]
  ------------------
 5926|  34.2k|            return module;
 5927|  34.2k|        }
 5928|  34.2k|    }
 5929|       |
 5930|      0|    PyObject *res = NULL;
 5931|      0|    BEGIN_TYPE_LOCK();
 5932|       |
 5933|      0|    PyObject *mro = lookup_tp_mro(type);
 5934|       |    // The type must be ready
 5935|      0|    assert(mro != NULL);
  ------------------
  |  Branch (5935:5): [True: 0, False: 0]
  ------------------
 5936|      0|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (5936:5): [True: 0, False: 0]
  ------------------
 5937|       |    // mro_invoke() ensures that the type MRO cannot be empty.
 5938|      0|    assert(PyTuple_GET_SIZE(mro) >= 1);
  ------------------
  |  Branch (5938:5): [True: 0, False: 0]
  ------------------
 5939|       |    // Also, the first item in the MRO is the type itself, which
 5940|       |    // we already checked above. We skip it in the loop.
 5941|      0|    assert(PyTuple_GET_ITEM(mro, 0) == (PyObject *)type);
  ------------------
  |  Branch (5941:5): [True: 0, False: 0]
  |  Branch (5941:5): [True: 0, False: 0]
  ------------------
 5942|       |
 5943|      0|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5944|      0|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (5944:28): [True: 0, False: 0]
  ------------------
 5945|      0|        PyObject *super = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5945:27): [True: 0, False: 0]
  ------------------
 5946|      0|        if (!_PyType_HasFeature((PyTypeObject *)super, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5946:13): [True: 0, False: 0]
  ------------------
 5947|       |            // Static types in the MRO need to be skipped
 5948|      0|            continue;
 5949|      0|        }
 5950|       |
 5951|      0|        PyHeapTypeObject *ht = (PyHeapTypeObject*)super;
 5952|      0|        PyObject *module = ht->ht_module;
 5953|      0|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5953:13): [True: 0, False: 0]
  |  Branch (5953:23): [True: 0, False: 0]
  ------------------
 5954|      0|            res = module;
 5955|      0|            break;
 5956|      0|        }
 5957|      0|    }
 5958|      0|    END_TYPE_LOCK();
 5959|       |
 5960|      0|    return res;
 5961|      0|}
PyType_GetModuleByDef:
 5971|  34.2k|{
 5972|  34.2k|    PyObject *mod = PyType_GetModuleByToken_DuringGC(type, def);
 5973|  34.2k|    if (!mod) {
  ------------------
  |  Branch (5973:9): [True: 0, False: 34.2k]
  ------------------
 5974|      0|        PyErr_Format(
 5975|      0|            PyExc_TypeError,
 5976|      0|            "PyType_GetModuleByDef: No superclass of '%s' has the given module",
 5977|      0|            type->tp_name);
 5978|      0|        return NULL;
 5979|      0|    }
 5980|  34.2k|    return mod;
 5981|  34.2k|}
PyObject_GetItemData:
 6133|  1.53k|{
 6134|       |    return getitemdata(obj, true);
 6135|  1.53k|}
_PyType_LookupRefAndVersion:
 6265|   410k|{
 6266|   410k|    _PyStackRef out;
 6267|   410k|    unsigned int ver = _PyType_LookupStackRefAndVersion(type, name, &out);
 6268|   410k|    if (version) {
  ------------------
  |  Branch (6268:9): [True: 1.10k, False: 409k]
  ------------------
 6269|  1.10k|        *version = ver;
 6270|  1.10k|    }
 6271|   410k|    if (PyStackRef_IsNull(out)) {
  ------------------
  |  |  482|   410k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|   410k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   410k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 6.51k, False: 404k]
  |  |  ------------------
  ------------------
 6272|  6.51k|        return NULL;
 6273|  6.51k|    }
 6274|   404k|    return PyStackRef_AsPyObjectSteal(out);
 6275|   410k|}
_PyType_LookupStackRefAndVersion:
 6287|  1.44M|{
 6288|  1.44M|    int cacheable = MCACHE_CACHEABLE_NAME(name);
  ------------------
  |  |   44|  1.44M|#define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  104|  1.44M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  2.88M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 1.44M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  215|  1.44M|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:38): [True: 1.25M, False: 187k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6289|  1.44M|    if (cacheable) {
  ------------------
  |  Branch (6289:9): [True: 1.25M, False: 187k]
  ------------------
 6290|  1.25M|        struct _PyTypeCacheLookupResult r = _PyTypeCache_Lookup(type, name);
 6291|  1.25M|        if (r.cache_hit) {
  ------------------
  |  Branch (6291:13): [True: 1.25M, False: 4.01k]
  ------------------
 6292|  1.25M|            OBJECT_STAT_INC_COND(type_cache_hits, !is_dunder_name(name));
  ------------------
  |  |   78|  1.25M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6293|  1.25M|            OBJECT_STAT_INC_COND(type_cache_dunder_hits, is_dunder_name(name));
  ------------------
  |  |   78|  1.25M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6294|  1.25M|            *out = r.value;
 6295|  1.25M|            return r.version_tag;
 6296|  1.25M|        }
 6297|  1.25M|    }
 6298|   191k|    OBJECT_STAT_INC_COND(type_cache_misses, !is_dunder_name(name));
  ------------------
  |  |   78|   191k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6299|   191k|    OBJECT_STAT_INC_COND(type_cache_dunder_misses, is_dunder_name(name));
  ------------------
  |  |   78|   191k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6300|       |
 6301|       |    /* We may end up clearing live exceptions below, so make sure it's ours. */
 6302|   191k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (6302:5): [True: 191k, False: 0]
  ------------------
 6303|       |
 6304|   191k|    int res;
 6305|   191k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 6306|       |
 6307|   191k|    unsigned int version_tag = FT_ATOMIC_LOAD_UINT(type->tp_version_tag);
  ------------------
  |  |  191|   191k|#define FT_ATOMIC_LOAD_UINT(value) value
  ------------------
 6308|   191k|    if (cacheable &&
  ------------------
  |  Branch (6308:9): [True: 4.01k, False: 187k]
  ------------------
 6309|  4.01k|        (version_tag != 0 || should_assign_version_tag(type, name, version_tag)))
  ------------------
  |  Branch (6309:10): [True: 3.40k, False: 611]
  |  Branch (6309:30): [True: 611, False: 0]
  ------------------
 6310|  4.01k|    {
 6311|  4.01k|        BEGIN_TYPE_LOCK();
 6312|  4.01k|        version_tag = type->tp_version_tag;
 6313|  4.01k|        if (version_tag == 0) {
  ------------------
  |  Branch (6313:13): [True: 611, False: 3.40k]
  ------------------
 6314|    611|            assign_version_tag(interp, type);
 6315|    611|            version_tag = type->tp_version_tag;
 6316|    611|        }
 6317|  4.01k|        res = find_name_in_mro(type, name, out);
 6318|       |        // find_name_in_mro can release the type lock and another thread can
 6319|       |        // modify the type, so we need to check version tag again before caching the result.
 6320|  4.01k|        if (res >= 0 && version_tag != 0 && version_tag == type->tp_version_tag) {
  ------------------
  |  Branch (6320:13): [True: 4.01k, False: 0]
  |  Branch (6320:25): [True: 3.75k, False: 264]
  |  Branch (6320:45): [True: 3.75k, False: 0]
  ------------------
 6321|  3.75k|            _PyTypeCache_Insert(type, name, PyStackRef_AsPyObjectBorrow(*out));
 6322|  3.75k|        }
 6323|  4.01k|        END_TYPE_LOCK();
 6324|  4.01k|    }
 6325|   187k|    else {
 6326|   187k|        version_tag = 0;
 6327|   187k|        res = find_name_in_mro(type, name, out);
 6328|   187k|    }
 6329|       |
 6330|       |    /* Only put NULL results into cache if there was no error. */
 6331|   191k|    if (res < 0) {
  ------------------
  |  Branch (6331:9): [True: 0, False: 191k]
  ------------------
 6332|      0|        *out = PyStackRef_NULL;
 6333|      0|        return 0;
 6334|      0|    }
 6335|       |
 6336|   191k|    return version_tag;
 6337|   191k|}
_PyType_LookupRef:
 6344|   409k|{
 6345|       |    return _PyType_LookupRefAndVersion(type, name, NULL);
 6346|   409k|}
_PyType_Lookup:
 6352|    269|{
 6353|    269|    PyObject *res = _PyType_LookupRefAndVersion(type, name, NULL);
 6354|    269|    Py_XDECREF(res);
  ------------------
  |  |  621|    269|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6355|    269|    return res;
 6356|    269|}
_PyType_CacheInitForSpecialization:
 6361|     12|{
 6362|     12|    if (!init || !tp_version) {
  ------------------
  |  Branch (6362:9): [True: 0, False: 12]
  |  Branch (6362:18): [True: 0, False: 12]
  ------------------
 6363|      0|        return 0;
 6364|      0|    }
 6365|     12|    int can_cache;
 6366|     12|    BEGIN_TYPE_LOCK();
 6367|     12|    can_cache = ((PyTypeObject*)type)->tp_version_tag == tp_version;
 6368|       |    #ifdef Py_GIL_DISABLED
 6369|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(init);
 6370|       |    #endif
 6371|     12|    if (can_cache) {
  ------------------
  |  Branch (6371:9): [True: 12, False: 0]
  ------------------
 6372|     12|        FT_ATOMIC_STORE_PTR_RELEASE(type->_spec_cache.init, init);
  ------------------
  |  |  166|     12|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6373|     12|    }
 6374|     12|    END_TYPE_LOCK();
 6375|     12|    return can_cache;
 6376|     12|}
_PyType_CacheGetItemForSpecialization:
 6380|      7|{
 6381|      7|    if (!descriptor || !tp_version) {
  ------------------
  |  Branch (6381:9): [True: 0, False: 7]
  |  Branch (6381:24): [True: 0, False: 7]
  ------------------
 6382|      0|        return 0;
 6383|      0|    }
 6384|      7|    int can_cache;
 6385|      7|    BEGIN_TYPE_LOCK();
 6386|      7|    can_cache = ((PyTypeObject*)ht)->tp_version_tag == tp_version;
 6387|       |    // This pointer is invalidated by PyType_Modified (see the comment on
 6388|       |    // struct _specialization_cache):
 6389|      7|    PyFunctionObject *func = (PyFunctionObject *)descriptor;
 6390|      7|    uint32_t version = _PyFunction_GetVersionForCurrentState(func);
 6391|      7|    can_cache = can_cache && _PyFunction_IsVersionValid(version);
  ------------------
  |  Branch (6391:17): [True: 7, False: 0]
  |  Branch (6391:30): [True: 7, False: 0]
  ------------------
 6392|       |#ifdef Py_GIL_DISABLED
 6393|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(descriptor);
 6394|       |#endif
 6395|      7|    if (can_cache) {
  ------------------
  |  Branch (6395:9): [True: 7, False: 0]
  ------------------
 6396|      7|        FT_ATOMIC_STORE_PTR_RELEASE(ht->_spec_cache.getitem, descriptor);
  ------------------
  |  |  166|      7|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6397|      7|        FT_ATOMIC_STORE_UINT32_RELAXED(ht->_spec_cache.getitem_version, version);
  ------------------
  |  |  175|      7|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 6398|      7|    }
 6399|      7|    END_TYPE_LOCK();
 6400|      7|    return can_cache;
 6401|      7|}
_PyType_SetFlags:
 6405|      4|{
 6406|      4|    unsigned long new_flags = (self->tp_flags & ~mask) | flags;
 6407|      4|    if (new_flags != self->tp_flags) {
  ------------------
  |  Branch (6407:9): [True: 4, False: 0]
  ------------------
 6408|      4|        types_stop_world();
 6409|       |        // can't use new_flags here since they could be out-of-date
 6410|      4|        self->tp_flags = (self->tp_flags & ~mask) | flags;
 6411|      4|        types_start_world();
 6412|      4|    }
 6413|      4|}
_PyType_Validate:
 6417|      5|{
 6418|      5|    int err;
 6419|      5|    BEGIN_TYPE_LOCK();
 6420|      5|    err = validate(ty);
 6421|      5|    if (!err) {
  ------------------
  |  Branch (6421:9): [True: 2, False: 3]
  ------------------
 6422|      2|        if(assign_version_tag(_PyInterpreterState_GET(), ty)) {
  ------------------
  |  Branch (6422:12): [True: 2, False: 0]
  ------------------
 6423|      2|            *tp_version = ty->tp_version_tag;
 6424|      2|        }
 6425|      0|        else {
 6426|      0|            err = -1;
 6427|      0|        }
 6428|      2|    }
 6429|      5|    END_TYPE_LOCK();
 6430|      5|    return err;
 6431|      5|}
_PyType_SetFlagsRecursive:
 6458|     27|{
 6459|     27|    BEGIN_TYPE_LOCK();
 6460|       |    // Immutable/static-builtin types are skipped because
 6461|       |    // set_flags_recursive() does not modify them.
 6462|     27|    int modified = (!PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) &&
  ------------------
  |  |  500|     27|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6462:21): [True: 0, False: 27]
  ------------------
 6463|      0|                    (self->tp_flags & mask) != flags);
  ------------------
  |  Branch (6463:21): [True: 0, False: 0]
  ------------------
 6464|     27|    types_stop_world();
 6465|     27|    set_flags_recursive(self, mask, flags);
 6466|     27|    types_start_world();
 6467|       |    // Invalidate the version tags after update, while TYPE_LOCK is
 6468|       |    // still held.
 6469|     27|    ASSERT_TYPE_LOCK_HELD();
 6470|     27|    if (modified) {
  ------------------
  |  Branch (6470:9): [True: 0, False: 27]
  ------------------
 6471|      0|        _PyType_Modified_Unlocked(self);
 6472|      0|    }
 6473|     27|    END_TYPE_LOCK();
 6474|     27|}
_Py_type_getattro_impl:
 6490|  3.33k|{
 6491|  3.33k|    _PyStackRef ref = _Py_type_getattro_stackref(type, name, suppress_missing_attribute);
 6492|  3.33k|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  482|  3.33k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  3.33k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.33k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 53, False: 3.27k]
  |  |  ------------------
  ------------------
 6493|     53|        return NULL;
 6494|     53|    }
 6495|  3.27k|    return PyStackRef_AsPyObjectSteal(ref);
 6496|  3.33k|}
_Py_type_getattro:
 6502|  2.10k|{
 6503|  2.10k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|  2.10k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6504|       |    return _Py_type_getattro_impl(type, name, NULL);
 6505|  2.10k|}
_Py_type_getattro_stackref:
 6520|  6.69k|{
 6521|  6.69k|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|  6.69k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6522|  6.69k|    descrgetfunc meta_get = NULL;
 6523|       |
 6524|  6.69k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  6.69k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.69k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6524:9): [True: 0, False: 6.69k]
  ------------------
 6525|      0|        PyErr_Format(PyExc_TypeError,
 6526|      0|                     "attribute name must be string, not '%.200s'",
 6527|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6528|      0|        return PyStackRef_NULL;
 6529|      0|    }
 6530|       |
 6531|       |    /* Initialize this type (we'll assume the metatype is initialized) */
 6532|  6.69k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (6532:9): [True: 0, False: 6.69k]
  ------------------
 6533|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (6533:13): [True: 0, False: 0]
  ------------------
 6534|      0|            return PyStackRef_NULL;
 6535|      0|    }
 6536|       |
 6537|       |    /* Set up GC-visible stack refs */
 6538|  6.69k|    _PyCStackRef result_ref, meta_attribute_ref, attribute_ref;
 6539|  6.69k|    PyThreadState *tstate = _PyThreadState_GET();
 6540|  6.69k|    _PyThreadState_PushCStackRef(tstate, &result_ref);
 6541|  6.69k|    _PyThreadState_PushCStackRef(tstate, &meta_attribute_ref);
 6542|  6.69k|    _PyThreadState_PushCStackRef(tstate, &attribute_ref);
 6543|       |
 6544|       |    /* Look for the attribute in the metatype */
 6545|  6.69k|    _PyType_LookupStackRefAndVersion(metatype, name, &meta_attribute_ref.ref);
 6546|       |
 6547|  6.69k|    if (!PyStackRef_IsNull(meta_attribute_ref.ref)) {
  ------------------
  |  |  482|  6.69k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  6.69k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.69k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6547:9): [True: 2.81k, False: 3.88k]
  ------------------
 6548|  2.81k|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6549|  2.81k|        meta_get = Py_TYPE(meta_attr_obj)->tp_descr_get;
  ------------------
  |  |  213|  2.81k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6550|       |
 6551|  2.81k|        if (meta_get != NULL && PyDescr_IsData(meta_attr_obj)) {
  ------------------
  |  Branch (6551:13): [True: 1.88k, False: 935]
  |  Branch (6551:33): [True: 743, False: 1.13k]
  ------------------
 6552|       |            /* Data descriptors implement tp_descr_set to intercept
 6553|       |             * writes. Assume the attribute is not overridden in
 6554|       |             * type's tp_dict (and bases): call the descriptor now.
 6555|       |             */
 6556|    743|            PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6557|    743|                                     (PyObject *)metatype);
 6558|    743|            if (res != NULL) {
  ------------------
  |  Branch (6558:17): [True: 719, False: 24]
  ------------------
 6559|    719|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6560|    719|            }
 6561|    743|            goto done;
 6562|    743|        }
 6563|  2.81k|    }
 6564|       |
 6565|       |    /* No data descriptor found on metatype. Look in tp_dict of this
 6566|       |     * type and its bases */
 6567|  5.95k|    _PyType_LookupStackRefAndVersion(type, name, &attribute_ref.ref);
 6568|  5.95k|    if (!PyStackRef_IsNull(attribute_ref.ref)) {
  ------------------
  |  |  482|  5.95k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  5.95k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.95k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6568:9): [True: 5.78k, False: 166]
  ------------------
 6569|       |        /* Implement descriptor functionality, if any */
 6570|  5.78k|        PyObject *attr_obj = PyStackRef_AsPyObjectBorrow(attribute_ref.ref);
 6571|  5.78k|        descrgetfunc local_get = Py_TYPE(attr_obj)->tp_descr_get;
  ------------------
  |  |  213|  5.78k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6572|       |
 6573|       |        /* Release meta_attribute early since we found in local dict */
 6574|  5.78k|        PyStackRef_CLEAR(meta_attribute_ref.ref);
  ------------------
  |  |  732|  5.78k|    do { \
  |  |  733|  5.78k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  5.78k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  5.78k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  5.78k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  5.78k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 5.78k]
  |  |  ------------------
  ------------------
 6575|       |
 6576|  5.78k|        if (local_get != NULL) {
  ------------------
  |  Branch (6576:13): [True: 5.50k, False: 282]
  ------------------
 6577|       |            /* Special case staticmethod to avoid descriptor call overhead.
 6578|       |             * staticmethod.__get__ just returns the wrapped callable. */
 6579|  5.50k|            if (Py_TYPE(attr_obj) == &PyStaticMethod_Type) {
  ------------------
  |  |  213|  5.50k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6579:17): [True: 1.62k, False: 3.87k]
  ------------------
 6580|  1.62k|                PyObject *callable = _PyStaticMethod_GetFunc(attr_obj);
 6581|  1.62k|                if (callable) {
  ------------------
  |  Branch (6581:21): [True: 1.62k, False: 0]
  ------------------
 6582|  1.62k|                    result_ref.ref = PyStackRef_FromPyObjectNew(callable);
  ------------------
  |  |  611|  1.62k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6583|  1.62k|                    goto done;
 6584|  1.62k|                }
 6585|  1.62k|            }
 6586|       |            /* NULL 2nd argument indicates the descriptor was
 6587|       |             * found on the target object itself (or a base)  */
 6588|  3.87k|            PyObject *res = local_get(attr_obj, (PyObject *)NULL,
 6589|  3.87k|                                      (PyObject *)type);
 6590|  3.87k|            if (res != NULL) {
  ------------------
  |  Branch (6590:17): [True: 3.87k, False: 0]
  ------------------
 6591|  3.87k|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6592|  3.87k|            }
 6593|  3.87k|            goto done;
 6594|  5.50k|        }
 6595|       |
 6596|       |        /* No descriptor, return the attribute directly */
 6597|    282|        result_ref.ref = attribute_ref.ref;
 6598|    282|        attribute_ref.ref = PyStackRef_NULL;
 6599|    282|        goto done;
 6600|  5.78k|    }
 6601|       |
 6602|       |    /* No attribute found in local __dict__ (or bases): use the
 6603|       |     * descriptor from the metatype, if any */
 6604|    166|    if (meta_get != NULL) {
  ------------------
  |  Branch (6604:9): [True: 135, False: 31]
  ------------------
 6605|    135|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6606|    135|        PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6607|    135|                                 (PyObject *)metatype);
 6608|    135|        if (res != NULL) {
  ------------------
  |  Branch (6608:13): [True: 135, False: 0]
  ------------------
 6609|    135|            result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6610|    135|        }
 6611|    135|        goto done;
 6612|    135|    }
 6613|       |
 6614|       |    /* If an ordinary attribute was found on the metatype, return it now */
 6615|     31|    if (!PyStackRef_IsNull(meta_attribute_ref.ref)) {
  ------------------
  |  |  482|     31|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|     31|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     31|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6615:9): [True: 0, False: 31]
  ------------------
 6616|      0|        result_ref.ref = meta_attribute_ref.ref;
 6617|      0|        meta_attribute_ref.ref = PyStackRef_NULL;
 6618|      0|        goto done;
 6619|      0|    }
 6620|       |
 6621|       |    /* Give up */
 6622|     31|    if (suppress_missing_attribute == NULL) {
  ------------------
  |  Branch (6622:9): [True: 2, False: 29]
  ------------------
 6623|      2|        PyErr_Format(PyExc_AttributeError,
 6624|      2|                     "type object '%.100s' has no attribute '%U'",
 6625|      2|                     type->tp_name, name);
 6626|      2|    }
 6627|     29|    else {
 6628|       |        // signal the caller we have not set an PyExc_AttributeError and gave up
 6629|     29|        *suppress_missing_attribute = 1;
 6630|     29|    }
 6631|       |
 6632|  6.69k|done:
 6633|  6.69k|    _PyThreadState_PopCStackRef(tstate, &attribute_ref);
 6634|  6.69k|    _PyThreadState_PopCStackRef(tstate, &meta_attribute_ref);
 6635|  6.69k|    return _PyThreadState_PopCStackRefSteal(tstate, &result_ref);
 6636|     31|}
_Py_BaseObject_RichCompare:
 7514|    102|{
 7515|    102|    return object_richcompare(self, other, op);
 7516|    102|}
_PyType_AddMethod:
 8656|      2|{
 8657|      2|    return type_add_method(type, meth);
 8658|      2|}
_PyStaticType_InitForExtension:
 9727|     12|{
 9728|     12|    return init_static_type(interp, self, 0, ((self->tp_flags & Py_TPFLAGS_READY) == 0));
  ------------------
  |  |  518|     12|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9729|     12|}
_PyStaticType_InitBuiltin:
 9733|    400|{
 9734|    400|    return init_static_type(interp, self, 1, _Py_IsMainInterpreter(interp));
 9735|    400|}
_PyType_InitSlotDefs:
12334|      2|{
12335|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (12335:9): [True: 0, False: 2]
  ------------------
12336|      0|        return 0;
12337|      0|    }
12338|      2|    init_slotname_table();
12339|       |
12340|       |    /* Group the slotdefs by name: slotdefs_dups[i] lists the indices of
12341|       |       all slotdefs with the same name as slotdefs[i], in slotdefs order. */
12342|      2|    memset(slotdefs_dups, 0, sizeof(slotdefs_dups));
12343|    190|    for (Py_ssize_t idx = 0; slotdefs[idx].name_strobj != NULL; idx++) {
  ------------------
  |  Branch (12343:30): [True: 188, False: 2]
  ------------------
12344|    188|        assert(idx < 255);
  ------------------
  |  Branch (12344:9): [True: 188, False: 0]
  ------------------
12345|    188|        PyObject *name = slotdefs[idx].name_strobj;
12346|    188|        Py_ssize_t first = slotname_lookup(name, _PyObject_HashDictKey(name));
12347|    188|        assert(first >= 0 && first <= idx);
  ------------------
  |  Branch (12347:9): [True: 188, False: 0]
  |  Branch (12347:9): [True: 188, False: 0]
  ------------------
12348|    188|        uint8_t *data = slotdefs_dups[first];
12349|    188|        data[0] += 1;
12350|    188|        assert(data[0] < MAX_EQUIV);
  ------------------
  |  Branch (12350:9): [True: 188, False: 0]
  ------------------
12351|    188|        data[data[0]] = (uint8_t)idx;
12352|    188|    }
12353|    190|    for (Py_ssize_t idx = 0; slotdefs[idx].name_strobj != NULL; idx++) {
  ------------------
  |  Branch (12353:30): [True: 188, False: 2]
  ------------------
12354|    188|        PyObject *name = slotdefs[idx].name_strobj;
12355|    188|        Py_ssize_t first = slotname_lookup(name, _PyObject_HashDictKey(name));
12356|    188|        if (first != idx) {
  ------------------
  |  Branch (12356:13): [True: 26, False: 162]
  ------------------
12357|     26|            memcpy(slotdefs_dups[idx], slotdefs_dups[first],
12358|     26|                   sizeof(slotdefs_dups[idx]));
12359|     26|        }
12360|    188|    }
12361|      2|    return 0;
12362|      2|}
_PySuper_LookupDescr:
12725|  2.18k|{
12726|  2.18k|    PyObject *mro, *res;
12727|  2.18k|    Py_ssize_t i, n;
12728|       |
12729|  2.18k|    mro = lookup_tp_mro(su_obj_type);
12730|  2.18k|    if (mro == NULL)
  ------------------
  |  Branch (12730:9): [True: 0, False: 2.18k]
  ------------------
12731|      0|        return NULL;
12732|       |
12733|       |    /* Keep a strong reference to mro because su_obj_type->tp_mro can be
12734|       |       replaced during PyDict_GetItemRef(dict, name, &res). */
12735|  2.18k|    PyThreadState *tstate = _PyThreadState_GET();
12736|  2.18k|    _PyCStackRef mro_ref;
12737|  2.18k|    _PyThreadState_PushCStackRefNew(tstate, &mro_ref, mro);
12738|       |
12739|  2.18k|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (12739:5): [True: 2.18k, False: 0]
  ------------------
12740|  2.18k|    n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  2.18k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12741|       |
12742|       |    /* No need to check the last one: it's gonna be skipped anyway.  */
12743|  2.19k|    for (i = 0; i+1 < n; i++) {
  ------------------
  |  Branch (12743:17): [True: 2.19k, False: 0]
  ------------------
12744|  2.19k|        if ((PyObject *)(su_type) == PyTuple_GET_ITEM(mro, i))
  ------------------
  |  |   29|  2.19k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.19k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12744:13): [True: 2.18k, False: 2]
  |  Branch (12744:38): [True: 2.19k, False: 0]
  ------------------
12745|  2.18k|            break;
12746|  2.19k|    }
12747|  2.18k|    i++;  /* skip su->type (if any)  */
12748|  2.18k|    if (i >= n) {
  ------------------
  |  Branch (12748:9): [True: 0, False: 2.18k]
  ------------------
12749|      0|        _PyThreadState_PopCStackRef(tstate, &mro_ref);
12750|      0|        return NULL;
12751|      0|    }
12752|       |
12753|  3.56k|    do {
12754|  3.56k|        PyObject *obj = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  3.56k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.56k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12754:25): [True: 3.56k, False: 0]
  ------------------
12755|  3.56k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(obj));
  ------------------
  |  |  770|  3.56k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (12755:41): [True: 3.56k, False: 0]
  ------------------
12756|  3.56k|        assert(dict != NULL && PyDict_Check(dict));
  ------------------
  |  Branch (12756:9): [True: 3.56k, False: 0]
  |  Branch (12756:9): [True: 3.56k, False: 0]
  ------------------
12757|       |
12758|  3.56k|        if (PyDict_GetItemRef(dict, name, &res) != 0) {
  ------------------
  |  Branch (12758:13): [True: 2.18k, False: 1.37k]
  ------------------
12759|       |            // found or error
12760|  2.18k|            _PyThreadState_PopCStackRef(tstate, &mro_ref);
12761|  2.18k|            return res;
12762|  2.18k|        }
12763|       |
12764|  1.37k|        i++;
12765|  1.37k|    } while (i < n);
  ------------------
  |  Branch (12765:14): [True: 1.37k, False: 0]
  ------------------
12766|      0|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
12767|       |    return NULL;
12768|  2.18k|}
_PySuper_Lookup:
12906|  1.38k|{
12907|  1.38k|    PyTypeObject *su_obj_type = supercheck(su_type, su_obj);
12908|  1.38k|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12908:9): [True: 0, False: 1.38k]
  ------------------
12909|      0|        return NULL;
12910|      0|    }
12911|  1.38k|    PyObject *res = do_super_lookup(NULL, su_type, su_obj, su_obj_type, name, method);
12912|  1.38k|    Py_DECREF(su_obj_type);
  ------------------
  |  |  430|  1.38k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12913|  1.38k|    return res;
12914|  1.38k|}
typeobject.c:managed_static_type_state_get:
  227|   733k|{
  228|       |    // It's probably a builtin type.
  229|   733k|    size_t index = managed_static_type_index_get(self);
  230|   733k|    managed_static_type_state *state =
  231|   733k|            &(interp->types.builtins.initialized[index]);
  232|   733k|    if (state->type == self) {
  ------------------
  |  Branch (232:9): [True: 733k, False: 320]
  ------------------
  233|   733k|        return state;
  234|   733k|    }
  235|    320|    if (index > _Py_MAX_MANAGED_STATIC_EXT_TYPES) {
  ------------------
  |  |  544|    320|#define _Py_MAX_MANAGED_STATIC_EXT_TYPES 10
  ------------------
  |  Branch (235:9): [True: 0, False: 320]
  ------------------
  236|      0|        return state;
  237|      0|    }
  238|    320|    return &(interp->types.for_extensions.initialized[index]);
  239|    320|}
typeobject.c:managed_static_type_index_get:
  181|   733k|{
  182|   733k|    assert(managed_static_type_index_is_set(self));
  ------------------
  |  Branch (182:5): [True: 733k, False: 0]
  ------------------
  183|       |    /* We store a 1-based index so 0 can mean "not initialized". */
  184|   733k|    return (size_t)self->tp_subclasses - 1;
  185|   733k|}
typeobject.c:managed_static_type_index_is_set:
  174|   734k|{
  175|       |    return self->tp_subclasses != NULL;
  176|   734k|}
typeobject.c:lookup_tp_dict:
  469|  1.29M|{
  470|  1.29M|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.29M|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (470:9): [True: 191k, False: 1.10M]
  ------------------
  471|   191k|        PyInterpreterState *interp = _PyInterpreterState_GET();
  472|   191k|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  473|   191k|        assert(state != NULL);
  ------------------
  |  Branch (473:9): [True: 191k, False: 0]
  ------------------
  474|   191k|        return state->tp_dict;
  475|   191k|    }
  476|  1.10M|    return self->tp_dict;
  477|  1.29M|}
typeobject.c:lookup_tp_bases:
  522|  6.19k|{
  523|  6.19k|    return self->tp_bases;
  524|  6.19k|}
typeobject.c:lookup_tp_subclasses:
  709|  1.76k|{
  710|  1.76k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.76k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (710:9): [True: 682, False: 1.08k]
  ------------------
  711|    682|        PyInterpreterState *interp = _PyInterpreterState_GET();
  712|    682|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  713|    682|        assert(state != NULL);
  ------------------
  |  Branch (713:9): [True: 682, False: 0]
  ------------------
  714|    682|        return state->tp_subclasses;
  715|    682|    }
  716|  1.08k|    return (PyObject *)self->tp_subclasses;
  717|  1.76k|}
typeobject.c:init_tp_subclasses:
  677|    214|{
  678|    214|    PyObject *subclasses = PyDict_New();
  679|    214|    if (subclasses == NULL) {
  ------------------
  |  Branch (679:9): [True: 0, False: 214]
  ------------------
  680|      0|        return NULL;
  681|      0|    }
  682|    214|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    214|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (682:9): [True: 71, False: 143]
  ------------------
  683|     71|        PyInterpreterState *interp = _PyInterpreterState_GET();
  684|     71|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  685|     71|        state->tp_subclasses = subclasses;
  686|     71|        return subclasses;
  687|     71|    }
  688|    143|    self->tp_subclasses = (void *)subclasses;
  689|    143|    return subclasses;
  690|    214|}
typeobject.c:get_subclasses_unlocked:
  753|     46|{
  754|     46|    ASSERT_TYPE_LOCK_HELD();
  755|       |
  756|     46|    PyObject *subclasses = lookup_tp_subclasses(self);  // borrowed ref
  757|     46|    if (subclasses == NULL) {
  ------------------
  |  Branch (757:9): [True: 46, False: 0]
  ------------------
  758|     46|        return 0;
  759|     46|    }
  760|     46|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (760:5): [True: 0, False: 0]
  ------------------
  761|       |    // The loop cannot modify tp_subclasses, there is no need
  762|       |    // to hold a strong reference (use a borrowed reference).
  763|       |
  764|      0|    Py_ssize_t i = 0;
  765|      0|    PyObject *ref;  // borrowed ref
  766|      0|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (766:12): [True: 0, False: 0]
  ------------------
  767|      0|        PyTypeObject *subclass = type_from_ref(ref);
  768|      0|        if (subclass == NULL) {
  ------------------
  |  Branch (768:13): [True: 0, False: 0]
  ------------------
  769|      0|            continue;
  770|      0|        }
  771|       |
  772|      0|        int res = PyList_Append(list, _PyObject_CAST(subclass));
  ------------------
  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  773|      0|        Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|      0|        if (res < 0) {
  ------------------
  |  Branch (774:13): [True: 0, False: 0]
  ------------------
  775|      0|            return -1;
  776|      0|        }
  777|      0|    }
  778|      0|    return 0;
  779|      0|}
typeobject.c:is_readying:
  454|  4.65k|{
  455|  4.65k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  4.65k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (455:9): [True: 824, False: 3.83k]
  ------------------
  456|    824|        PyInterpreterState *interp = _PyInterpreterState_GET();
  457|    824|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  458|    824|        assert(state != NULL);
  ------------------
  |  Branch (458:9): [True: 824, False: 0]
  ------------------
  459|    824|        return state->readying;
  460|    824|    }
  461|  3.83k|    return (type->tp_flags & Py_TPFLAGS_READYING) != 0;
  ------------------
  |  |  521|  3.83k|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  462|  4.65k|}
typeobject.c:_PyType_DocWithoutSignature:
  895|    496|{
  896|    496|    const char *doc = find_signature(name, internal_doc);
  897|       |
  898|    496|    if (doc) {
  ------------------
  |  Branch (898:9): [True: 224, False: 272]
  ------------------
  899|    224|        doc = skip_signature(doc);
  900|    224|        if (doc)
  ------------------
  |  Branch (900:13): [True: 200, False: 24]
  ------------------
  901|    200|            return doc;
  902|    224|        }
  903|    296|    return internal_doc;
  904|    496|}
typeobject.c:find_signature:
  816|    496|{
  817|    496|    const char *dot;
  818|    496|    size_t length;
  819|       |
  820|    496|    if (!doc)
  ------------------
  |  Branch (820:9): [True: 0, False: 496]
  ------------------
  821|      0|        return NULL;
  822|       |
  823|    496|    assert(name != NULL);
  ------------------
  |  Branch (823:5): [True: 496, False: 0]
  ------------------
  824|       |
  825|       |    /* for dotted names like classes, only use the last component */
  826|    496|    dot = strrchr(name, '.');
  827|    496|    if (dot)
  ------------------
  |  Branch (827:9): [True: 268, False: 228]
  ------------------
  828|    268|        name = dot + 1;
  829|       |
  830|    496|    length = strlen(name);
  831|    496|    if (strncmp(doc, name, length))
  ------------------
  |  Branch (831:9): [True: 240, False: 256]
  ------------------
  832|    240|        return NULL;
  833|    256|    doc += length;
  834|    256|    if (*doc != '(')
  ------------------
  |  Branch (834:9): [True: 32, False: 224]
  ------------------
  835|     32|        return NULL;
  836|    224|    return doc;
  837|    256|}
typeobject.c:skip_signature:
  847|    224|{
  848|  10.1k|    while (*doc) {
  ------------------
  |  Branch (848:12): [True: 10.1k, False: 8]
  ------------------
  849|  10.1k|        if ((*doc == *SIGNATURE_END_MARKER) &&
  ------------------
  |  |  839|  10.1k|#define SIGNATURE_END_MARKER         ")\n--\n\n"
  ------------------
  |  Branch (849:13): [True: 314, False: 9.79k]
  ------------------
  850|    314|            !strncmp(doc, SIGNATURE_END_MARKER, SIGNATURE_END_MARKER_LENGTH))
  ------------------
  |  |  839|    314|#define SIGNATURE_END_MARKER         ")\n--\n\n"
  ------------------
                          !strncmp(doc, SIGNATURE_END_MARKER, SIGNATURE_END_MARKER_LENGTH))
  ------------------
  |  |  840|    314|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  |  Branch (850:13): [True: 200, False: 114]
  ------------------
  851|    200|            return doc + SIGNATURE_END_MARKER_LENGTH;
  ------------------
  |  |  840|    200|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  852|  9.90k|        if ((*doc == '\n') && (doc[1] == '\n'))
  ------------------
  |  Branch (852:13): [True: 124, False: 9.78k]
  |  Branch (852:31): [True: 16, False: 108]
  ------------------
  853|     16|            return NULL;
  854|  9.89k|        doc++;
  855|  9.89k|    }
  856|      8|    return NULL;
  857|    224|}
typeobject.c:set_version_unlocked:
 1071|    946|{
 1072|    946|    assert(version == 0 || (tp->tp_versions_used != _Py_ATTR_CACHE_UNUSED));
  ------------------
  |  Branch (1072:5): [True: 170, False: 776]
  |  Branch (1072:5): [True: 776, False: 0]
  ------------------
 1073|    946|#ifndef Py_GIL_DISABLED
 1074|    946|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1075|       |    // lookup the old version and set to null
 1076|    946|    if (tp->tp_version_tag != 0) {
  ------------------
  |  Branch (1076:9): [True: 170, False: 776]
  ------------------
 1077|    170|        PyTypeObject **slot =
 1078|    170|            interp->types.type_version_cache
 1079|    170|            + (tp->tp_version_tag % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  583|    170|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1080|    170|        *slot = NULL;
 1081|    170|    }
 1082|    946|    if (version) {
  ------------------
  |  Branch (1082:9): [True: 776, False: 170]
  ------------------
 1083|    776|        tp->tp_versions_used++;
 1084|    776|    }
 1085|       |#else
 1086|       |    if (version) {
 1087|       |        _Py_atomic_add_uint16(&tp->tp_versions_used, 1);
 1088|       |    }
 1089|       |#endif
 1090|    946|    FT_ATOMIC_STORE_UINT_RELAXED(tp->tp_version_tag, version);
  ------------------
  |  |  193|    946|#define FT_ATOMIC_STORE_UINT_RELAXED(value, new_value) value = new_value
  ------------------
 1091|    946|#ifndef Py_GIL_DISABLED
 1092|    946|    if (version != 0) {
  ------------------
  |  Branch (1092:9): [True: 776, False: 170]
  ------------------
 1093|    776|        PyTypeObject **slot =
 1094|    776|            interp->types.type_version_cache
 1095|    776|            + (version % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  583|    776|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1096|    776|        *slot = tp;
 1097|    776|    }
 1098|    946|#endif
 1099|    946|}
typeobject.c:assign_version_tag:
 1347|  1.07k|{
 1348|  1.07k|    ASSERT_TYPE_LOCK_HELD();
 1349|       |
 1350|       |    /* Ensure that the tp_version_tag is valid.
 1351|       |     * To respect the invariant, this must first be done on all super classes.
 1352|       |     * Return 0 if this cannot be done, 1 if tp_version_tag is set.
 1353|       |    */
 1354|  1.07k|    if (type->tp_version_tag != 0) {
  ------------------
  |  Branch (1354:9): [True: 424, False: 652]
  ------------------
 1355|    424|        return 1;
 1356|    424|    }
 1357|    652|    if (!_PyType_HasFeature(type, Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|    652|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (1357:9): [True: 264, False: 388]
  ------------------
 1358|    264|        return 0;
 1359|    264|    }
 1360|    388|    if (type->tp_versions_used >= MAX_VERSIONS_PER_CLASS) {
  ------------------
  |  | 1327|    388|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (1360:9): [True: 0, False: 388]
  ------------------
 1361|       |        /* (this includes `tp_versions_used == _Py_ATTR_CACHE_UNUSED`) */
 1362|      0|        return 0;
 1363|      0|    }
 1364|       |
 1365|    388|    PyObject *bases = lookup_tp_bases(type);
 1366|    388|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    388|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    388|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    388|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1367|    851|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1367:28): [True: 463, False: 388]
  ------------------
 1368|    463|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    463|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    463|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    463|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1368:23): [True: 463, False: 0]
  ------------------
 1369|    463|        if (!assign_version_tag(interp, _PyType_CAST(b))) {
  ------------------
  |  |  770|    463|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    463|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1369:13): [True: 0, False: 463]
  |  Branch (1369:41): [True: 463, False: 0]
  ------------------
 1370|      0|            return 0;
 1371|      0|        }
 1372|    463|    }
 1373|    388|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    388|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1373:9): [True: 25, False: 363]
  ------------------
 1374|       |        /* static types */
 1375|     25|        unsigned int next_version_tag = next_global_version_tag();
 1376|     25|        if (next_version_tag == 0) {
  ------------------
  |  Branch (1376:13): [True: 0, False: 25]
  ------------------
 1377|       |            /* We have run out of version numbers */
 1378|      0|            return 0;
 1379|      0|        }
 1380|     25|        set_version_unlocked(type, next_version_tag);
 1381|     25|        assert (type->tp_version_tag <= _Py_MAX_GLOBAL_TYPE_VERSION_TAG);
  ------------------
  |  Branch (1381:9): [True: 25, False: 0]
  ------------------
 1382|     25|    }
 1383|    363|    else {
 1384|       |        /* heap types */
 1385|    363|        if (NEXT_VERSION_TAG(interp) == 0) {
  ------------------
  |  |   47|    363|    (interp)->types.next_version_tag
  ------------------
  |  Branch (1385:13): [True: 0, False: 363]
  ------------------
 1386|       |            /* We have run out of version numbers */
 1387|      0|            return 0;
 1388|      0|        }
 1389|    363|        set_version_unlocked(type, NEXT_VERSION_TAG(interp)++);
  ------------------
  |  |   47|    363|    (interp)->types.next_version_tag
  ------------------
 1390|    363|        assert (type->tp_version_tag != 0);
  ------------------
  |  Branch (1390:9): [True: 363, False: 0]
  ------------------
 1391|    363|    }
 1392|    388|    return 1;
 1393|    388|}
typeobject.c:next_global_version_tag:
 1334|    413|{
 1335|    413|    unsigned int old;
 1336|    413|    do {
 1337|    413|        old = _Py_atomic_load_uint_relaxed(&_PyRuntime.types.next_version_tag);
 1338|    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 (1338:13): [True: 0, False: 413]
  ------------------
 1339|      0|            return 0;
 1340|      0|        }
 1341|    413|    } while (!_Py_atomic_compare_exchange_uint(&_PyRuntime.types.next_version_tag, &old, old + 1));
  ------------------
  |  Branch (1341:14): [True: 0, False: 413]
  ------------------
 1342|    413|    return old + 1;
 1343|    413|}
typeobject.c:type_qualname:
 1473|     26|{
 1474|     26|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     26|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1475|     26|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     26|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1475:9): [True: 2, False: 24]
  ------------------
 1476|      2|        PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 1477|      2|        return Py_NewRef(et->ht_qualname);
  ------------------
  |  |  647|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|      2|    }
 1479|     24|    else {
 1480|     24|        return PyUnicode_FromString(_PyType_Name(type));
 1481|     24|    }
 1482|     26|}
typeobject.c:type_module:
 1546|     26|{
 1547|     26|    PyObject *mod;
 1548|     26|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     26|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1548:9): [True: 2, False: 24]
  ------------------
 1549|      2|        PyObject *dict = lookup_tp_dict(type);
 1550|      2|        if (PyDict_GetItemRef(dict, &_Py_ID(__module__), &mod) == 0) {
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1550:13): [True: 0, False: 2]
  ------------------
 1551|      0|            PyErr_Format(PyExc_AttributeError, "__module__");
 1552|      0|        }
 1553|      2|    }
 1554|     24|    else {
 1555|     24|        const char *s = strrchr(type->tp_name, '.');
 1556|     24|        if (s != NULL) {
  ------------------
  |  Branch (1556:13): [True: 18, False: 6]
  ------------------
 1557|     18|            mod = PyUnicode_FromStringAndSize(
 1558|     18|                type->tp_name, (Py_ssize_t)(s - type->tp_name));
 1559|     18|            if (mod != NULL) {
  ------------------
  |  Branch (1559:17): [True: 18, False: 0]
  ------------------
 1560|     18|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1561|     18|                _PyUnicode_InternMortal(interp, &mod);
 1562|     18|            }
 1563|     18|        }
 1564|      6|        else {
 1565|      6|            mod = &_Py_ID(builtins);
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1566|      6|        }
 1567|     24|    }
 1568|     26|    return mod;
 1569|     26|}
typeobject.c:is_subtype_with_mro:
 2935|  2.68M|{
 2936|  2.68M|    int res;
 2937|  2.68M|    if (a_mro != NULL) {
  ------------------
  |  Branch (2937:9): [True: 2.68M, False: 2.10k]
  ------------------
 2938|       |        /* Deal with multiple inheritance without recursion
 2939|       |           by walking the MRO tuple */
 2940|  2.68M|        Py_ssize_t i, n;
 2941|  2.68M|        assert(PyTuple_Check(a_mro));
  ------------------
  |  Branch (2941:9): [True: 2.68M, False: 0]
  ------------------
 2942|  2.68M|        n = PyTuple_GET_SIZE(a_mro);
  ------------------
  |  |   27|  2.68M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2943|  2.68M|        res = 0;
 2944|  7.77M|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2944:21): [True: 5.45M, False: 2.31M]
  ------------------
 2945|  10.9M|            if (PyTuple_GET_ITEM(a_mro, i) == (PyObject *)b) {
  ------------------
  |  |   29|  5.45M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  5.45M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2945:17): [True: 5.45M, False: 0]
  |  Branch (2945:17): [True: 367k, False: 5.08M]
  ------------------
 2946|   367k|                res = 1;
 2947|   367k|                break;
 2948|   367k|            }
 2949|  5.45M|        }
 2950|  2.68M|    }
 2951|  2.10k|    else {
 2952|       |        /* a is not completely initialized yet; follow tp_base */
 2953|  2.10k|        res = type_is_subtype_base_chain(a, b);
 2954|  2.10k|    }
 2955|  2.68M|    return res;
 2956|  2.68M|}
typeobject.c:type_is_subtype_base_chain:
 2923|  2.10k|{
 2924|  2.18k|    do {
 2925|  2.18k|        if (a == b)
  ------------------
  |  Branch (2925:13): [True: 22, False: 2.15k]
  ------------------
 2926|     22|            return 1;
 2927|  2.15k|        a = a->tp_base;
 2928|  2.15k|    } while (a != NULL);
  ------------------
  |  Branch (2928:14): [True: 78, False: 2.08k]
  ------------------
 2929|       |
 2930|  2.08k|    return (b == &PyBaseObject_Type);
 2931|  2.10k|}
typeobject.c:maybe_call_special_no_args:
 3200|      4|{
 3201|      4|    PyThreadState *tstate = _PyThreadState_GET();
 3202|      4|    _PyCStackRef cref;
 3203|      4|    _PyThreadState_PushCStackRef(tstate, &cref);
 3204|       |
 3205|      4|    PyObject *res = NULL;
 3206|      4|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3207|      4|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3208|      4|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3208:9): [True: 4, False: 0]
  ------------------
 3209|      4|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3210|      4|    }
 3211|      4|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3211:9): [True: 4, False: 0]
  |  Branch (3211:26): [True: 4, False: 0]
  |  Branch (3211:45): [True: 0, False: 0]
  ------------------
 3212|      4|        res = call_unbound_noarg(unbound, func, self);
 3213|      4|    }
 3214|      4|    _PyThreadState_PopCStackRef(tstate, &cref);
 3215|      4|    return res;
 3216|      4|}
typeobject.c:lookup_maybe_method:
 3069|     11|{
 3070|     11|    return lookup_method_ex(self, attr, out, 0);
 3071|     11|}
typeobject.c:lookup_method_ex:
 3035|  1.46k|{
 3036|  1.46k|    _PyType_LookupStackRefAndVersion(Py_TYPE(self), attr, out);
  ------------------
  |  |  213|  1.46k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3037|  1.46k|    if (PyStackRef_IsNull(*out)) {
  ------------------
  |  |  482|  1.46k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  1.46k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.46k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 1.46k]
  |  |  ------------------
  ------------------
 3038|      0|        if (raise_attribute_error) {
  ------------------
  |  Branch (3038:13): [True: 0, False: 0]
  ------------------
 3039|      0|            PyErr_SetObject(PyExc_AttributeError, attr);
 3040|      0|        }
 3041|      0|        return -1;
 3042|      0|    }
 3043|       |
 3044|  1.46k|    PyObject *value = PyStackRef_AsPyObjectBorrow(*out);
 3045|  1.46k|    if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  1.46k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  1.46k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (3045:9): [True: 1.46k, False: 0]
  ------------------
 3046|       |        /* Avoid temporary PyMethodObject */
 3047|  1.46k|        return 1;
 3048|  1.46k|    }
 3049|       |
 3050|      0|    descrgetfunc f = Py_TYPE(value)->tp_descr_get;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3051|      0|    if (f != NULL) {
  ------------------
  |  Branch (3051:9): [True: 0, False: 0]
  ------------------
 3052|      0|        value = f(value, self, (PyObject *)(Py_TYPE(self)));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3053|      0|        PyStackRef_CLEAR(*out);
  ------------------
  |  |  732|      0|    do { \
  |  |  733|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3054|      0|        if (value == NULL) {
  ------------------
  |  Branch (3054:13): [True: 0, False: 0]
  ------------------
 3055|      0|            if (!raise_attribute_error &&
  ------------------
  |  Branch (3055:17): [True: 0, False: 0]
  ------------------
 3056|      0|                PyErr_ExceptionMatches(PyExc_AttributeError))
  ------------------
  |  Branch (3056:17): [True: 0, False: 0]
  ------------------
 3057|      0|            {
 3058|      0|                PyErr_Clear();
 3059|      0|            }
 3060|      0|            return -1;
 3061|      0|        }
 3062|      0|        *out = PyStackRef_FromPyObjectSteal(value);
 3063|      0|    }
 3064|      0|    return 0;
 3065|      0|}
typeobject.c:call_unbound_noarg:
 3097|     86|{
 3098|     86|    if (unbound) {
  ------------------
  |  Branch (3098:9): [True: 86, False: 0]
  ------------------
 3099|     86|        return PyObject_CallOneArg(func, self);
 3100|     86|    }
 3101|      0|    else {
 3102|      0|        return _PyObject_CallNoArgs(func);
 3103|      0|    }
 3104|     86|}
typeobject.c:maybe_call_special_one_arg:
 3221|      6|{
 3222|      6|    PyThreadState *tstate = _PyThreadState_GET();
 3223|      6|    _PyCStackRef cref;
 3224|      6|    _PyThreadState_PushCStackRef(tstate, &cref);
 3225|       |
 3226|      6|    PyObject *res = NULL;
 3227|      6|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3228|      6|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3229|      6|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3229:9): [True: 6, False: 0]
  ------------------
 3230|      6|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3231|      6|    }
 3232|      6|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3232:9): [True: 6, False: 0]
  |  Branch (3232:26): [True: 6, False: 0]
  |  Branch (3232:45): [True: 0, False: 0]
  ------------------
 3233|      6|        PyObject *args[] = { self, arg };
 3234|      6|        res = vectorcall_unbound(tstate, unbound, func, args, 2);
 3235|      6|    }
 3236|      6|    _PyThreadState_PopCStackRef(tstate, &cref);
 3237|      6|    return res;
 3238|      6|}
typeobject.c:vectorcall_unbound:
 3083|    307|{
 3084|    307|    size_t nargsf = nargs;
 3085|    307|    if (!unbound) {
  ------------------
  |  Branch (3085:9): [True: 0, False: 307]
  ------------------
 3086|       |        /* Skip self argument, freeing up args[0] to use for
 3087|       |         * PY_VECTORCALL_ARGUMENTS_OFFSET */
 3088|      0|        args++;
 3089|      0|        nargsf = nargsf - 1 + PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      0|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3090|      0|    }
 3091|    307|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_SLOT, func);
  ------------------
  |  |   80|    307|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
 3092|       |    return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL);
 3093|    307|}
typeobject.c:type_from_slots_or_spec:
 5253|    127|{
 5254|       |    /* Invariant: A non-NULL value in one of these means this function holds
 5255|       |     * a strong reference or owns allocated memory.
 5256|       |     * These get decrefed/freed/returned at the end, on both success and error.
 5257|       |     */
 5258|    127|    PyHeapTypeObject *res = NULL;
 5259|    127|    PyTypeObject *type;
 5260|    127|    PyObject *bases = NULL;
 5261|    127|    char *tp_doc = NULL;
 5262|    127|    PyObject *ht_name = NULL;
 5263|    127|    char *_ht_tpname = NULL;
 5264|       |
 5265|    127|    int r;
 5266|       |
 5267|       |    /* First pass of slots */
 5268|       |
 5269|    127|    Py_ssize_t nmembers = 0;
 5270|    127|    const PyMemberDef *weaklistoffset_member = NULL;
 5271|    127|    const PyMemberDef *dictoffset_member = NULL;
 5272|    127|    const PyMemberDef *vectorcalloffset_member = NULL;
 5273|    127|    Py_ssize_t basicsize = 0;
 5274|    127|    Py_ssize_t extra_basicsize = 0;
 5275|    127|    Py_ssize_t itemsize = 0;
 5276|    127|    int flags = 0;
 5277|    127|    void *token = NULL;
 5278|       |
 5279|    127|    bool have_relative_members = false;
 5280|    127|    Py_ssize_t max_relative_offset = 0;
 5281|       |
 5282|    127|    PyObject *bases_slot = NULL; /* borrowed from the slots */
 5283|       |
 5284|    127|    _PySlotIterator it;
 5285|       |
 5286|    127|    if (spec) {
  ------------------
  |  Branch (5286:9): [True: 127, False: 0]
  ------------------
 5287|    127|        assert(!slots);
  ------------------
  |  Branch (5287:9): [True: 127, False: 0]
  ------------------
 5288|    127|        if (spec->basicsize > 0) {
  ------------------
  |  Branch (5288:13): [True: 121, False: 6]
  ------------------
 5289|    121|            basicsize = spec->basicsize;
 5290|    121|        }
 5291|    127|        if (spec->basicsize < 0) {
  ------------------
  |  Branch (5291:13): [True: 0, False: 127]
  ------------------
 5292|      0|            extra_basicsize = -spec->basicsize;
 5293|      0|        }
 5294|    127|        itemsize = spec->itemsize;
 5295|    127|        flags = spec->flags;
 5296|    127|        _PySlotIterator_InitLegacy(&it, spec->slots, _PySlot_KIND_TYPE);
 5297|    127|        it.name = spec->name;
 5298|    127|    }
 5299|      0|    else {
 5300|      0|        assert(!spec);
  ------------------
  |  Branch (5300:9): [True: 0, False: 0]
  ------------------
 5301|      0|        assert(!metaclass);
  ------------------
  |  Branch (5301:9): [True: 0, False: 0]
  ------------------
 5302|      0|        assert(!module);
  ------------------
  |  Branch (5302:9): [True: 0, False: 0]
  ------------------
 5303|      0|        assert(!bases_in);
  ------------------
  |  Branch (5303:9): [True: 0, False: 0]
  ------------------
 5304|      0|        _PySlotIterator_Init(&it, slots, _PySlot_KIND_TYPE);
 5305|      0|    }
 5306|       |
 5307|    127|    #define NO_SPEC                                         \
 5308|    127|        if (spec) {                                         \
 5309|    127|            PyErr_Format(                                   \
 5310|    127|                PyExc_SystemError,                          \
 5311|    127|                "%s must not be used with PyType_Spec",     \
 5312|    127|                _PySlot_GetName(it.current.sl_id));         \
 5313|    127|            goto finally;                                   \
 5314|    127|        }                                                   \
 5315|       |        /////////////////////////////////////////////////////
 5316|       |
 5317|  1.13k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5317:12): [True: 1.01k, False: 127]
  ------------------
 5318|  1.01k|        switch (it.current.sl_id) {
  ------------------
  |  Branch (5318:17): [True: 175, False: 836]
  ------------------
 5319|      0|        case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (5319:9): [True: 0, False: 1.01k]
  ------------------
 5320|      0|            goto finally;
 5321|      0|        case Py_tp_name:
  ------------------
  |  |  103|      0|#define Py_tp_name 95
  ------------------
  |  Branch (5321:9): [True: 0, False: 1.01k]
  ------------------
 5322|      0|            NO_SPEC;
  ------------------
  |  | 5308|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5308:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5309|      0|            PyErr_Format(                                   \
  |  | 5310|      0|                PyExc_SystemError,                          \
  |  | 5311|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5312|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5313|      0|            goto finally;                                   \
  |  | 5314|      0|        }                                                   \
  ------------------
 5323|      0|            it.name = it.current.sl_ptr;
 5324|      0|            break;
 5325|      0|        case Py_tp_metaclass:
  ------------------
  |  |  115|      0|#define Py_tp_metaclass 107
  ------------------
  |  Branch (5325:9): [True: 0, False: 1.01k]
  ------------------
 5326|      0|            NO_SPEC;
  ------------------
  |  | 5308|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5308:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5309|      0|            PyErr_Format(                                   \
  |  | 5310|      0|                PyExc_SystemError,                          \
  |  | 5311|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5312|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5313|      0|            goto finally;                                   \
  |  | 5314|      0|        }                                                   \
  ------------------
 5327|      0|            metaclass = it.current.sl_ptr;
 5328|      0|            break;
 5329|      0|        case Py_tp_module:
  ------------------
  |  |  116|      0|#define Py_tp_module 108
  ------------------
  |  Branch (5329:9): [True: 0, False: 1.01k]
  ------------------
 5330|      0|            NO_SPEC;
  ------------------
  |  | 5308|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5308:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5309|      0|            PyErr_Format(                                   \
  |  | 5310|      0|                PyExc_SystemError,                          \
  |  | 5311|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5312|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5313|      0|            goto finally;                                   \
  |  | 5314|      0|        }                                                   \
  ------------------
 5331|      0|            module = it.current.sl_ptr;
 5332|      0|            break;
 5333|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5333:9): [True: 0, False: 1.01k]
  ------------------
 5334|      0|            bases_slot = it.current.sl_ptr;
 5335|      0|            break;
 5336|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (5336:9): [True: 0, False: 1.01k]
  ------------------
 5337|      0|            if (!_PySlotIterator_SawSlot(&it, Py_tp_bases)) {
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5337:17): [True: 0, False: 0]
  ------------------
 5338|      0|                bases_slot = it.current.sl_ptr;
 5339|      0|            }
 5340|      0|            break;
 5341|      0|        case Py_tp_basicsize:
  ------------------
  |  |  104|      0|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5341:9): [True: 0, False: 1.01k]
  ------------------
 5342|      0|            NO_SPEC;
  ------------------
  |  | 5308|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5308:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5309|      0|            PyErr_Format(                                   \
  |  | 5310|      0|                PyExc_SystemError,                          \
  |  | 5311|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5312|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5313|      0|            goto finally;                                   \
  |  | 5314|      0|        }                                                   \
  ------------------
 5343|      0|            basicsize = it.current.sl_size;
 5344|      0|            if (basicsize <= 0) {
  ------------------
  |  Branch (5344:17): [True: 0, False: 0]
  ------------------
 5345|      0|                PyErr_SetString(
 5346|      0|                    PyExc_SystemError,
 5347|      0|                    "Py_tp_basicsize must be positive");
 5348|      0|                goto finally;
 5349|      0|            }
 5350|      0|            break;
 5351|      0|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (5351:9): [True: 0, False: 1.01k]
  ------------------
 5352|      0|            NO_SPEC;
  ------------------
  |  | 5308|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5308:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5309|      0|            PyErr_Format(                                   \
  |  | 5310|      0|                PyExc_SystemError,                          \
  |  | 5311|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5312|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5313|      0|            goto finally;                                   \
  |  | 5314|      0|        }                                                   \
  ------------------
 5353|      0|            extra_basicsize = it.current.sl_size;
 5354|      0|            if (extra_basicsize <= 0) {
  ------------------
  |  Branch (5354:17): [True: 0, False: 0]
  ------------------
 5355|      0|                PyErr_SetString(
 5356|      0|                    PyExc_SystemError,
 5357|      0|                    "Py_tp_extra_basicsize must be positive");
 5358|      0|                goto finally;
 5359|      0|            }
 5360|      0|            break;
 5361|      0|        case Py_tp_itemsize:
  ------------------
  |  |  106|      0|#define Py_tp_itemsize 98
  ------------------
  |  Branch (5361:9): [True: 0, False: 1.01k]
  ------------------
 5362|      0|            NO_SPEC;
  ------------------
  |  | 5308|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5308:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5309|      0|            PyErr_Format(                                   \
  |  | 5310|      0|                PyExc_SystemError,                          \
  |  | 5311|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5312|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5313|      0|            goto finally;                                   \
  |  | 5314|      0|        }                                                   \
  ------------------
 5363|      0|            itemsize = it.current.sl_size;
 5364|      0|            if (itemsize <= 0) {
  ------------------
  |  Branch (5364:17): [True: 0, False: 0]
  ------------------
 5365|      0|                PyErr_SetString(
 5366|      0|                    PyExc_SystemError,
 5367|      0|                    "Py_tp_itemsize must be positive");
 5368|      0|                goto finally;
 5369|      0|            }
 5370|      0|            break;
 5371|      0|        case Py_tp_flags:
  ------------------
  |  |  107|      0|#define Py_tp_flags 99
  ------------------
  |  Branch (5371:9): [True: 0, False: 1.01k]
  ------------------
 5372|      0|            NO_SPEC;
  ------------------
  |  | 5308|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5308:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5309|      0|            PyErr_Format(                                   \
  |  | 5310|      0|                PyExc_SystemError,                          \
  |  | 5311|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5312|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5313|      0|            goto finally;                                   \
  |  | 5314|      0|        }                                                   \
  ------------------
 5373|      0|            flags = (int)it.current.sl_uint64;
 5374|      0|            break;
 5375|     73|        case Py_tp_members:
  ------------------
  |  |   80|     73|#define Py_tp_members 72
  ------------------
  |  Branch (5375:9): [True: 73, False: 938]
  ------------------
 5376|     73|            for (const PyMemberDef *memb = it.current.sl_ptr;
 5377|    345|                 memb->name != NULL;
  ------------------
  |  Branch (5377:18): [True: 272, False: 73]
  ------------------
 5378|    272|                 memb++)
 5379|    272|            {
 5380|    272|                nmembers++;
 5381|    272|                if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    272|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5381:21): [True: 0, False: 272]
  ------------------
 5382|      0|                    if (memb->offset < 0) {
  ------------------
  |  Branch (5382:25): [True: 0, False: 0]
  ------------------
 5383|      0|                        PyErr_SetString(
 5384|      0|                            PyExc_SystemError,
 5385|      0|                            "Member offset must not be negative");
 5386|      0|                        goto finally;
 5387|      0|                    }
 5388|      0|                    have_relative_members = true;
 5389|      0|                    max_relative_offset = Py_MAX(max_relative_offset,
  ------------------
  |  |  133|      0|       __extension__ \
  |  |  134|      0|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|      0|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|      0|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5390|      0|                                                 memb->offset);
 5391|      0|                }
 5392|    272|                if (strcmp(memb->name, "__weaklistoffset__") == 0) {
  ------------------
  |  Branch (5392:21): [True: 28, False: 244]
  ------------------
 5393|     28|                    weaklistoffset_member = memb;
 5394|     28|                }
 5395|    244|                else if (strcmp(memb->name, "__dictoffset__") == 0) {
  ------------------
  |  Branch (5395:26): [True: 20, False: 224]
  ------------------
 5396|     20|                    dictoffset_member = memb;
 5397|     20|                }
 5398|    224|                else if (strcmp(memb->name, "__vectorcalloffset__") == 0) {
  ------------------
  |  Branch (5398:26): [True: 4, False: 220]
  ------------------
 5399|      4|                    vectorcalloffset_member = memb;
 5400|      4|                }
 5401|    272|            }
 5402|     73|            break;
 5403|     73|        case Py_tp_token:
  ------------------
  |  |   91|      1|#define Py_tp_token 83
  ------------------
  |  Branch (5403:9): [True: 1, False: 1.01k]
  ------------------
 5404|      1|            token = it.current.sl_ptr;
 5405|      1|            if (token == Py_TP_USE_SPEC) {
  ------------------
  |  |  365|      1|#define Py_TP_USE_SPEC NULL
  ------------------
  |  Branch (5405:17): [True: 1, False: 0]
  ------------------
 5406|      1|                if (!spec) {
  ------------------
  |  Branch (5406:21): [True: 0, False: 1]
  ------------------
 5407|      0|                    PyErr_SetString(
 5408|      0|                        PyExc_SystemError,
 5409|      0|                        "Py_tp_token: Py_TP_USE_SPEC (NULL) can only be "
 5410|      0|                        "used with PyType_Spec");
 5411|      0|                    goto finally;
 5412|      0|                }
 5413|      1|                token = spec;
 5414|      1|            }
 5415|      1|            break;
 5416|    101|        case Py_tp_doc:
  ------------------
  |  |   64|    101|#define Py_tp_doc 56
  ------------------
  |  Branch (5416:9): [True: 101, False: 910]
  ------------------
 5417|       |            /* For the docstring slot, which usually points to a static string
 5418|       |               literal, we need to make a copy */
 5419|    101|            if (it.current.sl_ptr == NULL) {
  ------------------
  |  Branch (5419:17): [True: 0, False: 101]
  ------------------
 5420|      0|                PyMem_Free(tp_doc);
 5421|      0|                tp_doc = NULL;
 5422|      0|            }
 5423|    101|            else {
 5424|    101|                size_t len = strlen(it.current.sl_ptr)+1;
 5425|    101|                tp_doc = PyMem_Malloc(len);
 5426|    101|                if (tp_doc == NULL) {
  ------------------
  |  Branch (5426:21): [True: 0, False: 101]
  ------------------
 5427|      0|                    PyErr_NoMemory();
 5428|      0|                    goto finally;
 5429|      0|                }
 5430|    101|                memcpy(tp_doc, it.current.sl_ptr, len);
 5431|    101|            }
 5432|    101|            break;
 5433|  1.01k|        }
 5434|  1.01k|    }
 5435|    127|    #undef NO_SPEC
 5436|       |
 5437|       |    /* Required slots & bad combinations */
 5438|       |
 5439|    127|    if (it.name == NULL) {
  ------------------
  |  Branch (5439:9): [True: 0, False: 127]
  ------------------
 5440|      0|        if (spec) {
  ------------------
  |  Branch (5440:13): [True: 0, False: 0]
  ------------------
 5441|      0|            PyErr_SetString(PyExc_SystemError,
 5442|      0|                            "Type spec does not define the name field.");
 5443|      0|        }
 5444|      0|        else {
 5445|      0|            PyErr_SetString(PyExc_SystemError,
 5446|      0|                            "Py_tp_name slot is required.");
 5447|      0|        }
 5448|      0|        goto finally;
 5449|      0|    }
 5450|       |
 5451|    127|    if (_PySlotIterator_SawSlot(&it, Py_tp_basicsize)
  ------------------
  |  |  104|    127|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5451:9): [True: 0, False: 127]
  ------------------
 5452|      0|        && _PySlotIterator_SawSlot(&it, Py_tp_extra_basicsize))
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (5452:12): [True: 0, False: 0]
  ------------------
 5453|      0|    {
 5454|      0|        PyErr_Format(
 5455|      0|            PyExc_SystemError,
 5456|      0|            "type %s: Py_tp_basicsize and Py_tp_extra_basicsize are "
 5457|      0|            "mutually exclusive",
 5458|      0|            it.name);
 5459|      0|        goto finally;
 5460|      0|    }
 5461|       |
 5462|    127|    if (have_relative_members) {
  ------------------
  |  Branch (5462:9): [True: 0, False: 127]
  ------------------
 5463|      0|        if (!extra_basicsize) {
  ------------------
  |  Branch (5463:13): [True: 0, False: 0]
  ------------------
 5464|      0|            PyErr_SetString(
 5465|      0|                PyExc_SystemError,
 5466|      0|                "With Py_RELATIVE_OFFSET, basicsize must be extended");
 5467|      0|            goto finally;
 5468|      0|        }
 5469|      0|        if (max_relative_offset >= extra_basicsize) {
  ------------------
  |  Branch (5469:13): [True: 0, False: 0]
  ------------------
 5470|      0|            PyErr_SetString(
 5471|      0|                PyExc_SystemError,
 5472|      0|                "Member offset out of range (0..extra_basicsize)");
 5473|      0|            goto finally;
 5474|      0|        }
 5475|      0|    }
 5476|       |
 5477|       |    /* Prepare the type name and qualname */
 5478|       |
 5479|    127|    assert(it.name);
  ------------------
  |  Branch (5479:5): [True: 127, False: 0]
  ------------------
 5480|    127|    const char *s = strrchr(it.name, '.');
 5481|    127|    if (s == NULL) {
  ------------------
  |  Branch (5481:9): [True: 0, False: 127]
  ------------------
 5482|      0|        s = it.name;
 5483|      0|    }
 5484|    127|    else {
 5485|    127|        s++;
 5486|    127|    }
 5487|       |
 5488|    127|    ht_name = PyUnicode_FromString(s);
 5489|    127|    if (!ht_name) {
  ------------------
  |  Branch (5489:9): [True: 0, False: 127]
  ------------------
 5490|      0|        goto finally;
 5491|      0|    }
 5492|       |
 5493|       |    /* Copy the name to a buffer we own.
 5494|       |    *
 5495|       |    * Unfortunately, we can't use tp_name directly (with some
 5496|       |    * flag saying that it should be deallocated with the type),
 5497|       |    * because tp_name is public API and may be set independently
 5498|       |    * of any such flag.
 5499|       |    * So, we use a separate buffer, _ht_tpname, that's always
 5500|       |    * deallocated with the type (if it's non-NULL).
 5501|       |    */
 5502|    127|    Py_ssize_t name_buf_len = strlen(it.name) + 1;
 5503|    127|    _ht_tpname = PyMem_Malloc(name_buf_len);
 5504|    127|    if (_ht_tpname == NULL) {
  ------------------
  |  Branch (5504:9): [True: 0, False: 127]
  ------------------
 5505|      0|        PyErr_NoMemory();
 5506|      0|        goto finally;
 5507|      0|    }
 5508|    127|    memcpy(_ht_tpname, it.name, name_buf_len);
 5509|       |
 5510|       |    /* Get a tuple of bases.
 5511|       |     * bases is a strong reference (unlike bases_in).
 5512|       |     * (This is convoluted for backwards compatibility -- preserving priority
 5513|       |     * of the various ways to specify bases)
 5514|       |     */
 5515|    127|    if (!bases_in) {
  ------------------
  |  Branch (5515:9): [True: 85, False: 42]
  ------------------
 5516|     85|        bases_in = bases_slot;
 5517|     85|    }
 5518|    127|    if (bases_in) {
  ------------------
  |  Branch (5518:9): [True: 42, False: 85]
  ------------------
 5519|     42|        if (PyTuple_Check(bases_in)) {
  ------------------
  |  |   27|     42|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     42|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 42]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5520|      0|            bases = Py_NewRef(bases_in);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5521|      0|        }
 5522|     42|        else {
 5523|     42|            bases = PyTuple_Pack(1, bases_in);
 5524|     42|        }
 5525|     42|    }
 5526|     85|    else {
 5527|     85|        bases = PyTuple_Pack(1, &PyBaseObject_Type);
 5528|     85|    }
 5529|    127|    if (!bases) {
  ------------------
  |  Branch (5529:9): [True: 0, False: 127]
  ------------------
 5530|      0|        goto finally;
 5531|      0|    }
 5532|       |
 5533|       |    /* If this is an immutable type, check if all bases are also immutable.
 5534|       |     * (This isn't necessary for static types: those can't have heap bases,
 5535|       |     * and only heap types can be mutable.)
 5536|       |     */
 5537|    127|    if (flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    127|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5537:9): [True: 106, False: 21]
  ------------------
 5538|    106|        if (check_immutable_bases(it.name, bases, 0) < 0) {
  ------------------
  |  Branch (5538:13): [True: 0, False: 106]
  ------------------
 5539|      0|            goto finally;
 5540|      0|        }
 5541|    106|    }
 5542|       |
 5543|       |    /* Calculate best base, and check that all bases are type objects */
 5544|    127|    PyTypeObject *base = find_best_base(bases);  // borrowed ref
 5545|    127|    if (base == NULL) {
  ------------------
  |  Branch (5545:9): [True: 0, False: 127]
  ------------------
 5546|      0|        goto finally;
 5547|      0|    }
 5548|       |
 5549|       |    /* Calculate the metaclass */
 5550|       |
 5551|    127|    if (!metaclass) {
  ------------------
  |  Branch (5551:9): [True: 127, False: 0]
  ------------------
 5552|    127|        metaclass = &PyType_Type;
 5553|    127|    }
 5554|    127|    metaclass = _PyType_CalculateMetaclass(metaclass, bases);
 5555|    127|    if (metaclass == NULL) {
  ------------------
  |  Branch (5555:9): [True: 0, False: 127]
  ------------------
 5556|      0|        goto finally;
 5557|      0|    }
 5558|    127|    if (!PyType_Check(metaclass)) {
  ------------------
  |  |  766|    127|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    127|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    127|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5558:9): [True: 0, False: 127]
  ------------------
 5559|      0|        PyErr_Format(PyExc_TypeError,
 5560|      0|                     "Metaclass '%R' is not a subclass of 'type'.",
 5561|      0|                     metaclass);
 5562|      0|        goto finally;
 5563|      0|    }
 5564|    127|    if (metaclass->tp_new && metaclass->tp_new != PyType_Type.tp_new) {
  ------------------
  |  Branch (5564:9): [True: 127, False: 0]
  |  Branch (5564:30): [True: 0, False: 127]
  ------------------
 5565|      0|        PyErr_SetString(
 5566|      0|            PyExc_TypeError,
 5567|      0|            "Metaclasses with custom tp_new are not supported.");
 5568|      0|        goto finally;
 5569|      0|    }
 5570|       |
 5571|       |    // find_best_base() should check Py_TPFLAGS_BASETYPE & raise a proper
 5572|       |    // exception, here we just check its work
 5573|    127|    assert(_PyType_HasFeature(base, Py_TPFLAGS_BASETYPE));
  ------------------
  |  Branch (5573:5): [True: 127, False: 0]
  ------------------
 5574|       |
 5575|       |    /* Calculate sizes */
 5576|       |
 5577|    127|    Py_ssize_t type_data_offset = basicsize;
 5578|    127|    if (extra_basicsize) {
  ------------------
  |  Branch (5578:9): [True: 0, False: 127]
  ------------------
 5579|       |        /* Extend */
 5580|      0|        assert(basicsize == 0);
  ------------------
  |  Branch (5580:9): [True: 0, False: 0]
  ------------------
 5581|      0|        type_data_offset = _align_up(base->tp_basicsize);
 5582|      0|        basicsize = type_data_offset + _align_up(extra_basicsize);
 5583|       |
 5584|       |        /* Inheriting variable-sized types is limited */
 5585|      0|        if (base->tp_itemsize
  ------------------
  |  Branch (5585:13): [True: 0, False: 0]
  ------------------
 5586|      0|            && !((base->tp_flags | flags) & Py_TPFLAGS_ITEMS_AT_END))
  ------------------
  |  |  548|      0|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (5586:16): [True: 0, False: 0]
  ------------------
 5587|      0|        {
 5588|      0|            PyErr_SetString(
 5589|      0|                PyExc_SystemError,
 5590|      0|                "Cannot extend variable-size class without Py_TPFLAGS_ITEMS_AT_END.");
 5591|      0|            goto finally;
 5592|      0|        }
 5593|      0|    }
 5594|    127|    if (basicsize == 0) {
  ------------------
  |  Branch (5594:9): [True: 6, False: 121]
  ------------------
 5595|       |        /* Inherit */
 5596|      6|        basicsize = base->tp_basicsize;
 5597|      6|    }
 5598|       |
 5599|       |    /* Compute special offsets */
 5600|       |
 5601|    127|    Py_ssize_t weaklistoffset = 0;
 5602|    127|    if (special_offset_from_member(weaklistoffset_member, type_data_offset,
  ------------------
  |  Branch (5602:9): [True: 0, False: 127]
  ------------------
 5603|    127|                                  &weaklistoffset) < 0) {
 5604|      0|        goto finally;
 5605|      0|    }
 5606|    127|    Py_ssize_t dictoffset = 0;
 5607|    127|    if (special_offset_from_member(dictoffset_member, type_data_offset,
  ------------------
  |  Branch (5607:9): [True: 0, False: 127]
  ------------------
 5608|    127|                                  &dictoffset) < 0) {
 5609|      0|        goto finally;
 5610|      0|    }
 5611|    127|    Py_ssize_t vectorcalloffset = 0;
 5612|    127|    if (special_offset_from_member(vectorcalloffset_member, type_data_offset,
  ------------------
  |  Branch (5612:9): [True: 0, False: 127]
  ------------------
 5613|    127|                                  &vectorcalloffset) < 0) {
 5614|      0|        goto finally;
 5615|      0|    }
 5616|       |
 5617|       |    /* Allocate the new type
 5618|       |     *
 5619|       |     * Between here and PyType_Ready, we should limit:
 5620|       |     * - calls to Python code
 5621|       |     * - raising exceptions
 5622|       |     * - memory allocations
 5623|       |     */
 5624|       |
 5625|    127|    res = (PyHeapTypeObject*)metaclass->tp_alloc(metaclass, nmembers);
 5626|    127|    if (res == NULL) {
  ------------------
  |  Branch (5626:9): [True: 0, False: 127]
  ------------------
 5627|      0|        goto finally;
 5628|      0|    }
 5629|       |
 5630|    127|    type = &res->ht_type;
 5631|       |    /* The flags must be initialized early, before the GC traverses us */
 5632|    127|    type_set_flags(type, flags | Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  503|    127|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 5633|       |
 5634|    127|    res->ht_module = Py_XNewRef(module);
  ------------------
  |  |  648|    127|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    127|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    127|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5635|       |
 5636|       |    /* Initialize essential fields */
 5637|       |
 5638|    127|    type->tp_as_async = &res->as_async;
 5639|    127|    type->tp_as_number = &res->as_number;
 5640|    127|    type->tp_as_sequence = &res->as_sequence;
 5641|    127|    type->tp_as_mapping = &res->as_mapping;
 5642|    127|    type->tp_as_buffer = &res->as_buffer;
 5643|       |
 5644|       |    /* Set slots we have prepared */
 5645|       |
 5646|    127|    type->tp_base = (PyTypeObject *)Py_NewRef(base);
  ------------------
  |  |  647|    127|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    127|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    127|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5647|    127|    set_tp_bases(type, bases);
 5648|    127|    bases = NULL;  // We give our reference to bases to the type
 5649|       |
 5650|    127|    type->tp_doc = tp_doc;
 5651|    127|    tp_doc = NULL;  // Give ownership of the allocated memory to the type
 5652|       |
 5653|    127|    res->ht_qualname = Py_NewRef(ht_name);
  ------------------
  |  |  647|    127|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    127|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    127|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5654|    127|    res->ht_name = ht_name;
 5655|    127|    ht_name = NULL;  // Give our reference to the type
 5656|       |
 5657|    127|    type->tp_name = _ht_tpname;
 5658|    127|    res->_ht_tpname = _ht_tpname;
 5659|    127|    _ht_tpname = NULL;  // Give ownership to the type
 5660|       |
 5661|    127|    res->ht_token = token;
 5662|       |
 5663|       |    /* Copy the sizes */
 5664|       |
 5665|    127|    type->tp_basicsize = basicsize;
 5666|    127|    type->tp_itemsize = itemsize;
 5667|       |
 5668|       |    /* Second pass of slots: copy most of them into the type */
 5669|       |
 5670|    127|    _PySlotIterator_Rewind(&it, spec ? (void*)spec->slots : (void*)slots);
  ------------------
  |  Branch (5670:33): [True: 127, False: 0]
  ------------------
 5671|  1.13k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5671:12): [True: 1.01k, False: 127]
  ------------------
 5672|  1.01k|        switch (it.current.sl_id) {
 5673|      0|        case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (5673:9): [True: 0, False: 1.01k]
  ------------------
 5674|      0|            goto finally;
 5675|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (5675:9): [True: 0, False: 1.01k]
  ------------------
 5676|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5676:9): [True: 0, False: 1.01k]
  ------------------
 5677|    101|        case Py_tp_doc:
  ------------------
  |  |   64|    101|#define Py_tp_doc 56
  ------------------
  |  Branch (5677:9): [True: 101, False: 910]
  ------------------
 5678|       |            /* Processed above */
 5679|    101|            break;
 5680|     73|        case Py_tp_members:
  ------------------
  |  |   80|     73|#define Py_tp_members 72
  ------------------
  |  Branch (5680:9): [True: 73, False: 938]
  ------------------
 5681|     73|            {
 5682|       |                /* Move the slots to the heap type itself */
 5683|     73|                size_t len = Py_TYPE(type)->tp_itemsize * nmembers;
  ------------------
  |  |  213|     73|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     73|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     73|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5684|     73|                memcpy(_PyHeapType_GET_MEMBERS(res), it.current.sl_ptr, len);
 5685|     73|                type->tp_members = _PyHeapType_GET_MEMBERS(res);
 5686|     73|                PyMemberDef *memb;
 5687|     73|                Py_ssize_t i;
 5688|     73|                for (memb = _PyHeapType_GET_MEMBERS(res), i = nmembers;
 5689|    345|                     i > 0; ++memb, --i)
  ------------------
  |  Branch (5689:22): [True: 272, False: 73]
  ------------------
 5690|    272|                {
 5691|    272|                    if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    272|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5691:25): [True: 0, False: 272]
  ------------------
 5692|      0|                        memb->flags &= ~Py_RELATIVE_OFFSET;
  ------------------
  |  |   86|      0|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
 5693|      0|                        memb->offset += type_data_offset;
 5694|      0|                    }
 5695|    272|                }
 5696|     73|            }
 5697|     73|            break;
 5698|    837|        default:
  ------------------
  |  Branch (5698:9): [True: 837, False: 174]
  ------------------
 5699|    837|            _PySlot_heaptype_apply_field_slot(res, it.current);
 5700|    837|            break;
 5701|  1.01k|        }
 5702|  1.01k|    }
 5703|    127|    if (type->tp_dealloc == NULL) {
  ------------------
  |  Branch (5703:9): [True: 6, False: 121]
  ------------------
 5704|       |        /* It's a heap type, so needs the heap types' dealloc.
 5705|       |           subtype_dealloc will call the base type's tp_dealloc, if
 5706|       |           necessary. */
 5707|      6|        type->tp_dealloc = subtype_dealloc;
 5708|      6|    }
 5709|       |
 5710|       |    /* Set up offsets */
 5711|       |
 5712|    127|    type->tp_vectorcall_offset = vectorcalloffset;
 5713|    127|    type->tp_weaklistoffset = weaklistoffset;
 5714|    127|    type->tp_dictoffset = dictoffset;
 5715|       |
 5716|       |#ifdef Py_GIL_DISABLED
 5717|       |    // Assign a unique id to enable per-thread refcounting
 5718|       |    res->unique_id = _PyObject_AssignUniqueId((PyObject *)res);
 5719|       |#endif
 5720|       |
 5721|       |    /* Ready the type (which includes inheritance).
 5722|       |     *
 5723|       |     * After this call we should generally only touch up what's
 5724|       |     * accessible to Python code, like __dict__.
 5725|       |     */
 5726|    127|    if (type_ready_publish(type, 0) < 0) {
  ------------------
  |  Branch (5726:9): [True: 0, False: 127]
  ------------------
 5727|      0|        goto finally;
 5728|      0|    }
 5729|       |
 5730|    127|    if (!check_basicsize_includes_size_and_offsets(type)) {
  ------------------
  |  Branch (5730:9): [True: 0, False: 127]
  ------------------
 5731|      0|        goto finally;
 5732|      0|    }
 5733|       |
 5734|    127|    PyObject *dict = lookup_tp_dict(type);
 5735|    127|    if (type->tp_doc) {
  ------------------
  |  Branch (5735:9): [True: 101, False: 26]
  ------------------
 5736|    101|        PyObject *__doc__ = PyUnicode_FromString(_PyType_DocWithoutSignature(type->tp_name, type->tp_doc));
 5737|    101|        if (!__doc__) {
  ------------------
  |  Branch (5737:13): [True: 0, False: 101]
  ------------------
 5738|      0|            goto finally;
 5739|      0|        }
 5740|    101|        r = PyDict_SetItem(dict, &_Py_ID(__doc__), __doc__);
  ------------------
  |  |  951|    101|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    101|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    101|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5741|    101|        Py_DECREF(__doc__);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5742|    101|        if (r < 0) {
  ------------------
  |  Branch (5742:13): [True: 0, False: 101]
  ------------------
 5743|      0|            goto finally;
 5744|      0|        }
 5745|    101|    }
 5746|       |
 5747|    127|    if (weaklistoffset) {
  ------------------
  |  Branch (5747:9): [True: 28, False: 99]
  ------------------
 5748|     28|        if (PyDict_DelItem(dict, &_Py_ID(__weaklistoffset__)) < 0) {
  ------------------
  |  |  951|     28|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     28|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     28|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5748:13): [True: 0, False: 28]
  ------------------
 5749|      0|            goto finally;
 5750|      0|        }
 5751|     28|    }
 5752|    127|    if (dictoffset) {
  ------------------
  |  Branch (5752:9): [True: 20, False: 107]
  ------------------
 5753|     20|        if (PyDict_DelItem(dict, &_Py_ID(__dictoffset__)) < 0) {
  ------------------
  |  |  951|     20|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     20|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     20|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5753:13): [True: 0, False: 20]
  ------------------
 5754|      0|            goto finally;
 5755|      0|        }
 5756|     20|    }
 5757|       |
 5758|       |    /* Set type.__module__ */
 5759|    127|    r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  951|    127|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    127|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    127|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5760|    127|    if (r < 0) {
  ------------------
  |  Branch (5760:9): [True: 0, False: 127]
  ------------------
 5761|      0|        goto finally;
 5762|      0|    }
 5763|    127|    if (r == 0) {
  ------------------
  |  Branch (5763:9): [True: 127, False: 0]
  ------------------
 5764|    127|        s = strrchr(it.name, '.');
 5765|    127|        if (s != NULL) {
  ------------------
  |  Branch (5765:13): [True: 127, False: 0]
  ------------------
 5766|    127|            PyObject *modname = PyUnicode_FromStringAndSize(
 5767|    127|                    it.name, (Py_ssize_t)(s - it.name));
 5768|    127|            if (modname == NULL) {
  ------------------
  |  Branch (5768:17): [True: 0, False: 127]
  ------------------
 5769|      0|                goto finally;
 5770|      0|            }
 5771|    127|            r = PyDict_SetItem(dict, &_Py_ID(__module__), modname);
  ------------------
  |  |  951|    127|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    127|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    127|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5772|    127|            Py_DECREF(modname);
  ------------------
  |  |  430|    127|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    127|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    127|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5773|    127|            if (r != 0) {
  ------------------
  |  Branch (5773:17): [True: 0, False: 127]
  ------------------
 5774|      0|                goto finally;
 5775|      0|            }
 5776|    127|        }
 5777|      0|        else {
 5778|      0|            if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (5778:17): [True: 0, False: 0]
  ------------------
 5779|      0|                    "builtin type %.200s has no __module__ attribute",
 5780|      0|                    it.name))
 5781|      0|                goto finally;
 5782|      0|        }
 5783|    127|    }
 5784|       |
 5785|    127|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (5785:5): [True: 127, False: 0]
  ------------------
 5786|       |
 5787|    127|finally:
 5788|    127|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (5788:9): [True: 0, False: 127]
  ------------------
 5789|      0|        Py_CLEAR(res);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5790|      0|    }
 5791|    127|    Py_XDECREF(bases);
  ------------------
  |  |  621|    127|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    127|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    127|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5792|    127|    PyMem_Free(tp_doc);
 5793|    127|    Py_XDECREF(ht_name);
  ------------------
  |  |  621|    127|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    127|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    127|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5794|    127|    PyMem_Free(_ht_tpname);
 5795|    127|    return (PyObject*)res;
 5796|    127|}
typeobject.c:find_best_base:
 3787|    821|{
 3788|    821|    Py_ssize_t i, n;
 3789|    821|    PyTypeObject *base, *winner;
 3790|       |
 3791|    821|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (3791:5): [True: 821, False: 0]
  ------------------
 3792|    821|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    821|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    821|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    821|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3793|    821|    assert(n > 0);
  ------------------
  |  Branch (3793:5): [True: 821, False: 0]
  ------------------
 3794|    821|    base = NULL;
 3795|    821|    winner = NULL;
 3796|  1.83k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3796:17): [True: 1.01k, False: 821]
  ------------------
 3797|  1.01k|        PyObject *base_proto = PyTuple_GET_ITEM(bases, 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 (3797:32): [True: 1.01k, False: 0]
  ------------------
 3798|  1.01k|        if (!PyType_Check(base_proto)) {
  ------------------
  |  |  766|  1.01k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3798:13): [True: 0, False: 1.01k]
  ------------------
 3799|      0|            PyErr_Format(
 3800|      0|                PyExc_TypeError,
 3801|      0|                "bases must be types; got '%T'", base_proto);
 3802|      0|            return NULL;
 3803|      0|        }
 3804|  1.01k|        PyTypeObject *base_i = (PyTypeObject *)base_proto;
 3805|       |
 3806|  1.01k|        if (!_PyType_IsReady(base_i)) {
  ------------------
  |  Branch (3806:13): [True: 0, False: 1.01k]
  ------------------
 3807|      0|            if (PyType_Ready(base_i) < 0)
  ------------------
  |  Branch (3807:17): [True: 0, False: 0]
  ------------------
 3808|      0|                return NULL;
 3809|      0|        }
 3810|  1.01k|        if (!_PyType_HasFeature(base_i, Py_TPFLAGS_BASETYPE)) {
  ------------------
  |  |  506|  1.01k|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (3810:13): [True: 0, False: 1.01k]
  ------------------
 3811|      0|            PyErr_Format(PyExc_TypeError,
 3812|      0|                         "type '%.100s' is not an acceptable base type",
 3813|      0|                         base_i->tp_name);
 3814|      0|            return NULL;
 3815|      0|        }
 3816|  1.01k|        if (update_best_base(base_i, &base, &winner) < 0) {
  ------------------
  |  Branch (3816:13): [True: 0, False: 1.01k]
  ------------------
 3817|      0|            PyErr_SetString(
 3818|      0|                PyExc_TypeError,
 3819|      0|                "multiple bases have "
 3820|      0|                "instance lay-out conflict");
 3821|      0|            return NULL;
 3822|      0|        }
 3823|  1.01k|    }
 3824|    821|    assert (base != NULL);
  ------------------
  |  Branch (3824:5): [True: 821, False: 0]
  ------------------
 3825|       |
 3826|    821|    return base;
 3827|    821|}
typeobject.c:update_best_base:
 3764|  1.01k|{
 3765|  1.01k|    PyTypeObject *candidate = solid_base(base_i);
 3766|  1.01k|    if (*winner == NULL) {
  ------------------
  |  Branch (3766:9): [True: 821, False: 193]
  ------------------
 3767|    821|        *winner = candidate;
 3768|    821|        *base = base_i;
 3769|    821|    }
 3770|    193|    else if (PyType_IsSubtype(*winner, candidate))
  ------------------
  |  Branch (3770:14): [True: 177, False: 16]
  ------------------
 3771|    177|        ;
 3772|     16|    else if (PyType_IsSubtype(candidate, *winner)) {
  ------------------
  |  Branch (3772:14): [True: 16, False: 0]
  ------------------
 3773|     16|        *winner = candidate;
 3774|     16|        *base = base_i;
 3775|     16|    }
 3776|      0|    else {
 3777|      0|        return -1;
 3778|      0|    }
 3779|  1.01k|    return 0;
 3780|  1.01k|}
typeobject.c:solid_base:
 3840|  3.79k|{
 3841|  3.79k|    PyTypeObject *base;
 3842|       |
 3843|  3.79k|    if (type->tp_base) {
  ------------------
  |  Branch (3843:9): [True: 2.29k, False: 1.49k]
  ------------------
 3844|  2.29k|        base = solid_base(type->tp_base);
 3845|  2.29k|    }
 3846|  1.49k|    else {
 3847|  1.49k|        base = &PyBaseObject_Type;
 3848|  1.49k|    }
 3849|  3.79k|    if (shape_differs(type, base)) {
  ------------------
  |  Branch (3849:9): [True: 231, False: 3.55k]
  ------------------
 3850|    231|        return type;
 3851|    231|    }
 3852|  3.55k|    else {
 3853|  3.55k|        return base;
 3854|  3.55k|    }
 3855|  3.79k|}
typeobject.c:shape_differs:
 3831|  3.79k|{
 3832|  3.79k|    return (
 3833|  3.79k|        t1->tp_basicsize != t2->tp_basicsize ||
  ------------------
  |  Branch (3833:9): [True: 231, False: 3.55k]
  ------------------
 3834|  3.55k|        t1->tp_itemsize != t2->tp_itemsize
  ------------------
  |  Branch (3834:9): [True: 0, False: 3.55k]
  ------------------
 3835|  3.79k|    );
 3836|  3.79k|}
typeobject.c:special_offset_from_member:
 5221|    381|{
 5222|    381|    if (memb == NULL) {
  ------------------
  |  Branch (5222:9): [True: 329, False: 52]
  ------------------
 5223|    329|        *dest = 0;
 5224|    329|        return 0;
 5225|    329|    }
 5226|     52|    if (memb->type != Py_T_PYSSIZET) {
  ------------------
  |  |   79|     52|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (5226:9): [True: 0, False: 52]
  ------------------
 5227|      0|        PyErr_Format(
 5228|      0|            PyExc_SystemError,
 5229|      0|            "type of %s must be Py_T_PYSSIZET",
 5230|      0|            memb->name);
 5231|      0|        return -1;
 5232|      0|    }
 5233|     52|    if (memb->flags == Py_READONLY) {
  ------------------
  |  |   83|     52|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (5233:9): [True: 52, False: 0]
  ------------------
 5234|     52|        *dest = memb->offset;
 5235|     52|        return 0;
 5236|     52|    }
 5237|      0|    else if (memb->flags == (Py_READONLY | Py_RELATIVE_OFFSET)) {
  ------------------
  |  |   83|      0|#define Py_READONLY            (1 << 0)
  ------------------
                  else if (memb->flags == (Py_READONLY | Py_RELATIVE_OFFSET)) {
  ------------------
  |  |   86|      0|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5237:14): [True: 0, False: 0]
  ------------------
 5238|      0|        *dest = memb->offset + type_data_offset;
 5239|      0|        return 0;
 5240|      0|    }
 5241|      0|    PyErr_Format(
 5242|      0|        PyExc_SystemError,
 5243|      0|        "flags for %s must be Py_READONLY or (Py_READONLY | Py_RELATIVE_OFFSET)",
 5244|      0|        memb->name);
 5245|      0|    return -1;
 5246|     52|}
typeobject.c:type_set_flags:
  397|  11.7k|{
  398|  11.7k|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(tp);
  399|  11.7k|    tp->tp_flags = flags;
  400|  11.7k|}
typeobject.c:set_tp_bases:
  541|  1.32k|{
  542|  1.32k|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (542:5): [True: 1.32k, False: 0]
  ------------------
  543|  1.32k|    ASSERT_NEW_TYPE_OR_LOCKED(self);
  544|  1.32k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.32k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (544:9): [True: 412, False: 916]
  ------------------
  545|       |        // XXX tp_bases can probably be statically allocated for each
  546|       |        // static builtin type.
  547|    412|        assert(PyTuple_CheckExact(bases));
  ------------------
  |  Branch (547:9): [True: 412, False: 0]
  ------------------
  548|    412|        assert(self->tp_bases == NULL);
  ------------------
  |  Branch (548:9): [True: 412, False: 0]
  ------------------
  549|    412|        if (PyTuple_GET_SIZE(bases) == 0) {
  ------------------
  |  |   27|    412|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    412|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    412|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (549:13): [True: 2, False: 410]
  ------------------
  550|      2|            assert(self->tp_base == NULL);
  ------------------
  |  Branch (550:13): [True: 2, False: 0]
  ------------------
  551|      2|        }
  552|    410|        else {
  553|    410|            assert(PyTuple_GET_SIZE(bases) == 1);
  ------------------
  |  Branch (553:13): [True: 410, False: 0]
  ------------------
  554|    410|            assert(PyTuple_GET_ITEM(bases, 0) == (PyObject *)self->tp_base);
  ------------------
  |  Branch (554:13): [True: 410, False: 0]
  |  Branch (554:13): [True: 410, False: 0]
  ------------------
  555|    410|            assert(self->tp_base->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (555:13): [True: 410, False: 0]
  ------------------
  556|    410|            assert(_Py_IsImmortal(self->tp_base));
  ------------------
  |  Branch (556:13): [True: 410, False: 0]
  ------------------
  557|    410|        }
  558|    412|        _Py_SetImmortal(bases);
  559|    412|    }
  560|  1.32k|    self->tp_bases = bases;
  561|  1.32k|}
typeobject.c:_PyHeapType_GET_MEMBERS:
 2606|  1.53k|{
 2607|  1.53k|    return PyObject_GetItemData((PyObject *)type);
 2608|  1.53k|}
typeobject.c:subtype_dealloc:
 2746|  19.8k|{
 2747|  19.8k|    PyTypeObject *type, *base;
 2748|  19.8k|    destructor basedealloc;
 2749|  19.8k|    int has_finalizer;
 2750|       |
 2751|       |    /* Extract the type; we expect it to be a heap type */
 2752|  19.8k|    type = Py_TYPE(self);
  ------------------
  |  |  213|  19.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2753|  19.8k|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  360|  19.8k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  19.8k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  19.8k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 19.8k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  19.8k|      ? (void)(0) \
  |  |  |  |  |  |  353|  19.8k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2754|       |
 2755|       |    /* Test whether the type has GC exactly once */
 2756|       |
 2757|  19.8k|    if (!_PyType_IS_GC(type)) {
  ------------------
  |  Branch (2757:9): [True: 0, False: 19.8k]
  ------------------
 2758|       |        /* A non GC dynamic type allows certain simplifications:
 2759|       |           there's no need to call clear_slots(), or DECREF the dict,
 2760|       |           or clear weakrefs. */
 2761|       |
 2762|       |        /* Maybe call finalizer; exit early if resurrected */
 2763|      0|        if (type->tp_finalize) {
  ------------------
  |  Branch (2763:13): [True: 0, False: 0]
  ------------------
 2764|      0|            if (PyObject_CallFinalizerFromDealloc(self) < 0)
  ------------------
  |  Branch (2764:17): [True: 0, False: 0]
  ------------------
 2765|      0|                return;
 2766|      0|        }
 2767|      0|        if (type->tp_del) {
  ------------------
  |  Branch (2767:13): [True: 0, False: 0]
  ------------------
 2768|      0|            type->tp_del(self);
 2769|      0|            if (Py_REFCNT(self) > 0) {
  ------------------
  |  |  119|      0|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2769:17): [True: 0, False: 0]
  ------------------
 2770|      0|                return;
 2771|      0|            }
 2772|      0|        }
 2773|       |
 2774|       |        /* Find the nearest base with a different tp_dealloc */
 2775|      0|        base = type;
 2776|      0|        while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2776:16): [True: 0, False: 0]
  ------------------
 2777|      0|            base = base->tp_base;
 2778|      0|            assert(base);
  ------------------
  |  Branch (2778:13): [True: 0, False: 0]
  ------------------
 2779|      0|        }
 2780|       |
 2781|       |        /* Extract the type again; tp_del may have changed it */
 2782|      0|        type = Py_TYPE(self);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2783|       |
 2784|       |        // Don't read type memory after calling basedealloc() since basedealloc()
 2785|       |        // can deallocate the type and free its memory.
 2786|      0|        int type_needs_decref = (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2786:34): [True: 0, False: 0]
  ------------------
 2787|      0|                                 && !(base->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2787:37): [True: 0, False: 0]
  ------------------
 2788|       |
 2789|      0|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (2789:9): [True: 0, False: 0]
  ------------------
 2790|       |
 2791|       |        /* Call the base tp_dealloc() */
 2792|      0|        assert(basedealloc);
  ------------------
  |  Branch (2792:9): [True: 0, False: 0]
  ------------------
 2793|      0|        basedealloc(self);
 2794|       |
 2795|       |        /* Can't reference self beyond this point. It's possible tp_del switched
 2796|       |           our type from a HEAPTYPE to a non-HEAPTYPE, so be careful about
 2797|       |           reference counting. Only decref if the base type is not already a heap
 2798|       |           allocated type. Otherwise, basedealloc should have decref'd it already */
 2799|      0|        if (type_needs_decref) {
  ------------------
  |  Branch (2799:13): [True: 0, False: 0]
  ------------------
 2800|      0|            _Py_DECREF_TYPE(type);
  ------------------
  |  |  305|      0|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2801|      0|        }
 2802|       |
 2803|       |        /* Done */
 2804|      0|        return;
 2805|      0|    }
 2806|       |
 2807|       |    /* We get here only if the type has GC */
 2808|       |
 2809|       |    /* UnTrack and re-Track around the trashcan macro, alas */
 2810|       |    /* See explanation at end of function for full disclosure */
 2811|  19.8k|    PyObject_GC_UnTrack(self);
 2812|       |
 2813|       |    /* Find the nearest base with a different tp_dealloc */
 2814|  19.8k|    base = type;
 2815|  39.7k|    while ((/*basedealloc =*/ base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2815:12): [True: 19.9k, False: 19.8k]
  ------------------
 2816|  19.9k|        base = base->tp_base;
 2817|  19.9k|        assert(base);
  ------------------
  |  Branch (2817:9): [True: 19.9k, False: 0]
  ------------------
 2818|  19.9k|    }
 2819|       |
 2820|  19.8k|    has_finalizer = type->tp_finalize || type->tp_del;
  ------------------
  |  Branch (2820:21): [True: 0, False: 19.8k]
  |  Branch (2820:42): [True: 0, False: 19.8k]
  ------------------
 2821|       |
 2822|  19.8k|    if (type->tp_finalize) {
  ------------------
  |  Branch (2822:9): [True: 0, False: 19.8k]
  ------------------
 2823|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2824|      0|        if (PyObject_CallFinalizerFromDealloc(self) < 0) {
  ------------------
  |  Branch (2824:13): [True: 0, False: 0]
  ------------------
 2825|       |            /* Resurrected */
 2826|      0|            return;
 2827|      0|        }
 2828|      0|        _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|      0|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2829|      0|    }
 2830|       |
 2831|       |    /* Extract the type again; tp_finalize may have changed it */
 2832|  19.8k|    type = Py_TYPE(self);
  ------------------
  |  |  213|  19.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2833|       |
 2834|       |    /*
 2835|       |      If we added a weaklist, we clear it. Do this *before* calling tp_del,
 2836|       |      clearing slots, or clearing the instance dict.
 2837|       |
 2838|       |      GC tracking must be off at this point. weakref callbacks (if any, and
 2839|       |      whether directly here or indirectly in something we call) may trigger GC,
 2840|       |      and if self is tracked at that point, it will look like trash to GC and GC
 2841|       |      will try to delete self again.
 2842|       |    */
 2843|  19.8k|    if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2843:9): [True: 19.3k, False: 511]
  |  Branch (2843:36): [True: 19.3k, False: 0]
  ------------------
 2844|  19.3k|        PyObject_ClearWeakRefs(self);
 2845|  19.3k|    }
 2846|       |
 2847|  19.8k|    if (type->tp_del) {
  ------------------
  |  Branch (2847:9): [True: 0, False: 19.8k]
  ------------------
 2848|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|      0|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2849|      0|        type->tp_del(self);
 2850|      0|        if (Py_REFCNT(self) > 0) {
  ------------------
  |  |  119|      0|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2850:13): [True: 0, False: 0]
  ------------------
 2851|       |            /* Resurrected */
 2852|      0|            return;
 2853|      0|        }
 2854|      0|        _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|      0|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2855|      0|    }
 2856|  19.8k|    if (has_finalizer) {
  ------------------
  |  Branch (2856:9): [True: 0, False: 19.8k]
  ------------------
 2857|       |        /* New weakrefs could be created during the finalizer call.
 2858|       |           If this occurs, clear them out without calling their
 2859|       |           finalizers since they might rely on part of the object
 2860|       |           being finalized that has already been destroyed. */
 2861|      0|        if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2861:13): [True: 0, False: 0]
  |  Branch (2861:40): [True: 0, False: 0]
  ------------------
 2862|      0|            _PyWeakref_ClearWeakRefsNoCallbacks(self);
 2863|      0|        }
 2864|      0|    }
 2865|       |
 2866|       |    /*  Clear slots up to the nearest base with a different tp_dealloc */
 2867|  19.8k|    base = type;
 2868|  39.7k|    while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2868:12): [True: 19.9k, False: 19.8k]
  ------------------
 2869|  19.9k|        if (Py_SIZE(base))
  ------------------
  |  |  214|  19.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 504, False: 19.4k]
  |  |  ------------------
  ------------------
 2870|    504|            clear_slots(base, self);
 2871|  19.9k|        base = base->tp_base;
 2872|  19.9k|        assert(base);
  ------------------
  |  Branch (2872:9): [True: 19.9k, False: 0]
  ------------------
 2873|  19.9k|    }
 2874|       |
 2875|       |    /* If we added a dict, DECREF it, or free inline values. */
 2876|  19.8k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  19.8k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2876:9): [True: 2.77k, False: 17.0k]
  ------------------
 2877|  2.77k|        PyObject_ClearManagedDict(self);
 2878|  2.77k|    }
 2879|  17.0k|    else if (type->tp_dictoffset && !base->tp_dictoffset) {
  ------------------
  |  Branch (2879:14): [True: 16.0k, False: 1.00k]
  |  Branch (2879:37): [True: 0, False: 16.0k]
  ------------------
 2880|      0|        PyObject **dictptr = _PyObject_ComputedDictPointer(self);
 2881|      0|        if (dictptr != NULL) {
  ------------------
  |  Branch (2881:13): [True: 0, False: 0]
  ------------------
 2882|      0|            PyObject *dict = *dictptr;
 2883|      0|            if (dict != NULL) {
  ------------------
  |  Branch (2883:17): [True: 0, False: 0]
  ------------------
 2884|      0|                Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2885|      0|                *dictptr = NULL;
 2886|      0|            }
 2887|      0|        }
 2888|      0|    }
 2889|       |
 2890|       |    /* Extract the type again; tp_del may have changed it */
 2891|  19.8k|    type = Py_TYPE(self);
  ------------------
  |  |  213|  19.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2892|       |
 2893|       |    /* Call the base tp_dealloc(); first retrack self if
 2894|       |     * basedealloc knows about gc.
 2895|       |     */
 2896|  19.8k|    if (_PyType_IS_GC(base)) {
  ------------------
  |  Branch (2896:9): [True: 17.0k, False: 2.76k]
  ------------------
 2897|  17.0k|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|  17.0k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2898|  17.0k|    }
 2899|       |
 2900|       |    // Don't read type memory after calling basedealloc() since basedealloc()
 2901|       |    // can deallocate the type and free its memory.
 2902|  19.8k|    int type_needs_decref = (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|  39.6k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2902:30): [True: 19.8k, False: 0]
  ------------------
 2903|  19.8k|                             && !(base->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  503|  19.8k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2903:33): [True: 19.8k, False: 0]
  ------------------
 2904|       |
 2905|  19.8k|    assert(basedealloc);
  ------------------
  |  Branch (2905:5): [True: 19.8k, False: 0]
  ------------------
 2906|  19.8k|    basedealloc(self);
 2907|       |
 2908|       |    /* Can't reference self beyond this point. It's possible tp_del switched
 2909|       |       our type from a HEAPTYPE to a non-HEAPTYPE, so be careful about
 2910|       |       reference counting. Only decref if the base type is not already a heap
 2911|       |       allocated type. Otherwise, basedealloc should have decref'd it already */
 2912|  19.8k|    if (type_needs_decref) {
  ------------------
  |  Branch (2912:9): [True: 19.8k, False: 0]
  ------------------
 2913|  19.8k|        _Py_DECREF_TYPE(type);
  ------------------
  |  |  305|  19.8k|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  19.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2914|  19.8k|    }
 2915|  19.8k|}
typeobject.c:clear_slots:
 2687|    504|{
 2688|    504|    Py_ssize_t i, n;
 2689|    504|    PyMemberDef *mp;
 2690|       |
 2691|    504|    n = Py_SIZE(type);
  ------------------
  |  |  214|    504|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    504|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    504|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2692|    504|    mp = _PyHeapType_GET_MEMBERS((PyHeapTypeObject *)type);
 2693|  1.01k|    for (i = 0; i < n; i++, mp++) {
  ------------------
  |  Branch (2693:17): [True: 512, False: 504]
  ------------------
 2694|    512|        if (mp->type == Py_T_OBJECT_EX && !(mp->flags & Py_READONLY)) {
  ------------------
  |  |   75|  1.02k|#define Py_T_OBJECT_EX 16
  ------------------
                      if (mp->type == Py_T_OBJECT_EX && !(mp->flags & Py_READONLY)) {
  ------------------
  |  |   83|    512|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (2694:13): [True: 512, False: 0]
  |  Branch (2694:43): [True: 512, False: 0]
  ------------------
 2695|    512|            void *addr = _PyMember_GetOffset(self, mp);
 2696|    512|            PyObject *obj = *(PyObject **)addr;
 2697|    512|            if (obj != NULL) {
  ------------------
  |  Branch (2697:17): [True: 512, False: 0]
  ------------------
 2698|    512|                *(PyObject **)addr = NULL;
 2699|    512|                Py_DECREF(obj);
  ------------------
  |  |  430|    512|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    512|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    512|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2700|    512|            }
 2701|    512|        }
 2702|    512|    }
 2703|    504|}
typeobject.c:type_ready_publish:
 9618|    916|{
 9619|    916|    int res;
 9620|    916|    BEGIN_TYPE_LOCK();
 9621|    916|    res = type_ready(type, 1, 0);
 9622|    916|    if (res == 0) {
  ------------------
  |  Branch (9622:9): [True: 916, False: 0]
  ------------------
 9623|    916|        assert(!(type->tp_flags & Py_TPFLAGS_READY));
  ------------------
  |  Branch (9623:9): [True: 916, False: 0]
  ------------------
 9624|    916|        assert(!is_readying(type));
  ------------------
  |  Branch (9624:9): [True: 916, False: 0]
  ------------------
 9625|       |
 9626|    916|        if (fix_slots) {
  ------------------
  |  Branch (9626:13): [True: 789, False: 127]
  ------------------
 9627|       |            // Put the proper slots in place and only then publish the type as
 9628|       |            // a subclass of its bases.  Since the type is not reachable by
 9629|       |            // other threads before it is published, the slots can be updated
 9630|       |            // without stopping the world.  This step is skipped for
 9631|       |            // type_from_slots_or_spec().
 9632|    789|            fixup_slot_dispatchers(type);
 9633|    789|        }
 9634|       |
 9635|       |        // Set the ready flag before revealing the type since type_add_flags()
 9636|       |        // may only be used on types that are not yet revealed.
 9637|    916|        type_add_flags(type, Py_TPFLAGS_READY);
  ------------------
  |  |  518|    916|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9638|       |
 9639|       |#if defined(Py_GIL_DISABLED) && defined(Py_DEBUG) && SIZEOF_VOID_P > 4
 9640|       |        // Mark the type as revealed while still holding the type lock.
 9641|       |        // Threads can only find the type through the subclasses of its bases,
 9642|       |        // which is done below with the lock held.  So, they cannot see the
 9643|       |        // type before the flag is set.
 9644|       |        ((PyObject*)type)->ob_flags |= _Py_TYPE_REVEALED_FLAG;
 9645|       |#endif
 9646|       |
 9647|    916|        res = type_ready_add_subclasses(type);
 9648|    916|        if (res == 0) {
  ------------------
  |  Branch (9648:13): [True: 916, False: 0]
  ------------------
 9649|    916|            assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (9649:13): [True: 916, False: 0]
  ------------------
 9650|    916|        }
 9651|    916|    }
 9652|    916|    END_TYPE_LOCK();
 9653|    916|    return res;
 9654|    916|}
typeobject.c:fixup_slot_dispatchers:
12299|    789|{
12300|    789|    ASSERT_TYPE_LOCK_HELD();
12301|    789|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(type);
12302|    789|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (12302:5): [True: 789, False: 0]
  ------------------
12303|    789|    PyObject *descrs_buf[Py_ARRAY_LENGTH(slotdefs) - 1];
12304|    789|    PyObject **descrs = descrs_buf;
12305|    789|    if (collect_slot_descrs(type, descrs_buf) < 0) {
  ------------------
  |  Branch (12305:9): [True: 0, False: 789]
  ------------------
12306|      0|        descrs = NULL;
12307|      0|    }
12308|  53.6k|    for (pytype_slotdef *p = slotdefs; p->name; ) {
  ------------------
  |  Branch (12308:40): [True: 52.8k, False: 789]
  ------------------
12309|  52.8k|        update_one_slot(type, p, &p, descrs);
12310|  52.8k|    }
12311|    789|    if (descrs != NULL) {
  ------------------
  |  Branch (12311:9): [True: 789, False: 0]
  ------------------
12312|    789|        clear_slot_descrs(descrs);
12313|    789|    }
12314|    789|}
typeobject.c:collect_slot_descrs:
11958|    789|{
11959|    789|    ASSERT_NEW_TYPE_OR_LOCKED(type);
11960|    789|    PyObject *mro = lookup_tp_mro(type);
11961|    789|    assert(mro != NULL && PyTuple_CheckExact(mro));
  ------------------
  |  Branch (11961:5): [True: 789, False: 0]
  |  Branch (11961:5): [True: 789, False: 0]
  ------------------
11962|    789|    memset(descrs, 0, sizeof(PyObject *) * (Py_ARRAY_LENGTH(slotdefs) - 1));
  ------------------
  |  |  232|    789|    (sizeof(array) / sizeof((array)[0]))
  ------------------
11963|    789|    Py_ssize_t mro_size = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|    789|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11964|  3.74k|    for (Py_ssize_t m = 0; m < mro_size; m++) {
  ------------------
  |  Branch (11964:28): [True: 2.95k, False: 789]
  ------------------
11965|  2.95k|        PyObject *base = PyTuple_GET_ITEM(mro, m);
  ------------------
  |  |   29|  2.95k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.95k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11965:26): [True: 2.95k, False: 0]
  ------------------
11966|  2.95k|        assert(PyType_Check(base));
  ------------------
  |  Branch (11966:9): [True: 2.95k, False: 0]
  ------------------
11967|  2.95k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(base));
  ------------------
  |  |  770|  2.95k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (11967:41): [True: 2.95k, False: 0]
  ------------------
11968|  2.95k|        assert(dict != NULL && PyDict_Check(dict));
  ------------------
  |  Branch (11968:9): [True: 2.95k, False: 0]
  |  Branch (11968:9): [True: 2.95k, False: 0]
  ------------------
11969|       |#ifdef Py_GIL_DISABLED
11970|       |        /* _PyDict_Next() needs the dict mutex, but we must not block for it:
11971|       |           blocking detaches the thread, which releases TYPE_LOCK and lets
11972|       |           another thread change a dict scanned earlier.  Fall back instead. */
11973|       |        PyMutex *mutex = &dict->ob_mutex;
11974|       |        if (!PyMutex_LockFast(mutex)) {
11975|       |            goto fail;
11976|       |        }
11977|       |#endif
11978|  2.95k|        int ok = 1;
11979|  2.95k|        if (!DK_IS_UNICODE(((PyDictObject *)dict)->ma_keys)
  ------------------
  |  |  303|  5.90k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (11979:13): [True: 0, False: 2.95k]
  ------------------
11980|  2.95k|            || PyDict_GET_SIZE(dict) > SLOT_SCAN_MAX_DICT_SIZE) {
  ------------------
  |  |   63|  2.95k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          || PyDict_GET_SIZE(dict) > SLOT_SCAN_MAX_DICT_SIZE) {
  ------------------
  |  |11941|  2.95k|#define SLOT_SCAN_MAX_DICT_SIZE 1000
  ------------------
  |  Branch (11980:16): [True: 0, False: 2.95k]
  ------------------
11981|      0|            ok = 0;
11982|      0|        }
11983|  2.95k|        else {
11984|  2.95k|            Py_ssize_t pos = 0;
11985|  2.95k|            PyObject *key, *value;
11986|  2.95k|            Py_hash_t hash;
11987|  42.8k|            while (_PyDict_Next(dict, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (11987:20): [True: 39.8k, False: 2.95k]
  ------------------
11988|  39.8k|                if (!is_dunder_name(key)) {
  ------------------
  |  Branch (11988:21): [True: 6.23k, False: 33.6k]
  ------------------
11989|  6.23k|                    continue;
11990|  6.23k|                }
11991|  33.6k|                Py_ssize_t idx = slotname_lookup(key, hash);
11992|  33.6k|                if (idx < 0) {
  ------------------
  |  Branch (11992:21): [True: 19.7k, False: 13.8k]
  ------------------
11993|  19.7k|                    continue;
11994|  19.7k|                }
11995|       |                /* First class in the MRO wins. */
11996|  13.8k|                const uint8_t *dups = slotdefs_dups[idx];
11997|  30.6k|                for (uint8_t k = 1; k <= dups[0]; k++) {
  ------------------
  |  Branch (11997:37): [True: 16.7k, False: 13.8k]
  ------------------
11998|  16.7k|                    if (descrs[dups[k]] == NULL) {
  ------------------
  |  Branch (11998:25): [True: 15.0k, False: 1.70k]
  ------------------
11999|  15.0k|                        descrs[dups[k]] = Py_NewRef(value);
  ------------------
  |  |  647|  15.0k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  15.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12000|  15.0k|                    }
12001|  16.7k|                }
12002|  13.8k|            }
12003|  2.95k|        }
12004|       |#ifdef Py_GIL_DISABLED
12005|       |        PyMutex_Unlock(mutex);
12006|       |#endif
12007|  2.95k|        if (!ok) {
  ------------------
  |  Branch (12007:13): [True: 0, False: 2.95k]
  ------------------
12008|      0|            goto fail;
12009|      0|        }
12010|  2.95k|    }
12011|    789|    return 0;
12012|       |
12013|      0|fail:
12014|      0|    clear_slot_descrs(descrs);
12015|      0|    return -1;
12016|    789|}
typeobject.c:is_dunder_name:
 6244|  40.0k|{
 6245|  40.0k|    Py_ssize_t length = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  300|  40.0k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6246|  40.0k|    int kind = PyUnicode_KIND(name);
  ------------------
  |  |  259|  40.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  80.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 40.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6247|       |    /* Special names contain at least "__x__" and are always ASCII. */
 6248|  40.0k|    if (length > 4 && kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (6248:9): [True: 39.4k, False: 598]
  |  Branch (6248:23): [True: 39.4k, False: 0]
  ------------------
 6249|  39.4k|        const Py_UCS1 *characters = PyUnicode_1BYTE_DATA(name);
  ------------------
  |  |  292|  39.4k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  39.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6250|  39.4k|        return (
 6251|  39.4k|            ((characters[length-2] == '_') && (characters[length-1] == '_')) &&
  ------------------
  |  Branch (6251:14): [True: 33.6k, False: 5.77k]
  |  Branch (6251:47): [True: 33.6k, False: 0]
  ------------------
 6252|  33.6k|            ((characters[0] == '_') && (characters[1] == '_'))
  ------------------
  |  Branch (6252:14): [True: 33.6k, False: 0]
  |  Branch (6252:40): [True: 33.6k, False: 0]
  ------------------
 6253|  39.4k|        );
 6254|  39.4k|    }
 6255|    598|    return 0;
 6256|  40.0k|}
typeobject.c:update_one_slot:
12084|  52.8k|{
12085|  52.8k|    ASSERT_NEW_TYPE_OR_LOCKED(type);
12086|       |
12087|  52.8k|    PyObject *descr;
12088|  52.8k|    PyWrapperDescrObject *d;
12089|       |
12090|       |    // The correct specialized C function, like "tp_repr of str" in the
12091|       |    // example above
12092|  52.8k|    void *specific = NULL;
12093|       |
12094|       |    // A generic wrapper that uses method lookup (safe but slow)
12095|  52.8k|    void *generic = NULL;
12096|       |
12097|       |    // Set to 1 if the generic wrapper is necessary
12098|  52.8k|    int use_generic = 0;
12099|       |
12100|  52.8k|    int offset = p->offset;
12101|  52.8k|    void **ptr = slotptr(type, offset);
12102|       |
12103|  52.8k|    if (ptr == NULL) {
  ------------------
  |  Branch (12103:9): [True: 0, False: 52.8k]
  ------------------
12104|      0|        do {
12105|      0|            ++p;
12106|      0|        } while (p->offset == offset);
  ------------------
  |  Branch (12106:18): [True: 0, False: 0]
  ------------------
12107|      0|        if (next_p != NULL) {
  ------------------
  |  Branch (12107:13): [True: 0, False: 0]
  ------------------
12108|      0|            *next_p = p;
12109|      0|        }
12110|      0|        return;
12111|      0|    }
12112|       |    /* We may end up clearing live exceptions below, so make sure it's ours. */
12113|  52.8k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (12113:5): [True: 52.8k, False: 0]
  ------------------
12114|  74.1k|    do {
12115|  74.1k|        _PyStackRef descr_ref;
12116|  74.1k|        int res;
12117|  74.1k|        if (descrs != NULL) {
  ------------------
  |  Branch (12117:13): [True: 74.1k, False: 30]
  ------------------
12118|       |            /* Precomputed by collect_slot_descrs(), which owns the refs. */
12119|  74.1k|            PyObject *found = descrs[p - slotdefs];
12120|  74.1k|            res = (found != NULL);
12121|  74.1k|            descr_ref = res ? PyStackRef_FromPyObjectBorrow(found) : PyStackRef_NULL;
  ------------------
  |  Branch (12121:25): [True: 15.0k, False: 59.0k]
  ------------------
12122|  74.1k|        }
12123|     30|        else {
12124|       |#ifdef Py_GIL_DISABLED
12125|       |            res = find_slot_name_in_mro(type, p->name_strobj, &descr_ref);
12126|       |#else
12127|       |            /* Use faster uncached lookup as we won't get any cache hits during type setup. */
12128|     30|            res = find_name_in_mro(type, p->name_strobj, &descr_ref);
12129|     30|#endif
12130|     30|        }
12131|  74.1k|        if (res <= 0) {
  ------------------
  |  Branch (12131:13): [True: 59.0k, False: 15.1k]
  ------------------
12132|  59.0k|            if (ptr == (void**)&type->tp_iternext) {
  ------------------
  |  Branch (12132:17): [True: 650, False: 58.4k]
  ------------------
12133|    650|                specific = (void *)_PyObject_NextNotImplemented;
12134|    650|            }
12135|  59.0k|            continue;
12136|  59.0k|        }
12137|  15.1k|        descr = PyStackRef_AsPyObjectBorrow(descr_ref);
12138|  15.1k|        if (Py_IS_TYPE(descr, &PyWrapperDescr_Type) &&
  ------------------
  |  |  215|  30.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  15.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 12.2k, False: 2.90k]
  |  |  ------------------
  ------------------
12139|  12.2k|            ((PyWrapperDescrObject *)descr)->d_base->name_strobj == p->name_strobj) {
  ------------------
  |  Branch (12139:13): [True: 12.1k, False: 2]
  ------------------
12140|  12.1k|            void **tptr;
12141|  12.1k|            size_t index = (p - slotdefs);
12142|  12.1k|            if (slotdefs_dups[index][0] > 1) {
  ------------------
  |  Branch (12142:17): [True: 4.86k, False: 7.33k]
  ------------------
12143|  4.86k|                tptr = NULL;
12144|  14.5k|                for (size_t i = 1; i <= slotdefs_dups[index][0]; i++) {
  ------------------
  |  Branch (12144:36): [True: 9.72k, False: 4.82k]
  ------------------
12145|  9.72k|                    pytype_slotdef *q = &slotdefs[slotdefs_dups[index][i]];
12146|  9.72k|                    void **qptr = slotptr(type, q->offset);
12147|  9.72k|                    if (qptr == NULL || *qptr == NULL)
  ------------------
  |  Branch (12147:25): [True: 0, False: 9.72k]
  |  Branch (12147:41): [True: 4.82k, False: 4.90k]
  ------------------
12148|  4.82k|                        continue;
12149|  4.90k|                    if (tptr != NULL) {
  ------------------
  |  Branch (12149:25): [True: 38, False: 4.86k]
  ------------------
12150|     38|                        tptr = NULL;
12151|     38|                        break;
12152|     38|                    }
12153|  4.86k|                    tptr = qptr;
12154|  4.86k|                }
12155|  4.86k|            }
12156|  7.33k|            else {
12157|  7.33k|                tptr = slotptr(type, offset);
12158|  7.33k|            }
12159|       |
12160|  12.1k|            if (tptr == NULL || tptr == ptr)
  ------------------
  |  Branch (12160:17): [True: 38, False: 12.1k]
  |  Branch (12160:33): [True: 9.74k, False: 2.41k]
  ------------------
12161|  9.78k|                generic = p->function;
12162|  12.1k|            d = (PyWrapperDescrObject *)descr;
12163|  12.1k|            if ((specific == NULL || specific == d->d_wrapped) &&
  ------------------
  |  Branch (12163:18): [True: 7.47k, False: 4.72k]
  |  Branch (12163:38): [True: 4.72k, False: 1]
  ------------------
12164|  12.1k|                d->d_base->wrapper == p->wrapper &&
  ------------------
  |  Branch (12164:17): [True: 9.77k, False: 2.41k]
  ------------------
12165|  9.77k|                is_subtype_with_mro(lookup_tp_mro(type), type, PyDescr_TYPE(d)))
  ------------------
  |  |   35|  9.77k|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  |  Branch (12165:17): [True: 9.77k, False: 0]
  ------------------
12166|  9.77k|            {
12167|  9.77k|                specific = d->d_wrapped;
12168|  9.77k|            }
12169|  2.41k|            else {
12170|       |                /* We cannot use the specific slot function because either
12171|       |                   - it is not unique: there are multiple methods for this
12172|       |                     slot and they conflict
12173|       |                   - the signature is wrong (as checked by the ->wrapper
12174|       |                     comparison above)
12175|       |                   - it's wrapping the wrong class
12176|       |                 */
12177|  2.41k|                use_generic = 1;
12178|  2.41k|            }
12179|  12.1k|        }
12180|  2.90k|        else if (Py_IS_TYPE(descr, &PyCFunction_Type) &&
  ------------------
  |  |  215|  5.81k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 764, False: 2.14k]
  |  |  ------------------
  ------------------
12181|    764|                 PyCFunction_GET_FUNCTION(descr) ==
  ------------------
  |  |   43|    764|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    764|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    764|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12181:18): [True: 764, False: 0]
  ------------------
12182|  2.90k|                 _PyCFunction_CAST(tp_new_wrapper) &&
  ------------------
  |  |   53|  2.90k|    _Py_FUNC_CAST(PyCFunction, func)
  |  |  ------------------
  |  |  |  |   47|    764|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12183|    764|                 ptr == (void**)&type->tp_new)
  ------------------
  |  Branch (12183:18): [True: 764, False: 0]
  ------------------
12184|    764|        {
12185|       |            /* The __new__ wrapper is not a wrapper descriptor,
12186|       |               so must be special-cased differently.
12187|       |               If we don't do this, creating an instance will
12188|       |               always use slot_tp_new which will look up
12189|       |               __new__ in the MRO which will call tp_new_wrapper
12190|       |               which will look through the base classes looking
12191|       |               for a static base and call its tp_new (usually
12192|       |               PyType_GenericNew), after performing various
12193|       |               sanity checks and constructing a new argument
12194|       |               list.  Cut all that nonsense short -- this speeds
12195|       |               up instance creation tremendously. */
12196|    764|            specific = (void *)type->tp_new;
12197|       |            /* XXX I'm not 100% sure that there isn't a hole
12198|       |               in this reasoning that requires additional
12199|       |               sanity checks.  I'll buy the first person to
12200|       |               point out a bug in this reasoning a beer. */
12201|    764|        }
12202|  2.14k|        else if (descr == Py_None &&
  ------------------
  |  |  616|  4.28k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12202:18): [True: 29, False: 2.11k]
  ------------------
12203|     29|                 ptr == (void**)&type->tp_hash) {
  ------------------
  |  Branch (12203:18): [True: 29, False: 0]
  ------------------
12204|       |            /* We specifically allow __hash__ to be set to None
12205|       |               to prevent inheritance of the default
12206|       |               implementation from object.__hash__ */
12207|     29|            specific = (void *)PyObject_HashNotImplemented;
12208|     29|        }
12209|  2.11k|        else {
12210|  2.11k|            use_generic = 1;
12211|  2.11k|            if (generic == NULL && Py_IS_TYPE(descr, &PyMethodDescr_Type) &&
  ------------------
  |  |  215|  3.80k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 13, False: 1.67k]
  |  |  ------------------
  ------------------
  |  Branch (12211:17): [True: 1.68k, False: 430]
  ------------------
12212|     13|                *ptr == ((PyMethodDescrObject *)descr)->d_method->ml_meth)
  ------------------
  |  Branch (12212:17): [True: 5, False: 8]
  ------------------
12213|      5|            {
12214|      5|                generic = *ptr;
12215|      5|            }
12216|  2.11k|            else {
12217|  2.11k|                generic = p->function;
12218|  2.11k|            }
12219|  2.11k|            if (p->function == slot_tp_call) {
  ------------------
  |  Branch (12219:17): [True: 17, False: 2.09k]
  ------------------
12220|       |                /* A generic __call__ is incompatible with vectorcall */
12221|     17|                type_clear_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|     17|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
12222|     17|            }
12223|  2.11k|        }
12224|  15.1k|        PyStackRef_CLOSE(descr_ref);
12225|  74.1k|    } while ((++p)->offset == offset);
  ------------------
  |  Branch (12225:14): [True: 21.3k, False: 52.8k]
  ------------------
12226|       |
12227|  52.8k|    void *slot_value;
12228|  52.8k|    if (specific && !use_generic) {
  ------------------
  |  Branch (12228:9): [True: 6.50k, False: 46.3k]
  |  Branch (12228:21): [True: 6.20k, False: 300]
  ------------------
12229|  6.20k|        slot_value = specific;
12230|  46.6k|    } else {
12231|  46.6k|        slot_value = generic;
12232|  46.6k|    }
12233|       |
12234|  52.8k|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(type);
12235|  52.8k|    *ptr = slot_value;
12236|       |
12237|  52.8k|    if (next_p != NULL) {
  ------------------
  |  Branch (12237:9): [True: 52.8k, False: 24]
  ------------------
12238|  52.8k|        *next_p = p;
12239|  52.8k|    }
12240|  52.8k|}
typeobject.c:slotptr:
11898|   189k|{
11899|   189k|    char *ptr;
11900|   189k|    long offset = ioffset;
11901|       |
11902|       |    /* Note: this depends on the order of the members of PyHeapTypeObject! */
11903|   189k|    assert(offset >= 0);
  ------------------
  |  Branch (11903:5): [True: 189k, False: 0]
  ------------------
11904|   189k|    assert((size_t)offset < offsetof(PyHeapTypeObject, ht_name));
  ------------------
  |  Branch (11904:5): [True: 189k, False: 0]
  ------------------
11905|   189k|    if ((size_t)offset >= offsetof(PyHeapTypeObject, as_buffer)) {
  ------------------
  |  Branch (11905:9): [True: 4.25k, False: 184k]
  ------------------
11906|  4.25k|        ptr = (char *)type->tp_as_buffer;
11907|  4.25k|        offset -= offsetof(PyHeapTypeObject, as_buffer);
11908|  4.25k|    }
11909|   184k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_sequence)) {
  ------------------
  |  Branch (11909:14): [True: 19.8k, False: 164k]
  ------------------
11910|  19.8k|        ptr = (char *)type->tp_as_sequence;
11911|  19.8k|        offset -= offsetof(PyHeapTypeObject, as_sequence);
11912|  19.8k|    }
11913|   164k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_mapping)) {
  ------------------
  |  Branch (11913:14): [True: 7.82k, False: 157k]
  ------------------
11914|  7.82k|        ptr = (char *)type->tp_as_mapping;
11915|  7.82k|        offset -= offsetof(PyHeapTypeObject, as_mapping);
11916|  7.82k|    }
11917|   157k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_number)) {
  ------------------
  |  Branch (11917:14): [True: 93.4k, False: 63.6k]
  ------------------
11918|  93.4k|        ptr = (char *)type->tp_as_number;
11919|  93.4k|        offset -= offsetof(PyHeapTypeObject, as_number);
11920|  93.4k|    }
11921|  63.6k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_async)) {
  ------------------
  |  Branch (11921:14): [True: 6.36k, False: 57.2k]
  ------------------
11922|  6.36k|        ptr = (char *)type->tp_as_async;
11923|  6.36k|        offset -= offsetof(PyHeapTypeObject, as_async);
11924|  6.36k|    }
11925|  57.2k|    else {
11926|  57.2k|        ptr = (char *)type;
11927|  57.2k|    }
11928|   189k|    if (ptr != NULL)
  ------------------
  |  Branch (11928:9): [True: 163k, False: 25.2k]
  ------------------
11929|   163k|        ptr += offset;
11930|   189k|    return (void **)ptr;
11931|   189k|}
typeobject.c:tp_new_wrapper:
10460|    944|{
10461|    944|    PyTypeObject *staticbase;
10462|    944|    PyObject *arg0, *res;
10463|       |
10464|    944|    if (self == NULL || !PyType_Check(self)) {
  ------------------
  |  |  766|    944|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    944|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    944|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10464:9): [True: 0, False: 944]
  |  Branch (10464:25): [True: 0, False: 944]
  ------------------
10465|      0|        PyErr_Format(PyExc_SystemError,
10466|      0|                     "__new__() called with non-type 'self'");
10467|      0|        return NULL;
10468|      0|    }
10469|    944|    PyTypeObject *type = (PyTypeObject *)self;
10470|       |
10471|    944|    if (nargs < 1) {
  ------------------
  |  Branch (10471:9): [True: 0, False: 944]
  ------------------
10472|      0|        PyErr_Format(PyExc_TypeError,
10473|      0|                     "%s.__new__(): not enough arguments",
10474|      0|                     type->tp_name);
10475|      0|        return NULL;
10476|      0|    }
10477|    944|    arg0 = args[0];
10478|    944|    if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|    944|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    944|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    944|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10478:9): [True: 0, False: 944]
  ------------------
10479|      0|        PyErr_Format(PyExc_TypeError,
10480|      0|                     "%s.__new__(X): X is not a type object (%s)",
10481|      0|                     type->tp_name,
10482|      0|                     Py_TYPE(arg0)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10483|      0|        return NULL;
10484|      0|    }
10485|    944|    PyTypeObject *subtype = (PyTypeObject *)arg0;
10486|       |
10487|    944|    if (!PyType_IsSubtype(subtype, type)) {
  ------------------
  |  Branch (10487:9): [True: 0, False: 944]
  ------------------
10488|      0|        PyErr_Format(PyExc_TypeError,
10489|      0|                     "%s.__new__(%s): %s is not a subtype of %s",
10490|      0|                     type->tp_name,
10491|      0|                     subtype->tp_name,
10492|      0|                     subtype->tp_name,
10493|      0|                     type->tp_name);
10494|      0|        return NULL;
10495|      0|    }
10496|       |
10497|       |    /* Check that the use doesn't do something silly and unsafe like
10498|       |       object.__new__(dict).  To do this, we check that the
10499|       |       most derived base that's not a heap type is this type. */
10500|    944|    staticbase = subtype;
10501|  1.90k|    while (staticbase && (staticbase->tp_new == slot_tp_new))
  ------------------
  |  Branch (10501:12): [True: 1.90k, False: 0]
  |  Branch (10501:26): [True: 965, False: 944]
  ------------------
10502|    965|        staticbase = staticbase->tp_base;
10503|       |    /* If staticbase is NULL now, it is a really weird type.
10504|       |       In the spirit of backwards compatibility (?), just shut up. */
10505|    944|    if (staticbase && staticbase->tp_new != type->tp_new) {
  ------------------
  |  Branch (10505:9): [True: 944, False: 0]
  |  Branch (10505:23): [True: 0, False: 944]
  ------------------
10506|      0|        if (staticbase->tp_new == NULL) {
  ------------------
  |  Branch (10506:13): [True: 0, False: 0]
  ------------------
10507|      0|            PyErr_Format(PyExc_TypeError,
10508|      0|                         "cannot create '%s' instances", subtype->tp_name);
10509|      0|            return NULL;
10510|      0|        }
10511|      0|        PyErr_Format(PyExc_TypeError,
10512|      0|                     "%s.__new__(%s) is not safe, use %s.__new__()",
10513|      0|                     type->tp_name,
10514|      0|                     subtype->tp_name,
10515|      0|                     staticbase->tp_name);
10516|      0|        return NULL;
10517|      0|    }
10518|       |
10519|    944|    PyObject *args_tuple = PyTuple_FromArray(args + 1, nargs - 1);
10520|    944|    if (args_tuple == NULL) {
  ------------------
  |  Branch (10520:9): [True: 0, False: 944]
  ------------------
10521|      0|        return NULL;
10522|      0|    }
10523|    944|    PyObject *kwds = NULL;
10524|    944|    if (kwnames != NULL) {
  ------------------
  |  Branch (10524:9): [True: 0, False: 944]
  ------------------
10525|      0|        kwds = _PyStack_AsDict(args + nargs, kwnames);
10526|      0|        if (kwds == NULL) {
  ------------------
  |  Branch (10526:13): [True: 0, False: 0]
  ------------------
10527|      0|            Py_DECREF(args_tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10528|      0|            return NULL;
10529|      0|        }
10530|      0|    }
10531|    944|    res = type->tp_new(subtype, args_tuple, kwds);
10532|    944|    Py_DECREF(args_tuple);
  ------------------
  |  |  430|    944|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    944|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    944|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10533|    944|    Py_XDECREF(kwds);
  ------------------
  |  |  621|    944|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    944|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    944|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10534|    944|    return res;
10535|    944|}
typeobject.c:slot_tp_new:
11244|    917|{
11245|    917|    PyThreadState *tstate = _PyThreadState_GET();
11246|    917|    PyObject *result;
11247|       |
11248|    917|    _PyCStackRef func_ref;
11249|    917|    _PyThreadState_PushCStackRef(tstate, &func_ref);
11250|    917|    func_ref.ref = _PyObject_GetAttrStackRef((PyObject *)type, &_Py_ID(__new__));
  ------------------
  |  |  951|    917|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    917|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    917|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11251|    917|    if (PyStackRef_IsNull(func_ref.ref)) {
  ------------------
  |  |  482|    917|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|    917|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    917|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 917]
  |  |  ------------------
  ------------------
11252|      0|        _PyThreadState_PopCStackRef(tstate, &func_ref);
11253|      0|        return NULL;
11254|      0|    }
11255|       |
11256|    917|    PyObject *func = PyStackRef_AsPyObjectBorrow(func_ref.ref);
11257|    917|    result = _PyObject_Call_Prepend(tstate, func, (PyObject *)type, args, kwds);
11258|    917|    _PyThreadState_PopCStackRef(tstate, &func_ref);
11259|    917|    return result;
11260|    917|}
typeobject.c:slot_tp_call:
10989|      1|{
10990|      1|    return call_method(self, &_Py_ID(__call__), args, kwds);
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10991|      1|}
typeobject.c:call_method:
 3126|  1.07k|{
 3127|  1.07k|    PyThreadState *tstate = _PyThreadState_GET();
 3128|  1.07k|    _PyCStackRef cref;
 3129|  1.07k|    _PyThreadState_PushCStackRef(tstate, &cref);
 3130|  1.07k|    PyObject *res = NULL;
 3131|  1.07k|    int unbound = lookup_method(self, attr, &cref.ref);
 3132|  1.07k|    if (unbound >= 0) {
  ------------------
  |  Branch (3132:9): [True: 1.07k, False: 0]
  ------------------
 3133|  1.07k|        PyObject *meth = PyStackRef_AsPyObjectBorrow(cref.ref);
 3134|  1.07k|        if (unbound) {
  ------------------
  |  Branch (3134:13): [True: 1.07k, False: 0]
  ------------------
 3135|  1.07k|            res = _PyObject_Call_Prepend(tstate, meth, self, args, kwds);
 3136|  1.07k|        }
 3137|      0|        else {
 3138|      0|            res = _PyObject_Call(tstate, meth, args, kwds);
 3139|      0|        }
 3140|  1.07k|    }
 3141|  1.07k|    _PyThreadState_PopCStackRef(tstate, &cref);
 3142|  1.07k|    return res;
 3143|  1.07k|}
typeobject.c:lookup_method:
 3075|  1.45k|{
 3076|  1.45k|    return lookup_method_ex(self, attr, out, 1);
 3077|  1.45k|}
typeobject.c:type_clear_flags:
  418|    958|{
  419|    958|    type_set_flags(tp, tp->tp_flags & ~flag);
  420|    958|}
typeobject.c:clear_slot_descrs:
11945|    789|{
11946|  74.9k|    for (size_t i = 0; i < Py_ARRAY_LENGTH(slotdefs) - 1; i++) {
  ------------------
  |  |  232|  74.9k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (11946:24): [True: 74.1k, False: 789]
  ------------------
11947|       |        Py_CLEAR(descrs[i]);
  ------------------
  |  |  487|  74.1k|    do { \
  |  |  488|  74.1k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  74.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  74.1k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  74.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  74.1k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  74.1k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 15.0k, False: 59.0k]
  |  |  ------------------
  |  |  491|  15.0k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  15.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  15.0k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  15.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  15.0k|        } \
  |  |  494|  74.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 74.1k]
  |  |  ------------------
  ------------------
11948|  74.1k|    }
11949|    789|}
typeobject.c:type_ready_add_subclasses:
 9399|  1.32k|{
 9400|  1.32k|    PyObject *bases = lookup_tp_bases(type);
 9401|  1.32k|    Py_ssize_t nbase = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  1.32k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9402|  2.84k|    for (Py_ssize_t i = 0; i < nbase; i++) {
  ------------------
  |  Branch (9402:28): [True: 1.51k, False: 1.32k]
  ------------------
 9403|  1.51k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  1.51k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.51k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9403:23): [True: 1.51k, False: 0]
  ------------------
 9404|  1.51k|        if (PyType_Check(b) && add_subclass((PyTypeObject *)b, type) < 0) {
  ------------------
  |  |  766|  3.03k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.51k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (9404:32): [True: 0, False: 1.51k]
  ------------------
 9405|      0|            return -1;
 9406|      0|        }
 9407|  1.51k|    }
 9408|  1.32k|    return 0;
 9409|  1.32k|}
typeobject.c:add_subclass:
 9740|  1.51k|{
 9741|  1.51k|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9742|  1.51k|    if (key == NULL)
  ------------------
  |  Branch (9742:9): [True: 0, False: 1.51k]
  ------------------
 9743|      0|        return -1;
 9744|       |
 9745|  1.51k|    PyObject *ref = PyWeakref_NewRef((PyObject *)type, NULL);
 9746|  1.51k|    if (ref == NULL) {
  ------------------
  |  Branch (9746:9): [True: 0, False: 1.51k]
  ------------------
 9747|      0|        Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9748|      0|        return -1;
 9749|      0|    }
 9750|       |
 9751|       |    // Only get tp_subclasses after creating the key and value.
 9752|       |    // PyWeakref_NewRef() can trigger a garbage collection which can execute
 9753|       |    // arbitrary Python code and so modify base->tp_subclasses.
 9754|  1.51k|    PyObject *subclasses = lookup_tp_subclasses(base);
 9755|  1.51k|    if (subclasses == NULL) {
  ------------------
  |  Branch (9755:9): [True: 214, False: 1.30k]
  ------------------
 9756|    214|        subclasses = init_tp_subclasses(base);
 9757|    214|        if (subclasses == NULL) {
  ------------------
  |  Branch (9757:13): [True: 0, False: 214]
  ------------------
 9758|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9759|      0|            Py_DECREF(ref);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9760|      0|            return -1;
 9761|      0|        }
 9762|    214|    }
 9763|  1.51k|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (9763:5): [True: 1.51k, False: 0]
  ------------------
 9764|       |
 9765|  1.51k|    int result = PyDict_SetItem(subclasses, key, ref);
 9766|  1.51k|    Py_DECREF(ref);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9767|  1.51k|    Py_DECREF(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9768|  1.51k|    return result;
 9769|  1.51k|}
typeobject.c:check_basicsize_includes_size_and_offsets:
 5149|    127|{
 5150|    127|    if (type->tp_alloc != PyType_GenericAlloc) {
  ------------------
  |  Branch (5150:9): [True: 0, False: 127]
  ------------------
 5151|       |        // Custom allocators can ignore tp_basicsize
 5152|      0|        return 1;
 5153|      0|    }
 5154|    127|    Py_ssize_t max = (Py_ssize_t)type->tp_basicsize;
 5155|       |
 5156|    127|    if (type->tp_base && type->tp_base->tp_basicsize > type->tp_basicsize) {
  ------------------
  |  Branch (5156:9): [True: 127, False: 0]
  |  Branch (5156:26): [True: 0, False: 127]
  ------------------
 5157|      0|        PyErr_Format(PyExc_TypeError,
 5158|      0|                     "tp_basicsize for type '%s' (%zd) is too small for base '%s' (%zd)",
 5159|      0|                     type->tp_name, type->tp_basicsize,
 5160|      0|                     type->tp_base->tp_name, type->tp_base->tp_basicsize);
 5161|      0|        return 0;
 5162|      0|    }
 5163|    127|    if (type->tp_weaklistoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5163:9): [True: 0, False: 127]
  ------------------
 5164|      0|        PyErr_Format(PyExc_TypeError,
 5165|      0|                     "weaklist offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5166|      0|                     type->tp_weaklistoffset,
 5167|      0|                     type->tp_name, type->tp_basicsize);
 5168|      0|        return 0;
 5169|      0|    }
 5170|    127|    if (type->tp_dictoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5170:9): [True: 0, False: 127]
  ------------------
 5171|      0|        PyErr_Format(PyExc_TypeError,
 5172|      0|                     "dict offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5173|      0|                     type->tp_dictoffset,
 5174|      0|                     type->tp_name, type->tp_basicsize);
 5175|      0|        return 0;
 5176|      0|    }
 5177|    127|    if (type->tp_vectorcall_offset + (Py_ssize_t)sizeof(vectorcallfunc*) > max) {
  ------------------
  |  Branch (5177:9): [True: 0, False: 127]
  ------------------
 5178|      0|        PyErr_Format(PyExc_TypeError,
 5179|      0|                     "vectorcall offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5180|      0|                     type->tp_vectorcall_offset,
 5181|      0|                     type->tp_name, type->tp_basicsize);
 5182|      0|        return 0;
 5183|      0|    }
 5184|    127|    return 1;
 5185|    127|}
typeobject.c:type_name:
 1460|     26|{
 1461|     26|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     26|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1462|     26|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     26|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1462:9): [True: 8, False: 18]
  ------------------
 1463|      8|        PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 1464|      8|        return Py_NewRef(et->ht_name);
  ------------------
  |  |  647|      8|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1465|      8|    }
 1466|     18|    else {
 1467|     18|        return PyUnicode_FromString(_PyType_Name(type));
 1468|     18|    }
 1469|     26|}
typeobject.c:lookup_tp_mro:
  608|   222k|{
  609|   222k|    return self->tp_mro;
  610|   222k|}
typeobject.c:getitemdata:
 6113|  1.53k|{
 6114|  1.53k|    if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  213|  1.53k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|  1.53k|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (6114:9): [True: 0, False: 1.53k]
  ------------------
 6115|      0|        if (raise) {
  ------------------
  |  Branch (6115:13): [True: 0, False: 0]
  ------------------
 6116|      0|            PyErr_Format(PyExc_TypeError,
 6117|      0|                         "type '%T' does not have Py_TPFLAGS_ITEMS_AT_END",
 6118|      0|                         obj);
 6119|      0|        }
 6120|      0|        return NULL;
 6121|      0|    }
 6122|  1.53k|    return (char *)obj + Py_TYPE(obj)->tp_basicsize;
  ------------------
  |  |  213|  1.53k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6123|  1.53k|}
typeobject.c:should_assign_version_tag:
 6279|    611|{
 6280|    611|    return (version_tag == 0
  ------------------
  |  Branch (6280:13): [True: 611, False: 0]
  ------------------
 6281|    611|        && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  |  160|    611|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
                      && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  | 1327|  1.22k|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (6281:12): [True: 611, False: 0]
  ------------------
 6282|    611|        && MCACHE_CACHEABLE_NAME(name));
  ------------------
  |  |   44|    611|#define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  104|    611|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  1.22k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    611|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    611|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 611, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  215|    611|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    611|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    611|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:38): [True: 611, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6283|    611|}
typeobject.c:find_name_in_mro:
 6143|   191k|{
 6144|   191k|    Py_hash_t hash = _PyObject_HashDictKey(name);
 6145|   191k|    if (hash == -1) {
  ------------------
  |  Branch (6145:9): [True: 0, False: 191k]
  ------------------
 6146|      0|        PyErr_Clear();
 6147|      0|        return -1;
 6148|      0|    }
 6149|       |
 6150|       |    /* Look in tp_dict of types in MRO */
 6151|   191k|    PyObject *mro = lookup_tp_mro(type);
 6152|   191k|    if (mro == NULL) {
  ------------------
  |  Branch (6152:9): [True: 0, False: 191k]
  ------------------
 6153|      0|        if (!is_readying(type)) {
  ------------------
  |  Branch (6153:13): [True: 0, False: 0]
  ------------------
 6154|      0|            if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (6154:17): [True: 0, False: 0]
  ------------------
 6155|      0|                PyErr_Clear();
 6156|      0|                return -1;
 6157|      0|            }
 6158|      0|            mro = lookup_tp_mro(type);
 6159|      0|        }
 6160|      0|        if (mro == NULL) {
  ------------------
  |  Branch (6160:13): [True: 0, False: 0]
  ------------------
 6161|      0|            return -1;
 6162|      0|        }
 6163|      0|    }
 6164|       |
 6165|   191k|    int res = 0;
 6166|   191k|    PyThreadState *tstate = _PyThreadState_GET();
 6167|       |    /* Keep a strong reference to mro because type->tp_mro can be replaced
 6168|       |       during dict lookup, e.g. when comparing to non-string keys. */
 6169|   191k|    _PyCStackRef mro_ref;
 6170|   191k|    _PyThreadState_PushCStackRef(tstate, &mro_ref);
 6171|   191k|    mro_ref.ref = PyStackRef_FromPyObjectNew(mro);
  ------------------
  |  |  611|   191k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   191k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   191k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6172|   191k|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|   191k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   191k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   191k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6173|   304k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (6173:28): [True: 249k, False: 55.0k]
  ------------------
 6174|   249k|        PyObject *base = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|   249k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   249k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   249k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6174:26): [True: 249k, False: 0]
  ------------------
 6175|   249k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(base));
  ------------------
  |  |  770|   249k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   249k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (6175:41): [True: 249k, False: 0]
  ------------------
 6176|   249k|        assert(dict && PyDict_Check(dict));
  ------------------
  |  Branch (6176:9): [True: 249k, False: 0]
  |  Branch (6176:9): [True: 249k, False: 0]
  ------------------
 6177|   249k|        Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(
 6178|   249k|            (PyDictObject *)dict, name, hash, out);
 6179|   249k|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|   249k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (6179:13): [True: 0, False: 249k]
  ------------------
 6180|      0|            PyErr_Clear();
 6181|      0|            res = -1;
 6182|      0|            goto done;
 6183|      0|        }
 6184|   249k|        if (!PyStackRef_IsNull(*out)) {
  ------------------
  |  |  482|   249k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|   249k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   249k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6184:13): [True: 136k, False: 113k]
  ------------------
 6185|   136k|            res = 1;
 6186|   136k|            break;
 6187|   136k|        }
 6188|   249k|    }
 6189|   191k|done:
 6190|   191k|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
 6191|   191k|    return res;
 6192|   191k|}
typeobject.c:set_flags_recursive:
 6435|     27|{
 6436|     27|    if (PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) ||
  ------------------
  |  |  500|     27|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6436:9): [True: 27, False: 0]
  ------------------
 6437|      0|        (self->tp_flags & mask) == flags)
  ------------------
  |  Branch (6437:9): [True: 0, False: 0]
  ------------------
 6438|     27|    {
 6439|     27|        return;
 6440|     27|    }
 6441|       |
 6442|      0|    type_set_flags_with_mask(self, mask, flags);
 6443|       |
 6444|      0|    PyObject *children = _PyType_GetSubclasses(self);
 6445|      0|    if (children == NULL) {
  ------------------
  |  Branch (6445:9): [True: 0, False: 0]
  ------------------
 6446|      0|        return;
 6447|      0|    }
 6448|       |
 6449|      0|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(children); i++) {
  ------------------
  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6449:28): [True: 0, False: 0]
  ------------------
 6450|      0|        PyObject *child = PyList_GET_ITEM(children, i);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6450:27): [True: 0, False: 0]
  ------------------
 6451|      0|        set_flags_recursive((PyTypeObject *)child, mask, flags);
 6452|      0|    }
 6453|      0|    Py_DECREF(children);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6454|      0|}
typeobject.c:type_dealloc_common:
 6794|      7|{
 6795|      7|    PyObject *bases = lookup_tp_bases(type);
 6796|      7|    if (bases != NULL) {
  ------------------
  |  Branch (6796:9): [True: 7, False: 0]
  ------------------
 6797|      7|        PyObject *exc = PyErr_GetRaisedException();
 6798|      7|        BEGIN_TYPE_LOCK();
 6799|      7|        remove_all_subclasses(type, bases);
 6800|      7|        END_TYPE_LOCK();
 6801|      7|        PyErr_SetRaisedException(exc);
 6802|      7|    }
 6803|      7|}
typeobject.c:remove_all_subclasses:
 9843|      7|{
 9844|      7|    assert(bases != NULL);
  ------------------
  |  Branch (9844:5): [True: 7, False: 0]
  ------------------
 9845|       |    // remove_subclass() can clear the current exception
 9846|      7|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (9846:5): [True: 7, False: 0]
  ------------------
 9847|       |
 9848|     14|    for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(bases); i++) {
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9848:28): [True: 7, False: 7]
  ------------------
 9849|      7|        PyObject *base = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|      7|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      7|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9849:26): [True: 7, False: 0]
  ------------------
 9850|      7|        if (PyType_Check(base)) {
  ------------------
  |  |  766|      7|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 7, False: 0]
  |  |  ------------------
  ------------------
 9851|      7|            remove_subclass((PyTypeObject*) base, type);
 9852|      7|        }
 9853|      7|    }
 9854|      7|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (9854:5): [True: 7, False: 0]
  ------------------
 9855|      7|}
typeobject.c:remove_subclass:
 9820|      7|{
 9821|      7|    PyObject *subclasses = lookup_tp_subclasses(base);  // borrowed ref
 9822|      7|    if (subclasses == NULL) {
  ------------------
  |  Branch (9822:9): [True: 0, False: 7]
  ------------------
 9823|      0|        return;
 9824|      0|    }
 9825|      7|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (9825:5): [True: 7, False: 0]
  ------------------
 9826|       |
 9827|      7|    PyObject *key = get_subclasses_key(type, base);
 9828|      7|    if (key != NULL && PyDict_DelItem(subclasses, key)) {
  ------------------
  |  Branch (9828:9): [True: 7, False: 0]
  |  Branch (9828:24): [True: 0, False: 7]
  ------------------
 9829|       |        /* This can happen if the type initialization errored out before
 9830|       |           the base subclasses were updated (e.g. a non-str __qualname__
 9831|       |           was passed in the type dict). */
 9832|      0|        PyErr_Clear();
 9833|      0|    }
 9834|      7|    Py_XDECREF(key);
  ------------------
  |  |  621|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9835|       |
 9836|      7|    if (PyDict_Size(subclasses) == 0) {
  ------------------
  |  Branch (9836:9): [True: 0, False: 7]
  ------------------
 9837|      0|        clear_tp_subclasses(base);
 9838|      0|    }
 9839|      7|}
typeobject.c:get_subclasses_key:
 9789|      7|{
 9790|      7|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9791|      7|    if (key != NULL) {
  ------------------
  |  Branch (9791:9): [True: 7, False: 0]
  ------------------
 9792|      7|        return key;
 9793|      7|    }
 9794|      0|    PyErr_Clear();
 9795|       |
 9796|       |    /* This basically means we're out of memory.
 9797|       |       We fall back to manually traversing the values. */
 9798|      0|    Py_ssize_t i = 0;
 9799|      0|    PyObject *ref;  // borrowed ref
 9800|      0|    PyObject *subclasses = lookup_tp_subclasses(base);
 9801|      0|    if (subclasses != NULL) {
  ------------------
  |  Branch (9801:9): [True: 0, False: 0]
  ------------------
 9802|      0|        while (PyDict_Next(subclasses, &i, &key, &ref)) {
  ------------------
  |  Branch (9802:16): [True: 0, False: 0]
  ------------------
 9803|      0|            PyTypeObject *subclass = type_from_ref(ref);
 9804|      0|            if (subclass == NULL) {
  ------------------
  |  Branch (9804:17): [True: 0, False: 0]
  ------------------
 9805|      0|                continue;
 9806|      0|            }
 9807|      0|            if (subclass == type) {
  ------------------
  |  Branch (9807:17): [True: 0, False: 0]
  ------------------
 9808|      0|                Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9809|      0|                return Py_NewRef(key);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9810|      0|            }
 9811|      0|            Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9812|      0|        }
 9813|      0|    }
 9814|       |    /* It wasn't found. */
 9815|      0|    return NULL;
 9816|      0|}
typeobject.c:clear_tp_subclasses:
  694|      7|{
  695|       |    /* Delete the dictionary to save memory. _PyStaticType_Dealloc()
  696|       |       callers also test if tp_subclasses is NULL to check if a static type
  697|       |       has no subclass. */
  698|      7|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|      7|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (698:9): [True: 0, False: 7]
  ------------------
  699|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
  700|      0|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  701|      0|        Py_CLEAR(state->tp_subclasses);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  702|      0|        return;
  703|      0|    }
  704|      7|    Py_CLEAR(self->tp_subclasses);
  ------------------
  |  |  487|      7|    do { \
  |  |  488|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 7]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
  705|      7|}
typeobject.c:type_dealloc:
 6926|      7|{
 6927|      7|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  141|      7|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6928|       |
 6929|       |    // Assert this is a heap-allocated type object
 6930|      7|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  360|      7|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      7|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      7|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 7, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      7|      ? (void)(0) \
  |  |  |  |  |  |  353|      7|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6931|       |
 6932|       |    // Notify type watchers before teardown.  The type object is still fully
 6933|       |    // intact at this point (dict, bases, mro, name are all valid), so
 6934|       |    // callbacks can safely inspect it.
 6935|      7|    if (type->tp_watched) {
  ------------------
  |  Branch (6935:9): [True: 0, False: 7]
  ------------------
 6936|      0|        _PyObject_ResurrectStart(self);
 6937|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 6938|      0|        int bits = type->tp_watched;
 6939|      0|        int i = 0;
 6940|      0|        while (bits) {
  ------------------
  |  Branch (6940:16): [True: 0, False: 0]
  ------------------
 6941|      0|            assert(i < TYPE_MAX_WATCHERS);
  ------------------
  |  Branch (6941:13): [True: 0, False: 0]
  ------------------
 6942|      0|            if (bits & 1) {
  ------------------
  |  Branch (6942:17): [True: 0, False: 0]
  ------------------
 6943|      0|                PyType_WatchCallback cb = interp->type_watchers[i];
 6944|      0|                if (cb && (cb(type) < 0)) {
  ------------------
  |  Branch (6944:21): [True: 0, False: 0]
  |  Branch (6944:27): [True: 0, False: 0]
  ------------------
 6945|      0|                    PyErr_FormatUnraisable(
 6946|      0|                        "Exception ignored in type watcher callback #%d "
 6947|      0|                        "for %R",
 6948|      0|                        i, type);
 6949|      0|                }
 6950|      0|            }
 6951|      0|            i++;
 6952|      0|            bits >>= 1;
 6953|      0|        }
 6954|      0|        if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (6954:13): [True: 0, False: 0]
  ------------------
 6955|      0|            return;     // callback resurrected the object
 6956|      0|        }
 6957|      0|    }
 6958|       |
 6959|      7|    _PyObject_GC_UNTRACK(type);
  ------------------
  |  |  504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6960|      7|    type_dealloc_common(type);
 6961|       |
 6962|       |    // PyObject_ClearWeakRefs() raises an exception if Py_REFCNT() != 0
 6963|      7|    assert(Py_REFCNT(type) == 0);
  ------------------
  |  Branch (6963:5): [True: 7, False: 0]
  ------------------
 6964|      7|    PyObject_ClearWeakRefs((PyObject *)type);
 6965|       |
 6966|      7|    Py_XDECREF(type->tp_base);
  ------------------
  |  |  621|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6967|      7|    Py_XDECREF(type->tp_dict);
  ------------------
  |  |  621|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6968|      7|    Py_XDECREF(type->tp_bases);
  ------------------
  |  |  621|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6969|      7|    Py_XDECREF(type->tp_mro);
  ------------------
  |  |  621|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6970|      7|    Py_XDECREF(type->tp_cache);
  ------------------
  |  |  621|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6971|      7|    clear_tp_subclasses(type);
 6972|      7|    _PyTypeCache_Invalidate(type);
 6973|       |
 6974|       |    /* A type's tp_doc is heap allocated, unlike the tp_doc slots
 6975|       |     * of most other objects.  It's okay to cast it to char *.
 6976|       |     */
 6977|      7|    PyMem_Free((char *)type->tp_doc);
 6978|       |
 6979|      7|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 6980|      7|    Py_XDECREF(et->ht_name);
  ------------------
  |  |  621|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6981|      7|    Py_XDECREF(et->ht_qualname);
  ------------------
  |  |  621|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6982|      7|    Py_XDECREF(et->ht_slots);
  ------------------
  |  |  621|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6983|      7|    if (et->ht_cached_keys) {
  ------------------
  |  Branch (6983:9): [True: 4, False: 3]
  ------------------
 6984|      4|        _PyDict_RemoveKeysForClass(et);
 6985|      4|    }
 6986|      7|    Py_XDECREF(et->ht_module);
  ------------------
  |  |  621|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6987|      7|    PyMem_Free(et->_ht_tpname);
 6988|       |#ifdef Py_GIL_DISABLED
 6989|       |    assert(et->unique_id == _Py_INVALID_UNIQUE_ID);
 6990|       |#endif
 6991|      7|    et->ht_token = NULL;
 6992|      7|    Py_TYPE(type)->tp_free((PyObject *)type);
  ------------------
  |  |  213|      7|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6993|      7|}
typeobject.c:type_call:
 2458|  38.8k|{
 2459|  38.8k|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  141|  38.8k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2460|  38.8k|    PyObject *obj;
 2461|  38.8k|    PyThreadState *tstate = _PyThreadState_GET();
 2462|       |
 2463|       |#ifdef Py_DEBUG
 2464|       |    /* type_call() must not be called with an exception set,
 2465|       |       because it can clear it (directly or indirectly) and so the
 2466|       |       caller loses its exception */
 2467|       |    assert(!_PyErr_Occurred(tstate));
 2468|       |#endif
 2469|       |
 2470|       |    /* Special case: type(x) should return Py_TYPE(x) */
 2471|       |    /* We only want type itself to accept the one-argument form (#27157) */
 2472|  38.8k|    if (type == &PyType_Type) {
  ------------------
  |  Branch (2472:9): [True: 709, False: 38.1k]
  ------------------
 2473|    709|        assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (2473:9): [True: 709, False: 0]
  |  Branch (2473:9): [True: 709, False: 0]
  ------------------
 2474|    709|        assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (2474:9): [True: 707, False: 2]
  |  Branch (2474:9): [True: 2, False: 0]
  ------------------
 2475|    709|        Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    709|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    709|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    709|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2476|       |
 2477|    709|        if (nargs == 1 && (kwds == NULL || !PyDict_GET_SIZE(kwds))) {
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2477:13): [True: 0, False: 709]
  |  Branch (2477:28): [True: 0, False: 0]
  |  Branch (2477:44): [True: 0, False: 0]
  ------------------
 2478|      0|            obj = (PyObject *) Py_TYPE(PyTuple_GET_ITEM(args, 0));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2479|      0|            return Py_NewRef(obj);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2480|      0|        }
 2481|       |
 2482|       |        /* SF bug 475327 -- if that didn't trigger, we need 3
 2483|       |           arguments. But PyArg_ParseTuple in type_new may give
 2484|       |           a msg saying type() needs exactly 3. */
 2485|    709|        if (nargs != 3) {
  ------------------
  |  Branch (2485:13): [True: 0, False: 709]
  ------------------
 2486|      0|            PyErr_SetString(PyExc_TypeError,
 2487|      0|                            "type() takes 1 or 3 arguments");
 2488|      0|            return NULL;
 2489|      0|        }
 2490|    709|    }
 2491|       |
 2492|  38.8k|    if (type->tp_new == NULL) {
  ------------------
  |  Branch (2492:9): [True: 0, False: 38.8k]
  ------------------
 2493|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 2494|      0|                      "cannot create '%s' instances", type->tp_name);
 2495|      0|        return NULL;
 2496|      0|    }
 2497|       |
 2498|  38.8k|    obj = type->tp_new(type, args, kwds);
 2499|  38.8k|    obj = _Py_CheckFunctionResult(tstate, (PyObject*)type, obj, NULL);
 2500|  38.8k|    if (obj == NULL)
  ------------------
  |  Branch (2500:9): [True: 0, False: 38.8k]
  ------------------
 2501|      0|        return NULL;
 2502|       |
 2503|       |    /* If the returned object is not an instance of type,
 2504|       |       it won't be initialized. */
 2505|  38.8k|    if (!PyObject_TypeCheck(obj, type))
  ------------------
  |  |  378|  38.8k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  38.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2505:9): [True: 0, False: 38.8k]
  ------------------
 2506|      0|        return obj;
 2507|       |
 2508|  38.8k|    type = Py_TYPE(obj);
  ------------------
  |  |  213|  38.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  38.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2509|  38.8k|    if (type->tp_init != NULL) {
  ------------------
  |  Branch (2509:9): [True: 38.8k, False: 0]
  ------------------
 2510|  38.8k|        int res = type->tp_init(obj, args, kwds);
 2511|  38.8k|        if (res < 0) {
  ------------------
  |  Branch (2511:13): [True: 13, False: 38.8k]
  ------------------
 2512|     13|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2512:13): [True: 13, False: 0]
  ------------------
 2513|     13|            Py_SETREF(obj, NULL);
  ------------------
  |  |  545|     13|    do { \
  |  |  546|     13|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     13|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|     13|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     13|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|     13|        *_tmp_dst_ptr = (src); \
  |  |  549|     13|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|     13|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 13]
  |  |  ------------------
  ------------------
 2514|     13|        }
 2515|  38.8k|        else {
 2516|  38.8k|            assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2516:13): [True: 38.8k, False: 0]
  ------------------
 2517|  38.8k|        }
 2518|  38.8k|    }
 2519|  38.8k|    return obj;
 2520|  38.8k|}
typeobject.c:type_setattro:
 6694|    245|{
 6695|    245|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  141|    245|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6696|    245|    int res;
 6697|    245|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    245|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6697:9): [True: 0, False: 245]
  ------------------
 6698|      0|        PyErr_Format(
 6699|      0|            PyExc_TypeError,
 6700|      0|            "cannot set %R attribute of immutable type '%s'",
 6701|      0|            name, type->tp_name);
 6702|      0|        return -1;
 6703|      0|    }
 6704|    245|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|    245|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    245|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6704:9): [True: 0, False: 245]
  ------------------
 6705|      0|        PyErr_Format(PyExc_TypeError,
 6706|      0|                     "attribute name must be string, not '%.200s'",
 6707|      0|                     Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6708|      0|        return -1;
 6709|      0|    }
 6710|       |
 6711|    245|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|    245|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6712|    245|        Py_INCREF(name);
  ------------------
  |  |  310|    245|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    245|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    245|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6713|    245|    }
 6714|      0|    else {
 6715|      0|        name = _PyUnicode_Copy(name);
 6716|      0|        if (name == NULL)
  ------------------
  |  Branch (6716:13): [True: 0, False: 0]
  ------------------
 6717|      0|            return -1;
 6718|      0|    }
 6719|    245|    if (!PyUnicode_CHECK_INTERNED(name)) {
  ------------------
  |  |  215|    245|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    245|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    245|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6719:9): [True: 0, False: 245]
  ------------------
 6720|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 6721|      0|        _PyUnicode_InternMortal(interp, &name);
 6722|      0|        if (!PyUnicode_CHECK_INTERNED(name)) {
  ------------------
  |  |  215|      0|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6722:13): [True: 0, False: 0]
  ------------------
 6723|      0|            PyErr_SetString(PyExc_MemoryError,
 6724|      0|                            "Out of memory interning an attribute name");
 6725|      0|            Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6726|      0|            return -1;
 6727|      0|        }
 6728|      0|    }
 6729|       |
 6730|    245|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|    245|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    245|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    245|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6731|    245|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_INLINE_VALUES));
  ------------------
  |  Branch (6731:5): [True: 245, False: 0]
  ------------------
 6732|    245|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_MANAGED_DICT));
  ------------------
  |  Branch (6732:5): [True: 245, False: 0]
  ------------------
 6733|       |
 6734|       |#ifdef Py_GIL_DISABLED
 6735|       |    // gh-139103: Enable deferred refcounting for functions and descriptors
 6736|       |    // assigned to type objects.  This is important for `dataclass.__init__`,
 6737|       |    // which is generated dynamically, and for descriptor scaling on
 6738|       |    // free-threaded builds.
 6739|       |    if (value != NULL && (PyFunction_Check(value) || Py_TYPE(value)->tp_descr_get != NULL))
 6740|       |    {
 6741|       |        PyUnstable_Object_EnableDeferredRefcount(value);
 6742|       |    }
 6743|       |#endif
 6744|       |
 6745|    245|    PyObject *old_value = NULL;
 6746|    245|    PyObject *descr = _PyType_LookupRef(metatype, name);
 6747|    245|    if (descr != NULL) {
  ------------------
  |  Branch (6747:9): [True: 101, False: 144]
  ------------------
 6748|    101|        descrsetfunc f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|    101|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6749|    101|        if (f != NULL) {
  ------------------
  |  Branch (6749:13): [True: 76, False: 25]
  ------------------
 6750|     76|            res = f(descr, (PyObject *)type, value);
 6751|     76|            goto done;
 6752|     76|        }
 6753|    101|    }
 6754|       |
 6755|    169|    PyObject *dict = type->tp_dict;
 6756|    169|    if (dict == NULL) {
  ------------------
  |  Branch (6756:9): [True: 0, False: 169]
  ------------------
 6757|       |        // This is an unlikely case.  PyType_Ready has not yet been done and
 6758|       |        // we need to initialize tp_dict.  We don't just do PyType_Ready
 6759|       |        // because we could already be readying.
 6760|      0|        BEGIN_TYPE_LOCK();
 6761|      0|        dict = type->tp_dict;
 6762|      0|        if (dict == NULL) {
  ------------------
  |  Branch (6762:13): [True: 0, False: 0]
  ------------------
 6763|      0|            dict = type->tp_dict = PyDict_New();
 6764|      0|        }
 6765|      0|        END_TYPE_LOCK();
 6766|      0|        if (dict == NULL) {
  ------------------
  |  Branch (6766:13): [True: 0, False: 0]
  ------------------
 6767|      0|            res = -1;
 6768|      0|            goto done;
 6769|      0|        }
 6770|      0|    }
 6771|       |
 6772|    169|    BEGIN_TYPE_DICT_LOCK(dict);
 6773|    169|    res = type_update_dict(type, (PyDictObject *)dict, name, value, &old_value);
 6774|    169|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (6774:5): [True: 169, False: 0]
  ------------------
 6775|    169|    if (res == 0) {
  ------------------
  |  Branch (6775:9): [True: 169, False: 0]
  ------------------
 6776|    169|        if (is_dunder_name(name) && has_slotdef(name)) {
  ------------------
  |  Branch (6776:13): [True: 31, False: 138]
  |  Branch (6776:37): [True: 24, False: 7]
  ------------------
 6777|       |            // The name corresponds to a type slot.
 6778|     24|            res = update_slot_after_setattr(type, name);
 6779|     24|        }
 6780|    169|    }
 6781|    169|    END_TYPE_DICT_LOCK();
 6782|       |
 6783|    245|done:
 6784|    245|    Py_DECREF(name);
  ------------------
  |  |  430|    245|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    245|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    245|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6785|    245|    Py_XDECREF(descr);
  ------------------
  |  |  621|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6786|       |    // delay decref of the old value as lock-free type cache readers may access it
 6787|    245|    _PyObject_XDecRefDelayed(old_value);
 6788|    245|    return res;
 6789|    169|}
typeobject.c:type_update_dict:
 6643|    169|{
 6644|       |    // We don't want any re-entrancy between when we update the dict
 6645|       |    // and call _PyType_Modified_Unlocked, including running the destructor
 6646|       |    // of the current value as it can observe the cache in an inconsistent
 6647|       |    // state.  The name is an exact unicode (see type_setattro()) and
 6648|       |    // str subclass keys are copied to exact str by type_new_copy_dict()
 6649|       |    // and type_setattro().  The type dict can still hold non-str keys
 6650|       |    // (type_new_impl() only warns about them) and comparing with one of
 6651|       |    // those can run user code that releases the locks.
 6652|    169|    if (_PyDict_GetItemRef_Unicode_LockHeld(dict, name, old_value) < 0) {
  ------------------
  |  Branch (6652:9): [True: 0, False: 169]
  ------------------
 6653|      0|        return -1;
 6654|      0|    }
 6655|       |
 6656|       |    /* Clear the VALID_VERSION flag of 'type' and all its
 6657|       |        subclasses.  This could possibly be unified with the
 6658|       |        update_subclasses() recursion in update_slot(), but carefully:
 6659|       |        they each have their own conditions on which to stop
 6660|       |        recursing into subclasses. */
 6661|    169|    _PyType_Modified_Unlocked(type);
 6662|       |
 6663|    169|    if (_PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (6663:9): [True: 0, False: 169]
  ------------------
 6664|      0|        PyErr_Format(PyExc_AttributeError,
 6665|      0|                     "type object '%.50s' has no attribute '%U'",
 6666|      0|                     ((PyTypeObject*)type)->tp_name, name);
 6667|      0|        _PyObject_SetAttributeErrorContext((PyObject *)type, name);
 6668|      0|        return -1;
 6669|      0|    }
 6670|       |
 6671|    169|    return 0;
 6672|    169|}
typeobject.c:has_slotdef:
11937|     31|{
11938|     31|    return slotname_lookup(name, _PyObject_HashDictKey(name)) >= 0;
11939|     31|}
typeobject.c:update_slot_after_setattr:
 6676|     24|{
 6677|     24|    types_stop_world();
 6678|     24|    int res = update_slot(type, name);
 6679|     24|    types_start_world();
 6680|       |#ifdef Py_GIL_DISABLED
 6681|       |    // Invalidate again, after the slots are updated and while TYPE_LOCK is
 6682|       |    // still held.  Other threads may have assigned new version tags while
 6683|       |    // the lock was released waiting for the stop-the-world and cached
 6684|       |    // decisions based on the old slots.  This is a no-op if the tags are
 6685|       |    // still invalid.
 6686|       |    ASSERT_TYPE_LOCK_HELD();
 6687|       |    _PyType_Modified_Unlocked(type);
 6688|       |#endif
 6689|     24|    return res;
 6690|     24|}
typeobject.c:update_slot:
12261|     24|{
12262|     24|    pytype_slotdef *ptrs[MAX_EQUIV];
12263|     24|    pytype_slotdef *p;
12264|     24|    pytype_slotdef **pp;
12265|     24|    int offset;
12266|       |
12267|     24|    ASSERT_TYPE_LOCK_HELD();
12268|     24|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (12268:5): [True: 24, False: 0]
  ------------------
12269|     24|    assert(PyUnicode_CHECK_INTERNED(name));
  ------------------
  |  Branch (12269:5): [True: 24, False: 0]
  ------------------
12270|       |
12271|     24|    Py_ssize_t idx = slotname_lookup(name, _PyObject_HashDictKey(name));
12272|     24|    if (idx < 0) {
  ------------------
  |  Branch (12272:9): [True: 0, False: 24]
  ------------------
12273|      0|        return 0; /* Not an attribute that affects any slots */
12274|      0|    }
12275|       |    /* All slotdefs with this name, in slotdefs order. */
12276|     24|    const uint8_t *dups = slotdefs_dups[idx];
12277|     24|    pp = ptrs;
12278|     48|    for (uint8_t k = 1; k <= dups[0]; k++) {
  ------------------
  |  Branch (12278:25): [True: 24, False: 24]
  ------------------
12279|     24|        p = &slotdefs[dups[k]];
12280|     24|        offset = p->offset;
12281|     27|        while (p > slotdefs && (p-1)->offset == offset)
  ------------------
  |  Branch (12281:16): [True: 27, False: 0]
  |  Branch (12281:32): [True: 3, False: 24]
  ------------------
12282|      3|            --p;
12283|     24|        *pp++ = p;
12284|     24|    }
12285|     24|    *pp = NULL;
12286|       |
12287|     24|    update_callback_data_t callback_data;
12288|     24|    callback_data.defs = ptrs;
12289|     24|    return update_subclasses(type, name,
12290|     24|                             update_slots_callback, (void *)&callback_data);
12291|     24|}
typeobject.c:update_subclasses:
12465|     24|{
12466|     24|    if (callback(type, data) < 0) {
  ------------------
  |  Branch (12466:9): [True: 0, False: 24]
  ------------------
12467|      0|        return -1;
12468|      0|    }
12469|     24|    return recurse_down_subclasses(type, attr_name, callback, data);
12470|     24|}
typeobject.c:recurse_down_subclasses:
12475|     24|{
12476|       |    // It is safe to use a borrowed reference because update_subclasses() is
12477|       |    // only used with update_slots_callback() which doesn't modify
12478|       |    // tp_subclasses.
12479|     24|    PyObject *subclasses = lookup_tp_subclasses(type);  // borrowed ref
12480|     24|    if (subclasses == NULL) {
  ------------------
  |  Branch (12480:9): [True: 24, False: 0]
  ------------------
12481|     24|        return 0;
12482|     24|    }
12483|     24|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (12483:5): [True: 0, False: 0]
  ------------------
12484|       |
12485|      0|    Py_ssize_t i = 0;
12486|      0|    PyObject *ref;
12487|      0|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (12487:12): [True: 0, False: 0]
  ------------------
12488|       |#ifdef Py_GIL_DISABLED
12489|       |        // With the world stopped, use borrowed references to the subclasses,
12490|       |        // so that dropping a reference cannot run type_dealloc().  Look up
12491|       |        // attr_name without calling __eq__ of non-str keys, consistent with
12492|       |        // find_slot_name_in_mro().
12493|       |        assert(types_world_is_stopped());
12494|       |        if (_PyWeakref_IS_DEAD(ref)) {
12495|       |            continue;
12496|       |        }
12497|       |        PyTypeObject *subclass =
12498|       |            _PyType_CAST(((PyWeakReference *)ref)->wr_object);
12499|       |
12500|       |        /* Avoid recursing down into unaffected classes */
12501|       |        PyObject *dict = lookup_tp_dict(subclass);
12502|       |        if (dict != NULL && PyDict_Check(dict) &&
12503|       |            _PyDict_GetItem_ExactUnicode((PyDictObject *)dict,
12504|       |                                         attr_name) != NULL)
12505|       |        {
12506|       |            continue;
12507|       |        }
12508|       |
12509|       |        if (update_subclasses(subclass, attr_name, callback, data) < 0) {
12510|       |            return -1;
12511|       |        }
12512|       |#else
12513|      0|        PyTypeObject *subclass = type_from_ref(ref);
12514|      0|        if (subclass == NULL) {
  ------------------
  |  Branch (12514:13): [True: 0, False: 0]
  ------------------
12515|      0|            continue;
12516|      0|        }
12517|       |
12518|       |        /* Avoid recursing down into unaffected classes */
12519|      0|        PyObject *dict = lookup_tp_dict(subclass);
12520|      0|        if (dict != NULL && PyDict_Check(dict)) {
  ------------------
  |  |   18|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12520:13): [True: 0, False: 0]
  ------------------
12521|      0|            int r = PyDict_Contains(dict, attr_name);
12522|      0|            if (r < 0) {
  ------------------
  |  Branch (12522:17): [True: 0, False: 0]
  ------------------
12523|      0|                Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12524|      0|                return -1;
12525|      0|            }
12526|      0|            if (r > 0) {
  ------------------
  |  Branch (12526:17): [True: 0, False: 0]
  ------------------
12527|      0|                Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12528|      0|                continue;
12529|      0|            }
12530|      0|        }
12531|       |
12532|      0|        if (update_subclasses(subclass, attr_name, callback, data) < 0) {
  ------------------
  |  Branch (12532:13): [True: 0, False: 0]
  ------------------
12533|      0|            Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12534|      0|            return -1;
12535|      0|        }
12536|      0|        Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12537|      0|#endif
12538|      0|    }
12539|      0|    return 0;
12540|      0|}
typeobject.c:update_slots_callback:
12246|     24|{
12247|     24|    ASSERT_NEW_TYPE_OR_LOCKED(type);
12248|       |
12249|     24|    update_callback_data_t *update_data = (update_callback_data_t *)data;
12250|     24|    pytype_slotdef **pp = update_data->defs;
12251|     48|    for (; *pp; pp++) {
  ------------------
  |  Branch (12251:12): [True: 24, False: 24]
  ------------------
12252|     24|        update_one_slot(type, *pp, NULL, NULL);
12253|     24|    }
12254|     24|    return 0;
12255|     24|}
typeobject.c:type_traverse:
 7147|  58.1k|{
 7148|  58.1k|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  141|  58.1k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7149|       |
 7150|       |    /* Because of type_is_gc(), the collector only calls this
 7151|       |       for heaptypes. */
 7152|  58.1k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  58.1k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (7152:9): [True: 0, False: 58.1k]
  ------------------
 7153|      0|        char msg[200];
 7154|      0|        sprintf(msg, "type_traverse() called on non-heap type '%.100s'",
 7155|      0|                type->tp_name);
 7156|      0|        _PyObject_ASSERT_FAILED_MSG((PyObject *)type, msg);
  ------------------
  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
 7157|      0|    }
 7158|       |
 7159|  58.1k|    Py_VISIT(type->tp_dict);
  ------------------
  |  |  194|  58.1k|    do {                                                                \
  |  |  195|  58.1k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 58.1k, False: 0]
  |  |  ------------------
  |  |  196|  58.1k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  58.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  58.1k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 58.1k]
  |  |  ------------------
  |  |  198|  58.1k|                return vret;                                            \
  |  |  199|  58.1k|        }                                                               \
  |  |  200|  58.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 58.1k]
  |  |  ------------------
  ------------------
 7160|  58.1k|    Py_VISIT(type->tp_cache);
  ------------------
  |  |  194|  58.1k|    do {                                                                \
  |  |  195|  58.1k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 58.1k]
  |  |  ------------------
  |  |  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|  58.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 58.1k]
  |  |  ------------------
  ------------------
 7161|  58.1k|    Py_VISIT(type->tp_mro);
  ------------------
  |  |  194|  58.1k|    do {                                                                \
  |  |  195|  58.1k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 58.1k, False: 0]
  |  |  ------------------
  |  |  196|  58.1k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  58.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  58.1k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 58.1k]
  |  |  ------------------
  |  |  198|  58.1k|                return vret;                                            \
  |  |  199|  58.1k|        }                                                               \
  |  |  200|  58.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 58.1k]
  |  |  ------------------
  ------------------
 7162|  58.1k|    Py_VISIT(type->tp_bases);
  ------------------
  |  |  194|  58.1k|    do {                                                                \
  |  |  195|  58.1k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 58.1k, False: 0]
  |  |  ------------------
  |  |  196|  58.1k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  58.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  58.1k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 58.1k]
  |  |  ------------------
  |  |  198|  58.1k|                return vret;                                            \
  |  |  199|  58.1k|        }                                                               \
  |  |  200|  58.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 58.1k]
  |  |  ------------------
  ------------------
 7163|  58.1k|    Py_VISIT(type->tp_base);
  ------------------
  |  |  194|  58.1k|    do {                                                                \
  |  |  195|  58.1k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 58.1k, False: 0]
  |  |  ------------------
  |  |  196|  58.1k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  58.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  58.1k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 58.1k]
  |  |  ------------------
  |  |  198|  58.1k|                return vret;                                            \
  |  |  199|  58.1k|        }                                                               \
  |  |  200|  58.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 58.1k]
  |  |  ------------------
  ------------------
 7164|  58.1k|    Py_VISIT(((PyHeapTypeObject *)type)->ht_module);
  ------------------
  |  |  194|  58.1k|    do {                                                                \
  |  |  195|  58.1k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 5.14k, False: 53.0k]
  |  |  ------------------
  |  |  196|  5.14k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  5.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  5.14k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 5.14k]
  |  |  ------------------
  |  |  198|  5.14k|                return vret;                                            \
  |  |  199|  5.14k|        }                                                               \
  |  |  200|  58.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 58.1k]
  |  |  ------------------
  ------------------
 7165|       |
 7166|       |    /* There's no need to visit others because they can't be involved
 7167|       |       in cycles:
 7168|       |       type->tp_subclasses is a list of weak references,
 7169|       |       ((PyHeapTypeObject *)type)->ht_slots is a tuple of strings,
 7170|       |       ((PyHeapTypeObject *)type)->ht_*name are strings.
 7171|       |       */
 7172|       |
 7173|  58.1k|    return 0;
 7174|  58.1k|}
typeobject.c:type_clear:
 7178|      7|{
 7179|      7|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  141|      7|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7180|       |
 7181|       |    /* Because of type_is_gc(), the collector only calls this
 7182|       |       for heaptypes. */
 7183|      7|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  360|      7|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      7|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      7|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 7, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      7|      ? (void)(0) \
  |  |  |  |  |  |  353|      7|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7184|       |
 7185|       |    /* We need to invalidate the method cache carefully before clearing
 7186|       |       the dict, so that other objects caught in a reference cycle
 7187|       |       don't start calling destroyed methods.
 7188|       |
 7189|       |       Otherwise, we need to clear tp_mro, which is
 7190|       |       part of a hard cycle (its first element is the class itself) that
 7191|       |       won't be broken otherwise (it's a tuple and tuples don't have a
 7192|       |       tp_clear handler).
 7193|       |       We also need to clear ht_module, if present: the module usually holds a
 7194|       |       reference to its class. None of the other fields need to be
 7195|       |
 7196|       |       cleared, and here's why:
 7197|       |
 7198|       |       tp_cache:
 7199|       |           Not used; if it were, it would be a dict.
 7200|       |
 7201|       |       tp_bases, tp_base:
 7202|       |           If these are involved in a cycle, there must be at least
 7203|       |           one other, mutable object in the cycle, e.g. a base
 7204|       |           class's dict; the cycle will be broken that way.
 7205|       |
 7206|       |       tp_subclasses:
 7207|       |           A dict of weak references can't be part of a cycle; and
 7208|       |           dicts have their own tp_clear.
 7209|       |
 7210|       |       slots (in PyHeapTypeObject):
 7211|       |           A tuple of strings can't be part of a cycle.
 7212|       |    */
 7213|       |
 7214|      7|    PyType_Modified(type);
 7215|      7|    PyObject *dict = lookup_tp_dict(type);
 7216|      7|    if (dict) {
  ------------------
  |  Branch (7216:9): [True: 7, False: 0]
  ------------------
 7217|      7|        PyDict_Clear(dict);
 7218|      7|    }
 7219|      7|    Py_CLEAR(((PyHeapTypeObject *)type)->ht_module);
  ------------------
  |  |  487|      7|    do { \
  |  |  488|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 7]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 7220|       |
 7221|      7|    Py_CLEAR(type->tp_mro);
  ------------------
  |  |  487|      7|    do { \
  |  |  488|      7|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      7|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      7|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 7, False: 0]
  |  |  ------------------
  |  |  491|      7|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      7|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      7|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      7|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      7|        } \
  |  |  494|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 7222|       |
 7223|      7|    return 0;
 7224|      7|}
typeobject.c:type_mro_impl:
 3572|     82|{
 3573|     82|    PyObject *seq;
 3574|     82|    seq = mro_implementation(self);
 3575|     82|    if (seq != NULL && !PyList_Check(seq)) {
  ------------------
  |  |   25|     82|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     82|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3575:9): [True: 82, False: 0]
  |  Branch (3575:24): [True: 66, False: 16]
  ------------------
 3576|     66|        Py_SETREF(seq, PySequence_List(seq));
  ------------------
  |  |  545|     66|    do { \
  |  |  546|     66|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     66|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|     66|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     66|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|     66|        *_tmp_dst_ptr = (src); \
  |  |  549|     66|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|     66|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 3577|     66|    }
 3578|     82|    return seq;
 3579|     82|}
typeobject.c:mro_implementation:
 3555|     82|{
 3556|     82|    PyObject *mro;
 3557|     82|    BEGIN_TYPE_LOCK();
 3558|     82|    mro = mro_implementation_unlocked(type);
 3559|     82|    END_TYPE_LOCK();
 3560|     82|    return mro;
 3561|     82|}
typeobject.c:mro_implementation_unlocked:
 3467|  1.32k|{
 3468|  1.32k|    ASSERT_TYPE_LOCK_HELD();
 3469|       |
 3470|  1.32k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (3470:9): [True: 0, False: 1.32k]
  ------------------
 3471|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (3471:13): [True: 0, False: 0]
  ------------------
 3472|      0|            return NULL;
 3473|      0|    }
 3474|       |
 3475|  1.32k|    PyObject *bases = lookup_tp_bases(type);
 3476|  1.32k|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  1.32k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3477|  2.84k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3477:28): [True: 1.51k, False: 1.32k]
  ------------------
 3478|  3.03k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|  1.51k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 1.51k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3478:30): [True: 1.51k, False: 0]
  |  Branch (3478:30): [True: 1.51k, False: 0]
  ------------------
 3479|  1.51k|        if (lookup_tp_mro(base) == NULL) {
  ------------------
  |  Branch (3479:13): [True: 0, False: 1.51k]
  ------------------
 3480|      0|            PyErr_Format(PyExc_TypeError,
 3481|      0|                         "Cannot extend an incomplete type '%.100s'",
 3482|      0|                         base->tp_name);
 3483|      0|            return NULL;
 3484|      0|        }
 3485|  3.03k|        assert(PyTuple_Check(lookup_tp_mro(base)));
  ------------------
  |  Branch (3485:9): [True: 1.51k, False: 0]
  ------------------
 3486|  1.51k|    }
 3487|       |
 3488|  1.32k|    if (n == 1) {
  ------------------
  |  Branch (3488:9): [True: 1.15k, False: 176]
  ------------------
 3489|       |        /* Fast path: if there is a single base, constructing the MRO
 3490|       |         * is trivial.
 3491|       |         */
 3492|  2.30k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, 0));
  ------------------
  |  |  770|  1.15k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 1.15k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3492:30): [True: 1.15k, False: 0]
  |  Branch (3492:30): [True: 1.15k, False: 0]
  ------------------
 3493|      0|        PyObject *base_mro = lookup_tp_mro(base);
 3494|  2.30k|        assert(base_mro != NULL);
  ------------------
  |  Branch (3494:9): [True: 1.15k, False: 0]
  ------------------
 3495|  1.15k|        Py_ssize_t k = PyTuple_GET_SIZE(base_mro);
  ------------------
  |  |   27|  1.15k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3496|  1.15k|        PyObject *result = PyTuple_New(k + 1);
 3497|  1.15k|        if (result == NULL) {
  ------------------
  |  Branch (3497:13): [True: 0, False: 1.15k]
  ------------------
 3498|      0|            return NULL;
 3499|      0|        }
 3500|       |
 3501|  1.15k|        ;
 3502|  1.15k|        PyTuple_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   40|  1.15k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3503|  3.59k|        for (Py_ssize_t i = 0; i < k; i++) {
  ------------------
  |  Branch (3503:32): [True: 2.44k, False: 1.15k]
  ------------------
 3504|  2.44k|            PyObject *cls = PyTuple_GET_ITEM(base_mro, i);
  ------------------
  |  |   29|  2.44k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.44k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3504:29): [True: 2.44k, False: 0]
  ------------------
 3505|  2.44k|            PyTuple_SET_ITEM(result, i + 1, Py_NewRef(cls));
  ------------------
  |  |   40|  2.44k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3506|  2.44k|        }
 3507|  1.15k|        return result;
 3508|  1.15k|    }
 3509|       |
 3510|       |    /* This is just a basic sanity check. */
 3511|    176|    if (check_duplicates(bases) < 0) {
  ------------------
  |  Branch (3511:9): [True: 0, False: 176]
  ------------------
 3512|      0|        return NULL;
 3513|      0|    }
 3514|       |
 3515|       |    /* Find a superclass linearization that honors the constraints
 3516|       |       of the explicit tuples of bases and the constraints implied by
 3517|       |       each base class.
 3518|       |
 3519|       |       to_merge is an array of tuples, where each tuple is a superclass
 3520|       |       linearization implied by a base class.  The last element of
 3521|       |       to_merge is the declared tuple of bases.
 3522|       |    */
 3523|    176|    PyObject **to_merge = PyMem_New(PyObject *, n + 1);
  ------------------
  |  |   64|    176|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    176|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 176]
  |  |  ------------------
  |  |   65|    176|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3524|    176|    if (to_merge == NULL) {
  ------------------
  |  Branch (3524:9): [True: 0, False: 176]
  ------------------
 3525|      0|        PyErr_NoMemory();
 3526|      0|        return NULL;
 3527|      0|    }
 3528|       |
 3529|    176|    PyObject *mro_to_merge;
 3530|    543|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3530:28): [True: 367, False: 176]
  ------------------
 3531|    734|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|    367|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    734|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 367, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3531:30): [True: 367, False: 0]
  |  Branch (3531:30): [True: 367, False: 0]
  ------------------
 3532|      0|        mro_to_merge = lookup_tp_mro(base);
 3533|    734|        assert(mro_to_merge != NULL);
  ------------------
  |  Branch (3533:9): [True: 367, False: 0]
  ------------------
 3534|    367|        to_merge[i] = mro_to_merge;
 3535|    367|    }
 3536|    176|    to_merge[n] = bases;
 3537|       |
 3538|    176|    PyObject *result = PyList_New(1);
 3539|    176|    if (result == NULL) {
  ------------------
  |  Branch (3539:9): [True: 0, False: 176]
  ------------------
 3540|      0|        PyMem_Free(to_merge);
 3541|      0|        return NULL;
 3542|      0|    }
 3543|       |
 3544|    176|    PyList_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   50|    176|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    176|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    176|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    176|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    176|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3545|    176|    if (pmerge(result, to_merge, n + 1) < 0) {
  ------------------
  |  Branch (3545:9): [True: 0, False: 176]
  ------------------
 3546|      0|        Py_CLEAR(result);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3547|      0|    }
 3548|    176|    PyMem_Free(to_merge);
 3549|       |
 3550|    176|    return result;
 3551|    176|}
typeobject.c:check_duplicates:
 3306|    176|{
 3307|    176|    Py_ssize_t i, j, n;
 3308|       |    /* Let's use a quadratic time algorithm,
 3309|       |       assuming that the bases tuples is short.
 3310|       |    */
 3311|    176|    n = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|    176|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    176|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    176|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3312|    543|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3312:17): [True: 367, False: 176]
  ------------------
 3313|    367|        PyObject *o = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|    367|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    367|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    367|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3313:23): [True: 367, False: 0]
  ------------------
 3314|    579|        for (j = i + 1; j < n; j++) {
  ------------------
  |  Branch (3314:25): [True: 212, False: 367]
  ------------------
 3315|    424|            if (PyTuple_GET_ITEM(tuple, j) == o) {
  ------------------
  |  |   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 (3315:17): [True: 212, False: 0]
  |  Branch (3315:17): [True: 0, False: 212]
  ------------------
 3316|      0|                o = class_name(o);
 3317|      0|                if (o != NULL) {
  ------------------
  |  Branch (3317:21): [True: 0, False: 0]
  ------------------
 3318|      0|                    if (PyUnicode_Check(o)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3319|      0|                        PyErr_Format(PyExc_TypeError,
 3320|      0|                                     "duplicate base class %U", o);
 3321|      0|                    }
 3322|      0|                    else {
 3323|      0|                        PyErr_SetString(PyExc_TypeError,
 3324|      0|                                        "duplicate base class");
 3325|      0|                    }
 3326|      0|                    Py_DECREF(o);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3327|      0|                }
 3328|      0|                return -1;
 3329|      0|            }
 3330|    212|        }
 3331|    367|    }
 3332|    176|    return 0;
 3333|    176|}
typeobject.c:pmerge:
 3397|    176|{
 3398|    176|    int res = 0;
 3399|    176|    Py_ssize_t i, j, empty_cnt;
 3400|    176|    Py_ssize_t *remain;
 3401|       |
 3402|       |    /* remain stores an index into each sublist of to_merge.
 3403|       |       remain[i] is the index of the next base in to_merge[i]
 3404|       |       that is not included in acc.
 3405|       |    */
 3406|    176|    remain = PyMem_New(Py_ssize_t, to_merge_size);
  ------------------
  |  |   64|    176|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    176|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 176]
  |  |  ------------------
  |  |   65|    176|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3407|    176|    if (remain == NULL) {
  ------------------
  |  Branch (3407:9): [True: 0, False: 176]
  ------------------
 3408|      0|        PyErr_NoMemory();
 3409|      0|        return -1;
 3410|      0|    }
 3411|    719|    for (i = 0; i < to_merge_size; i++)
  ------------------
  |  Branch (3411:17): [True: 543, False: 176]
  ------------------
 3412|    543|        remain[i] = 0;
 3413|       |
 3414|    899|  again:
 3415|    899|    empty_cnt = 0;
 3416|  1.68k|    for (i = 0; i < to_merge_size; i++) {
  ------------------
  |  Branch (3416:17): [True: 1.50k, False: 176]
  ------------------
 3417|  1.50k|        PyObject *candidate;
 3418|       |
 3419|  1.50k|        PyObject *cur_tuple = to_merge[i];
 3420|       |
 3421|  1.50k|        if (remain[i] >= PyTuple_GET_SIZE(cur_tuple)) {
  ------------------
  |  |   27|  1.50k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3421:13): [True: 543, False: 962]
  ------------------
 3422|    543|            empty_cnt++;
 3423|    543|            continue;
 3424|    543|        }
 3425|       |
 3426|       |        /* Choose next candidate for MRO.
 3427|       |
 3428|       |           The input sequences alone can determine the choice.
 3429|       |           If not, choose the class which appears in the MRO
 3430|       |           of the earliest direct superclass of the new class.
 3431|       |        */
 3432|       |
 3433|    962|        candidate = PyTuple_GET_ITEM(cur_tuple, remain[i]);
  ------------------
  |  |   29|    962|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    962|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    962|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3433:21): [True: 962, False: 0]
  ------------------
 3434|  3.48k|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3434:21): [True: 2.76k, False: 723]
  ------------------
 3435|  2.76k|            PyObject *j_lst = to_merge[j];
 3436|  2.76k|            if (tail_contains(j_lst, remain[j], candidate))
  ------------------
  |  Branch (3436:17): [True: 239, False: 2.52k]
  ------------------
 3437|    239|                goto skip; /* continue outer loop */
 3438|  2.76k|        }
 3439|    723|        res = PyList_Append(acc, candidate);
 3440|    723|        if (res < 0)
  ------------------
  |  Branch (3440:13): [True: 0, False: 723]
  ------------------
 3441|      0|            goto out;
 3442|       |
 3443|  2.98k|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3443:21): [True: 2.26k, False: 723]
  ------------------
 3444|  2.26k|            PyObject *j_lst = to_merge[j];
 3445|  2.26k|            if (remain[j] < PyTuple_GET_SIZE(j_lst) &&
  ------------------
  |  |   27|  4.52k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3445:17): [True: 1.90k, False: 356]
  ------------------
 3446|  3.81k|                PyTuple_GET_ITEM(j_lst, remain[j]) == candidate) {
  ------------------
  |  |   29|  1.90k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.90k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3446:17): [True: 1.90k, False: 0]
  |  Branch (3446:17): [True: 1.43k, False: 469]
  ------------------
 3447|  1.43k|                remain[j]++;
 3448|  1.43k|            }
 3449|  2.26k|        }
 3450|    723|        goto again;
 3451|    239|      skip: ;
 3452|    239|    }
 3453|       |
 3454|    176|    if (empty_cnt != to_merge_size) {
  ------------------
  |  Branch (3454:9): [True: 0, False: 176]
  ------------------
 3455|      0|        set_mro_error(to_merge, to_merge_size, remain);
 3456|      0|        res = -1;
 3457|      0|    }
 3458|       |
 3459|    176|  out:
 3460|    176|    PyMem_Free(remain);
 3461|       |
 3462|    176|    return res;
 3463|    176|}
typeobject.c:tail_contains:
 3282|  2.76k|{
 3283|  2.76k|    Py_ssize_t j, size;
 3284|  2.76k|    size = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|  2.76k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3285|       |
 3286|  4.87k|    for (j = whence+1; j < size; j++) {
  ------------------
  |  Branch (3286:24): [True: 2.35k, False: 2.52k]
  ------------------
 3287|  4.70k|        if (PyTuple_GET_ITEM(tuple, j) == o)
  ------------------
  |  |   29|  2.35k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.35k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3287:13): [True: 2.35k, False: 0]
  |  Branch (3287:13): [True: 239, False: 2.11k]
  ------------------
 3288|    239|            return 1;
 3289|  2.35k|    }
 3290|  2.52k|    return 0;
 3291|  2.76k|}
typeobject.c:type___subclasses___impl:
 7005|     46|{
 7006|     46|    return _PyType_GetSubclasses(self);
 7007|     46|}
typeobject.c:type_prepare:
 7012|    769|{
 7013|    769|    return PyDict_New();
 7014|    769|}
typeobject.c:type___instancecheck___impl:
 2381|      2|{
 2382|      2|    return _PyObject_RealIsInstance(instance, (PyObject *)self);
 2383|      2|}
typeobject.c:type___subclasscheck___impl:
 2397|     10|{
 2398|     10|    return _PyObject_RealIsSubclass(subclass, (PyObject *)self);
 2399|     10|}
typeobject.c:check_set_special_type_attr:
 1422|      3|{
 1423|      3|    if (!value) {
  ------------------
  |  Branch (1423:9): [True: 0, False: 3]
  ------------------
 1424|      0|        PyErr_Format(PyExc_TypeError,
 1425|      0|                     "cannot delete '%s' attribute of type '%s'",
 1426|      0|                     name, type->tp_name);
 1427|      0|        return 0;
 1428|      0|    }
 1429|      3|    if (_PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|      3|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1429:9): [True: 0, False: 3]
  ------------------
 1430|      0|        PyErr_Format(PyExc_TypeError,
 1431|      0|                     "cannot set '%s' attribute of immutable type '%s'",
 1432|      0|                     name, type->tp_name);
 1433|      0|        return 0;
 1434|      0|    }
 1435|       |
 1436|      3|    if (PySys_Audit("object.__setattr__", "OsO",
  ------------------
  |  Branch (1436:9): [True: 0, False: 3]
  ------------------
 1437|      3|                    type, name, value) < 0) {
 1438|      0|        return 0;
 1439|      0|    }
 1440|       |
 1441|      3|    return 1;
 1442|      3|}
typeobject.c:type_get_bases:
 1699|     73|{
 1700|     73|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     73|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1701|     73|    PyObject *bases = _PyType_GetBases(type);
 1702|     73|    if (bases == NULL) {
  ------------------
  |  Branch (1702:9): [True: 0, False: 73]
  ------------------
 1703|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1704|      0|    }
 1705|     73|    return bases;
 1706|     73|}
typeobject.c:mro_internal:
 3691|  1.32k|{
 3692|  1.32k|    ASSERT_TYPE_LOCK_HELD();
 3693|       |
 3694|  1.32k|    PyObject *new_mro, *old_mro;
 3695|       |
 3696|       |    /* Keep a reference to be able to do a reentrancy check below.
 3697|       |       Don't let old_mro be GC'ed and its address be reused for
 3698|       |       another object, like (suddenly!) a new tp_mro.  */
 3699|  1.32k|    old_mro = Py_XNewRef(lookup_tp_mro(type));
  ------------------
  |  |  648|  1.32k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3700|  1.32k|    new_mro = mro_invoke(type);  /* might cause reentrance */
 3701|  1.32k|    if (new_mro == NULL) {
  ------------------
  |  Branch (3701:9): [True: 0, False: 1.32k]
  ------------------
 3702|      0|        Py_XDECREF(old_mro);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3703|      0|        return -1;
 3704|      0|    }
 3705|  1.32k|    int res;
 3706|  1.32k|    if (initial) {
  ------------------
  |  Branch (3706:9): [True: 1.32k, False: 0]
  ------------------
 3707|       |        // The type has not been revealed to other threads yet, so only
 3708|       |        // same-thread reentrance can have replaced tp_mro.
 3709|  1.32k|        if (lookup_tp_mro(type) == old_mro) {
  ------------------
  |  Branch (3709:13): [True: 1.32k, False: 0]
  ------------------
 3710|  1.32k|            set_tp_mro(type, new_mro);
 3711|  1.32k|            res = 1;
 3712|  1.32k|        }
 3713|      0|        else {
 3714|      0|            res = 0;
 3715|      0|        }
 3716|  1.32k|    }
 3717|      0|    else {
 3718|       |        // Store with the world stopped.  TYPE_LOCK may have been released
 3719|       |        // while mro_invoke() ran, so check for reentrance inside the
 3720|       |        // stop-the-world.  mro() can itself update types (assign a slot,
 3721|       |        // for example) and the result is stored anyway, as on the default
 3722|       |        // build.
 3723|      0|        res = try_set_tp_mro(type, old_mro, new_mro);
 3724|      0|    }
 3725|  1.32k|    if (res == 0) {
  ------------------
  |  Branch (3725:9): [True: 0, False: 1.32k]
  ------------------
 3726|       |        /* reentrance: tp_mro was replaced by someone else */
 3727|      0|        Py_DECREF(new_mro);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3728|      0|        Py_XDECREF(old_mro);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3729|      0|        return 0;
 3730|      0|    }
 3731|       |    /* Drop our temporary reference.  The reference previously owned by
 3732|       |       the type is now owned by this function and transferred below. */
 3733|  1.32k|    Py_XDECREF(old_mro);
  ------------------
  |  |  621|  1.32k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3734|       |
 3735|  1.32k|    type_mro_modified(type, new_mro);
 3736|       |    /* corner case: the super class might have been hidden
 3737|       |       from the custom MRO */
 3738|  1.32k|    type_mro_modified(type, lookup_tp_bases(type));
 3739|       |
 3740|       |    // XXX Expand this to Py_TPFLAGS_IMMUTABLETYPE?
 3741|  1.32k|    if (!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN)) {
  ------------------
  |  |  467|  1.32k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (3741:9): [True: 916, False: 412]
  ------------------
 3742|    916|        _PyType_Modified_Unlocked(type);
 3743|    916|    }
 3744|    412|    else {
 3745|       |        /* For static builtin types, this is only called during init
 3746|       |           before the method cache has been populated. */
 3747|    412|        assert(type->tp_version_tag);
  ------------------
  |  Branch (3747:9): [True: 412, False: 0]
  ------------------
 3748|    412|    }
 3749|       |
 3750|  1.32k|    if (p_old_mro != NULL)
  ------------------
  |  Branch (3750:9): [True: 0, False: 1.32k]
  ------------------
 3751|      0|        *p_old_mro = old_mro;  /* transfer the ownership */
 3752|  1.32k|    else
 3753|  1.32k|        Py_XDECREF(old_mro);
  ------------------
  |  |  621|  1.32k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3754|       |
 3755|  1.32k|    return 1;
 3756|  1.32k|}
typeobject.c:mro_invoke:
 3627|  1.32k|{
 3628|  1.32k|    PyObject *mro_result;
 3629|  1.32k|    PyObject *new_mro;
 3630|       |
 3631|  1.32k|    ASSERT_TYPE_LOCK_HELD();
 3632|       |
 3633|  1.32k|    const int custom = !Py_IS_TYPE(type, &PyType_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3634|       |
 3635|  1.32k|    if (custom) {
  ------------------
  |  Branch (3635:9): [True: 82, False: 1.24k]
  ------------------
 3636|       |        // Custom mro() method on metaclass.  This is potentially re-entrant.
 3637|       |        // We are called either from type_ready() or from type_set_bases().
 3638|     82|        mro_result = call_method_noarg((PyObject *)type, &_Py_ID(mro));
  ------------------
  |  |  951|     82|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     82|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     82|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3639|     82|    }
 3640|  1.24k|    else {
 3641|       |        // In this case, the mro() method on the type object is being used and
 3642|       |        // we know that these calls are not re-entrant.
 3643|  1.24k|        mro_result = mro_implementation_unlocked(type);
 3644|  1.24k|    }
 3645|  1.32k|    if (mro_result == NULL)
  ------------------
  |  Branch (3645:9): [True: 0, False: 1.32k]
  ------------------
 3646|      0|        return NULL;
 3647|       |
 3648|  1.32k|    new_mro = PySequence_Tuple(mro_result);
 3649|  1.32k|    Py_DECREF(mro_result);
  ------------------
  |  |  430|  1.32k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3650|  1.32k|    if (new_mro == NULL) {
  ------------------
  |  Branch (3650:9): [True: 0, False: 1.32k]
  ------------------
 3651|      0|        return NULL;
 3652|      0|    }
 3653|       |
 3654|  1.32k|    if (PyTuple_GET_SIZE(new_mro) == 0) {
  ------------------
  |  |   27|  1.32k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3654:9): [True: 0, False: 1.32k]
  ------------------
 3655|      0|        Py_DECREF(new_mro);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3656|      0|        PyErr_Format(PyExc_TypeError, "type MRO must not be empty");
 3657|      0|        return NULL;
 3658|      0|    }
 3659|       |
 3660|  1.32k|    if (custom && mro_check(type, new_mro) < 0) {
  ------------------
  |  Branch (3660:9): [True: 82, False: 1.24k]
  |  Branch (3660:19): [True: 0, False: 82]
  ------------------
 3661|      0|        Py_DECREF(new_mro);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3662|      0|        return NULL;
 3663|      0|    }
 3664|  1.32k|    return new_mro;
 3665|  1.32k|}
typeobject.c:call_method_noarg:
 3110|     82|{
 3111|     82|    PyThreadState *tstate = _PyThreadState_GET();
 3112|     82|    _PyCStackRef cref;
 3113|     82|    _PyThreadState_PushCStackRef(tstate, &cref);
 3114|     82|    PyObject *res = NULL;
 3115|     82|    int unbound = lookup_method(self, attr, &cref.ref);
 3116|     82|    if (unbound >= 0) {
  ------------------
  |  Branch (3116:9): [True: 82, False: 0]
  ------------------
 3117|     82|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3118|     82|        res = call_unbound_noarg(unbound, func, self);
 3119|     82|    }
 3120|     82|    _PyThreadState_PopCStackRef(tstate, &cref);
 3121|     82|    return res;
 3122|     82|}
typeobject.c:mro_check:
 3583|     82|{
 3584|     82|    PyTypeObject *solid;
 3585|     82|    Py_ssize_t i, n;
 3586|       |
 3587|     82|    solid = solid_base(type);
 3588|       |
 3589|     82|    n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3590|    480|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3590:17): [True: 398, False: 82]
  ------------------
 3591|    398|        PyObject *obj = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|    398|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    398|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    398|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3591:25): [True: 398, False: 0]
  ------------------
 3592|    398|        if (!PyType_Check(obj)) {
  ------------------
  |  |  766|    398|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    398|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    398|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3592:13): [True: 0, False: 398]
  ------------------
 3593|      0|            PyErr_Format(PyExc_TypeError,
 3594|      0|                         "%N.mro() returned a non-class ('%T')", type, obj);
 3595|      0|            return -1;
 3596|      0|        }
 3597|    398|        PyTypeObject *base = (PyTypeObject*)obj;
 3598|       |
 3599|    398|        if (!is_subtype_with_mro(lookup_tp_mro(solid), solid, solid_base(base))) {
  ------------------
  |  Branch (3599:13): [True: 0, False: 398]
  ------------------
 3600|      0|            PyErr_Format(
 3601|      0|                PyExc_TypeError,
 3602|      0|                "%N.mro() returned base with unsuitable layout ('%N')",
 3603|      0|                type, base);
 3604|      0|            return -1;
 3605|      0|        }
 3606|    398|    }
 3607|       |
 3608|     82|    return 0;
 3609|     82|}
typeobject.c:set_tp_mro:
  614|  1.32k|{
  615|  1.32k|    if (mro != NULL) {
  ------------------
  |  Branch (615:9): [True: 1.32k, False: 0]
  ------------------
  616|  1.32k|        assert(PyTuple_CheckExact(mro));
  ------------------
  |  Branch (616:9): [True: 1.32k, False: 0]
  ------------------
  617|  1.32k|        if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.32k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (617:13): [True: 412, False: 916]
  ------------------
  618|       |            // XXX tp_mro can probably be statically allocated for each
  619|       |            // static builtin type.
  620|    412|            assert(self->tp_mro == NULL);
  ------------------
  |  Branch (620:13): [True: 412, False: 0]
  ------------------
  621|       |            /* Other checks are done via set_tp_bases. */
  622|    412|            _Py_SetImmortal(mro);
  623|    412|        }
  624|    916|        else {
  625|    916|            PyUnstable_Object_EnableDeferredRefcount(mro);
  626|    916|        }
  627|  1.32k|    }
  628|  1.32k|    self->tp_mro = mro;
  629|  1.32k|}
typeobject.c:type_mro_modified:
 1217|  2.65k|{
 1218|       |    /*
 1219|       |       Check that all base classes or elements of the MRO of type are
 1220|       |       able to be cached.  This function is called after the base
 1221|       |       classes or mro of the type are altered.
 1222|       |
 1223|       |       Unset HAVE_VERSION_TAG and VALID_VERSION_TAG if the type
 1224|       |       has a custom MRO that includes a type which is not officially
 1225|       |       super type, or if the type implements its own mro() method.
 1226|       |
 1227|       |       Called from mro_internal, which will subsequently be called on
 1228|       |       each subclass when their mro is recursively updated.
 1229|       |     */
 1230|  2.65k|    Py_ssize_t i, n;
 1231|       |
 1232|  2.65k|    ASSERT_TYPE_LOCK_HELD();
 1233|  2.65k|    if (!Py_IS_TYPE(type, &PyType_Type) && has_custom_mro(type)) {
  ------------------
  |  |  215|  5.31k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1233:9): [True: 164, False: 2.49k]
  |  Branch (1233:44): [True: 0, False: 164]
  ------------------
 1234|      0|        goto clear;
 1235|      0|    }
 1236|  2.65k|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  2.65k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1237|  8.67k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1237:17): [True: 6.01k, False: 2.65k]
  ------------------
 1238|  6.01k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  6.01k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  6.01k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1238:23): [True: 6.01k, False: 0]
  ------------------
 1239|  6.01k|        PyTypeObject *cls = _PyType_CAST(b);
  ------------------
  |  |  770|  6.01k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1239:29): [True: 6.01k, False: 0]
  ------------------
 1240|       |
 1241|  6.01k|        if (cls->tp_versions_used >= _Py_ATTR_CACHE_UNUSED) {
  ------------------
  |  |  253|  6.01k|#define _Py_ATTR_CACHE_UNUSED (30000)  // (see tp_versions_used)
  ------------------
  |  Branch (1241:13): [True: 0, False: 6.01k]
  ------------------
 1242|      0|            goto clear;
 1243|      0|        }
 1244|       |
 1245|  6.01k|        if (!is_subtype_with_mro(lookup_tp_mro(type), type, cls)) {
  ------------------
  |  Branch (1245:13): [True: 0, False: 6.01k]
  ------------------
 1246|      0|            goto clear;
 1247|      0|        }
 1248|  6.01k|    }
 1249|  2.65k|    return;
 1250|       |
 1251|  2.65k| clear:
 1252|      0|    assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
  ------------------
  |  Branch (1252:5): [True: 0, False: 0]
  ------------------
 1253|      0|    set_version_unlocked(type, 0);  /* 0 is not a valid version tag */
 1254|      0|    _PyTypeCache_Invalidate(type);
 1255|      0|    type->tp_versions_used = _Py_ATTR_CACHE_UNUSED;
  ------------------
  |  |  253|      0|#define _Py_ATTR_CACHE_UNUSED (30000)  // (see tp_versions_used)
  ------------------
 1256|      0|    if (PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1256:9): [True: 0, False: 0]
  ------------------
 1257|       |        // This field *must* be invalidated if the type is modified (see the
 1258|       |        // comment on struct _specialization_cache):
 1259|      0|        FT_ATOMIC_STORE_PTR_RELAXED(
  ------------------
  |  |  165|      0|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
 1260|      0|            ((PyHeapTypeObject *)type)->_spec_cache.getitem, NULL);
 1261|      0|    }
 1262|      0|}
typeobject.c:has_custom_mro:
 1199|    164|{
 1200|    164|    _PyCStackRef c_ref1, c_ref2;
 1201|    164|    PyThreadState *tstate = _PyThreadState_GET();
 1202|    164|    _PyThreadState_PushCStackRef(tstate, &c_ref1);
 1203|    164|    _PyThreadState_PushCStackRef(tstate, &c_ref2);
 1204|       |
 1205|    164|    _PyType_LookupStackRefAndVersion(Py_TYPE(tp), &_Py_ID(mro), &c_ref1.ref);
  ------------------
  |  |  213|    164|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyType_LookupStackRefAndVersion(Py_TYPE(tp), &_Py_ID(mro), &c_ref1.ref);
  ------------------
  |  |  951|    164|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    164|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    164|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1206|    164|    _PyType_LookupStackRefAndVersion(&PyType_Type, &_Py_ID(mro), &c_ref2.ref);
  ------------------
  |  |  951|    164|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    164|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    164|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1207|       |
 1208|    164|    int custom = !PyStackRef_Is(c_ref1.ref, c_ref2.ref);
  ------------------
  |  |  742|    164|#define PyStackRef_Is(a, b) (((a).bits & (~Py_TAG_REFCNT)) == ((b).bits & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    164|#define Py_TAG_REFCNT 1
  |  |  ------------------
  |  |               #define PyStackRef_Is(a, b) (((a).bits & (~Py_TAG_REFCNT)) == ((b).bits & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    164|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1209|       |
 1210|    164|    _PyThreadState_PopCStackRef(tstate, &c_ref2);
 1211|    164|    _PyThreadState_PopCStackRef(tstate, &c_ref1);
 1212|    164|    return custom;
 1213|    164|}
typeobject.c:type_get_module:
 1573|     20|{
 1574|     20|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     20|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1575|     20|    return type_module(type);
 1576|     20|}
typeobject.c:type_set_module:
 1580|      3|{
 1581|      3|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|      3|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1582|      3|    if (!check_set_special_type_attr(type, value, "__module__"))
  ------------------
  |  Branch (1582:9): [True: 0, False: 3]
  ------------------
 1583|      0|        return -1;
 1584|       |
 1585|      3|    PyType_Modified(type);
 1586|       |
 1587|      3|    PyObject *dict = lookup_tp_dict(type);
 1588|      3|    if (PyDict_Pop(dict, &_Py_ID(__firstlineno__), NULL) < 0) {
  ------------------
  |  |  951|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1588:9): [True: 0, False: 3]
  ------------------
 1589|      0|        return -1;
 1590|      0|    }
 1591|      3|    return PyDict_SetItem(dict, &_Py_ID(__module__), value);
  ------------------
  |  |  951|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1592|      3|}
typeobject.c:type_abstractmethods:
 1636|     88|{
 1637|     88|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     88|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1638|     88|    PyObject *res = NULL;
 1639|       |    /* type itself has an __abstractmethods__ descriptor (this). Don't return
 1640|       |       that. */
 1641|     88|    if (type == &PyType_Type) {
  ------------------
  |  Branch (1641:9): [True: 0, False: 88]
  ------------------
 1642|      0|        PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1643|      0|    }
 1644|     88|    else {
 1645|     88|        PyObject *dict = lookup_tp_dict(type);
 1646|     88|        if (PyDict_GetItemRef(dict, &_Py_ID(__abstractmethods__), &res) == 0) {
  ------------------
  |  |  951|     88|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     88|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     88|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1646:13): [True: 24, False: 64]
  ------------------
 1647|     24|            PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  951|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1648|     24|        }
 1649|     88|    }
 1650|     88|    return res;
 1651|     88|}
typeobject.c:type_set_abstractmethods:
 1655|     73|{
 1656|     73|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     73|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1657|       |    /* __abstractmethods__ should only be set once on a type, in
 1658|       |       abc.ABCMeta.__new__, so this function doesn't do anything
 1659|       |       special to update subclasses.
 1660|       |    */
 1661|     73|    int abstract, res;
 1662|     73|    PyObject *dict = lookup_tp_dict(type);
 1663|     73|    if (value != NULL) {
  ------------------
  |  Branch (1663:9): [True: 73, False: 0]
  ------------------
 1664|     73|        abstract = PyObject_IsTrue(value);
 1665|     73|        if (abstract < 0)
  ------------------
  |  Branch (1665:13): [True: 0, False: 73]
  ------------------
 1666|      0|            return -1;
 1667|     73|        res = PyDict_SetItem(dict, &_Py_ID(__abstractmethods__), value);
  ------------------
  |  |  951|     73|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     73|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     73|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1668|     73|    }
 1669|      0|    else {
 1670|      0|        abstract = 0;
 1671|      0|        res = PyDict_Pop(dict, &_Py_ID(__abstractmethods__), NULL);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1672|      0|        if (res == 0) {
  ------------------
  |  Branch (1672:13): [True: 0, False: 0]
  ------------------
 1673|      0|            PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1674|      0|            return -1;
 1675|      0|        }
 1676|      0|    }
 1677|     73|    if (res < 0) {
  ------------------
  |  Branch (1677:9): [True: 0, False: 73]
  ------------------
 1678|      0|        return -1;
 1679|      0|    }
 1680|       |
 1681|     73|    BEGIN_TYPE_LOCK();
 1682|     73|    types_stop_world();
 1683|     73|    if (abstract)
  ------------------
  |  Branch (1683:9): [True: 48, False: 25]
  ------------------
 1684|     48|        type_add_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|     48|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1685|     25|    else
 1686|     25|        type_clear_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|     25|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1687|     73|    types_start_world();
 1688|       |    // Invalidate the version tag after update, while TYPE_LOCK is
 1689|       |    // still held.
 1690|     73|    ASSERT_TYPE_LOCK_HELD();
 1691|     73|    _PyType_Modified_Unlocked(type);
 1692|     73|    END_TYPE_LOCK();
 1693|       |
 1694|     73|    return 0;
 1695|     73|}
typeobject.c:type_dict:
 2066|    383|{
 2067|    383|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|    383|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2068|    383|    PyObject *dict = lookup_tp_dict(type);
 2069|    383|    if (dict == NULL) {
  ------------------
  |  Branch (2069:9): [True: 0, False: 383]
  ------------------
 2070|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2071|      0|    }
 2072|    383|    return PyDictProxy_New(dict);
 2073|    383|}
typeobject.c:type_get_doc:
 2077|     24|{
 2078|     24|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     24|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2079|     24|    PyObject *result;
 2080|     24|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL) {
  ------------------
  |  |  503|     24|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2080:9): [True: 18, False: 6]
  |  Branch (2080:52): [True: 18, False: 0]
  ------------------
 2081|     18|        return _PyType_GetDocFromInternalDoc(type->tp_name, type->tp_doc);
 2082|     18|    }
 2083|      6|    PyObject *dict = lookup_tp_dict(type);
 2084|      6|    if (PyDict_GetItemRef(dict, &_Py_ID(__doc__), &result) == 0) {
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2084:9): [True: 0, False: 6]
  ------------------
 2085|      0|        result = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2086|      0|    }
 2087|      6|    else if (result) {
  ------------------
  |  Branch (2087:14): [True: 6, False: 0]
  ------------------
 2088|      6|        descrgetfunc descr_get = Py_TYPE(result)->tp_descr_get;
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2089|      6|        if (descr_get) {
  ------------------
  |  Branch (2089:13): [True: 0, False: 6]
  ------------------
 2090|      0|            Py_SETREF(result, descr_get(result, NULL, (PyObject *)type));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2091|      0|        }
 2092|      6|    }
 2093|      6|    return result;
 2094|     24|}
typeobject.c:type_init:
 4063|    789|{
 4064|    789|    assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (4064:5): [True: 789, False: 0]
  |  Branch (4064:5): [True: 789, False: 0]
  ------------------
 4065|    789|    assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (4065:5): [True: 761, False: 28]
  |  Branch (4065:5): [True: 28, False: 0]
  ------------------
 4066|       |
 4067|    789|    if (kwds != NULL && PyTuple_GET_SIZE(args) == 1 &&
  ------------------
  |  |   27|     28|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4067:9): [True: 28, False: 761]
  |  Branch (4067:25): [True: 0, False: 28]
  ------------------
 4068|      0|        PyDict_GET_SIZE(kwds) != 0) {
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4068:9): [True: 0, False: 0]
  ------------------
 4069|      0|        PyErr_SetString(PyExc_TypeError,
 4070|      0|                        "type.__init__() takes no keyword arguments");
 4071|      0|        return -1;
 4072|      0|    }
 4073|       |
 4074|    789|    if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|    789|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|    789|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4074:10): [True: 789, False: 0]
  |  Branch (4074:41): [True: 0, False: 789]
  ------------------
 4075|      0|        PyErr_SetString(PyExc_TypeError,
 4076|      0|                        "type.__init__() takes 1 or 3 arguments");
 4077|      0|        return -1;
 4078|      0|    }
 4079|       |
 4080|    789|    return 0;
 4081|    789|}
typeobject.c:type_new:
 5068|    791|{
 5069|    791|    assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (5069:5): [True: 791, False: 0]
  |  Branch (5069:5): [True: 791, False: 0]
  ------------------
 5070|    791|    assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (5070:5): [True: 789, False: 2]
  |  Branch (5070:5): [True: 2, False: 0]
  ------------------
 5071|       |
 5072|       |    /* Parse arguments: (name, bases, dict) */
 5073|    791|    PyObject *name, *bases, *orig_dict;
 5074|    791|    if (!PyArg_ParseTuple(args, "UO!O:type.__new__",
  ------------------
  |  Branch (5074:9): [True: 0, False: 791]
  ------------------
 5075|    791|                          &name,
 5076|    791|                          &PyTuple_Type, &bases,
 5077|    791|                          &orig_dict))
 5078|      0|    {
 5079|      0|        return NULL;
 5080|      0|    }
 5081|    791|    if (!PyAnyDict_Check(orig_dict)) {
  ------------------
  |  |   43|    791|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    791|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.58k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 791, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5082|      0|        PyErr_Format(PyExc_TypeError,
 5083|      0|                     "type.__new__() argument 3 must be dict or frozendict, not %T",
 5084|      0|                     orig_dict);
 5085|      0|        return NULL;
 5086|      0|    }
 5087|       |
 5088|    791|    type_new_ctx ctx = {
 5089|    791|        .metatype = metatype,
 5090|    791|        .args = args,
 5091|    791|        .kwds = kwds,
 5092|    791|        .orig_dict = orig_dict,
 5093|    791|        .name = name,
 5094|    791|        .bases = bases,
 5095|    791|        .base = NULL,
 5096|    791|        .slots = NULL,
 5097|    791|        .nslot = 0,
 5098|    791|        .add_dict = 0,
 5099|    791|        .add_weak = 0,
 5100|    791|        .may_add_dict = 0,
 5101|    791|        .may_add_weak = 0};
 5102|    791|    PyObject *type = NULL;
 5103|    791|    int res = type_new_get_bases(&ctx, &type);
 5104|    791|    if (res < 0) {
  ------------------
  |  Branch (5104:9): [True: 0, False: 791]
  ------------------
 5105|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (5105:9): [True: 0, False: 0]
  ------------------
 5106|      0|        return NULL;
 5107|      0|    }
 5108|    791|    if (res == 1) {
  ------------------
  |  Branch (5108:9): [True: 2, False: 789]
  ------------------
 5109|      2|        assert(type != NULL);
  ------------------
  |  Branch (5109:9): [True: 2, False: 0]
  ------------------
 5110|      2|        return type;
 5111|      2|    }
 5112|    791|    assert(ctx.base != NULL);
  ------------------
  |  Branch (5112:5): [True: 789, False: 0]
  ------------------
 5113|    789|    assert(ctx.bases != NULL);
  ------------------
  |  Branch (5113:5): [True: 789, False: 0]
  ------------------
 5114|       |
 5115|    789|    type = type_new_impl(&ctx);
 5116|    789|    Py_DECREF(ctx.bases);
  ------------------
  |  |  430|    789|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5117|    789|    return type;
 5118|    789|}
typeobject.c:type_new_get_bases:
 4997|    791|{
 4998|    791|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   27|    791|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    791|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    791|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4999|    791|    if (nbases == 0) {
  ------------------
  |  Branch (4999:9): [True: 95, False: 696]
  ------------------
 5000|       |        // Adjust for empty tuple bases
 5001|     95|        ctx->base = &PyBaseObject_Type;
 5002|     95|        PyObject *new_bases = PyTuple_Pack(1, ctx->base);
 5003|     95|        if (new_bases == NULL) {
  ------------------
  |  Branch (5003:13): [True: 0, False: 95]
  ------------------
 5004|      0|            return -1;
 5005|      0|        }
 5006|     95|        ctx->bases = new_bases;
 5007|     95|        return 0;
 5008|     95|    }
 5009|       |
 5010|  1.58k|    for (Py_ssize_t i = 0; i < nbases; i++) {
  ------------------
  |  Branch (5010:28): [True: 889, False: 696]
  ------------------
 5011|    889|        PyObject *base = PyTuple_GET_ITEM(ctx->bases, i);
  ------------------
  |  |   29|    889|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    889|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    889|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5011:26): [True: 889, False: 0]
  ------------------
 5012|    889|        if (PyType_Check(base)) {
  ------------------
  |  |  766|    889|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    889|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    889|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 889, False: 0]
  |  |  ------------------
  ------------------
 5013|    889|            continue;
 5014|    889|        }
 5015|      0|        int rc = PyObject_HasAttrWithError(base, &_Py_ID(__mro_entries__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5016|      0|        if (rc < 0) {
  ------------------
  |  Branch (5016:13): [True: 0, False: 0]
  ------------------
 5017|      0|            return -1;
 5018|      0|        }
 5019|      0|        if (rc) {
  ------------------
  |  Branch (5019:13): [True: 0, False: 0]
  ------------------
 5020|      0|            PyErr_SetString(PyExc_TypeError,
 5021|      0|                            "type() doesn't support MRO entry resolution; "
 5022|      0|                            "use types.new_class()");
 5023|      0|            return -1;
 5024|      0|        }
 5025|      0|    }
 5026|       |
 5027|       |    // Search the bases for the proper metatype to deal with this
 5028|    696|    PyTypeObject *winner;
 5029|    696|    winner = _PyType_CalculateMetaclass(ctx->metatype, ctx->bases);
 5030|    696|    if (winner == NULL) {
  ------------------
  |  Branch (5030:9): [True: 0, False: 696]
  ------------------
 5031|      0|        return -1;
 5032|      0|    }
 5033|       |
 5034|    696|    if (winner != ctx->metatype) {
  ------------------
  |  Branch (5034:9): [True: 2, False: 694]
  ------------------
 5035|      2|        if (winner->tp_new != type_new) {
  ------------------
  |  Branch (5035:13): [True: 2, False: 0]
  ------------------
 5036|       |            /* Check if tp_new is NULL (cannot instantiate this type) */
 5037|      2|            if (winner->tp_new == NULL) {
  ------------------
  |  Branch (5037:17): [True: 0, False: 2]
  ------------------
 5038|      0|                PyErr_Format(PyExc_TypeError,
 5039|      0|                             "cannot create '%.400s' instances",
 5040|      0|                             winner->tp_name);
 5041|      0|                return -1;
 5042|      0|            }
 5043|       |            /* Pass it to the winner */
 5044|      2|            *type = winner->tp_new(winner, ctx->args, ctx->kwds);
 5045|      2|            if (*type == NULL) {
  ------------------
  |  Branch (5045:17): [True: 0, False: 2]
  ------------------
 5046|      0|                return -1;
 5047|      0|            }
 5048|      2|            return 1;
 5049|      2|        }
 5050|       |
 5051|      0|        ctx->metatype = winner;
 5052|      0|    }
 5053|       |
 5054|       |    /* Calculate best base, and check that all bases are type objects */
 5055|    694|    PyTypeObject *base = find_best_base(ctx->bases);
 5056|    694|    if (base == NULL) {
  ------------------
  |  Branch (5056:9): [True: 0, False: 694]
  ------------------
 5057|      0|        return -1;
 5058|      0|    }
 5059|       |
 5060|    694|    ctx->base = base;
 5061|    694|    ctx->bases = Py_NewRef(ctx->bases);
  ------------------
  |  |  647|    694|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    694|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    694|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5062|    694|    return 0;
 5063|    694|}
typeobject.c:type_new_impl:
 4951|    789|{
 4952|    789|    PyTypeObject *type = type_new_init(ctx);
 4953|    789|    if (type == NULL) {
  ------------------
  |  Branch (4953:9): [True: 0, False: 789]
  ------------------
 4954|      0|        return NULL;
 4955|      0|    }
 4956|       |
 4957|    789|    if (type_new_set_attrs(ctx, type) < 0) {
  ------------------
  |  Branch (4957:9): [True: 0, False: 789]
  ------------------
 4958|      0|        goto error;
 4959|      0|    }
 4960|       |
 4961|       |    /* Initialize the rest */
 4962|    789|    if (type_ready_publish(type, 1) < 0) {
  ------------------
  |  Branch (4962:9): [True: 0, False: 789]
  ------------------
 4963|      0|        goto error;
 4964|      0|    }
 4965|       |
 4966|    789|    if (!_PyDict_HasOnlyStringKeys(type->tp_dict)) {
  ------------------
  |  Branch (4966:9): [True: 0, False: 789]
  ------------------
 4967|      0|        if (PyErr_WarnFormat(
  ------------------
  |  Branch (4967:13): [True: 0, False: 0]
  ------------------
 4968|      0|                PyExc_RuntimeWarning,
 4969|      0|                1,
 4970|      0|                "non-string key in the __dict__ of class %.200s",
 4971|      0|                type->tp_name) == -1)
 4972|      0|        {
 4973|      0|            goto error;
 4974|      0|        }
 4975|      0|    }
 4976|       |
 4977|    789|    if (type_new_set_names(type) < 0) {
  ------------------
  |  Branch (4977:9): [True: 0, False: 789]
  ------------------
 4978|      0|        goto error;
 4979|      0|    }
 4980|       |
 4981|    789|    if (type_new_init_subclass(type, ctx->kwds) < 0) {
  ------------------
  |  Branch (4981:9): [True: 0, False: 789]
  ------------------
 4982|      0|        goto error;
 4983|      0|    }
 4984|       |
 4985|    789|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (4985:5): [True: 789, False: 0]
  ------------------
 4986|       |
 4987|    789|    return (PyObject *)type;
 4988|       |
 4989|      0|error:
 4990|      0|    Py_DECREF(type);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4991|       |    return NULL;
 4992|    789|}
typeobject.c:type_new_init:
 4908|    789|{
 4909|    789|    PyObject *dict = type_new_copy_dict(ctx->orig_dict);
 4910|    789|    if (dict == NULL) {
  ------------------
  |  Branch (4910:9): [True: 0, False: 789]
  ------------------
 4911|      0|        goto error;
 4912|      0|    }
 4913|       |
 4914|    789|    if (type_new_get_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4914:9): [True: 0, False: 789]
  ------------------
 4915|      0|        goto error;
 4916|      0|    }
 4917|    789|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (4917:5): [True: 789, False: 0]
  ------------------
 4918|       |
 4919|    789|    if (type_new_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4919:9): [True: 0, False: 789]
  ------------------
 4920|      0|        goto error;
 4921|      0|    }
 4922|       |
 4923|    789|    PyTypeObject *type = type_new_alloc(ctx);
 4924|    789|    if (type == NULL) {
  ------------------
  |  Branch (4924:9): [True: 0, False: 789]
  ------------------
 4925|      0|        goto error;
 4926|      0|    }
 4927|       |
 4928|    789|    set_tp_dict(type, dict);
 4929|       |
 4930|    789|    PyHeapTypeObject *et = (PyHeapTypeObject*)type;
 4931|    789|    if (ctx->slots && PyTuple_GET_SIZE(ctx->slots)) {
  ------------------
  |  |   27|     81|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 19, False: 62]
  |  |  ------------------
  ------------------
  |  Branch (4931:9): [True: 81, False: 708]
  ------------------
 4932|     19|        et->ht_slots = ctx->slots;
 4933|     19|        ctx->slots = NULL;
 4934|     19|    }
 4935|    770|    else {
 4936|    770|        et->ht_slots = NULL;
 4937|    770|        Py_CLEAR(ctx->slots);
  ------------------
  |  |  487|    770|    do { \
  |  |  488|    770|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    770|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    770|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    770|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    770|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    770|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 62, False: 708]
  |  |  ------------------
  |  |  491|     62|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     62|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     62|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     62|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     62|        } \
  |  |  494|    770|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 770]
  |  |  ------------------
  ------------------
 4938|    770|    }
 4939|       |
 4940|    789|    return type;
 4941|       |
 4942|      0|error:
 4943|      0|    Py_CLEAR(ctx->slots);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4944|      0|    Py_XDECREF(dict);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4945|       |    return NULL;
 4946|    789|}
typeobject.c:type_new_copy_dict:
 4852|    789|{
 4853|    789|    PyObject *dict = _PyDict_CopyAsDict(orig_dict);
 4854|    789|    if (dict == NULL) {
  ------------------
  |  Branch (4854:9): [True: 0, False: 789]
  ------------------
 4855|      0|        return NULL;
 4856|      0|    }
 4857|    789|    if (((PyDictObject *)dict)->ma_keys->dk_kind != DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (4857:9): [True: 789, False: 0]
  ------------------
 4858|       |        // Only exact str keys are possible, nothing to do.
 4859|    789|        return dict;
 4860|    789|    }
 4861|      0|    Py_ssize_t pos = 0;
 4862|      0|    PyObject *key, *value;
 4863|      0|    int rebuild = 0;
 4864|      0|    while (PyDict_Next(dict, &pos, &key, &value)) {
  ------------------
  |  Branch (4864:12): [True: 0, False: 0]
  ------------------
 4865|      0|        if (PyUnicode_Check(key) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyUnicode_Check(key) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4865:37): [True: 0, False: 0]
  ------------------
 4866|      0|            rebuild = 1;
 4867|      0|            break;
 4868|      0|        }
 4869|      0|    }
 4870|      0|    if (!rebuild) {
  ------------------
  |  Branch (4870:9): [True: 0, False: 0]
  ------------------
 4871|      0|        return dict;
 4872|      0|    }
 4873|       |    // Rebuild rather than delete/insert so that the key order is kept.
 4874|      0|    PyObject *newdict = PyDict_New();
 4875|      0|    if (newdict == NULL) {
  ------------------
  |  Branch (4875:9): [True: 0, False: 0]
  ------------------
 4876|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4877|      0|        return NULL;
 4878|      0|    }
 4879|      0|    pos = 0;
 4880|      0|    while (PyDict_Next(dict, &pos, &key, &value)) {
  ------------------
  |  Branch (4880:12): [True: 0, False: 0]
  ------------------
 4881|      0|        PyObject *newkey;
 4882|      0|        if (PyUnicode_Check(key) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyUnicode_Check(key) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4882:37): [True: 0, False: 0]
  ------------------
 4883|      0|            newkey = _PyUnicode_Copy(key);
 4884|      0|            if (newkey == NULL) {
  ------------------
  |  Branch (4884:17): [True: 0, False: 0]
  ------------------
 4885|      0|                goto error;
 4886|      0|            }
 4887|      0|        }
 4888|      0|        else {
 4889|      0|            newkey = Py_NewRef(key);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4890|      0|        }
 4891|      0|        int err = PyDict_SetItem(newdict, newkey, value);
 4892|      0|        Py_DECREF(newkey);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4893|      0|        if (err < 0) {
  ------------------
  |  Branch (4893:13): [True: 0, False: 0]
  ------------------
 4894|      0|            goto error;
 4895|      0|        }
 4896|      0|    }
 4897|      0|    Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4898|      0|    return newdict;
 4899|       |
 4900|      0|error:
 4901|      0|    Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4902|      0|    Py_DECREF(newdict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4903|       |    return NULL;
 4904|      0|}
typeobject.c:type_new_get_slots:
 4815|    789|{
 4816|    789|    PyObject *slots = PyDict_GetItemWithError(dict, &_Py_ID(__slots__));
  ------------------
  |  |  951|    789|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    789|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    789|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4817|    789|    if (slots == NULL) {
  ------------------
  |  Branch (4817:9): [True: 708, False: 81]
  ------------------
 4818|    708|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4818:13): [True: 0, False: 708]
  ------------------
 4819|      0|            return -1;
 4820|      0|        }
 4821|    708|        ctx->slots = NULL;
 4822|    708|        ctx->nslot = 0;
 4823|    708|        return 0;
 4824|    708|    }
 4825|       |
 4826|       |    // Make it into a tuple
 4827|     81|    PyObject *new_slots;
 4828|     81|    if (PyUnicode_Check(slots)) {
  ------------------
  |  |  103|     81|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     81|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 81]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4829|      0|        new_slots = PyTuple_Pack(1, slots);
 4830|      0|    }
 4831|     81|    else {
 4832|     81|        new_slots = PySequence_Tuple(slots);
 4833|     81|    }
 4834|     81|    if (new_slots == NULL) {
  ------------------
  |  Branch (4834:9): [True: 0, False: 81]
  ------------------
 4835|      0|        return -1;
 4836|      0|    }
 4837|     81|    assert(PyTuple_CheckExact(new_slots));
  ------------------
  |  Branch (4837:5): [True: 81, False: 0]
  ------------------
 4838|     81|    ctx->slots = new_slots;
 4839|     81|    ctx->nslot = PyTuple_GET_SIZE(new_slots);
  ------------------
  |  |   27|     81|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4840|     81|    return 0;
 4841|     81|}
typeobject.c:type_new_slots:
 4328|    789|{
 4329|       |    // Check for a __slots__ sequence variable in dict, and count it
 4330|    789|    ctx->add_dict = 0;
 4331|    789|    ctx->add_weak = 0;
 4332|    789|    ctx->may_add_dict = (ctx->base->tp_dictoffset == 0);
 4333|    789|    ctx->may_add_weak = (ctx->base->tp_weaklistoffset == 0);
 4334|       |
 4335|    789|    if (ctx->slots == NULL) {
  ------------------
  |  Branch (4335:9): [True: 708, False: 81]
  ------------------
 4336|    708|        if (ctx->may_add_dict) {
  ------------------
  |  Branch (4336:13): [True: 129, False: 579]
  ------------------
 4337|    129|            ctx->add_dict++;
 4338|    129|        }
 4339|    708|        if (ctx->may_add_weak && ctx->base->tp_itemsize == 0) {
  ------------------
  |  Branch (4339:13): [True: 152, False: 556]
  |  Branch (4339:34): [True: 145, False: 7]
  ------------------
 4340|    145|            ctx->add_weak++;
 4341|    145|        }
 4342|    708|    }
 4343|     81|    else {
 4344|       |        /* Have slots */
 4345|     81|        if (type_new_slots_impl(ctx, dict) < 0) {
  ------------------
  |  Branch (4345:13): [True: 0, False: 81]
  ------------------
 4346|      0|            return -1;
 4347|      0|        }
 4348|     81|    }
 4349|    789|    return 0;
 4350|    789|}
typeobject.c:type_new_slots_impl:
 4306|     81|{
 4307|     81|    if (type_new_visit_slots(ctx) < 0) {
  ------------------
  |  Branch (4307:9): [True: 0, False: 81]
  ------------------
 4308|      0|        return -1;
 4309|      0|    }
 4310|       |
 4311|     81|    PyObject *new_slots = type_new_copy_slots(ctx, dict);
 4312|     81|    if (new_slots == NULL) {
  ------------------
  |  Branch (4312:9): [True: 0, False: 81]
  ------------------
 4313|      0|        return -1;
 4314|      0|    }
 4315|     81|    assert(PyTuple_CheckExact(new_slots));
  ------------------
  |  Branch (4315:5): [True: 81, False: 0]
  ------------------
 4316|       |
 4317|     81|    Py_XSETREF(ctx->slots, new_slots);
  ------------------
  |  |  576|     81|    do { \
  |  |  577|     81|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     81|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     81|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     81|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     81|        *_tmp_dst_ptr = (src); \
  |  |  580|     81|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     81|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     81|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 81]
  |  |  ------------------
  ------------------
 4318|     81|    ctx->nslot = PyTuple_GET_SIZE(new_slots);
  ------------------
  |  |   27|     81|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4319|       |
 4320|       |    /* Secondary bases may provide weakrefs or dict */
 4321|     81|    type_new_slots_bases(ctx);
 4322|     81|    return 0;
 4323|     81|}
typeobject.c:type_new_visit_slots:
 4160|     81|{
 4161|     81|    PyObject *slots = ctx->slots;
 4162|     81|    Py_ssize_t nslot = ctx->nslot;
 4163|    144|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4163:28): [True: 63, False: 81]
  ------------------
 4164|     63|        PyObject *name = PyTuple_GET_ITEM(slots, i);
  ------------------
  |  |   29|     63|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     63|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4164:26): [True: 63, False: 0]
  ------------------
 4165|     63|        if (!valid_identifier(name)) {
  ------------------
  |  Branch (4165:13): [True: 0, False: 63]
  ------------------
 4166|      0|            return -1;
 4167|      0|        }
 4168|     63|        assert(PyUnicode_Check(name));
  ------------------
  |  Branch (4168:9): [True: 63, False: 0]
  ------------------
 4169|     63|        if (_PyUnicode_Equal(name, &_Py_ID(__dict__))) {
  ------------------
  |  |  951|     63|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     63|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     63|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4169:13): [True: 4, False: 59]
  ------------------
 4170|      4|            if (!ctx->may_add_dict || ctx->add_dict != 0) {
  ------------------
  |  Branch (4170:17): [True: 0, False: 4]
  |  Branch (4170:39): [True: 0, False: 4]
  ------------------
 4171|      0|                PyErr_SetString(PyExc_TypeError,
 4172|      0|                    "__dict__ slot disallowed: "
 4173|      0|                    "we already got one");
 4174|      0|                return -1;
 4175|      0|            }
 4176|      4|            ctx->add_dict++;
 4177|      4|        }
 4178|     63|        if (_PyUnicode_Equal(name, &_Py_ID(__weakref__))) {
  ------------------
  |  |  951|     63|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     63|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     63|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4178:13): [True: 8, False: 55]
  ------------------
 4179|      8|            if (!ctx->may_add_weak || ctx->add_weak != 0) {
  ------------------
  |  Branch (4179:17): [True: 0, False: 8]
  |  Branch (4179:39): [True: 0, False: 8]
  ------------------
 4180|      0|                PyErr_SetString(PyExc_TypeError,
 4181|      0|                    "__weakref__ slot disallowed: "
 4182|      0|                    "we already got one");
 4183|      0|                return -1;
 4184|      0|            }
 4185|      8|            ctx->add_weak++;
 4186|      8|        }
 4187|     63|    }
 4188|     81|    return 0;
 4189|     81|}
typeobject.c:valid_identifier:
 4046|     63|{
 4047|     63|    if (!PyUnicode_Check(s)) {
  ------------------
  |  |  103|     63|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     63|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4047:9): [True: 0, False: 63]
  ------------------
 4048|      0|        PyErr_Format(PyExc_TypeError,
 4049|      0|                     "__slots__ items must be strings, not '%.200s'",
 4050|      0|                     Py_TYPE(s)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4051|      0|        return 0;
 4052|      0|    }
 4053|     63|    if (!PyUnicode_IsIdentifier(s)) {
  ------------------
  |  Branch (4053:9): [True: 0, False: 63]
  ------------------
 4054|      0|        PyErr_SetString(PyExc_TypeError,
 4055|      0|                        "__slots__ must be identifiers");
 4056|      0|        return 0;
 4057|      0|    }
 4058|     63|    return 1;
 4059|     63|}
typeobject.c:type_new_copy_slots:
 4198|     81|{
 4199|     81|    PyObject *slots = ctx->slots;
 4200|     81|    Py_ssize_t nslot = ctx->nslot;
 4201|       |
 4202|     81|    Py_ssize_t new_nslot = nslot - ctx->add_dict - ctx->add_weak;
 4203|     81|    PyObject *new_slots = PyList_New(new_nslot);
 4204|     81|    if (new_slots == NULL) {
  ------------------
  |  Branch (4204:9): [True: 0, False: 81]
  ------------------
 4205|      0|        return NULL;
 4206|      0|    }
 4207|       |
 4208|     81|    Py_ssize_t j = 0;
 4209|    144|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4209:28): [True: 63, False: 81]
  ------------------
 4210|     63|        PyObject *slot = PyTuple_GET_ITEM(slots, i);
  ------------------
  |  |   29|     63|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     63|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4210:26): [True: 63, False: 0]
  ------------------
 4211|     63|        if ((ctx->add_dict && _PyUnicode_Equal(slot, &_Py_ID(__dict__))) ||
  ------------------
  |  |  951|     19|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     19|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     19|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4211:14): [True: 19, False: 44]
  |  Branch (4211:31): [True: 4, False: 15]
  ------------------
 4212|     59|            (ctx->add_weak && _PyUnicode_Equal(slot, &_Py_ID(__weakref__))))
  ------------------
  |  |  951|     25|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     25|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     25|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4212:14): [True: 25, False: 34]
  |  Branch (4212:31): [True: 8, False: 17]
  ------------------
 4213|     12|        {
 4214|     12|            continue;
 4215|     12|        }
 4216|       |
 4217|     51|        slot =_Py_Mangle(ctx->name, slot);
 4218|     51|        if (!slot) {
  ------------------
  |  Branch (4218:13): [True: 0, False: 51]
  ------------------
 4219|      0|            goto error;
 4220|      0|        }
 4221|     51|        PyList_SET_ITEM(new_slots, j, slot);
  ------------------
  |  |   50|     51|    PyList_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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4222|       |
 4223|     51|        int r = PyDict_Contains(dict, slot);
 4224|     51|        if (r < 0) {
  ------------------
  |  Branch (4224:13): [True: 0, False: 51]
  ------------------
 4225|      0|            goto error;
 4226|      0|        }
 4227|     51|        if (r > 0) {
  ------------------
  |  Branch (4227:13): [True: 0, False: 51]
  ------------------
 4228|       |            /* CPython inserts these names (when needed)
 4229|       |               into the namespace when creating a class.  They will be deleted
 4230|       |               below so won't act as class variables. */
 4231|      0|            if (!_PyUnicode_Equal(slot, &_Py_ID(__qualname__)) &&
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4231:17): [True: 0, False: 0]
  ------------------
 4232|      0|                !_PyUnicode_Equal(slot, &_Py_ID(__classcell__)) &&
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4232:17): [True: 0, False: 0]
  ------------------
 4233|      0|                !_PyUnicode_Equal(slot, &_Py_ID(__classdictcell__)))
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4233:17): [True: 0, False: 0]
  ------------------
 4234|      0|            {
 4235|      0|                PyErr_Format(PyExc_ValueError,
 4236|      0|                             "%R in __slots__ conflicts with class variable",
 4237|      0|                             slot);
 4238|      0|                goto error;
 4239|      0|            }
 4240|      0|        }
 4241|       |
 4242|     51|        j++;
 4243|     51|    }
 4244|     81|    assert(j == new_nslot);
  ------------------
  |  Branch (4244:5): [True: 81, False: 0]
  ------------------
 4245|       |
 4246|     81|    if (PyList_Sort(new_slots) == -1) {
  ------------------
  |  Branch (4246:9): [True: 0, False: 81]
  ------------------
 4247|      0|        goto error;
 4248|      0|    }
 4249|       |
 4250|     81|    PyObject *tuple = PyList_AsTuple(new_slots);
 4251|     81|    Py_DECREF(new_slots);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4252|     81|    if (tuple == NULL) {
  ------------------
  |  Branch (4252:9): [True: 0, False: 81]
  ------------------
 4253|      0|        return NULL;
 4254|      0|    }
 4255|       |
 4256|     81|    assert(PyTuple_GET_SIZE(tuple) == new_nslot);
  ------------------
  |  Branch (4256:5): [True: 81, False: 0]
  ------------------
 4257|     81|    return tuple;
 4258|       |
 4259|      0|error:
 4260|      0|    Py_DECREF(new_slots);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4261|       |    return NULL;
 4262|     81|}
typeobject.c:type_new_slots_bases:
 4267|     81|{
 4268|     81|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   27|     81|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4269|     81|    if (nbases > 1 &&
  ------------------
  |  Branch (4269:9): [True: 10, False: 71]
  ------------------
 4270|     10|        ((ctx->may_add_dict && ctx->add_dict == 0) ||
  ------------------
  |  Branch (4270:11): [True: 10, False: 0]
  |  Branch (4270:32): [True: 10, False: 0]
  ------------------
 4271|      0|         (ctx->may_add_weak && ctx->add_weak == 0)))
  ------------------
  |  Branch (4271:11): [True: 0, False: 0]
  |  Branch (4271:32): [True: 0, False: 0]
  ------------------
 4272|     10|    {
 4273|     32|        for (Py_ssize_t i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4273:32): [True: 22, False: 10]
  ------------------
 4274|     22|            PyObject *obj = PyTuple_GET_ITEM(ctx->bases, i);
  ------------------
  |  |   29|     22|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     22|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4274:29): [True: 22, False: 0]
  ------------------
 4275|     22|            if (obj == (PyObject *)ctx->base) {
  ------------------
  |  Branch (4275:17): [True: 10, False: 12]
  ------------------
 4276|       |                /* Skip primary base */
 4277|     10|                continue;
 4278|     10|            }
 4279|     12|            PyTypeObject *base = _PyType_CAST(obj);
  ------------------
  |  |  770|     12|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (4279:34): [True: 12, False: 0]
  ------------------
 4280|       |
 4281|     12|            if (ctx->may_add_dict && ctx->add_dict == 0 &&
  ------------------
  |  Branch (4281:17): [True: 12, False: 0]
  |  Branch (4281:38): [True: 12, False: 0]
  ------------------
 4282|     12|                base->tp_dictoffset != 0)
  ------------------
  |  Branch (4282:17): [True: 0, False: 12]
  ------------------
 4283|      0|            {
 4284|      0|                ctx->add_dict++;
 4285|      0|            }
 4286|     12|            if (ctx->may_add_weak && ctx->add_weak == 0 &&
  ------------------
  |  Branch (4286:17): [True: 12, False: 0]
  |  Branch (4286:38): [True: 12, False: 0]
  ------------------
 4287|     12|                base->tp_weaklistoffset != 0)
  ------------------
  |  Branch (4287:17): [True: 0, False: 12]
  ------------------
 4288|      0|            {
 4289|      0|                ctx->add_weak++;
 4290|      0|            }
 4291|     12|            if (ctx->may_add_dict && ctx->add_dict == 0) {
  ------------------
  |  Branch (4291:17): [True: 12, False: 0]
  |  Branch (4291:38): [True: 12, False: 0]
  ------------------
 4292|     12|                continue;
 4293|     12|            }
 4294|      0|            if (ctx->may_add_weak && ctx->add_weak == 0) {
  ------------------
  |  Branch (4294:17): [True: 0, False: 0]
  |  Branch (4294:38): [True: 0, False: 0]
  ------------------
 4295|      0|                continue;
 4296|      0|            }
 4297|       |            /* Nothing more to check */
 4298|      0|            break;
 4299|      0|        }
 4300|     10|    }
 4301|     81|}
typeobject.c:type_new_alloc:
 4355|    789|{
 4356|    789|    PyTypeObject *metatype = ctx->metatype;
 4357|    789|    PyTypeObject *type;
 4358|       |
 4359|       |    // Allocate the type object
 4360|    789|    type = (PyTypeObject *)metatype->tp_alloc(metatype, ctx->nslot);
 4361|    789|    if (type == NULL) {
  ------------------
  |  Branch (4361:9): [True: 0, False: 789]
  ------------------
 4362|      0|        return NULL;
 4363|      0|    }
 4364|    789|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4365|       |
 4366|       |    // Initialize tp_flags.
 4367|       |    // All heap types need GC, since we can create a reference cycle by storing
 4368|       |    // an instance on one of its parents.
 4369|    789|    type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  560|    789|#define Py_TPFLAGS_DEFAULT  ( \
  |  |  561|    789|                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
  |  |  ------------------
  |  |  |  |  530|    789|#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
  |  |  ------------------
  |  |  562|    789|                0)
  ------------------
                  type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  503|    789|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 4370|    789|                   Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  506|    789|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
                                 Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|    789|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 4371|       |
 4372|       |    // Initialize essential fields
 4373|    789|    type->tp_as_async = &et->as_async;
 4374|    789|    type->tp_as_number = &et->as_number;
 4375|    789|    type->tp_as_sequence = &et->as_sequence;
 4376|    789|    type->tp_as_mapping = &et->as_mapping;
 4377|    789|    type->tp_as_buffer = &et->as_buffer;
 4378|       |
 4379|    789|    set_tp_bases(type, Py_NewRef(ctx->bases));
  ------------------
  |  |  647|    789|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4380|    789|    type->tp_base = (PyTypeObject *)Py_NewRef(ctx->base);
  ------------------
  |  |  647|    789|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4381|       |
 4382|    789|    type->tp_dealloc = subtype_dealloc;
 4383|       |    /* Always override allocation strategy to use regular heap */
 4384|    789|    type->tp_alloc = PyType_GenericAlloc;
 4385|    789|    type->tp_free = PyObject_GC_Del;
 4386|       |
 4387|    789|    type->tp_traverse = subtype_traverse;
 4388|    789|    type->tp_clear = subtype_clear;
 4389|       |
 4390|    789|    et->ht_name = Py_NewRef(ctx->name);
  ------------------
  |  |  647|    789|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4391|    789|    et->ht_module = NULL;
 4392|    789|    et->_ht_tpname = NULL;
 4393|    789|    et->ht_token = NULL;
 4394|       |
 4395|       |#ifdef Py_GIL_DISABLED
 4396|       |    et->unique_id = _PyObject_AssignUniqueId((PyObject *)et);
 4397|       |#endif
 4398|       |
 4399|    789|    return type;
 4400|    789|}
typeobject.c:subtype_traverse:
 2634|  60.5k|{
 2635|  60.5k|    PyTypeObject *type, *base;
 2636|  60.5k|    traverseproc basetraverse;
 2637|       |
 2638|       |    /* Find the nearest base with a different tp_traverse,
 2639|       |       and traverse slots while we're at it */
 2640|  60.5k|    type = Py_TYPE(self);
  ------------------
  |  |  213|  60.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  60.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2641|  60.5k|    base = type;
 2642|   142k|    while ((basetraverse = base->tp_traverse) == subtype_traverse) {
  ------------------
  |  Branch (2642:12): [True: 81.9k, False: 60.5k]
  ------------------
 2643|  81.9k|        if (Py_SIZE(base)) {
  ------------------
  |  |  214|  81.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  81.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  81.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 0, False: 81.9k]
  |  |  ------------------
  ------------------
 2644|      0|            int err = traverse_slots(base, self, visit, arg);
 2645|      0|            if (err)
  ------------------
  |  Branch (2645:17): [True: 0, False: 0]
  ------------------
 2646|      0|                return err;
 2647|      0|        }
 2648|  81.9k|        base = base->tp_base;
 2649|  81.9k|        assert(base);
  ------------------
  |  Branch (2649:9): [True: 81.9k, False: 0]
  ------------------
 2650|  81.9k|    }
 2651|       |
 2652|  60.5k|    if (type->tp_dictoffset != base->tp_dictoffset) {
  ------------------
  |  Branch (2652:9): [True: 56.6k, False: 3.97k]
  ------------------
 2653|  56.6k|        assert(base->tp_dictoffset == 0);
  ------------------
  |  Branch (2653:9): [True: 56.6k, False: 0]
  ------------------
 2654|  56.6k|        if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  56.6k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2654:13): [True: 56.6k, False: 0]
  ------------------
 2655|  56.6k|            assert(type->tp_dictoffset == -1);
  ------------------
  |  Branch (2655:13): [True: 56.6k, False: 0]
  ------------------
 2656|  56.6k|            int err = PyObject_VisitManagedDict(self, visit, arg);
 2657|  56.6k|            if (err) {
  ------------------
  |  Branch (2657:17): [True: 0, False: 56.6k]
  ------------------
 2658|      0|                return err;
 2659|      0|            }
 2660|  56.6k|        }
 2661|      0|        else {
 2662|      0|            PyObject **dictptr = _PyObject_ComputedDictPointer(self);
 2663|      0|            if (dictptr && *dictptr) {
  ------------------
  |  Branch (2663:17): [True: 0, False: 0]
  |  Branch (2663:28): [True: 0, False: 0]
  ------------------
 2664|      0|                Py_VISIT(*dictptr);
  ------------------
  |  |  194|      0|    do {                                                                \
  |  |  195|      0|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2665|      0|            }
 2666|      0|        }
 2667|  56.6k|    }
 2668|       |
 2669|  60.5k|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|   121k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2669:9): [True: 60.5k, False: 0]
  ------------------
 2670|  60.5k|        && (!basetraverse || !(base->tp_flags & Py_TPFLAGS_HEAPTYPE))) {
  ------------------
  |  |  503|  19.1k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2670:13): [True: 41.4k, False: 19.1k]
  |  Branch (2670:30): [True: 19.1k, False: 0]
  ------------------
 2671|       |        /* For a heaptype, the instances count as references
 2672|       |           to the type.          Traverse the type so the collector
 2673|       |           can find cycles involving this link.
 2674|       |           Skip this visit if basetraverse belongs to a heap type: in that
 2675|       |           case, basetraverse will visit the type when we call it later.
 2676|       |           */
 2677|  60.5k|        Py_VISIT(type);
  ------------------
  |  |  194|  60.5k|    do {                                                                \
  |  |  195|  60.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 60.5k, False: 0]
  |  |  ------------------
  |  |  196|  60.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  60.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  60.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 60.5k]
  |  |  ------------------
  |  |  198|  60.5k|                return vret;                                            \
  |  |  199|  60.5k|        }                                                               \
  |  |  200|  60.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60.5k]
  |  |  ------------------
  ------------------
 2678|  60.5k|    }
 2679|       |
 2680|  60.5k|    if (basetraverse)
  ------------------
  |  Branch (2680:9): [True: 19.1k, False: 41.4k]
  ------------------
 2681|  19.1k|        return basetraverse(self, visit, arg);
 2682|  41.4k|    return 0;
 2683|  60.5k|}
typeobject.c:set_tp_dict:
  495|  1.32k|{
  496|  1.32k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.32k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (496:9): [True: 412, False: 916]
  ------------------
  497|    412|        PyInterpreterState *interp = _PyInterpreterState_GET();
  498|    412|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  499|    412|        assert(state != NULL);
  ------------------
  |  Branch (499:9): [True: 412, False: 0]
  ------------------
  500|    412|        state->tp_dict = dict;
  501|    412|        return;
  502|    412|    }
  503|    916|    self->tp_dict = dict;
  504|    916|}
typeobject.c:type_new_set_attrs:
 4750|    789|{
 4751|    789|    if (type_new_set_name(ctx, type) < 0) {
  ------------------
  |  Branch (4751:9): [True: 0, False: 789]
  ------------------
 4752|      0|        return -1;
 4753|      0|    }
 4754|       |
 4755|    789|    PyObject *dict = lookup_tp_dict(type);
 4756|    789|    assert(dict);
  ------------------
  |  Branch (4756:5): [True: 789, False: 0]
  ------------------
 4757|       |
 4758|    789|    if (type_new_set_module(dict) < 0) {
  ------------------
  |  Branch (4758:9): [True: 0, False: 789]
  ------------------
 4759|      0|        return -1;
 4760|      0|    }
 4761|       |
 4762|    789|    if (type_new_set_ht_name(type, dict) < 0) {
  ------------------
  |  Branch (4762:9): [True: 0, False: 789]
  ------------------
 4763|      0|        return -1;
 4764|      0|    }
 4765|       |
 4766|    789|    if (type_new_set_doc(type, dict) < 0) {
  ------------------
  |  Branch (4766:9): [True: 0, False: 789]
  ------------------
 4767|      0|        return -1;
 4768|      0|    }
 4769|       |
 4770|       |    /* Special-case __new__: if it's a plain function,
 4771|       |       make it a static function */
 4772|    789|    if (type_new_staticmethod(dict, &_Py_ID(__new__)) < 0) {
  ------------------
  |  |  951|    789|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    789|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    789|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4772:9): [True: 0, False: 789]
  ------------------
 4773|      0|        return -1;
 4774|      0|    }
 4775|       |
 4776|       |    /* Special-case __init_subclass__ and __class_getitem__:
 4777|       |       if they are plain functions, make them classmethods */
 4778|    789|    if (type_new_classmethod(dict, &_Py_ID(__init_subclass__)) < 0) {
  ------------------
  |  |  951|    789|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    789|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    789|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4778:9): [True: 0, False: 789]
  ------------------
 4779|      0|        return -1;
 4780|      0|    }
 4781|    789|    if (type_new_classmethod(dict, &_Py_ID(__class_getitem__)) < 0) {
  ------------------
  |  |  951|    789|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    789|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    789|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4781:9): [True: 0, False: 789]
  ------------------
 4782|      0|        return -1;
 4783|      0|    }
 4784|       |
 4785|    789|    if (type_new_descriptors(ctx, type, dict) < 0) {
  ------------------
  |  Branch (4785:9): [True: 0, False: 789]
  ------------------
 4786|      0|        return -1;
 4787|      0|    }
 4788|       |
 4789|    789|    type_new_set_slots(ctx, type);
 4790|       |
 4791|    789|    if (type_new_set_classcell(type, dict) < 0) {
  ------------------
  |  Branch (4791:9): [True: 0, False: 789]
  ------------------
 4792|      0|        return -1;
 4793|      0|    }
 4794|    789|    if (type_new_set_classdictcell(dict) < 0) {
  ------------------
  |  Branch (4794:9): [True: 0, False: 789]
  ------------------
 4795|      0|        return -1;
 4796|      0|    }
 4797|       |
 4798|       |#ifdef Py_GIL_DISABLED
 4799|       |    // enable deferred reference counting on functions and descriptors
 4800|       |    Py_ssize_t pos = 0;
 4801|       |    PyObject *key, *value;
 4802|       |    while (PyDict_Next(dict, &pos, &key, &value)) {
 4803|       |        if (PyFunction_Check(value) || Py_TYPE(value)->tp_descr_get != NULL) {
 4804|       |            PyUnstable_Object_EnableDeferredRefcount(value);
 4805|       |        }
 4806|       |    }
 4807|       |#endif
 4808|       |
 4809|    789|    return 0;
 4810|    789|}
typeobject.c:type_new_set_name:
 4405|    789|{
 4406|    789|    Py_ssize_t name_size;
 4407|    789|    type->tp_name = PyUnicode_AsUTF8AndSize(ctx->name, &name_size);
 4408|    789|    if (!type->tp_name) {
  ------------------
  |  Branch (4408:9): [True: 0, False: 789]
  ------------------
 4409|      0|        return -1;
 4410|      0|    }
 4411|    789|    if (strlen(type->tp_name) != (size_t)name_size) {
  ------------------
  |  Branch (4411:9): [True: 0, False: 789]
  ------------------
 4412|      0|        PyErr_SetString(PyExc_ValueError,
 4413|      0|                        "type name must not contain null characters");
 4414|      0|        return -1;
 4415|      0|    }
 4416|    789|    return 0;
 4417|    789|}
typeobject.c:type_new_set_module:
 4423|    789|{
 4424|    789|    int r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  951|    789|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    789|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    789|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4425|    789|    if (r < 0) {
  ------------------
  |  Branch (4425:9): [True: 0, False: 789]
  ------------------
 4426|      0|        return -1;
 4427|      0|    }
 4428|    789|    if (r > 0) {
  ------------------
  |  Branch (4428:9): [True: 786, False: 3]
  ------------------
 4429|    786|        return 0;
 4430|    786|    }
 4431|       |
 4432|      3|    PyObject *globals = PyEval_GetGlobals();
 4433|      3|    if (globals == NULL) {
  ------------------
  |  Branch (4433:9): [True: 0, False: 3]
  ------------------
 4434|      0|        return 0;
 4435|      0|    }
 4436|       |
 4437|      3|    PyObject *module;
 4438|      3|    r = PyDict_GetItemRef(globals, &_Py_ID(__name__), &module);
  ------------------
  |  |  951|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4439|      3|    if (module) {
  ------------------
  |  Branch (4439:9): [True: 3, False: 0]
  ------------------
 4440|      3|        r = PyDict_SetItem(dict, &_Py_ID(__module__), module);
  ------------------
  |  |  951|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4441|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4442|      3|    }
 4443|      3|    return r;
 4444|      3|}
typeobject.c:type_new_set_ht_name:
 4451|    789|{
 4452|    789|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4453|    789|    PyObject *qualname;
 4454|    789|    if (PyDict_GetItemRef(dict, &_Py_ID(__qualname__), &qualname) < 0) {
  ------------------
  |  |  951|    789|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    789|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    789|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4454:9): [True: 0, False: 789]
  ------------------
 4455|      0|        return -1;
 4456|      0|    }
 4457|    789|    if (qualname != NULL) {
  ------------------
  |  Branch (4457:9): [True: 776, False: 13]
  ------------------
 4458|    776|        if (!PyUnicode_Check(qualname)) {
  ------------------
  |  |  103|    776|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    776|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4458:13): [True: 0, False: 776]
  ------------------
 4459|      0|            PyErr_Format(PyExc_TypeError,
 4460|      0|                    "type __qualname__ must be a str, not %s",
 4461|      0|                    Py_TYPE(qualname)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4462|      0|            Py_DECREF(qualname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4463|      0|            return -1;
 4464|      0|        }
 4465|    776|        et->ht_qualname = qualname;
 4466|    776|        if (PyDict_DelItem(dict, &_Py_ID(__qualname__)) < 0) {
  ------------------
  |  |  951|    776|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    776|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    776|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4466:13): [True: 0, False: 776]
  ------------------
 4467|      0|            return -1;
 4468|      0|        }
 4469|    776|    }
 4470|     13|    else {
 4471|     13|        et->ht_qualname = Py_NewRef(et->ht_name);
  ------------------
  |  |  647|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4472|     13|    }
 4473|    789|    return 0;
 4474|    789|}
typeobject.c:type_new_set_doc:
 4482|    789|{
 4483|    789|    PyObject *doc = PyDict_GetItemWithError(dict, &_Py_ID(__doc__));
  ------------------
  |  |  951|    789|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    789|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    789|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4484|    789|    if (doc == NULL) {
  ------------------
  |  Branch (4484:9): [True: 654, False: 135]
  ------------------
 4485|    654|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4485:13): [True: 0, False: 654]
  ------------------
 4486|      0|            return -1;
 4487|      0|        }
 4488|       |        // no __doc__ key
 4489|    654|        return 0;
 4490|    654|    }
 4491|    135|    if (!PyUnicode_Check(doc)) {
  ------------------
  |  |  103|    135|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    135|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4491:9): [True: 0, False: 135]
  ------------------
 4492|       |        // ignore non-string __doc__
 4493|      0|        return 0;
 4494|      0|    }
 4495|       |
 4496|    135|    const char *doc_str = PyUnicode_AsUTF8(doc);
 4497|    135|    if (doc_str == NULL) {
  ------------------
  |  Branch (4497:9): [True: 0, False: 135]
  ------------------
 4498|      0|        return -1;
 4499|      0|    }
 4500|       |
 4501|       |    // Silently truncate the docstring if it contains a null byte
 4502|    135|    Py_ssize_t size = strlen(doc_str) + 1;
 4503|    135|    char *tp_doc = (char *)PyMem_Malloc(size);
 4504|    135|    if (tp_doc == NULL) {
  ------------------
  |  Branch (4504:9): [True: 0, False: 135]
  ------------------
 4505|      0|        PyErr_NoMemory();
 4506|      0|        return -1;
 4507|      0|    }
 4508|       |
 4509|    135|    memcpy(tp_doc, doc_str, size);
 4510|    135|    type->tp_doc = tp_doc;
 4511|    135|    return 0;
 4512|    135|}
typeobject.c:type_new_staticmethod:
 4517|    789|{
 4518|    789|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4519|    789|    if (func == NULL) {
  ------------------
  |  Branch (4519:9): [True: 769, False: 20]
  ------------------
 4520|    769|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4520:13): [True: 0, False: 769]
  ------------------
 4521|      0|            return -1;
 4522|      0|        }
 4523|    769|        return 0;
 4524|    769|    }
 4525|     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 (4525:9): [True: 0, False: 20]
  ------------------
 4526|      0|        return 0;
 4527|      0|    }
 4528|       |
 4529|     20|    PyObject *static_func = PyStaticMethod_New(func);
 4530|     20|    if (static_func == NULL) {
  ------------------
  |  Branch (4530:9): [True: 0, False: 20]
  ------------------
 4531|      0|        return -1;
 4532|      0|    }
 4533|     20|    if (PyDict_SetItem(dict, attr, static_func) < 0) {
  ------------------
  |  Branch (4533:9): [True: 0, False: 20]
  ------------------
 4534|      0|        Py_DECREF(static_func);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4535|      0|        return -1;
 4536|      0|    }
 4537|     20|    Py_DECREF(static_func);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4538|     20|    return 0;
 4539|     20|}
typeobject.c:type_new_classmethod:
 4544|  1.57k|{
 4545|  1.57k|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4546|  1.57k|    if (func == NULL) {
  ------------------
  |  Branch (4546:9): [True: 1.55k, False: 20]
  ------------------
 4547|  1.55k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4547:13): [True: 0, False: 1.55k]
  ------------------
 4548|      0|            return -1;
 4549|      0|        }
 4550|  1.55k|        return 0;
 4551|  1.55k|    }
 4552|     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 (4552:9): [True: 20, False: 0]
  ------------------
 4553|     20|        return 0;
 4554|     20|    }
 4555|       |
 4556|      0|    PyObject *method = PyClassMethod_New(func);
 4557|      0|    if (method == NULL) {
  ------------------
  |  Branch (4557:9): [True: 0, False: 0]
  ------------------
 4558|      0|        return -1;
 4559|      0|    }
 4560|       |
 4561|      0|    if (PyDict_SetItem(dict, attr, method) < 0) {
  ------------------
  |  Branch (4561:9): [True: 0, False: 0]
  ------------------
 4562|      0|        Py_DECREF(method);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4563|      0|        return -1;
 4564|      0|    }
 4565|      0|    Py_DECREF(method);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4566|      0|    return 0;
 4567|      0|}
typeobject.c:type_new_descriptors:
 4599|    789|{
 4600|    789|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4601|    789|    Py_ssize_t slotoffset = ctx->base->tp_basicsize;
 4602|    789|    if (et->ht_slots != NULL) {
  ------------------
  |  Branch (4602:9): [True: 19, False: 770]
  ------------------
 4603|     19|        PyMemberDef *mp = _PyHeapType_GET_MEMBERS(et);
 4604|     19|        Py_ssize_t nslot = PyTuple_GET_SIZE(et->ht_slots);
  ------------------
  |  |   27|     19|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4605|     19|        int after_items = (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4605:28): [True: 0, False: 19]
  ------------------
 4606|      0|                           !(ctx->base->tp_flags & Py_TPFLAGS_ITEMS_AT_END));
  ------------------
  |  |  548|      0|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (4606:28): [True: 0, False: 0]
  ------------------
 4607|     19|        if (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4607:13): [True: 0, False: 19]
  ------------------
 4608|      0|            !(ctx->base->tp_flags & Py_TPFLAGS_TUPLE_SUBCLASS))
  ------------------
  |  |  553|      0|#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
  ------------------
  |  Branch (4608:13): [True: 0, False: 0]
  ------------------
 4609|      0|        {
 4610|      0|            PyErr_Format(PyExc_TypeError,
 4611|      0|                         "arbitrary __slots__ not supported for subtype of '%s'",
 4612|      0|                         ctx->base->tp_name);
 4613|      0|            return -1;
 4614|      0|        }
 4615|     70|        for (Py_ssize_t i = 0; i < nslot; i++, mp++) {
  ------------------
  |  Branch (4615:32): [True: 51, False: 19]
  ------------------
 4616|     51|            mp->name = PyUnicode_AsUTF8(
 4617|     51|                PyTuple_GET_ITEM(et->ht_slots, 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 (4617:17): [True: 51, False: 0]
  ------------------
 4618|     51|            if (mp->name == NULL) {
  ------------------
  |  Branch (4618:17): [True: 0, False: 51]
  ------------------
 4619|      0|                return -1;
 4620|      0|            }
 4621|     51|            mp->type = Py_T_OBJECT_EX;
  ------------------
  |  |   75|     51|#define Py_T_OBJECT_EX 16
  ------------------
 4622|     51|            mp->offset = slotoffset;
 4623|     51|            if (after_items) {
  ------------------
  |  Branch (4623:17): [True: 0, False: 51]
  ------------------
 4624|      0|                mp->flags |= _Py_AFTER_ITEMS;
  ------------------
  |  |   89|      0|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
 4625|      0|            }
 4626|       |
 4627|       |            /* __dict__ and __weakref__ are already filtered out */
 4628|     51|            assert(strcmp(mp->name, "__dict__") != 0);
  ------------------
  |  Branch (4628:13): [True: 51, False: 0]
  ------------------
 4629|     51|            assert(strcmp(mp->name, "__weakref__") != 0);
  ------------------
  |  Branch (4629:13): [True: 51, False: 0]
  ------------------
 4630|       |
 4631|     51|            slotoffset += sizeof(PyObject *);
 4632|     51|        }
 4633|     19|    }
 4634|       |
 4635|    789|    if (ctx->add_weak) {
  ------------------
  |  Branch (4635:9): [True: 153, False: 636]
  ------------------
 4636|    153|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) == 0);
  ------------------
  |  Branch (4636:9): [True: 153, False: 0]
  ------------------
 4637|    153|        type_add_flags(type, Py_TPFLAGS_MANAGED_WEAKREF);
  ------------------
  |  |  477|    153|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
 4638|    153|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  911|    153|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 4639|    153|    }
 4640|    789|    if (ctx->add_dict) {
  ------------------
  |  Branch (4640:9): [True: 133, False: 656]
  ------------------
 4641|    133|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (4641:9): [True: 133, False: 0]
  ------------------
 4642|    133|        type_add_flags(type, Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  |  482|    133|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
 4643|    133|        type->tp_dictoffset = -1;
 4644|    133|    }
 4645|       |
 4646|    789|    type->tp_basicsize = slotoffset;
 4647|    789|    type->tp_itemsize = ctx->base->tp_itemsize;
 4648|    789|    type->tp_members = _PyHeapType_GET_MEMBERS(et);
 4649|       |
 4650|    789|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4651|       |
 4652|    789|    if (type->tp_dictoffset) {
  ------------------
  |  Branch (4652:9): [True: 133, False: 656]
  ------------------
 4653|    133|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4653:13): [True: 0, False: 133]
  ------------------
 4654|    133|            interp,
 4655|    133|            &interp->cached_objects.dict_descriptor,
 4656|    133|            &subtype_getset_dict,
 4657|    133|            dict) < 0)
 4658|      0|        {
 4659|      0|            return -1;
 4660|      0|        }
 4661|    133|    }
 4662|    789|    if (type->tp_weaklistoffset) {
  ------------------
  |  Branch (4662:9): [True: 153, False: 636]
  ------------------
 4663|    153|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4663:13): [True: 0, False: 153]
  ------------------
 4664|    153|            interp,
 4665|    153|            &interp->cached_objects.weakref_descriptor,
 4666|    153|            &subtype_getset_weakref,
 4667|    153|            dict) < 0)
 4668|      0|        {
 4669|      0|            return -1;
 4670|      0|        }
 4671|    153|    }
 4672|       |
 4673|    789|    return 0;
 4674|    789|}
typeobject.c:type_add_common_descriptor:
 4575|    286|{
 4576|       |#ifdef Py_GIL_DISABLED
 4577|       |    PyMutex_Lock(&interp->cached_objects.descriptor_mutex);
 4578|       |#endif
 4579|    286|    PyObject *descr = *cache;
 4580|    286|    if (!descr) {
  ------------------
  |  Branch (4580:9): [True: 4, False: 282]
  ------------------
 4581|      4|        descr = PyDescr_NewGetSet(&PyBaseObject_Type, getset_def);
 4582|      4|        *cache = descr;
 4583|      4|    }
 4584|       |#ifdef Py_GIL_DISABLED
 4585|       |    PyMutex_Unlock(&interp->cached_objects.descriptor_mutex);
 4586|       |#endif
 4587|    286|    if (!descr) {
  ------------------
  |  Branch (4587:9): [True: 0, False: 286]
  ------------------
 4588|      0|        return -1;
 4589|      0|    }
 4590|    286|    if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    286|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (4590:9): [True: 0, False: 286]
  ------------------
 4591|      0|        return -1;
 4592|      0|    }
 4593|    286|    return 0;
 4594|    286|}
typeobject.c:type_new_set_slots:
 4679|    789|{
 4680|    789|    type->tp_getset = NULL;
 4681|       |
 4682|       |    /* Special case some slots */
 4683|    789|    if (type->tp_dictoffset != 0 || ctx->nslot > 0) {
  ------------------
  |  Branch (4683:9): [True: 133, False: 656]
  |  Branch (4683:37): [True: 15, False: 641]
  ------------------
 4684|    148|        PyTypeObject *base = ctx->base;
 4685|    148|        if (base->tp_getattr == NULL && base->tp_getattro == NULL) {
  ------------------
  |  Branch (4685:13): [True: 148, False: 0]
  |  Branch (4685:41): [True: 0, False: 148]
  ------------------
 4686|      0|            type->tp_getattro = PyObject_GenericGetAttr;
 4687|      0|        }
 4688|    148|        if (base->tp_setattr == NULL && base->tp_setattro == NULL) {
  ------------------
  |  Branch (4688:13): [True: 148, False: 0]
  |  Branch (4688:41): [True: 0, False: 148]
  ------------------
 4689|      0|            type->tp_setattro = PyObject_GenericSetAttr;
 4690|      0|        }
 4691|    148|    }
 4692|    789|}
typeobject.c:type_new_set_classcell:
 4698|    789|{
 4699|    789|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classcell__));
  ------------------
  |  |  951|    789|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    789|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    789|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4700|    789|    if (cell == NULL) {
  ------------------
  |  Branch (4700:9): [True: 768, False: 21]
  ------------------
 4701|    768|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4701:13): [True: 0, False: 768]
  ------------------
 4702|      0|            return -1;
 4703|      0|        }
 4704|    768|        return 0;
 4705|    768|    }
 4706|       |
 4707|       |    /* At least one method requires a reference to its defining class */
 4708|     21|    if (!PyCell_Check(cell)) {
  ------------------
  |  |   18|     21|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_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 (4708:9): [True: 0, False: 21]
  ------------------
 4709|      0|        PyErr_Format(PyExc_TypeError,
 4710|      0|                     "__classcell__ must be a nonlocal cell, not %.200R",
 4711|      0|                     Py_TYPE(cell));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4712|      0|        return -1;
 4713|      0|    }
 4714|       |
 4715|     21|    (void)PyCell_Set(cell, (PyObject *) type);
 4716|     21|    if (PyDict_DelItem(dict, &_Py_ID(__classcell__)) < 0) {
  ------------------
  |  |  951|     21|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     21|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     21|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4716:9): [True: 0, False: 21]
  ------------------
 4717|      0|        return -1;
 4718|      0|    }
 4719|     21|    return 0;
 4720|     21|}
typeobject.c:type_new_set_classdictcell:
 4724|    789|{
 4725|    789|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classdictcell__));
  ------------------
  |  |  951|    789|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    789|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    789|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4726|    789|    if (cell == NULL) {
  ------------------
  |  Branch (4726:9): [True: 204, False: 585]
  ------------------
 4727|    204|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4727:13): [True: 0, False: 204]
  ------------------
 4728|      0|            return -1;
 4729|      0|        }
 4730|    204|        return 0;
 4731|    204|    }
 4732|       |
 4733|       |    /* At least one method requires a reference to the dict of its defining class */
 4734|    585|    if (!PyCell_Check(cell)) {
  ------------------
  |  |   18|    585|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    585|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    585|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    585|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4734:9): [True: 0, False: 585]
  ------------------
 4735|      0|        PyErr_Format(PyExc_TypeError,
 4736|      0|                     "__classdictcell__ must be a nonlocal cell, not %.200R",
 4737|      0|                     Py_TYPE(cell));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4738|      0|        return -1;
 4739|      0|    }
 4740|       |
 4741|    585|    (void)PyCell_Set(cell, (PyObject *)dict);
 4742|    585|    if (PyDict_DelItem(dict, &_Py_ID(__classdictcell__)) < 0) {
  ------------------
  |  |  951|    585|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    585|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    585|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4742:9): [True: 0, False: 585]
  ------------------
 4743|      0|        return -1;
 4744|      0|    }
 4745|    585|    return 0;
 4746|    585|}
typeobject.c:type_new_set_names:
12387|    789|{
12388|    789|    PyObject *dict = lookup_tp_dict(type);
12389|    789|    PyObject *names_to_set = PyDict_Copy(dict);
12390|    789|    if (names_to_set == NULL) {
  ------------------
  |  Branch (12390:9): [True: 0, False: 789]
  ------------------
12391|      0|        return -1;
12392|      0|    }
12393|       |
12394|    789|    Py_ssize_t i = 0;
12395|    789|    PyObject *key, *value;
12396|  6.37k|    while (PyDict_Next(names_to_set, &i, &key, &value)) {
  ------------------
  |  Branch (12396:12): [True: 5.58k, False: 789]
  ------------------
12397|  5.58k|        PyObject *set_name = _PyObject_LookupSpecial(value,
12398|  5.58k|                                                     &_Py_ID(__set_name__));
  ------------------
  |  |  951|  5.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  5.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  5.58k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12399|  5.58k|        if (set_name == NULL) {
  ------------------
  |  Branch (12399:13): [True: 5.55k, False: 36]
  ------------------
12400|  5.55k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (12400:17): [True: 0, False: 5.55k]
  ------------------
12401|      0|                goto error;
12402|      0|            }
12403|  5.55k|            continue;
12404|  5.55k|        }
12405|       |
12406|     36|        PyObject *res = PyObject_CallFunctionObjArgs(set_name, type, key, NULL);
12407|     36|        Py_DECREF(set_name);
  ------------------
  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12408|       |
12409|     36|        if (res == NULL) {
  ------------------
  |  Branch (12409:13): [True: 0, False: 36]
  ------------------
12410|      0|            _PyErr_FormatNote(
12411|      0|                "Error calling __set_name__ on '%.100s' instance %R "
12412|      0|                "in '%.100s'",
12413|      0|                Py_TYPE(value)->tp_name, key, type->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12414|      0|            goto error;
12415|      0|        }
12416|     36|        else {
12417|     36|            Py_DECREF(res);
  ------------------
  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12418|     36|        }
12419|     36|    }
12420|       |
12421|    789|    Py_DECREF(names_to_set);
  ------------------
  |  |  430|    789|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12422|    789|    return 0;
12423|       |
12424|      0|error:
12425|      0|    Py_DECREF(names_to_set);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12426|      0|    return -1;
12427|    789|}
typeobject.c:type_new_init_subclass:
12433|    789|{
12434|    789|    PyObject *args[2] = {(PyObject *)type, (PyObject *)type};
12435|    789|    PyObject *super = PyObject_Vectorcall((PyObject *)&PySuper_Type,
12436|    789|                                          args, 2, NULL);
12437|    789|    if (super == NULL) {
  ------------------
  |  Branch (12437:9): [True: 0, False: 789]
  ------------------
12438|      0|        return -1;
12439|      0|    }
12440|       |
12441|    789|    PyObject *func = PyObject_GetAttr(super, &_Py_ID(__init_subclass__));
  ------------------
  |  |  951|    789|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    789|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    789|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12442|    789|    Py_DECREF(super);
  ------------------
  |  |  430|    789|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12443|    789|    if (func == NULL) {
  ------------------
  |  Branch (12443:9): [True: 0, False: 789]
  ------------------
12444|      0|        return -1;
12445|      0|    }
12446|       |
12447|    789|    PyObject *result = PyObject_VectorcallDict(func, NULL, 0, kwds);
12448|    789|    Py_DECREF(func);
  ------------------
  |  |  430|    789|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12449|    789|    if (result == NULL) {
  ------------------
  |  Branch (12449:9): [True: 0, False: 789]
  ------------------
12450|      0|        return -1;
12451|      0|    }
12452|       |
12453|    789|    Py_DECREF(result);
  ------------------
  |  |  430|    789|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12454|    789|    return 0;
12455|    789|}
typeobject.c:type_is_gc:
 7228|  45.6M|{
 7229|  45.6M|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|  45.6M|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7230|  45.6M|    return type->tp_flags & Py_TPFLAGS_HEAPTYPE;
  ------------------
  |  |  503|  45.6M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 7231|  45.6M|}
typeobject.c:type_vectorcall:
 5124|    782|{
 5125|    782|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    782|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5126|    782|    if (nargs == 1 && metatype == (PyObject *)&PyType_Type){
  ------------------
  |  Branch (5126:9): [True: 73, False: 709]
  |  Branch (5126:23): [True: 73, False: 0]
  ------------------
 5127|     73|        if (!_PyArg_NoKwnames("type", kwnames)) {
  ------------------
  |  |   16|     73|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 73, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5128|      0|            return NULL;
 5129|      0|        }
 5130|     73|        return Py_NewRef(Py_TYPE(args[0]));
  ------------------
  |  |  647|     73|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     73|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     73|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5131|     73|    }
 5132|       |    /* In other (much less common) cases, fall back to
 5133|       |       more flexible calling conventions. */
 5134|    709|    PyThreadState *tstate = _PyThreadState_GET();
 5135|    709|    return _PyObject_MakeTpCall(tstate, metatype, args, nargs, kwnames);
 5136|    782|}
typeobject.c:object_richcompare:
 7470|    200|{
 7471|    200|    PyObject *res;
 7472|       |
 7473|    200|    switch (op) {
 7474|       |
 7475|    200|    case Py_EQ:
  ------------------
  |  |  654|    200|#define Py_EQ 2
  ------------------
  |  Branch (7475:5): [True: 200, False: 0]
  ------------------
 7476|       |        /* Return NotImplemented instead of False, so if two
 7477|       |           objects are compared, both get a chance at the
 7478|       |           comparison.  See issue #1393. */
 7479|    200|        res = Py_NewRef((self == other) ? Py_True : Py_NotImplemented);
  ------------------
  |  |  647|    200|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 4, False: 196]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7480|    200|        break;
 7481|       |
 7482|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (7482:5): [True: 0, False: 200]
  ------------------
 7483|       |        /* By default, __ne__() delegates to __eq__() and inverts the result,
 7484|       |           unless the latter returns NotImplemented. */
 7485|      0|        if (Py_TYPE(self)->tp_richcompare == NULL) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7485:13): [True: 0, False: 0]
  ------------------
 7486|      0|            res = Py_NewRef(Py_NotImplemented);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7487|      0|            break;
 7488|      0|        }
 7489|      0|        res = (*Py_TYPE(self)->tp_richcompare)(self, other, Py_EQ);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      res = (*Py_TYPE(self)->tp_richcompare)(self, other, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
 7490|      0|        if (res != NULL && res != Py_NotImplemented) {
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (7490:13): [True: 0, False: 0]
  |  Branch (7490:28): [True: 0, False: 0]
  ------------------
 7491|      0|            int ok = PyObject_IsTrue(res);
 7492|      0|            Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7493|      0|            if (ok < 0)
  ------------------
  |  Branch (7493:17): [True: 0, False: 0]
  ------------------
 7494|      0|                res = NULL;
 7495|      0|            else {
 7496|      0|                if (ok)
  ------------------
  |  Branch (7496:21): [True: 0, False: 0]
  ------------------
 7497|      0|                    res = Py_NewRef(Py_False);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7498|      0|                else
 7499|      0|                    res = Py_NewRef(Py_True);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7500|      0|            }
 7501|      0|        }
 7502|      0|        break;
 7503|       |
 7504|      0|    default:
  ------------------
  |  Branch (7504:5): [True: 0, False: 200]
  ------------------
 7505|      0|        res = Py_NewRef(Py_NotImplemented);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7506|      0|        break;
 7507|    200|    }
 7508|       |
 7509|    200|    return res;
 7510|    200|}
typeobject.c:object_dealloc:
 7425|  4.55M|{
 7426|  4.55M|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  4.55M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7427|  4.55M|}
typeobject.c:object_str:
 7459|     26|{
 7460|     26|    unaryfunc f;
 7461|       |
 7462|     26|    f = Py_TYPE(self)->tp_repr;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7463|     26|    if (f == NULL)
  ------------------
  |  Branch (7463:9): [True: 0, False: 26]
  ------------------
 7464|      0|        f = object_repr;
 7465|     26|    return f(self);
 7466|     26|}
typeobject.c:object_subclasshook:
 8396|      8|{
 8397|      8|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      8|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      8|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 8398|      8|}
typeobject.c:object_init_subclass:
 8410|    789|{
 8411|    789|    Py_RETURN_NONE;
  ------------------
  |  |  628|    789|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    789|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8412|    789|}
typeobject.c:object_get_class:
 7520|    782|{
 7521|    782|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|    782|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    782|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    782|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7522|    782|    _Py_INCREF_TYPE(type);
  ------------------
  |  |  304|    782|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|    782|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    782|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    782|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7523|    782|    return (PyObject *)type;
 7524|    782|}
typeobject.c:object_init:
 7335|  2.51k|{
 7336|  2.51k|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|  2.51k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7337|  2.51k|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7337:9): [True: 456, False: 2.05k]
  ------------------
 7338|    456|        if (type->tp_init != object_init) {
  ------------------
  |  Branch (7338:13): [True: 0, False: 456]
  ------------------
 7339|      0|            PyErr_SetString(PyExc_TypeError,
 7340|      0|                            "object.__init__() takes exactly one argument (the instance to initialize)");
 7341|      0|            return -1;
 7342|      0|        }
 7343|    456|        if (type->tp_new == object_new) {
  ------------------
  |  Branch (7343:13): [True: 0, False: 456]
  ------------------
 7344|      0|            PyErr_Format(PyExc_TypeError,
 7345|      0|                         "%.200s.__init__() takes exactly one argument (the instance to initialize)",
 7346|      0|                         type->tp_name);
 7347|      0|            return -1;
 7348|      0|        }
 7349|    456|    }
 7350|  2.51k|    return 0;
 7351|  2.51k|}
typeobject.c:excess_args:
 7328|  4.77k|{
 7329|  4.77k|    return PyTuple_GET_SIZE(args) ||
  ------------------
  |  |   27|  9.54k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 910, False: 3.86k]
  |  |  ------------------
  ------------------
 7330|  3.86k|        (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   18|    207|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.06k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 207, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   63|    207|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    207|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    207|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (63:29): [True: 207, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (7330:10): [True: 207, False: 3.65k]
  ------------------
 7331|  4.77k|}
typeobject.c:object_new:
 7355|  2.25k|{
 7356|  2.25k|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7356:9): [True: 661, False: 1.59k]
  ------------------
 7357|    661|        if (type->tp_new != object_new) {
  ------------------
  |  Branch (7357:13): [True: 0, False: 661]
  ------------------
 7358|      0|            PyErr_SetString(PyExc_TypeError,
 7359|      0|                            "object.__new__() takes exactly one argument (the type to instantiate)");
 7360|      0|            return NULL;
 7361|      0|        }
 7362|    661|        if (type->tp_init == object_init) {
  ------------------
  |  Branch (7362:13): [True: 0, False: 661]
  ------------------
 7363|      0|            PyErr_Format(PyExc_TypeError, "%.200s() takes no arguments",
 7364|      0|                         type->tp_name);
 7365|      0|            return NULL;
 7366|      0|        }
 7367|    661|    }
 7368|       |
 7369|  2.25k|    if (type->tp_flags & Py_TPFLAGS_IS_ABSTRACT) {
  ------------------
  |  |  540|  2.25k|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
  |  Branch (7369:9): [True: 0, False: 2.25k]
  ------------------
 7370|      0|        PyObject *abstract_methods;
 7371|      0|        PyObject *sorted_methods;
 7372|      0|        PyObject *joined;
 7373|      0|        PyObject* comma_w_quotes_sep;
 7374|      0|        Py_ssize_t method_count;
 7375|       |
 7376|       |        /* Compute "', '".join(sorted(type.__abstractmethods__))
 7377|       |           into joined. */
 7378|      0|        abstract_methods = type_abstractmethods((PyObject *)type, NULL);
 7379|      0|        if (abstract_methods == NULL)
  ------------------
  |  Branch (7379:13): [True: 0, False: 0]
  ------------------
 7380|      0|            return NULL;
 7381|      0|        sorted_methods = PySequence_List(abstract_methods);
 7382|      0|        Py_DECREF(abstract_methods);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7383|      0|        if (sorted_methods == NULL)
  ------------------
  |  Branch (7383:13): [True: 0, False: 0]
  ------------------
 7384|      0|            return NULL;
 7385|      0|        if (PyList_Sort(sorted_methods)) {
  ------------------
  |  Branch (7385:13): [True: 0, False: 0]
  ------------------
 7386|      0|            Py_DECREF(sorted_methods);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7387|      0|            return NULL;
 7388|      0|        }
 7389|      0|        comma_w_quotes_sep = PyUnicode_FromString("', '");
 7390|      0|        if (!comma_w_quotes_sep) {
  ------------------
  |  Branch (7390:13): [True: 0, False: 0]
  ------------------
 7391|      0|            Py_DECREF(sorted_methods);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7392|      0|            return NULL;
 7393|      0|        }
 7394|      0|        joined = PyUnicode_Join(comma_w_quotes_sep, sorted_methods);
 7395|      0|        Py_DECREF(comma_w_quotes_sep);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7396|      0|        if (joined == NULL)  {
  ------------------
  |  Branch (7396:13): [True: 0, False: 0]
  ------------------
 7397|      0|            Py_DECREF(sorted_methods);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7398|      0|            return NULL;
 7399|      0|        }
 7400|      0|        method_count = PyObject_Length(sorted_methods);
  ------------------
  |  |  353|      0|#define PyObject_Length PyObject_Size
  ------------------
 7401|      0|        Py_DECREF(sorted_methods);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7402|      0|        if (method_count == -1) {
  ------------------
  |  Branch (7402:13): [True: 0, False: 0]
  ------------------
 7403|      0|            Py_DECREF(joined);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7404|      0|            return NULL;
 7405|      0|        }
 7406|       |
 7407|      0|        PyErr_Format(PyExc_TypeError,
 7408|      0|                     "Can't instantiate abstract class %s "
 7409|      0|                     "without an implementation for abstract method%s '%U'",
 7410|      0|                     type->tp_name,
 7411|      0|                     method_count > 1 ? "s" : "",
  ------------------
  |  Branch (7411:22): [True: 0, False: 0]
  ------------------
 7412|      0|                     joined);
 7413|      0|        Py_DECREF(joined);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7414|      0|        return NULL;
 7415|      0|    }
 7416|  2.25k|    PyObject *obj = type->tp_alloc(type, 0);
 7417|  2.25k|    if (obj == NULL) {
  ------------------
  |  Branch (7417:9): [True: 0, False: 2.25k]
  ------------------
 7418|      0|        return NULL;
 7419|      0|    }
 7420|  2.25k|    return obj;
 7421|  2.25k|}
typeobject.c:type_add_method:
 8589|  1.80k|{
 8590|  1.80k|    PyObject *descr;
 8591|  1.80k|    int isdescr = 1;
 8592|  1.80k|    if (meth->ml_flags & METH_CLASS) {
  ------------------
  |  |  104|  1.80k|#define METH_CLASS    0x0010
  ------------------
  |  Branch (8592:9): [True: 115, False: 1.68k]
  ------------------
 8593|    115|        if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|    115|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8593:13): [True: 0, False: 115]
  ------------------
 8594|      0|            PyErr_SetString(PyExc_ValueError,
 8595|      0|                    "method cannot be both class and static");
 8596|      0|            return -1;
 8597|      0|        }
 8598|    115|        descr = PyDescr_NewClassMethod(type, meth);
 8599|    115|    }
 8600|  1.68k|    else if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|  1.68k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8600:14): [True: 6, False: 1.68k]
  ------------------
 8601|      6|        PyObject *mod = type_module(type);
 8602|      6|        if (mod == NULL) {
  ------------------
  |  Branch (8602:13): [True: 0, False: 6]
  ------------------
 8603|      0|            if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (8603:17): [True: 0, False: 0]
  ------------------
 8604|      0|                return -1;
 8605|      0|            }
 8606|      0|            PyErr_Clear();
 8607|      0|        }
 8608|      6|        PyObject *cfunc = PyCFunction_NewEx(meth, (PyObject*)type, mod);
  ------------------
  |  |   87|      6|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
 8609|      6|        Py_XDECREF(mod);
  ------------------
  |  |  621|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8610|      6|        if (cfunc == NULL) {
  ------------------
  |  Branch (8610:13): [True: 0, False: 6]
  ------------------
 8611|      0|            return -1;
 8612|      0|        }
 8613|      6|        descr = PyStaticMethod_New(cfunc);
 8614|      6|        isdescr = 0;  // PyStaticMethod is not PyDescrObject
 8615|      6|        Py_DECREF(cfunc);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8616|      6|    }
 8617|  1.68k|    else {
 8618|  1.68k|        descr = PyDescr_NewMethod(type, meth);
 8619|  1.68k|    }
 8620|  1.80k|    if (descr == NULL) {
  ------------------
  |  Branch (8620:9): [True: 0, False: 1.80k]
  ------------------
 8621|      0|        return -1;
 8622|      0|    }
 8623|       |
 8624|  1.80k|    PyObject *name;
 8625|  1.80k|    if (isdescr) {
  ------------------
  |  Branch (8625:9): [True: 1.79k, False: 6]
  ------------------
 8626|  1.79k|        name = PyDescr_NAME(descr);
  ------------------
  |  |   36|  1.79k|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
 8627|  1.79k|    }
 8628|      6|    else {
 8629|      6|        name = PyUnicode_FromString(meth->ml_name);
 8630|      6|        if (name == NULL) {
  ------------------
  |  Branch (8630:13): [True: 0, False: 6]
  ------------------
 8631|      0|            Py_DECREF(descr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8632|      0|            return -1;
 8633|      0|        }
 8634|      6|    }
 8635|       |
 8636|  1.80k|    int err;
 8637|  1.80k|    PyObject *dict = lookup_tp_dict(type);
 8638|  1.80k|    if (!(meth->ml_flags & METH_COEXIST)) {
  ------------------
  |  |  112|  1.80k|#define METH_COEXIST   0x0040
  ------------------
  |  Branch (8638:9): [True: 1.78k, False: 20]
  ------------------
 8639|  1.78k|        err = PyDict_SetDefaultRef(dict, name, descr, NULL) < 0;
 8640|  1.78k|    }
 8641|     20|    else {
 8642|     20|        err = PyDict_SetItem(dict, name, descr) < 0;
 8643|     20|    }
 8644|  1.80k|    if (!isdescr) {
  ------------------
  |  Branch (8644:9): [True: 6, False: 1.79k]
  ------------------
 8645|      6|        Py_DECREF(name);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8646|      6|    }
 8647|  1.80k|    Py_DECREF(descr);
  ------------------
  |  |  430|  1.80k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8648|  1.80k|    if (err) {
  ------------------
  |  Branch (8648:9): [True: 0, False: 1.80k]
  ------------------
 8649|      0|        return -1;
 8650|      0|    }
 8651|  1.80k|    return 0;
 8652|  1.80k|}
typeobject.c:type_add_flags:
  412|  9.91k|{
  413|  9.91k|    type_set_flags(tp, tp->tp_flags | flag);
  414|  9.91k|}
typeobject.c:type_ready:
 9529|  1.32k|{
 9530|  1.32k|    ASSERT_TYPE_LOCK_HELD();
 9531|       |
 9532|  1.32k|    _PyObject_ASSERT((PyObject *)type, !is_readying(type));
  ------------------
  |  |  360|  1.32k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  1.32k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  1.32k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 1.32k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.32k|      ? (void)(0) \
  |  |  |  |  |  |  353|  1.32k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9533|  1.32k|    start_readying(type);
 9534|       |
 9535|  1.32k|    if (type_ready_pre_checks(type) < 0) {
  ------------------
  |  Branch (9535:9): [True: 0, False: 1.32k]
  ------------------
 9536|      0|        goto error;
 9537|      0|    }
 9538|       |
 9539|  1.32k|    _PyTypeCache_InitType(type);
 9540|       |
 9541|       |#ifdef Py_TRACE_REFS
 9542|       |    /* PyType_Ready is the closest thing we have to a choke point
 9543|       |     * for type objects, so is the best place I can think of to try
 9544|       |     * to get type objects into the doubly-linked list of all objects.
 9545|       |     * Still, not all type objects go through PyType_Ready.
 9546|       |     */
 9547|       |    _Py_AddToAllObjects((PyObject *)type);
 9548|       |#endif
 9549|       |
 9550|       |    /* Initialize tp_dict: _PyType_IsReady() tests if tp_dict != NULL */
 9551|  1.32k|    if (type_ready_set_dict(type) < 0) {
  ------------------
  |  Branch (9551:9): [True: 0, False: 1.32k]
  ------------------
 9552|      0|        goto error;
 9553|      0|    }
 9554|  1.32k|    if (type_ready_set_base(type) < 0) {
  ------------------
  |  Branch (9554:9): [True: 0, False: 1.32k]
  ------------------
 9555|      0|        goto error;
 9556|      0|    }
 9557|  1.32k|    if (type_ready_set_type(type) < 0) {
  ------------------
  |  Branch (9557:9): [True: 0, False: 1.32k]
  ------------------
 9558|      0|        goto error;
 9559|      0|    }
 9560|  1.32k|    if (type_ready_set_bases(type, initial) < 0) {
  ------------------
  |  Branch (9560:9): [True: 0, False: 1.32k]
  ------------------
 9561|      0|        goto error;
 9562|      0|    }
 9563|  1.32k|    if (type_ready_mro(type, initial) < 0) {
  ------------------
  |  Branch (9563:9): [True: 0, False: 1.32k]
  ------------------
 9564|      0|        goto error;
 9565|      0|    }
 9566|  1.32k|    if (type_ready_set_new(type, initial) < 0) {
  ------------------
  |  Branch (9566:9): [True: 0, False: 1.32k]
  ------------------
 9567|      0|        goto error;
 9568|      0|    }
 9569|  1.32k|    if (type_ready_fill_dict(type) < 0) {
  ------------------
  |  Branch (9569:9): [True: 0, False: 1.32k]
  ------------------
 9570|      0|        goto error;
 9571|      0|    }
 9572|  1.32k|    if (initial) {
  ------------------
  |  Branch (9572:9): [True: 1.32k, False: 0]
  ------------------
 9573|  1.32k|        if (type_ready_inherit(type) < 0) {
  ------------------
  |  Branch (9573:13): [True: 0, False: 1.32k]
  ------------------
 9574|      0|            goto error;
 9575|      0|        }
 9576|  1.32k|        if (type_ready_preheader(type) < 0) {
  ------------------
  |  Branch (9576:13): [True: 0, False: 1.32k]
  ------------------
 9577|      0|            goto error;
 9578|      0|        }
 9579|  1.32k|    }
 9580|  1.32k|    if (type_ready_set_hash(type) < 0) {
  ------------------
  |  Branch (9580:9): [True: 0, False: 1.32k]
  ------------------
 9581|      0|        goto error;
 9582|      0|    }
 9583|  1.32k|    if (add_subclasses) {
  ------------------
  |  Branch (9583:9): [True: 412, False: 916]
  ------------------
 9584|    412|        if (type_ready_add_subclasses(type) < 0) {
  ------------------
  |  Branch (9584:13): [True: 0, False: 412]
  ------------------
 9585|      0|            goto error;
 9586|      0|        }
 9587|    412|    }
 9588|  1.32k|    if (initial) {
  ------------------
  |  Branch (9588:9): [True: 1.32k, False: 0]
  ------------------
 9589|  1.32k|        if (type_ready_managed_dict(type) < 0) {
  ------------------
  |  Branch (9589:13): [True: 0, False: 1.32k]
  ------------------
 9590|      0|            goto error;
 9591|      0|        }
 9592|  1.32k|        if (type_ready_post_checks(type) < 0) {
  ------------------
  |  Branch (9592:13): [True: 0, False: 1.32k]
  ------------------
 9593|      0|            goto error;
 9594|      0|        }
 9595|  1.32k|    }
 9596|       |
 9597|  1.32k|    if (add_subclasses) {
  ------------------
  |  Branch (9597:9): [True: 412, False: 916]
  ------------------
 9598|       |        /* All done -- set the ready flag */
 9599|    412|        if (initial) {
  ------------------
  |  Branch (9599:13): [True: 412, False: 0]
  ------------------
 9600|    412|            type_add_flags(type, Py_TPFLAGS_READY);
  ------------------
  |  |  518|    412|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9601|    412|        } else {
 9602|      0|            assert(type->tp_flags & Py_TPFLAGS_READY);
  ------------------
  |  Branch (9602:13): [True: 0, False: 0]
  ------------------
 9603|      0|        }
 9604|    412|    }
 9605|       |
 9606|  1.32k|    stop_readying(type);
 9607|       |
 9608|  1.32k|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (9608:5): [True: 1.32k, False: 0]
  ------------------
 9609|  1.32k|    return 0;
 9610|       |
 9611|      0|error:
 9612|      0|    stop_readying(type);
 9613|      0|    return -1;
 9614|  1.32k|}
typeobject.c:start_readying:
  424|  1.32k|{
  425|  1.32k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.32k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (425:9): [True: 412, False: 916]
  ------------------
  426|    412|        PyInterpreterState *interp = _PyInterpreterState_GET();
  427|    412|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  428|    412|        assert(state != NULL);
  ------------------
  |  Branch (428:9): [True: 412, False: 0]
  ------------------
  429|    412|        assert(!state->readying);
  ------------------
  |  Branch (429:9): [True: 412, False: 0]
  ------------------
  430|    412|        state->readying = 1;
  431|    412|        return;
  432|    412|    }
  433|  1.32k|    assert((type->tp_flags & Py_TPFLAGS_READYING) == 0);
  ------------------
  |  Branch (433:5): [True: 916, False: 0]
  ------------------
  434|    916|    type_add_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|    916|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  435|    916|}
typeobject.c:type_ready_pre_checks:
 9024|  1.32k|{
 9025|       |    /* Consistency checks for PEP 590:
 9026|       |     * - Py_TPFLAGS_METHOD_DESCRIPTOR requires tp_descr_get
 9027|       |     * - Py_TPFLAGS_HAVE_VECTORCALL requires tp_call and
 9028|       |     *   tp_vectorcall_offset > 0
 9029|       |     * To avoid mistakes, we require this before inheriting.
 9030|       |     */
 9031|  1.32k|    if (type->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR) {
  ------------------
  |  |  534|  1.32k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (9031:9): [True: 7, False: 1.32k]
  ------------------
 9032|      7|        _PyObject_ASSERT((PyObject *)type, type->tp_descr_get != NULL);
  ------------------
  |  |  360|      7|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      7|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      7|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 7, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      7|      ? (void)(0) \
  |  |  |  |  |  |  353|      7|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9033|      7|    }
 9034|  1.32k|    if (type->tp_flags & Py_TPFLAGS_HAVE_VECTORCALL) {
  ------------------
  |  |  510|  1.32k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (9034:9): [True: 20, False: 1.30k]
  ------------------
 9035|     20|        _PyObject_ASSERT((PyObject *)type, type->tp_vectorcall_offset > 0);
  ------------------
  |  |  360|     20|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|     20|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|     20|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 20, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|     20|      ? (void)(0) \
  |  |  |  |  |  |  353|     20|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9036|     20|        _PyObject_ASSERT((PyObject *)type, type->tp_call != NULL);
  ------------------
  |  |  360|     20|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|     20|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|     20|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 20, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|     20|      ? (void)(0) \
  |  |  |  |  |  |  353|     20|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9037|     20|    }
 9038|       |
 9039|       |    /* Consistency checks for pattern matching
 9040|       |     * Py_TPFLAGS_SEQUENCE and Py_TPFLAGS_MAPPING are mutually exclusive */
 9041|  1.32k|    _PyObject_ASSERT((PyObject *)type, (type->tp_flags & COLLECTION_FLAGS) != COLLECTION_FLAGS);
  ------------------
  |  |  360|  1.32k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  1.32k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  1.32k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 1.32k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.32k|      ? (void)(0) \
  |  |  |  |  |  |  353|  1.32k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9042|       |
 9043|  1.32k|    if (type->tp_name == NULL) {
  ------------------
  |  Branch (9043:9): [True: 0, False: 1.32k]
  ------------------
 9044|      0|        PyErr_Format(PyExc_SystemError,
 9045|      0|                     "Type does not define the tp_name field.");
 9046|      0|        return -1;
 9047|      0|    }
 9048|  1.32k|    return 0;
 9049|  1.32k|}
typeobject.c:type_ready_set_dict:
 9130|  1.32k|{
 9131|  1.32k|    if (lookup_tp_dict(type) != NULL) {
  ------------------
  |  Branch (9131:9): [True: 789, False: 539]
  ------------------
 9132|    789|        return 0;
 9133|    789|    }
 9134|       |
 9135|    539|    PyObject *dict = PyDict_New();
 9136|    539|    if (dict == NULL) {
  ------------------
  |  Branch (9136:9): [True: 0, False: 539]
  ------------------
 9137|      0|        return -1;
 9138|      0|    }
 9139|    539|    set_tp_dict(type, dict);
 9140|    539|    return 0;
 9141|    539|}
typeobject.c:type_ready_set_base:
 9054|  1.32k|{
 9055|       |    /* Initialize tp_base (defaults to BaseObject unless that's us) */
 9056|  1.32k|    PyTypeObject *base = type->tp_base;
 9057|  1.32k|    if (base == NULL && type != &PyBaseObject_Type) {
  ------------------
  |  Branch (9057:9): [True: 240, False: 1.08k]
  |  Branch (9057:25): [True: 238, False: 2]
  ------------------
 9058|    238|        base = &PyBaseObject_Type;
 9059|    238|        if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|    238|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9059:13): [True: 0, False: 238]
  ------------------
 9060|      0|            type->tp_base = (PyTypeObject*)Py_NewRef((PyObject*)base);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9061|      0|        }
 9062|    238|        else {
 9063|    238|            type->tp_base = base;
 9064|    238|        }
 9065|    238|    }
 9066|  1.32k|    assert(type->tp_base != NULL || type == &PyBaseObject_Type);
  ------------------
  |  Branch (9066:5): [True: 1.32k, False: 2]
  |  Branch (9066:5): [True: 2, False: 0]
  ------------------
 9067|       |
 9068|       |    /* Now the only way base can still be NULL is if type is
 9069|       |     * &PyBaseObject_Type. */
 9070|       |
 9071|       |    /* Initialize the base class */
 9072|  1.32k|    if (base != NULL && !_PyType_IsReady(base)) {
  ------------------
  |  Branch (9072:9): [True: 1.32k, False: 2]
  |  Branch (9072:25): [True: 0, False: 1.32k]
  ------------------
 9073|      0|        if (PyType_Ready(base) < 0) {
  ------------------
  |  Branch (9073:13): [True: 0, False: 0]
  ------------------
 9074|      0|            return -1;
 9075|      0|        }
 9076|      0|    }
 9077|       |
 9078|  1.32k|    return 0;
 9079|  1.32k|}
typeobject.c:type_ready_set_type:
 9083|  1.32k|{
 9084|       |    /* Initialize ob_type if NULL.      This means extensions that want to be
 9085|       |       compilable separately on Windows can call PyType_Ready() instead of
 9086|       |       initializing the ob_type field of their type objects. */
 9087|       |    /* The test for base != NULL is really unnecessary, since base is only
 9088|       |       NULL when type is &PyBaseObject_Type, and we know its ob_type is
 9089|       |       not NULL (it's initialized to &PyType_Type).      But coverity doesn't
 9090|       |       know that. */
 9091|  1.32k|    PyTypeObject *base = type->tp_base;
 9092|  1.32k|    if (Py_IS_TYPE(type, NULL) && base != NULL) {
  ------------------
  |  |  215|  2.65k|#  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: 170, False: 1.15k]
  |  |  ------------------
  ------------------
  |  Branch (9092:35): [True: 170, False: 0]
  ------------------
 9093|    170|        Py_SET_TYPE(type, Py_TYPE(base));
  ------------------
  |  |  217|    170|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|    170|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    170|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9094|    170|    }
 9095|       |
 9096|  1.32k|    return 0;
 9097|  1.32k|}
typeobject.c:type_ready_set_bases:
 9101|  1.32k|{
 9102|  1.32k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.32k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (9102:9): [True: 412, False: 916]
  ------------------
 9103|    412|        if (!initial) {
  ------------------
  |  Branch (9103:13): [True: 0, False: 412]
  ------------------
 9104|      0|            assert(lookup_tp_bases(type) != NULL);
  ------------------
  |  Branch (9104:13): [True: 0, False: 0]
  ------------------
 9105|      0|            return 0;
 9106|      0|        }
 9107|    412|        assert(lookup_tp_bases(type) == NULL);
  ------------------
  |  Branch (9107:9): [True: 412, False: 0]
  ------------------
 9108|    412|    }
 9109|       |
 9110|  1.32k|    PyObject *bases = lookup_tp_bases(type);
 9111|  1.32k|    if (bases == NULL) {
  ------------------
  |  Branch (9111:9): [True: 412, False: 916]
  ------------------
 9112|    412|        PyTypeObject *base = type->tp_base;
 9113|    412|        if (base == NULL) {
  ------------------
  |  Branch (9113:13): [True: 2, False: 410]
  ------------------
 9114|      2|            bases = PyTuple_New(0);
 9115|      2|        }
 9116|    410|        else {
 9117|    410|            bases = PyTuple_Pack(1, base);
 9118|    410|        }
 9119|    412|        if (bases == NULL) {
  ------------------
  |  Branch (9119:13): [True: 0, False: 412]
  ------------------
 9120|      0|            return -1;
 9121|      0|        }
 9122|    412|        set_tp_bases(type, bases);
 9123|    412|    }
 9124|  1.32k|    return 0;
 9125|  1.32k|}
typeobject.c:type_ready_mro:
 9247|  1.32k|{
 9248|  1.32k|    ASSERT_TYPE_LOCK_HELD();
 9249|       |
 9250|  1.32k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.32k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (9250:9): [True: 412, False: 916]
  ------------------
 9251|    412|        if (!initial) {
  ------------------
  |  Branch (9251:13): [True: 0, False: 412]
  ------------------
 9252|      0|            assert(lookup_tp_mro(type) != NULL);
  ------------------
  |  Branch (9252:13): [True: 0, False: 0]
  ------------------
 9253|      0|            return 0;
 9254|      0|        }
 9255|    412|        assert(lookup_tp_mro(type) == NULL);
  ------------------
  |  Branch (9255:9): [True: 412, False: 0]
  ------------------
 9256|    412|    }
 9257|       |
 9258|       |    /* Calculate method resolution order */
 9259|  1.32k|    if (mro_internal(type, initial, NULL) < 0) {
  ------------------
  |  Branch (9259:9): [True: 0, False: 1.32k]
  ------------------
 9260|      0|        return -1;
 9261|      0|    }
 9262|  1.32k|    PyObject *mro = lookup_tp_mro(type);
 9263|  1.32k|    assert(mro != NULL);
  ------------------
  |  Branch (9263:5): [True: 1.32k, False: 0]
  ------------------
 9264|  1.32k|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (9264:5): [True: 1.32k, False: 0]
  ------------------
 9265|       |
 9266|       |    /* All bases of statically allocated type should be statically allocated,
 9267|       |       and static builtin types must have static builtin bases. */
 9268|  1.32k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  1.32k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9268:9): [True: 412, False: 916]
  ------------------
 9269|    412|        assert(type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  Branch (9269:9): [True: 412, False: 0]
  ------------------
 9270|    412|        Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|    412|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    412|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    412|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9271|  1.64k|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (9271:32): [True: 1.23k, False: 412]
  ------------------
 9272|  2.46k|            PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(mro, i));
  ------------------
  |  |  770|  1.23k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 1.23k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9272:34): [True: 1.23k, False: 0]
  |  Branch (9272:34): [True: 1.23k, False: 0]
  ------------------
 9273|  1.23k|            if (base->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|  1.23k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9273:17): [True: 0, False: 1.23k]
  ------------------
 9274|      0|                PyErr_Format(PyExc_TypeError,
 9275|      0|                             "type '%.100s' is not dynamically allocated but "
 9276|      0|                             "its base type '%.100s' is dynamically allocated",
 9277|      0|                             type->tp_name, base->tp_name);
 9278|      0|                return -1;
 9279|      0|            }
 9280|  2.46k|            assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) ||
  ------------------
  |  Branch (9280:13): [True: 0, False: 1.23k]
  |  Branch (9280:13): [True: 1.23k, False: 0]
  ------------------
 9281|  1.23k|                   (base->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
 9282|  1.23k|        }
 9283|    412|    }
 9284|  1.32k|    return 0;
 9285|  1.32k|}
typeobject.c:type_ready_set_new:
 9416|  1.32k|{
 9417|  1.32k|    PyTypeObject *base = type->tp_base;
 9418|       |    /* The condition below could use some explanation.
 9419|       |
 9420|       |       It appears that tp_new is not inherited for static types whose base
 9421|       |       class is 'object'; this seems to be a precaution so that old extension
 9422|       |       types don't suddenly become callable (object.__new__ wouldn't insure the
 9423|       |       invariants that the extension type's own factory function ensures).
 9424|       |
 9425|       |       Heap types, of course, are under our control, so they do inherit tp_new;
 9426|       |       static extension types that specify some other built-in type as the
 9427|       |       default also inherit object.__new__. */
 9428|  1.32k|    if (type->tp_new == NULL
  ------------------
  |  Branch (9428:9): [True: 1.02k, False: 299]
  ------------------
 9429|  1.02k|        && base == &PyBaseObject_Type
  ------------------
  |  Branch (9429:12): [True: 261, False: 768]
  ------------------
 9430|    261|        && !(type->tp_flags & Py_TPFLAGS_HEAPTYPE))
  ------------------
  |  |  503|    261|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9430:12): [True: 126, False: 135]
  ------------------
 9431|    126|    {
 9432|    126|        if (initial) {
  ------------------
  |  Branch (9432:13): [True: 126, False: 0]
  ------------------
 9433|    126|            type_add_flags(type, Py_TPFLAGS_DISALLOW_INSTANTIATION);
  ------------------
  |  |  497|    126|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
 9434|    126|        } else {
 9435|      0|            assert(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION);
  ------------------
  |  Branch (9435:13): [True: 0, False: 0]
  ------------------
 9436|      0|        }
 9437|    126|    }
 9438|       |
 9439|  1.32k|    if (!(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION)) {
  ------------------
  |  |  497|  1.32k|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
  |  Branch (9439:9): [True: 1.17k, False: 151]
  ------------------
 9440|  1.17k|        if (type->tp_new != NULL) {
  ------------------
  |  Branch (9440:13): [True: 295, False: 882]
  ------------------
 9441|    295|            if (initial || base == NULL || type->tp_new != base->tp_new) {
  ------------------
  |  Branch (9441:17): [True: 295, False: 0]
  |  Branch (9441:28): [True: 0, False: 0]
  |  Branch (9441:44): [True: 0, False: 0]
  ------------------
 9442|       |                // If "__new__" key does not exists in the type dictionary,
 9443|       |                // set it to tp_new_wrapper().
 9444|    295|                if (add_tp_new_wrapper(type) < 0) {
  ------------------
  |  Branch (9444:21): [True: 0, False: 295]
  ------------------
 9445|      0|                    return -1;
 9446|      0|                }
 9447|    295|            }
 9448|    295|        }
 9449|    882|        else {
 9450|    882|            if (initial) {
  ------------------
  |  Branch (9450:17): [True: 882, False: 0]
  ------------------
 9451|       |                // tp_new is NULL: inherit tp_new from base
 9452|    882|                type->tp_new = base->tp_new;
 9453|    882|            }
 9454|    882|        }
 9455|  1.17k|    }
 9456|    151|    else {
 9457|       |        // Py_TPFLAGS_DISALLOW_INSTANTIATION sets tp_new to NULL
 9458|    151|        if (initial) {
  ------------------
  |  Branch (9458:13): [True: 151, False: 0]
  ------------------
 9459|    151|            type->tp_new = NULL;
 9460|    151|        }
 9461|    151|    }
 9462|  1.32k|    return 0;
 9463|  1.32k|}
typeobject.c:add_tp_new_wrapper:
10547|    295|{
10548|    295|    PyObject *dict = lookup_tp_dict(type);
10549|    295|    int r = PyDict_Contains(dict, &_Py_ID(__new__));
  ------------------
  |  |  951|    295|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    295|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    295|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10550|    295|    if (r > 0) {
  ------------------
  |  Branch (10550:9): [True: 0, False: 295]
  ------------------
10551|      0|        return 0;
10552|      0|    }
10553|    295|    if (r < 0) {
  ------------------
  |  Branch (10553:9): [True: 0, False: 295]
  ------------------
10554|      0|        return -1;
10555|      0|    }
10556|       |
10557|    295|    PyObject *func = PyCFunction_NewEx(tp_new_methoddef, (PyObject *)type, NULL);
  ------------------
  |  |   87|    295|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
10558|    295|    if (func == NULL) {
  ------------------
  |  Branch (10558:9): [True: 0, False: 295]
  ------------------
10559|      0|        return -1;
10560|      0|    }
10561|    295|    _PyObject_SetDeferredRefcount(func);
10562|    295|    r = PyDict_SetItem(dict, &_Py_ID(__new__), func);
  ------------------
  |  |  951|    295|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    295|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    295|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10563|    295|    Py_DECREF(func);
  ------------------
  |  |  430|    295|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    295|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10564|    295|    return r;
10565|    295|}
typeobject.c:type_ready_fill_dict:
 9183|  1.32k|{
 9184|       |    /* Add type-specific descriptors to tp_dict */
 9185|  1.32k|    if (add_operators(type) < 0) {
  ------------------
  |  Branch (9185:9): [True: 0, False: 1.32k]
  ------------------
 9186|      0|        return -1;
 9187|      0|    }
 9188|  1.32k|    if (type_add_methods(type) < 0) {
  ------------------
  |  Branch (9188:9): [True: 0, False: 1.32k]
  ------------------
 9189|      0|        return -1;
 9190|      0|    }
 9191|  1.32k|    if (type_add_members(type) < 0) {
  ------------------
  |  Branch (9191:9): [True: 0, False: 1.32k]
  ------------------
 9192|      0|        return -1;
 9193|      0|    }
 9194|  1.32k|    if (type_add_getset(type) < 0) {
  ------------------
  |  Branch (9194:9): [True: 0, False: 1.32k]
  ------------------
 9195|      0|        return -1;
 9196|      0|    }
 9197|  1.32k|    if (type_dict_set_doc(type) < 0) {
  ------------------
  |  Branch (9197:9): [True: 0, False: 1.32k]
  ------------------
 9198|      0|        return -1;
 9199|      0|    }
 9200|  1.32k|    return 0;
 9201|  1.32k|}
typeobject.c:add_operators:
12594|  1.32k|{
12595|  1.32k|    PyObject *dict = lookup_tp_dict(type);
12596|  1.32k|    pytype_slotdef *p;
12597|  1.32k|    PyObject *descr;
12598|  1.32k|    void **ptr;
12599|       |
12600|   126k|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (12600:24): [True: 124k, False: 1.32k]
  ------------------
12601|   124k|        if (p->wrapper == NULL)
  ------------------
  |  Branch (12601:13): [True: 7.96k, False: 116k]
  ------------------
12602|  7.96k|            continue;
12603|   116k|        ptr = slotptr(type, p->offset);
12604|   116k|        if (!ptr || !*ptr)
  ------------------
  |  Branch (12604:13): [True: 24.5k, False: 92.3k]
  |  Branch (12604:21): [True: 89.7k, False: 2.57k]
  ------------------
12605|   114k|            continue;
12606|       |        /* Also ignore when the type slot has been inherited. */
12607|  2.57k|        if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN
  ------------------
  |  |  467|  5.14k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (12607:13): [True: 2.27k, False: 300]
  ------------------
12608|  2.27k|            && type->tp_base != NULL
  ------------------
  |  Branch (12608:16): [True: 2.24k, False: 26]
  ------------------
12609|  2.24k|            && slot_inherited(type, p, ptr))
  ------------------
  |  Branch (12609:16): [True: 318, False: 1.92k]
  ------------------
12610|    318|        {
12611|    318|            continue;
12612|    318|        }
12613|  2.25k|        int r = PyDict_Contains(dict, p->name_strobj);
12614|  2.25k|        if (r > 0)
  ------------------
  |  Branch (12614:13): [True: 44, False: 2.21k]
  ------------------
12615|     44|            continue;
12616|  2.21k|        if (r < 0) {
  ------------------
  |  Branch (12616:13): [True: 0, False: 2.21k]
  ------------------
12617|      0|            return -1;
12618|      0|        }
12619|  2.21k|        if (*ptr == (void *)PyObject_HashNotImplemented) {
  ------------------
  |  Branch (12619:13): [True: 19, False: 2.19k]
  ------------------
12620|       |            /* Classes may prevent the inheritance of the tp_hash
12621|       |               slot by storing PyObject_HashNotImplemented in it. Make it
12622|       |               visible as a None value for the __hash__ attribute. */
12623|     19|            if (PyDict_SetItem(dict, p->name_strobj, Py_None) < 0)
  ------------------
  |  |  616|     19|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12623:17): [True: 0, False: 19]
  ------------------
12624|      0|                return -1;
12625|     19|        }
12626|  2.19k|        else {
12627|  2.19k|            descr = PyDescr_NewWrapper(type, p, *ptr);
12628|  2.19k|            if (descr == NULL)
  ------------------
  |  Branch (12628:17): [True: 0, False: 2.19k]
  ------------------
12629|      0|                return -1;
12630|  2.19k|            if (PyDict_SetItem(dict, p->name_strobj, descr) < 0) {
  ------------------
  |  Branch (12630:17): [True: 0, False: 2.19k]
  ------------------
12631|      0|                Py_DECREF(descr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12632|      0|                return -1;
12633|      0|            }
12634|  2.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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12635|  2.19k|        }
12636|  2.21k|    }
12637|  1.32k|    return 0;
12638|  1.32k|}
typeobject.c:slot_inherited:
12544|  2.24k|{
12545|  2.24k|    void **slot_base = slotptr(type->tp_base, slotdef->offset);
12546|  2.24k|    if (slot_base == NULL || *slot != *slot_base) {
  ------------------
  |  Branch (12546:9): [True: 764, False: 1.48k]
  |  Branch (12546:30): [True: 1.16k, False: 320]
  ------------------
12547|  1.92k|        return 0;
12548|  1.92k|    }
12549|       |
12550|       |    /* Some slots are inherited in pairs. */
12551|    320|    if (slot == (void *)&type->tp_hash) {
  ------------------
  |  Branch (12551:9): [True: 2, False: 318]
  ------------------
12552|      2|        return (type->tp_richcompare == type->tp_base->tp_richcompare);
12553|      2|    }
12554|    318|    else if (slot == (void *)&type->tp_richcompare) {
  ------------------
  |  Branch (12554:14): [True: 0, False: 318]
  ------------------
12555|      0|        return (type->tp_hash == type->tp_base->tp_hash);
12556|      0|    }
12557|       |
12558|       |    /* It must be inherited (see type_ready_inherit()). */
12559|    318|    return 1;
12560|    320|}
typeobject.c:type_add_methods:
 8664|  1.32k|{
 8665|  1.32k|    PyMethodDef *meth = type->tp_methods;
 8666|  1.32k|    if (meth == NULL) {
  ------------------
  |  Branch (8666:9): [True: 1.00k, False: 322]
  ------------------
 8667|  1.00k|        return 0;
 8668|  1.00k|    }
 8669|       |
 8670|  2.12k|    for (; meth->ml_name != NULL; meth++) {
  ------------------
  |  Branch (8670:12): [True: 1.80k, False: 322]
  ------------------
 8671|  1.80k|        if (type_add_method(type, meth) < 0) {
  ------------------
  |  Branch (8671:13): [True: 0, False: 1.80k]
  ------------------
 8672|      0|            return -1;
 8673|      0|        }
 8674|  1.80k|    }
 8675|    322|    return 0;
 8676|    322|}
typeobject.c:type_add_members:
 8681|  1.32k|{
 8682|  1.32k|    PyMemberDef *memb = type->tp_members;
 8683|  1.32k|    if (memb == NULL) {
  ------------------
  |  Branch (8683:9): [True: 348, False: 980]
  ------------------
 8684|    348|        return 0;
 8685|    348|    }
 8686|       |
 8687|    980|    PyObject *dict = lookup_tp_dict(type);
 8688|  1.69k|    for (; memb->name != NULL; memb++) {
  ------------------
  |  Branch (8688:12): [True: 711, False: 980]
  ------------------
 8689|    711|        PyObject *descr = PyDescr_NewMember(type, memb);
 8690|    711|        if (descr == NULL)
  ------------------
  |  Branch (8690:13): [True: 0, False: 711]
  ------------------
 8691|      0|            return -1;
 8692|       |
 8693|    711|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    711|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8693:13): [True: 0, False: 711]
  ------------------
 8694|      0|            Py_DECREF(descr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8695|      0|            return -1;
 8696|      0|        }
 8697|    711|        Py_DECREF(descr);
  ------------------
  |  |  430|    711|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    711|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    711|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8698|    711|    }
 8699|    980|    return 0;
 8700|    980|}
typeobject.c:type_add_getset:
 8705|  1.32k|{
 8706|  1.32k|    PyGetSetDef *gsp = type->tp_getset;
 8707|  1.32k|    if (gsp == NULL) {
  ------------------
  |  Branch (8707:9): [True: 1.19k, False: 134]
  ------------------
 8708|  1.19k|        return 0;
 8709|  1.19k|    }
 8710|       |
 8711|    134|    PyObject *dict = lookup_tp_dict(type);
 8712|    609|    for (; gsp->name != NULL; gsp++) {
  ------------------
  |  Branch (8712:12): [True: 475, False: 134]
  ------------------
 8713|    475|        PyObject *descr = PyDescr_NewGetSet(type, gsp);
 8714|    475|        if (descr == NULL) {
  ------------------
  |  Branch (8714:13): [True: 0, False: 475]
  ------------------
 8715|      0|            return -1;
 8716|      0|        }
 8717|       |
 8718|    475|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    475|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8718:13): [True: 0, False: 475]
  ------------------
 8719|      0|            Py_DECREF(descr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8720|      0|            return -1;
 8721|      0|        }
 8722|    475|        Py_DECREF(descr);
  ------------------
  |  |  430|    475|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    475|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    475|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8723|    475|    }
 8724|    134|    return 0;
 8725|    134|}
typeobject.c:type_dict_set_doc:
 9148|  1.32k|{
 9149|  1.32k|    PyObject *dict = lookup_tp_dict(type);
 9150|  1.32k|    int r = PyDict_Contains(dict, &_Py_ID(__doc__));
  ------------------
  |  |  951|  1.32k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.32k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.32k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9151|  1.32k|    if (r < 0) {
  ------------------
  |  Branch (9151:9): [True: 0, False: 1.32k]
  ------------------
 9152|      0|        return -1;
 9153|      0|    }
 9154|  1.32k|    if (r > 0) {
  ------------------
  |  Branch (9154:9): [True: 160, False: 1.16k]
  ------------------
 9155|    160|        return 0;
 9156|    160|    }
 9157|       |
 9158|  1.16k|    if (type->tp_doc != NULL) {
  ------------------
  |  Branch (9158:9): [True: 371, False: 797]
  ------------------
 9159|    371|        const char *doc_str;
 9160|    371|        doc_str = _PyType_DocWithoutSignature(type->tp_name, type->tp_doc);
 9161|    371|        PyObject *doc = PyUnicode_FromString(doc_str);
 9162|    371|        if (doc == NULL) {
  ------------------
  |  Branch (9162:13): [True: 0, False: 371]
  ------------------
 9163|      0|            return -1;
 9164|      0|        }
 9165|       |
 9166|    371|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), doc) < 0) {
  ------------------
  |  |  951|    371|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    371|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    371|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9166:13): [True: 0, False: 371]
  ------------------
 9167|      0|            Py_DECREF(doc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9168|      0|            return -1;
 9169|      0|        }
 9170|    371|        Py_DECREF(doc);
  ------------------
  |  |  430|    371|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    371|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    371|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9171|    371|    }
 9172|    797|    else {
 9173|    797|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  951|    797|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    797|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    797|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  616|    797|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9173:13): [True: 0, False: 797]
  ------------------
 9174|      0|            return -1;
 9175|      0|        }
 9176|    797|    }
 9177|  1.16k|    return 0;
 9178|  1.16k|}
typeobject.c:type_ready_inherit:
 9322|  1.32k|{
 9323|  1.32k|    ASSERT_TYPE_LOCK_HELD();
 9324|       |
 9325|       |    /* Inherit special flags from dominant base */
 9326|  1.32k|    PyTypeObject *base = type->tp_base;
 9327|  1.32k|    if (base != NULL) {
  ------------------
  |  Branch (9327:9): [True: 1.32k, False: 2]
  ------------------
 9328|  1.32k|        inherit_special(type, base);
 9329|  1.32k|    }
 9330|       |
 9331|       |    // Inherit slots
 9332|  1.32k|    PyObject *mro = lookup_tp_mro(type);
 9333|  1.32k|    assert(mro != NULL);
  ------------------
  |  Branch (9333:5): [True: 1.32k, False: 0]
  ------------------
 9334|  1.32k|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  1.32k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9335|  4.49k|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (9335:28): [True: 3.16k, False: 1.32k]
  ------------------
 9336|  3.16k|        PyObject *b = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  3.16k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.16k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9336:23): [True: 3.16k, False: 0]
  ------------------
 9337|  3.16k|        if (PyType_Check(b)) {
  ------------------
  |  |  766|  3.16k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 3.16k, False: 0]
  |  |  ------------------
  ------------------
 9338|  3.16k|            if (inherit_slots(type, (PyTypeObject *)b) < 0) {
  ------------------
  |  Branch (9338:17): [True: 0, False: 3.16k]
  ------------------
 9339|      0|                return -1;
 9340|      0|            }
 9341|  3.16k|            inherit_patma_flags(type, (PyTypeObject *)b);
 9342|  3.16k|        }
 9343|  3.16k|    }
 9344|       |
 9345|  1.32k|    if (base != NULL) {
  ------------------
  |  Branch (9345:9): [True: 1.32k, False: 2]
  ------------------
 9346|  1.32k|        type_ready_inherit_as_structs(type, base);
 9347|  1.32k|    }
 9348|       |
 9349|       |    /* Sanity check for tp_free. */
 9350|  1.32k|    if (_PyType_IS_GC(type) && (type->tp_flags & Py_TPFLAGS_BASETYPE) &&
  ------------------
  |  |  506|  1.25k|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (9350:9): [True: 1.25k, False: 71]
  |  Branch (9350:32): [True: 1.03k, False: 223]
  ------------------
 9351|  1.03k|        (type->tp_free == NULL || type->tp_free == PyObject_Free))
  ------------------
  |  Branch (9351:10): [True: 0, False: 1.03k]
  |  Branch (9351:35): [True: 0, False: 1.03k]
  ------------------
 9352|      0|    {
 9353|       |        /* This base class needs to call tp_free, but doesn't have
 9354|       |         * one, or its tp_free is for non-gc'ed objects.
 9355|       |         */
 9356|      0|        PyErr_Format(PyExc_TypeError, "type '%.100s' participates in "
 9357|      0|                     "gc and is a base type but has inappropriate "
 9358|      0|                     "tp_free slot",
 9359|      0|                     type->tp_name);
 9360|      0|        return -1;
 9361|      0|    }
 9362|       |
 9363|  1.32k|    return 0;
 9364|  1.32k|}
typeobject.c:inherit_special:
 8730|  1.32k|{
 8731|       |    /* Copying tp_traverse and tp_clear is connected to the GC flags */
 8732|  1.32k|    if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|  1.32k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8732:9): [True: 83, False: 1.24k]
  ------------------
 8733|     83|        (base->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|     83|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8733:9): [True: 14, False: 69]
  ------------------
 8734|     14|        (!type->tp_traverse && !type->tp_clear)) {
  ------------------
  |  Branch (8734:10): [True: 14, False: 0]
  |  Branch (8734:32): [True: 14, False: 0]
  ------------------
 8735|     14|        type_add_flags(type, Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|     14|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8736|     14|        if (type->tp_traverse == NULL)
  ------------------
  |  Branch (8736:13): [True: 14, False: 0]
  ------------------
 8737|     14|            type->tp_traverse = base->tp_traverse;
 8738|     14|        if (type->tp_clear == NULL)
  ------------------
  |  Branch (8738:13): [True: 14, False: 0]
  ------------------
 8739|     14|            type->tp_clear = base->tp_clear;
 8740|     14|    }
 8741|  1.32k|    type_add_flags(type, base->tp_flags & Py_TPFLAGS_PREHEADER);
  ------------------
  |  |  487|  1.32k|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  1.32k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  1.32k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
 8742|       |
 8743|  1.32k|    if (type->tp_basicsize == 0)
  ------------------
  |  Branch (8743:9): [True: 18, False: 1.30k]
  ------------------
 8744|     18|        type->tp_basicsize = base->tp_basicsize;
 8745|       |
 8746|       |    /* Copy other non-function slots */
 8747|       |
 8748|  1.32k|#define COPYVAL(SLOT) \
 8749|  1.32k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
 8750|       |
 8751|  1.32k|    COPYVAL(tp_itemsize);
  ------------------
  |  | 8749|  1.32k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8749:9): [True: 1.24k, False: 77]
  |  |  ------------------
  ------------------
 8752|  1.32k|    COPYVAL(tp_weaklistoffset);
  ------------------
  |  | 8749|  1.32k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8749:9): [True: 1.10k, False: 219]
  |  |  ------------------
  ------------------
 8753|  1.32k|    COPYVAL(tp_dictoffset);
  ------------------
  |  | 8749|  1.32k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8749:9): [True: 1.02k, False: 305]
  |  |  ------------------
  ------------------
 8754|       |
 8755|  1.32k|#undef COPYVAL
 8756|       |
 8757|       |    /* Setup fast subclass flags */
 8758|  1.32k|    PyObject *mro = lookup_tp_mro(base);
 8759|  1.32k|    unsigned long flags = 0;
 8760|  1.32k|    if (is_subtype_with_mro(mro, base, (PyTypeObject*)PyExc_BaseException)) {
  ------------------
  |  Branch (8760:9): [True: 158, False: 1.16k]
  ------------------
 8761|    158|        flags |= Py_TPFLAGS_BASE_EXC_SUBCLASS;
  ------------------
  |  |  557|    158|#define Py_TPFLAGS_BASE_EXC_SUBCLASS    (1UL << 30)
  ------------------
 8762|    158|    }
 8763|  1.16k|    else if (is_subtype_with_mro(mro, base, &PyType_Type)) {
  ------------------
  |  Branch (8763:14): [True: 5, False: 1.16k]
  ------------------
 8764|      5|        flags |= Py_TPFLAGS_TYPE_SUBCLASS;
  ------------------
  |  |  558|      5|#define Py_TPFLAGS_TYPE_SUBCLASS        (1UL << 31)
  ------------------
 8765|      5|    }
 8766|  1.16k|    else if (is_subtype_with_mro(mro, base, &PyLong_Type)) {
  ------------------
  |  Branch (8766:14): [True: 7, False: 1.15k]
  ------------------
 8767|      7|        flags |= Py_TPFLAGS_LONG_SUBCLASS;
  ------------------
  |  |  551|      7|#define Py_TPFLAGS_LONG_SUBCLASS        (1UL << 24)
  ------------------
 8768|      7|    }
 8769|  1.15k|    else if (is_subtype_with_mro(mro, base, &PyBytes_Type)) {
  ------------------
  |  Branch (8769:14): [True: 0, False: 1.15k]
  ------------------
 8770|      0|        flags |= Py_TPFLAGS_BYTES_SUBCLASS;
  ------------------
  |  |  554|      0|#define Py_TPFLAGS_BYTES_SUBCLASS       (1UL << 27)
  ------------------
 8771|      0|    }
 8772|  1.15k|    else if (is_subtype_with_mro(mro, base, &PyUnicode_Type)) {
  ------------------
  |  Branch (8772:14): [True: 3, False: 1.15k]
  ------------------
 8773|      3|        flags |= Py_TPFLAGS_UNICODE_SUBCLASS;
  ------------------
  |  |  555|      3|#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
  ------------------
 8774|      3|    }
 8775|  1.15k|    else if (is_subtype_with_mro(mro, base, &PyTuple_Type)) {
  ------------------
  |  Branch (8775:14): [True: 38, False: 1.11k]
  ------------------
 8776|     38|        flags |= Py_TPFLAGS_TUPLE_SUBCLASS;
  ------------------
  |  |  553|     38|#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
  ------------------
 8777|     38|    }
 8778|  1.11k|    else if (is_subtype_with_mro(mro, base, &PyList_Type)) {
  ------------------
  |  Branch (8778:14): [True: 2, False: 1.11k]
  ------------------
 8779|      2|        flags |= Py_TPFLAGS_LIST_SUBCLASS;
  ------------------
  |  |  552|      2|#define Py_TPFLAGS_LIST_SUBCLASS        (1UL << 25)
  ------------------
 8780|      2|    }
 8781|  1.11k|    else if (is_subtype_with_mro(mro, base, &PyDict_Type)) {
  ------------------
  |  Branch (8781:14): [True: 6, False: 1.10k]
  ------------------
 8782|      6|        flags |= Py_TPFLAGS_DICT_SUBCLASS;
  ------------------
  |  |  556|      6|#define Py_TPFLAGS_DICT_SUBCLASS        (1UL << 29)
  ------------------
 8783|      6|    }
 8784|       |
 8785|       |    /* Setup some inheritable flags */
 8786|  1.32k|    if (PyType_HasFeature(base, _Py_TPFLAGS_MATCH_SELF)) {
  ------------------
  |  |  545|  1.32k|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
  |  Branch (8786:9): [True: 56, False: 1.27k]
  ------------------
 8787|     56|        flags |= _Py_TPFLAGS_MATCH_SELF;
  ------------------
  |  |  545|     56|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
 8788|     56|    }
 8789|  1.32k|    if (PyType_HasFeature(base, Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|  1.32k|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (8789:9): [True: 5, False: 1.32k]
  ------------------
 8790|      5|        flags |= Py_TPFLAGS_ITEMS_AT_END;
  ------------------
  |  |  548|      5|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
 8791|      5|    }
 8792|  1.32k|    type_add_flags(type, flags);
 8793|  1.32k|}
typeobject.c:inherit_slots:
 8823|  3.16k|{
 8824|  3.16k|    PyTypeObject *basebase;
 8825|       |
 8826|  3.16k|#undef SLOTDEFINED
 8827|  3.16k|#undef COPYSLOT
 8828|  3.16k|#undef COPYNUM
 8829|  3.16k|#undef COPYSEQ
 8830|  3.16k|#undef COPYMAP
 8831|  3.16k|#undef COPYBUF
 8832|       |
 8833|  3.16k|#define SLOTDEFINED(SLOT) \
 8834|  3.16k|    (base->SLOT != 0 && \
 8835|  3.16k|     (basebase == NULL || base->SLOT != basebase->SLOT))
 8836|       |
 8837|  3.16k|#define COPYSLOT(SLOT) \
 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
 8839|       |
 8840|  3.16k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
 8841|  3.16k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
 8842|  3.16k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
 8843|  3.16k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
 8844|  3.16k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
 8845|       |
 8846|       |    /* This won't inherit indirect slots (from tp_as_number etc.)
 8847|       |       if type doesn't provide the space. */
 8848|       |
 8849|  3.16k|    if (type->tp_as_number != NULL && base->tp_as_number != NULL) {
  ------------------
  |  Branch (8849:9): [True: 2.41k, False: 754]
  |  Branch (8849:39): [True: 1.35k, False: 1.06k]
  ------------------
 8850|  1.35k|        basebase = base->tp_base;
 8851|  1.35k|        if (basebase->tp_as_number == NULL)
  ------------------
  |  Branch (8851:13): [True: 789, False: 563]
  ------------------
 8852|    789|            basebase = NULL;
 8853|  1.35k|        COPYNUM(nb_add);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8854|  1.35k|        COPYNUM(nb_subtract);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.30k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 16, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.30k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 9]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 8, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.30k, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8855|  1.35k|        COPYNUM(nb_multiply);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8856|  1.35k|        COPYNUM(nb_remainder);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.33k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 13, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.33k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 10, False: 3]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.33k, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8857|  1.35k|        COPYNUM(nb_divmod);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8858|  1.35k|        COPYNUM(nb_power);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8859|  1.35k|        COPYNUM(nb_negative);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8860|  1.35k|        COPYNUM(nb_positive);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8861|  1.35k|        COPYNUM(nb_absolute);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8862|  1.35k|        COPYNUM(nb_bool);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8863|  1.35k|        COPYNUM(nb_invert);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 5, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8864|  1.35k|        COPYNUM(nb_lshift);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8865|  1.35k|        COPYNUM(nb_rshift);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8866|  1.35k|        COPYNUM(nb_and);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.30k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 13, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.30k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 9]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 9, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.30k, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8867|  1.35k|        COPYNUM(nb_xor);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.30k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 13, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.30k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 9]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 9, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.30k, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8868|  1.35k|        COPYNUM(nb_or);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.30k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 25, False: 1.27k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.30k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 14, False: 11]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 9, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.30k, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8869|  1.35k|        COPYNUM(nb_int);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8870|  1.35k|        COPYNUM(nb_float);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8871|  1.35k|        COPYNUM(nb_inplace_add);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 1, False: 1.34k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8872|  1.35k|        COPYNUM(nb_inplace_subtract);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8873|  1.35k|        COPYNUM(nb_inplace_multiply);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8874|  1.35k|        COPYNUM(nb_inplace_remainder);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8875|  1.35k|        COPYNUM(nb_inplace_power);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8876|  1.35k|        COPYNUM(nb_inplace_lshift);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8877|  1.35k|        COPYNUM(nb_inplace_rshift);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8878|  1.35k|        COPYNUM(nb_inplace_and);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8879|  1.35k|        COPYNUM(nb_inplace_xor);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8880|  1.35k|        COPYNUM(nb_inplace_or);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 4, False: 1.34k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8881|  1.35k|        COPYNUM(nb_true_divide);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8882|  1.35k|        COPYNUM(nb_floor_divide);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8883|  1.35k|        COPYNUM(nb_inplace_true_divide);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8884|  1.35k|        COPYNUM(nb_inplace_floor_divide);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8885|  1.35k|        COPYNUM(nb_index);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8886|  1.35k|        COPYNUM(nb_matrix_multiply);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8887|  1.35k|        COPYNUM(nb_inplace_matrix_multiply);
  ------------------
  |  | 8841|  1.35k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8888|  1.35k|    }
 8889|       |
 8890|  3.16k|    if (type->tp_as_async != NULL && base->tp_as_async != NULL) {
  ------------------
  |  Branch (8890:9): [True: 2.36k, False: 808]
  |  Branch (8890:38): [True: 1.32k, False: 1.03k]
  ------------------
 8891|  1.32k|        basebase = base->tp_base;
 8892|  1.32k|        if (basebase->tp_as_async == NULL)
  ------------------
  |  Branch (8892:13): [True: 769, False: 558]
  ------------------
 8893|    769|            basebase = NULL;
 8894|  1.32k|        COPYASYNC(am_await);
  ------------------
  |  | 8840|  1.32k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8895|  1.32k|        COPYASYNC(am_aiter);
  ------------------
  |  | 8840|  1.32k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 6, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 4, False: 2]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8896|  1.32k|        COPYASYNC(am_anext);
  ------------------
  |  | 8840|  1.32k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.32k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8897|  1.32k|    }
 8898|       |
 8899|  3.16k|    if (type->tp_as_sequence != NULL && base->tp_as_sequence != NULL) {
  ------------------
  |  Branch (8899:9): [True: 2.39k, False: 776]
  |  Branch (8899:41): [True: 1.35k, False: 1.03k]
  ------------------
 8900|  1.35k|        basebase = base->tp_base;
 8901|  1.35k|        if (basebase->tp_as_sequence == NULL)
  ------------------
  |  Branch (8901:13): [True: 798, False: 560]
  ------------------
 8902|    798|            basebase = NULL;
 8903|  1.35k|        COPYSEQ(sq_length);
  ------------------
  |  | 8842|  1.35k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.26k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 126, False: 1.13k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.26k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 57, False: 69]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 7, False: 62]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.26k, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8904|  1.35k|        COPYSEQ(sq_concat);
  ------------------
  |  | 8842|  1.35k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 29, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 27, False: 2]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8905|  1.35k|        COPYSEQ(sq_repeat);
  ------------------
  |  | 8842|  1.35k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 29, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 27, False: 2]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8906|  1.35k|        COPYSEQ(sq_item);
  ------------------
  |  | 8842|  1.35k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.28k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 48, False: 1.24k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.28k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 25, False: 23]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 16, False: 7]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.28k, False: 70]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8907|  1.35k|        COPYSEQ(sq_ass_item);
  ------------------
  |  | 8842|  1.35k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 9, False: 1.31k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 2, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 7, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.32k, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8908|  1.35k|        COPYSEQ(sq_contains);
  ------------------
  |  | 8842|  1.35k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.23k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 89, False: 1.14k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.23k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 34, False: 55]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 32, False: 23]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.23k, False: 123]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8909|  1.35k|        COPYSEQ(sq_inplace_concat);
  ------------------
  |  | 8842|  1.35k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8910|  1.35k|        COPYSEQ(sq_inplace_repeat);
  ------------------
  |  | 8842|  1.35k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.35k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.35k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.35k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8911|  1.35k|    }
 8912|       |
 8913|  3.16k|    if (type->tp_as_mapping != NULL && base->tp_as_mapping != NULL) {
  ------------------
  |  Branch (8913:9): [True: 2.39k, False: 772]
  |  Branch (8913:40): [True: 1.36k, False: 1.03k]
  ------------------
 8914|  1.36k|        basebase = base->tp_base;
 8915|  1.36k|        if (basebase->tp_as_mapping == NULL)
  ------------------
  |  Branch (8915:13): [True: 802, False: 560]
  ------------------
 8916|    802|            basebase = NULL;
 8917|  1.36k|        COPYMAP(mp_length);
  ------------------
  |  | 8843|  1.36k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.36k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.26k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 132, False: 1.13k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.26k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 63, False: 69]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 7, False: 62]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.26k, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8918|  1.36k|        COPYMAP(mp_subscript);
  ------------------
  |  | 8843|  1.36k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.36k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.29k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 58, False: 1.23k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.29k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 35, False: 23]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 14, False: 9]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.29k, False: 68]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8919|  1.36k|        COPYMAP(mp_ass_subscript);
  ------------------
  |  | 8843|  1.36k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.36k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 13, False: 1.31k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 6, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 7, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.32k, False: 38]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8920|  1.36k|    }
 8921|       |
 8922|  3.16k|    if (type->tp_as_buffer != NULL && base->tp_as_buffer != NULL) {
  ------------------
  |  Branch (8922:9): [True: 2.36k, False: 808]
  |  Branch (8922:39): [True: 1.32k, False: 1.03k]
  ------------------
 8923|  1.32k|        basebase = base->tp_base;
 8924|  1.32k|        if (basebase->tp_as_buffer == NULL)
  ------------------
  |  Branch (8924:13): [True: 769, False: 558]
  ------------------
 8925|    769|            basebase = NULL;
 8926|  1.32k|        COPYBUF(bf_getbuffer);
  ------------------
  |  | 8844|  1.32k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8927|  1.32k|        COPYBUF(bf_releasebuffer);
  ------------------
  |  | 8844|  1.32k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8928|  1.32k|    }
 8929|       |
 8930|  3.16k|    basebase = base->tp_base;
 8931|       |
 8932|  3.16k|    COPYSLOT(tp_dealloc);
  ------------------
  |  | 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|     34|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 34, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|     34|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 16, False: 18]
  |  |  |  |  |  Branch (8835:27): [True: 12, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 34, False: 3.13k]
  |  |  ------------------
  ------------------
 8933|  3.16k|    if (type->tp_getattr == NULL && type->tp_getattro == NULL) {
  ------------------
  |  Branch (8933:9): [True: 3.16k, False: 0]
  |  Branch (8933:37): [True: 1.09k, False: 2.07k]
  ------------------
 8934|  1.09k|        type->tp_getattr = base->tp_getattr;
 8935|  1.09k|        type->tp_getattro = base->tp_getattro;
 8936|  1.09k|    }
 8937|  3.16k|    if (type->tp_setattr == NULL && type->tp_setattro == NULL) {
  ------------------
  |  Branch (8937:9): [True: 3.16k, False: 0]
  |  Branch (8937:37): [True: 1.30k, False: 1.86k]
  ------------------
 8938|  1.30k|        type->tp_setattr = base->tp_setattr;
 8939|  1.30k|        type->tp_setattro = base->tp_setattro;
 8940|  1.30k|    }
 8941|  3.16k|    COPYSLOT(tp_repr);
  ------------------
  |  | 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  2.59k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 2.59k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|  2.59k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 899, False: 1.69k]
  |  |  |  |  |  Branch (8835:27): [True: 204, False: 1.49k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 2.59k, False: 572]
  |  |  ------------------
  ------------------
 8942|       |    /* tp_hash see tp_richcompare */
 8943|  3.16k|    {
 8944|       |        /* Always inherit tp_vectorcall_offset to support PyVectorcall_Call().
 8945|       |         * If Py_TPFLAGS_HAVE_VECTORCALL is not inherited, then vectorcall
 8946|       |         * won't be used automatically. */
 8947|  3.16k|        COPYSLOT(tp_vectorcall_offset);
  ------------------
  |  | 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  3.13k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 15, False: 3.12k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  3.13k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 15]
  |  |  |  |  |  Branch (8835:27): [True: 13, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 3.13k, False: 33]
  |  |  ------------------
  ------------------
 8948|       |
 8949|       |        /* Inherit Py_TPFLAGS_HAVE_VECTORCALL if tp_call is not overridden */
 8950|  3.16k|        if (!type->tp_call &&
  ------------------
  |  Branch (8950:13): [True: 3.11k, False: 51]
  ------------------
 8951|  3.11k|            _PyType_HasFeature(base, Py_TPFLAGS_HAVE_VECTORCALL))
  ------------------
  |  |  510|  3.11k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (8951:13): [True: 15, False: 3.10k]
  ------------------
 8952|     15|        {
 8953|     15|            type_add_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|     15|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
 8954|     15|        }
 8955|  3.16k|        COPYSLOT(tp_call);
  ------------------
  |  | 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  3.11k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 17, False: 3.10k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  3.11k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 17]
  |  |  |  |  |  Branch (8835:27): [True: 15, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 3.11k, False: 51]
  |  |  ------------------
  ------------------
 8956|  3.16k|    }
 8957|  3.16k|    COPYSLOT(tp_str);
  ------------------
  |  | 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  2.81k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 2.81k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|  2.81k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 1.13k, False: 1.68k]
  |  |  |  |  |  Branch (8835:27): [True: 146, False: 1.53k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 2.81k, False: 352]
  |  |  ------------------
  ------------------
 8958|  3.16k|    {
 8959|       |        /* Copy comparison-related slots only when
 8960|       |           not overriding them anywhere */
 8961|  3.16k|        if (type->tp_richcompare == NULL &&
  ------------------
  |  Branch (8961:13): [True: 1.27k, False: 1.89k]
  ------------------
 8962|  1.27k|            type->tp_hash == NULL)
  ------------------
  |  Branch (8962:13): [True: 1.26k, False: 10]
  ------------------
 8963|  1.26k|        {
 8964|  1.26k|            int r = overrides_hash(type);
 8965|  1.26k|            if (r < 0) {
  ------------------
  |  Branch (8965:17): [True: 0, False: 1.26k]
  ------------------
 8966|      0|                return -1;
 8967|      0|            }
 8968|  1.26k|            if (!r) {
  ------------------
  |  Branch (8968:17): [True: 1.20k, False: 55]
  ------------------
 8969|  1.20k|                type->tp_richcompare = base->tp_richcompare;
 8970|  1.20k|                type->tp_hash = base->tp_hash;
 8971|  1.20k|            }
 8972|  1.26k|        }
 8973|  3.16k|    }
 8974|  3.16k|    {
 8975|  3.16k|        COPYSLOT(tp_iter);
  ------------------
  |  | 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  2.51k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 297, False: 2.21k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  2.51k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 297]
  |  |  |  |  |  Branch (8835:27): [True: 238, False: 59]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 2.51k, False: 657]
  |  |  ------------------
  ------------------
 8976|  3.16k|        COPYSLOT(tp_iternext);
  ------------------
  |  | 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  2.16k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 1.06k, False: 1.10k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  2.16k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 1.06k]
  |  |  |  |  |  Branch (8835:27): [True: 650, False: 410]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 2.16k, False: 1.00k]
  |  |  ------------------
  ------------------
 8977|  3.16k|    }
 8978|  3.16k|    {
 8979|  3.16k|        COPYSLOT(tp_descr_get);
  ------------------
  |  | 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  3.13k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 7, False: 3.12k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  3.13k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 7]
  |  |  |  |  |  Branch (8835:27): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 3.13k, False: 34]
  |  |  ------------------
  ------------------
 8980|       |        /* Inherit Py_TPFLAGS_METHOD_DESCRIPTOR if tp_descr_get was inherited,
 8981|       |         * but only for extension types */
 8982|  3.16k|        if (base->tp_descr_get &&
  ------------------
  |  Branch (8982:13): [True: 7, False: 3.16k]
  ------------------
 8983|      7|            type->tp_descr_get == base->tp_descr_get &&
  ------------------
  |  Branch (8983:13): [True: 7, False: 0]
  ------------------
 8984|      7|            _PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE) &&
  ------------------
  |  |  500|      7|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (8984:13): [True: 0, False: 7]
  ------------------
 8985|      0|            _PyType_HasFeature(base, Py_TPFLAGS_METHOD_DESCRIPTOR))
  ------------------
  |  |  534|      0|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (8985:13): [True: 0, False: 0]
  ------------------
 8986|      0|        {
 8987|      0|            type_add_flags(type, Py_TPFLAGS_METHOD_DESCRIPTOR);
  ------------------
  |  |  534|      0|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
 8988|      0|        }
 8989|  3.16k|        COPYSLOT(tp_descr_set);
  ------------------
  |  | 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  3.15k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 3, False: 3.15k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  3.15k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 3]
  |  |  |  |  |  Branch (8835:27): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 3.15k, False: 10]
  |  |  ------------------
  ------------------
 8990|  3.16k|        COPYSLOT(tp_dictoffset);
  ------------------
  |  | 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|    621|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 0, False: 621]
  |  |  |  |  ------------------
  |  |  |  | 8835|    621|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 621, False: 2.54k]
  |  |  ------------------
  ------------------
 8991|  3.16k|        COPYSLOT(tp_init);
  ------------------
  |  | 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.66k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 1.66k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.66k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 581, False: 1.08k]
  |  |  |  |  |  Branch (8835:27): [True: 554, False: 533]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.66k, False: 1.50k]
  |  |  ------------------
  ------------------
 8992|  3.16k|        COPYSLOT(tp_alloc);
  ------------------
  |  | 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|    911|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 911, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|    911|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 450, False: 461]
  |  |  |  |  |  Branch (8835:27): [True: 0, False: 461]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 911, False: 2.25k]
  |  |  ------------------
  ------------------
 8993|  3.16k|        COPYSLOT(tp_is_gc);
  ------------------
  |  | 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  3.16k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 7, False: 3.15k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  3.16k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 7]
  |  |  |  |  |  Branch (8835:27): [True: 5, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 3.16k, False: 7]
  |  |  ------------------
  ------------------
 8994|  3.16k|        COPYSLOT(tp_finalize);
  ------------------
  |  | 8838|  3.16k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  3.12k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 48, False: 3.08k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  3.12k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 48]
  |  |  |  |  |  Branch (8835:27): [True: 26, False: 22]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 3.12k, False: 40]
  |  |  ------------------
  ------------------
 8995|  3.16k|        if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) ==
  ------------------
  |  |  524|  3.16k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8995:13): [True: 1.90k, False: 1.26k]
  ------------------
 8996|  3.16k|            (base->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|  3.16k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8997|       |            /* They agree about gc. */
 8998|  1.90k|            COPYSLOT(tp_free);
  ------------------
  |  | 8838|  1.90k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|    518|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 518, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|    518|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 53, False: 465]
  |  |  |  |  |  Branch (8835:27): [True: 207, False: 258]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 518, False: 1.38k]
  |  |  ------------------
  ------------------
 8999|  1.90k|        }
 9000|  1.26k|        else if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|  1.26k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9000:18): [True: 1.26k, False: 0]
  ------------------
 9001|  1.26k|                 type->tp_free == NULL &&
  ------------------
  |  Branch (9001:18): [True: 154, False: 1.11k]
  ------------------
 9002|    154|                 base->tp_free == PyObject_Free) {
  ------------------
  |  Branch (9002:18): [True: 154, False: 0]
  ------------------
 9003|       |            /* A bit of magic to plug in the correct default
 9004|       |             * tp_free function when a derived class adds gc,
 9005|       |             * didn't define tp_free, and the base uses the
 9006|       |             * default non-gc tp_free.
 9007|       |             */
 9008|    154|            type->tp_free = PyObject_GC_Del;
 9009|    154|        }
 9010|       |        /* else they didn't agree about gc, and there isn't something
 9011|       |         * obvious to be done -- the type is on its own.
 9012|       |         */
 9013|  3.16k|    }
 9014|  3.16k|    return 0;
 9015|  3.16k|}
typeobject.c:overrides_hash:
 8797|  1.26k|{
 8798|  1.26k|    PyObject *dict = lookup_tp_dict(type);
 8799|       |
 8800|  1.26k|    assert(dict != NULL);
  ------------------
  |  Branch (8800:5): [True: 1.26k, False: 0]
  ------------------
 8801|       |#ifdef Py_GIL_DISABLED
 8802|       |    // Ignore non-str keys, consistent with find_slot_name_in_mro().
 8803|       |    _PyStackRef ref;
 8804|       |    int r = _PyDict_GetItemStackRef_ExactUnicode(
 8805|       |        (PyDictObject *)dict, &_Py_ID(__eq__), &ref);
 8806|       |    PyStackRef_XCLOSE(ref);
 8807|       |    if (r == 0) {
 8808|       |        r = _PyDict_GetItemStackRef_ExactUnicode(
 8809|       |            (PyDictObject *)dict, &_Py_ID(__hash__), &ref);
 8810|       |        PyStackRef_XCLOSE(ref);
 8811|       |    }
 8812|       |#else
 8813|  1.26k|    int r = PyDict_Contains(dict, &_Py_ID(__eq__));
  ------------------
  |  |  951|  1.26k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.26k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.26k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8814|  1.26k|    if (r == 0) {
  ------------------
  |  Branch (8814:9): [True: 1.21k, False: 52]
  ------------------
 8815|  1.21k|        r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  951|  1.21k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.21k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.21k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8816|  1.21k|    }
 8817|  1.26k|#endif
 8818|  1.26k|    return r;
 8819|  1.26k|}
typeobject.c:inherit_patma_flags:
 9314|  3.16k|inherit_patma_flags(PyTypeObject *type, PyTypeObject *base) {
 9315|  3.16k|    if ((type->tp_flags & COLLECTION_FLAGS) == 0) {
  ------------------
  |  | 9020|  3.16k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  3.16k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  3.16k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  |  Branch (9315:9): [True: 3.02k, False: 146]
  ------------------
 9316|  3.02k|        type_add_flags(type, base->tp_flags & COLLECTION_FLAGS);
  ------------------
  |  | 9020|  3.02k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  3.02k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  3.02k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
 9317|  3.02k|    }
 9318|  3.16k|}
typeobject.c:type_ready_inherit_as_structs:
 9295|  1.32k|{
 9296|  1.32k|    if (type->tp_as_async == NULL) {
  ------------------
  |  Branch (9296:9): [True: 400, False: 926]
  ------------------
 9297|    400|        type->tp_as_async = base->tp_as_async;
 9298|    400|    }
 9299|  1.32k|    if (type->tp_as_number == NULL) {
  ------------------
  |  Branch (9299:9): [True: 352, False: 974]
  ------------------
 9300|    352|        type->tp_as_number = base->tp_as_number;
 9301|    352|    }
 9302|  1.32k|    if (type->tp_as_sequence == NULL) {
  ------------------
  |  Branch (9302:9): [True: 368, False: 958]
  ------------------
 9303|    368|        type->tp_as_sequence = base->tp_as_sequence;
 9304|    368|    }
 9305|  1.32k|    if (type->tp_as_mapping == NULL) {
  ------------------
  |  Branch (9305:9): [True: 366, False: 960]
  ------------------
 9306|    366|        type->tp_as_mapping = base->tp_as_mapping;
 9307|    366|    }
 9308|  1.32k|    if (type->tp_as_buffer == NULL) {
  ------------------
  |  Branch (9308:9): [True: 400, False: 926]
  ------------------
 9309|    400|        type->tp_as_buffer = base->tp_as_buffer;
 9310|    400|    }
 9311|  1.32k|}
typeobject.c:type_ready_preheader:
 9205|  1.32k|{
 9206|  1.32k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  1.32k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9206:9): [True: 687, False: 641]
  ------------------
 9207|    687|        if (type->tp_dictoffset > 0 || type->tp_dictoffset < -1) {
  ------------------
  |  Branch (9207:13): [True: 0, False: 687]
  |  Branch (9207:40): [True: 0, False: 687]
  ------------------
 9208|      0|            PyErr_Format(PyExc_TypeError,
 9209|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9210|      0|                        "but tp_dictoffset is set",
 9211|      0|                        type->tp_name);
 9212|      0|            return -1;
 9213|      0|        }
 9214|    687|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|    687|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9214:13): [True: 0, False: 687]
  ------------------
 9215|      0|            PyErr_Format(PyExc_SystemError,
 9216|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9217|      0|                        "but not Py_TPFLAGS_HAVE_GC flag",
 9218|      0|                        type->tp_name);
 9219|      0|            return -1;
 9220|      0|        }
 9221|    687|        type->tp_dictoffset = -1;
 9222|    687|    }
 9223|  1.32k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) {
  ------------------
  |  |  477|  1.32k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
  |  Branch (9223:9): [True: 714, False: 614]
  ------------------
 9224|    714|        if (type->tp_weaklistoffset != 0 &&
  ------------------
  |  Branch (9224:13): [True: 700, False: 14]
  ------------------
 9225|    700|            type->tp_weaklistoffset != MANAGED_WEAKREF_OFFSET)
  ------------------
  |  |  911|    700|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
  |  Branch (9225:13): [True: 0, False: 700]
  ------------------
 9226|      0|        {
 9227|      0|            PyErr_Format(PyExc_TypeError,
 9228|      0|                        "type %s has the Py_TPFLAGS_MANAGED_WEAKREF flag "
 9229|      0|                        "but tp_weaklistoffset is set",
 9230|      0|                        type->tp_name);
 9231|      0|            return -1;
 9232|      0|        }
 9233|    714|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|    714|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9233:13): [True: 0, False: 714]
  ------------------
 9234|      0|            PyErr_Format(PyExc_SystemError,
 9235|      0|                        "type %s has the Py_TPFLAGS_MANAGED_WEAKREF flag "
 9236|      0|                        "but not Py_TPFLAGS_HAVE_GC flag",
 9237|      0|                        type->tp_name);
 9238|      0|            return -1;
 9239|      0|        }
 9240|    714|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  911|    714|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 9241|    714|    }
 9242|  1.32k|    return 0;
 9243|  1.32k|}
typeobject.c:type_ready_set_hash:
 9374|  1.32k|{
 9375|  1.32k|    if (type->tp_hash != NULL) {
  ------------------
  |  Branch (9375:9): [True: 1.28k, False: 44]
  ------------------
 9376|  1.28k|        return 0;
 9377|  1.28k|    }
 9378|       |
 9379|     44|    PyObject *dict = lookup_tp_dict(type);
 9380|     44|    int r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  951|     44|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     44|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     44|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9381|     44|    if (r < 0) {
  ------------------
  |  Branch (9381:9): [True: 0, False: 44]
  ------------------
 9382|      0|        return -1;
 9383|      0|    }
 9384|     44|    if (r > 0) {
  ------------------
  |  Branch (9384:9): [True: 9, False: 35]
  ------------------
 9385|      9|        return 0;
 9386|      9|    }
 9387|       |
 9388|     35|    if (PyDict_SetItem(dict, &_Py_ID(__hash__), Py_None) < 0) {
  ------------------
  |  |  951|     35|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     35|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     35|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(dict, &_Py_ID(__hash__), Py_None) < 0) {
  ------------------
  |  |  616|     35|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9388:9): [True: 0, False: 35]
  ------------------
 9389|      0|        return -1;
 9390|      0|    }
 9391|     35|    type->tp_hash = PyObject_HashNotImplemented;
 9392|     35|    return 0;
 9393|     35|}
typeobject.c:type_ready_managed_dict:
 9467|  1.32k|{
 9468|  1.32k|    if (!(type->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  1.32k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9468:9): [True: 641, False: 687]
  ------------------
 9469|    641|        return 0;
 9470|    641|    }
 9471|    687|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    687|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9471:9): [True: 0, False: 687]
  ------------------
 9472|      0|        PyErr_Format(PyExc_SystemError,
 9473|      0|                     "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9474|      0|                     "but not Py_TPFLAGS_HEAPTYPE flag",
 9475|      0|                     type->tp_name);
 9476|      0|        return -1;
 9477|      0|    }
 9478|    687|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 9479|    687|    if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9479:9): [True: 687, False: 0]
  ------------------
 9480|    687|        et->ht_cached_keys = _PyDict_NewKeysForClass(et);
 9481|    687|        if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9481:13): [True: 0, False: 687]
  ------------------
 9482|      0|            PyErr_NoMemory();
 9483|      0|            return -1;
 9484|      0|        }
 9485|    687|    }
 9486|    687|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (9486:9): [True: 680, False: 7]
  ------------------
 9487|    680|        type_add_flags(type, Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  |  472|    680|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
 9488|    680|    }
 9489|    687|    return 0;
 9490|    687|}
typeobject.c:type_ready_post_checks:
 9494|  1.32k|{
 9495|       |    // bpo-44263: tp_traverse is required if Py_TPFLAGS_HAVE_GC is set.
 9496|       |    // Note: tp_clear is optional.
 9497|  1.32k|    if (type->tp_flags & Py_TPFLAGS_HAVE_GC
  ------------------
  |  |  524|  2.65k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9497:9): [True: 1.25k, False: 71]
  ------------------
 9498|  1.25k|        && type->tp_traverse == NULL)
  ------------------
  |  Branch (9498:12): [True: 0, False: 1.25k]
  ------------------
 9499|      0|    {
 9500|      0|        PyErr_Format(PyExc_SystemError,
 9501|      0|                     "type %s has the Py_TPFLAGS_HAVE_GC flag "
 9502|      0|                     "but has no traverse function",
 9503|      0|                     type->tp_name);
 9504|      0|        return -1;
 9505|      0|    }
 9506|  1.32k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  1.32k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9506:9): [True: 687, False: 641]
  ------------------
 9507|    687|        if (type->tp_dictoffset != -1) {
  ------------------
  |  Branch (9507:13): [True: 0, False: 687]
  ------------------
 9508|      0|            PyErr_Format(PyExc_SystemError,
 9509|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9510|      0|                        "but tp_dictoffset is set to incompatible value",
 9511|      0|                        type->tp_name);
 9512|      0|            return -1;
 9513|      0|        }
 9514|    687|    }
 9515|    641|    else if (type->tp_dictoffset < (Py_ssize_t)sizeof(PyObject)) {
  ------------------
  |  Branch (9515:14): [True: 428, False: 213]
  ------------------
 9516|    428|        if (type->tp_dictoffset + type->tp_basicsize <= 0) {
  ------------------
  |  Branch (9516:13): [True: 0, False: 428]
  ------------------
 9517|      0|            PyErr_Format(PyExc_SystemError,
 9518|      0|                         "type %s has a tp_dictoffset that is too small",
 9519|      0|                         type->tp_name);
 9520|      0|            return -1;
 9521|      0|        }
 9522|    428|    }
 9523|  1.32k|    return 0;
 9524|  1.32k|}
typeobject.c:stop_readying:
  439|  1.32k|{
  440|  1.32k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.32k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (440:9): [True: 412, False: 916]
  ------------------
  441|    412|        PyInterpreterState *interp = _PyInterpreterState_GET();
  442|    412|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  443|    412|        assert(state != NULL);
  ------------------
  |  Branch (443:9): [True: 412, False: 0]
  ------------------
  444|    412|        assert(state->readying);
  ------------------
  |  Branch (444:9): [True: 412, False: 0]
  ------------------
  445|    412|        state->readying = 0;
  446|    412|        return;
  447|    412|    }
  448|  1.32k|    assert(type->tp_flags & Py_TPFLAGS_READYING);
  ------------------
  |  Branch (448:5): [True: 916, False: 0]
  ------------------
  449|    916|    type_clear_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|    916|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  450|    916|}
typeobject.c:init_static_type:
 9688|    412|{
 9689|    412|    assert(_Py_IsImmortal((PyObject *)self));
  ------------------
  |  Branch (9689:5): [True: 412, False: 0]
  ------------------
 9690|    412|    assert(!(self->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  Branch (9690:5): [True: 412, False: 0]
  ------------------
 9691|    412|    assert(!(self->tp_flags & Py_TPFLAGS_MANAGED_DICT));
  ------------------
  |  Branch (9691:5): [True: 412, False: 0]
  ------------------
 9692|    412|    assert(!(self->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF));
  ------------------
  |  Branch (9692:5): [True: 412, False: 0]
  ------------------
 9693|       |
 9694|    412|    if (initial) {
  ------------------
  |  Branch (9694:9): [True: 412, False: 0]
  ------------------
 9695|    412|        assert((self->tp_flags & Py_TPFLAGS_READY) == 0);
  ------------------
  |  Branch (9695:9): [True: 412, False: 0]
  ------------------
 9696|       |
 9697|    412|        type_add_flags(self, _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  |  467|    412|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
 9698|    412|        type_add_flags(self, Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  |  500|    412|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
 9699|       |
 9700|    412|        if (self->tp_version_tag == 0) {
  ------------------
  |  Branch (9700:13): [True: 388, False: 24]
  ------------------
 9701|    388|            unsigned int next_version_tag = next_global_version_tag();
 9702|    388|            assert(next_version_tag != 0);
  ------------------
  |  Branch (9702:13): [True: 388, False: 0]
  ------------------
 9703|    388|            _PyType_SetVersion(self, next_version_tag);
 9704|    388|        }
 9705|    412|    }
 9706|      0|    else {
 9707|      0|        assert(!initial);
  ------------------
  |  Branch (9707:9): [True: 0, False: 0]
  ------------------
 9708|      0|        assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (9708:9): [True: 0, False: 0]
  ------------------
 9709|      0|        assert(self->tp_version_tag != 0);
  ------------------
  |  Branch (9709:9): [True: 0, False: 0]
  ------------------
 9710|      0|    }
 9711|       |
 9712|    412|    managed_static_type_state_init(interp, self, isbuiltin, initial);
 9713|       |
 9714|    412|    int res;
 9715|    412|    BEGIN_TYPE_LOCK();
 9716|    412|    res = type_ready(self, initial, 1);
 9717|    412|    END_TYPE_LOCK();
 9718|    412|    if (res < 0) {
  ------------------
  |  Branch (9718:9): [True: 0, False: 412]
  ------------------
 9719|      0|        _PyStaticType_ClearWeakRefs(interp, self);
 9720|      0|        managed_static_type_state_clear(interp, self, isbuiltin, initial);
 9721|      0|    }
 9722|    412|    return res;
 9723|    412|}
typeobject.c:managed_static_type_state_init:
  253|    412|{
  254|    412|    assert(interp->runtime == &_PyRuntime);
  ------------------
  |  Branch (254:5): [True: 412, False: 0]
  ------------------
  255|       |
  256|    412|    size_t index;
  257|    412|    if (initial) {
  ------------------
  |  Branch (257:9): [True: 412, False: 0]
  ------------------
  258|    412|        assert(!managed_static_type_index_is_set(self));
  ------------------
  |  Branch (258:9): [True: 412, False: 0]
  ------------------
  259|    412|        if (isbuiltin) {
  ------------------
  |  Branch (259:13): [True: 400, False: 12]
  ------------------
  260|    400|            index = interp->types.builtins.num_initialized;
  261|    400|            assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  ------------------
  |  Branch (261:13): [True: 400, False: 0]
  ------------------
  262|    400|        }
  263|     12|        else {
  264|     12|            PyMutex_Lock(&interp->types.mutex);
  ------------------
  |  |   59|     12|#define PyMutex_Lock _PyMutex_Lock
  ------------------
  265|     12|            index = interp->types.for_extensions.next_index;
  266|     12|            interp->types.for_extensions.next_index++;
  267|     12|            PyMutex_Unlock(&interp->types.mutex);
  ------------------
  |  |   70|     12|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  268|     12|            assert(index < _Py_MAX_MANAGED_STATIC_EXT_TYPES);
  ------------------
  |  Branch (268:13): [True: 12, False: 0]
  ------------------
  269|     12|        }
  270|    412|        managed_static_type_index_set(self, index);
  271|    412|    }
  272|      0|    else {
  273|      0|        index = managed_static_type_index_get(self);
  274|      0|        if (isbuiltin) {
  ------------------
  |  Branch (274:13): [True: 0, False: 0]
  ------------------
  275|      0|            assert(index == interp->types.builtins.num_initialized);
  ------------------
  |  Branch (275:13): [True: 0, False: 0]
  ------------------
  276|      0|            assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  ------------------
  |  Branch (276:13): [True: 0, False: 0]
  ------------------
  277|      0|        }
  278|      0|        else {
  279|      0|            assert(index < _Py_MAX_MANAGED_STATIC_EXT_TYPES);
  ------------------
  |  Branch (279:13): [True: 0, False: 0]
  ------------------
  280|      0|        }
  281|      0|    }
  282|    412|    size_t full_index = isbuiltin
  ------------------
  |  Branch (282:25): [True: 400, False: 12]
  ------------------
  283|    412|        ? index
  284|    412|        : index + _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES;
  ------------------
  |  |  543|     12|    (_Py_NUM_MANAGED_PREINITIALIZED_TYPES + 83)
  |  |  ------------------
  |  |  |  |  541|     12|#define _Py_NUM_MANAGED_PREINITIALIZED_TYPES 120
  |  |  ------------------
  ------------------
  285|       |
  286|    412|    assert((initial == 1) ==
  ------------------
  |  Branch (286:5): [True: 412, False: 0]
  ------------------
  287|    412|            (_Py_atomic_load_int64(&_PyRuntime.types.managed_static.types[full_index].interp_count) == 0));
  288|    412|    (void)_Py_atomic_add_int64(
  289|    412|            &_PyRuntime.types.managed_static.types[full_index].interp_count, 1);
  290|       |
  291|    412|    if (initial) {
  ------------------
  |  Branch (291:9): [True: 412, False: 0]
  ------------------
  292|    412|        assert(_PyRuntime.types.managed_static.types[full_index].type == NULL);
  ------------------
  |  Branch (292:9): [True: 412, False: 0]
  ------------------
  293|    412|        _PyRuntime.types.managed_static.types[full_index].type = self;
  294|    412|    }
  295|      0|    else {
  296|      0|        assert(_PyRuntime.types.managed_static.types[full_index].type == self);
  ------------------
  |  Branch (296:9): [True: 0, False: 0]
  ------------------
  297|      0|    }
  298|       |
  299|    412|    managed_static_type_state *state = isbuiltin
  ------------------
  |  Branch (299:40): [True: 400, False: 12]
  ------------------
  300|    412|        ? &(interp->types.builtins.initialized[index])
  301|    412|        : &(interp->types.for_extensions.initialized[index]);
  302|       |
  303|       |    /* It should only be called once for each builtin type per interpreter. */
  304|    412|    assert(state->type == NULL);
  ------------------
  |  Branch (304:5): [True: 412, False: 0]
  ------------------
  305|    412|    state->type = self;
  306|    412|    state->isbuiltin = isbuiltin;
  307|       |
  308|       |    /* state->tp_subclasses is left NULL until init_subclasses() sets it. */
  309|       |    /* state->tp_weaklist is left NULL until insert_head() or insert_after()
  310|       |       (in weakrefobject.c) sets it. */
  311|       |
  312|    412|    if (isbuiltin) {
  ------------------
  |  Branch (312:9): [True: 400, False: 12]
  ------------------
  313|    400|        interp->types.builtins.num_initialized++;
  314|    400|    }
  315|     12|    else {
  316|     12|        interp->types.for_extensions.num_initialized++;
  317|     12|    }
  318|    412|}
typeobject.c:managed_static_type_index_set:
  189|    412|{
  190|    412|    assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  ------------------
  |  Branch (190:5): [True: 412, False: 0]
  ------------------
  191|       |    /* We store a 1-based index so 0 can mean "not initialized". */
  192|    412|    self->tp_subclasses = (PyObject *)(index + 1);
  193|    412|}
typeobject.c:vectorcall_method:
 3152|    300|{
 3153|    300|    assert(nargs >= 1);
  ------------------
  |  Branch (3153:5): [True: 300, False: 0]
  ------------------
 3154|       |
 3155|    300|    PyThreadState *tstate = _PyThreadState_GET();
 3156|    300|    PyObject *retval = NULL;
 3157|    300|    PyObject *self = args[0];
 3158|    300|    _PyCStackRef cref;
 3159|    300|    _PyThreadState_PushCStackRef(tstate, &cref);
 3160|    300|    int unbound = lookup_method(self, name, &cref.ref);
 3161|    300|    if (unbound >= 0) {
  ------------------
  |  Branch (3161:9): [True: 300, False: 0]
  ------------------
 3162|    300|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3163|    300|        retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3164|    300|    }
 3165|    300|    _PyThreadState_PopCStackRef(tstate, &cref);
 3166|    300|    return retval;
 3167|    300|}
typeobject.c:init_slotname_table:
11862|      2|{
11863|      2|#ifndef NDEBUG
11864|      2|    slotname_table_initialized = true;
11865|      2|#endif
11866|      2|    memset(slotname_table, 0, sizeof(slotname_table));
11867|    190|    for (size_t idx = 0; slotdefs[idx].name != NULL; idx++) {
  ------------------
  |  Branch (11867:26): [True: 188, False: 2]
  ------------------
11868|    188|        PyObject *name = slotdefs[idx].name_strobj;
11869|       |        /* Computes and caches the hash of name_strobj if not done yet. */
11870|    188|        Py_hash_t hash = _PyObject_HashDictKey(name);
11871|    188|        size_t i = slotname_probe(name, hash);
11872|    188|        if (slotname_table[i] == 0) {
  ------------------
  |  Branch (11872:13): [True: 162, False: 26]
  ------------------
11873|    162|            slotname_table[i] = (uint16_t)(idx + 1);
11874|    162|        }
11875|    188|    }
11876|       |    /* Keep the load factor low so probe sequences stay short. */
11877|       |    Py_BUILD_ASSERT(4 * Py_ARRAY_LENGTH(slotdefs) <= SLOTNAME_TABLE_SIZE);
  ------------------
  |  |  199|      2|        do { \
  |  |  200|      2|            static_assert((cond), #cond); \
  |  |  201|      2|        } while (0)
  |  |  ------------------
  |  |  |  Branch (201:18): [Folded, False: 2]
  |  |  ------------------
  ------------------
11878|      2|}
typeobject.c:slotname_probe:
11846|  34.2k|{
11847|  34.2k|    size_t i = (size_t)hash & (SLOTNAME_TABLE_SIZE - 1);
  ------------------
  |  |11838|  34.2k|#define SLOTNAME_TABLE_SIZE 512
  ------------------
11848|  39.8k|    while (slotname_table[i] != 0) {
  ------------------
  |  Branch (11848:12): [True: 19.9k, False: 19.9k]
  ------------------
11849|  19.9k|        PyObject *name = slotdefs[slotname_table[i] - 1].name_strobj;
11850|  19.9k|        if (name == key
  ------------------
  |  Branch (11850:13): [True: 14.3k, False: 5.58k]
  ------------------
11851|  5.58k|            || (PyUnstable_Unicode_GET_CACHED_HASH(name) == hash
  ------------------
  |  Branch (11851:17): [True: 0, False: 5.58k]
  ------------------
11852|  14.3k|                && _PyUnicode_Equal(name, key))) {
  ------------------
  |  Branch (11852:20): [True: 0, False: 0]
  ------------------
11853|  14.3k|            break;
11854|  14.3k|        }
11855|  5.58k|        i = (i + 1) & (SLOTNAME_TABLE_SIZE - 1);
  ------------------
  |  |11838|  5.58k|#define SLOTNAME_TABLE_SIZE 512
  ------------------
11856|  5.58k|    }
11857|  34.2k|    return i;
11858|  34.2k|}
typeobject.c:check_num_args:
 9859|     36|{
 9860|     36|    if (!PyTuple_CheckExact(ob)) {
  ------------------
  |  |   28|     36|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     36|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9860:9): [True: 0, False: 36]
  ------------------
 9861|      0|        PyErr_SetString(PyExc_SystemError,
 9862|      0|            "PyArg_UnpackTuple() argument list is not a tuple");
 9863|      0|        return 0;
 9864|      0|    }
 9865|     36|    if (n == PyTuple_GET_SIZE(ob))
  ------------------
  |  |   27|     36|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9865:9): [True: 36, False: 0]
  ------------------
 9866|     36|        return 1;
 9867|      0|    PyErr_Format(
 9868|      0|        PyExc_TypeError,
 9869|      0|        "expected %d argument%s, got %zd", n, n == 1 ? "" : "s", PyTuple_GET_SIZE(ob));
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9869:47): [True: 0, False: 0]
  ------------------
 9870|      0|    return 0;
 9871|     36|}
typeobject.c:slot_tp_setattro:
11089|     94|{
11090|     94|    PyObject *stack[3];
11091|     94|    PyObject *res;
11092|       |
11093|     94|    stack[0] = self;
11094|     94|    stack[1] = name;
11095|     94|    if (value == NULL) {
  ------------------
  |  Branch (11095:9): [True: 36, False: 58]
  ------------------
11096|     36|        res = vectorcall_method(&_Py_ID(__delattr__), stack, 2);
  ------------------
  |  |  951|     36|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     36|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     36|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11097|     36|    }
11098|     58|    else {
11099|     58|        stack[2] = value;
11100|     58|        res = vectorcall_method(&_Py_ID(__setattr__), stack, 3);
  ------------------
  |  |  951|     58|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     58|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     58|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11101|     58|    }
11102|     94|    if (res == NULL)
  ------------------
  |  Branch (11102:9): [True: 0, False: 94]
  ------------------
11103|      0|        return -1;
11104|     94|    Py_DECREF(res);
  ------------------
  |  |  430|     94|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11105|     94|    return 0;
11106|     94|}
typeobject.c:wrap_setattr:
10231|     58|{
10232|     58|    setattrofunc func = (setattrofunc)wrapped;
10233|     58|    int res;
10234|     58|    PyObject *name, *value;
10235|       |
10236|     58|    if (!PyArg_UnpackTuple(args, "__setattr__", 2, 2, &name, &value))
  ------------------
  |  Branch (10236:9): [True: 0, False: 58]
  ------------------
10237|      0|        return NULL;
10238|     58|    if (!hackcheck(self, func, "__setattr__"))
  ------------------
  |  Branch (10238:9): [True: 0, False: 58]
  ------------------
10239|      0|        return NULL;
10240|     58|    res = (*func)(self, name, value);
10241|     58|    if (res < 0)
  ------------------
  |  Branch (10241:9): [True: 0, False: 58]
  ------------------
10242|      0|        return NULL;
10243|     58|    Py_RETURN_NONE;
  ------------------
  |  |  628|     58|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     58|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10244|     58|}
typeobject.c:hackcheck:
10217|     94|{
10218|     94|    if (!PyType_Check(self)) {
  ------------------
  |  |  766|     94|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10218:9): [True: 0, False: 94]
  ------------------
10219|      0|        return 1;
10220|      0|    }
10221|       |
10222|     94|    int res;
10223|     94|    BEGIN_TYPE_LOCK();
10224|     94|    res = hackcheck_unlocked(self, func, what);
10225|     94|    END_TYPE_LOCK();
10226|     94|    return res;
10227|     94|}
typeobject.c:hackcheck_unlocked:
10169|     94|{
10170|     94|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|     94|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10171|       |
10172|     94|    ASSERT_TYPE_LOCK_HELD();
10173|       |
10174|     94|    PyObject *mro = lookup_tp_mro(type);
10175|     94|    if (!mro) {
  ------------------
  |  Branch (10175:9): [True: 0, False: 94]
  ------------------
10176|       |        /* Probably ok not to check the call in this case. */
10177|      0|        return 1;
10178|      0|    }
10179|     94|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (10179:5): [True: 94, False: 0]
  ------------------
10180|       |
10181|       |    /* Find the (base) type that defined the type's slot function. */
10182|     94|    PyTypeObject *defining_type = type;
10183|     94|    Py_ssize_t i;
10184|    376|    for (i = PyTuple_GET_SIZE(mro) - 1; i >= 0; i--) {
  ------------------
  |  |   27|     94|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10184:41): [True: 282, False: 94]
  ------------------
10185|    564|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(mro, i));
  ------------------
  |  |  770|    282|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    564|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 282, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10185:30): [True: 282, False: 0]
  |  Branch (10185:30): [True: 282, False: 0]
  ------------------
10186|    282|        if (base->tp_setattro == slot_tp_setattro) {
  ------------------
  |  Branch (10186:13): [True: 94, False: 188]
  ------------------
10187|       |            /* Ignore Python classes:
10188|       |               they never define their own C-level setattro. */
10189|     94|        }
10190|    188|        else if (base->tp_setattro == type->tp_setattro) {
  ------------------
  |  Branch (10190:18): [True: 0, False: 188]
  ------------------
10191|      0|            defining_type = base;
10192|      0|            break;
10193|      0|        }
10194|    564|    }
10195|       |
10196|       |    /* Reject calls that jump over intermediate C-level overrides. */
10197|    188|    for (PyTypeObject *base = defining_type; base; base = base->tp_base) {
  ------------------
  |  Branch (10197:46): [True: 188, False: 0]
  ------------------
10198|    188|        if (base->tp_setattro == func) {
  ------------------
  |  Branch (10198:13): [True: 94, False: 94]
  ------------------
10199|       |            /* 'func' is the right slot function to call. */
10200|     94|            break;
10201|     94|        }
10202|     94|        else if (base->tp_setattro != slot_tp_setattro) {
  ------------------
  |  Branch (10202:18): [True: 0, False: 94]
  ------------------
10203|       |            /* 'base' is not a Python class and overrides 'func'.
10204|       |               Its tp_setattro should be called instead. */
10205|      0|            PyErr_Format(PyExc_TypeError,
10206|      0|                         "can't apply this %s to %s object",
10207|      0|                         what,
10208|      0|                         type->tp_name);
10209|      0|            return 0;
10210|      0|        }
10211|    188|    }
10212|     94|    return 1;
10213|     94|}
typeobject.c:wrap_delattr:
10248|     36|{
10249|     36|    setattrofunc func = (setattrofunc)wrapped;
10250|     36|    int res;
10251|     36|    PyObject *name;
10252|       |
10253|     36|    if (!check_num_args(args, 1))
  ------------------
  |  Branch (10253:9): [True: 0, False: 36]
  ------------------
10254|      0|        return NULL;
10255|     36|    name = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|     36|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     36|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10255:12): [True: 36, False: 0]
  ------------------
10256|     36|    if (!hackcheck(self, func, "__delattr__"))
  ------------------
  |  Branch (10256:9): [True: 0, False: 36]
  ------------------
10257|      0|        return NULL;
10258|     36|    res = (*func)(self, name, NULL);
10259|     36|    if (res < 0)
  ------------------
  |  Branch (10259:9): [True: 0, False: 36]
  ------------------
10260|      0|        return NULL;
10261|     36|    Py_RETURN_NONE;
  ------------------
  |  |  628|     36|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     36|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10262|     36|}
typeobject.c:slot_tp_iter:
11144|      4|{
11145|      4|    int attr_is_none = 0;
11146|      4|    PyObject *res = maybe_call_special_no_args(self, &_Py_ID(__iter__),
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11147|      4|                                               &attr_is_none);
11148|      4|    if (res != NULL) {
  ------------------
  |  Branch (11148:9): [True: 4, False: 0]
  ------------------
11149|      4|        return res;
11150|      4|    }
11151|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (11151:14): [True: 0, False: 0]
  ------------------
11152|      0|        return NULL;
11153|      0|    }
11154|      0|    else if (attr_is_none || !has_dunder_getitem(self)) {
  ------------------
  |  Branch (11154:14): [True: 0, False: 0]
  |  Branch (11154:30): [True: 0, False: 0]
  ------------------
11155|      0|        PyErr_Format(PyExc_TypeError,
11156|      0|            "'%.200s' object is not iterable",
11157|      0|            Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11158|      0|        return NULL;
11159|      0|    }
11160|      0|    return PySeqIter_New(self);
11161|      4|}
typeobject.c:slot_tp_init:
11227|  1.07k|{
11228|  1.07k|    PyObject *res = call_method(self, &_Py_ID(__init__), args, kwds);
  ------------------
  |  |  951|  1.07k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.07k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.07k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11229|  1.07k|    if (res == NULL)
  ------------------
  |  Branch (11229:9): [True: 13, False: 1.05k]
  ------------------
11230|     13|        return -1;
11231|  1.05k|    if (res != Py_None) {
  ------------------
  |  |  616|  1.05k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (11231:9): [True: 0, False: 1.05k]
  ------------------
11232|      0|        PyErr_Format(PyExc_TypeError,
11233|      0|                     "__init__() should return None, not '%.200s'",
11234|      0|                     Py_TYPE(res)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11235|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11236|      0|        return -1;
11237|      0|    }
11238|  1.05k|    Py_DECREF(res);
  ------------------
  |  |  430|  1.05k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11239|  1.05k|    return 0;
11240|  1.05k|}
typeobject.c:wrap_init:
10450|    525|{
10451|    525|    initproc func = (initproc)wrapped;
10452|       |
10453|    525|    if (func(self, args, kwds) < 0)
  ------------------
  |  Branch (10453:9): [True: 0, False: 525]
  ------------------
10454|      0|        return NULL;
10455|    525|    Py_RETURN_NONE;
  ------------------
  |  |  628|    525|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    525|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10456|    525|}
typeobject.c:vectorcall_maybe:
 3174|      1|{
 3175|      1|    assert(nargs >= 1);
  ------------------
  |  Branch (3175:5): [True: 1, False: 0]
  ------------------
 3176|       |
 3177|      1|    PyObject *self = args[0];
 3178|      1|    _PyCStackRef cref;
 3179|      1|    _PyThreadState_PushCStackRef(tstate, &cref);
 3180|      1|    int unbound = lookup_maybe_method(self, name, &cref.ref);
 3181|      1|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3182|      1|    if (func == NULL) {
  ------------------
  |  Branch (3182:9): [True: 0, False: 1]
  ------------------
 3183|      0|        _PyThreadState_PopCStackRef(tstate, &cref);
 3184|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (3184:13): [True: 0, False: 0]
  ------------------
 3185|      0|            Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 3186|      0|        }
 3187|      0|        return NULL;
 3188|      0|    }
 3189|      1|    PyObject *retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3190|      1|    _PyThreadState_PopCStackRef(tstate, &cref);
 3191|      1|    return retval;
 3192|      1|}
typeobject.c:slot_sq_length:
10667|     43|{
10668|     43|    PyObject* stack[1] = {self};
10669|     43|    PyObject *res = vectorcall_method(&_Py_ID(__len__), stack, 1);
  ------------------
  |  |  951|     43|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     43|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     43|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10670|     43|    Py_ssize_t len;
10671|       |
10672|     43|    if (res == NULL)
  ------------------
  |  Branch (10672:9): [True: 0, False: 43]
  ------------------
10673|      0|        return -1;
10674|       |
10675|     43|    Py_SETREF(res, _PyNumber_Index(res));
  ------------------
  |  |  545|     43|    do { \
  |  |  546|     43|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     43|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|     43|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     43|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|     43|        *_tmp_dst_ptr = (src); \
  |  |  549|     43|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|     43|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 43]
  |  |  ------------------
  ------------------
10676|     43|    if (res == NULL)
  ------------------
  |  Branch (10676:9): [True: 0, False: 43]
  ------------------
10677|      0|        return -1;
10678|       |
10679|     43|    assert(PyLong_Check(res));
  ------------------
  |  Branch (10679:5): [True: 43, False: 0]
  ------------------
10680|     43|    if (_PyLong_IsNegative((PyLongObject *)res)) {
  ------------------
  |  Branch (10680:9): [True: 0, False: 43]
  ------------------
10681|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10682|      0|        PyErr_SetString(PyExc_ValueError,
10683|      0|                        "__len__() should return >= 0");
10684|      0|        return -1;
10685|      0|    }
10686|       |
10687|     43|    len = PyNumber_AsSsize_t(res, PyExc_OverflowError);
10688|     43|    assert(len >= 0 || PyErr_ExceptionMatches(PyExc_OverflowError));
  ------------------
  |  Branch (10688:5): [True: 43, False: 0]
  |  Branch (10688:5): [True: 0, False: 0]
  ------------------
10689|     43|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10690|     43|    return len;
10691|     43|}
typeobject.c:slot_mp_subscript:
10580|     19|FUNCNAME(PyObject *self, ARG1TYPE arg1) \
10581|     19|{ \
10582|     19|    PyObject* stack[2] = {self, arg1}; \
10583|     19|    return vectorcall_method(&_Py_ID(DUNDER), stack, 2); \
  ------------------
  |  |  951|     19|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     19|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     19|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10584|     19|}
typeobject.c:slot_mp_ass_subscript:
10765|     92|{
10766|     92|    PyObject *stack[3];
10767|     92|    PyObject *res;
10768|       |
10769|     92|    stack[0] = self;
10770|     92|    stack[1] = key;
10771|     92|    if (value == NULL) {
  ------------------
  |  Branch (10771:9): [True: 0, False: 92]
  ------------------
10772|      0|        res = vectorcall_method(&_Py_ID(__delitem__), stack, 2);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10773|      0|    }
10774|     92|    else {
10775|     92|        stack[2] = value;
10776|     92|        res = vectorcall_method(&_Py_ID(__setitem__), stack, 3);
  ------------------
  |  |  951|     92|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     92|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     92|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10777|     92|    }
10778|       |
10779|     92|    if (res == NULL)
  ------------------
  |  Branch (10779:9): [True: 0, False: 92]
  ------------------
10780|      0|        return -1;
10781|     92|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10782|     92|    return 0;
10783|     92|}
typeobject.c:wrap_objobjargproc:
10134|     85|{
10135|     85|    objobjargproc func = (objobjargproc)wrapped;
10136|     85|    int res;
10137|     85|    PyObject *key, *value;
10138|       |
10139|     85|    if (!PyArg_UnpackTuple(args, "__setitem__", 2, 2, &key, &value))
  ------------------
  |  Branch (10139:9): [True: 0, False: 85]
  ------------------
10140|      0|        return NULL;
10141|     85|    res = (*func)(self, key, value);
10142|     85|    if (res == -1 && PyErr_Occurred())
  ------------------
  |  Branch (10142:9): [True: 0, False: 85]
  |  Branch (10142:22): [True: 0, False: 0]
  ------------------
10143|      0|        return NULL;
10144|     85|    Py_RETURN_NONE;
  ------------------
  |  |  628|     85|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     85|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10145|     85|}
typeobject.c:slot_sq_item:
10695|     52|{
10696|     52|    PyObject *ival = PyLong_FromSsize_t(i);
10697|     52|    if (ival == NULL) {
  ------------------
  |  Branch (10697:9): [True: 0, False: 52]
  ------------------
10698|      0|        return NULL;
10699|      0|    }
10700|     52|    PyObject *stack[2] = {self, ival};
10701|     52|    PyObject *retval = vectorcall_method(&_Py_ID(__getitem__), stack, 2);
  ------------------
  |  |  951|     52|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     52|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     52|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10702|     52|    Py_DECREF(ival);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10703|     52|    return retval;
10704|     52|}
typeobject.c:slot_sq_contains:
10738|      6|{
10739|      6|    int attr_is_none = 0;
10740|      6|    PyObject *res = maybe_call_special_one_arg(self, &_Py_ID(__contains__), value,
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10741|      6|                                               &attr_is_none);
10742|      6|    if (attr_is_none) {
  ------------------
  |  Branch (10742:9): [True: 0, False: 6]
  ------------------
10743|      0|        PyErr_Format(PyExc_TypeError,
10744|      0|            "'%.200s' object is not a container",
10745|      0|            Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10746|      0|        return -1;
10747|      0|    }
10748|      6|    else if (res == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (10748:14): [True: 0, False: 6]
  |  Branch (10748:29): [True: 0, False: 0]
  ------------------
10749|      0|        return -1;
10750|      0|    }
10751|      6|    else if (res == NULL) {
  ------------------
  |  Branch (10751:14): [True: 0, False: 6]
  ------------------
10752|      0|        return (int)_PySequence_IterSearch(self, value, PY_ITERSEARCH_CONTAINS);
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
10753|      0|    }
10754|      6|    int result = PyObject_IsTrue(res);
10755|      6|    Py_DECREF(res);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10756|      6|    return result;
10757|      6|}
typeobject.c:slotname_lookup:
11884|  34.0k|{
11885|  34.0k|    assert(slotname_table_initialized);
  ------------------
  |  Branch (11885:5): [True: 34.0k, False: 0]
  ------------------
11886|  34.0k|    assert(hash != -1);
  ------------------
  |  Branch (11886:5): [True: 34.0k, False: 0]
  ------------------
11887|  34.0k|    size_t i = slotname_probe(key, hash);
11888|  34.0k|    return slotname_table[i] ? slotname_table[i] - 1 : -1;
  ------------------
  |  Branch (11888:12): [True: 14.2k, False: 19.7k]
  ------------------
11889|  34.0k|}
typeobject.c:type_get_mro:
 1710|     79|{
 1711|     79|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     79|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1712|     79|    PyObject *mro = lookup_tp_mro(type);
 1713|     79|    if (mro == NULL) {
  ------------------
  |  Branch (1713:9): [True: 0, False: 79]
  ------------------
 1714|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1715|      0|    }
 1716|     79|    return Py_NewRef(mro);
  ------------------
  |  |  647|     79|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|     79|}
typeobject.c:check_immutable_bases:
 5189|    106|{
 5190|    106|    Py_ssize_t i = 0;
 5191|    106|    if (skip_first) {
  ------------------
  |  Branch (5191:9): [True: 0, False: 106]
  ------------------
 5192|       |        // When testing the MRO, skip the type itself
 5193|      0|        i = 1;
 5194|      0|    }
 5195|    212|    for (; i<PyTuple_GET_SIZE(bases); i++) {
  ------------------
  |  |   27|    212|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    212|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5195:12): [True: 106, False: 106]
  ------------------
 5196|    106|        PyTypeObject *b = (PyTypeObject*)PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    106|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    106|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5196:42): [True: 106, False: 0]
  ------------------
 5197|    106|        if (!b) {
  ------------------
  |  Branch (5197:13): [True: 0, False: 106]
  ------------------
 5198|      0|            return -1;
 5199|      0|        }
 5200|    106|        if (!_PyType_HasFeature(b, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|    106|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5200:13): [True: 0, False: 106]
  ------------------
 5201|      0|            PyErr_Format(
 5202|      0|                PyExc_TypeError,
 5203|      0|                "Creating immutable type %s from mutable base %N",
 5204|      0|                type_name, b
 5205|      0|            );
 5206|      0|            return -1;
 5207|      0|        }
 5208|    106|    }
 5209|    106|    return 0;
 5210|    106|}
typeobject.c:supercheck:
12840|  2.18k|{
12841|       |    /* Check that a super() call makes sense.  Return a type object.
12842|       |
12843|       |       obj can be a class, or an instance of one:
12844|       |
12845|       |       - If it is a class, it must be a subclass of 'type'.      This case is
12846|       |         used for class methods; the return value is obj.
12847|       |
12848|       |       - If it is an instance, it must be an instance of 'type'.  This is
12849|       |         the normal case; the return value is obj.__class__.
12850|       |
12851|       |       But... when obj is an instance, we want to allow for the case where
12852|       |       Py_TYPE(obj) is not a subclass of type, but obj.__class__ is!
12853|       |       This will allow using super() with a proxy for obj.
12854|       |    */
12855|       |
12856|       |    /* Check for first bullet above (special case) */
12857|  2.18k|    if (PyType_Check(obj) && PyType_IsSubtype((PyTypeObject *)obj, type)) {
  ------------------
  |  |  766|  4.37k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.59k, False: 594]
  |  |  ------------------
  ------------------
  |  Branch (12857:30): [True: 1.50k, False: 94]
  ------------------
12858|  1.50k|        return (PyTypeObject *)Py_NewRef(obj);
  ------------------
  |  |  647|  1.50k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12859|  1.50k|    }
12860|       |
12861|       |    /* Normal case */
12862|    688|    if (PyType_IsSubtype(Py_TYPE(obj), type)) {
  ------------------
  |  |  213|    688|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    688|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    688|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12862:9): [True: 688, False: 0]
  ------------------
12863|    688|        return (PyTypeObject*)Py_NewRef(Py_TYPE(obj));
  ------------------
  |  |  647|    688|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    688|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    688|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12864|    688|    }
12865|      0|    else {
12866|       |        /* Try the slow way */
12867|      0|        PyObject *class_attr;
12868|       |
12869|      0|        if (PyObject_GetOptionalAttr(obj, &_Py_ID(__class__), &class_attr) < 0) {
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12869:13): [True: 0, False: 0]
  ------------------
12870|      0|            return NULL;
12871|      0|        }
12872|      0|        if (class_attr != NULL &&
  ------------------
  |  Branch (12872:13): [True: 0, False: 0]
  ------------------
12873|      0|            PyType_Check(class_attr) &&
  ------------------
  |  |  766|      0|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12874|      0|            (PyTypeObject *)class_attr != Py_TYPE(obj))
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12874:13): [True: 0, False: 0]
  ------------------
12875|      0|        {
12876|      0|            int ok = PyType_IsSubtype(
12877|      0|                (PyTypeObject *)class_attr, type);
12878|      0|            if (ok) {
  ------------------
  |  Branch (12878:17): [True: 0, False: 0]
  ------------------
12879|      0|                return (PyTypeObject *)class_attr;
12880|      0|            }
12881|      0|        }
12882|      0|        Py_XDECREF(class_attr);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12883|      0|    }
12884|       |
12885|      0|    const char *type_or_instance, *obj_str;
12886|       |
12887|      0|    if (PyType_Check(obj)) {
  ------------------
  |  |  766|      0|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12888|      0|        type_or_instance = "type";
12889|      0|        obj_str = ((PyTypeObject*)obj)->tp_name;
12890|      0|    }
12891|      0|    else {
12892|      0|        type_or_instance = "instance of";
12893|      0|        obj_str = Py_TYPE(obj)->tp_name;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12894|      0|    }
12895|       |
12896|      0|    PyErr_Format(PyExc_TypeError,
12897|      0|                "super(type, obj): obj (%s %.200s) is not "
12898|      0|                "an instance or subtype of type (%.200s).",
12899|      0|                type_or_instance, obj_str, type->tp_name);
12900|       |
12901|       |    return NULL;
12902|    688|}
typeobject.c:do_super_lookup:
12775|  2.18k|{
12776|  2.18k|    PyObject *res;
12777|  2.18k|    int temp_su = 0;
12778|       |
12779|  2.18k|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12779:9): [True: 0, False: 2.18k]
  ------------------
12780|      0|        goto skip;
12781|      0|    }
12782|       |
12783|  2.18k|    res = _PySuper_LookupDescr(su_type, su_obj_type, name);
12784|  2.18k|    if (res != NULL) {
  ------------------
  |  Branch (12784:9): [True: 2.18k, False: 0]
  ------------------
12785|  2.18k|        if (method && _PyType_HasFeature(Py_TYPE(res), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|    590|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    590|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    590|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (method && _PyType_HasFeature(Py_TYPE(res), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|    590|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (12785:13): [True: 590, False: 1.59k]
  |  Branch (12785:23): [True: 590, False: 0]
  ------------------
12786|    590|            *method = 1;
12787|    590|        }
12788|  1.59k|        else {
12789|  1.59k|            descrgetfunc f = Py_TYPE(res)->tp_descr_get;
  ------------------
  |  |  213|  1.59k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12790|  1.59k|            if (f != NULL) {
  ------------------
  |  Branch (12790:17): [True: 889, False: 710]
  ------------------
12791|    889|                PyObject *res2;
12792|    889|                res2 = f(res,
12793|       |                    /* Only pass 'obj' param if this is instance-mode super
12794|       |                    (See SF ID #743627)  */
12795|    889|                    (su_obj == (PyObject *)su_obj_type) ? NULL : su_obj,
  ------------------
  |  Branch (12795:21): [True: 791, False: 98]
  ------------------
12796|    889|                    (PyObject *)su_obj_type);
12797|    889|                Py_SETREF(res, res2);
  ------------------
  |  |  545|    889|    do { \
  |  |  546|    889|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    889|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|    889|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    889|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|    889|        *_tmp_dst_ptr = (src); \
  |  |  549|    889|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|    889|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    889|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    889|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|    889|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 889]
  |  |  ------------------
  ------------------
12798|    889|            }
12799|  1.59k|        }
12800|       |
12801|  2.18k|        return res;
12802|  2.18k|    }
12803|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (12803:14): [True: 0, False: 0]
  ------------------
12804|      0|        return NULL;
12805|      0|    }
12806|       |
12807|      0|  skip:
12808|      0|    if (su == NULL) {
  ------------------
  |  Branch (12808:9): [True: 0, False: 0]
  ------------------
12809|      0|        PyObject *args[] = {(PyObject *)su_type, su_obj};
12810|      0|        su = (superobject *)PyObject_Vectorcall((PyObject *)&PySuper_Type, args, 2, NULL);
12811|      0|        if (su == NULL) {
  ------------------
  |  Branch (12811:13): [True: 0, False: 0]
  ------------------
12812|      0|            return NULL;
12813|      0|        }
12814|      0|        temp_su = 1;
12815|      0|    }
12816|      0|    res = PyObject_GenericGetAttr((PyObject *)su, name);
12817|      0|    if (temp_su) {
  ------------------
  |  Branch (12817:9): [True: 0, False: 0]
  ------------------
12818|      0|        Py_DECREF(su);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12819|      0|    }
12820|      0|    return res;
12821|      0|}
typeobject.c:super_dealloc:
12693|    804|{
12694|    804|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12679|    804|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12695|       |
12696|    804|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|    804|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12697|    804|    Py_XDECREF(su->obj);
  ------------------
  |  |  621|    804|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12698|    804|    Py_XDECREF(su->type);
  ------------------
  |  |  621|    804|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12699|    804|    Py_XDECREF(su->obj_type);
  ------------------
  |  |  621|    804|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12700|    804|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    804|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12701|    804|}
typeobject.c:super_getattro:
12825|    804|{
12826|    804|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12679|    804|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12827|       |
12828|       |    /* We want __class__ to return the class of the super object
12829|       |       (i.e. super, or a subclass), not the class of su->obj. */
12830|    804|    if (PyUnicode_Check(name) &&
  ------------------
  |  |  103|    804|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.60k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 804, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12831|    804|        PyUnicode_GET_LENGTH(name) == 9 &&
  ------------------
  |  |  300|    804|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12831:9): [True: 0, False: 804]
  ------------------
12832|      0|        _PyUnicode_Equal(name, &_Py_ID(__class__)))
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12832:9): [True: 0, False: 0]
  ------------------
12833|      0|        return PyObject_GenericGetAttr(self, name);
12834|       |
12835|    804|    return do_super_lookup(su, su->type, su->obj, su->obj_type, name, NULL);
12836|    804|}
typeobject.c:super_init_impl:
13050|    804|super_init_impl(PyObject *self, PyTypeObject *type, PyObject *obj) {
13051|    804|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12679|    804|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
13052|    804|    PyTypeObject *obj_type = NULL;
13053|    804|    if (type == NULL) {
  ------------------
  |  Branch (13053:9): [True: 14, False: 790]
  ------------------
13054|       |        /* Call super(), without args -- fill in from __class__
13055|       |           and first local variable on the stack. */
13056|     14|        PyThreadState *tstate = _PyThreadState_GET();
13057|     14|        _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
13058|     14|        if (frame == NULL) {
  ------------------
  |  Branch (13058:13): [True: 0, False: 14]
  ------------------
13059|      0|            PyErr_SetString(PyExc_RuntimeError,
13060|      0|                            "super(): no current frame");
13061|      0|            return -1;
13062|      0|        }
13063|     14|        int res = super_init_without_args(frame, &type, &obj);
13064|       |
13065|     14|        if (res < 0) {
  ------------------
  |  Branch (13065:13): [True: 0, False: 14]
  ------------------
13066|      0|            return -1;
13067|      0|        }
13068|     14|    }
13069|    790|    else {
13070|    790|        Py_INCREF(type);
  ------------------
  |  |  310|    790|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    790|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    790|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13071|    790|        Py_XINCREF(obj);
  ------------------
  |  |  611|    790|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    790|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    790|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13072|    790|    }
13073|       |
13074|    804|    if (obj == Py_None) {
  ------------------
  |  |  616|    804|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (13074:9): [True: 0, False: 804]
  ------------------
13075|      0|        Py_DECREF(obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13076|      0|        obj = NULL;
13077|      0|    }
13078|    804|    if (obj != NULL) {
  ------------------
  |  Branch (13078:9): [True: 804, False: 0]
  ------------------
13079|    804|        obj_type = supercheck(type, obj);
13080|    804|        if (obj_type == NULL) {
  ------------------
  |  Branch (13080:13): [True: 0, False: 804]
  ------------------
13081|      0|            Py_DECREF(type);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13082|      0|            Py_DECREF(obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13083|      0|            return -1;
13084|      0|        }
13085|    804|    }
13086|    804|    Py_XSETREF(su->type, (PyTypeObject*)type);
  ------------------
  |  |  576|    804|    do { \
  |  |  577|    804|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    804|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    804|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    804|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    804|        *_tmp_dst_ptr = (src); \
  |  |  580|    804|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    804|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
13087|    804|    Py_XSETREF(su->obj, obj);
  ------------------
  |  |  576|    804|    do { \
  |  |  577|    804|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    804|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    804|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    804|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    804|        *_tmp_dst_ptr = (src); \
  |  |  580|    804|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    804|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
13088|    804|    Py_XSETREF(su->obj_type, obj_type);
  ------------------
  |  |  576|    804|    do { \
  |  |  577|    804|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    804|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    804|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    804|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    804|        *_tmp_dst_ptr = (src); \
  |  |  580|    804|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    804|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 804]
  |  |  ------------------
  ------------------
13089|    804|    return 0;
13090|    804|}
typeobject.c:super_init_without_args:
12952|     14|{
12953|     14|    PyCodeObject *co = _PyFrame_GetCode(cframe);
12954|     14|    if (co->co_argcount == 0) {
  ------------------
  |  Branch (12954:9): [True: 0, False: 14]
  ------------------
12955|      0|        PyErr_SetString(PyExc_RuntimeError,
12956|      0|                        "super(): no arguments");
12957|      0|        return -1;
12958|      0|    }
12959|       |
12960|     14|    assert(_PyFrame_GetCode(cframe)->co_nlocalsplus > 0);
  ------------------
  |  Branch (12960:5): [True: 14, False: 0]
  ------------------
12961|     14|    PyObject *firstarg = PyStackRef_AsPyObjectBorrow(_PyFrame_GetLocalsArray(cframe)[0]);
12962|     14|    if (firstarg == NULL) {
  ------------------
  |  Branch (12962:9): [True: 0, False: 14]
  ------------------
12963|      0|        PyErr_SetString(PyExc_RuntimeError, "super(): arg[0] deleted");
12964|      0|        return -1;
12965|      0|    }
12966|       |    // The first argument might be a cell.
12967|       |    // "firstarg" is a cell here unless (very unlikely) super()
12968|       |    // was called from the C-API before the first MAKE_CELL op.
12969|     14|    if ((_PyLocals_GetKind(co->co_localspluskinds, 0) & CO_FAST_CELL) &&
  ------------------
  |  |  198|     14|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (12969:9): [True: 0, False: 14]
  ------------------
12970|      0|            (_PyInterpreterFrame_LASTI(cframe) >= 0)) {
  ------------------
  |  |   19|      0|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
  |  Branch (12970:13): [True: 0, False: 0]
  ------------------
12971|       |        // MAKE_CELL and COPY_FREE_VARS have no quickened forms, so no need
12972|       |        // to use _PyOpcode_Deopt here:
12973|      0|        assert(_PyCode_CODE(co)[0].op.code == MAKE_CELL ||
  ------------------
  |  Branch (12973:9): [True: 0, False: 0]
  |  Branch (12973:9): [True: 0, False: 0]
  ------------------
12974|      0|                _PyCode_CODE(co)[0].op.code == COPY_FREE_VARS);
12975|      0|        assert(PyCell_Check(firstarg));
  ------------------
  |  Branch (12975:9): [True: 0, False: 0]
  ------------------
12976|      0|        firstarg = PyCell_GetRef((PyCellObject *)firstarg);
12977|      0|        if (firstarg == NULL) {
  ------------------
  |  Branch (12977:13): [True: 0, False: 0]
  ------------------
12978|      0|            PyErr_SetString(PyExc_RuntimeError, "super(): arg[0] deleted");
12979|      0|            return -1;
12980|      0|        }
12981|      0|    }
12982|     14|    else {
12983|     14|        Py_INCREF(firstarg);
  ------------------
  |  |  310|     14|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12984|     14|    }
12985|       |
12986|       |    // Look for __class__ in the free vars.
12987|     14|    PyTypeObject *type = NULL;
12988|     14|    int i = PyUnstable_Code_GetFirstFree(co);
12989|     14|    for (; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (12989:12): [True: 14, False: 0]
  ------------------
12990|     14|        assert((_PyLocals_GetKind(co->co_localspluskinds, i) & CO_FAST_FREE) != 0);
  ------------------
  |  Branch (12990:9): [True: 14, False: 0]
  ------------------
12991|     14|        PyObject *name = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|     14|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     14|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12991:26): [True: 14, False: 0]
  ------------------
12992|     14|        assert(PyUnicode_Check(name));
  ------------------
  |  Branch (12992:9): [True: 14, False: 0]
  ------------------
12993|     14|        if (_PyUnicode_Equal(name, &_Py_ID(__class__))) {
  ------------------
  |  |  951|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12993:13): [True: 14, False: 0]
  ------------------
12994|     14|            PyObject *cell = PyStackRef_AsPyObjectBorrow(_PyFrame_GetLocalsArray(cframe)[i]);
12995|     14|            if (cell == NULL || !PyCell_Check(cell)) {
  ------------------
  |  |   18|     14|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|     14|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12995:17): [True: 0, False: 14]
  |  Branch (12995:33): [True: 0, False: 14]
  ------------------
12996|      0|                PyErr_SetString(PyExc_RuntimeError,
12997|      0|                  "super(): bad __class__ cell");
12998|      0|                Py_DECREF(firstarg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12999|      0|                return -1;
13000|      0|            }
13001|     14|            type = (PyTypeObject *) PyCell_GetRef((PyCellObject *)cell);
13002|     14|            if (type == NULL) {
  ------------------
  |  Branch (13002:17): [True: 0, False: 14]
  ------------------
13003|      0|                PyErr_SetString(PyExc_RuntimeError,
13004|      0|                  "super(): empty __class__ cell");
13005|      0|                Py_DECREF(firstarg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13006|      0|                return -1;
13007|      0|            }
13008|     14|            if (!PyType_Check(type)) {
  ------------------
  |  |  766|     14|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13008:17): [True: 0, False: 14]
  ------------------
13009|      0|                PyErr_Format(PyExc_RuntimeError,
13010|      0|                  "super(): __class__ is not a type (%s)",
13011|      0|                  Py_TYPE(type)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13012|      0|                Py_DECREF(type);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13013|      0|                Py_DECREF(firstarg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13014|      0|                return -1;
13015|      0|            }
13016|     14|            break;
13017|     14|        }
13018|     14|    }
13019|     14|    if (type == NULL) {
  ------------------
  |  Branch (13019:9): [True: 0, False: 14]
  ------------------
13020|      0|        PyErr_SetString(PyExc_RuntimeError,
13021|      0|                        "super(): __class__ cell not found");
13022|      0|        Py_DECREF(firstarg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13023|      0|        return -1;
13024|      0|    }
13025|       |
13026|     14|    *type_p = type;
13027|     14|    *obj_p = firstarg;
13028|     14|    return 0;
13029|     14|}
typeobject.c:super_vectorcall:
13123|    804|{
13124|    804|    assert(PyType_Check(self));
  ------------------
  |  Branch (13124:5): [True: 804, False: 0]
  ------------------
13125|    804|    if (!_PyArg_NoKwnames("super", kwnames)) {
  ------------------
  |  |   16|    804|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 804, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
13126|      0|        return NULL;
13127|      0|    }
13128|    804|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    804|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
13129|    804|    if (!_PyArg_CheckPositional("super()", nargs, 0, 2)) {
  ------------------
  |  |   38|    804|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 804, False: 0]
  |  |  |  Branch (38:27): [True: 804, False: 0]
  |  |  ------------------
  |  |   39|    804|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
13130|      0|        return NULL;
13131|      0|    }
13132|    804|    PyTypeObject *type = NULL;
13133|    804|    PyObject *obj = NULL;
13134|    804|    PyTypeObject *self_type = (PyTypeObject *)self;
13135|    804|    PyObject *su = self_type->tp_alloc(self_type, 0);
13136|    804|    if (su == NULL) {
  ------------------
  |  Branch (13136:9): [True: 0, False: 804]
  ------------------
13137|      0|        return NULL;
13138|      0|    }
13139|       |    // 1 or 2 argument form super().
13140|    804|    if (nargs != 0) {
  ------------------
  |  Branch (13140:9): [True: 790, False: 14]
  ------------------
13141|    790|        PyObject *arg0 = args[0];
13142|    790|        if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|    790|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    790|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    790|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13142:13): [True: 0, False: 790]
  ------------------
13143|      0|            PyErr_Format(PyExc_TypeError,
13144|      0|                "super() argument 1 must be a type, not %.200s", Py_TYPE(arg0)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13145|      0|            goto fail;
13146|      0|        }
13147|    790|        type = (PyTypeObject *)arg0;
13148|    790|    }
13149|    804|    if (nargs == 2) {
  ------------------
  |  Branch (13149:9): [True: 790, False: 14]
  ------------------
13150|    790|        obj = args[1];
13151|    790|    }
13152|    804|    if (super_init_impl(su, type, obj) < 0) {
  ------------------
  |  Branch (13152:9): [True: 0, False: 804]
  ------------------
13153|      0|        goto fail;
13154|      0|    }
13155|    804|    return su;
13156|      0|fail:
13157|      0|    Py_DECREF(su);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13158|       |    return NULL;
13159|    804|}

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

PyUnicode_Format:
 1038|     21|{
 1039|     21|    struct unicode_formatter_t ctx;
 1040|       |
 1041|     21|    if (format == NULL || args == NULL) {
  ------------------
  |  Branch (1041:9): [True: 0, False: 21]
  |  Branch (1041:27): [True: 0, False: 21]
  ------------------
 1042|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1043|      0|        return NULL;
 1044|      0|    }
 1045|       |
 1046|     21|    if (ensure_unicode(format) < 0)
  ------------------
  |  |   52|     21|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (1046:9): [True: 0, False: 21]
  ------------------
 1047|      0|        return NULL;
 1048|       |
 1049|     21|    ctx.fmtstr = format;
 1050|     21|    ctx.fmtdata = PyUnicode_DATA(ctx.fmtstr);
  ------------------
  |  |  285|     21|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1051|     21|    ctx.fmtkind = PyUnicode_KIND(ctx.fmtstr);
  ------------------
  |  |  259|     21|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     42|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 21, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1052|     21|    ctx.fmtcnt = PyUnicode_GET_LENGTH(ctx.fmtstr);
  ------------------
  |  |  300|     21|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1053|     21|    ctx.fmtpos = 0;
 1054|       |
 1055|     21|    _PyUnicodeWriter_Init(&ctx.writer);
 1056|     21|    ctx.writer.min_length = ctx.fmtcnt + 100;
 1057|     21|    ctx.writer.overallocate = 1;
 1058|       |
 1059|     21|    if (PyTuple_Check(args)) {
  ------------------
  |  |   27|     21|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     21|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 21]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1060|      0|        ctx.arglen = PyTuple_Size(args);
 1061|      0|        ctx.argidx = 0;
 1062|      0|    }
 1063|     21|    else {
 1064|     21|        ctx.arglen = -1;
 1065|     21|        ctx.argidx = -2;
 1066|     21|    }
 1067|     21|    ctx.args_owned = 0;
 1068|     21|    if (PyMapping_Check(args) && !PyTuple_Check(args) && !PyUnicode_Check(args))
  ------------------
  |  |   27|     21|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     42|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (PyMapping_Check(args) && !PyTuple_Check(args) && !PyUnicode_Check(args))
  ------------------
  |  |  103|     21|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     21|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1068:9): [True: 21, False: 0]
  |  Branch (1068:34): [True: 21, False: 0]
  |  Branch (1068:58): [True: 0, False: 21]
  ------------------
 1069|      0|        ctx.dict = args;
 1070|     21|    else
 1071|     21|        ctx.dict = NULL;
 1072|     21|    ctx.args = args;
 1073|       |
 1074|     84|    while (--ctx.fmtcnt >= 0) {
  ------------------
  |  Branch (1074:12): [True: 63, False: 21]
  ------------------
 1075|     63|        if (PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') {
  ------------------
  |  |  355|     63|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     63|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     63|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     63|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     63|                   (index))
  ------------------
  |  Branch (1075:13): [True: 42, False: 21]
  ------------------
 1076|     42|            Py_ssize_t nonfmtpos;
 1077|       |
 1078|     42|            nonfmtpos = ctx.fmtpos++;
 1079|    315|            while (ctx.fmtcnt >= 0 &&
  ------------------
  |  Branch (1079:20): [True: 294, False: 21]
  ------------------
 1080|    294|                   PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') {
  ------------------
  |  |  355|    294|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    294|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    294|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    294|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    294|                   (index))
  ------------------
  |  Branch (1080:20): [True: 273, False: 21]
  ------------------
 1081|    273|                ctx.fmtpos++;
 1082|    273|                ctx.fmtcnt--;
 1083|    273|            }
 1084|     42|            if (ctx.fmtcnt < 0) {
  ------------------
  |  Branch (1084:17): [True: 21, False: 21]
  ------------------
 1085|     21|                ctx.fmtpos--;
 1086|     21|                ctx.writer.overallocate = 0;
 1087|     21|            }
 1088|       |
 1089|     42|            if (_PyUnicodeWriter_WriteSubstring(&ctx.writer, ctx.fmtstr,
  ------------------
  |  Branch (1089:17): [True: 0, False: 42]
  ------------------
 1090|     42|                                                nonfmtpos, ctx.fmtpos) < 0)
 1091|      0|                goto onError;
 1092|     42|        }
 1093|     21|        else {
 1094|     21|            ctx.fmtpos++;
 1095|     21|            if (unicode_format_arg(&ctx) == -1)
  ------------------
  |  Branch (1095:17): [True: 0, False: 21]
  ------------------
 1096|      0|                goto onError;
 1097|     21|        }
 1098|     63|    }
 1099|       |
 1100|     21|    if (ctx.argidx < ctx.arglen && !ctx.dict) {
  ------------------
  |  Branch (1100:9): [True: 0, False: 21]
  |  Branch (1100:36): [True: 0, False: 0]
  ------------------
 1101|      0|        PyErr_Format(PyExc_TypeError,
 1102|      0|                     "not all arguments converted during string formatting "
 1103|      0|                     "(required %zd, got %zd)",
 1104|      0|                     ctx.arglen < 0 ? 0 : ctx.argidx,
  ------------------
  |  Branch (1104:22): [True: 0, False: 0]
  ------------------
 1105|      0|                     ctx.arglen < 0 ? 1 : ctx.arglen);
  ------------------
  |  Branch (1105:22): [True: 0, False: 0]
  ------------------
 1106|      0|        goto onError;
 1107|      0|    }
 1108|       |
 1109|     21|    if (ctx.args_owned) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 21]
  ------------------
 1110|      0|        Py_DECREF(ctx.args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|      0|    }
 1112|     21|    return _PyUnicodeWriter_Finish(&ctx.writer);
 1113|       |
 1114|      0|  onError:
 1115|      0|    _PyUnicodeWriter_Dealloc(&ctx.writer);
 1116|      0|    if (ctx.args_owned) {
  ------------------
  |  Branch (1116:9): [True: 0, False: 0]
  ------------------
 1117|      0|        Py_DECREF(ctx.args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1118|      0|    }
 1119|       |    return NULL;
 1120|     21|}
unicode_format.c:unicode_format_arg:
  982|     21|{
  983|     21|    struct unicode_format_arg_t arg;
  984|     21|    PyObject *str;
  985|     21|    int ret;
  986|       |
  987|     21|    arg.ch = PyUnicode_READ(ctx->fmtkind, ctx->fmtdata, ctx->fmtpos);
  ------------------
  |  |  355|     21|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     21|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     21|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     21|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     21|                   (index))
  ------------------
  988|     21|    if (arg.ch == '%') {
  ------------------
  |  Branch (988:9): [True: 0, False: 21]
  ------------------
  989|      0|        ctx->fmtpos++;
  990|      0|        ctx->fmtcnt--;
  991|      0|        if (_PyUnicodeWriter_WriteCharInline(&ctx->writer, '%') < 0)
  ------------------
  |  Branch (991:13): [True: 0, False: 0]
  ------------------
  992|      0|            return -1;
  993|      0|        return 0;
  994|      0|    }
  995|     21|    arg.flags = 0;
  996|     21|    arg.width = -1;
  997|     21|    arg.prec = -1;
  998|     21|    arg.sign = 0;
  999|     21|    arg.fmtstart = ctx->fmtpos - 1;
 1000|     21|    arg.key = NULL;
 1001|     21|    str = NULL;
 1002|       |
 1003|     21|    ret = unicode_format_arg_parse(ctx, &arg);
 1004|     21|    if (ret == -1) {
  ------------------
  |  Branch (1004:9): [True: 0, False: 21]
  ------------------
 1005|      0|        goto onError;
 1006|      0|    }
 1007|       |
 1008|     21|    ret = unicode_format_arg_format(ctx, &arg, &str);
 1009|     21|    if (ret == -1) {
  ------------------
  |  Branch (1009:9): [True: 0, False: 21]
  ------------------
 1010|      0|        goto onError;
 1011|      0|    }
 1012|       |
 1013|     21|    if (ret != 1) {
  ------------------
  |  Branch (1013:9): [True: 0, False: 21]
  ------------------
 1014|      0|        ret = unicode_format_arg_output(ctx, &arg, str);
 1015|      0|        Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|      0|        if (ret == -1) {
  ------------------
  |  Branch (1016:13): [True: 0, False: 0]
  ------------------
 1017|      0|            goto onError;
 1018|      0|        }
 1019|      0|    }
 1020|       |
 1021|     21|    if (ctx->dict && (ctx->argidx < ctx->arglen)) {
  ------------------
  |  Branch (1021:9): [True: 0, False: 21]
  |  Branch (1021:22): [True: 0, False: 0]
  ------------------
 1022|       |        // XXX: Never happens?
 1023|      0|        PyErr_SetString(PyExc_TypeError,
 1024|      0|                        "not all arguments converted during string formatting");
 1025|      0|        goto onError;
 1026|      0|    }
 1027|     21|    Py_XDECREF(arg.key);
  ------------------
  |  |  621|     21|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1028|     21|    return 0;
 1029|       |
 1030|      0|  onError:
 1031|      0|    Py_XDECREF(arg.key);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1032|      0|    return -1;
 1033|     21|}
unicode_format.c:unicode_format_arg_parse:
  466|     21|{
  467|     21|#define FORMAT_READ(ctx) \
  468|     21|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  469|       |
  470|     21|    PyObject *v;
  471|       |
  472|     21|    if (arg->ch == '(') {
  ------------------
  |  Branch (472:9): [True: 0, False: 21]
  ------------------
  473|       |        /* Get argument value from a dictionary. Example: "%(name)s". */
  474|      0|        Py_ssize_t keystart;
  475|      0|        Py_ssize_t keylen;
  476|      0|        int pcount = 1;
  477|       |
  478|      0|        if (ctx->dict == NULL) {
  ------------------
  |  Branch (478:13): [True: 0, False: 0]
  ------------------
  479|      0|            PyErr_Format(PyExc_TypeError,
  480|      0|                         "format requires a mapping, not %T",
  481|      0|                         ctx->args);
  482|      0|            return -1;
  483|      0|        }
  484|      0|        ++ctx->fmtpos;
  485|      0|        --ctx->fmtcnt;
  486|      0|        keystart = ctx->fmtpos;
  487|       |        /* Skip over balanced parentheses */
  488|      0|        while (pcount > 0 && --ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (488:16): [True: 0, False: 0]
  |  Branch (488:30): [True: 0, False: 0]
  ------------------
  489|      0|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|      0|                   (index))
  |  |  ------------------
  ------------------
  490|      0|            if (arg->ch == ')')
  ------------------
  |  Branch (490:17): [True: 0, False: 0]
  ------------------
  491|      0|                --pcount;
  492|      0|            else if (arg->ch == '(')
  ------------------
  |  Branch (492:22): [True: 0, False: 0]
  ------------------
  493|      0|                ++pcount;
  494|      0|            ctx->fmtpos++;
  495|      0|        }
  496|      0|        keylen = ctx->fmtpos - keystart - 1;
  497|      0|        if (ctx->fmtcnt < 0 || pcount > 0) {
  ------------------
  |  Branch (497:13): [True: 0, False: 0]
  |  Branch (497:32): [True: 0, False: 0]
  ------------------
  498|      0|            PyErr_Format(PyExc_ValueError,
  499|      0|                         "stray %% or incomplete format key at position %zd",
  500|      0|                         arg->fmtstart);
  501|      0|            return -1;
  502|      0|        }
  503|      0|        arg->key = PyUnicode_Substring(ctx->fmtstr,
  504|      0|                                       keystart, keystart + keylen);
  505|      0|        if (arg->key == NULL)
  ------------------
  |  Branch (505:13): [True: 0, False: 0]
  ------------------
  506|      0|            return -1;
  507|      0|        if (ctx->args_owned) {
  ------------------
  |  Branch (507:13): [True: 0, False: 0]
  ------------------
  508|      0|            ctx->args_owned = 0;
  509|      0|            Py_DECREF(ctx->args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|      0|        }
  511|      0|        ctx->args = PyObject_GetItem(ctx->dict, arg->key);
  512|      0|        if (ctx->args == NULL)
  ------------------
  |  Branch (512:13): [True: 0, False: 0]
  ------------------
  513|      0|            return -1;
  514|      0|        ctx->args_owned = 1;
  515|      0|        ctx->arglen = -3;
  516|      0|        ctx->argidx = -4;
  517|      0|    }
  518|     21|    else {
  519|     21|        if (ctx->arglen < -1) {
  ------------------
  |  Branch (519:13): [True: 0, False: 21]
  ------------------
  520|      0|            PyErr_Format(PyExc_ValueError,
  521|      0|                         "format requires a parenthesised mapping key "
  522|      0|                         "at position %zd",
  523|      0|                         arg->fmtstart);
  524|      0|            return -1;
  525|      0|        }
  526|     21|    }
  527|       |
  528|       |    /* Parse flags. Example: "%+i" => flags=F_SIGN. */
  529|     21|    while (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (529:12): [True: 21, False: 0]
  ------------------
  530|     21|        arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|     21|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  355|     21|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     21|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     21|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     21|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|     21|                   (index))
  |  |  ------------------
  ------------------
  531|     21|        ctx->fmtpos++;
  532|     21|        switch (arg->ch) {
  ------------------
  |  Branch (532:17): [True: 0, False: 21]
  ------------------
  533|      0|        case '-': arg->flags |= F_LJUST; continue;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (533:9): [True: 0, False: 21]
  ------------------
  534|      0|        case '+': arg->flags |= F_SIGN; continue;
  ------------------
  |  |   19|      0|#define F_SIGN  (1<<1)
  ------------------
  |  Branch (534:9): [True: 0, False: 21]
  ------------------
  535|      0|        case ' ': arg->flags |= F_BLANK; continue;
  ------------------
  |  |   20|      0|#define F_BLANK (1<<2)
  ------------------
  |  Branch (535:9): [True: 0, False: 21]
  ------------------
  536|      0|        case '#': arg->flags |= F_ALT; continue;
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (536:9): [True: 0, False: 21]
  ------------------
  537|      0|        case '0': arg->flags |= F_ZERO; continue;
  ------------------
  |  |   22|      0|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (537:9): [True: 0, False: 21]
  ------------------
  538|     21|        }
  539|     21|        break;
  540|     21|    }
  541|       |
  542|       |    /* Parse width. Example: "%10s" => width=10 */
  543|     21|    if (arg->ch == '*') {
  ------------------
  |  Branch (543:9): [True: 0, False: 21]
  ------------------
  544|      0|        if (ctx->arglen < -1) {
  ------------------
  |  Branch (544:13): [True: 0, False: 0]
  ------------------
  545|      0|            PyErr_Format(PyExc_ValueError,
  546|      0|                    "* cannot be used with a parenthesised mapping key "
  547|      0|                    "at position %zd",
  548|      0|                    arg->fmtstart);
  549|      0|            return -1;
  550|      0|        }
  551|      0|        v = unicode_format_getnextarg(ctx, 0);
  552|      0|        if (v == NULL)
  ------------------
  |  Branch (552:13): [True: 0, False: 0]
  ------------------
  553|      0|            return -1;
  554|      0|        if (!PyLong_Check(v)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (554:13): [True: 0, False: 0]
  ------------------
  555|      0|            FORMAT_ERROR(PyExc_TypeError, "* requires int, not %T", v);
  ------------------
  |  |   81|      0|#define FORMAT_ERROR(EXC, FMT, ...) do {                                    \
  |  |   82|      0|    if (arg->key != NULL) {                                                 \
  |  |  ------------------
  |  |  |  Branch (82:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   83|      0|        PyErr_Format((EXC), "format argument %R: " FMT,                     \
  |  |   84|      0|                     arg->key, __VA_ARGS__);                                \
  |  |   85|      0|    }                                                                       \
  |  |   86|      0|    else if (ctx->argidx >= 0) {                                            \
  |  |  ------------------
  |  |  |  Branch (86:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   87|      0|        PyErr_Format((EXC), "format argument %zd: " FMT,                    \
  |  |   88|      0|                     ctx->argidx, __VA_ARGS__);                             \
  |  |   89|      0|    }                                                                       \
  |  |   90|      0|    else {                                                                  \
  |  |   91|      0|        PyErr_Format((EXC), "format argument: " FMT, __VA_ARGS__);          \
  |  |   92|      0|    }                                                                       \
  |  |   93|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (93:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  556|      0|            return -1;
  557|      0|        }
  558|      0|        arg->width = PyLong_AsSsize_t(v);
  559|      0|        if (arg->width == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (559:13): [True: 0, False: 0]
  |  Branch (559:33): [True: 0, False: 0]
  ------------------
  560|      0|            if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (560:17): [True: 0, False: 0]
  ------------------
  561|      0|                FORMAT_ERROR(PyExc_OverflowError,
  ------------------
  |  |   81|      0|#define FORMAT_ERROR(EXC, FMT, ...) do {                                    \
  |  |   82|      0|    if (arg->key != NULL) {                                                 \
  |  |  ------------------
  |  |  |  Branch (82:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   83|      0|        PyErr_Format((EXC), "format argument %R: " FMT,                     \
  |  |   84|      0|                     arg->key, __VA_ARGS__);                                \
  |  |   85|      0|    }                                                                       \
  |  |   86|      0|    else if (ctx->argidx >= 0) {                                            \
  |  |  ------------------
  |  |  |  Branch (86:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   87|      0|        PyErr_Format((EXC), "format argument %zd: " FMT,                    \
  |  |   88|      0|                     ctx->argidx, __VA_ARGS__);                             \
  |  |   89|      0|    }                                                                       \
  |  |   90|      0|    else {                                                                  \
  |  |   91|      0|        PyErr_Format((EXC), "format argument: " FMT, __VA_ARGS__);          \
  |  |   92|      0|    }                                                                       \
  |  |   93|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (93:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  562|      0|                             "too big for width%s", "");
  563|      0|            }
  564|      0|            return -1;
  565|      0|        }
  566|      0|        if (arg->width < 0) {
  ------------------
  |  Branch (566:13): [True: 0, False: 0]
  ------------------
  567|      0|            if (arg->width == PY_SSIZE_T_MIN) {
  ------------------
  |  |  146|      0|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (567:17): [True: 0, False: 0]
  ------------------
  568|      0|                FORMAT_ERROR(PyExc_OverflowError, "too big for width%s", "");
  ------------------
  |  |   81|      0|#define FORMAT_ERROR(EXC, FMT, ...) do {                                    \
  |  |   82|      0|    if (arg->key != NULL) {                                                 \
  |  |  ------------------
  |  |  |  Branch (82:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   83|      0|        PyErr_Format((EXC), "format argument %R: " FMT,                     \
  |  |   84|      0|                     arg->key, __VA_ARGS__);                                \
  |  |   85|      0|    }                                                                       \
  |  |   86|      0|    else if (ctx->argidx >= 0) {                                            \
  |  |  ------------------
  |  |  |  Branch (86:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   87|      0|        PyErr_Format((EXC), "format argument %zd: " FMT,                    \
  |  |   88|      0|                     ctx->argidx, __VA_ARGS__);                             \
  |  |   89|      0|    }                                                                       \
  |  |   90|      0|    else {                                                                  \
  |  |   91|      0|        PyErr_Format((EXC), "format argument: " FMT, __VA_ARGS__);          \
  |  |   92|      0|    }                                                                       \
  |  |   93|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (93:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  569|      0|                return -1;
  570|      0|            }
  571|      0|            arg->flags |= F_LJUST;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  572|      0|            arg->width = -arg->width;
  573|      0|        }
  574|      0|        if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (574:13): [True: 0, False: 0]
  ------------------
  575|      0|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|      0|                   (index))
  |  |  ------------------
  ------------------
  576|      0|            ctx->fmtpos++;
  577|      0|        }
  578|      0|        assert(arg->width >= 0);
  ------------------
  |  Branch (578:9): [True: 0, False: 0]
  ------------------
  579|      0|    }
  580|     21|    else if (arg->ch >= '0' && arg->ch <= '9') {
  ------------------
  |  Branch (580:14): [True: 21, False: 0]
  |  Branch (580:32): [True: 0, False: 21]
  ------------------
  581|      0|        arg->width = arg->ch - '0';
  582|      0|        while (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (582:16): [True: 0, False: 0]
  ------------------
  583|      0|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|      0|                   (index))
  |  |  ------------------
  ------------------
  584|      0|            ctx->fmtpos++;
  585|      0|            if (arg->ch < '0' || arg->ch > '9')
  ------------------
  |  Branch (585:17): [True: 0, False: 0]
  |  Branch (585:34): [True: 0, False: 0]
  ------------------
  586|      0|                break;
  587|       |            /* Since arg->ch is unsigned, the RHS would end up as unsigned,
  588|       |               mixing signed and unsigned comparison. Since arg->ch is between
  589|       |               '0' and '9', casting to int is safe. */
  590|      0|            if (arg->width > (PY_SSIZE_T_MAX - ((int)arg->ch - '0')) / 10) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (590:17): [True: 0, False: 0]
  ------------------
  591|      0|                PyErr_Format(PyExc_ValueError,
  592|      0|                             "width too big at position %zd",
  593|      0|                             arg->fmtstart);
  594|      0|                return -1;
  595|      0|            }
  596|      0|            arg->width = arg->width*10 + (arg->ch - '0');
  597|      0|        }
  598|      0|        assert(arg->width >= 0);
  ------------------
  |  Branch (598:9): [True: 0, False: 0]
  ------------------
  599|      0|    }
  600|       |
  601|       |    /* Parse precision. Example: "%.3f" => prec=3 */
  602|     21|    if (arg->ch == '.') {
  ------------------
  |  Branch (602:9): [True: 0, False: 21]
  ------------------
  603|      0|        arg->prec = 0;
  604|      0|        if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (604:13): [True: 0, False: 0]
  ------------------
  605|      0|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|      0|                   (index))
  |  |  ------------------
  ------------------
  606|      0|            ctx->fmtpos++;
  607|      0|        }
  608|      0|        if (arg->ch == '*') {
  ------------------
  |  Branch (608:13): [True: 0, False: 0]
  ------------------
  609|      0|            if (ctx->arglen < -1) {
  ------------------
  |  Branch (609:17): [True: 0, False: 0]
  ------------------
  610|      0|                PyErr_Format(PyExc_ValueError,
  611|      0|                        "* cannot be used with a parenthesised mapping key "
  612|      0|                        "at position %zd",
  613|      0|                        arg->fmtstart);
  614|      0|                return -1;
  615|      0|            }
  616|      0|            v = unicode_format_getnextarg(ctx, 0);
  617|      0|            if (v == NULL)
  ------------------
  |  Branch (617:17): [True: 0, False: 0]
  ------------------
  618|      0|                return -1;
  619|      0|            if (!PyLong_Check(v)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (619:17): [True: 0, False: 0]
  ------------------
  620|      0|                FORMAT_ERROR(PyExc_TypeError, "* requires int, not %T", v);
  ------------------
  |  |   81|      0|#define FORMAT_ERROR(EXC, FMT, ...) do {                                    \
  |  |   82|      0|    if (arg->key != NULL) {                                                 \
  |  |  ------------------
  |  |  |  Branch (82:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   83|      0|        PyErr_Format((EXC), "format argument %R: " FMT,                     \
  |  |   84|      0|                     arg->key, __VA_ARGS__);                                \
  |  |   85|      0|    }                                                                       \
  |  |   86|      0|    else if (ctx->argidx >= 0) {                                            \
  |  |  ------------------
  |  |  |  Branch (86:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   87|      0|        PyErr_Format((EXC), "format argument %zd: " FMT,                    \
  |  |   88|      0|                     ctx->argidx, __VA_ARGS__);                             \
  |  |   89|      0|    }                                                                       \
  |  |   90|      0|    else {                                                                  \
  |  |   91|      0|        PyErr_Format((EXC), "format argument: " FMT, __VA_ARGS__);          \
  |  |   92|      0|    }                                                                       \
  |  |   93|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (93:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  621|      0|                return -1;
  622|      0|            }
  623|      0|            arg->prec = PyLong_AsInt(v);
  624|      0|            if (arg->prec == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (624:17): [True: 0, False: 0]
  |  Branch (624:36): [True: 0, False: 0]
  ------------------
  625|      0|                if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (625:21): [True: 0, False: 0]
  ------------------
  626|      0|                    FORMAT_ERROR(PyExc_OverflowError,
  ------------------
  |  |   81|      0|#define FORMAT_ERROR(EXC, FMT, ...) do {                                    \
  |  |   82|      0|    if (arg->key != NULL) {                                                 \
  |  |  ------------------
  |  |  |  Branch (82:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   83|      0|        PyErr_Format((EXC), "format argument %R: " FMT,                     \
  |  |   84|      0|                     arg->key, __VA_ARGS__);                                \
  |  |   85|      0|    }                                                                       \
  |  |   86|      0|    else if (ctx->argidx >= 0) {                                            \
  |  |  ------------------
  |  |  |  Branch (86:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   87|      0|        PyErr_Format((EXC), "format argument %zd: " FMT,                    \
  |  |   88|      0|                     ctx->argidx, __VA_ARGS__);                             \
  |  |   89|      0|    }                                                                       \
  |  |   90|      0|    else {                                                                  \
  |  |   91|      0|        PyErr_Format((EXC), "format argument: " FMT, __VA_ARGS__);          \
  |  |   92|      0|    }                                                                       \
  |  |   93|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (93:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  627|      0|                                 "too big for precision%s", "");
  628|      0|                }
  629|      0|                return -1;
  630|      0|            }
  631|      0|            if (arg->prec < 0)
  ------------------
  |  Branch (631:17): [True: 0, False: 0]
  ------------------
  632|      0|                arg->prec = 0;
  633|      0|            if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (633:17): [True: 0, False: 0]
  ------------------
  634|      0|                arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|      0|                   (index))
  |  |  ------------------
  ------------------
  635|      0|                ctx->fmtpos++;
  636|      0|            }
  637|      0|        }
  638|      0|        else if (arg->ch >= '0' && arg->ch <= '9') {
  ------------------
  |  Branch (638:18): [True: 0, False: 0]
  |  Branch (638:36): [True: 0, False: 0]
  ------------------
  639|      0|            arg->prec = arg->ch - '0';
  640|      0|            while (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (640:20): [True: 0, False: 0]
  ------------------
  641|      0|                arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|      0|                   (index))
  |  |  ------------------
  ------------------
  642|      0|                ctx->fmtpos++;
  643|      0|                if (arg->ch < '0' || arg->ch > '9')
  ------------------
  |  Branch (643:21): [True: 0, False: 0]
  |  Branch (643:38): [True: 0, False: 0]
  ------------------
  644|      0|                    break;
  645|      0|                if (arg->prec > (INT_MAX - ((int)arg->ch - '0')) / 10) {
  ------------------
  |  Branch (645:21): [True: 0, False: 0]
  ------------------
  646|      0|                    PyErr_Format(PyExc_ValueError,
  647|      0|                                 "precision too big at position %zd",
  648|      0|                                 arg->fmtstart);
  649|      0|                    return -1;
  650|      0|                }
  651|      0|                arg->prec = arg->prec*10 + (arg->ch - '0');
  652|      0|            }
  653|      0|        }
  654|      0|        assert(arg->prec >= 0);
  ------------------
  |  Branch (654:9): [True: 0, False: 0]
  ------------------
  655|      0|    }
  656|       |
  657|       |    /* Ignore "h", "l" and "L" format prefix (ex: "%hi" or "%ls") */
  658|     21|    if (ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (658:9): [True: 21, False: 0]
  ------------------
  659|     21|        if (arg->ch == 'h' || arg->ch == 'l' || arg->ch == 'L') {
  ------------------
  |  Branch (659:13): [True: 0, False: 21]
  |  Branch (659:31): [True: 0, False: 21]
  |  Branch (659:49): [True: 0, False: 21]
  ------------------
  660|      0|            if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (660:17): [True: 0, False: 0]
  ------------------
  661|      0|                arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|      0|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  357|      0|                   (index))
  |  |  ------------------
  ------------------
  662|      0|                ctx->fmtpos++;
  663|      0|            }
  664|      0|        }
  665|     21|    }
  666|     21|    if (ctx->fmtcnt < 0) {
  ------------------
  |  Branch (666:9): [True: 0, False: 21]
  ------------------
  667|      0|        PyErr_Format(PyExc_ValueError,
  668|      0|                     "stray %% at position %zd", arg->fmtstart);
  669|      0|        return -1;
  670|      0|    }
  671|     21|    return 0;
  672|       |
  673|     21|#undef FORMAT_READ
  674|     21|}
unicode_format.c:unicode_format_getnextarg:
   98|     21|{
   99|     21|    Py_ssize_t argidx = ctx->argidx;
  100|       |
  101|     21|    if (argidx < ctx->arglen && (allowone || ctx->arglen >= 0)) {
  ------------------
  |  Branch (101:9): [True: 21, False: 0]
  |  Branch (101:34): [True: 21, False: 0]
  |  Branch (101:46): [True: 0, False: 0]
  ------------------
  102|     21|        ctx->argidx++;
  103|     21|        if (ctx->arglen >= 0) {
  ------------------
  |  Branch (103:13): [True: 0, False: 21]
  ------------------
  104|      0|            return PyTuple_GetItem(ctx->args, argidx);
  105|      0|        }
  106|     21|        else if (allowone) {
  ------------------
  |  Branch (106:18): [True: 21, False: 0]
  ------------------
  107|     21|            return ctx->args;
  108|     21|        }
  109|     21|    }
  110|      0|    PyErr_Format(PyExc_TypeError,
  111|      0|                 "not enough arguments for format string (got %zd)",
  112|      0|                 ctx->arglen < 0 ? 1 : ctx->arglen);
  ------------------
  |  Branch (112:18): [True: 0, False: 0]
  ------------------
  113|       |    return NULL;
  114|     21|}
unicode_format.c:unicode_format_arg_format:
  695|     21|{
  696|     21|    PyObject *v;
  697|     21|    _PyUnicodeWriter *writer = &ctx->writer;
  698|       |
  699|     21|    if (ctx->fmtcnt == 0)
  ------------------
  |  Branch (699:9): [True: 0, False: 21]
  ------------------
  700|      0|        ctx->writer.overallocate = 0;
  701|       |
  702|     21|    v = unicode_format_getnextarg(ctx, 1);
  703|     21|    if (v == NULL)
  ------------------
  |  Branch (703:9): [True: 0, False: 21]
  ------------------
  704|      0|        return -1;
  705|       |
  706|       |
  707|     21|    switch (arg->ch) {
  708|     21|    case 's':
  ------------------
  |  Branch (708:5): [True: 21, False: 0]
  ------------------
  709|     21|    case 'r':
  ------------------
  |  Branch (709:5): [True: 0, False: 21]
  ------------------
  710|     21|    case 'a':
  ------------------
  |  Branch (710:5): [True: 0, False: 21]
  ------------------
  711|     21|        if (arg->width < 0 && arg->prec < 0) {
  ------------------
  |  Branch (711:13): [True: 21, False: 0]
  |  Branch (711:31): [True: 21, False: 0]
  ------------------
  712|     21|            if (arg->ch == 's') {
  ------------------
  |  Branch (712:17): [True: 21, False: 0]
  ------------------
  713|     21|                if (PyUnicodeWriter_WriteStr((PyUnicodeWriter*)writer, v) < 0) {
  ------------------
  |  Branch (713:21): [True: 0, False: 21]
  ------------------
  714|      0|                    return -1;
  715|      0|                }
  716|     21|                return 1;
  717|     21|            }
  718|      0|            else if (arg->ch == 'r') {
  ------------------
  |  Branch (718:22): [True: 0, False: 0]
  ------------------
  719|      0|                if (PyUnicodeWriter_WriteRepr((PyUnicodeWriter*)writer, v) < 0) {
  ------------------
  |  Branch (719:21): [True: 0, False: 0]
  ------------------
  720|      0|                    return -1;
  721|      0|                }
  722|      0|                return 1;
  723|      0|            }
  724|     21|        }
  725|       |
  726|      0|        if (arg->ch == 's')
  ------------------
  |  Branch (726:13): [True: 0, False: 0]
  ------------------
  727|      0|            *p_str = PyObject_Str(v);
  728|      0|        else if (arg->ch == 'r')
  ------------------
  |  Branch (728:18): [True: 0, False: 0]
  ------------------
  729|      0|            *p_str = PyObject_Repr(v);
  730|      0|        else
  731|      0|            *p_str = PyObject_ASCII(v);
  732|      0|        break;
  733|       |
  734|      0|    case 'i':
  ------------------
  |  Branch (734:5): [True: 0, False: 21]
  ------------------
  735|      0|    case 'd':
  ------------------
  |  Branch (735:5): [True: 0, False: 21]
  ------------------
  736|      0|    case 'u':
  ------------------
  |  Branch (736:5): [True: 0, False: 21]
  ------------------
  737|      0|    case 'o':
  ------------------
  |  Branch (737:5): [True: 0, False: 21]
  ------------------
  738|      0|    case 'x':
  ------------------
  |  Branch (738:5): [True: 0, False: 21]
  ------------------
  739|      0|    case 'X':
  ------------------
  |  Branch (739:5): [True: 0, False: 21]
  ------------------
  740|      0|    {
  741|      0|        int ret = mainformatlong(v, ctx, arg, p_str, writer);
  742|      0|        if (ret != 0)
  ------------------
  |  Branch (742:13): [True: 0, False: 0]
  ------------------
  743|      0|            return ret;
  744|      0|        arg->sign = 1;
  745|      0|        break;
  746|      0|    }
  747|       |
  748|      0|    case 'e':
  ------------------
  |  Branch (748:5): [True: 0, False: 21]
  ------------------
  749|      0|    case 'E':
  ------------------
  |  Branch (749:5): [True: 0, False: 21]
  ------------------
  750|      0|    case 'f':
  ------------------
  |  Branch (750:5): [True: 0, False: 21]
  ------------------
  751|      0|    case 'F':
  ------------------
  |  Branch (751:5): [True: 0, False: 21]
  ------------------
  752|      0|    case 'g':
  ------------------
  |  Branch (752:5): [True: 0, False: 21]
  ------------------
  753|      0|    case 'G':
  ------------------
  |  Branch (753:5): [True: 0, False: 21]
  ------------------
  754|      0|        if (arg->width == -1 && arg->prec == -1
  ------------------
  |  Branch (754:13): [True: 0, False: 0]
  |  Branch (754:33): [True: 0, False: 0]
  ------------------
  755|      0|            && !(arg->flags & (F_SIGN | F_BLANK)))
  ------------------
  |  |   19|      0|#define F_SIGN  (1<<1)
  ------------------
                          && !(arg->flags & (F_SIGN | F_BLANK)))
  ------------------
  |  |   20|      0|#define F_BLANK (1<<2)
  ------------------
  |  Branch (755:16): [True: 0, False: 0]
  ------------------
  756|      0|        {
  757|       |            /* Fast path */
  758|      0|            if (formatfloat(v, ctx, arg, NULL, writer) == -1)
  ------------------
  |  Branch (758:17): [True: 0, False: 0]
  ------------------
  759|      0|                return -1;
  760|      0|            return 1;
  761|      0|        }
  762|       |
  763|      0|        arg->sign = 1;
  764|      0|        if (formatfloat(v, ctx, arg, p_str, NULL) == -1)
  ------------------
  |  Branch (764:13): [True: 0, False: 0]
  ------------------
  765|      0|            return -1;
  766|      0|        break;
  767|       |
  768|      0|    case 'c':
  ------------------
  |  Branch (768:5): [True: 0, False: 21]
  ------------------
  769|      0|    {
  770|      0|        Py_UCS4 ch = formatchar(v, ctx, arg);
  771|      0|        if (ch == (Py_UCS4) -1)
  ------------------
  |  Branch (771:13): [True: 0, False: 0]
  ------------------
  772|      0|            return -1;
  773|      0|        if (arg->width == -1 && arg->prec == -1) {
  ------------------
  |  Branch (773:13): [True: 0, False: 0]
  |  Branch (773:33): [True: 0, False: 0]
  ------------------
  774|       |            /* Fast path */
  775|      0|            if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0)
  ------------------
  |  Branch (775:17): [True: 0, False: 0]
  ------------------
  776|      0|                return -1;
  777|      0|            return 1;
  778|      0|        }
  779|      0|        *p_str = PyUnicode_FromOrdinal(ch);
  780|      0|        break;
  781|      0|    }
  782|       |
  783|      0|    default:
  ------------------
  |  Branch (783:5): [True: 0, False: 21]
  ------------------
  784|      0|        if (arg->ch < 128 && Py_ISALPHA(arg->ch)) {
  ------------------
  |  |   23|      0|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|      0|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      0|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|      0|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (784:13): [True: 0, False: 0]
  ------------------
  785|      0|            PyErr_Format(PyExc_ValueError,
  786|      0|                         "unsupported format %%%c at position %zd",
  787|      0|                         (int)arg->ch, arg->fmtstart);
  788|      0|        }
  789|      0|        else if (arg->ch == '\'') {
  ------------------
  |  Branch (789:18): [True: 0, False: 0]
  ------------------
  790|      0|            PyErr_Format(PyExc_ValueError,
  791|      0|                         "stray %% at position %zd or unexpected "
  792|      0|                         "format character \"'\" at position %zd",
  793|      0|                         arg->fmtstart,
  794|      0|                         ctx->fmtpos - 1);
  795|      0|        }
  796|      0|        else if (arg->ch >= 32 && arg->ch < 127) {
  ------------------
  |  Branch (796:18): [True: 0, False: 0]
  |  Branch (796:35): [True: 0, False: 0]
  ------------------
  797|      0|            PyErr_Format(PyExc_ValueError,
  798|      0|                         "stray %% at position %zd or unexpected "
  799|      0|                         "format character '%c' at position %zd",
  800|      0|                         arg->fmtstart,
  801|      0|                         (int)arg->ch, ctx->fmtpos - 1);
  802|      0|        }
  803|      0|        else if (Py_UNICODE_ISPRINTABLE(arg->ch)) {
  ------------------
  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  |  |  |  Branch (722:36): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  804|      0|            PyErr_Format(PyExc_ValueError,
  805|      0|                         "stray %% at position %zd or unexpected "
  806|      0|                         "format character '%c' (U+%04X) at position %zd",
  807|      0|                         arg->fmtstart,
  808|      0|                         (int)arg->ch, (int)arg->ch, ctx->fmtpos - 1);
  809|      0|        }
  810|      0|        else {
  811|      0|            PyErr_Format(PyExc_ValueError,
  812|      0|                         "stray %% at position %zd or unexpected "
  813|      0|                         "format character U+%04X at position %zd",
  814|      0|                         arg->fmtstart, (int)arg->ch, ctx->fmtpos - 1);
  815|      0|        }
  816|      0|        return -1;
  817|     21|    }
  818|      0|    if (*p_str == NULL)
  ------------------
  |  Branch (818:9): [True: 0, False: 0]
  ------------------
  819|      0|        return -1;
  820|      0|    assert (PyUnicode_Check(*p_str));
  ------------------
  |  Branch (820:5): [True: 0, False: 0]
  ------------------
  821|      0|    return 0;
  822|      0|}

_PyUnicodeWriter_Init:
   67|   453k|{
   68|   453k|    memset(writer, 0, sizeof(*writer));
   69|       |
   70|       |    /* ASCII is the bare minimum */
   71|   453k|    writer->min_char = 127;
   72|       |
   73|       |    /* use a kind value smaller than PyUnicode_1BYTE_KIND so
   74|       |       _PyUnicodeWriter_PrepareKind() will copy the buffer. */
   75|   453k|    assert(writer->kind == 0);
  ------------------
  |  Branch (75:5): [True: 453k, False: 0]
  ------------------
   76|   453k|    assert(writer->kind < PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (76:5): [True: 453k, False: 0]
  ------------------
   77|   453k|}
_PyUnicodeWriter_InitWithBuffer:
  124|   956k|{
  125|   956k|    assert(PyUnstable_Object_IsUniquelyReferenced(buffer));
  ------------------
  |  Branch (125:5): [True: 956k, False: 0]
  ------------------
  126|       |
  127|   956k|    memset(writer, 0, sizeof(*writer));
  128|   956k|    _PyUnicodeWriter_SetBuffer(writer, buffer);
  129|   956k|    writer->min_length = writer->size;
  130|       |    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (130:5): [True: 956k, False: 0]
  ------------------
  131|   956k|}
_PyUnicodeWriter_PrepareInternal:
  137|  1.36M|{
  138|  1.36M|    assert(length >= 0);
  ------------------
  |  Branch (138:5): [True: 1.36M, False: 0]
  ------------------
  139|  1.36M|    assert(maxchar <= _Py_MAX_UNICODE);
  ------------------
  |  Branch (139:5): [True: 1.36M, False: 0]
  ------------------
  140|       |
  141|       |    // Check that _PyUnicodeWriter_Prepare() or _PyUnicodeWriter_PrepareKind()
  142|       |    // was used
  143|  1.36M|    assert(maxchar > writer->maxchar
  ------------------
  |  Branch (143:5): [True: 297, False: 0]
  |  Branch (143:5): [True: 297, False: 0]
  |  Branch (143:5): [True: 1.36M, False: 297]
  ------------------
  144|  1.36M|           || (length > (writer->size - writer->pos) && length >= 1));
  145|       |
  146|  1.36M|    if (length > PY_SSIZE_T_MAX - writer->pos) {
  ------------------
  |  |  137|  1.36M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (146:9): [True: 0, False: 1.36M]
  ------------------
  147|      0|        PyErr_NoMemory();
  148|      0|        return -1;
  149|      0|    }
  150|  1.36M|    Py_ssize_t alloc = writer->pos + length;
  151|       |
  152|  1.36M|    maxchar = Py_MAX(maxchar, writer->min_char);
  ------------------
  |  |  133|  1.36M|       __extension__ \
  |  |  134|  1.36M|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  1.36M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  1.36M|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  1.36M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  1.36M|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 1.29M, False: 68.8k]
  |  |  ------------------
  ------------------
  153|       |
  154|  1.36M|    PyObject *new_buffer;
  155|  1.36M|    if (writer->buffer == NULL) {
  ------------------
  |  Branch (155:9): [True: 388k, False: 978k]
  ------------------
  156|   388k|        assert(!writer->readonly);
  ------------------
  |  Branch (156:9): [True: 388k, False: 0]
  ------------------
  157|       |
  158|       |        // Do not overallocate at the first allocation, but use min_length
  159|   388k|        if (alloc < writer->min_length) {
  ------------------
  |  Branch (159:13): [True: 388k, False: 167]
  ------------------
  160|   388k|            alloc = writer->min_length;
  161|   388k|        }
  162|       |
  163|   388k|        new_buffer = PyUnicode_New(alloc, maxchar);
  164|   388k|        if (new_buffer == NULL) {
  ------------------
  |  Branch (164:13): [True: 0, False: 388k]
  ------------------
  165|      0|            return -1;
  166|      0|        }
  167|   388k|    }
  168|   978k|    else if (alloc > writer->size) {
  ------------------
  |  Branch (168:14): [True: 297, False: 978k]
  ------------------
  169|       |        // Do not overallocate at the first allocation, but use min_length
  170|    297|        int overallocate = (writer->overallocate && !writer->readonly);
  ------------------
  |  Branch (170:29): [True: 34, False: 263]
  |  Branch (170:53): [True: 18, False: 16]
  ------------------
  171|    297|        if (overallocate
  ------------------
  |  Branch (171:13): [True: 18, False: 279]
  ------------------
  172|     18|            && alloc <= (PY_SSIZE_T_MAX - alloc / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|     18|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                          && alloc <= (PY_SSIZE_T_MAX - alloc / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |   52|     18|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (172:16): [True: 18, False: 0]
  ------------------
  173|       |            /* overallocate to limit the number of realloc() */
  174|     18|            alloc += alloc / OVERALLOCATE_FACTOR;
  ------------------
  |  |   52|     18|#  define OVERALLOCATE_FACTOR 4
  ------------------
  175|     18|        }
  176|    297|        if (alloc < writer->min_length) {
  ------------------
  |  Branch (176:13): [True: 16, False: 281]
  ------------------
  177|     16|            alloc = writer->min_length;
  178|     16|        }
  179|       |
  180|    297|        if (maxchar > writer->maxchar || writer->readonly) {
  ------------------
  |  Branch (180:13): [True: 0, False: 297]
  |  Branch (180:42): [True: 16, False: 281]
  ------------------
  181|       |            /* resize + widen */
  182|     16|            maxchar = Py_MAX(maxchar, writer->maxchar);
  ------------------
  |  |  133|     16|       __extension__ \
  |  |  134|     16|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|     16|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|     16|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 16]
  |  |  ------------------
  ------------------
  183|     16|            new_buffer = PyUnicode_New(alloc, maxchar);
  184|     16|            if (new_buffer == NULL) {
  ------------------
  |  Branch (184:17): [True: 0, False: 16]
  ------------------
  185|      0|                return -1;
  186|      0|            }
  187|     16|            _PyUnicode_FastCopyCharacters(new_buffer, 0,
  188|     16|                                          writer->buffer, 0, writer->pos);
  189|     16|        }
  190|    281|        else {
  191|    281|            new_buffer = _PyUnicode_ResizeCompact(writer->buffer, alloc);
  192|    281|            if (new_buffer == NULL) {
  ------------------
  |  Branch (192:17): [True: 0, False: 281]
  ------------------
  193|      0|                return -1;
  194|      0|            }
  195|       |            // Do not DECREF the old buffer
  196|    281|            writer->buffer = NULL;
  197|    281|        }
  198|    297|    }
  199|   978k|    else {
  200|   978k|        assert(maxchar > writer->maxchar);
  ------------------
  |  Branch (200:9): [True: 978k, False: 0]
  ------------------
  201|   978k|        assert(!writer->readonly);
  ------------------
  |  Branch (201:9): [True: 978k, False: 0]
  ------------------
  202|       |
  203|   978k|        new_buffer = PyUnicode_New(writer->size, maxchar);
  204|   978k|        if (new_buffer == NULL) {
  ------------------
  |  Branch (204:13): [True: 0, False: 978k]
  ------------------
  205|      0|            return -1;
  206|      0|        }
  207|   978k|        _PyUnicode_FastCopyCharacters(new_buffer, 0,
  208|   978k|                                      writer->buffer, 0, writer->pos);
  209|   978k|    }
  210|       |
  211|  1.36M|    _PyUnicodeWriter_SetBuffer(writer, new_buffer);
  212|  1.36M|    return 0;
  213|       |
  214|  1.36M|#undef OVERALLOCATE_FACTOR
  215|  1.36M|}
_PyUnicodeWriter_PrepareKindInternal:
  220|      6|{
  221|      6|    Py_UCS4 maxchar;
  222|       |
  223|       |    /* ensure that the _PyUnicodeWriter_PrepareKind macro was used */
  224|      6|    assert(writer->kind < kind);
  ------------------
  |  Branch (224:5): [True: 6, False: 0]
  ------------------
  225|       |
  226|      6|    switch (kind)
  227|      6|    {
  228|      0|    case PyUnicode_1BYTE_KIND: maxchar = 0xff; break;
  ------------------
  |  Branch (228:5): [True: 0, False: 6]
  ------------------
  229|      6|    case PyUnicode_2BYTE_KIND: maxchar = 0xffff; break;
  ------------------
  |  Branch (229:5): [True: 6, False: 0]
  ------------------
  230|      0|    case PyUnicode_4BYTE_KIND: maxchar = _Py_MAX_UNICODE; break;
  ------------------
  |  |   18|      0|#define _Py_MAX_UNICODE 0x10ffff
  ------------------
  |  Branch (230:5): [True: 0, False: 6]
  ------------------
  231|      0|    default:
  ------------------
  |  Branch (231:5): [True: 0, False: 6]
  ------------------
  232|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  233|      6|    }
  234|       |
  235|      6|    return _PyUnicodeWriter_PrepareInternal(writer, 0, maxchar);
  236|      6|}
_PyUnicodeWriter_WriteStr:
  261|  56.1k|{
  262|  56.1k|    assert(PyUnicode_Check(str));
  ------------------
  |  Branch (262:5): [True: 56.1k, False: 0]
  ------------------
  263|       |
  264|  56.1k|    Py_ssize_t len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|  56.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  265|  56.1k|    if (len == 0) {
  ------------------
  |  Branch (265:9): [True: 0, False: 56.1k]
  ------------------
  266|      0|        return 0;
  267|      0|    }
  268|  56.1k|    Py_UCS4 maxchar = PyUnicode_MAX_CHAR_VALUE(str);
  ------------------
  |  |  406|  56.1k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  269|       |
  270|  56.1k|    if (maxchar > writer->maxchar || len > writer->size - writer->pos) {
  ------------------
  |  Branch (270:9): [True: 46, False: 56.1k]
  |  Branch (270:38): [True: 2, False: 56.1k]
  ------------------
  271|     48|        if (writer->buffer == NULL && PyUnicode_CheckExact(str)) {
  ------------------
  |  |  104|     16|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (271:13): [True: 16, False: 32]
  ------------------
  272|     16|            assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (272:13): [True: 16, False: 0]
  ------------------
  273|     16|            _PyUnicodeWriter_SetReadOnly(writer, Py_NewRef(str), len);
  ------------------
  |  |  647|     16|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|     16|            return 0;
  275|     16|        }
  276|     32|        if (_PyUnicodeWriter_PrepareInternal(writer, len, maxchar) == -1)
  ------------------
  |  Branch (276:13): [True: 0, False: 32]
  ------------------
  277|      0|            return -1;
  278|     32|    }
  279|       |
  280|  56.1k|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (280:5): [True: 56.1k, False: 0]
  ------------------
  281|  56.1k|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  282|  56.1k|                                  str, 0, len);
  283|  56.1k|    writer->pos += len;
  284|  56.1k|    return 0;
  285|  56.1k|}
PyUnicodeWriter_WriteStr:
  290|     21|{
  291|     21|    _PyUnicodeWriter *writer = (_PyUnicodeWriter*)pub_writer;
  292|     21|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  293|     21|    if (type == &PyUnicode_Type) {
  ------------------
  |  Branch (293:9): [True: 21, False: 0]
  ------------------
  294|     21|        return _PyUnicodeWriter_WriteStr(writer, obj);
  295|     21|    }
  296|       |
  297|      0|    if (type == &PyLong_Type) {
  ------------------
  |  Branch (297:9): [True: 0, False: 0]
  ------------------
  298|      0|        return _PyLong_FormatWriter(writer, obj, 10, 0);
  299|      0|    }
  300|       |
  301|      0|    PyObject *str = PyObject_Str(obj);
  302|      0|    if (str == NULL) {
  ------------------
  |  Branch (302:9): [True: 0, False: 0]
  ------------------
  303|      0|        return -1;
  304|      0|    }
  305|       |
  306|      0|    int res = _PyUnicodeWriter_WriteStr(writer, str);
  307|      0|    Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  308|      0|    return res;
  309|      0|}
_PyUnicodeWriter_WriteSubstring:
  342|     42|{
  343|     42|    assert(0 <= start);
  ------------------
  |  Branch (343:5): [True: 42, False: 0]
  ------------------
  344|     42|    assert(start <= end);
  ------------------
  |  Branch (344:5): [True: 42, False: 0]
  ------------------
  345|     42|    assert(end <= PyUnicode_GET_LENGTH(str));
  ------------------
  |  Branch (345:5): [True: 42, False: 0]
  ------------------
  346|       |
  347|     42|    if (start == 0 && end == PyUnicode_GET_LENGTH(str)) {
  ------------------
  |  |  300|     21|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (347:9): [True: 21, False: 21]
  |  Branch (347:23): [True: 0, False: 21]
  ------------------
  348|      0|        return _PyUnicodeWriter_WriteStr(writer, str);
  349|      0|    }
  350|       |
  351|     42|    Py_ssize_t len = end - start;
  352|     42|    if (len == 0) {
  ------------------
  |  Branch (352:9): [True: 0, False: 42]
  ------------------
  353|      0|        return 0;
  354|      0|    }
  355|       |
  356|     42|    Py_UCS4 maxchar;
  357|     42|    if (PyUnicode_MAX_CHAR_VALUE(str) > writer->maxchar) {
  ------------------
  |  |  406|     42|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (357:9): [True: 21, False: 21]
  ------------------
  358|     21|        maxchar = _PyUnicode_FindMaxChar(str, start, end);
  359|     21|    }
  360|     21|    else {
  361|     21|        maxchar = writer->maxchar;
  362|     21|    }
  363|     42|    if (_PyUnicodeWriter_Prepare(writer, len, maxchar) < 0) {
  ------------------
  |  Branch (363:9): [True: 0, False: 42]
  ------------------
  364|      0|        return -1;
  365|      0|    }
  366|     42|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (366:5): [True: 42, False: 0]
  ------------------
  367|       |
  368|     42|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  369|     42|                                  str, start, len);
  370|     42|    writer->pos += len;
  371|     42|    return 0;
  372|     42|}
_PyUnicodeWriter_WriteASCIIString:
  400|   219k|{
  401|   219k|    if (len == -1)
  ------------------
  |  Branch (401:9): [True: 0, False: 219k]
  ------------------
  402|      0|        len = strlen(ascii);
  403|       |
  404|   219k|    if (len == 0) {
  ------------------
  |  Branch (404:9): [True: 0, False: 219k]
  ------------------
  405|      0|        return 0;
  406|      0|    }
  407|       |
  408|   219k|    assert(ucs1lib_find_max_char((const Py_UCS1*)ascii, (const Py_UCS1*)ascii + len) <= 127);
  ------------------
  |  Branch (408:5): [True: 219k, False: 0]
  ------------------
  409|       |
  410|   219k|    if (_PyUnicodeWriter_Prepare(writer, len, 127) == -1) {
  ------------------
  |  Branch (410:9): [True: 0, False: 219k]
  ------------------
  411|      0|        return -1;
  412|      0|    }
  413|   219k|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (413:5): [True: 219k, False: 0]
  ------------------
  414|       |
  415|   219k|    switch (writer->kind)
  416|   219k|    {
  417|   218k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (417:5): [True: 218k, False: 964]
  ------------------
  418|   218k|    {
  419|   218k|        const Py_UCS1 *str = (const Py_UCS1 *)ascii;
  420|   218k|        Py_UCS1 *data = writer->data;
  421|       |
  422|   218k|        memcpy(data + writer->pos, str, len);
  423|   218k|        break;
  424|      0|    }
  425|    936|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (425:5): [True: 936, False: 218k]
  ------------------
  426|    936|    {
  427|    936|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|    936|    do {                                                \
  |  |   48|    936|        to_type *_to = (to_type *)(to);                 \
  |  |   49|    936|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|    936|        const from_type *_end = (const from_type *)(end);\
  |  |   51|    936|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|    936|        const from_type *_unrolled_end =                \
  |  |   53|    936|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|    936|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  1.64k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 704, False: 936]
  |  |  ------------------
  |  |   55|    704|            _to[0] = (to_type) _iter[0];                \
  |  |   56|    704|            _to[1] = (to_type) _iter[1];                \
  |  |   57|    704|            _to[2] = (to_type) _iter[2];                \
  |  |   58|    704|            _to[3] = (to_type) _iter[3];                \
  |  |   59|    704|            _iter += 4; _to += 4;                       \
  |  |   60|    704|        }                                               \
  |  |   61|  2.57k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 1.63k, False: 936]
  |  |  ------------------
  |  |   62|  1.63k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|    936|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 936]
  |  |  ------------------
  ------------------
  428|    936|            Py_UCS1, Py_UCS2,
  429|    936|            ascii, ascii + len,
  430|    936|            (Py_UCS2 *)writer->data + writer->pos);
  431|    936|        break;
  432|      0|    }
  433|     28|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (433:5): [True: 28, False: 219k]
  ------------------
  434|     28|    {
  435|     28|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|     28|    do {                                                \
  |  |   48|     28|        to_type *_to = (to_type *)(to);                 \
  |  |   49|     28|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|     28|        const from_type *_end = (const from_type *)(end);\
  |  |   51|     28|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|     28|        const from_type *_unrolled_end =                \
  |  |   53|     28|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|     28|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|     49|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 21, False: 28]
  |  |  ------------------
  |  |   55|     21|            _to[0] = (to_type) _iter[0];                \
  |  |   56|     21|            _to[1] = (to_type) _iter[1];                \
  |  |   57|     21|            _to[2] = (to_type) _iter[2];                \
  |  |   58|     21|            _to[3] = (to_type) _iter[3];                \
  |  |   59|     21|            _iter += 4; _to += 4;                       \
  |  |   60|     21|        }                                               \
  |  |   61|     81|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 53, False: 28]
  |  |  ------------------
  |  |   62|     53|            *_to++ = (to_type) *_iter++;                \
  |  |   63|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
  436|     28|            Py_UCS1, Py_UCS4,
  437|     28|            ascii, ascii + len,
  438|     28|            (Py_UCS4 *)writer->data + writer->pos);
  439|     28|        break;
  440|      0|    }
  441|      0|    default:
  ------------------
  |  Branch (441:5): [True: 0, False: 219k]
  ------------------
  442|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  443|   219k|    }
  444|       |
  445|   219k|    writer->pos += len;
  446|   219k|    return 0;
  447|   219k|}
_PyUnicodeWriter_Finish:
  541|  1.40M|{
  542|       |#ifdef Py_DEBUG
  543|       |    // Check for buffer overflow
  544|       |    if (writer->buffer != NULL) {
  545|       |        Py_ssize_t pos = PyUnicode_GET_LENGTH(writer->buffer);
  546|       |        Py_UCS4 ch = PyUnicode_READ_CHAR(writer->buffer, pos);
  547|       |        if (ch != 0) {
  548|       |            _Py_FatalErrorFormat(__func__,
  549|       |                                 "Buffer overflow detected in "
  550|       |                                 "PyUnicodeWriter %p at position %zd",
  551|       |                                 writer, pos);
  552|       |        }
  553|       |    }
  554|       |#endif
  555|       |
  556|  1.40M|    PyObject *str = writer->buffer;
  557|  1.40M|    writer->buffer = NULL;
  558|       |
  559|  1.40M|    Py_ssize_t final_size = writer->pos;
  560|  1.40M|    if (final_size == 0) {
  ------------------
  |  Branch (560:9): [True: 0, False: 1.40M]
  ------------------
  561|       |        // Get the empty string singleton
  562|      0|        PyObject *empty = _PyUnicode_GetEmpty();
  563|      0|        Py_XDECREF(str);  // writer->buffer can be NULL if the position is 0
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  564|      0|        return empty;
  565|      0|    }
  566|       |
  567|  1.40M|    if (writer->readonly) {
  ------------------
  |  Branch (567:9): [True: 64.7k, False: 1.34M]
  ------------------
  568|  64.7k|        assert(final_size == PyUnicode_GET_LENGTH(str));
  ------------------
  |  Branch (568:9): [True: 64.7k, False: 0]
  ------------------
  569|  64.7k|        goto done;
  570|  64.7k|    }
  571|  1.40M|    assert(final_size <= PyUnicode_GET_LENGTH(str));
  ------------------
  |  Branch (571:5): [True: 1.34M, False: 0]
  ------------------
  572|       |
  573|  1.34M|    if (final_size == 1 && PyUnicode_KIND(str) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  259|   574k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.14M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 574k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (573:9): [True: 574k, False: 770k]
  |  Branch (573:28): [True: 27.2k, False: 547k]
  ------------------
  574|       |        // Get the single character singleton
  575|  27.2k|        assert(PyUnicode_GET_LENGTH(str) >= 1);
  ------------------
  |  Branch (575:9): [True: 27.2k, False: 0]
  ------------------
  576|  27.2k|        const Py_UCS1 *data = PyUnicode_1BYTE_DATA(str);
  ------------------
  |  |  292|  27.2k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  27.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  577|  27.2k|        Py_UCS1 ch = data[0];
  578|  27.2k|        Py_DECREF(str);
  ------------------
  |  |  430|  27.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  579|  27.2k|        str = _Py_LATIN1_CHR(ch);
  ------------------
  |  |  955|  27.2k|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (955:6): [True: 0, False: 27.2k]
  |  |  ------------------
  |  |  956|  27.2k|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  957|  27.2k|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|  27.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  27.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  580|  27.2k|        goto done;
  581|  27.2k|    }
  582|       |
  583|  1.31M|    if (writer->recheck_maxchar) {
  ------------------
  |  Branch (583:9): [True: 0, False: 1.31M]
  ------------------
  584|      0|        Py_UCS4 maxchar = _PyUnicode_FindMaxChar(str, 0, final_size);
  585|      0|        if (maxchar != writer->maxchar) {
  ------------------
  |  Branch (585:13): [True: 0, False: 0]
  ------------------
  586|       |            // Adjust the string kind
  587|      0|            PyObject *str2 = PyUnicode_New(final_size, maxchar);
  588|      0|            if (str2 == NULL) {
  ------------------
  |  Branch (588:17): [True: 0, False: 0]
  ------------------
  589|      0|                Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  590|      0|                return NULL;
  591|      0|            }
  592|      0|            _PyUnicode_FastCopyCharacters(str2, 0, str, 0, final_size);
  593|      0|            Py_SETREF(str, str2);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  594|      0|            goto done;
  595|      0|        }
  596|      0|    }
  597|       |
  598|  1.31M|    if (PyUnicode_GET_LENGTH(str) != final_size) {
  ------------------
  |  |  300|  1.31M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (598:9): [True: 1.31M, False: 874]
  ------------------
  599|       |        // Truncate the string
  600|  1.31M|        PyObject *str2 = _PyUnicode_ResizeCompact(str, final_size);
  601|  1.31M|        if (str2 == NULL) {
  ------------------
  |  Branch (601:13): [True: 0, False: 1.31M]
  ------------------
  602|      0|            Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  603|      0|            return NULL;
  604|      0|        }
  605|  1.31M|        str = str2;
  606|  1.31M|        goto done;
  607|  1.31M|    }
  608|       |
  609|  1.40M|done:
  610|  1.40M|    assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (610:5): [True: 1.40M, False: 0]
  ------------------
  611|  1.40M|    return str;
  612|  1.40M|}
_PyUnicodeWriter_Dealloc:
  647|    381|{
  648|       |    Py_CLEAR(writer->buffer);
  ------------------
  |  |  487|    381|    do { \
  |  |  488|    381|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    381|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    381|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    381|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    381|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    381|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 146, False: 235]
  |  |  ------------------
  |  |  491|    146|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    146|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    146|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    146|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    146|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    146|        } \
  |  |  494|    381|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 381]
  |  |  ------------------
  ------------------
  649|    381|}

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

_PyUnicode_GetEmpty:
  193|   516k|{
  194|   516k|    _Py_DECLARE_STR(empty, "");
  195|   516k|    return &_Py_STR(empty);
  ------------------
  |  |  953|   516k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   516k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   516k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|   516k|}
_Py_GetErrorHandler:
  460|    192|{
  461|    192|    if (errors == NULL || strcmp(errors, "strict") == 0) {
  ------------------
  |  Branch (461:9): [True: 0, False: 192]
  |  Branch (461:27): [True: 129, False: 63]
  ------------------
  462|    129|        return _Py_ERROR_STRICT;
  463|    129|    }
  464|     63|    if (strcmp(errors, "surrogateescape") == 0) {
  ------------------
  |  Branch (464:9): [True: 56, False: 7]
  ------------------
  465|     56|        return _Py_ERROR_SURROGATEESCAPE;
  466|     56|    }
  467|      7|    if (strcmp(errors, "replace") == 0) {
  ------------------
  |  Branch (467:9): [True: 6, False: 1]
  ------------------
  468|      6|        return _Py_ERROR_REPLACE;
  469|      6|    }
  470|      1|    if (strcmp(errors, "ignore") == 0) {
  ------------------
  |  Branch (470:9): [True: 0, False: 1]
  ------------------
  471|      0|        return _Py_ERROR_IGNORE;
  472|      0|    }
  473|      1|    if (strcmp(errors, "backslashreplace") == 0) {
  ------------------
  |  Branch (473:9): [True: 0, False: 1]
  ------------------
  474|      0|        return _Py_ERROR_BACKSLASHREPLACE;
  475|      0|    }
  476|      1|    if (strcmp(errors, "surrogatepass") == 0) {
  ------------------
  |  Branch (476:9): [True: 1, False: 0]
  ------------------
  477|      1|        return _Py_ERROR_SURROGATEPASS;
  478|      1|    }
  479|      0|    if (strcmp(errors, "xmlcharrefreplace") == 0) {
  ------------------
  |  Branch (479:9): [True: 0, False: 0]
  ------------------
  480|      0|        return _Py_ERROR_XMLCHARREFREPLACE;
  481|      0|    }
  482|      0|    return _Py_ERROR_OTHER;
  483|      0|}
_PyUnicode_CheckConsistency:
  579|  15.3M|{
  580|  15.3M|#define CHECK(expr) \
  581|  15.3M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  582|       |#ifdef Py_GIL_DISABLED
  583|       |# define CHECK_IF_GIL(expr) (void)(expr)
  584|       |# define CHECK_IF_FT(expr) CHECK(expr)
  585|       |#else
  586|  15.3M|# define CHECK_IF_GIL(expr) CHECK(expr)
  587|  15.3M|# define CHECK_IF_FT(expr) (void)(expr)
  588|  15.3M|#endif
  589|       |
  590|  15.3M|    assert(op != NULL);
  ------------------
  |  Branch (590:5): [True: 15.3M, False: 0]
  ------------------
  591|  15.3M|    CHECK(PyUnicode_Check(op));
  ------------------
  |  |  581|  15.3M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 15.3M]
  |  |  |  Branch (581:89): [Folded, False: 15.3M]
  |  |  ------------------
  ------------------
  592|       |
  593|  15.3M|    PyASCIIObject *ascii = _PyASCIIObject_CAST(op);
  ------------------
  |  |  186|  15.3M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  15.3M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  15.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (593:28): [True: 15.3M, False: 0]
  ------------------
  594|      0|    int kind = ascii->state.kind;
  595|       |
  596|  15.3M|    if (ascii->state.ascii == 1 && ascii->state.compact == 1) {
  ------------------
  |  Branch (596:9): [True: 8.75M, False: 6.59M]
  |  Branch (596:36): [True: 8.75M, False: 7]
  ------------------
  597|  8.75M|        CHECK(kind == PyUnicode_1BYTE_KIND);
  ------------------
  |  |  581|  8.75M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 8.75M]
  |  |  |  Branch (581:89): [Folded, False: 8.75M]
  |  |  ------------------
  ------------------
  598|  8.75M|    }
  599|  6.59M|    else {
  600|  6.59M|        PyCompactUnicodeObject *compact = _PyCompactUnicodeObject_CAST(op);
  ------------------
  |  |  189|  6.59M|    (assert(!(_PyASCIIObject_CAST(op)->state.ascii \
  |  |  190|  6.59M|              && _PyASCIIObject_CAST(op)->state.compact)), \
  |  |  191|  6.59M|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (600:43): [True: 6.59M, False: 0]
  |  Branch (600:43): [True: 7, False: 0]
  |  Branch (600:43): [True: 7, False: 6.59M]
  |  Branch (600:43): [True: 0, False: 7]
  ------------------
  601|      0|        void *data;
  602|       |
  603|  6.59M|        if (ascii->state.compact == 1) {
  ------------------
  |  Branch (603:13): [True: 6.59M, False: 7]
  ------------------
  604|  6.59M|            data = compact + 1;
  605|  6.59M|            CHECK(kind == PyUnicode_1BYTE_KIND
  ------------------
  |  |  581|  21.7M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:16): [True: 260k, False: 6.33M]
  |  |  |  Branch (581:16): [True: 4.12M, False: 2.20M]
  |  |  |  Branch (581:16): [True: 2.20M, False: 0]
  |  |  |  Branch (581:89): [Folded, False: 6.59M]
  |  |  ------------------
  ------------------
  606|  6.59M|                                 || kind == PyUnicode_2BYTE_KIND
  607|  6.59M|                                 || kind == PyUnicode_4BYTE_KIND);
  608|  6.59M|            CHECK(ascii->state.ascii == 0);
  ------------------
  |  |  581|  6.59M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 6.59M]
  |  |  |  Branch (581:89): [Folded, False: 6.59M]
  |  |  ------------------
  ------------------
  609|  6.59M|            CHECK(_PyUnicode_UTF8(op) != data);
  ------------------
  |  |  581|  6.59M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 6.59M]
  |  |  |  Branch (581:89): [Folded, False: 6.59M]
  |  |  ------------------
  ------------------
  610|  6.59M|        }
  611|      7|        else {
  612|      7|            PyUnicodeObject *unicode = _PyUnicodeObject_CAST(op);
  ------------------
  |  |  193|      7|    (assert(!_PyASCIIObject_CAST(op)->state.compact), \
  |  |  194|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (612:40): [True: 7, False: 0]
  |  Branch (612:40): [True: 7, False: 0]
  ------------------
  613|       |
  614|      0|            data = unicode->data.any;
  615|      7|            CHECK(kind == PyUnicode_1BYTE_KIND
  ------------------
  |  |  581|     14|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:16): [True: 7, False: 0]
  |  |  |  Branch (581:16): [True: 0, False: 0]
  |  |  |  Branch (581:16): [True: 0, False: 0]
  |  |  |  Branch (581:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  616|      7|                     || kind == PyUnicode_2BYTE_KIND
  617|      7|                     || kind == PyUnicode_4BYTE_KIND);
  618|      7|            CHECK(ascii->state.compact == 0);
  ------------------
  |  |  581|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 7]
  |  |  |  Branch (581:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  619|      7|            CHECK(data != NULL);
  ------------------
  |  |  581|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 7]
  |  |  |  Branch (581:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  620|      7|            if (ascii->state.ascii) {
  ------------------
  |  Branch (620:17): [True: 7, False: 0]
  ------------------
  621|      7|                CHECK(_PyUnicode_UTF8(op) == data);
  ------------------
  |  |  581|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 7]
  |  |  |  Branch (581:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  622|      7|                CHECK(compact->utf8_length == ascii->length);
  ------------------
  |  |  581|      7|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 7]
  |  |  |  Branch (581:89): [Folded, False: 7]
  |  |  ------------------
  ------------------
  623|      7|            }
  624|      0|            else {
  625|      0|                CHECK(_PyUnicode_UTF8(op) != data);
  ------------------
  |  |  581|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 0]
  |  |  |  Branch (581:89): [Folded, False: 0]
  |  |  ------------------
  ------------------
  626|      0|            }
  627|      7|        }
  628|  6.59M|#ifndef Py_GIL_DISABLED
  629|  6.59M|        if (_PyUnicode_UTF8(op) == NULL)
  ------------------
  |  Branch (629:13): [True: 6.50M, False: 92.0k]
  ------------------
  630|  6.50M|            CHECK(compact->utf8_length == 0);
  ------------------
  |  |  581|  6.50M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 6.50M]
  |  |  |  Branch (581:89): [Folded, False: 6.50M]
  |  |  ------------------
  ------------------
  631|  6.59M|#endif
  632|  6.59M|    }
  633|       |
  634|       |    /* check that the best kind is used: O(n) operation */
  635|  15.3M|    const void *data = PyUnicode_DATA(ascii);
  ------------------
  |  |  285|  15.3M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  636|  15.3M|    if (check_content) {
  ------------------
  |  Branch (636:9): [True: 3.07M, False: 12.2M]
  ------------------
  637|  3.07M|        Py_ssize_t i;
  638|  3.07M|        Py_UCS4 maxchar = 0;
  639|  3.07M|        Py_UCS4 ch;
  640|       |
  641|  2.43G|        for (i=0; i < ascii->length; i++)
  ------------------
  |  Branch (641:19): [True: 2.42G, False: 3.07M]
  ------------------
  642|  2.42G|        {
  643|  2.42G|            ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|  2.42G|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  2.42G|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  2.42G|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  2.42G|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  2.42G|                   (index))
  ------------------
  644|  2.42G|            if (ch > maxchar)
  ------------------
  |  Branch (644:17): [True: 4.51M, False: 2.42G]
  ------------------
  645|  4.51M|                maxchar = ch;
  646|  2.42G|        }
  647|  3.07M|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (647:13): [True: 264k, False: 2.81M]
  ------------------
  648|   264k|            if (ascii->state.ascii == 0) {
  ------------------
  |  Branch (648:17): [True: 135k, False: 128k]
  ------------------
  649|   135k|                CHECK(maxchar >= 128);
  ------------------
  |  |  581|   135k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 135k]
  |  |  |  Branch (581:89): [Folded, False: 135k]
  |  |  ------------------
  ------------------
  650|   135k|                CHECK(maxchar <= 255);
  ------------------
  |  |  581|   135k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 135k]
  |  |  |  Branch (581:89): [Folded, False: 135k]
  |  |  ------------------
  ------------------
  651|   135k|            }
  652|   128k|            else
  653|   128k|                CHECK(maxchar < 128);
  ------------------
  |  |  581|   128k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 128k]
  |  |  |  Branch (581:89): [Folded, False: 128k]
  |  |  ------------------
  ------------------
  654|   264k|        }
  655|  2.81M|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (655:18): [True: 1.89M, False: 915k]
  ------------------
  656|  1.89M|            CHECK(maxchar >= 0x100);
  ------------------
  |  |  581|  1.89M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 1.89M]
  |  |  |  Branch (581:89): [Folded, False: 1.89M]
  |  |  ------------------
  ------------------
  657|  1.89M|            CHECK(maxchar <= 0xFFFF);
  ------------------
  |  |  581|  1.89M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 1.89M]
  |  |  |  Branch (581:89): [Folded, False: 1.89M]
  |  |  ------------------
  ------------------
  658|  1.89M|        }
  659|   915k|        else {
  660|   915k|            CHECK(maxchar >= 0x10000);
  ------------------
  |  |  581|   915k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 915k]
  |  |  |  Branch (581:89): [Folded, False: 915k]
  |  |  ------------------
  ------------------
  661|   915k|            CHECK(maxchar <= MAX_UNICODE);
  ------------------
  |  |  581|   915k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 915k]
  |  |  |  Branch (581:89): [Folded, False: 915k]
  |  |  ------------------
  ------------------
  662|   915k|        }
  663|  3.07M|    }
  664|       |
  665|       |    // Detect buffer overflow: check if the trailing null character
  666|       |    // has been overridden
  667|  15.3M|    CHECK(PyUnicode_READ(kind, data, ascii->length) == 0);
  ------------------
  |  |  581|  15.3M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  363|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (581:14): [True: 0, False: 15.3M]
  |  |  |  Branch (581:89): [Folded, False: 15.3M]
  |  |  ------------------
  ------------------
  668|       |
  669|       |    /* Check interning state */
  670|       |#ifdef Py_DEBUG
  671|       |    // Note that we do not check `_Py_IsImmortal(op)` in the GIL-enabled build
  672|       |    // since stable ABI extensions can make immortal strings mortal (but with a
  673|       |    // high enough refcount).
  674|       |    switch (PyUnicode_CHECK_INTERNED(op)) {
  675|       |        case SSTATE_NOT_INTERNED:
  676|       |            if (ascii->state.statically_allocated) {
  677|       |                // This state is for two exceptions:
  678|       |                // - strings are currently checked before they're interned
  679|       |                // - the 256 one-latin1-character strings
  680|       |                //   are static but use SSTATE_NOT_INTERNED
  681|       |            }
  682|       |            else {
  683|       |                CHECK_IF_GIL(!_Py_IsImmortal(op));
  684|       |            }
  685|       |            break;
  686|       |        case SSTATE_INTERNED_MORTAL:
  687|       |            CHECK(!ascii->state.statically_allocated);
  688|       |            CHECK_IF_GIL(!_Py_IsImmortal(op));
  689|       |            break;
  690|       |        case SSTATE_INTERNED_IMMORTAL:
  691|       |            CHECK(!ascii->state.statically_allocated);
  692|       |            CHECK_IF_FT(_Py_IsImmortal(op));
  693|       |            break;
  694|       |        case SSTATE_INTERNED_IMMORTAL_STATIC:
  695|       |            CHECK(ascii->state.statically_allocated);
  696|       |            CHECK_IF_FT(_Py_IsImmortal(op));
  697|       |            break;
  698|       |        default:
  699|       |            Py_UNREACHABLE();
  700|       |    }
  701|       |#endif
  702|       |
  703|  15.3M|    return 1;
  704|       |
  705|  15.3M|#undef CHECK
  706|  15.3M|}
_PyUnicode_Result:
  710|   586k|{
  711|   586k|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (711:5): [True: 586k, False: 0]
  ------------------
  712|       |
  713|   586k|    Py_ssize_t length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|   586k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   586k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   586k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|   586k|    if (length == 0) {
  ------------------
  |  Branch (714:9): [True: 0, False: 586k]
  ------------------
  715|      0|        PyObject *empty = _PyUnicode_GetEmpty();
  716|      0|        if (unicode != empty) {
  ------------------
  |  Branch (716:13): [True: 0, False: 0]
  ------------------
  717|      0|            Py_DECREF(unicode);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  718|      0|        }
  719|      0|        return empty;
  720|      0|    }
  721|       |
  722|   586k|    if (length == 1) {
  ------------------
  |  Branch (722:9): [True: 585k, False: 1.05k]
  ------------------
  723|   585k|        int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|   585k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.17M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 585k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  724|   585k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (724:13): [True: 72.9k, False: 512k]
  ------------------
  725|  72.9k|            const Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  292|  72.9k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  72.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  726|  72.9k|            Py_UCS1 ch = data[0];
  727|  72.9k|            PyObject *latin1_char = LATIN1(ch);
  ------------------
  |  |  174|  72.9k|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  955|  72.9k|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (955:6): [True: 3, False: 72.9k]
  |  |  |  |  ------------------
  |  |  |  |  956|  72.9k|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  957|  72.9k|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  72.9k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  72.9k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  728|  72.9k|            if (unicode != latin1_char) {
  ------------------
  |  Branch (728:17): [True: 0, False: 72.9k]
  ------------------
  729|      0|                Py_DECREF(unicode);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  730|      0|            }
  731|  72.9k|            return latin1_char;
  732|  72.9k|        }
  733|   585k|    }
  734|       |
  735|   586k|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (735:5): [True: 513k, False: 0]
  ------------------
  736|   513k|    return unicode;
  737|   513k|}
_PyUnicode_ResizeCompact:
 1070|  1.31M|{
 1071|  1.31M|    Py_ssize_t char_size;
 1072|  1.31M|    Py_ssize_t struct_size;
 1073|  1.31M|    Py_ssize_t new_size;
 1074|  1.31M|    PyObject *new_unicode;
 1075|       |#ifdef Py_DEBUG
 1076|       |    Py_ssize_t old_length = _PyUnicode_LENGTH(unicode);
 1077|       |#endif
 1078|       |
 1079|  1.31M|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1079:9): [True: 0, False: 1.31M]
  ------------------
 1080|      0|        PyObject *copy = resize_copy(unicode, length);
 1081|      0|        if (copy == NULL) {
  ------------------
  |  Branch (1081:13): [True: 0, False: 0]
  ------------------
 1082|      0|            return NULL;
 1083|      0|        }
 1084|      0|        Py_DECREF(unicode);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|      0|        return copy;
 1086|      0|    }
 1087|  1.31M|    assert(PyUnicode_IS_COMPACT(unicode));
  ------------------
  |  Branch (1087:5): [True: 1.31M, False: 0]
  ------------------
 1088|       |
 1089|  1.31M|    char_size = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  1.31M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  2.63M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.31M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1090|  1.31M|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  228|  1.31M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 68.1k, False: 1.24M]
  |  |  ------------------
  ------------------
 1091|  68.1k|        struct_size = sizeof(PyASCIIObject);
 1092|  1.24M|    else
 1093|  1.24M|        struct_size = sizeof(PyCompactUnicodeObject);
 1094|       |
 1095|  1.31M|    if (length > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1)) {
  ------------------
  |  |  137|  1.31M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1095:9): [True: 0, False: 1.31M]
  ------------------
 1096|      0|        PyErr_NoMemory();
 1097|      0|        return NULL;
 1098|      0|    }
 1099|  1.31M|    new_size = (struct_size + (length + 1) * char_size);
 1100|       |
 1101|  1.31M|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1101:9): [True: 0, False: 1.31M]
  ------------------
 1102|      0|        PyMem_Free(_PyUnicode_UTF8(unicode));
 1103|      0|        PyUnicode_SET_UTF8_LENGTH(unicode, 0);
 1104|      0|        PyUnicode_SET_UTF8(unicode, NULL);
 1105|      0|    }
 1106|       |#ifdef Py_TRACE_REFS
 1107|       |    _Py_ForgetReference(unicode);
 1108|       |#endif
 1109|  1.31M|    _PyReftracerTrack(unicode, PyRefTracer_DESTROY);
  ------------------
  |  |  109|  1.31M|    do { \
  |  |  110|  1.31M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|  1.31M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 1.31M]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|  1.31M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 1.31M]
  |  |  ------------------
  ------------------
 1110|       |
 1111|  1.31M|    new_unicode = (PyObject *)PyObject_Realloc(unicode, new_size);
 1112|  1.31M|    if (new_unicode == NULL) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 1.31M]
  ------------------
 1113|      0|        _Py_NewReferenceNoTotal(unicode);
 1114|      0|        PyErr_NoMemory();
 1115|      0|        return NULL;
 1116|      0|    }
 1117|  1.31M|    unicode = new_unicode;
 1118|  1.31M|    _Py_NewReferenceNoTotal(unicode);
 1119|       |
 1120|  1.31M|    _PyUnicode_LENGTH(unicode) = length;
  ------------------
  |  |  150|  1.31M|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|  1.31M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  1.31M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1120:5): [True: 1.31M, False: 0]
  ------------------
 1121|       |#ifdef Py_DEBUG
 1122|       |    unicode_fill_invalid(unicode, old_length);
 1123|       |#endif
 1124|  1.31M|    PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  336|  1.31M|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  2.63M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 1.31M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  1.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|  1.31M|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  1.31M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1125|  1.31M|                    length, 0);
 1126|  1.31M|    assert(_PyUnicode_CheckConsistency(unicode, 0));
  ------------------
  |  Branch (1126:5): [True: 1.31M, False: 0]
  ------------------
 1127|  1.31M|    return unicode;
 1128|  1.31M|}
PyUnicode_New:
 1272|  10.9M|{
 1273|       |    /* Optimization for empty strings */
 1274|  10.9M|    if (size == 0) {
  ------------------
  |  Branch (1274:9): [True: 4, False: 10.9M]
  ------------------
 1275|      4|        return _PyUnicode_GetEmpty();
 1276|      4|    }
 1277|       |
 1278|  10.9M|    PyObject *obj;
 1279|  10.9M|    PyCompactUnicodeObject *unicode;
 1280|  10.9M|    void *data;
 1281|  10.9M|    int kind;
 1282|  10.9M|    int is_ascii;
 1283|  10.9M|    Py_ssize_t char_size;
 1284|  10.9M|    Py_ssize_t struct_size;
 1285|       |
 1286|  10.9M|    is_ascii = 0;
 1287|  10.9M|    struct_size = sizeof(PyCompactUnicodeObject);
 1288|  10.9M|    if (maxchar < 128) {
  ------------------
  |  Branch (1288:9): [True: 8.55M, False: 2.39M]
  ------------------
 1289|  8.55M|        kind = PyUnicode_1BYTE_KIND;
 1290|  8.55M|        char_size = 1;
 1291|  8.55M|        is_ascii = 1;
 1292|  8.55M|        struct_size = sizeof(PyASCIIObject);
 1293|  8.55M|    }
 1294|  2.39M|    else if (maxchar < 256) {
  ------------------
  |  Branch (1294:14): [True: 82.5k, False: 2.31M]
  ------------------
 1295|  82.5k|        kind = PyUnicode_1BYTE_KIND;
 1296|  82.5k|        char_size = 1;
 1297|  82.5k|    }
 1298|  2.31M|    else if (maxchar < 65536) {
  ------------------
  |  Branch (1298:14): [True: 1.39M, False: 915k]
  ------------------
 1299|  1.39M|        kind = PyUnicode_2BYTE_KIND;
 1300|  1.39M|        char_size = 2;
 1301|  1.39M|    }
 1302|   915k|    else {
 1303|   915k|        if (maxchar > MAX_UNICODE) {
  ------------------
  |  |  108|   915k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|   915k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1303:13): [True: 0, False: 915k]
  ------------------
 1304|      0|            PyErr_SetString(PyExc_SystemError,
 1305|      0|                            "invalid maximum character passed to PyUnicode_New");
 1306|      0|            return NULL;
 1307|      0|        }
 1308|   915k|        kind = PyUnicode_4BYTE_KIND;
 1309|   915k|        char_size = 4;
 1310|   915k|    }
 1311|       |
 1312|       |    /* Ensure we won't overflow the size. */
 1313|  10.9M|    if (size < 0) {
  ------------------
  |  Branch (1313:9): [True: 0, False: 10.9M]
  ------------------
 1314|      0|        PyErr_SetString(PyExc_SystemError,
 1315|      0|                        "Negative size passed to PyUnicode_New");
 1316|      0|        return NULL;
 1317|      0|    }
 1318|  10.9M|    if (size > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1))
  ------------------
  |  |  137|  10.9M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1318:9): [True: 0, False: 10.9M]
  ------------------
 1319|      0|        return PyErr_NoMemory();
 1320|       |
 1321|       |    /* Duplicated allocation code from _PyObject_New() instead of a call to
 1322|       |     * PyObject_New() so we are able to allocate space for the object and
 1323|       |     * it's data buffer.
 1324|       |     */
 1325|  10.9M|    obj = (PyObject *) PyObject_Malloc(struct_size + (size + 1) * char_size);
 1326|  10.9M|    if (obj == NULL) {
  ------------------
  |  Branch (1326:9): [True: 0, False: 10.9M]
  ------------------
 1327|      0|        return PyErr_NoMemory();
 1328|      0|    }
 1329|  10.9M|    _PyObject_Init(obj, &PyUnicode_Type);
 1330|       |
 1331|  10.9M|    unicode = (PyCompactUnicodeObject *)obj;
 1332|  10.9M|    if (is_ascii)
  ------------------
  |  Branch (1332:9): [True: 8.55M, False: 2.39M]
  ------------------
 1333|  8.55M|        data = ((PyASCIIObject*)obj) + 1;
 1334|  2.39M|    else
 1335|  2.39M|        data = unicode + 1;
 1336|  10.9M|    _PyUnicode_LENGTH(unicode) = size;
  ------------------
  |  |  150|  10.9M|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|  10.9M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1336:5): [True: 10.9M, False: 0]
  ------------------
 1337|  10.9M|    _PyUnicode_HASH(unicode) = -1;
  ------------------
  |  |  154|  10.9M|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|  10.9M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1337:5): [True: 10.9M, False: 0]
  ------------------
 1338|  10.9M|    _PyUnicode_STATE(unicode).interned = 0;
  ------------------
  |  |  152|  10.9M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  10.9M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1338:5): [True: 10.9M, False: 0]
  ------------------
 1339|  10.9M|    _PyUnicode_STATE(unicode).kind = kind;
  ------------------
  |  |  152|  10.9M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  10.9M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1339:5): [True: 10.9M, False: 0]
  ------------------
 1340|  10.9M|    _PyUnicode_STATE(unicode).compact = 1;
  ------------------
  |  |  152|  10.9M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  10.9M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1340:5): [True: 10.9M, False: 0]
  ------------------
 1341|  10.9M|    _PyUnicode_STATE(unicode).ascii = is_ascii;
  ------------------
  |  |  152|  10.9M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  10.9M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1341:5): [True: 10.9M, False: 0]
  ------------------
 1342|  10.9M|    _PyUnicode_STATE(unicode).statically_allocated = 0;
  ------------------
  |  |  152|  10.9M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  10.9M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1342:5): [True: 10.9M, False: 0]
  ------------------
 1343|  10.9M|    if (is_ascii) {
  ------------------
  |  Branch (1343:9): [True: 8.55M, False: 2.39M]
  ------------------
 1344|  8.55M|        ((char*)data)[size] = 0;
 1345|  8.55M|    }
 1346|  2.39M|    else if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (1346:14): [True: 82.5k, False: 2.31M]
  ------------------
 1347|  82.5k|        ((char*)data)[size] = 0;
 1348|  82.5k|        unicode->utf8 = NULL;
 1349|  82.5k|        unicode->utf8_length = 0;
 1350|  82.5k|    }
 1351|  2.31M|    else {
 1352|  2.31M|        unicode->utf8 = NULL;
 1353|  2.31M|        unicode->utf8_length = 0;
 1354|  2.31M|        if (kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1354:13): [True: 1.39M, False: 915k]
  ------------------
 1355|  1.39M|            ((Py_UCS2*)data)[size] = 0;
 1356|   915k|        else /* kind == PyUnicode_4BYTE_KIND */
 1357|   915k|            ((Py_UCS4*)data)[size] = 0;
 1358|  2.31M|    }
 1359|       |#ifdef Py_DEBUG
 1360|       |    unicode_fill_invalid((PyObject*)unicode, 0);
 1361|       |#endif
 1362|  10.9M|    assert(_PyUnicode_CheckConsistency((PyObject*)unicode, 0));
  ------------------
  |  Branch (1362:5): [True: 10.9M, False: 0]
  ------------------
 1363|  10.9M|    return obj;
 1364|  10.9M|}
_PyUnicode_FastCopyCharacters:
 1524|  25.5M|{
 1525|  25.5M|    (void)_copy_characters(to, to_start, from, from_start, how_many, 0);
 1526|  25.5M|}
_PyUnicode_IsModifiable:
 1742|  1.31M|{
 1743|  1.31M|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (1743:5): [True: 1.31M, False: 0]
  ------------------
 1744|  1.31M|    if (!PyUnicode_CheckExact(unicode))
  ------------------
  |  |  104|  1.31M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.31M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1744:9): [True: 0, False: 1.31M]
  ------------------
 1745|      0|        return 0;
 1746|       |    // On Free Threading, this test fails if called from a thread other
 1747|       |    // than the one which created the str object.
 1748|  1.31M|    if (!_PyObject_IsUniquelyReferenced(unicode))
  ------------------
  |  Branch (1748:9): [True: 38, False: 1.31M]
  ------------------
 1749|     38|        return 0;
 1750|  1.31M|    if (PyUnicode_HASH(unicode) != -1)
  ------------------
  |  |  156|  1.31M|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
  |  Branch (1750:9): [True: 0, False: 1.31M]
  ------------------
 1751|      0|        return 0;
 1752|  1.31M|    if (PyUnicode_CHECK_INTERNED(unicode))
  ------------------
  |  |  215|  1.31M|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:38): [True: 0, False: 1.31M]
  |  |  ------------------
  ------------------
 1753|      0|        return 0;
 1754|  1.31M|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1754:9): [True: 0, False: 1.31M]
  ------------------
 1755|      0|        return 0;
 1756|      0|    }
 1757|       |#ifdef Py_DEBUG
 1758|       |    /* singleton refcount is greater than 1 */
 1759|       |    assert(!unicode_is_singleton(unicode));
 1760|       |#endif
 1761|  1.31M|    return 1;
 1762|  1.31M|}
PyUnicode_FromWideChar:
 1911|    806|{
 1912|    806|    PyObject *unicode;
 1913|    806|    Py_UCS4 maxchar = 0;
 1914|    806|    Py_ssize_t num_surrogates;
 1915|       |
 1916|    806|    if (u == NULL && size != 0) {
  ------------------
  |  Branch (1916:9): [True: 0, False: 806]
  |  Branch (1916:22): [True: 0, False: 0]
  ------------------
 1917|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1918|      0|        return NULL;
 1919|      0|    }
 1920|       |
 1921|    806|    if (size == -1) {
  ------------------
  |  Branch (1921:9): [True: 82, False: 724]
  ------------------
 1922|     82|        size = wcslen(u);
 1923|     82|    }
 1924|       |
 1925|       |    /* If the Unicode data is known at construction time, we can apply
 1926|       |       some optimizations which share commonly used objects. */
 1927|       |
 1928|       |    /* Optimization for empty strings */
 1929|    806|    if (size == 0)
  ------------------
  |  Branch (1929:9): [True: 4, False: 802]
  ------------------
 1930|      4|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      4|    do {                             \
  |  |  366|      4|        return _PyUnicode_GetEmpty();\
  |  |  367|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1931|       |
 1932|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
 1933|       |    /* Oracle Solaris uses non-Unicode internal wchar_t form for
 1934|       |       non-Unicode locales and hence needs conversion to UCS-4 first. */
 1935|       |    if (_Py_LocaleUsesNonUnicodeWchar()) {
 1936|       |        wchar_t* converted = _Py_DecodeNonUnicodeWchar(u, size);
 1937|       |        if (!converted) {
 1938|       |            return NULL;
 1939|       |        }
 1940|       |        PyObject *unicode = _PyUnicode_FromUCS4(converted, size);
 1941|       |        PyMem_Free(converted);
 1942|       |        return unicode;
 1943|       |    }
 1944|       |#endif
 1945|       |
 1946|       |    /* Single character Unicode objects in the Latin-1 range are
 1947|       |       shared when using this constructor */
 1948|    802|    if (size == 1 && (Py_UCS4)*u < 256)
  ------------------
  |  Branch (1948:9): [True: 0, False: 802]
  |  Branch (1948:22): [True: 0, False: 0]
  ------------------
 1949|      0|        return get_latin1_char((unsigned char)*u);
 1950|       |
 1951|       |    /* If not empty and not single character, copy the Unicode data
 1952|       |       into the new object */
 1953|    802|    if (find_maxchar_surrogates(u, u + size,
  ------------------
  |  Branch (1953:9): [True: 0, False: 802]
  ------------------
 1954|    802|                                &maxchar, &num_surrogates) == -1)
 1955|      0|        return NULL;
 1956|       |
 1957|    802|    unicode = PyUnicode_New(size - num_surrogates, maxchar);
 1958|    802|    if (!unicode)
  ------------------
  |  Branch (1958:9): [True: 0, False: 802]
  ------------------
 1959|      0|        return NULL;
 1960|       |
 1961|    802|    unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  259|    802|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 802, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  285|    802|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    802|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    802|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1962|    802|                           u, size, num_surrogates);
 1963|       |
 1964|    802|    return unicode_result(unicode);
  ------------------
  |  |  738|    802|#define unicode_result _PyUnicode_Result
  ------------------
 1965|    802|}
PyUnicode_FromStringAndSize:
 2021|  1.38k|{
 2022|  1.38k|    if (size < 0) {
  ------------------
  |  Branch (2022:9): [True: 0, False: 1.38k]
  ------------------
 2023|      0|        PyErr_SetString(PyExc_SystemError,
 2024|      0|                        "Negative size passed to PyUnicode_FromStringAndSize");
 2025|      0|        return NULL;
 2026|      0|    }
 2027|  1.38k|    if (u != NULL) {
  ------------------
  |  Branch (2027:9): [True: 1.38k, False: 0]
  ------------------
 2028|  1.38k|        return PyUnicode_DecodeUTF8Stateful(u, size, NULL, NULL);
 2029|  1.38k|    }
 2030|      0|    if (size > 0) {
  ------------------
  |  Branch (2030:9): [True: 0, False: 0]
  ------------------
 2031|      0|        PyErr_SetString(PyExc_SystemError,
 2032|      0|            "NULL string with positive size with NULL passed to PyUnicode_FromStringAndSize");
 2033|      0|        return NULL;
 2034|      0|    }
 2035|      0|    return _PyUnicode_GetEmpty();
 2036|      0|}
PyUnicode_FromString:
 2040|   832k|{
 2041|   832k|    size_t size = strlen(u);
 2042|   832k|    if (size > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|   832k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2042:9): [True: 0, False: 832k]
  ------------------
 2043|      0|        PyErr_SetString(PyExc_OverflowError, "input too long");
 2044|      0|        return NULL;
 2045|      0|    }
 2046|   832k|    return PyUnicode_DecodeUTF8Stateful(u, (Py_ssize_t)size, NULL, NULL);
 2047|   832k|}
_PyUnicode_FromASCII:
 2135|  4.88k|{
 2136|  4.88k|    const unsigned char *s = (const unsigned char *)buffer;
 2137|  4.88k|    PyObject *unicode;
 2138|  4.88k|    if (size == 1) {
  ------------------
  |  Branch (2138:9): [True: 62, False: 4.82k]
  ------------------
 2139|       |#ifdef Py_DEBUG
 2140|       |        assert((unsigned char)s[0] < 128);
 2141|       |#endif
 2142|     62|        return get_latin1_char(s[0]);
 2143|     62|    }
 2144|  4.82k|    unicode = PyUnicode_New(size, 127);
 2145|  4.82k|    if (!unicode)
  ------------------
  |  Branch (2145:9): [True: 0, False: 4.82k]
  ------------------
 2146|      0|        return NULL;
 2147|  4.82k|    memcpy(PyUnicode_1BYTE_DATA(unicode), s, size);
  ------------------
  |  |  292|  4.82k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  4.82k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2148|  4.82k|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (2148:5): [True: 4.82k, False: 0]
  ------------------
 2149|  4.82k|    return unicode;
 2150|  4.82k|}
PyUnicodeWriter_WriteUCS4:
 2270|    327|{
 2271|    327|    _PyUnicodeWriter *writer = (_PyUnicodeWriter*)pub_writer;
 2272|       |
 2273|    327|    if (size < 0) {
  ------------------
  |  Branch (2273:9): [True: 0, False: 327]
  ------------------
 2274|      0|        PyErr_SetString(PyExc_ValueError,
 2275|      0|                        "size must be positive");
 2276|      0|        return -1;
 2277|      0|    }
 2278|       |
 2279|    327|    if (size == 0) {
  ------------------
  |  Branch (2279:9): [True: 0, False: 327]
  ------------------
 2280|      0|        return 0;
 2281|      0|    }
 2282|       |
 2283|       |#ifdef Py_DEBUG
 2284|       |    // Check for invalid characters in debug mode
 2285|       |    Py_UCS4 maxchar = 127;
 2286|       |    for (Py_ssize_t i = 0; i < size; i++) {
 2287|       |        Py_UCS4 ch = str[i];
 2288|       |        if (ch > maxchar) {
 2289|       |            if (ch > MAX_UNICODE) {
 2290|       |                unicode_invalid_character(PyExc_SystemError, ch);
 2291|       |                return -1;
 2292|       |            }
 2293|       |            maxchar = ch;
 2294|       |        }
 2295|       |    }
 2296|       |#else
 2297|       |    // gh-158445: Return MAX_UNICODE even if the string contains invalid
 2298|       |    // characters. Checking for invalid characters would make the function
 2299|       |    // slower whereas it's unlikely in practice.
 2300|    327|    Py_UCS4 maxchar = ucs4lib_find_max_char(str, str + size);
 2301|    327|#endif
 2302|       |
 2303|    327|    if (_PyUnicodeWriter_Prepare(writer, size, maxchar) < 0) {
  ------------------
  |  Branch (2303:9): [True: 0, False: 327]
  ------------------
 2304|      0|        return -1;
 2305|      0|    }
 2306|    327|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (2306:5): [True: 327, False: 0]
  ------------------
 2307|       |
 2308|    327|    int kind = writer->kind;
 2309|    327|    void *data = (Py_UCS1*)writer->data + writer->pos * kind;
 2310|    327|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2310:9): [True: 27, False: 300]
  ------------------
 2311|     27|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS1,
  ------------------
  |  |   47|     27|    do {                                                \
  |  |   48|     27|        to_type *_to = (to_type *)(to);                 \
  |  |   49|     27|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|     27|        const from_type *_end = (const from_type *)(end);\
  |  |   51|     27|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|     27|        const from_type *_unrolled_end =                \
  |  |   53|     27|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|     27|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|    749|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 722, False: 27]
  |  |  ------------------
  |  |   55|    722|            _to[0] = (to_type) _iter[0];                \
  |  |   56|    722|            _to[1] = (to_type) _iter[1];                \
  |  |   57|    722|            _to[2] = (to_type) _iter[2];                \
  |  |   58|    722|            _to[3] = (to_type) _iter[3];                \
  |  |   59|    722|            _iter += 4; _to += 4;                       \
  |  |   60|    722|        }                                               \
  |  |   61|     56|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 29, False: 27]
  |  |  ------------------
  |  |   62|     29|            *_to++ = (to_type) *_iter++;                \
  |  |   63|     27|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
 2312|     27|                                 str, str + size,
 2313|     27|                                 data);
 2314|     27|    }
 2315|    300|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (2315:14): [True: 293, False: 7]
  ------------------
 2316|    293|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS2,
  ------------------
  |  |   47|    293|    do {                                                \
  |  |   48|    293|        to_type *_to = (to_type *)(to);                 \
  |  |   49|    293|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|    293|        const from_type *_end = (const from_type *)(end);\
  |  |   51|    293|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|    293|        const from_type *_unrolled_end =                \
  |  |   53|    293|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|    293|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  2.83k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 2.54k, False: 293]
  |  |  ------------------
  |  |   55|  2.54k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|  2.54k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|  2.54k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|  2.54k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|  2.54k|            _iter += 4; _to += 4;                       \
  |  |   60|  2.54k|        }                                               \
  |  |   61|    692|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 399, False: 293]
  |  |  ------------------
  |  |   62|    399|            *_to++ = (to_type) *_iter++;                \
  |  |   63|    293|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 293]
  |  |  ------------------
  ------------------
 2317|    293|                                 str, str + size,
 2318|    293|                                 data);
 2319|    293|    }
 2320|      7|    else {
 2321|      7|        memcpy(data, str, size * sizeof(Py_UCS4));
 2322|      7|    }
 2323|    327|    writer->pos += size;
 2324|       |
 2325|    327|    return 0;
 2326|    327|}
PyUnicode_FromKindAndData:
 2331|  16.7k|{
 2332|  16.7k|    if (size < 0) {
  ------------------
  |  Branch (2332:9): [True: 0, False: 16.7k]
  ------------------
 2333|      0|        PyErr_SetString(PyExc_ValueError, "size must be positive");
 2334|      0|        return NULL;
 2335|      0|    }
 2336|  16.7k|    switch (kind) {
 2337|  16.7k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2337:5): [True: 16.7k, False: 0]
  ------------------
 2338|  16.7k|        return _PyUnicode_FromUCS1(buffer, size);
 2339|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2339:5): [True: 0, False: 16.7k]
  ------------------
 2340|      0|        return _PyUnicode_FromUCS2(buffer, size);
 2341|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2341:5): [True: 0, False: 16.7k]
  ------------------
 2342|      0|        return _PyUnicode_FromUCS4(buffer, size);
 2343|      0|    default:
  ------------------
  |  Branch (2343:5): [True: 0, False: 16.7k]
  ------------------
 2344|      0|        PyErr_SetString(PyExc_SystemError, "invalid kind");
 2345|       |        return NULL;
 2346|  16.7k|    }
 2347|  16.7k|}
_PyUnicode_FindMaxChar:
 2351|     21|{
 2352|     21|    int kind;
 2353|     21|    const void *startptr, *endptr;
 2354|       |
 2355|     21|    assert(0 <= start);
  ------------------
  |  Branch (2355:5): [True: 21, False: 0]
  ------------------
 2356|     21|    assert(end <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (2356:5): [True: 21, False: 0]
  ------------------
 2357|     21|    assert(start <= end);
  ------------------
  |  Branch (2357:5): [True: 21, False: 0]
  ------------------
 2358|       |
 2359|     21|    if (start == 0 && end == PyUnicode_GET_LENGTH(unicode))
  ------------------
  |  |  300|     21|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2359:9): [True: 21, False: 0]
  |  Branch (2359:23): [True: 0, False: 21]
  ------------------
 2360|      0|        return PyUnicode_MAX_CHAR_VALUE(unicode);
  ------------------
  |  |  406|      0|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2361|       |
 2362|     21|    if (start == end)
  ------------------
  |  Branch (2362:9): [True: 0, False: 21]
  ------------------
 2363|      0|        return 127;
 2364|       |
 2365|     21|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  228|     21|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 21, False: 0]
  |  |  ------------------
  ------------------
 2366|     21|        return 127;
 2367|       |
 2368|      0|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2369|      0|    startptr = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2370|      0|    endptr = (char *)startptr + end * kind;
 2371|      0|    startptr = (char *)startptr + start * kind;
 2372|      0|    switch(kind) {
 2373|      0|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2373:5): [True: 0, False: 0]
  ------------------
 2374|      0|        return ucs1lib_find_max_char(startptr, endptr);
 2375|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2375:5): [True: 0, False: 0]
  ------------------
 2376|      0|        return ucs2lib_find_max_char(startptr, endptr);
 2377|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2377:5): [True: 0, False: 0]
  ------------------
 2378|      0|        return ucs4lib_find_max_char(startptr, endptr);
 2379|      0|    default:
  ------------------
  |  Branch (2379:5): [True: 0, False: 0]
  ------------------
 2380|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2381|      0|    }
 2382|      0|}
PyUnicode_FromFormatV:
 3167|  68.3k|{
 3168|  68.3k|    _PyUnicodeWriter writer;
 3169|  68.3k|    _PyUnicodeWriter_Init(&writer);
 3170|       |
 3171|  68.3k|    if (unicode_from_format(&writer, format, vargs) < 0) {
  ------------------
  |  Branch (3171:9): [True: 0, False: 68.3k]
  ------------------
 3172|      0|        _PyUnicodeWriter_Dealloc(&writer);
 3173|      0|        return NULL;
 3174|      0|    }
 3175|  68.3k|    return _PyUnicodeWriter_Finish(&writer);
 3176|  68.3k|}
PyUnicode_FromFormat:
 3180|  16.0k|{
 3181|  16.0k|    PyObject* ret;
 3182|  16.0k|    va_list vargs;
 3183|       |
 3184|  16.0k|    va_start(vargs, format);
 3185|  16.0k|    ret = PyUnicode_FromFormatV(format, vargs);
 3186|       |    va_end(vargs);
 3187|  16.0k|    return ret;
 3188|  16.0k|}
PyUnicode_AsWideCharString:
 3343|    345|{
 3344|    345|    wchar_t *buffer;
 3345|    345|    Py_ssize_t buflen;
 3346|       |
 3347|    345|    if (unicode == NULL) {
  ------------------
  |  Branch (3347:9): [True: 0, False: 345]
  ------------------
 3348|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3349|      0|        return NULL;
 3350|      0|    }
 3351|    345|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    345|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    345|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3351:9): [True: 0, False: 345]
  ------------------
 3352|      0|        PyErr_BadArgument();
 3353|      0|        return NULL;
 3354|      0|    }
 3355|       |
 3356|    345|    buflen = unicode_get_widechar_size(unicode);
 3357|    345|    buffer = (wchar_t *) PyMem_New(wchar_t, (buflen + 1));
  ------------------
  |  |   64|    345|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    345|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 345]
  |  |  ------------------
  |  |   65|    345|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3358|    345|    if (buffer == NULL) {
  ------------------
  |  Branch (3358:9): [True: 0, False: 345]
  ------------------
 3359|      0|        PyErr_NoMemory();
 3360|      0|        return NULL;
 3361|      0|    }
 3362|    345|    unicode_copy_as_widechar(unicode, buffer, buflen + 1);
 3363|       |
 3364|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
 3365|       |    /* Oracle Solaris uses non-Unicode internal wchar_t form for
 3366|       |       non-Unicode locales and hence needs conversion first. */
 3367|       |    if (_Py_LocaleUsesNonUnicodeWchar()) {
 3368|       |        if (_Py_EncodeNonUnicodeWchar_InPlace(buffer, (buflen + 1)) < 0) {
 3369|       |            return NULL;
 3370|       |        }
 3371|       |    }
 3372|       |#endif
 3373|       |
 3374|    345|    if (size != NULL) {
  ------------------
  |  Branch (3374:9): [True: 140, False: 205]
  ------------------
 3375|    140|        *size = buflen;
 3376|    140|    }
 3377|    205|    else if (wcslen(buffer) != (size_t)buflen) {
  ------------------
  |  Branch (3377:14): [True: 0, False: 205]
  ------------------
 3378|      0|        PyMem_Free(buffer);
 3379|      0|        PyErr_SetString(PyExc_ValueError,
 3380|      0|                        "embedded null character");
 3381|      0|        return NULL;
 3382|      0|    }
 3383|    345|    return buffer;
 3384|    345|}
PyUnicode_FromOrdinal:
 3438|     26|{
 3439|     26|    if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  108|     26|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|     26|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (3439:9): [True: 0, False: 26]
  |  Branch (3439:24): [True: 0, False: 26]
  ------------------
 3440|      0|        PyErr_SetString(PyExc_ValueError,
 3441|      0|                        "chr() arg not in range(0x110000)");
 3442|      0|        return NULL;
 3443|      0|    }
 3444|       |
 3445|     26|    return unicode_char((Py_UCS4)ordinal);
 3446|     26|}
PyUnicode_FromEncodedObject:
 3471|      2|{
 3472|      2|    Py_buffer buffer;
 3473|      2|    PyObject *v;
 3474|       |
 3475|      2|    if (obj == NULL) {
  ------------------
  |  Branch (3475:9): [True: 0, False: 2]
  ------------------
 3476|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3477|      0|        return NULL;
 3478|      0|    }
 3479|       |
 3480|       |    /* Decoding bytes objects is the most common case and should be fast */
 3481|      2|    if (PyBytes_Check(obj)) {
  ------------------
  |  |   28|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3482|      2|        if (PyBytes_GET_SIZE(obj) == 0) {
  ------------------
  |  |   33|      2|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3482:13): [True: 0, False: 2]
  ------------------
 3483|      0|            if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3483:17): [True: 0, False: 0]
  ------------------
 3484|      0|                return NULL;
 3485|      0|            }
 3486|      0|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3487|      0|        }
 3488|      2|        return PyUnicode_Decode(
 3489|      2|                PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   27|      2|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   33|      2|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3490|      2|                encoding, errors);
 3491|      2|    }
 3492|       |
 3493|      0|    if (PyUnicode_Check(obj)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3494|      0|        PyErr_SetString(PyExc_TypeError,
 3495|      0|                        "decoding str is not supported");
 3496|      0|        return NULL;
 3497|      0|    }
 3498|       |
 3499|       |    /* Retrieve a bytes buffer view through the PEP 3118 buffer interface */
 3500|      0|    if (PyObject_GetBuffer(obj, &buffer, PyBUF_SIMPLE) < 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (3500:9): [True: 0, False: 0]
  ------------------
 3501|      0|        PyErr_Format(PyExc_TypeError,
 3502|      0|                     "decoding to str: need a bytes-like object, %.80s found",
 3503|      0|                     Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3504|      0|        return NULL;
 3505|      0|    }
 3506|       |
 3507|      0|    if (buffer.len == 0) {
  ------------------
  |  Branch (3507:9): [True: 0, False: 0]
  ------------------
 3508|      0|        PyBuffer_Release(&buffer);
 3509|      0|        if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3509:13): [True: 0, False: 0]
  ------------------
 3510|      0|            return NULL;
 3511|      0|        }
 3512|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3513|      0|    }
 3514|       |
 3515|      0|    v = PyUnicode_Decode((char*) buffer.buf, buffer.len, encoding, errors);
 3516|      0|    PyBuffer_Release(&buffer);
 3517|      0|    return v;
 3518|      0|}
_Py_normalize_encoding:
 3528|   587k|{
 3529|   587k|    const char *e;
 3530|   587k|    char *l;
 3531|   587k|    char *l_end;
 3532|   587k|    int punct;
 3533|       |
 3534|   587k|    assert(encoding != NULL);
  ------------------
  |  Branch (3534:5): [True: 587k, False: 0]
  ------------------
 3535|       |
 3536|   587k|    e = encoding;
 3537|   587k|    l = lower;
 3538|   587k|    l_end = &lower[lower_len - 1];
 3539|   587k|    punct = 0;
 3540|  16.0M|    while (1) {
  ------------------
  |  Branch (3540:12): [True: 16.0M, Folded]
  ------------------
 3541|  16.0M|        char c = *e;
 3542|  16.0M|        if (c == 0) {
  ------------------
  |  Branch (3542:13): [True: 586k, False: 15.4M]
  ------------------
 3543|   586k|            break;
 3544|   586k|        }
 3545|       |
 3546|  15.4M|        if (Py_ISALNUM(c) || c == '.') {
  ------------------
  |  |   26|  30.9M|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  170|  15.4M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|  15.4M|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|  15.4M|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|  15.4M|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|  15.4M|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|  15.4M|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:24): [True: 15.0M, False: 470k]
  |  |  ------------------
  ------------------
  |  Branch (3546:30): [True: 29.0k, False: 441k]
  ------------------
 3547|  15.0M|            if (punct && l != lower) {
  ------------------
  |  Branch (3547:17): [True: 2.54k, False: 15.0M]
  |  Branch (3547:26): [True: 2.54k, False: 0]
  ------------------
 3548|  2.54k|                if (l == l_end) {
  ------------------
  |  Branch (3548:21): [True: 0, False: 2.54k]
  ------------------
 3549|      0|                    return 0;
 3550|      0|                }
 3551|  2.54k|                *l++ = '_';
 3552|  2.54k|            }
 3553|  15.0M|            punct = 0;
 3554|       |
 3555|  15.0M|            if (l == l_end) {
  ------------------
  |  Branch (3555:17): [True: 31, False: 15.0M]
  ------------------
 3556|     31|                return 0;
 3557|     31|            }
 3558|  15.0M|            *l++ = to_lower ? Py_TOLOWER(c) : c;
  ------------------
  |  |   32|  2.56M|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|  2.56M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (3558:20): [True: 2.56M, False: 12.4M]
  ------------------
 3559|  15.0M|        }
 3560|   441k|        else {
 3561|   441k|            punct = 1;
 3562|   441k|        }
 3563|       |
 3564|  15.4M|        e++;
 3565|  15.4M|    }
 3566|   586k|    *l = '\0';
 3567|   586k|    return 1;
 3568|   587k|}
PyUnicode_Decode:
 3575|   586k|{
 3576|   586k|    PyObject *buffer = NULL, *unicode;
 3577|   586k|    Py_buffer info;
 3578|   586k|    char buflower[11];   /* strlen("iso-8859-1\0") == 11, longest shortcut */
 3579|       |
 3580|   586k|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3580:9): [True: 0, False: 586k]
  ------------------
 3581|      0|        return NULL;
 3582|      0|    }
 3583|       |
 3584|   586k|    if (size == 0) {
  ------------------
  |  Branch (3584:9): [True: 0, False: 586k]
  ------------------
 3585|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3586|      0|    }
 3587|       |
 3588|   586k|    if (encoding == NULL) {
  ------------------
  |  Branch (3588:9): [True: 0, False: 586k]
  ------------------
 3589|      0|        return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3590|      0|    }
 3591|       |
 3592|       |    /* Shortcuts for common default encodings */
 3593|   586k|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3593:9): [True: 586k, False: 31]
  ------------------
 3594|   586k|        char *lower = buflower;
 3595|       |
 3596|       |        /* Fast paths */
 3597|   586k|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3597:13): [True: 210k, False: 375k]
  |  Branch (3597:32): [True: 201k, False: 9.33k]
  |  Branch (3597:51): [True: 201k, False: 0]
  ------------------
 3598|   201k|            lower += 3;
 3599|   201k|            if (*lower == '_') {
  ------------------
  |  Branch (3599:17): [True: 222, False: 201k]
  ------------------
 3600|       |                /* Match "utf8" and "utf_8" */
 3601|    222|                lower++;
 3602|    222|            }
 3603|       |
 3604|   201k|            if (lower[0] == '8' && lower[1] == 0) {
  ------------------
  |  Branch (3604:17): [True: 616, False: 200k]
  |  Branch (3604:36): [True: 616, False: 0]
  ------------------
 3605|    616|                return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3606|    616|            }
 3607|   200k|            else if (lower[0] == '1' && lower[1] == '6' && lower[2] == 0) {
  ------------------
  |  Branch (3607:22): [True: 1, False: 200k]
  |  Branch (3607:41): [True: 1, False: 0]
  |  Branch (3607:60): [True: 0, False: 1]
  ------------------
 3608|      0|                return PyUnicode_DecodeUTF16(s, size, errors, 0);
 3609|      0|            }
 3610|   200k|            else if (lower[0] == '3' && lower[1] == '2' && lower[2] == 0) {
  ------------------
  |  Branch (3610:22): [True: 1, False: 200k]
  |  Branch (3610:41): [True: 1, False: 0]
  |  Branch (3610:60): [True: 0, False: 1]
  ------------------
 3611|      0|                return PyUnicode_DecodeUTF32(s, size, errors, 0);
 3612|      0|            }
 3613|   201k|        }
 3614|   384k|        else {
 3615|   384k|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3615:17): [True: 2, False: 384k]
  ------------------
 3616|   384k|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3616:20): [True: 1, False: 384k]
  ------------------
 3617|      3|                return PyUnicode_DecodeASCII(s, size, errors);
 3618|      3|            }
 3619|       |    #ifdef MS_WINDOWS
 3620|       |            else if (strcmp(lower, "mbcs") == 0) {
 3621|       |                return PyUnicode_DecodeMBCS(s, size, errors);
 3622|       |            }
 3623|       |    #endif
 3624|   384k|            else if (strcmp(lower, "latin1") == 0
  ------------------
  |  Branch (3624:22): [True: 2, False: 384k]
  ------------------
 3625|   384k|                     || strcmp(lower, "latin_1") == 0
  ------------------
  |  Branch (3625:25): [True: 1, False: 384k]
  ------------------
 3626|   384k|                     || strcmp(lower, "iso_8859_1") == 0
  ------------------
  |  Branch (3626:25): [True: 4, False: 384k]
  ------------------
 3627|   384k|                     || strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3627:25): [True: 1, False: 384k]
  ------------------
 3628|      8|                return PyUnicode_DecodeLatin1(s, size, errors);
 3629|      8|            }
 3630|   384k|        }
 3631|   586k|    }
 3632|       |
 3633|       |    /* Decode via the codec registry */
 3634|   585k|    buffer = NULL;
 3635|   585k|    if (PyBuffer_FillInfo(&info, NULL, (void *)s, size, 1, PyBUF_FULL_RO) < 0)
  ------------------
  |  |  134|   585k|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|   585k|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|   585k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|   585k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|   585k|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (3635:9): [True: 0, False: 585k]
  ------------------
 3636|      0|        goto onError;
 3637|   585k|    buffer = PyMemoryView_FromBuffer(&info);
 3638|   585k|    if (buffer == NULL)
  ------------------
  |  Branch (3638:9): [True: 0, False: 585k]
  ------------------
 3639|      0|        goto onError;
 3640|   585k|    unicode = _PyCodec_DecodeText(buffer, encoding, errors);
 3641|   585k|    if (unicode == NULL)
  ------------------
  |  Branch (3641:9): [True: 365, False: 585k]
  ------------------
 3642|    365|        goto onError;
 3643|   585k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|   585k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   585k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3643:9): [True: 0, False: 585k]
  ------------------
 3644|      0|        PyErr_Format(PyExc_TypeError,
 3645|      0|                     "'%.400s' decoder returned '%.400s' instead of 'str'; "
 3646|      0|                     "use codecs.decode() to decode to arbitrary types",
 3647|      0|                     encoding,
 3648|      0|                     Py_TYPE(unicode)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3649|      0|        Py_DECREF(unicode);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3650|      0|        goto onError;
 3651|      0|    }
 3652|   585k|    Py_DECREF(buffer);
  ------------------
  |  |  430|   585k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3653|   585k|    return unicode_result(unicode);
  ------------------
  |  |  738|   585k|#define unicode_result _PyUnicode_Result
  ------------------
 3654|       |
 3655|    365|  onError:
 3656|    365|    Py_XDECREF(buffer);
  ------------------
  |  |  621|    365|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    365|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    365|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3657|       |    return NULL;
 3658|   585k|}
PyUnicode_EncodeFSDefault:
 3798|    846|{
 3799|    846|    PyInterpreterState *interp = _PyInterpreterState_GET();
 3800|    846|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 3801|    846|    if (fs_codec->utf8) {
  ------------------
  |  Branch (3801:9): [True: 764, False: 82]
  ------------------
 3802|    764|        return unicode_encode_utf8(unicode,
 3803|    764|                                   fs_codec->error_handler,
 3804|    764|                                   fs_codec->errors);
 3805|    764|    }
 3806|     82|#ifndef _Py_FORCE_UTF8_FS_ENCODING
 3807|     82|    else if (fs_codec->encoding) {
  ------------------
  |  Branch (3807:14): [True: 0, False: 82]
  ------------------
 3808|      0|        return PyUnicode_AsEncodedString(unicode,
 3809|      0|                                         fs_codec->encoding,
 3810|      0|                                         fs_codec->errors);
 3811|      0|    }
 3812|     82|#endif
 3813|     82|    else {
 3814|       |        /* Before _PyUnicode_InitEncodings() is called, the Python codec
 3815|       |           machinery is not ready and so cannot be used:
 3816|       |           use wcstombs() in this case. */
 3817|     82|        const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3818|     82|        const wchar_t *filesystem_errors = config->filesystem_errors;
 3819|     82|        assert(filesystem_errors != NULL);
  ------------------
  |  Branch (3819:9): [True: 82, False: 0]
  ------------------
 3820|     82|        _Py_error_handler errors = get_error_handler_wide(filesystem_errors);
 3821|     82|        assert(errors != _Py_ERROR_UNKNOWN);
  ------------------
  |  Branch (3821:9): [True: 82, False: 0]
  ------------------
 3822|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
 3823|       |        return unicode_encode_utf8(unicode, errors, NULL);
 3824|       |#else
 3825|     82|        return unicode_encode_locale(unicode, errors, 0);
 3826|     82|#endif
 3827|     82|    }
 3828|    846|}
PyUnicode_AsEncodedString:
 3834|      6|{
 3835|      6|    PyObject *v;
 3836|      6|    char buflower[11];   /* strlen("iso_8859_1\0") == 11, longest shortcut */
 3837|       |
 3838|      6|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3838:9): [True: 0, False: 6]
  ------------------
 3839|      0|        PyErr_BadArgument();
 3840|      0|        return NULL;
 3841|      0|    }
 3842|       |
 3843|      6|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3843:9): [True: 0, False: 6]
  ------------------
 3844|      0|        return NULL;
 3845|      0|    }
 3846|       |
 3847|      6|    if (encoding == NULL) {
  ------------------
  |  Branch (3847:9): [True: 0, False: 6]
  ------------------
 3848|      0|        return _PyUnicode_AsUTF8String(unicode, errors);
 3849|      0|    }
 3850|       |
 3851|       |    /* Shortcuts for common default encodings */
 3852|      6|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3852:9): [True: 6, False: 0]
  ------------------
 3853|      6|        char *lower = buflower;
 3854|       |
 3855|       |        /* Fast paths */
 3856|      6|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3856:13): [True: 6, False: 0]
  |  Branch (3856:32): [True: 6, False: 0]
  |  Branch (3856:51): [True: 6, False: 0]
  ------------------
 3857|      6|            lower += 3;
 3858|      6|            if (*lower == '_') {
  ------------------
  |  Branch (3858:17): [True: 6, False: 0]
  ------------------
 3859|       |                /* Match "utf8" and "utf_8" */
 3860|      6|                lower++;
 3861|      6|            }
 3862|       |
 3863|      6|            if (lower[0] == '8' && lower[1] == 0) {
  ------------------
  |  Branch (3863:17): [True: 6, False: 0]
  |  Branch (3863:36): [True: 6, False: 0]
  ------------------
 3864|      6|                return _PyUnicode_AsUTF8String(unicode, errors);
 3865|      6|            }
 3866|      0|            else if (lower[0] == '1' && lower[1] == '6' && lower[2] == 0) {
  ------------------
  |  Branch (3866:22): [True: 0, False: 0]
  |  Branch (3866:41): [True: 0, False: 0]
  |  Branch (3866:60): [True: 0, False: 0]
  ------------------
 3867|      0|                return _PyUnicode_EncodeUTF16(unicode, errors, 0);
 3868|      0|            }
 3869|      0|            else if (lower[0] == '3' && lower[1] == '2' && lower[2] == 0) {
  ------------------
  |  Branch (3869:22): [True: 0, False: 0]
  |  Branch (3869:41): [True: 0, False: 0]
  |  Branch (3869:60): [True: 0, False: 0]
  ------------------
 3870|      0|                return _PyUnicode_EncodeUTF32(unicode, errors, 0);
 3871|      0|            }
 3872|      6|        }
 3873|      0|        else {
 3874|      0|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3874:17): [True: 0, False: 0]
  ------------------
 3875|      0|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3875:20): [True: 0, False: 0]
  ------------------
 3876|      0|                return _PyUnicode_AsASCIIString(unicode, errors);
 3877|      0|            }
 3878|       |#ifdef MS_WINDOWS
 3879|       |            else if (strcmp(lower, "mbcs") == 0) {
 3880|       |                return PyUnicode_EncodeCodePage(CP_ACP, unicode, errors);
 3881|       |            }
 3882|       |#endif
 3883|      0|            else if (strcmp(lower, "latin1") == 0 ||
  ------------------
  |  Branch (3883:22): [True: 0, False: 0]
  ------------------
 3884|      0|                     strcmp(lower, "latin_1") == 0 ||
  ------------------
  |  Branch (3884:22): [True: 0, False: 0]
  ------------------
 3885|      0|                     strcmp(lower, "iso_8859_1") == 0 ||
  ------------------
  |  Branch (3885:22): [True: 0, False: 0]
  ------------------
 3886|      0|                     strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3886:22): [True: 0, False: 0]
  ------------------
 3887|      0|                return _PyUnicode_AsLatin1String(unicode, errors);
 3888|      0|            }
 3889|      0|        }
 3890|      6|    }
 3891|       |
 3892|       |    /* Encode via the codec registry */
 3893|      0|    v = _PyCodec_EncodeText(unicode, encoding, errors);
 3894|      0|    if (v == NULL)
  ------------------
  |  Branch (3894:9): [True: 0, False: 0]
  ------------------
 3895|      0|        return NULL;
 3896|       |
 3897|       |    /* The normal path */
 3898|      0|    if (PyBytes_Check(v))
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3899|      0|        return v;
 3900|       |
 3901|       |    /* If the codec returns a buffer, raise a warning and convert to bytes */
 3902|      0|    if (PyByteArray_Check(v)) {
  ------------------
  |  |   24|      0|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3903|      0|        int error;
 3904|      0|        PyObject *b;
 3905|       |
 3906|      0|        error = PyErr_WarnFormat(PyExc_RuntimeWarning, 1,
 3907|      0|            "encoder %s returned bytearray instead of bytes; "
 3908|      0|            "use codecs.encode() to encode to arbitrary types",
 3909|      0|            encoding);
 3910|      0|        if (error) {
  ------------------
  |  Branch (3910:13): [True: 0, False: 0]
  ------------------
 3911|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3912|      0|            return NULL;
 3913|      0|        }
 3914|       |
 3915|      0|        b = PyBytes_FromStringAndSize(PyByteArray_AS_STRING(v),
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3916|      0|                                      PyByteArray_GET_SIZE(v));
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3917|      0|        Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3918|      0|        return b;
 3919|      0|    }
 3920|       |
 3921|      0|    PyErr_Format(PyExc_TypeError,
 3922|      0|                 "'%.400s' encoder returned '%.400s' instead of 'bytes'; "
 3923|      0|                 "use codecs.encode() to encode to arbitrary types",
 3924|      0|                 encoding,
 3925|      0|                 Py_TYPE(v)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3926|      0|    Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3927|       |    return NULL;
 3928|      0|}
PyUnicode_DecodeLocale:
 4015|     56|{
 4016|     56|    Py_ssize_t size = (Py_ssize_t)strlen(str);
 4017|     56|    _Py_error_handler error_handler = _Py_GetErrorHandler(errors);
 4018|     56|    return unicode_decode_locale(str, size, error_handler, 1);
 4019|     56|}
PyUnicode_DecodeFSDefaultAndSize:
 4030|    831|{
 4031|    831|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4032|    831|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 4033|    831|    if (fs_codec->utf8) {
  ------------------
  |  Branch (4033:9): [True: 183, False: 648]
  ------------------
 4034|    183|        return unicode_decode_utf8(s, size,
 4035|    183|                                   fs_codec->error_handler,
 4036|    183|                                   fs_codec->errors,
 4037|    183|                                   NULL);
 4038|    183|    }
 4039|    648|#ifndef _Py_FORCE_UTF8_FS_ENCODING
 4040|    648|    else if (fs_codec->encoding) {
  ------------------
  |  Branch (4040:14): [True: 0, False: 648]
  ------------------
 4041|      0|        return PyUnicode_Decode(s, size,
 4042|      0|                                fs_codec->encoding,
 4043|      0|                                fs_codec->errors);
 4044|      0|    }
 4045|    648|#endif
 4046|    648|    else {
 4047|       |        /* Before _PyUnicode_InitEncodings() is called, the Python codec
 4048|       |           machinery is not ready and so cannot be used:
 4049|       |           use mbstowcs() in this case. */
 4050|    648|        const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 4051|    648|        const wchar_t *filesystem_errors = config->filesystem_errors;
 4052|    648|        assert(filesystem_errors != NULL);
  ------------------
  |  Branch (4052:9): [True: 648, False: 0]
  ------------------
 4053|    648|        _Py_error_handler errors = get_error_handler_wide(filesystem_errors);
 4054|    648|        assert(errors != _Py_ERROR_UNKNOWN);
  ------------------
  |  Branch (4054:9): [True: 648, False: 0]
  ------------------
 4055|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
 4056|       |        return unicode_decode_utf8(s, size, errors, NULL, NULL);
 4057|       |#else
 4058|    648|        return unicode_decode_locale(s, size, errors, 0);
 4059|    648|#endif
 4060|    648|    }
 4061|    831|}
PyUnicode_FSConverter:
 4066|    105|{
 4067|    105|    PyObject *path = NULL;
 4068|    105|    PyObject *output = NULL;
 4069|    105|    Py_ssize_t size;
 4070|    105|    const char *data;
 4071|    105|    if (arg == NULL) {
  ------------------
  |  Branch (4071:9): [True: 0, False: 105]
  ------------------
 4072|      0|        Py_DECREF(*(PyObject**)addr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4073|      0|        *(PyObject**)addr = NULL;
 4074|      0|        return 1;
 4075|      0|    }
 4076|    105|    path = PyOS_FSPath(arg);
 4077|    105|    if (path == NULL) {
  ------------------
  |  Branch (4077:9): [True: 0, False: 105]
  ------------------
 4078|      0|        return 0;
 4079|      0|    }
 4080|    105|    if (PyBytes_Check(path)) {
  ------------------
  |  |   28|    105|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    105|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 105]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4081|      0|        output = path;
 4082|      0|    }
 4083|    105|    else {  // PyOS_FSPath() guarantees its returned value is bytes or str.
 4084|    105|        output = PyUnicode_EncodeFSDefault(path);
 4085|    105|        Py_DECREF(path);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4086|    105|        if (!output) {
  ------------------
  |  Branch (4086:13): [True: 0, False: 105]
  ------------------
 4087|      0|            return 0;
 4088|      0|        }
 4089|    105|        assert(PyBytes_Check(output));
  ------------------
  |  Branch (4089:9): [True: 105, False: 0]
  ------------------
 4090|    105|    }
 4091|       |
 4092|    105|    size = PyBytes_GET_SIZE(output);
  ------------------
  |  |   33|    105|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4093|    105|    data = PyBytes_AS_STRING(output);
  ------------------
  |  |   27|    105|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4094|    105|    if ((size_t)size != strlen(data)) {
  ------------------
  |  Branch (4094:9): [True: 0, False: 105]
  ------------------
 4095|      0|        PyErr_SetString(PyExc_ValueError, "embedded null byte");
 4096|      0|        Py_DECREF(output);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4097|      0|        return 0;
 4098|      0|    }
 4099|    105|    *(PyObject**)addr = output;
 4100|    105|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|    105|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 4101|    105|}
PyUnicode_AsUTF8AndSize:
 4168|   204k|{
 4169|   204k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|   204k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   204k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4169:9): [True: 0, False: 204k]
  ------------------
 4170|      0|        PyErr_BadArgument();
 4171|      0|        if (psize) {
  ------------------
  |  Branch (4171:13): [True: 0, False: 0]
  ------------------
 4172|      0|            *psize = -1;
 4173|      0|        }
 4174|      0|        return NULL;
 4175|      0|    }
 4176|       |
 4177|   204k|    if (unicode_ensure_utf8(unicode) == -1) {
  ------------------
  |  Branch (4177:9): [True: 0, False: 204k]
  ------------------
 4178|      0|        if (psize) {
  ------------------
  |  Branch (4178:13): [True: 0, False: 0]
  ------------------
 4179|      0|            *psize = -1;
 4180|      0|        }
 4181|      0|        return NULL;
 4182|      0|    }
 4183|       |
 4184|   204k|    if (psize) {
  ------------------
  |  Branch (4184:9): [True: 204k, False: 274]
  ------------------
 4185|   204k|        *psize = PyUnicode_UTF8_LENGTH(unicode);
 4186|   204k|    }
 4187|   204k|    return PyUnicode_UTF8(unicode);
 4188|   204k|}
PyUnicode_AsUTF8:
 4192|    274|{
 4193|       |    return PyUnicode_AsUTF8AndSize(unicode, NULL);
 4194|    274|}
_PyUnicode_AsUTF8NoNUL:
 4198|   202k|{
 4199|   202k|    Py_ssize_t size;
 4200|   202k|    const char *s = PyUnicode_AsUTF8AndSize(unicode, &size);
 4201|   202k|    if (s && strlen(s) != (size_t)size) {
  ------------------
  |  Branch (4201:9): [True: 202k, False: 0]
  |  Branch (4201:14): [True: 0, False: 202k]
  ------------------
 4202|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 4203|      0|        return NULL;
 4204|      0|    }
 4205|   202k|    return s;
 4206|   202k|}
PyUnicode_GetLength:
 4226|     76|{
 4227|     76|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|     76|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     76|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4227:9): [True: 0, False: 76]
  ------------------
 4228|      0|        PyErr_BadArgument();
 4229|      0|        return -1;
 4230|      0|    }
 4231|     76|    return PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|     76|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4232|     76|}
PyUnicode_ReadChar:
 4236|   585k|{
 4237|   585k|    const void *data;
 4238|   585k|    int kind;
 4239|       |
 4240|   585k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|   585k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   585k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4240:9): [True: 0, False: 585k]
  ------------------
 4241|      0|        PyErr_BadArgument();
 4242|      0|        return (Py_UCS4)-1;
 4243|      0|    }
 4244|   585k|    if (index < 0 || index >= PyUnicode_GET_LENGTH(unicode)) {
  ------------------
  |  |  300|   585k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4244:9): [True: 0, False: 585k]
  |  Branch (4244:22): [True: 0, False: 585k]
  ------------------
 4245|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
 4246|      0|        return (Py_UCS4)-1;
 4247|      0|    }
 4248|   585k|    data = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|   585k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4249|   585k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|   585k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.17M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 585k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4250|   585k|    return PyUnicode_READ(kind, data, index);
  ------------------
  |  |  355|   585k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   585k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   585k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   585k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   585k|                   (index))
  ------------------
 4251|   585k|}
PyUnicode_DecodeUTF8:
 4922|  58.9M|{
 4923|       |    return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 4924|  58.9M|}
_PyUnicode_DecodeUTF8Writer:
 5417|  68.5k|{
 5418|  68.5k|    if (size == 0) {
  ------------------
  |  Branch (5418:9): [True: 0, False: 68.5k]
  ------------------
 5419|      0|        if (consumed) {
  ------------------
  |  Branch (5419:13): [True: 0, False: 0]
  ------------------
 5420|      0|            *consumed = 0;
 5421|      0|        }
 5422|      0|        return 0;
 5423|      0|    }
 5424|       |
 5425|  68.5k|    Py_ssize_t old_pos = writer->pos;
 5426|  68.5k|    Py_UCS4 old_maxchar = writer->maxchar;
 5427|       |
 5428|       |    // fast path: try ASCII string.
 5429|  68.5k|    if (_PyUnicodeWriter_Prepare(writer, size, 127) < 0) {
  ------------------
  |  Branch (5429:9): [True: 0, False: 68.5k]
  ------------------
 5430|      0|        goto error;
 5431|      0|    }
 5432|  68.5k|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (5432:5): [True: 68.5k, False: 0]
  ------------------
 5433|       |
 5434|  68.5k|    const char *starts = s;
 5435|  68.5k|    const char *end = s + size;
 5436|  68.5k|    if (writer->kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5436:9): [True: 68.5k, False: 0]
  ------------------
 5437|  68.5k|        Py_UCS1 *dest = (Py_UCS1*)writer->data + writer->pos * writer->kind;
 5438|  68.5k|        Py_ssize_t decoded = ascii_decode(s, end, dest);
 5439|  68.5k|        writer->pos += decoded;
 5440|       |
 5441|  68.5k|        if (decoded == size) {
  ------------------
  |  Branch (5441:13): [True: 68.2k, False: 271]
  ------------------
 5442|  68.2k|            if (consumed) {
  ------------------
  |  Branch (5442:17): [True: 0, False: 68.2k]
  ------------------
 5443|      0|                *consumed = size;
 5444|      0|            }
 5445|  68.2k|            return 0;
 5446|  68.2k|        }
 5447|    271|        s += decoded;
 5448|    271|    }
 5449|       |
 5450|    271|    int res = unicode_decode_utf8_impl(writer, starts, s, end,
 5451|    271|                                       error_handler, errors, consumed);
 5452|    271|    if (res < 0) {
  ------------------
  |  Branch (5452:9): [True: 0, False: 271]
  ------------------
 5453|      0|        goto error;
 5454|      0|    }
 5455|    271|    return 0;
 5456|       |
 5457|      0|error:
 5458|       |    // Restore the writer to its previous state
 5459|      0|    writer->pos = old_pos;
 5460|      0|    if (writer->maxchar > old_maxchar) {
  ------------------
  |  Branch (5460:9): [True: 0, False: 0]
  ------------------
 5461|       |        // _PyUnicodeWriter_Finish() will check maxchar
 5462|      0|        writer->recheck_maxchar = 1;
 5463|      0|    }
 5464|      0|    if (consumed) {
  ------------------
  |  Branch (5464:9): [True: 0, False: 0]
  ------------------
 5465|      0|        *consumed = 0;
 5466|      0|    }
 5467|      0|    return -1;
 5468|    271|}
PyUnicode_DecodeUTF8Stateful:
 5476|  60.0M|{
 5477|  60.0M|    return unicode_decode_utf8(s, size,
 5478|  60.0M|                               errors ? _Py_ERROR_UNKNOWN : _Py_ERROR_STRICT,
  ------------------
  |  Branch (5478:32): [True: 59.1M, False: 834k]
  ------------------
 5479|  60.0M|                               errors, consumed);
 5480|  60.0M|}
_Py_DecodeUTF8:
 5504|    660|{
 5505|    660|    assert(0 <= size);
  ------------------
  |  Branch (5505:5): [True: 660, False: 0]
  ------------------
 5506|    660|    assert(s != NULL);
  ------------------
  |  Branch (5506:5): [True: 660, False: 0]
  ------------------
 5507|    660|    assert(wstr != NULL);
  ------------------
  |  Branch (5507:5): [True: 660, False: 0]
  ------------------
 5508|       |
 5509|    660|    int surrogateescape = 0;
 5510|    660|    int surrogatepass = 0;
 5511|    660|    switch (errors)
 5512|    660|    {
 5513|      0|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (5513:5): [True: 0, False: 660]
  ------------------
 5514|      0|        break;
 5515|    660|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5515:5): [True: 660, False: 0]
  ------------------
 5516|    660|        surrogateescape = 1;
 5517|    660|        break;
 5518|      0|    case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (5518:5): [True: 0, False: 660]
  ------------------
 5519|      0|        surrogatepass = 1;
 5520|      0|        break;
 5521|      0|    default:
  ------------------
  |  Branch (5521:5): [True: 0, False: 660]
  ------------------
 5522|      0|        return _Py_CODEC_UNSUPPORTED_ERROR_HANDLER;
  ------------------
  |  |  191|      0|#define _Py_CODEC_UNSUPPORTED_ERROR_HANDLER -3
  ------------------
 5523|    660|    }
 5524|       |
 5525|       |    /* Note: size will always be longer than the resulting Unicode
 5526|       |       character count */
 5527|    660|    if ((size_t)PY_SSIZE_T_MAX / sizeof(wchar_t) - 1 < (size_t)size) {
  ------------------
  |  |  137|    660|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5527:9): [True: 0, False: 660]
  ------------------
 5528|      0|        return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
 5529|      0|    }
 5530|    660|    wchar_t *unicode = PyMem_RawMalloc((size + 1) * sizeof(wchar_t));
 5531|    660|    if (!unicode) {
  ------------------
  |  Branch (5531:9): [True: 0, False: 660]
  ------------------
 5532|      0|        return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
 5533|      0|    }
 5534|       |
 5535|       |    /* Unpack UTF-8 encoded data */
 5536|    660|    const char *orig_s = s;
 5537|    660|    const char *e = s + size;
 5538|    660|    Py_ssize_t outpos = 0;
 5539|    660|    while (s < e) {
  ------------------
  |  Branch (5539:12): [True: 660, False: 0]
  ------------------
 5540|    660|        Py_UCS4 ch;
 5541|    660|#if SIZEOF_WCHAR_T == 4
 5542|    660|        ch = ucs4lib_utf8_decode(&s, e, (Py_UCS4 *)unicode, &outpos);
 5543|       |#else
 5544|       |        ch = ucs2lib_utf8_decode(&s, e, (Py_UCS2 *)unicode, &outpos);
 5545|       |#endif
 5546|    660|        if (ch > 0xFF) {
  ------------------
  |  Branch (5546:13): [True: 0, False: 660]
  ------------------
 5547|      0|#if SIZEOF_WCHAR_T == 4
 5548|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5549|       |#else
 5550|       |            assert(ch > 0xFFFF && ch <= MAX_UNICODE);
 5551|       |            /* write a surrogate pair */
 5552|       |            unicode[outpos++] = (wchar_t)Py_UNICODE_HIGH_SURROGATE(ch);
 5553|       |            unicode[outpos++] = (wchar_t)Py_UNICODE_LOW_SURROGATE(ch);
 5554|       |#endif
 5555|      0|        }
 5556|    660|        else {
 5557|    660|            if (!ch && s == e) {
  ------------------
  |  Branch (5557:17): [True: 660, False: 0]
  |  Branch (5557:24): [True: 660, False: 0]
  ------------------
 5558|    660|                break;
 5559|    660|            }
 5560|       |
 5561|      0|            if (surrogateescape) {
  ------------------
  |  Branch (5561:17): [True: 0, False: 0]
  ------------------
 5562|      0|                unicode[outpos++] = 0xDC00 + (unsigned char)*s++;
 5563|      0|            }
 5564|      0|            else {
 5565|       |                /* Is it a valid three-byte code? */
 5566|      0|                if (surrogatepass
  ------------------
  |  Branch (5566:21): [True: 0, False: 0]
  ------------------
 5567|      0|                    && (e - s) >= 3
  ------------------
  |  Branch (5567:24): [True: 0, False: 0]
  ------------------
 5568|      0|                    && (s[0] & 0xf0) == 0xe0
  ------------------
  |  Branch (5568:24): [True: 0, False: 0]
  ------------------
 5569|      0|                    && (s[1] & 0xc0) == 0x80
  ------------------
  |  Branch (5569:24): [True: 0, False: 0]
  ------------------
 5570|      0|                    && (s[2] & 0xc0) == 0x80)
  ------------------
  |  Branch (5570:24): [True: 0, False: 0]
  ------------------
 5571|      0|                {
 5572|      0|                    ch = ((s[0] & 0x0f) << 12) + ((s[1] & 0x3f) << 6) + (s[2] & 0x3f);
 5573|      0|                    s += 3;
 5574|      0|                    unicode[outpos++] = ch;
 5575|      0|                }
 5576|      0|                else {
 5577|      0|                    PyMem_RawFree(unicode );
 5578|      0|                    if (wlen != NULL) {
  ------------------
  |  Branch (5578:25): [True: 0, False: 0]
  ------------------
 5579|      0|                        *wlen = s - orig_s;
 5580|      0|                    }
 5581|      0|                    return _Py_CODEC_DECODE_ERROR;
  ------------------
  |  |  189|      0|#define _Py_CODEC_DECODE_ERROR -2
  ------------------
 5582|      0|                }
 5583|      0|            }
 5584|      0|        }
 5585|    660|    }
 5586|    660|    unicode[outpos] = L'\0';
 5587|    660|    if (wlen) {
  ------------------
  |  Branch (5587:9): [True: 660, False: 0]
  ------------------
 5588|    660|        *wlen = outpos;
 5589|    660|    }
 5590|    660|    *wstr = unicode;
 5591|    660|    return 0;
 5592|    660|}
_Py_EncodeUTF8:
 5634|    100|{
 5635|    100|    assert(str != NULL);
  ------------------
  |  Branch (5635:5): [True: 100, False: 0]
  ------------------
 5636|    100|    assert(output_length != NULL);
  ------------------
  |  Branch (5636:5): [True: 100, False: 0]
  ------------------
 5637|       |
 5638|       |    // U+10ffff encoded to UTF-8 takes 4 bytes
 5639|    100|    const size_t max_char_size = 4;
 5640|    100|    size_t len = wcslen(text);
 5641|       |
 5642|    100|    int surrogateescape = 0;
 5643|    100|    int surrogatepass = 0;
 5644|    100|    switch (errors)
 5645|    100|    {
 5646|      8|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (5646:5): [True: 8, False: 92]
  ------------------
 5647|      8|        break;
 5648|     92|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5648:5): [True: 92, False: 8]
  ------------------
 5649|     92|        surrogateescape = 1;
 5650|     92|        break;
 5651|      0|    case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (5651:5): [True: 0, False: 100]
  ------------------
 5652|      0|        surrogatepass = 1;
 5653|      0|        break;
 5654|      0|    default:
  ------------------
  |  Branch (5654:5): [True: 0, False: 100]
  ------------------
 5655|      0|        return _Py_CODEC_UNSUPPORTED_ERROR_HANDLER;
  ------------------
  |  |  191|      0|#define _Py_CODEC_UNSUPPORTED_ERROR_HANDLER -3
  ------------------
 5656|    100|    }
 5657|       |
 5658|    100|    if (len > (size_t)PY_SSIZE_T_MAX / max_char_size - 1) {
  ------------------
  |  |  137|    100|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5658:9): [True: 0, False: 100]
  ------------------
 5659|      0|        return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
 5660|      0|    }
 5661|    100|    char *bytes;
 5662|    100|    if (raw_malloc) {
  ------------------
  |  Branch (5662:9): [True: 100, False: 0]
  ------------------
 5663|    100|        bytes = PyMem_RawMalloc((len + 1) * max_char_size);
 5664|    100|    }
 5665|      0|    else {
 5666|      0|        bytes = PyMem_Malloc((len + 1) * max_char_size);
 5667|      0|    }
 5668|    100|    if (bytes == NULL) {
  ------------------
  |  Branch (5668:9): [True: 0, False: 100]
  ------------------
 5669|      0|        return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
 5670|      0|    }
 5671|       |
 5672|    100|    char *p = bytes;
 5673|  6.52k|    for (size_t i = 0; i < len; ) {
  ------------------
  |  Branch (5673:24): [True: 6.42k, False: 100]
  ------------------
 5674|  6.42k|        Py_ssize_t ch_pos = i;
 5675|  6.42k|        Py_UCS4 ch = text[i];
 5676|  6.42k|        i++;
 5677|  6.42k|        if (sizeof(wchar_t) == 2
  ------------------
  |  Branch (5677:13): [Folded, False: 6.42k]
  ------------------
 5678|      0|            && Py_UNICODE_IS_HIGH_SURROGATE(ch)
  ------------------
  |  Branch (5678:16): [True: 0, False: 0]
  ------------------
 5679|      0|            && i < len
  ------------------
  |  Branch (5679:16): [True: 0, False: 0]
  ------------------
 5680|      0|            && Py_UNICODE_IS_LOW_SURROGATE(text[i]))
  ------------------
  |  Branch (5680:16): [True: 0, False: 0]
  ------------------
 5681|      0|        {
 5682|      0|            ch = Py_UNICODE_JOIN_SURROGATES(ch, text[i]);
 5683|      0|            i++;
 5684|      0|        }
 5685|       |
 5686|  6.42k|        if (ch < 0x80) {
  ------------------
  |  Branch (5686:13): [True: 6.42k, False: 0]
  ------------------
 5687|       |            /* Encode ASCII */
 5688|  6.42k|            *p++ = (char) ch;
 5689|  6.42k|        }
 5690|      0|        else if (ch < 0x0800) {
  ------------------
  |  Branch (5690:18): [True: 0, False: 0]
  ------------------
 5691|       |            /* Encode Latin-1 */
 5692|      0|            *p++ = (char)(0xc0 | (ch >> 6));
 5693|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5694|      0|        }
 5695|      0|        else if (Py_UNICODE_IS_SURROGATE(ch) && !surrogatepass) {
  ------------------
  |  Branch (5695:18): [True: 0, False: 0]
  |  Branch (5695:49): [True: 0, False: 0]
  ------------------
 5696|       |            /* surrogateescape error handler */
 5697|      0|            if (!surrogateescape || !(0xDC80 <= ch && ch <= 0xDCFF)) {
  ------------------
  |  Branch (5697:17): [True: 0, False: 0]
  |  Branch (5697:39): [True: 0, False: 0]
  |  Branch (5697:55): [True: 0, False: 0]
  ------------------
 5698|      0|                if (error_pos != NULL) {
  ------------------
  |  Branch (5698:21): [True: 0, False: 0]
  ------------------
 5699|      0|                    *error_pos = (size_t)ch_pos;
 5700|      0|                }
 5701|      0|                if (raw_malloc) {
  ------------------
  |  Branch (5701:21): [True: 0, False: 0]
  ------------------
 5702|      0|                    PyMem_RawFree(bytes);
 5703|      0|                }
 5704|      0|                else {
 5705|      0|                    PyMem_Free(bytes);
 5706|      0|                }
 5707|      0|                return _Py_CODEC_ENCODE_ERROR;
  ------------------
  |  |  190|      0|#define _Py_CODEC_ENCODE_ERROR -2
  ------------------
 5708|      0|            }
 5709|      0|            *p++ = (char)(ch & 0xff);
 5710|      0|        }
 5711|      0|        else if (ch < 0x10000) {
  ------------------
  |  Branch (5711:18): [True: 0, False: 0]
  ------------------
 5712|      0|            *p++ = (char)(0xe0 | (ch >> 12));
 5713|      0|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
 5714|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5715|      0|        }
 5716|      0|        else {  /* ch >= 0x10000 */
 5717|      0|            assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (5717:13): [True: 0, False: 0]
  ------------------
 5718|       |            /* Encode UCS4 Unicode ordinals */
 5719|      0|            *p++ = (char)(0xf0 | (ch >> 18));
 5720|      0|            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
 5721|      0|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
 5722|      0|            *p++ = (char)(0x80 | (ch & 0x3f));
 5723|      0|        }
 5724|  6.42k|    }
 5725|       |
 5726|    100|    *p++ = '\0';  // trailing NUL byte
 5727|    100|    size_t final_size = (p - bytes);
 5728|    100|    assert(final_size >= 1);
  ------------------
  |  Branch (5728:5): [True: 100, False: 0]
  ------------------
 5729|    100|    *output_length = final_size - 1;  // -1 for the trailing NUL byte
 5730|       |
 5731|    100|    char *result;
 5732|    100|    if (raw_malloc) {
  ------------------
  |  Branch (5732:9): [True: 100, False: 0]
  ------------------
 5733|    100|        result = PyMem_RawRealloc(bytes, final_size);
 5734|    100|    }
 5735|      0|    else {
 5736|      0|        result = PyMem_Realloc(bytes, final_size);
 5737|      0|    }
 5738|    100|    if (result == NULL) {
  ------------------
  |  Branch (5738:9): [True: 0, False: 100]
  ------------------
 5739|      0|        if (raw_malloc) {
  ------------------
  |  Branch (5739:13): [True: 0, False: 0]
  ------------------
 5740|      0|            PyMem_RawFree(bytes);
 5741|      0|        }
 5742|      0|        else {
 5743|      0|            PyMem_Free(bytes);
 5744|      0|        }
 5745|      0|        return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
 5746|      0|    }
 5747|    100|    *str = result;
 5748|    100|    return 0;
 5749|    100|}
_PyUnicode_AsUTF8String:
 5858|      6|{
 5859|      6|    return unicode_encode_utf8(unicode, _Py_ERROR_UNKNOWN, errors);
 5860|      6|}
PyUnicode_DecodeLatin1:
 7160|     37|{
 7161|       |    /* Latin-1 is equivalent to the first 256 ordinals in Unicode. */
 7162|     37|    return _PyUnicode_FromUCS1((const unsigned char*)s, size);
 7163|     37|}
PyUnicode_DecodeASCII:
 7476|     70|{
 7477|     70|    const char *starts = s;
 7478|     70|    const char *e = s + size;
 7479|     70|    PyObject *error_handler_obj = NULL;
 7480|     70|    PyObject *exc = NULL;
 7481|     70|    _Py_error_handler error_handler = _Py_ERROR_UNKNOWN;
 7482|       |
 7483|     70|    if (size == 0)
  ------------------
  |  Branch (7483:9): [True: 0, False: 70]
  ------------------
 7484|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7485|       |
 7486|       |    /* ASCII is equivalent to the first 128 ordinals in Unicode. */
 7487|     70|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (7487:9): [True: 0, False: 70]
  |  Branch (7487:22): [True: 0, False: 0]
  ------------------
 7488|      0|        return get_latin1_char((unsigned char)s[0]);
 7489|      0|    }
 7490|       |
 7491|       |    // Shortcut for simple case
 7492|     70|    PyObject *u = PyUnicode_New(size, 127);
 7493|     70|    if (u == NULL) {
  ------------------
  |  Branch (7493:9): [True: 0, False: 70]
  ------------------
 7494|      0|        return NULL;
 7495|      0|    }
 7496|     70|    Py_ssize_t outpos = ascii_decode(s, e, PyUnicode_1BYTE_DATA(u));
  ------------------
  |  |  292|     70|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     70|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7497|     70|    if (outpos == size) {
  ------------------
  |  Branch (7497:9): [True: 64, False: 6]
  ------------------
 7498|     64|        return u;
 7499|     64|    }
 7500|       |
 7501|      6|    _PyUnicodeWriter writer;
 7502|      6|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 7503|      6|    writer.pos = outpos;
 7504|       |
 7505|      6|    s += outpos;
 7506|      6|    int kind = writer.kind;
 7507|      6|    void *data = writer.data;
 7508|      6|    Py_ssize_t startinpos, endinpos;
 7509|       |
 7510|    774|    while (s < e) {
  ------------------
  |  Branch (7510:12): [True: 768, False: 6]
  ------------------
 7511|    768|        unsigned char c = (unsigned char)*s;
 7512|    768|        if (c < 128) {
  ------------------
  |  Branch (7512:13): [True: 0, False: 768]
  ------------------
 7513|      0|            PyUnicode_WRITE(kind, data, writer.pos, c);
  ------------------
  |  |  336|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7514|      0|            writer.pos++;
 7515|      0|            ++s;
 7516|      0|            continue;
 7517|      0|        }
 7518|       |
 7519|       |        /* byte outsize range 0x00..0x7f: call the error handler */
 7520|       |
 7521|    768|        if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (7521:13): [True: 6, False: 762]
  ------------------
 7522|      6|            error_handler = _Py_GetErrorHandler(errors);
 7523|       |
 7524|    768|        switch (error_handler)
 7525|    768|        {
 7526|    768|        case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (7526:9): [True: 768, False: 0]
  ------------------
 7527|    768|        case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (7527:9): [True: 0, False: 768]
  ------------------
 7528|       |            /* Fast-path: the error handler only writes one character,
 7529|       |               but we may switch to UCS2 at the first write */
 7530|    768|            if (_PyUnicodeWriter_PrepareKind(&writer, PyUnicode_2BYTE_KIND) < 0)
  ------------------
  |  |  543|    768|    ((KIND) <= (WRITER)->kind                                         \
  |  |  ------------------
  |  |  |  Branch (543:6): [True: 762, False: 6]
  |  |  ------------------
  |  |  544|    768|     ? 0                                                              \
  |  |  545|    768|     : _PyUnicodeWriter_PrepareKindInternal((WRITER), (KIND)))
  ------------------
  |  Branch (7530:17): [True: 0, False: 768]
  ------------------
 7531|      0|                goto onError;
 7532|    768|            assert(_PyUnicodeWriter_CanWrite(&writer));
  ------------------
  |  Branch (7532:13): [True: 768, False: 0]
  ------------------
 7533|    768|            kind = writer.kind;
 7534|    768|            data = writer.data;
 7535|       |
 7536|    768|            if (error_handler == _Py_ERROR_REPLACE)
  ------------------
  |  Branch (7536:17): [True: 768, False: 0]
  ------------------
 7537|    768|                PyUnicode_WRITE(kind, data, writer.pos, 0xfffd);
  ------------------
  |  |  336|    768|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|    768|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|    768|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|    768|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|    768|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7538|      0|            else
 7539|      0|                PyUnicode_WRITE(kind, data, writer.pos, c + 0xdc00);
  ------------------
  |  |  336|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7540|    768|            writer.pos++;
 7541|    768|            ++s;
 7542|    768|            break;
 7543|       |
 7544|      0|        case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (7544:9): [True: 0, False: 768]
  ------------------
 7545|      0|            ++s;
 7546|      0|            break;
 7547|       |
 7548|      0|        default:
  ------------------
  |  Branch (7548:9): [True: 0, False: 768]
  ------------------
 7549|      0|            startinpos = s-starts;
 7550|      0|            endinpos = startinpos + 1;
 7551|      0|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (7551:17): [True: 0, False: 0]
  ------------------
 7552|      0|                    errors, &error_handler_obj,
 7553|      0|                    "ascii", "ordinal not in range(128)",
 7554|      0|                    &starts, &e, &startinpos, &endinpos, &exc, &s,
 7555|      0|                    &writer))
 7556|      0|                goto onError;
 7557|      0|            kind = writer.kind;
 7558|      0|            data = writer.data;
 7559|    768|        }
 7560|    768|    }
 7561|      6|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7562|      6|    Py_XDECREF(exc);
  ------------------
  |  |  621|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7563|      6|    return _PyUnicodeWriter_Finish(&writer);
 7564|       |
 7565|      0|  onError:
 7566|      0|    _PyUnicodeWriter_Dealloc(&writer);
 7567|      0|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7568|      0|    Py_XDECREF(exc);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7569|       |    return NULL;
 7570|      6|}
_PyUnicode_AsASCIIString:
 7574|     38|{
 7575|     38|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|     38|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     38|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7575:9): [True: 0, False: 38]
  ------------------
 7576|      0|        PyErr_BadArgument();
 7577|      0|        return NULL;
 7578|      0|    }
 7579|       |    /* Fast path: if it is an ASCII-only string, construct bytes object
 7580|       |       directly. Else defer to above function to raise the exception. */
 7581|     38|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  228|     38|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 38, False: 0]
  |  |  ------------------
  ------------------
 7582|     38|        return PyBytes_FromStringAndSize(PyUnicode_DATA(unicode),
  ------------------
  |  |  285|     38|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7583|     38|                                         PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  |  300|     38|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7584|      0|    return unicode_encode_ucs1(unicode, errors, 128);
 7585|     38|}
PyUnicode_AsASCIIString:
 7589|     38|{
 7590|       |    return _PyUnicode_AsASCIIString(unicode, NULL);
 7591|     38|}
_PyUnicode_DecodeIconv:
 8331|     70|{
 8332|     70|    if (size < 0) {
  ------------------
  |  Branch (8332:9): [True: 0, False: 70]
  ------------------
 8333|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 8334|      0|        return NULL;
 8335|      0|    }
 8336|       |
 8337|     70|    iconv_t cd = iconv_open_or_set_error(ICONV_PIVOT, encoding, encoding);
  ------------------
  |  | 8288|     70|#  define ICONV_PIVOT "UTF-32LE"
  ------------------
 8338|     70|    if (cd == (iconv_t)-1) {
  ------------------
  |  Branch (8338:9): [True: 0, False: 70]
  ------------------
 8339|      0|        return NULL;
 8340|      0|    }
 8341|       |
 8342|       |    /* Scratch buffer for one iconv() output chunk, as UTF-32 code points. */
 8343|     70|    Py_UCS4 chunk[1024];
 8344|     70|    const char *starts = s;
 8345|     70|    const char *in = s;
 8346|     70|    const char *inend = s + size;
 8347|     70|    _PyUnicodeWriter writer;
 8348|     70|    PyObject *errorHandler = NULL;
 8349|     70|    PyObject *exc = NULL;
 8350|       |
 8351|     70|    _PyUnicodeWriter_Init(&writer);
 8352|     70|    writer.min_length = size;
 8353|       |
 8354|  4.21k|    while (in < inend) {
  ------------------
  |  Branch (8354:12): [True: 4.18k, False: 30]
  ------------------
 8355|  4.18k|        char *inptr = (char *)in;
 8356|  4.18k|        size_t inleft = (size_t)(inend - in);
 8357|  4.18k|        char *outptr = (char *)chunk;
 8358|  4.18k|        size_t outleft = sizeof(chunk);
 8359|       |
 8360|       |        /* Cast the input buffer through void*: iconv() declares its second
 8361|       |           argument as "char **" on most systems but "const char **" on some
 8362|       |           (e.g. illumos), and void* converts to either without a warning. */
 8363|  4.18k|        size_t ret = iconv(cd, (void *)&inptr, &inleft, &outptr, &outleft);
 8364|  4.18k|        int err = errno;
 8365|  4.18k|        in = inptr;
 8366|       |
 8367|       |        /* Append whatever code points this call produced. */
 8368|  4.18k|        Py_ssize_t nch = (Py_UCS4 *)outptr - chunk;
 8369|  4.18k|        if (nch > 0 && PyUnicodeWriter_WriteUCS4((PyUnicodeWriter *)&writer,
  ------------------
  |  Branch (8369:13): [True: 327, False: 3.85k]
  |  Branch (8369:24): [True: 0, False: 327]
  ------------------
 8370|    327|                                                 chunk, nch) < 0) {
 8371|      0|            goto error;
 8372|      0|        }
 8373|       |
 8374|  4.18k|        if (ret != (size_t)-1) {
  ------------------
  |  Branch (8374:13): [True: 40, False: 4.14k]
  ------------------
 8375|     40|            assert(in == inend);
  ------------------
  |  Branch (8375:13): [True: 40, False: 0]
  ------------------
 8376|     40|            break;
 8377|     40|        }
 8378|       |
 8379|  4.14k|        if (err == E2BIG) {
  ------------------
  |  Branch (8379:13): [True: 0, False: 4.14k]
  ------------------
 8380|       |            /* The scratch buffer filled up; drain it and continue. */
 8381|      0|            continue;
 8382|      0|        }
 8383|       |
 8384|  4.14k|        const char *reason;
 8385|  4.14k|        if (err == EINVAL) {
  ------------------
  |  Branch (8385:13): [True: 17, False: 4.12k]
  ------------------
 8386|       |            /* Incomplete multibyte sequence at the end of the input. */
 8387|     17|            if (consumed != NULL) {
  ------------------
  |  Branch (8387:17): [True: 0, False: 17]
  ------------------
 8388|       |                /* Stateful decoding: stop and report the consumed bytes. */
 8389|      0|                break;
 8390|      0|            }
 8391|     17|            reason = "incomplete multibyte sequence";
 8392|     17|        }
 8393|  4.12k|        else if (err == EILSEQ) {
  ------------------
  |  Branch (8393:18): [True: 4.12k, False: 0]
  ------------------
 8394|  4.12k|            reason = "invalid multibyte sequence";
 8395|  4.12k|        }
 8396|      0|        else {
 8397|      0|            errno = err;
 8398|      0|            PyErr_SetFromErrno(PyExc_OSError);
 8399|      0|            goto error;
 8400|      0|        }
 8401|       |
 8402|  4.14k|        Py_ssize_t startinpos = in - starts;
 8403|  4.14k|        Py_ssize_t endinpos = startinpos + 1;
 8404|  4.14k|        if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (8404:13): [True: 0, False: 4.14k]
  ------------------
 8405|  4.14k|                errors, &errorHandler, encoding, reason,
 8406|  4.14k|                &starts, &inend, &startinpos, &endinpos, &exc, &in,
 8407|  4.14k|                &writer)) {
 8408|      0|            goto error;
 8409|      0|        }
 8410|       |        /* The error handler may have skipped bytes; reset the conversion
 8411|       |           descriptor to the initial shift state before continuing. */
 8412|  4.14k|        iconv(cd, NULL, NULL, NULL, NULL);
 8413|  4.14k|    }
 8414|       |
 8415|     70|    if (consumed != NULL) {
  ------------------
  |  Branch (8415:9): [True: 0, False: 70]
  ------------------
 8416|      0|        *consumed = in - starts;
 8417|      0|    }
 8418|     70|    iconv_close(cd);
 8419|     70|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|     70|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8420|     70|    Py_XDECREF(exc);
  ------------------
  |  |  621|     70|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8421|     70|    return _PyUnicodeWriter_Finish(&writer);
 8422|       |
 8423|      0|error:
 8424|      0|    iconv_close(cd);
 8425|      0|    _PyUnicodeWriter_Dealloc(&writer);
 8426|      0|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8427|      0|    Py_XDECREF(exc);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8428|       |    return NULL;
 8429|     70|}
_PyUnicode_EncodeIconv:
 8461|    378|{
 8462|    378|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    378|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    378|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8462:9): [True: 0, False: 378]
  ------------------
 8463|      0|        PyErr_BadArgument();
 8464|      0|        return NULL;
 8465|      0|    }
 8466|       |
 8467|    378|    Py_ssize_t ulen = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|    378|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8468|    378|    const char *source;         /* iconv source encoding for this kind */
 8469|    378|    const char *data;           /* the units to encode */
 8470|    378|    Py_ssize_t unit;            /* bytes per code point in *data */
 8471|    378|    Py_UCS4 *widened = NULL;    /* owned UTF-32 copy of a 2-byte string */
 8472|    378|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|    378|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    756|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 378, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8473|    378|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (8473:9): [True: 378, False: 0]
  ------------------
 8474|    378|        source = "ISO-8859-1";
 8475|    378|        data = (const char *)PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  292|    378|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    378|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 8476|    378|        unit = 1;
 8477|    378|    }
 8478|      0|    else if (kind == PyUnicode_4BYTE_KIND) {
  ------------------
  |  Branch (8478:14): [True: 0, False: 0]
  ------------------
 8479|      0|        source = ICONV_PIVOT;
  ------------------
  |  | 8288|      0|#  define ICONV_PIVOT "UTF-32LE"
  ------------------
 8480|      0|        data = (const char *)PyUnicode_4BYTE_DATA(unicode);
  ------------------
  |  |  294|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 8481|      0|        unit = 4;
 8482|      0|    }
 8483|      0|    else {
 8484|      0|#ifdef ICONV_UCS2_PIVOT
 8485|       |        /* Known-strict UCS-2: feed the 2-byte buffer directly. */
 8486|      0|        source = ICONV_UCS2_PIVOT;
  ------------------
  |  | 8300|      0|#    define ICONV_UCS2_PIVOT "UCS-2LE"
  ------------------
 8487|      0|        data = (const char *)PyUnicode_2BYTE_DATA(unicode);
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 8488|      0|        unit = 2;
 8489|       |#else
 8490|       |        /* UCS-2 may be aliased to UTF-16 here; widen to UTF-32 to be safe. */
 8491|       |        widened = PyUnicode_AsUCS4Copy(unicode);
 8492|       |        if (widened == NULL) {
 8493|       |            return NULL;
 8494|       |        }
 8495|       |        source = ICONV_PIVOT;
 8496|       |        data = (const char *)widened;
 8497|       |        unit = 4;
 8498|       |#endif
 8499|      0|    }
 8500|       |
 8501|    378|    iconv_t cd = iconv_open_or_set_error(encoding, source, encoding);
 8502|    378|    if (cd == (iconv_t)-1) {
  ------------------
  |  Branch (8502:9): [True: 324, False: 54]
  ------------------
 8503|    324|        PyMem_Free(widened);
 8504|    324|        return NULL;
 8505|    324|    }
 8506|       |
 8507|     54|    PyBytesWriter *writer = NULL;
 8508|     54|    PyObject *errorHandler = NULL;
 8509|     54|    PyObject *exc = NULL;
 8510|     54|    PyObject *result = NULL;
 8511|     54|    const char *ustart = data;
 8512|     54|    const char *up = data;
 8513|     54|    const char *uend = data + (size_t)ulen * unit;
 8514|     54|    int flushing = 0;
 8515|     54|    int careful = 0;            /* feed one code point per iconv() call */
 8516|       |
 8517|       |    /* A generous initial estimate for the output size. */
 8518|     54|    writer = PyBytesWriter_Create(ulen + (ulen >> 1) + 16);
 8519|     54|    if (writer == NULL) {
  ------------------
  |  Branch (8519:9): [True: 0, False: 54]
  ------------------
 8520|      0|        goto done;
 8521|      0|    }
 8522|     54|    char *out = PyBytesWriter_GetData(writer);
 8523|     54|    char *outend = out + PyBytesWriter_GetSize(writer);
 8524|       |
 8525|    108|    for (;;) {
 8526|    108|        char *inptr = (char *)up;
 8527|    108|        size_t inleft = (size_t)(uend - up);
 8528|       |        /* One code point at a time, to pin a substitution to its position. */
 8529|    108|        if (careful && inleft > (size_t)unit) {
  ------------------
  |  Branch (8529:13): [True: 0, False: 108]
  |  Branch (8529:24): [True: 0, False: 0]
  ------------------
 8530|      0|            inleft = (size_t)unit;
 8531|      0|        }
 8532|    108|        char *out_before = out;
 8533|    108|        size_t outleft = (size_t)(outend - out);
 8534|       |        /* When the whole string is converted, a final iconv() call with a
 8535|       |           NULL input flushes any pending shift sequence (e.g. ISO-2022). */
 8536|       |        /* See the note above on the void* cast of the iconv() input buffer. */
 8537|    108|        size_t ret = iconv(cd, flushing ? NULL : (void *)&inptr, &inleft, &out, &outleft);
  ------------------
  |  Branch (8537:32): [True: 54, False: 54]
  ------------------
 8538|    108|        if (!flushing) {
  ------------------
  |  Branch (8538:13): [True: 54, False: 54]
  ------------------
 8539|     54|            up = inptr;
 8540|     54|        }
 8541|       |
 8542|    108|        if (ret != (size_t)-1) {
  ------------------
  |  Branch (8542:13): [True: 108, False: 0]
  ------------------
 8543|    108|            if (flushing) {
  ------------------
  |  Branch (8543:17): [True: 54, False: 54]
  ------------------
 8544|     54|                break;
 8545|     54|            }
 8546|       |            /* A positive result counts nonreversible conversions: iconv()
 8547|       |               substituted an unencodable character instead of failing with
 8548|       |               EILSEQ (musl and *BSD citrus do this).  Treat it as unencodable
 8549|       |               and re-run one code point at a time to locate it. */
 8550|     54|            if (ret > 0) {
  ------------------
  |  Branch (8550:17): [True: 0, False: 54]
  ------------------
 8551|      0|                if (!careful) {
  ------------------
  |  Branch (8551:21): [True: 0, False: 0]
  ------------------
 8552|      0|                    careful = 1;
 8553|      0|                    iconv(cd, NULL, NULL, NULL, NULL);
 8554|      0|                    out = PyBytesWriter_GetData(writer);
 8555|      0|                    outend = out + PyBytesWriter_GetSize(writer);
 8556|      0|                    up = ustart;
 8557|      0|                    continue;
 8558|      0|                }
 8559|       |                /* This code point was substituted; drop it and report it. */
 8560|      0|                out = out_before;
 8561|      0|                up -= unit;
 8562|      0|            }
 8563|     54|            else if (careful && up < uend) {
  ------------------
  |  Branch (8563:22): [True: 0, False: 54]
  |  Branch (8563:33): [True: 0, False: 0]
  ------------------
 8564|      0|                continue;
 8565|      0|            }
 8566|     54|            else {
 8567|       |                /* All input consumed; switch to flushing the shift state. */
 8568|     54|                flushing = 1;
 8569|     54|                continue;
 8570|     54|            }
 8571|     54|        }
 8572|      0|        else if (errno == E2BIG) {
  ------------------
  |  Branch (8572:18): [True: 0, False: 0]
  ------------------
 8573|      0|            if (iconv_grow_writer(writer, &out, &outend) < 0) {
  ------------------
  |  Branch (8573:17): [True: 0, False: 0]
  ------------------
 8574|      0|                goto done;
 8575|      0|            }
 8576|      0|            continue;
 8577|      0|        }
 8578|      0|        else if (errno != EILSEQ && errno != EINVAL) {
  ------------------
  |  Branch (8578:18): [True: 0, False: 0]
  |  Branch (8578:37): [True: 0, False: 0]
  ------------------
 8579|      0|            PyErr_SetFromErrno(PyExc_OSError);
 8580|      0|            goto done;
 8581|      0|        }
 8582|       |
 8583|       |        /* An unencodable code point at *up; one input unit is one code point. */
 8584|      0|        Py_ssize_t pos = (up - ustart) / unit;
 8585|      0|        Py_ssize_t newpos;
 8586|      0|        PyObject *rep = unicode_encode_call_errorhandler(
 8587|      0|                errors, &errorHandler, encoding, "invalid character",
 8588|      0|                unicode, &exc, pos, pos + 1, &newpos);
 8589|      0|        if (rep == NULL) {
  ------------------
  |  Branch (8589:13): [True: 0, False: 0]
  ------------------
 8590|      0|            goto done;
 8591|      0|        }
 8592|       |
 8593|      0|        const char *repdata;
 8594|      0|        Py_ssize_t replen;
 8595|      0|        PyObject *repbytes = NULL;
 8596|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8597|      0|            repdata = PyBytes_AS_STRING(rep);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8598|      0|            replen = PyBytes_GET_SIZE(rep);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8599|      0|        }
 8600|      0|        else {
 8601|       |            /* A str replacement is encoded through the same codec, but
 8602|       |               strictly: handling its errors in turn could never terminate. */
 8603|      0|            assert(PyUnicode_Check(rep));
  ------------------
  |  Branch (8603:13): [True: 0, False: 0]
  ------------------
 8604|      0|            repbytes = _PyUnicode_EncodeIconv(encoding, rep, NULL);
 8605|      0|            Py_DECREF(rep);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8606|      0|            if (repbytes == NULL) {
  ------------------
  |  Branch (8606:17): [True: 0, False: 0]
  ------------------
 8607|      0|                if (PyErr_ExceptionMatches(PyExc_UnicodeEncodeError)) {
  ------------------
  |  Branch (8607:21): [True: 0, False: 0]
  ------------------
 8608|       |                    /* Report the input the caller knows about, not the
 8609|       |                       replacement. */
 8610|      0|                    PyErr_Clear();
 8611|      0|                    raise_encode_exception(&exc, encoding, unicode, pos, pos + 1,
 8612|      0|                            "unable to encode error handler result");
 8613|      0|                }
 8614|      0|                goto done;
 8615|      0|            }
 8616|      0|            repdata = PyBytes_AS_STRING(repbytes);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8617|      0|            replen = PyBytes_GET_SIZE(repbytes);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8618|      0|        }
 8619|       |
 8620|      0|        while (outend - out < replen) {
  ------------------
  |  Branch (8620:16): [True: 0, False: 0]
  ------------------
 8621|      0|            if (iconv_grow_writer(writer, &out, &outend) < 0) {
  ------------------
  |  Branch (8621:17): [True: 0, False: 0]
  ------------------
 8622|      0|                if (repbytes != NULL) {
  ------------------
  |  Branch (8622:21): [True: 0, False: 0]
  ------------------
 8623|      0|                    Py_DECREF(repbytes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8624|      0|                }
 8625|      0|                else {
 8626|      0|                    Py_DECREF(rep);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8627|      0|                }
 8628|      0|                goto done;
 8629|      0|            }
 8630|      0|        }
 8631|      0|        memcpy(out, repdata, replen);
 8632|      0|        out += replen;
 8633|      0|        if (repbytes != NULL) {
  ------------------
  |  Branch (8633:13): [True: 0, False: 0]
  ------------------
 8634|      0|            Py_DECREF(repbytes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8635|      0|        }
 8636|      0|        else {
 8637|      0|            Py_DECREF(rep);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8638|      0|        }
 8639|      0|        up = ustart + (size_t)newpos * unit;
 8640|       |        /* Reset the shift state after the injected replacement bytes. */
 8641|      0|        iconv(cd, NULL, NULL, NULL, NULL);
 8642|      0|    }
 8643|       |
 8644|     54|    result = PyBytesWriter_FinishWithPointer(writer, out);
 8645|     54|    writer = NULL;
 8646|       |
 8647|     54|done:
 8648|     54|    if (writer != NULL) {
  ------------------
  |  Branch (8648:9): [True: 0, False: 54]
  ------------------
 8649|      0|        PyBytesWriter_Discard(writer);
 8650|      0|    }
 8651|     54|    iconv_close(cd);
 8652|     54|    PyMem_Free(widened);
 8653|     54|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|     54|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8654|     54|    Py_XDECREF(exc);
  ------------------
  |  |  621|     54|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8655|     54|    return result;
 8656|     54|}
PyUnicode_DecodeCharmap:
 8887|    154|{
 8888|    154|    _PyUnicodeWriter writer;
 8889|       |
 8890|       |    /* Default to Latin-1 */
 8891|    154|    if (mapping == NULL)
  ------------------
  |  Branch (8891:9): [True: 0, False: 154]
  ------------------
 8892|      0|        return PyUnicode_DecodeLatin1(s, size, errors);
 8893|       |
 8894|    154|    if (size == 0)
  ------------------
  |  Branch (8894:9): [True: 0, False: 154]
  ------------------
 8895|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8896|    154|    _PyUnicodeWriter_Init(&writer);
 8897|    154|    writer.min_length = size;
 8898|    154|    if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1)
  ------------------
  |  Branch (8898:9): [True: 0, False: 154]
  ------------------
 8899|      0|        goto onError;
 8900|       |
 8901|    154|    if (PyUnicode_CheckExact(mapping)) {
  ------------------
  |  |  104|    154|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    154|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    154|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    154|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 154, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8902|    154|        if (charmap_decode_string(s, size, mapping, errors, &writer) < 0)
  ------------------
  |  Branch (8902:13): [True: 0, False: 154]
  ------------------
 8903|      0|            goto onError;
 8904|    154|    }
 8905|      0|    else {
 8906|      0|        if (charmap_decode_mapping(s, size, mapping, errors, &writer) < 0)
  ------------------
  |  Branch (8906:13): [True: 0, False: 0]
  ------------------
 8907|      0|            goto onError;
 8908|      0|    }
 8909|    154|    return _PyUnicodeWriter_Finish(&writer);
 8910|       |
 8911|      0|  onError:
 8912|      0|    _PyUnicodeWriter_Dealloc(&writer);
 8913|       |    return NULL;
 8914|    154|}
PyUnicode_BuildEncodingMap:
 8960|     34|{
 8961|     34|    PyObject *result;
 8962|     34|    struct encoding_map *mresult;
 8963|     34|    int i;
 8964|     34|    int need_dict = 0;
 8965|     34|    unsigned char level1[32];
 8966|     34|    unsigned char level2[512];
 8967|     34|    unsigned char *mlevel1, *mlevel2, *mlevel3;
 8968|     34|    int count2 = 0, count3 = 0;
 8969|     34|    int kind;
 8970|     34|    const void *data;
 8971|     34|    int length;
 8972|     34|    Py_UCS4 ch;
 8973|       |
 8974|     34|    if (!PyUnicode_Check(string) || !PyUnicode_GET_LENGTH(string)) {
  ------------------
  |  |  103|     34|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     68|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyUnicode_Check(string) || !PyUnicode_GET_LENGTH(string)) {
  ------------------
  |  |  300|     34|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8974:9): [True: 0, False: 34]
  |  Branch (8974:37): [True: 0, False: 34]
  ------------------
 8975|      0|        PyErr_BadArgument();
 8976|      0|        return NULL;
 8977|      0|    }
 8978|     34|    kind = PyUnicode_KIND(string);
  ------------------
  |  |  259|     34|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     68|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 34, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8979|     34|    data = PyUnicode_DATA(string);
  ------------------
  |  |  285|     34|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8980|     34|    length = (int)Py_MIN(PyUnicode_GET_LENGTH(string), 256);
  ------------------
  |  |  127|     34|       __extension__ \
  |  |  128|     34|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|     34|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     34|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|     34|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 34]
  |  |  ------------------
  ------------------
 8981|     34|    memset(level1, 0xFF, sizeof level1);
 8982|     34|    memset(level2, 0xFF, sizeof level2);
 8983|       |
 8984|       |    /* If there isn't a one-to-one mapping of NULL to \0,
 8985|       |       or if there are non-BMP characters, we need to use
 8986|       |       a mapping dictionary. */
 8987|     34|    if (PyUnicode_READ(kind, data, 0) != 0)
  ------------------
  |  |  355|     34|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     34|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     34|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     34|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     34|                   (index))
  ------------------
  |  Branch (8987:9): [True: 0, False: 34]
  ------------------
 8988|      0|        need_dict = 1;
 8989|  8.70k|    for (i = 1; i < length; i++) {
  ------------------
  |  Branch (8989:17): [True: 8.67k, False: 34]
  ------------------
 8990|  8.67k|        int l1, l2;
 8991|  8.67k|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|  8.67k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  8.67k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  8.67k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  8.67k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  8.67k|                   (index))
  ------------------
 8992|  8.67k|        if (ch == 0 || ch > 0xFFFF) {
  ------------------
  |  Branch (8992:13): [True: 0, False: 8.67k]
  |  Branch (8992:24): [True: 0, False: 8.67k]
  ------------------
 8993|      0|            need_dict = 1;
 8994|      0|            break;
 8995|      0|        }
 8996|  8.67k|        if (ch == 0xFFFE)
  ------------------
  |  Branch (8996:13): [True: 288, False: 8.38k]
  ------------------
 8997|       |            /* unmapped character */
 8998|    288|            continue;
 8999|  8.38k|        l1 = ch >> 11;
 9000|  8.38k|        l2 = ch >> 7;
 9001|  8.38k|        if (level1[l1] == 0xFF)
  ------------------
  |  Branch (9001:13): [True: 62, False: 8.32k]
  ------------------
 9002|     62|            level1[l1] = count2++;
 9003|  8.38k|        if (level2[l2] == 0xFF)
  ------------------
  |  Branch (9003:13): [True: 180, False: 8.20k]
  ------------------
 9004|    180|            level2[l2] = count3++;
 9005|  8.38k|    }
 9006|       |
 9007|     34|    if (count2 >= 0xFF || count3 >= 0xFF)
  ------------------
  |  Branch (9007:9): [True: 0, False: 34]
  |  Branch (9007:27): [True: 0, False: 34]
  ------------------
 9008|      0|        need_dict = 1;
 9009|       |
 9010|     34|    if (need_dict) {
  ------------------
  |  Branch (9010:9): [True: 0, False: 34]
  ------------------
 9011|      0|        PyObject *result = PyDict_New();
 9012|      0|        if (!result)
  ------------------
  |  Branch (9012:13): [True: 0, False: 0]
  ------------------
 9013|      0|            return NULL;
 9014|      0|        for (i = 0; i < length; i++) {
  ------------------
  |  Branch (9014:21): [True: 0, False: 0]
  ------------------
 9015|      0|            Py_UCS4 c = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
 9016|      0|            PyObject *key = PyLong_FromLong(c);
 9017|      0|            if (key == NULL) {
  ------------------
  |  Branch (9017:17): [True: 0, False: 0]
  ------------------
 9018|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9019|      0|                return NULL;
 9020|      0|            }
 9021|      0|            PyObject *value = PyLong_FromLong(i);
 9022|      0|            if (value == NULL) {
  ------------------
  |  Branch (9022:17): [True: 0, False: 0]
  ------------------
 9023|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9024|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9025|      0|                return NULL;
 9026|      0|            }
 9027|      0|            int rc = PyDict_SetItem(result, key, value);
 9028|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9029|      0|            Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9030|      0|            if (rc < 0) {
  ------------------
  |  Branch (9030:17): [True: 0, False: 0]
  ------------------
 9031|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9032|      0|                return NULL;
 9033|      0|            }
 9034|      0|        }
 9035|      0|        return result;
 9036|      0|    }
 9037|       |
 9038|       |    /* Create a three-level trie */
 9039|     34|    result = PyObject_Malloc(sizeof(struct encoding_map) +
 9040|     34|                             16*count2 + 128*count3 - 1);
 9041|     34|    if (!result) {
  ------------------
  |  Branch (9041:9): [True: 0, False: 34]
  ------------------
 9042|      0|        return PyErr_NoMemory();
 9043|      0|    }
 9044|       |
 9045|     34|    _PyObject_Init(result, &EncodingMapType);
 9046|     34|    mresult = (struct encoding_map*)result;
 9047|     34|    mresult->count2 = count2;
 9048|     34|    mresult->count3 = count3;
 9049|     34|    mlevel1 = mresult->level1;
 9050|     34|    mlevel2 = mresult->level23;
 9051|     34|    mlevel3 = mresult->level23 + 16*count2;
 9052|     34|    memcpy(mlevel1, level1, 32);
 9053|     34|    memset(mlevel2, 0xFF, 16*count2);
 9054|     34|    memset(mlevel3, 0, 128*count3);
 9055|     34|    count3 = 0;
 9056|  8.70k|    for (i = 1; i < length; i++) {
  ------------------
  |  Branch (9056:17): [True: 8.67k, False: 34]
  ------------------
 9057|  8.67k|        int o1, o2, o3, i2, i3;
 9058|  8.67k|        Py_UCS4 ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|  8.67k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  8.67k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  8.67k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  8.67k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  8.67k|                   (index))
  ------------------
 9059|  8.67k|        if (ch == 0xFFFE)
  ------------------
  |  Branch (9059:13): [True: 288, False: 8.38k]
  ------------------
 9060|       |            /* unmapped character */
 9061|    288|            continue;
 9062|  8.38k|        o1 = ch>>11;
 9063|  8.38k|        o2 = (ch>>7) & 0xF;
 9064|  8.38k|        i2 = 16*mlevel1[o1] + o2;
 9065|  8.38k|        if (mlevel2[i2] == 0xFF)
  ------------------
  |  Branch (9065:13): [True: 180, False: 8.20k]
  ------------------
 9066|    180|            mlevel2[i2] = count3++;
 9067|  8.38k|        o3 = ch & 0x7F;
 9068|  8.38k|        i3 = 128*mlevel2[i2] + o3;
 9069|  8.38k|        mlevel3[i3] = i;
 9070|  8.38k|    }
 9071|     34|    return result;
 9072|     34|}
PyUnicode_FindChar:
10099|  3.11k|{
10100|  3.11k|    int kind;
10101|  3.11k|    Py_ssize_t len, result;
10102|  3.11k|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|  3.11k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10103|  3.11k|    ADJUST_INDICES(start, end, len);
  ------------------
  |  | 9968|  3.11k|    do {                                \
  |  | 9969|  3.11k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9969:13): [True: 0, False: 3.11k]
  |  |  ------------------
  |  | 9970|      0|            end = len;                  \
  |  | 9971|      0|        }                               \
  |  | 9972|  3.11k|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9972:18): [True: 0, False: 3.11k]
  |  |  ------------------
  |  | 9973|      0|            end += len;                 \
  |  | 9974|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9974:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9975|      0|                end = 0;                \
  |  | 9976|      0|            }                           \
  |  | 9977|      0|        }                               \
  |  | 9978|  3.11k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9978:13): [True: 0, False: 3.11k]
  |  |  ------------------
  |  | 9979|      0|            start += len;               \
  |  | 9980|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9980:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9981|      0|                start = 0;              \
  |  | 9982|      0|            }                           \
  |  | 9983|      0|        }                               \
  |  | 9984|  3.11k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9984:14): [Folded, False: 3.11k]
  |  |  ------------------
  ------------------
10104|  3.11k|    if (end - start < 1)
  ------------------
  |  Branch (10104:9): [True: 0, False: 3.11k]
  ------------------
10105|      0|        return -1;
10106|  3.11k|    kind = PyUnicode_KIND(str);
  ------------------
  |  |  259|  3.11k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  6.22k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 3.11k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10107|  3.11k|    result = findchar(PyUnicode_1BYTE_DATA(str) + kind*start,
  ------------------
  |  |  292|  3.11k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  3.11k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10108|  3.11k|                      kind, end-start, ch, direction);
10109|  3.11k|    if (result == -1)
  ------------------
  |  Branch (10109:9): [True: 3.02k, False: 90]
  ------------------
10110|  3.02k|        return -1;
10111|     90|    else
10112|     90|        return start + result;
10113|  3.11k|}
PyUnicode_Join:
10425|  39.9k|{
10426|  39.9k|    PyObject *res;
10427|  39.9k|    PyObject *fseq;
10428|  39.9k|    Py_ssize_t seqlen;
10429|  39.9k|    PyObject **items;
10430|       |
10431|  39.9k|    fseq = PySequence_Fast(seq, "can only join an iterable");
10432|  39.9k|    if (fseq == NULL) {
  ------------------
  |  Branch (10432:9): [True: 0, False: 39.9k]
  ------------------
10433|      0|        return NULL;
10434|      0|    }
10435|       |
10436|  39.9k|    Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(seq);
  ------------------
  |  |   77|  39.9k|# define Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(original) {
  ------------------
10437|       |
10438|  39.9k|    items = PySequence_Fast_ITEMS(fseq);
  ------------------
  |  |  102|  39.9k|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|  39.9k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  39.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 39.9k, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|  39.9k|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
10439|  39.9k|    seqlen = PySequence_Fast_GET_SIZE(fseq);
  ------------------
  |  |   92|  39.9k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|  39.9k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  39.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 39.9k, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|  39.9k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  39.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  39.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10440|  39.9k|    res = _PyUnicode_JoinArray(separator, items, seqlen);
10441|       |
10442|  39.9k|    Py_END_CRITICAL_SECTION_SEQUENCE_FAST();
  ------------------
  |  |   78|  39.9k|# define Py_END_CRITICAL_SECTION_SEQUENCE_FAST() }
  ------------------
10443|       |
10444|  39.9k|    Py_DECREF(fseq);
  ------------------
  |  |  430|  39.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  39.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10445|  39.9k|    return res;
10446|  39.9k|}
_PyUnicode_JoinArray:
10450|  40.4k|{
10451|  40.4k|    PyObject *res = NULL; /* the result */
10452|  40.4k|    PyObject *sep = NULL;
10453|  40.4k|    Py_ssize_t seplen;
10454|  40.4k|    PyObject *item;
10455|  40.4k|    Py_ssize_t sz, i, res_offset;
10456|  40.4k|    Py_UCS4 maxchar;
10457|  40.4k|    Py_UCS4 item_maxchar;
10458|  40.4k|    int use_memcpy;
10459|  40.4k|    unsigned char *res_data = NULL, *sep_data = NULL;
10460|  40.4k|    PyObject *last_obj;
10461|  40.4k|    int kind = 0;
10462|       |
10463|       |    /* If empty sequence, return u"". */
10464|  40.4k|    if (seqlen == 0) {
  ------------------
  |  Branch (10464:9): [True: 0, False: 40.4k]
  ------------------
10465|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
10466|      0|    }
10467|       |
10468|       |    /* If singleton sequence with an exact Unicode, return that. */
10469|  40.4k|    last_obj = NULL;
10470|  40.4k|    if (seqlen == 1) {
  ------------------
  |  Branch (10470:9): [True: 9.67k, False: 30.8k]
  ------------------
10471|  9.67k|        if (PyUnicode_CheckExact(items[0])) {
  ------------------
  |  |  104|  9.67k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  9.67k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 9.67k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10472|  9.67k|            res = items[0];
10473|  9.67k|            return Py_NewRef(res);
  ------------------
  |  |  647|  9.67k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10474|  9.67k|        }
10475|      0|        seplen = 0;
10476|      0|        maxchar = 0;
10477|      0|    }
10478|  30.8k|    else {
10479|       |        /* Set up sep and seplen */
10480|  30.8k|        if (separator == NULL) {
  ------------------
  |  Branch (10480:13): [True: 0, False: 30.8k]
  ------------------
10481|       |            /* fall back to a blank space separator */
10482|      0|            sep = PyUnicode_FromOrdinal(' ');
10483|      0|            if (!sep)
  ------------------
  |  Branch (10483:17): [True: 0, False: 0]
  ------------------
10484|      0|                goto onError;
10485|      0|            seplen = 1;
10486|      0|            maxchar = 32;
10487|      0|        }
10488|  30.8k|        else {
10489|  30.8k|            if (!PyUnicode_Check(separator)) {
  ------------------
  |  |  103|  30.8k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  30.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10489:17): [True: 0, False: 30.8k]
  ------------------
10490|      0|                PyErr_Format(PyExc_TypeError,
10491|      0|                             "separator: expected str instance,"
10492|      0|                             " %.80s found",
10493|      0|                             Py_TYPE(separator)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10494|      0|                goto onError;
10495|      0|            }
10496|  30.8k|            sep = separator;
10497|  30.8k|            seplen = PyUnicode_GET_LENGTH(separator);
  ------------------
  |  |  300|  30.8k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10498|  30.8k|            maxchar = PyUnicode_MAX_CHAR_VALUE(separator);
  ------------------
  |  |  406|  30.8k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10499|       |            /* inc refcount to keep this code path symmetric with the
10500|       |               above case of a blank separator */
10501|  30.8k|            Py_INCREF(sep);
  ------------------
  |  |  310|  30.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10502|  30.8k|        }
10503|  30.8k|        last_obj = sep;
10504|  30.8k|    }
10505|       |
10506|       |    /* There are at least two things to join, or else we have a subclass
10507|       |     * of str in the sequence.
10508|       |     * Do a pre-pass to figure out the total amount of space we'll
10509|       |     * need (sz), and see whether all argument are strings.
10510|       |     */
10511|  30.8k|    sz = 0;
10512|       |#ifdef Py_DEBUG
10513|       |    use_memcpy = 0;
10514|       |#else
10515|  30.8k|    use_memcpy = 1;
10516|  30.8k|#endif
10517|  24.9M|    for (i = 0; i < seqlen; i++) {
  ------------------
  |  Branch (10517:17): [True: 24.9M, False: 30.8k]
  ------------------
10518|  24.9M|        size_t add_sz;
10519|  24.9M|        item = items[i];
10520|  24.9M|        if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|  24.9M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  24.9M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10520:13): [True: 0, False: 24.9M]
  ------------------
10521|      0|            PyErr_Format(PyExc_TypeError,
10522|      0|                         "sequence item %zd: expected str instance,"
10523|      0|                         " %.80s found",
10524|      0|                         i, Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10525|      0|            goto onError;
10526|      0|        }
10527|  24.9M|        add_sz = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  300|  24.9M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10528|  24.9M|        item_maxchar = PyUnicode_MAX_CHAR_VALUE(item);
  ------------------
  |  |  406|  24.9M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10529|  24.9M|        maxchar = Py_MAX(maxchar, item_maxchar);
  ------------------
  |  |  133|  24.9M|       __extension__ \
  |  |  134|  24.9M|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  24.9M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  24.9M|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  24.9M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  24.9M|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 24.3M, False: 654k]
  |  |  ------------------
  ------------------
10530|  24.9M|        if (i != 0) {
  ------------------
  |  Branch (10530:13): [True: 24.9M, False: 30.8k]
  ------------------
10531|  24.9M|            add_sz += seplen;
10532|  24.9M|        }
10533|  24.9M|        if (add_sz > (size_t)(PY_SSIZE_T_MAX - sz)) {
  ------------------
  |  |  137|  24.9M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (10533:13): [True: 0, False: 24.9M]
  ------------------
10534|      0|            PyErr_SetString(PyExc_OverflowError,
10535|      0|                            "join() result is too long for a Python string");
10536|      0|            goto onError;
10537|      0|        }
10538|  24.9M|        sz += add_sz;
10539|  24.9M|        if (use_memcpy && last_obj != NULL) {
  ------------------
  |  Branch (10539:13): [True: 603k, False: 24.3M]
  |  Branch (10539:27): [True: 603k, False: 0]
  ------------------
10540|  1.20M|            if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  259|   603k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.20M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 603k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  259|   603k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.20M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 603k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10540:17): [True: 13.9k, False: 589k]
  ------------------
10541|  13.9k|                use_memcpy = 0;
10542|   603k|        }
10543|      0|        last_obj = item;
10544|  24.9M|    }
10545|       |
10546|  30.8k|    res = PyUnicode_New(sz, maxchar);
10547|  30.8k|    if (res == NULL)
  ------------------
  |  Branch (10547:9): [True: 0, False: 30.8k]
  ------------------
10548|      0|        goto onError;
10549|       |
10550|       |    /* Catenate everything. */
10551|       |#ifdef Py_DEBUG
10552|       |    use_memcpy = 0;
10553|       |#else
10554|  30.8k|    if (use_memcpy) {
  ------------------
  |  Branch (10554:9): [True: 16.8k, False: 13.9k]
  ------------------
10555|  16.8k|        res_data = PyUnicode_1BYTE_DATA(res);
  ------------------
  |  |  292|  16.8k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  16.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10556|  16.8k|        kind = PyUnicode_KIND(res);
  ------------------
  |  |  259|  16.8k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  33.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 16.8k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10557|  16.8k|        if (seplen != 0)
  ------------------
  |  Branch (10557:13): [True: 3.47k, False: 13.3k]
  ------------------
10558|  3.47k|            sep_data = PyUnicode_1BYTE_DATA(sep);
  ------------------
  |  |  292|  3.47k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  3.47k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10559|  16.8k|    }
10560|  30.8k|#endif
10561|  30.8k|    if (use_memcpy) {
  ------------------
  |  Branch (10561:9): [True: 16.8k, False: 13.9k]
  ------------------
10562|   556k|        for (i = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10562:21): [True: 539k, False: 16.8k]
  ------------------
10563|   539k|            Py_ssize_t itemlen;
10564|   539k|            item = items[i];
10565|       |
10566|       |            /* Copy item, and maybe the separator. */
10567|   539k|            if (i && seplen != 0) {
  ------------------
  |  Branch (10567:17): [True: 522k, False: 16.8k]
  |  Branch (10567:22): [True: 3.57k, False: 518k]
  ------------------
10568|  3.57k|                memcpy(res_data,
10569|  3.57k|                          sep_data,
10570|  3.57k|                          kind * seplen);
10571|  3.57k|                res_data += kind * seplen;
10572|  3.57k|            }
10573|       |
10574|   539k|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  300|   539k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   539k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   539k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10575|   539k|            if (itemlen != 0) {
  ------------------
  |  Branch (10575:17): [True: 539k, False: 10]
  ------------------
10576|   539k|                memcpy(res_data,
10577|   539k|                          PyUnicode_DATA(item),
  ------------------
  |  |  285|   539k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   539k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   539k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10578|   539k|                          kind * itemlen);
10579|   539k|                res_data += kind * itemlen;
10580|   539k|            }
10581|   539k|        }
10582|  16.8k|        assert(res_data == PyUnicode_1BYTE_DATA(res)
  ------------------
  |  Branch (10582:9): [True: 16.8k, False: 0]
  ------------------
10583|  16.8k|                           + kind * PyUnicode_GET_LENGTH(res));
10584|  16.8k|    }
10585|  13.9k|    else {
10586|  24.4M|        for (i = 0, res_offset = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10586:37): [True: 24.4M, False: 13.9k]
  ------------------
10587|  24.4M|            Py_ssize_t itemlen;
10588|  24.4M|            item = items[i];
10589|       |
10590|       |            /* Copy item, and maybe the separator. */
10591|  24.4M|            if (i && seplen != 0) {
  ------------------
  |  Branch (10591:17): [True: 24.4M, False: 13.9k]
  |  Branch (10591:22): [True: 0, False: 24.4M]
  ------------------
10592|      0|                _PyUnicode_FastCopyCharacters(res, res_offset, sep, 0, seplen);
10593|      0|                res_offset += seplen;
10594|      0|            }
10595|       |
10596|  24.4M|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  300|  24.4M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10597|  24.4M|            if (itemlen != 0) {
  ------------------
  |  Branch (10597:17): [True: 24.4M, False: 0]
  ------------------
10598|  24.4M|                _PyUnicode_FastCopyCharacters(res, res_offset, item, 0, itemlen);
10599|  24.4M|                res_offset += itemlen;
10600|  24.4M|            }
10601|  24.4M|        }
10602|  13.9k|        assert(res_offset == PyUnicode_GET_LENGTH(res));
  ------------------
  |  Branch (10602:9): [True: 13.9k, False: 0]
  ------------------
10603|  13.9k|    }
10604|       |
10605|  30.8k|    Py_XDECREF(sep);
  ------------------
  |  |  621|  30.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10606|  30.8k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (10606:5): [True: 30.8k, False: 0]
  ------------------
10607|  30.8k|    return res;
10608|       |
10609|      0|  onError:
10610|      0|    Py_XDECREF(sep);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10611|      0|    Py_XDECREF(res);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10612|       |    return NULL;
10613|  30.8k|}
_PyUnicode_Equal:
11482|  4.75k|{
11483|  4.75k|    assert(PyUnicode_Check(str1));
  ------------------
  |  Branch (11483:5): [True: 4.75k, False: 0]
  ------------------
11484|  4.75k|    assert(PyUnicode_Check(str2));
  ------------------
  |  Branch (11484:5): [True: 4.75k, False: 0]
  ------------------
11485|  4.75k|    if (str1 == str2) {
  ------------------
  |  Branch (11485:9): [True: 833, False: 3.92k]
  ------------------
11486|    833|        return 1;
11487|    833|    }
11488|  3.92k|    return unicode_eq(str1, str2);
11489|  4.75k|}
PyUnicode_Compare:
11512|     95|{
11513|     95|    if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
  ------------------
  |  |  103|     95|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    190|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 95, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
  ------------------
  |  |  103|     95|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     95|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 95, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11514|       |        /* a string is equal to itself */
11515|     95|        if (left == right)
  ------------------
  |  Branch (11515:13): [True: 0, False: 95]
  ------------------
11516|      0|            return 0;
11517|       |
11518|     95|        return unicode_compare(left, right);
11519|     95|    }
11520|      0|    PyErr_Format(PyExc_TypeError,
11521|      0|                 "Can't compare %.100s and %.100s",
11522|      0|                 Py_TYPE(left)->tp_name,
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11523|      0|                 Py_TYPE(right)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11524|      0|    return -1;
11525|     95|}
PyUnicode_CompareWithASCIIString:
11529|    909|{
11530|    909|    Py_ssize_t i;
11531|    909|    int kind;
11532|    909|    Py_UCS4 chr;
11533|       |
11534|    909|    assert(_PyUnicode_CHECK(uni));
  ------------------
  |  Branch (11534:5): [True: 909, False: 0]
  ------------------
11535|    909|    kind = PyUnicode_KIND(uni);
  ------------------
  |  |  259|    909|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.81k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 909, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11536|    909|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (11536:9): [True: 909, False: 0]
  ------------------
11537|    909|        const void *data = PyUnicode_1BYTE_DATA(uni);
  ------------------
  |  |  292|    909|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    909|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
11538|    909|        size_t len1 = (size_t)PyUnicode_GET_LENGTH(uni);
  ------------------
  |  |  300|    909|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    909|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    909|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11539|    909|        size_t len, len2 = strlen(str);
11540|    909|        int cmp;
11541|       |
11542|    909|        len = Py_MIN(len1, len2);
  ------------------
  |  |  127|    909|       __extension__ \
  |  |  128|    909|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|    909|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|    909|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|    909|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|    909|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 540, False: 369]
  |  |  ------------------
  ------------------
11543|    909|        cmp = memcmp(data, str, len);
11544|    909|        if (cmp != 0) {
  ------------------
  |  Branch (11544:13): [True: 900, False: 9]
  ------------------
11545|    900|            if (cmp < 0)
  ------------------
  |  Branch (11545:17): [True: 73, False: 827]
  ------------------
11546|     73|                return -1;
11547|    827|            else
11548|    827|                return 1;
11549|    900|        }
11550|      9|        if (len1 > len2)
  ------------------
  |  Branch (11550:13): [True: 0, False: 9]
  ------------------
11551|      0|            return 1; /* uni is longer */
11552|      9|        if (len1 < len2)
  ------------------
  |  Branch (11552:13): [True: 0, False: 9]
  ------------------
11553|      0|            return -1; /* str is longer */
11554|      9|        return 0;
11555|      9|    }
11556|      0|    else {
11557|      0|        const void *data = PyUnicode_DATA(uni);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11558|       |        /* Compare Unicode string and source character set string */
11559|      0|        for (i = 0; (chr = PyUnicode_READ(kind, data, i)) && str[i]; i++)
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
  |  Branch (11559:21): [True: 0, False: 0]
  |  Branch (11559:62): [True: 0, False: 0]
  ------------------
11560|      0|            if (chr != (unsigned char)str[i])
  ------------------
  |  Branch (11560:17): [True: 0, False: 0]
  ------------------
11561|      0|                return (chr < (unsigned char)(str[i])) ? -1 : 1;
  ------------------
  |  Branch (11561:24): [True: 0, False: 0]
  ------------------
11562|       |        /* This check keeps Python strings that end in '\0' from comparing equal
11563|       |         to C strings identical up to that point. */
11564|      0|        if (PyUnicode_GET_LENGTH(uni) != i || chr)
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11564:13): [True: 0, False: 0]
  |  Branch (11564:47): [True: 0, False: 0]
  ------------------
11565|      0|            return 1; /* uni is longer */
11566|      0|        if (str[i])
  ------------------
  |  Branch (11566:13): [True: 0, False: 0]
  ------------------
11567|      0|            return -1; /* str is longer */
11568|      0|        return 0;
11569|      0|    }
11570|    909|}
_PyUnicode_EqualToASCIIString:
11650|  18.7k|{
11651|  18.7k|    size_t len;
11652|  18.7k|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (11652:5): [True: 18.7k, False: 0]
  ------------------
11653|  18.7k|    assert(str);
  ------------------
  |  Branch (11653:5): [True: 18.7k, False: 0]
  ------------------
11654|  18.7k|#ifndef NDEBUG
11655|   167k|    for (const char *p = str; *p; p++) {
  ------------------
  |  Branch (11655:31): [True: 148k, False: 18.7k]
  ------------------
11656|   148k|        assert((unsigned char)*p < 128);
  ------------------
  |  Branch (11656:9): [True: 148k, False: 0]
  ------------------
11657|   148k|    }
11658|  18.7k|#endif
11659|  18.7k|    if (!PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  228|  18.7k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11659:9): [True: 0, False: 18.7k]
  ------------------
11660|      0|        return 0;
11661|  18.7k|    len = (size_t)PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|  18.7k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11662|  18.7k|    return strlen(str) == len &&
  ------------------
  |  Branch (11662:12): [True: 1.10k, False: 17.6k]
  ------------------
11663|  1.10k|           memcmp(PyUnicode_1BYTE_DATA(unicode), str, len) == 0;
  ------------------
  |  |  292|  1.10k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.10k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (11663:12): [True: 704, False: 398]
  ------------------
11664|  18.7k|}
PyUnicode_RichCompare:
11668|  8.62k|{
11669|  8.62k|    int result;
11670|       |
11671|  8.62k|    if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|  8.62k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  17.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|  8.62k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.62k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11671:9): [True: 0, False: 8.62k]
  |  Branch (11671:35): [True: 5, False: 8.62k]
  ------------------
11672|      5|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      5|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      5|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
11673|       |
11674|  8.62k|    if (left == right) {
  ------------------
  |  Branch (11674:9): [True: 23, False: 8.59k]
  ------------------
11675|     23|        switch (op) {
11676|     16|        case Py_EQ:
  ------------------
  |  |  654|     16|#define Py_EQ 2
  ------------------
  |  Branch (11676:9): [True: 16, False: 7]
  ------------------
11677|     16|        case Py_LE:
  ------------------
  |  |  653|     16|#define Py_LE 1
  ------------------
  |  Branch (11677:9): [True: 0, False: 23]
  ------------------
11678|     16|        case Py_GE:
  ------------------
  |  |  657|     16|#define Py_GE 5
  ------------------
  |  Branch (11678:9): [True: 0, False: 23]
  ------------------
11679|       |            /* a string is equal to itself */
11680|     16|            Py_RETURN_TRUE;
  ------------------
  |  |   44|     16|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|     16|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11681|      7|        case Py_NE:
  ------------------
  |  |  655|      7|#define Py_NE 3
  ------------------
  |  Branch (11681:9): [True: 7, False: 16]
  ------------------
11682|      7|        case Py_LT:
  ------------------
  |  |  652|      7|#define Py_LT 0
  ------------------
  |  Branch (11682:9): [True: 0, False: 23]
  ------------------
11683|      7|        case Py_GT:
  ------------------
  |  |  656|      7|#define Py_GT 4
  ------------------
  |  Branch (11683:9): [True: 0, False: 23]
  ------------------
11684|      7|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      7|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      7|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11685|      0|        default:
  ------------------
  |  Branch (11685:9): [True: 0, False: 23]
  ------------------
11686|      0|            PyErr_BadArgument();
11687|      0|            return NULL;
11688|     23|        }
11689|     23|    }
11690|  8.59k|    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.20k|#define Py_NE 3
  ------------------
  |  Branch (11690:14): [True: 3.39k, False: 5.20k]
  |  Branch (11690:29): [True: 19, False: 5.18k]
  ------------------
11691|  3.40k|        result = unicode_eq(left, right);
11692|  3.40k|        result ^= (op == Py_NE);
  ------------------
  |  |  655|  3.40k|#define Py_NE 3
  ------------------
11693|  3.40k|        return PyBool_FromLong(result);
11694|  3.40k|    }
11695|  5.18k|    else {
11696|  5.18k|        result = unicode_compare(left, right);
11697|  5.18k|        Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|  5.18k|    do {                                                                    \
  |  |  675|  5.18k|        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.18k]
  |  |  |  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.18k]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|  5.18k|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|  5.18k|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|  2.61k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  2.61k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|  2.57k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  2.57k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 5.18k, False: 0]
  |  |  |  Branch (678:25): [True: 2.61k, False: 2.57k]
  |  |  ------------------
  |  |  679|  5.18k|        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.18k]
  |  |  |  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.18k]
  |  |  |  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.18k]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 5.18k]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  5.18k|        }                                                                   \
  |  |  685|  5.18k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
11698|  5.18k|    }
11699|  8.62k|}
PyUnicode_Contains:
11703|    640|{
11704|    640|    int kind1, kind2;
11705|    640|    const void *buf1, *buf2;
11706|    640|    Py_ssize_t len1, len2;
11707|    640|    int result;
11708|       |
11709|    640|    if (!PyUnicode_Check(substr)) {
  ------------------
  |  |  103|    640|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    640|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11709:9): [True: 0, False: 640]
  ------------------
11710|      0|        PyErr_Format(PyExc_TypeError,
11711|      0|                     "'in <string>' requires string as left operand, not %.100s",
11712|      0|                     Py_TYPE(substr)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11713|      0|        return -1;
11714|      0|    }
11715|    640|    if (ensure_unicode(str) < 0)
  ------------------
  |  |  109|    640|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11715:9): [True: 0, False: 640]
  ------------------
11716|      0|        return -1;
11717|       |
11718|    640|    kind1 = PyUnicode_KIND(str);
  ------------------
  |  |  259|    640|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 640, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11719|    640|    kind2 = PyUnicode_KIND(substr);
  ------------------
  |  |  259|    640|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 640, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11720|    640|    if (kind1 < kind2)
  ------------------
  |  Branch (11720:9): [True: 0, False: 640]
  ------------------
11721|      0|        return 0;
11722|    640|    len1 = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|    640|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    640|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    640|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11723|    640|    len2 = PyUnicode_GET_LENGTH(substr);
  ------------------
  |  |  300|    640|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    640|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    640|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11724|    640|    if (len1 < len2)
  ------------------
  |  Branch (11724:9): [True: 4, False: 636]
  ------------------
11725|      4|        return 0;
11726|    636|    buf1 = PyUnicode_DATA(str);
  ------------------
  |  |  285|    636|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    636|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11727|    636|    buf2 = PyUnicode_DATA(substr);
  ------------------
  |  |  285|    636|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    636|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11728|    636|    if (len2 == 1) {
  ------------------
  |  Branch (11728:9): [True: 618, False: 18]
  ------------------
11729|    618|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  355|    618|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    618|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    618|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    618|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    618|                   (index))
  ------------------
11730|    618|        result = findchar((const char *)buf1, kind1, len1, ch, 1) != -1;
11731|    618|        return result;
11732|    618|    }
11733|     18|    if (kind2 != kind1) {
  ------------------
  |  Branch (11733:9): [True: 0, False: 18]
  ------------------
11734|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
11735|      0|        if (!buf2)
  ------------------
  |  Branch (11735:13): [True: 0, False: 0]
  ------------------
11736|      0|            return -1;
11737|      0|    }
11738|       |
11739|     18|    switch (kind1) {
11740|     18|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11740:5): [True: 18, False: 0]
  ------------------
11741|     18|        result = ucs1lib_find(buf1, len1, buf2, len2, 0) != -1;
11742|     18|        break;
11743|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11743:5): [True: 0, False: 18]
  ------------------
11744|      0|        result = ucs2lib_find(buf1, len1, buf2, len2, 0) != -1;
11745|      0|        break;
11746|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11746:5): [True: 0, False: 18]
  ------------------
11747|      0|        result = ucs4lib_find(buf1, len1, buf2, len2, 0) != -1;
11748|      0|        break;
11749|      0|    default:
  ------------------
  |  Branch (11749:5): [True: 0, False: 18]
  ------------------
11750|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11751|     18|    }
11752|       |
11753|     18|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(substr)));
  ------------------
  |  Branch (11753:5): [True: 18, False: 0]
  ------------------
11754|     18|    if (kind2 != kind1)
  ------------------
  |  Branch (11754:9): [True: 0, False: 18]
  ------------------
11755|      0|        PyMem_Free((void *)buf2);
11756|       |
11757|     18|    return result;
11758|     18|}
PyUnicode_Concat:
11764|  43.7k|{
11765|  43.7k|    PyObject *result;
11766|  43.7k|    Py_UCS4 maxchar, maxchar2;
11767|  43.7k|    Py_ssize_t left_len, right_len, new_len;
11768|       |
11769|  43.7k|    if (ensure_unicode(left) < 0)
  ------------------
  |  |  109|  43.7k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11769:9): [True: 0, False: 43.7k]
  ------------------
11770|      0|        return NULL;
11771|       |
11772|  43.7k|    if (!PyUnicode_Check(right)) {
  ------------------
  |  |  103|  43.7k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  43.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11772:9): [True: 0, False: 43.7k]
  ------------------
11773|      0|        PyErr_Format(PyExc_TypeError,
11774|      0|            "can only concatenate str (not \"%.200s\") to str",
11775|      0|            Py_TYPE(right)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11776|      0|        return NULL;
11777|      0|    }
11778|       |
11779|       |    /* Shortcuts */
11780|  43.7k|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11781|  43.7k|    if (left == empty) {
  ------------------
  |  Branch (11781:9): [True: 0, False: 43.7k]
  ------------------
11782|      0|        return PyUnicode_FromObject(right);
11783|      0|    }
11784|  43.7k|    if (right == empty) {
  ------------------
  |  Branch (11784:9): [True: 0, False: 43.7k]
  ------------------
11785|      0|        return PyUnicode_FromObject(left);
11786|      0|    }
11787|       |
11788|  43.7k|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  300|  43.7k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11789|  43.7k|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  300|  43.7k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11790|  43.7k|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|  43.7k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11790:9): [True: 0, False: 43.7k]
  ------------------
11791|      0|        PyErr_SetString(PyExc_OverflowError,
11792|      0|                        "strings are too large to concat");
11793|      0|        return NULL;
11794|      0|    }
11795|  43.7k|    new_len = left_len + right_len;
11796|       |
11797|  43.7k|    maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  406|  43.7k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11798|  43.7k|    maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  406|  43.7k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11799|  43.7k|    maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  133|  43.7k|       __extension__ \
  |  |  134|  43.7k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  43.7k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  43.7k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  43.7k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  43.7k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 8.89k, False: 34.8k]
  |  |  ------------------
  ------------------
11800|       |
11801|       |    /* Concat the two Unicode strings */
11802|  43.7k|    result = PyUnicode_New(new_len, maxchar);
11803|  43.7k|    if (result == NULL)
  ------------------
  |  Branch (11803:9): [True: 0, False: 43.7k]
  ------------------
11804|      0|        return NULL;
11805|  43.7k|    _PyUnicode_FastCopyCharacters(result, 0, left, 0, left_len);
11806|  43.7k|    _PyUnicode_FastCopyCharacters(result, left_len, right, 0, right_len);
11807|  43.7k|    assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (11807:5): [True: 43.7k, False: 0]
  ------------------
11808|  43.7k|    return result;
11809|  43.7k|}
PyUnicode_Append:
11813|     42|{
11814|     42|    PyObject *left, *res;
11815|     42|    Py_UCS4 maxchar, maxchar2;
11816|     42|    Py_ssize_t left_len, right_len, new_len;
11817|       |
11818|     42|    if (p_left == NULL) {
  ------------------
  |  Branch (11818:9): [True: 0, False: 42]
  ------------------
11819|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (11819:13): [True: 0, False: 0]
  ------------------
11820|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
11821|      0|        return;
11822|      0|    }
11823|     42|    left = *p_left;
11824|     42|    if (right == NULL || left == NULL
  ------------------
  |  Branch (11824:9): [True: 0, False: 42]
  |  Branch (11824:26): [True: 0, False: 42]
  ------------------
11825|     42|        || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|     42|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     84|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|     42|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     42|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11825:12): [True: 0, False: 42]
  |  Branch (11825:38): [True: 0, False: 42]
  ------------------
11826|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (11826:13): [True: 0, False: 0]
  ------------------
11827|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
11828|      0|        goto error;
11829|      0|    }
11830|       |
11831|       |    /* Shortcuts */
11832|     42|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11833|     42|    if (left == empty) {
  ------------------
  |  Branch (11833:9): [True: 0, False: 42]
  ------------------
11834|      0|        Py_DECREF(left);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11835|      0|        *p_left = Py_NewRef(right);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11836|      0|        return;
11837|      0|    }
11838|     42|    if (right == empty) {
  ------------------
  |  Branch (11838:9): [True: 0, False: 42]
  ------------------
11839|      0|        return;
11840|      0|    }
11841|       |
11842|     42|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  300|     42|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11843|     42|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  300|     42|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11844|     42|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|     42|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11844:9): [True: 0, False: 42]
  ------------------
11845|      0|        PyErr_SetString(PyExc_OverflowError,
11846|      0|                        "strings are too large to concat");
11847|      0|        goto error;
11848|      0|    }
11849|     42|    new_len = left_len + right_len;
11850|       |
11851|     42|    if (_PyUnicode_IsModifiable(left)
  ------------------
  |  Branch (11851:9): [True: 4, False: 38]
  ------------------
11852|     42|        && PyUnicode_CheckExact(right)
  ------------------
  |  |  104|      4|#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|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11853|     42|        && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  259|      4|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  259|      4|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     46|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11853:12): [True: 4, False: 0]
  ------------------
11854|       |        /* Don't resize for ascii += latin1. Convert ascii to latin1 requires
11855|       |           to change the structure size, but characters are stored just after
11856|       |           the structure, and so it requires to move all characters which is
11857|       |           not so different than duplicating the string. */
11858|      4|        && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  228|      8|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 4, False: 0]
  |  |  ------------------
  ------------------
                      && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  228|      4|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11858:42): [True: 0, False: 4]
  ------------------
11859|      4|    {
11860|       |        /* append inplace */
11861|      4|        if (unicode_resize(p_left, new_len) != 0)
  ------------------
  |  Branch (11861:13): [True: 0, False: 4]
  ------------------
11862|      0|            goto error;
11863|       |
11864|       |        /* copy 'right' into the newly allocated area of 'left' */
11865|      4|        _PyUnicode_FastCopyCharacters(*p_left, left_len, right, 0, right_len);
11866|      4|    }
11867|     38|    else {
11868|     38|        maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  406|     38|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11869|     38|        maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  406|     38|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11870|     38|        maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  133|     38|       __extension__ \
  |  |  134|     38|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     38|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|     38|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     38|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|     38|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 38]
  |  |  ------------------
  ------------------
11871|       |
11872|       |        /* Concat the two Unicode strings */
11873|     38|        res = PyUnicode_New(new_len, maxchar);
11874|     38|        if (res == NULL)
  ------------------
  |  Branch (11874:13): [True: 0, False: 38]
  ------------------
11875|      0|            goto error;
11876|     38|        _PyUnicode_FastCopyCharacters(res, 0, left, 0, left_len);
11877|     38|        _PyUnicode_FastCopyCharacters(res, left_len, right, 0, right_len);
11878|     38|        Py_DECREF(left);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11879|     38|        *p_left = res;
11880|     38|    }
11881|     42|    assert(_PyUnicode_CheckConsistency(*p_left, 1));
  ------------------
  |  Branch (11881:5): [True: 42, False: 0]
  ------------------
11882|     42|    return;
11883|       |
11884|     42|error:
11885|       |    Py_CLEAR(*p_left);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
11886|      0|}
_PyUnicode_ScanIdentifier:
12565|     68|{
12566|     68|    Py_ssize_t i;
12567|     68|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|     68|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12568|     68|    if (len == 0) {
  ------------------
  |  Branch (12568:9): [True: 0, False: 68]
  ------------------
12569|       |        /* an empty string is not a valid identifier */
12570|      0|        return 0;
12571|      0|    }
12572|       |
12573|     68|    int kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|     68|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    136|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 68, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12574|     68|    const void *data = PyUnicode_DATA(self);
  ------------------
  |  |  285|     68|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12575|     68|    Py_UCS4 ch = PyUnicode_READ(kind, data, 0);
  ------------------
  |  |  355|     68|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     68|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     68|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     68|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     68|                   (index))
  ------------------
12576|       |    /* PEP 3131 says that the first character must be in
12577|       |       XID_Start and subsequent characters in XID_Continue,
12578|       |       and for the ASCII range, the 2.x rules apply (i.e
12579|       |       start with letters and underscore, continue with
12580|       |       letters, digits, underscore). However, given the current
12581|       |       definition of XID_Start and XID_Continue, it is sufficient
12582|       |       to check just for these, except that _ must be allowed
12583|       |       as starting an identifier.  */
12584|     68|    if (!_PyUnicode_IsXidStart(ch) && ch != 0x5F /* LOW LINE */) {
  ------------------
  |  Branch (12584:9): [True: 45, False: 23]
  |  Branch (12584:39): [True: 0, False: 45]
  ------------------
12585|      0|        return 0;
12586|      0|    }
12587|       |
12588|    556|    for (i = 1; i < len; i++) {
  ------------------
  |  Branch (12588:17): [True: 488, False: 68]
  ------------------
12589|    488|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|    488|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    488|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    488|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    488|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    488|                   (index))
  ------------------
12590|    488|        if (!_PyUnicode_IsXidContinue(ch)) {
  ------------------
  |  Branch (12590:13): [True: 0, False: 488]
  ------------------
12591|      0|            return i;
12592|      0|        }
12593|    488|    }
12594|     68|    return i;
12595|     68|}
PyUnicode_IsIdentifier:
12599|     68|{
12600|     68|    Py_ssize_t i = _PyUnicode_ScanIdentifier(self);
12601|     68|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|     68|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12602|       |    /* an empty string is not a valid identifier */
12603|     68|    return len && i == len;
  ------------------
  |  Branch (12603:12): [True: 68, False: 0]
  |  Branch (12603:19): [True: 68, False: 0]
  ------------------
12604|     68|}
_PyUnicode_XStrip:
12734|  7.04k|{
12735|  7.04k|    const void *data;
12736|  7.04k|    int kind;
12737|  7.04k|    Py_ssize_t i, j, len;
12738|  7.04k|    BLOOM_MASK sepmask;
  ------------------
  |  |  906|  7.04k|#define BLOOM_MASK unsigned long
  ------------------
12739|  7.04k|    Py_ssize_t seplen;
12740|       |
12741|  7.04k|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|  7.04k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  14.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 7.04k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12742|  7.04k|    data = PyUnicode_DATA(self);
  ------------------
  |  |  285|  7.04k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12743|  7.04k|    len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|  7.04k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12744|  7.04k|    seplen = PyUnicode_GET_LENGTH(sepobj);
  ------------------
  |  |  300|  7.04k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12745|  7.04k|    sepmask = make_bloom_mask(PyUnicode_KIND(sepobj),
  ------------------
  |  |  259|  7.04k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  14.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 7.04k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12746|  7.04k|                              PyUnicode_DATA(sepobj),
  ------------------
  |  |  285|  7.04k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12747|  7.04k|                              seplen);
12748|       |
12749|      0|    i = 0;
12750|  7.04k|    if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12723|  7.04k|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12750:9): [True: 0, False: 7.04k]
  ------------------
12751|      0|        while (i < len) {
  ------------------
  |  Branch (12751:16): [True: 0, False: 0]
  ------------------
12752|      0|            Py_UCS4 ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
12753|      0|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  910|      0|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  899|      0|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12753:17): [True: 0, False: 0]
  ------------------
12754|      0|                break;
12755|      0|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12755:17): [True: 0, False: 0]
  ------------------
12756|      0|                break;
12757|      0|            i++;
12758|      0|        }
12759|      0|    }
12760|       |
12761|  7.04k|    j = len;
12762|  7.04k|    if (striptype != LEFTSTRIP) {
  ------------------
  |  |12722|  7.04k|#define LEFTSTRIP 0
  ------------------
  |  Branch (12762:9): [True: 7.04k, False: 0]
  ------------------
12763|  7.04k|        j--;
12764|  7.04k|        while (j >= i) {
  ------------------
  |  Branch (12764:16): [True: 7.04k, False: 0]
  ------------------
12765|  7.04k|            Py_UCS4 ch = PyUnicode_READ(kind, data, j);
  ------------------
  |  |  355|  7.04k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  7.04k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  7.04k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  7.04k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  7.04k|                   (index))
  ------------------
12766|  7.04k|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  910|  7.04k|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  899|  7.04k|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12766:17): [True: 4.44k, False: 2.60k]
  ------------------
12767|  4.44k|                break;
12768|  2.60k|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12768:17): [True: 2.60k, False: 4]
  ------------------
12769|  2.60k|                break;
12770|      4|            j--;
12771|      4|        }
12772|       |
12773|  7.04k|        j++;
12774|  7.04k|    }
12775|       |
12776|  7.04k|    return PyUnicode_Substring(self, i, j);
12777|  7.04k|}
_PyUnicode_BinarySlice:
12781|    288|{
12782|    288|    assert(PyUnicode_CheckExact(container));
  ------------------
  |  Branch (12782:5): [True: 288, False: 0]
  ------------------
12783|    288|    Py_ssize_t len = PyUnicode_GET_LENGTH(container);
  ------------------
  |  |  300|    288|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    288|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12784|    288|    Py_ssize_t istart, istop;
12785|    288|    if (!_PyEval_UnpackIndices(start_o, stop_o, len, &istart, &istop)) {
  ------------------
  |  Branch (12785:9): [True: 0, False: 288]
  ------------------
12786|      0|        return NULL;
12787|      0|    }
12788|    288|    return PyUnicode_Substring(container, istart, istop);
12789|    288|}
PyUnicode_Substring:
12793|  7.60k|{
12794|  7.60k|    const unsigned char *data;
12795|  7.60k|    int kind;
12796|  7.60k|    Py_ssize_t length;
12797|       |
12798|  7.60k|    length = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|  7.60k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12799|  7.60k|    end = Py_MIN(end, length);
  ------------------
  |  |  127|  7.60k|       __extension__ \
  |  |  128|  7.60k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  7.60k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  7.60k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  7.60k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  7.60k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 279, False: 7.32k]
  |  |  ------------------
  ------------------
12800|       |
12801|  7.60k|    if (start == 0 && end == length)
  ------------------
  |  Branch (12801:9): [True: 7.33k, False: 272]
  |  Branch (12801:23): [True: 7.05k, False: 279]
  ------------------
12802|  7.05k|        return unicode_result_unchanged(self);
12803|       |
12804|    551|    if (start < 0 || end < 0) {
  ------------------
  |  Branch (12804:9): [True: 0, False: 551]
  |  Branch (12804:22): [True: 0, False: 551]
  ------------------
12805|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
12806|      0|        return NULL;
12807|      0|    }
12808|    551|    if (start >= length || end < start)
  ------------------
  |  Branch (12808:9): [True: 0, False: 551]
  |  Branch (12808:28): [True: 0, False: 551]
  ------------------
12809|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12810|       |
12811|    551|    length = end - start;
12812|    551|    if (PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  228|    551|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    551|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    551|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 551, False: 0]
  |  |  ------------------
  ------------------
12813|    551|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  292|    551|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    551|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12814|    551|        return _PyUnicode_FromASCII((const char*)(data + start), length);
12815|    551|    }
12816|      0|    else {
12817|      0|        kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12818|      0|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  292|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12819|      0|        return PyUnicode_FromKindAndData(kind,
12820|      0|                                         data + kind * start,
12821|      0|                                         length);
12822|      0|    }
12823|    551|}
_PyUnicode_Repeat:
12966|      4|{
12967|      4|    PyObject *u;
12968|      4|    Py_ssize_t nchars, n;
12969|       |
12970|      4|    if (len < 1)
  ------------------
  |  Branch (12970:9): [True: 0, False: 4]
  ------------------
12971|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12972|       |
12973|       |    /* no repeat, return original string */
12974|      4|    if (len == 1)
  ------------------
  |  Branch (12974:9): [True: 0, False: 4]
  ------------------
12975|      0|        return unicode_result_unchanged(str);
12976|       |
12977|      4|    if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  300|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (12977:9): [True: 0, False: 4]
  ------------------
12978|      0|        PyErr_SetString(PyExc_OverflowError,
12979|      0|                        "repeated string is too long");
12980|      0|        return NULL;
12981|      0|    }
12982|      4|    nchars = len * PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12983|       |
12984|      4|    u = PyUnicode_New(nchars, PyUnicode_MAX_CHAR_VALUE(str));
  ------------------
  |  |  406|      4|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12985|      4|    if (!u)
  ------------------
  |  Branch (12985:9): [True: 0, False: 4]
  ------------------
12986|      0|        return NULL;
12987|      4|    assert(PyUnicode_KIND(u) == PyUnicode_KIND(str));
  ------------------
  |  Branch (12987:5): [True: 4, False: 0]
  |  Branch (12987:5): [True: 4, False: 0]
  |  Branch (12987:5): [True: 4, False: 0]
  ------------------
12988|       |
12989|      4|    if (PyUnicode_GET_LENGTH(str) == 1) {
  ------------------
  |  |  300|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12989:9): [True: 4, False: 0]
  ------------------
12990|      4|        int kind = PyUnicode_KIND(str);
  ------------------
  |  |  259|      4|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12991|      4|        Py_UCS4 fill_char = PyUnicode_READ(kind, PyUnicode_DATA(str), 0);
  ------------------
  |  |  355|      4|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      4|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      4|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      4|                   (index))
  ------------------
12992|      4|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (12992:13): [True: 4, False: 0]
  ------------------
12993|      4|            void *to = PyUnicode_DATA(u);
  ------------------
  |  |  285|      4|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12994|      4|            memset(to, (unsigned char)fill_char, len);
12995|      4|        }
12996|      0|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (12996:18): [True: 0, False: 0]
  ------------------
12997|      0|            Py_UCS2 *ucs2 = PyUnicode_2BYTE_DATA(u);
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12998|      0|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (12998:25): [True: 0, False: 0]
  ------------------
12999|      0|                ucs2[n] = fill_char;
13000|      0|        } else {
13001|      0|            Py_UCS4 *ucs4 = PyUnicode_4BYTE_DATA(u);
  ------------------
  |  |  294|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13002|      0|            assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (13002:13): [True: 0, False: 0]
  ------------------
13003|      0|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (13003:25): [True: 0, False: 0]
  ------------------
13004|      0|                ucs4[n] = fill_char;
13005|      0|        }
13006|      4|    }
13007|      0|    else {
13008|      0|        Py_ssize_t char_size = PyUnicode_KIND(str);
  ------------------
  |  |  259|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13009|      0|        char *to = (char *) PyUnicode_DATA(u);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13010|      0|        _PyBytes_RepeatBuffer(to, nchars * char_size, PyUnicode_DATA(str),
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13011|      0|            PyUnicode_GET_LENGTH(str) * char_size);
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13012|      0|    }
13013|       |
13014|      4|    assert(_PyUnicode_CheckConsistency(u, 1));
  ------------------
  |  Branch (13014:5): [True: 4, False: 0]
  ------------------
13015|      4|    return u;
13016|      4|}
PyUnicode_RPartition:
13373|  2.03k|{
13374|  2.03k|    PyObject* out;
13375|  2.03k|    int kind1, kind2;
13376|  2.03k|    const void *buf1, *buf2;
13377|  2.03k|    Py_ssize_t len1, len2;
13378|       |
13379|  2.03k|    if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  109|  2.03k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
                  if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  109|  2.03k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (13379:9): [True: 0, False: 2.03k]
  |  Branch (13379:40): [True: 0, False: 2.03k]
  ------------------
13380|      0|        return NULL;
13381|       |
13382|  2.03k|    kind1 = PyUnicode_KIND(str_obj);
  ------------------
  |  |  259|  2.03k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  4.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.03k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13383|  2.03k|    kind2 = PyUnicode_KIND(sep_obj);
  ------------------
  |  |  259|  2.03k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  4.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.03k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13384|  2.03k|    len1 = PyUnicode_GET_LENGTH(str_obj);
  ------------------
  |  |  300|  2.03k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13385|  2.03k|    len2 = PyUnicode_GET_LENGTH(sep_obj);
  ------------------
  |  |  300|  2.03k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13386|  2.03k|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (13386:9): [True: 0, False: 2.03k]
  |  Branch (13386:26): [True: 0, False: 2.03k]
  ------------------
13387|      0|        PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
13388|      0|        return PyTuple_Pack(3, empty, empty, str_obj);
13389|      0|    }
13390|  2.03k|    buf1 = PyUnicode_DATA(str_obj);
  ------------------
  |  |  285|  2.03k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13391|  2.03k|    buf2 = PyUnicode_DATA(sep_obj);
  ------------------
  |  |  285|  2.03k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13392|  2.03k|    if (kind2 != kind1) {
  ------------------
  |  Branch (13392:9): [True: 0, False: 2.03k]
  ------------------
13393|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
13394|      0|        if (!buf2)
  ------------------
  |  Branch (13394:13): [True: 0, False: 0]
  ------------------
13395|      0|            return NULL;
13396|      0|    }
13397|       |
13398|  2.03k|    switch (kind1) {
13399|  2.03k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (13399:5): [True: 2.03k, False: 0]
  ------------------
13400|  2.03k|        if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  228|  4.07k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 2.03k, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  228|  2.03k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 2.03k, False: 0]
  |  |  ------------------
  ------------------
13401|  2.03k|            out = asciilib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13402|      0|        else
13403|      0|            out = ucs1lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13404|  2.03k|        break;
13405|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (13405:5): [True: 0, False: 2.03k]
  ------------------
13406|      0|        out = ucs2lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13407|      0|        break;
13408|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (13408:5): [True: 0, False: 2.03k]
  ------------------
13409|      0|        out = ucs4lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13410|      0|        break;
13411|      0|    default:
  ------------------
  |  Branch (13411:5): [True: 0, False: 2.03k]
  ------------------
13412|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
13413|  2.03k|    }
13414|       |
13415|  2.03k|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(sep_obj)));
  ------------------
  |  Branch (13415:5): [True: 2.03k, False: 0]
  ------------------
13416|  2.03k|    if (kind2 != kind1)
  ------------------
  |  Branch (13416:9): [True: 0, False: 2.03k]
  ------------------
13417|      0|        PyMem_Free((void *)buf2);
13418|       |
13419|  2.03k|    return out;
13420|  2.03k|}
_PyUnicode_ExactDealloc:
14471|    182|{
14472|    182|    assert(PyUnicode_CheckExact(op));
  ------------------
  |  Branch (14472:5): [True: 182, False: 0]
  ------------------
14473|    182|    unicode_dealloc(op);
14474|    182|}
_PyUnicode_InitState:
14567|      2|{
14568|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14568:9): [True: 0, False: 2]
  ------------------
14569|      0|        return;
14570|      0|    }
14571|      2|    _init_global_state();
14572|      2|}
_PyUnicode_InitGlobalObjects:
14577|      2|{
14578|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14578:9): [True: 2, False: 0]
  ------------------
14579|      2|        PyStatus status = init_global_interned_strings(interp);
14580|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
14581|      0|            return status;
14582|      0|        }
14583|      2|    }
14584|      2|    assert(INTERNED_STRINGS);
  ------------------
  |  Branch (14584:5): [True: 2, False: 0]
  ------------------
14585|       |
14586|      2|    if (init_interned_dict(interp)) {
  ------------------
  |  Branch (14586:9): [True: 0, False: 2]
  ------------------
14587|      0|        PyErr_Clear();
14588|      0|        return _PyStatus_ERR("failed to create interned dict");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
14589|      0|    }
14590|       |
14591|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14592|      2|}
_PyUnicode_InitTypes:
14597|      2|{
14598|      2|    if (_PyStaticType_InitBuiltin(interp, &EncodingMapType) < 0) {
  ------------------
  |  Branch (14598:9): [True: 0, False: 2]
  ------------------
14599|      0|        goto error;
14600|      0|    }
14601|      2|    if (_PyStaticType_InitBuiltin(interp, &PyFieldNameIter_Type) < 0) {
  ------------------
  |  Branch (14601:9): [True: 0, False: 2]
  ------------------
14602|      0|        goto error;
14603|      0|    }
14604|      2|    if (_PyStaticType_InitBuiltin(interp, &PyFormatterIter_Type) < 0) {
  ------------------
  |  Branch (14604:9): [True: 0, False: 2]
  ------------------
14605|      0|        goto error;
14606|      0|    }
14607|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14608|       |
14609|      0|error:
14610|      0|    return _PyStatus_ERR("Can't initialize unicode types");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
14611|      2|}
_PyUnicode_InternStatic:
14654|  2.30k|{
14655|       |    // This should only be called as part of runtime initialization
14656|  2.30k|    assert(!Py_IsInitialized());
  ------------------
  |  Branch (14656:5): [True: 2.30k, False: 0]
  ------------------
14657|       |
14658|  2.30k|    *p = intern_static(interp, *p);
14659|       |    assert(*p);
  ------------------
  |  Branch (14659:5): [True: 2.30k, False: 0]
  ------------------
14660|  2.30k|}
_PyUnicode_InternImmortal:
14877|  44.8k|{
14878|  44.8k|    *p = intern_common(interp, *p, 1);
14879|       |    assert(*p);
  ------------------
  |  Branch (14879:5): [True: 44.8k, False: 0]
  ------------------
14880|  44.8k|}
_PyUnicode_InternMortal:
14884|   817k|{
14885|   817k|    *p = intern_common(interp, *p, 0);
14886|       |    assert(*p);
  ------------------
  |  Branch (14886:5): [True: 817k, False: 0]
  ------------------
14887|   817k|}
PyUnicode_InternFromString:
14915|  38.3k|{
14916|  38.3k|    PyObject *s = PyUnicode_FromString(cp);
14917|  38.3k|    if (s == NULL) {
  ------------------
  |  Branch (14917:9): [True: 0, False: 38.3k]
  ------------------
14918|      0|        return NULL;
14919|      0|    }
14920|  38.3k|    PyInterpreterState *interp = _PyInterpreterState_GET();
14921|  38.3k|    _PyUnicode_InternMortal(interp, &s);
14922|  38.3k|    return s;
14923|  38.3k|}
_PyUnicode_InitEncodings:
15384|      2|{
15385|      2|    PyStatus status = _PyCodec_InitRegistry(tstate->interp);
15386|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
15387|      0|        return status;
15388|      0|    }
15389|      2|    status = init_fs_encoding(tstate);
15390|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
15391|      0|        return status;
15392|      0|    }
15393|       |
15394|      2|    return init_stdio_encoding(tstate->interp);
15395|      2|}
unicodeobject.c:get_interned_dict:
  202|   618k|{
  203|   618k|    return _Py_INTERP_CACHED_OBJECT(interp, interned_strings);
  ------------------
  |  |   22|   618k|    (interp)->cached_objects.NAME
  ------------------
  204|   618k|}
unicodeobject.c:PyUnicode_SET_UTF8_LENGTH:
  145|     14|{
  146|     14|    _PyCompactUnicodeObject_CAST(op)->utf8_length = length;
  ------------------
  |  |  189|     14|    (assert(!(_PyASCIIObject_CAST(op)->state.ascii \
  |  |  190|     14|              && _PyASCIIObject_CAST(op)->state.compact)), \
  |  |  191|     14|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (146:5): [True: 14, False: 0]
  |  Branch (146:5): [True: 14, False: 0]
  |  Branch (146:5): [True: 14, False: 0]
  |  Branch (146:5): [True: 0, False: 14]
  ------------------
  147|     14|}
unicodeobject.c:PyUnicode_SET_UTF8:
  129|     14|{
  130|     14|    FT_ATOMIC_STORE_PTR_RELEASE(_PyCompactUnicodeObject_CAST(op)->utf8, utf8);
  ------------------
  |  |  166|    140|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (166:55): [True: 14, False: 0]
  |  |  |  Branch (166:55): [True: 14, False: 0]
  |  |  |  Branch (166:55): [True: 14, False: 0]
  |  |  |  Branch (166:55): [True: 0, False: 14]
  |  |  ------------------
  ------------------
  131|     14|}
unicodeobject.c:_copy_characters:
 1381|  25.5M|{
 1382|  25.5M|    int from_kind, to_kind;
 1383|  25.5M|    const void *from_data;
 1384|  25.5M|    void *to_data;
 1385|       |
 1386|  25.5M|    assert(0 <= how_many);
  ------------------
  |  Branch (1386:5): [True: 25.5M, False: 0]
  ------------------
 1387|  25.5M|    assert(0 <= from_start);
  ------------------
  |  Branch (1387:5): [True: 25.5M, False: 0]
  ------------------
 1388|  25.5M|    assert(0 <= to_start);
  ------------------
  |  Branch (1388:5): [True: 25.5M, False: 0]
  ------------------
 1389|  25.5M|    assert(PyUnicode_Check(from));
  ------------------
  |  Branch (1389:5): [True: 25.5M, False: 0]
  ------------------
 1390|  25.5M|    assert(from_start + how_many <= PyUnicode_GET_LENGTH(from));
  ------------------
  |  Branch (1390:5): [True: 25.5M, False: 0]
  ------------------
 1391|       |
 1392|  25.5M|    assert(to == NULL || PyUnicode_Check(to));
  ------------------
  |  Branch (1392:5): [True: 0, False: 25.5M]
  |  Branch (1392:5): [True: 25.5M, False: 0]
  ------------------
 1393|       |
 1394|  25.5M|    if (how_many == 0) {
  ------------------
  |  Branch (1394:9): [True: 529k, False: 25.0M]
  ------------------
 1395|   529k|        return 0;
 1396|   529k|    }
 1397|       |
 1398|  25.5M|    assert(to != NULL);
  ------------------
  |  Branch (1398:5): [True: 25.0M, False: 0]
  ------------------
 1399|  25.0M|    assert(to_start + how_many <= PyUnicode_GET_LENGTH(to));
  ------------------
  |  Branch (1399:5): [True: 25.0M, False: 0]
  ------------------
 1400|       |
 1401|  25.0M|    from_kind = PyUnicode_KIND(from);
  ------------------
  |  |  259|  25.0M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  50.0M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 25.0M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|  25.0M|    from_data = PyUnicode_DATA(from);
  ------------------
  |  |  285|  25.0M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|  25.0M|    to_kind = PyUnicode_KIND(to);
  ------------------
  |  |  259|  25.0M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  50.0M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 25.0M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1404|  25.0M|    to_data = PyUnicode_DATA(to);
  ------------------
  |  |  285|  25.0M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1405|       |
 1406|       |#ifdef Py_DEBUG
 1407|       |    if (!check_maxchar
 1408|       |        && PyUnicode_MAX_CHAR_VALUE(from) > PyUnicode_MAX_CHAR_VALUE(to))
 1409|       |    {
 1410|       |        Py_UCS4 to_maxchar = PyUnicode_MAX_CHAR_VALUE(to);
 1411|       |        Py_UCS4 ch;
 1412|       |        Py_ssize_t i;
 1413|       |        for (i=0; i < how_many; i++) {
 1414|       |            ch = PyUnicode_READ(from_kind, from_data, from_start + i);
 1415|       |            assert(ch <= to_maxchar);
 1416|       |        }
 1417|       |    }
 1418|       |#endif
 1419|       |
 1420|  25.0M|    if (from_kind == to_kind) {
  ------------------
  |  Branch (1420:9): [True: 230k, False: 24.7M]
  ------------------
 1421|   230k|        if (check_maxchar
  ------------------
  |  Branch (1421:13): [True: 0, False: 230k]
  ------------------
 1422|      0|            && !PyUnicode_IS_ASCII(from) && PyUnicode_IS_ASCII(to))
  ------------------
  |  |  228|   230k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          && !PyUnicode_IS_ASCII(from) && PyUnicode_IS_ASCII(to))
  ------------------
  |  |  228|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1422:16): [True: 0, False: 0]
  ------------------
 1423|      0|        {
 1424|       |            /* Writing Latin-1 characters into an ASCII string requires to
 1425|       |               check that all written characters are pure ASCII */
 1426|      0|            Py_UCS4 max_char;
 1427|      0|            max_char = ucs1lib_find_max_char(from_data,
 1428|      0|                                             (const Py_UCS1*)from_data + how_many);
 1429|      0|            if (max_char >= 128)
  ------------------
  |  Branch (1429:17): [True: 0, False: 0]
  ------------------
 1430|      0|                return -1;
 1431|      0|        }
 1432|   230k|        memcpy((char*)to_data + to_kind * to_start,
 1433|   230k|                  (const char*)from_data + from_kind * from_start,
 1434|   230k|                  to_kind * how_many);
 1435|   230k|    }
 1436|  24.7M|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1436:14): [True: 24.7M, False: 21.7k]
  ------------------
 1437|  24.7M|             && to_kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1437:17): [True: 23.2M, False: 1.56M]
  ------------------
 1438|  23.2M|    {
 1439|  23.2M|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|  23.2M|    do {                                                \
  |  |   48|  23.2M|        to_type *_to = (to_type *)(to);                 \
  |  |   49|  23.2M|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|  23.2M|        const from_type *_end = (const from_type *)(end);\
  |  |   51|  23.2M|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|  23.2M|        const from_type *_unrolled_end =                \
  |  |   53|  23.2M|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|  23.2M|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  49.8M|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 26.6M, False: 23.2M]
  |  |  ------------------
  |  |   55|  26.6M|            _to[0] = (to_type) _iter[0];                \
  |  |   56|  26.6M|            _to[1] = (to_type) _iter[1];                \
  |  |   57|  26.6M|            _to[2] = (to_type) _iter[2];                \
  |  |   58|  26.6M|            _to[3] = (to_type) _iter[3];                \
  |  |   59|  26.6M|            _iter += 4; _to += 4;                       \
  |  |   60|  26.6M|        }                                               \
  |  |   61|  48.4M|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 25.1M, False: 23.2M]
  |  |  ------------------
  |  |   62|  25.1M|            *_to++ = (to_type) *_iter++;                \
  |  |   63|  23.2M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 23.2M]
  |  |  ------------------
  ------------------
 1440|  23.2M|            Py_UCS1, Py_UCS2,
 1441|  23.2M|            PyUnicode_1BYTE_DATA(from) + from_start,
 1442|  23.2M|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1443|  23.2M|            PyUnicode_2BYTE_DATA(to) + to_start
 1444|  23.2M|            );
 1445|  23.2M|    }
 1446|  1.58M|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1446:14): [True: 1.56M, False: 21.7k]
  ------------------
 1447|  1.56M|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1447:17): [True: 1.56M, False: 0]
  ------------------
 1448|  1.56M|    {
 1449|  1.56M|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|  1.56M|    do {                                                \
  |  |   48|  1.56M|        to_type *_to = (to_type *)(to);                 \
  |  |   49|  1.56M|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|  1.56M|        const from_type *_end = (const from_type *)(end);\
  |  |   51|  1.56M|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|  1.56M|        const from_type *_unrolled_end =                \
  |  |   53|  1.56M|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|  1.56M|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  2.08M|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 525k, False: 1.56M]
  |  |  ------------------
  |  |   55|   525k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|   525k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|   525k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|   525k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|   525k|            _iter += 4; _to += 4;                       \
  |  |   60|   525k|        }                                               \
  |  |   61|  3.21M|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 1.65M, False: 1.56M]
  |  |  ------------------
  |  |   62|  1.65M|            *_to++ = (to_type) *_iter++;                \
  |  |   63|  1.56M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 1.56M]
  |  |  ------------------
  ------------------
 1450|  1.56M|            Py_UCS1, Py_UCS4,
 1451|  1.56M|            PyUnicode_1BYTE_DATA(from) + from_start,
 1452|  1.56M|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1453|  1.56M|            PyUnicode_4BYTE_DATA(to) + to_start
 1454|  1.56M|            );
 1455|  1.56M|    }
 1456|  21.7k|    else if (from_kind == PyUnicode_2BYTE_KIND
  ------------------
  |  Branch (1456:14): [True: 21.7k, False: 0]
  ------------------
 1457|  21.7k|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1457:17): [True: 21.7k, False: 0]
  ------------------
 1458|  21.7k|    {
 1459|  21.7k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|  21.7k|    do {                                                \
  |  |   48|  21.7k|        to_type *_to = (to_type *)(to);                 \
  |  |   49|  21.7k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|  21.7k|        const from_type *_end = (const from_type *)(end);\
  |  |   51|  21.7k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|  21.7k|        const from_type *_unrolled_end =                \
  |  |   53|  21.7k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|  21.7k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  43.3M|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 43.3M, False: 21.7k]
  |  |  ------------------
  |  |   55|  43.3M|            _to[0] = (to_type) _iter[0];                \
  |  |   56|  43.3M|            _to[1] = (to_type) _iter[1];                \
  |  |   57|  43.3M|            _to[2] = (to_type) _iter[2];                \
  |  |   58|  43.3M|            _to[3] = (to_type) _iter[3];                \
  |  |   59|  43.3M|            _iter += 4; _to += 4;                       \
  |  |   60|  43.3M|        }                                               \
  |  |   61|  54.5k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 32.8k, False: 21.7k]
  |  |  ------------------
  |  |   62|  32.8k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|  21.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 21.7k]
  |  |  ------------------
  ------------------
 1460|  21.7k|            Py_UCS2, Py_UCS4,
 1461|  21.7k|            PyUnicode_2BYTE_DATA(from) + from_start,
 1462|  21.7k|            PyUnicode_2BYTE_DATA(from) + from_start + how_many,
 1463|  21.7k|            PyUnicode_4BYTE_DATA(to) + to_start
 1464|  21.7k|            );
 1465|  21.7k|    }
 1466|      0|    else {
 1467|      0|        assert (PyUnicode_MAX_CHAR_VALUE(from) > PyUnicode_MAX_CHAR_VALUE(to));
  ------------------
  |  Branch (1467:9): [True: 0, False: 0]
  ------------------
 1468|       |
 1469|      0|        if (!check_maxchar) {
  ------------------
  |  Branch (1469:13): [True: 0, False: 0]
  ------------------
 1470|      0|            if (from_kind == PyUnicode_2BYTE_KIND
  ------------------
  |  Branch (1470:17): [True: 0, False: 0]
  ------------------
 1471|      0|                && to_kind == PyUnicode_1BYTE_KIND)
  ------------------
  |  Branch (1471:20): [True: 0, False: 0]
  ------------------
 1472|      0|            {
 1473|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|      0|    do {                                                \
  |  |   48|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   49|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   51|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|      0|        const from_type *_unrolled_end =                \
  |  |   53|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   55|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   56|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   57|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   58|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   59|      0|            _iter += 4; _to += 4;                       \
  |  |   60|      0|        }                                               \
  |  |   61|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   62|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   63|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1474|      0|                    Py_UCS2, Py_UCS1,
 1475|      0|                    PyUnicode_2BYTE_DATA(from) + from_start,
 1476|      0|                    PyUnicode_2BYTE_DATA(from) + from_start + how_many,
 1477|      0|                    PyUnicode_1BYTE_DATA(to) + to_start
 1478|      0|                    );
 1479|      0|            }
 1480|      0|            else if (from_kind == PyUnicode_4BYTE_KIND
  ------------------
  |  Branch (1480:22): [True: 0, False: 0]
  ------------------
 1481|      0|                     && to_kind == PyUnicode_1BYTE_KIND)
  ------------------
  |  Branch (1481:25): [True: 0, False: 0]
  ------------------
 1482|      0|            {
 1483|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|      0|    do {                                                \
  |  |   48|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   49|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   51|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|      0|        const from_type *_unrolled_end =                \
  |  |   53|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   55|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   56|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   57|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   58|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   59|      0|            _iter += 4; _to += 4;                       \
  |  |   60|      0|        }                                               \
  |  |   61|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   62|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   63|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1484|      0|                    Py_UCS4, Py_UCS1,
 1485|      0|                    PyUnicode_4BYTE_DATA(from) + from_start,
 1486|      0|                    PyUnicode_4BYTE_DATA(from) + from_start + how_many,
 1487|      0|                    PyUnicode_1BYTE_DATA(to) + to_start
 1488|      0|                    );
 1489|      0|            }
 1490|      0|            else if (from_kind == PyUnicode_4BYTE_KIND
  ------------------
  |  Branch (1490:22): [True: 0, False: 0]
  ------------------
 1491|      0|                     && to_kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1491:25): [True: 0, False: 0]
  ------------------
 1492|      0|            {
 1493|      0|                _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|      0|    do {                                                \
  |  |   48|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   49|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   51|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|      0|        const from_type *_unrolled_end =                \
  |  |   53|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   55|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   56|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   57|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   58|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   59|      0|            _iter += 4; _to += 4;                       \
  |  |   60|      0|        }                                               \
  |  |   61|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   62|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   63|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1494|      0|                    Py_UCS4, Py_UCS2,
 1495|      0|                    PyUnicode_4BYTE_DATA(from) + from_start,
 1496|      0|                    PyUnicode_4BYTE_DATA(from) + from_start + how_many,
 1497|      0|                    PyUnicode_2BYTE_DATA(to) + to_start
 1498|      0|                    );
 1499|      0|            }
 1500|      0|            else {
 1501|      0|                Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1502|      0|            }
 1503|      0|        }
 1504|      0|        else {
 1505|      0|            const Py_UCS4 to_maxchar = PyUnicode_MAX_CHAR_VALUE(to);
  ------------------
  |  |  406|      0|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1506|      0|            Py_UCS4 ch;
 1507|      0|            Py_ssize_t i;
 1508|       |
 1509|      0|            for (i=0; i < how_many; i++) {
  ------------------
  |  Branch (1509:23): [True: 0, False: 0]
  ------------------
 1510|      0|                ch = PyUnicode_READ(from_kind, from_data, from_start + i);
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
 1511|      0|                if (ch > to_maxchar)
  ------------------
  |  Branch (1511:21): [True: 0, False: 0]
  ------------------
 1512|      0|                    return -1;
 1513|      0|                PyUnicode_WRITE(to_kind, to_data, to_start + i, ch);
  ------------------
  |  |  336|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1514|      0|            }
 1515|      0|        }
 1516|      0|    }
 1517|  25.0M|    return 0;
 1518|  25.0M|}
unicodeobject.c:unicode_resize:
 1766|      4|{
 1767|      4|    PyObject *unicode;
 1768|      4|    Py_ssize_t old_length;
 1769|       |
 1770|      4|    assert(p_unicode != NULL);
  ------------------
  |  Branch (1770:5): [True: 4, False: 0]
  ------------------
 1771|      4|    unicode = *p_unicode;
 1772|       |
 1773|      4|    assert(unicode != NULL);
  ------------------
  |  Branch (1773:5): [True: 4, False: 0]
  ------------------
 1774|      4|    assert(PyUnicode_Check(unicode));
  ------------------
  |  Branch (1774:5): [True: 4, False: 0]
  ------------------
 1775|      4|    assert(0 <= length);
  ------------------
  |  Branch (1775:5): [True: 4, False: 0]
  ------------------
 1776|       |
 1777|      4|    old_length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|      4|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1778|      4|    if (old_length == length)
  ------------------
  |  Branch (1778:9): [True: 0, False: 4]
  ------------------
 1779|      0|        return 0;
 1780|       |
 1781|      4|    if (length == 0) {
  ------------------
  |  Branch (1781:9): [True: 0, False: 4]
  ------------------
 1782|      0|        PyObject *empty = _PyUnicode_GetEmpty();
 1783|      0|        Py_SETREF(*p_unicode, empty);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1784|      0|        return 0;
 1785|      0|    }
 1786|       |
 1787|      4|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1787:9): [True: 0, False: 4]
  ------------------
 1788|      0|        PyObject *copy = resize_copy(unicode, length);
 1789|      0|        if (copy == NULL)
  ------------------
  |  Branch (1789:13): [True: 0, False: 0]
  ------------------
 1790|      0|            return -1;
 1791|      0|        Py_SETREF(*p_unicode, copy);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1792|      0|        return 0;
 1793|      0|    }
 1794|       |
 1795|      4|    if (PyUnicode_IS_COMPACT(unicode)) {
  ------------------
  |  |  235|      4|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1796|      4|        PyObject *new_unicode = _PyUnicode_ResizeCompact(unicode, length);
 1797|      4|        if (new_unicode == NULL)
  ------------------
  |  Branch (1797:13): [True: 0, False: 4]
  ------------------
 1798|      0|            return -1;
 1799|      4|        *p_unicode = new_unicode;
 1800|      4|        return 0;
 1801|      4|    }
 1802|      0|    return resize_inplace(unicode, length);
 1803|      4|}
unicodeobject.c:get_latin1_char:
 1824|   155M|{
 1825|   155M|    PyObject *o = LATIN1(ch);
  ------------------
  |  |  174|   155M|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  955|   155M|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (955:6): [True: 155M, False: 43.0k]
  |  |  |  |  ------------------
  |  |  |  |  956|   155M|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|   155M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|   155M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  957|   155M|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  43.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  43.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1826|   155M|    return o;
 1827|   155M|}
unicodeobject.c:find_maxchar_surrogates:
 1597|    802|{
 1598|    802|    const wchar_t *iter;
 1599|    802|    Py_UCS4 ch;
 1600|       |
 1601|    802|    assert(num_surrogates != NULL && maxchar != NULL);
  ------------------
  |  Branch (1601:5): [True: 802, False: 0]
  |  Branch (1601:5): [True: 802, False: 0]
  ------------------
 1602|    802|    *num_surrogates = 0;
 1603|    802|    *maxchar = 0;
 1604|       |
 1605|  13.0k|    for (iter = begin; iter < end; ) {
  ------------------
  |  Branch (1605:24): [True: 12.2k, False: 802]
  ------------------
 1606|       |#if SIZEOF_WCHAR_T == 2
 1607|       |        if (Py_UNICODE_IS_HIGH_SURROGATE(iter[0])
 1608|       |            && (iter+1) < end
 1609|       |            && Py_UNICODE_IS_LOW_SURROGATE(iter[1]))
 1610|       |        {
 1611|       |            ch = Py_UNICODE_JOIN_SURROGATES(iter[0], iter[1]);
 1612|       |            ++(*num_surrogates);
 1613|       |            iter += 2;
 1614|       |        }
 1615|       |        else
 1616|       |#endif
 1617|  12.2k|        {
 1618|  12.2k|            ch = *iter;
 1619|  12.2k|            iter++;
 1620|  12.2k|        }
 1621|  12.2k|        if (ch > *maxchar) {
  ------------------
  |  Branch (1621:13): [True: 2.57k, False: 9.68k]
  ------------------
 1622|  2.57k|            *maxchar = ch;
 1623|  2.57k|            if (*maxchar > MAX_UNICODE) {
  ------------------
  |  |  108|  2.57k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|  2.57k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1623:17): [True: 0, False: 2.57k]
  ------------------
 1624|      0|                unicode_invalid_character(PyExc_ValueError, ch);
 1625|      0|                return -1;
 1626|      0|            }
 1627|  2.57k|        }
 1628|  12.2k|    }
 1629|    802|    return 0;
 1630|    802|}
unicodeobject.c:unicode_write_widechar:
 1858|    802|{
 1859|    802|    switch (kind) {
 1860|    802|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1860:5): [True: 802, False: 0]
  ------------------
 1861|    802|        _PyUnicode_CONVERT_BYTES(wchar_t, unsigned char, u, u + size, data);
  ------------------
  |  |   47|    802|    do {                                                \
  |  |   48|    802|        to_type *_to = (to_type *)(to);                 \
  |  |   49|    802|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|    802|        const from_type *_end = (const from_type *)(end);\
  |  |   51|    802|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|    802|        const from_type *_unrolled_end =                \
  |  |   53|    802|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|    802|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  3.58k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 2.78k, False: 802]
  |  |  ------------------
  |  |   55|  2.78k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|  2.78k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|  2.78k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|  2.78k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|  2.78k|            _iter += 4; _to += 4;                       \
  |  |   60|  2.78k|        }                                               \
  |  |   61|  1.91k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 1.11k, False: 802]
  |  |  ------------------
  |  |   62|  1.11k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|    802|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 802]
  |  |  ------------------
  ------------------
 1862|    802|        break;
 1863|       |
 1864|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1864:5): [True: 0, False: 802]
  ------------------
 1865|       |#if SIZEOF_WCHAR_T == 2
 1866|       |        memcpy(data, u, size * 2);
 1867|       |#else
 1868|      0|        _PyUnicode_CONVERT_BYTES(wchar_t, Py_UCS2, u, u + size, data);
  ------------------
  |  |   47|      0|    do {                                                \
  |  |   48|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   49|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   51|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|      0|        const from_type *_unrolled_end =                \
  |  |   53|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   55|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   56|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   57|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   58|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   59|      0|            _iter += 4; _to += 4;                       \
  |  |   60|      0|        }                                               \
  |  |   61|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   62|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   63|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1869|      0|#endif
 1870|      0|        break;
 1871|       |
 1872|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (1872:5): [True: 0, False: 802]
  ------------------
 1873|      0|    {
 1874|       |#if SIZEOF_WCHAR_T == 2
 1875|       |        // Convert a 16-bits wchar_t representation to UCS4, this will decode
 1876|       |        // surrogate pairs.
 1877|       |        const wchar_t *end = u + size;
 1878|       |        Py_UCS4 *ucs4_out = (Py_UCS4*)data;
 1879|       |#  ifndef NDEBUG
 1880|       |        Py_UCS4 *ucs4_end = (Py_UCS4*)data + (size - num_surrogates);
 1881|       |#  endif
 1882|       |        for (const wchar_t *iter = u; iter < end; ) {
 1883|       |            assert(ucs4_out < ucs4_end);
 1884|       |            if (Py_UNICODE_IS_HIGH_SURROGATE(iter[0])
 1885|       |                && (iter+1) < end
 1886|       |                && Py_UNICODE_IS_LOW_SURROGATE(iter[1]))
 1887|       |            {
 1888|       |                *ucs4_out++ = Py_UNICODE_JOIN_SURROGATES(iter[0], iter[1]);
 1889|       |                iter += 2;
 1890|       |            }
 1891|       |            else {
 1892|       |                *ucs4_out++ = *iter;
 1893|       |                iter++;
 1894|       |            }
 1895|       |        }
 1896|       |        assert(ucs4_out == ucs4_end);
 1897|       |#else
 1898|      0|        assert(num_surrogates == 0);
  ------------------
  |  Branch (1898:9): [True: 0, False: 0]
  ------------------
 1899|      0|        memcpy(data, u, size * 4);
 1900|      0|#endif
 1901|      0|        break;
 1902|      0|    }
 1903|      0|    default:
  ------------------
  |  Branch (1903:5): [True: 0, False: 802]
  ------------------
 1904|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1905|    802|    }
 1906|    802|}
unicodeobject.c:_PyUnicode_FromUCS1:
 2169|  16.8k|{
 2170|  16.8k|    PyObject *res;
 2171|  16.8k|    unsigned char max_char;
 2172|       |
 2173|  16.8k|    if (size == 0) {
  ------------------
  |  Branch (2173:9): [True: 12, False: 16.7k]
  ------------------
 2174|     12|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|     12|    do {                             \
  |  |  366|     12|        return _PyUnicode_GetEmpty();\
  |  |  367|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2175|     12|    }
 2176|  16.8k|    assert(size > 0);
  ------------------
  |  Branch (2176:5): [True: 16.7k, False: 0]
  ------------------
 2177|  16.7k|    if (size == 1) {
  ------------------
  |  Branch (2177:9): [True: 504, False: 16.2k]
  ------------------
 2178|    504|        return get_latin1_char(u[0]);
 2179|    504|    }
 2180|       |
 2181|  16.2k|    max_char = ucs1lib_find_max_char(u, u + size);
 2182|  16.2k|    res = PyUnicode_New(size, max_char);
 2183|  16.2k|    if (!res)
  ------------------
  |  Branch (2183:9): [True: 0, False: 16.2k]
  ------------------
 2184|      0|        return NULL;
 2185|  16.2k|    memcpy(PyUnicode_1BYTE_DATA(res), u, size);
  ------------------
  |  |  292|  16.2k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  16.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2186|  16.2k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (2186:5): [True: 16.2k, False: 0]
  ------------------
 2187|  16.2k|    return res;
 2188|  16.2k|}
unicodeobject.c:unicode_from_format:
 3113|  68.3k|{
 3114|  68.3k|    Py_ssize_t len = strlen(format);
 3115|  68.3k|    writer->min_length += len + 100;
 3116|  68.3k|    writer->overallocate = 1;
 3117|       |
 3118|       |    // Copy varags to be able to pass a reference to a subfunction.
 3119|  68.3k|    va_list vargs2;
 3120|  68.3k|    va_copy(vargs2, vargs);
 3121|       |
 3122|       |    // _PyUnicodeWriter_WriteASCIIString() below requires the format string
 3123|       |    // to be encoded to ASCII.
 3124|  68.3k|    int is_ascii = (ucs1lib_find_max_char((Py_UCS1*)format, (Py_UCS1*)format + len) < 128);
 3125|  68.3k|    if (!is_ascii) {
  ------------------
  |  Branch (3125:9): [True: 0, False: 68.3k]
  ------------------
 3126|      0|        Py_ssize_t i;
 3127|      0|        for (i=0; i < len && (unsigned char)format[i] <= 127; i++);
  ------------------
  |  Branch (3127:19): [True: 0, False: 0]
  |  Branch (3127:30): [True: 0, False: 0]
  ------------------
 3128|      0|        PyErr_Format(PyExc_ValueError,
 3129|      0|            "PyUnicode_FromFormatV() expects an ASCII-encoded format "
 3130|      0|            "string, got a non-ASCII byte: 0x%02x",
 3131|      0|            (unsigned char)format[i]);
 3132|      0|        goto fail;
 3133|      0|    }
 3134|       |
 3135|   407k|    for (const char *f = format; *f; ) {
  ------------------
  |  Branch (3135:34): [True: 339k, False: 68.3k]
  ------------------
 3136|   339k|        if (*f == '%') {
  ------------------
  |  Branch (3136:13): [True: 152k, False: 187k]
  ------------------
 3137|   152k|            f = unicode_fromformat_arg(writer, f, &vargs2);
 3138|   152k|            if (f == NULL)
  ------------------
  |  Branch (3138:17): [True: 0, False: 152k]
  ------------------
 3139|      0|                goto fail;
 3140|   152k|        }
 3141|   187k|        else {
 3142|   187k|            const char *p = strchr(f, '%');
 3143|   187k|            if (p != NULL) {
  ------------------
  |  Branch (3143:17): [True: 135k, False: 51.6k]
  ------------------
 3144|   135k|                len = p - f;
 3145|   135k|            }
 3146|  51.6k|            else {
 3147|  51.6k|                len = strlen(f);
 3148|  51.6k|                writer->overallocate = 0;
 3149|  51.6k|            }
 3150|       |
 3151|   187k|            if (_PyUnicodeWriter_WriteASCIIString(writer, f, len) < 0) {
  ------------------
  |  Branch (3151:17): [True: 0, False: 187k]
  ------------------
 3152|      0|                goto fail;
 3153|      0|            }
 3154|   187k|            f += len;
 3155|   187k|        }
 3156|   339k|    }
 3157|  68.3k|    va_end(vargs2);
 3158|  68.3k|    return 0;
 3159|       |
 3160|      0|  fail:
 3161|       |    va_end(vargs2);
 3162|      0|    return -1;
 3163|  68.3k|}
unicodeobject.c:unicode_fromformat_arg:
 2697|   152k|{
 2698|   152k|    const char *p;
 2699|   152k|    Py_ssize_t len;
 2700|   152k|    int flags = 0;
 2701|   152k|    Py_ssize_t width;
 2702|   152k|    Py_ssize_t precision;
 2703|       |
 2704|   152k|    p = f;
 2705|   152k|    f++;
 2706|   152k|    if (*f == '%') {
  ------------------
  |  Branch (2706:9): [True: 0, False: 152k]
  ------------------
 2707|      0|        if (_PyUnicodeWriter_WriteCharInline(writer, '%') < 0)
  ------------------
  |  Branch (2707:13): [True: 0, False: 0]
  ------------------
 2708|      0|            return NULL;
 2709|      0|        f++;
 2710|      0|        return f;
 2711|      0|    }
 2712|       |
 2713|       |    /* Parse flags. Example: "%-i" => flags=F_LJUST. */
 2714|       |    /* Flags '+', ' ' and '#' are not particularly useful.
 2715|       |     * They are not worth the implementation and maintenance costs.
 2716|       |     * In addition, '#' should add "0" for "o" conversions for compatibility
 2717|       |     * with printf, but it would confuse Python users. */
 2718|   152k|    while (1) {
  ------------------
  |  Branch (2718:12): [True: 152k, Folded]
  ------------------
 2719|   152k|        switch (*f++) {
  ------------------
  |  Branch (2719:17): [True: 0, False: 152k]
  ------------------
 2720|      0|        case '-': flags |= F_LJUST; continue;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2720:9): [True: 0, False: 152k]
  ------------------
 2721|      0|        case '0': flags |= F_ZERO; continue;
  ------------------
  |  |   22|      0|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (2721:9): [True: 0, False: 152k]
  ------------------
 2722|      0|        case '#': flags |= F_ALT; continue;
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (2722:9): [True: 0, False: 152k]
  ------------------
 2723|   152k|        }
 2724|   152k|        f--;
 2725|   152k|        break;
 2726|   152k|    }
 2727|       |
 2728|       |    /* parse the width.precision part, e.g. "%2.5s" => width=2, precision=5 */
 2729|   152k|    width = -1;
 2730|   152k|    if (*f == '*') {
  ------------------
  |  Branch (2730:9): [True: 0, False: 152k]
  ------------------
 2731|      0|        width = va_arg(*vargs, int);
 2732|      0|        if (width < 0) {
  ------------------
  |  Branch (2732:13): [True: 0, False: 0]
  ------------------
 2733|      0|            flags |= F_LJUST;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
 2734|      0|            width = -width;
 2735|      0|        }
 2736|      0|        f++;
 2737|      0|    }
 2738|   152k|    else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|   152k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|   152k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|   152k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 152k]
  |  |  ------------------
  ------------------
 2739|      0|        width = *f - '0';
 2740|      0|        f++;
 2741|      0|        while (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      0|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2742|      0|            if (width > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2742:17): [True: 0, False: 0]
  ------------------
 2743|      0|                PyErr_SetString(PyExc_ValueError,
 2744|      0|                                "width too big");
 2745|      0|                return NULL;
 2746|      0|            }
 2747|      0|            width = (width * 10) + (*f - '0');
 2748|      0|            f++;
 2749|      0|        }
 2750|      0|    }
 2751|   152k|    precision = -1;
 2752|   152k|    if (*f == '.') {
  ------------------
  |  Branch (2752:9): [True: 51.1k, False: 100k]
  ------------------
 2753|  51.1k|        f++;
 2754|  51.1k|        if (*f == '*') {
  ------------------
  |  Branch (2754:13): [True: 0, False: 51.1k]
  ------------------
 2755|      0|            precision = va_arg(*vargs, int);
 2756|      0|            if (precision < 0) {
  ------------------
  |  Branch (2756:17): [True: 0, False: 0]
  ------------------
 2757|      0|                precision = -2;
 2758|      0|            }
 2759|      0|            f++;
 2760|      0|        }
 2761|  51.1k|        else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|  51.1k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|  51.1k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  51.1k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 51.1k, False: 0]
  |  |  ------------------
  ------------------
 2762|  51.1k|            precision = (*f - '0');
 2763|  51.1k|            f++;
 2764|   153k|            while (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|   153k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|   153k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|   153k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 102k, False: 51.1k]
  |  |  ------------------
  ------------------
 2765|   102k|                if (precision > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10) {
  ------------------
  |  |  137|   102k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2765:21): [True: 0, False: 102k]
  ------------------
 2766|      0|                    PyErr_SetString(PyExc_ValueError,
 2767|      0|                                    "precision too big");
 2768|      0|                    return NULL;
 2769|      0|                }
 2770|   102k|                precision = (precision * 10) + (*f - '0');
 2771|   102k|                f++;
 2772|   102k|            }
 2773|  51.1k|        }
 2774|  51.1k|    }
 2775|       |
 2776|   152k|    int sizemod = 0;
 2777|   152k|    if (*f == 'l') {
  ------------------
  |  Branch (2777:9): [True: 0, False: 152k]
  ------------------
 2778|      0|        if (f[1] == 'l') {
  ------------------
  |  Branch (2778:13): [True: 0, False: 0]
  ------------------
 2779|      0|            sizemod = F_LONGLONG;
  ------------------
  |  | 2689|      0|#define F_LONGLONG 2
  ------------------
 2780|      0|            f += 2;
 2781|      0|        }
 2782|      0|        else {
 2783|      0|            sizemod = F_LONG;
  ------------------
  |  | 2688|      0|#define F_LONG 1
  ------------------
 2784|      0|            ++f;
 2785|      0|        }
 2786|      0|    }
 2787|   152k|    else if (*f == 'z') {
  ------------------
  |  Branch (2787:14): [True: 32.0k, False: 120k]
  ------------------
 2788|  32.0k|        sizemod = F_SIZE;
  ------------------
  |  | 2690|  32.0k|#define F_SIZE 3
  ------------------
 2789|  32.0k|        ++f;
 2790|  32.0k|    }
 2791|   120k|    else if (*f == 't') {
  ------------------
  |  Branch (2791:14): [True: 0, False: 120k]
  ------------------
 2792|      0|        sizemod = F_PTRDIFF;
  ------------------
  |  | 2691|      0|#define F_PTRDIFF 4
  ------------------
 2793|      0|        ++f;
 2794|      0|    }
 2795|   120k|    else if (*f == 'j') {
  ------------------
  |  Branch (2795:14): [True: 0, False: 120k]
  ------------------
 2796|      0|        sizemod = F_INTMAX;
  ------------------
  |  | 2692|      0|#define F_INTMAX 5
  ------------------
 2797|      0|        ++f;
 2798|      0|    }
 2799|   152k|    if (f[0] != '\0' && f[1] == '\0')
  ------------------
  |  Branch (2799:9): [True: 152k, False: 0]
  |  Branch (2799:25): [True: 16.6k, False: 135k]
  ------------------
 2800|  16.6k|        writer->overallocate = 0;
 2801|       |
 2802|   152k|    switch (*f) {
 2803|  32.0k|    case 'd': case 'i': case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2803:5): [True: 32.0k, False: 120k]
  |  Branch (2803:15): [True: 0, False: 152k]
  |  Branch (2803:25): [True: 0, False: 152k]
  |  Branch (2803:35): [True: 0, False: 152k]
  |  Branch (2803:45): [True: 0, False: 152k]
  |  Branch (2803:55): [True: 0, False: 152k]
  ------------------
 2804|  32.0k|        break;
 2805|      0|    case 'c': case 'p':
  ------------------
  |  Branch (2805:5): [True: 0, False: 152k]
  |  Branch (2805:15): [True: 0, False: 152k]
  ------------------
 2806|      0|        if (sizemod || width >= 0 || precision >= 0) goto invalid_format;
  ------------------
  |  Branch (2806:13): [True: 0, False: 0]
  |  Branch (2806:24): [True: 0, False: 0]
  |  Branch (2806:38): [True: 0, False: 0]
  ------------------
 2807|      0|        break;
 2808|  68.5k|    case 's':
  ------------------
  |  Branch (2808:5): [True: 68.5k, False: 83.5k]
  ------------------
 2809|  68.5k|    case 'V':
  ------------------
  |  Branch (2809:5): [True: 0, False: 152k]
  ------------------
 2810|  68.5k|        if (sizemod && sizemod != F_LONG) goto invalid_format;
  ------------------
  |  | 2688|      0|#define F_LONG 1
  ------------------
  |  Branch (2810:13): [True: 0, False: 68.5k]
  |  Branch (2810:24): [True: 0, False: 0]
  ------------------
 2811|  68.5k|        break;
 2812|  68.5k|    default:
  ------------------
  |  Branch (2812:5): [True: 51.4k, False: 100k]
  ------------------
 2813|  51.4k|        if (sizemod) goto invalid_format;
  ------------------
  |  Branch (2813:13): [True: 0, False: 51.4k]
  ------------------
 2814|  51.4k|        break;
 2815|   152k|    }
 2816|       |
 2817|   152k|    switch (*f) {
 2818|      0|    case 'c':
  ------------------
  |  Branch (2818:5): [True: 0, False: 152k]
  ------------------
 2819|      0|    {
 2820|      0|        int ordinal = va_arg(*vargs, int);
 2821|      0|        if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (2821:13): [True: 0, False: 0]
  |  Branch (2821:28): [True: 0, False: 0]
  ------------------
 2822|      0|            PyErr_SetString(PyExc_OverflowError,
 2823|      0|                            "character argument not in range(0x110000)");
 2824|      0|            return NULL;
 2825|      0|        }
 2826|      0|        if (_PyUnicodeWriter_WriteCharInline(writer, ordinal) < 0)
  ------------------
  |  Branch (2826:13): [True: 0, False: 0]
  ------------------
 2827|      0|            return NULL;
 2828|      0|        break;
 2829|      0|    }
 2830|       |
 2831|  32.0k|    case 'd': case 'i':
  ------------------
  |  Branch (2831:5): [True: 32.0k, False: 120k]
  |  Branch (2831:15): [True: 0, False: 152k]
  ------------------
 2832|  32.0k|    case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2832:5): [True: 0, False: 152k]
  |  Branch (2832:15): [True: 0, False: 152k]
  |  Branch (2832:25): [True: 0, False: 152k]
  |  Branch (2832:35): [True: 0, False: 152k]
  ------------------
 2833|  32.0k|    {
 2834|  32.0k|        char buffer[MAX_INTMAX_CHARS];
 2835|       |
 2836|       |        // Fill buffer using sprinf, with one of many possible format
 2837|       |        // strings, like "%llX" for `long long` in hexadecimal.
 2838|       |        // The type/size is in `sizemod`; the format is in `*f`.
 2839|       |
 2840|       |        // Use macros with nested switches to keep the sprintf format strings
 2841|       |        // as compile-time literals, avoiding warnings and maybe allowing
 2842|       |        // optimizations.
 2843|       |
 2844|       |        // `SPRINT` macro does one sprintf
 2845|       |        // Example usage: SPRINT("l", "X", unsigned long) expands to
 2846|       |        // sprintf(buffer, "%" "l" "X", va_arg(*vargs, unsigned long))
 2847|  32.0k|        #define SPRINT(SIZE_SPEC, FMT_CHAR, TYPE) \
 2848|  32.0k|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
 2849|       |
 2850|       |        // One inner switch to handle all format variants
 2851|  32.0k|        #define DO_SPRINTS(SIZE_SPEC, SIGNED_TYPE, UNSIGNED_TYPE)             \
 2852|  32.0k|            switch (*f) {                                                     \
 2853|  32.0k|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
 2854|  32.0k|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
 2855|  32.0k|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
 2856|  32.0k|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
 2857|  32.0k|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
 2858|  32.0k|            }
 2859|       |
 2860|       |        // Outer switch to handle all the sizes/types
 2861|  32.0k|        switch (sizemod) {
 2862|      0|            case F_LONG:     DO_SPRINTS("l", long, unsigned long); break;
  ------------------
  |  | 2688|      0|#define F_LONG 1
  ------------------
                          case F_LONG:     DO_SPRINTS("l", long, unsigned long); break;
  ------------------
  |  | 2852|      0|            switch (*f) {                                                     \
  |  | 2853|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2853:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2854|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2854:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2855|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2855:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2856|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2856:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2857|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2857:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2858|      0|            }
  ------------------
  |  Branch (2862:13): [True: 0, False: 32.0k]
  ------------------
 2863|      0|            case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
  ------------------
  |  | 2689|      0|#define F_LONGLONG 2
  ------------------
                          case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
  ------------------
  |  | 2852|      0|            switch (*f) {                                                     \
  |  | 2853|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2853:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2854|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2854:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2855|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2855:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2856|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2856:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2857|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2857:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2858|      0|            }
  ------------------
  |  Branch (2863:13): [True: 0, False: 32.0k]
  ------------------
 2864|  32.0k|            case F_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t); break;
  ------------------
  |  | 2690|  32.0k|#define F_SIZE 3
  ------------------
                          case F_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t); break;
  ------------------
  |  | 2852|  32.0k|            switch (*f) {                                                     \
  |  | 2853|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2853:17): [True: 0, False: 32.0k]
  |  |  ------------------
  |  | 2854|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2854:17): [True: 0, False: 32.0k]
  |  |  ------------------
  |  | 2855|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2855:17): [True: 0, False: 32.0k]
  |  |  ------------------
  |  | 2856|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2856:17): [True: 0, False: 32.0k]
  |  |  ------------------
  |  | 2857|  32.0k|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2848|  32.0k|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2857:17): [True: 32.0k, False: 0]
  |  |  ------------------
  |  | 2858|  32.0k|            }
  ------------------
  |  Branch (2864:13): [True: 32.0k, False: 0]
  ------------------
 2865|      0|            case F_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
  ------------------
  |  | 2691|      0|#define F_PTRDIFF 4
  ------------------
                          case F_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
  ------------------
  |  | 2852|      0|            switch (*f) {                                                     \
  |  | 2853|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2853:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2854|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2854:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2855|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2855:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2856|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2856:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2857|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2857:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2858|      0|            }
  ------------------
  |  Branch (2865:13): [True: 0, False: 32.0k]
  ------------------
 2866|      0|            case F_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t); break;
  ------------------
  |  | 2692|      0|#define F_INTMAX 5
  ------------------
                          case F_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t); break;
  ------------------
  |  | 2852|      0|            switch (*f) {                                                     \
  |  | 2853|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2853:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2854|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2854:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2855|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2855:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2856|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2856:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2857|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2857:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2858|      0|            }
  ------------------
  |  Branch (2866:13): [True: 0, False: 32.0k]
  ------------------
 2867|      0|            default:         DO_SPRINTS("", int, unsigned int); break;
  ------------------
  |  | 2852|      0|            switch (*f) {                                                     \
  |  | 2853|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2853:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2854|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2854:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2855|      0|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2855:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2856|      0|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2856:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2857|      0|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2857:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2858|      0|            }
  ------------------
  |  Branch (2867:13): [True: 0, False: 32.0k]
  ------------------
 2868|  32.0k|        }
 2869|  32.0k|        #undef SPRINT
 2870|  32.0k|        #undef DO_SPRINTS
 2871|       |
 2872|  32.0k|        assert(len >= 1);
  ------------------
  |  Branch (2872:9): [True: 32.0k, False: 0]
  ------------------
 2873|       |
 2874|  32.0k|        int sign = (buffer[0] == '-');
 2875|  32.0k|        len -= sign;
 2876|       |
 2877|  32.0k|        precision = Py_MAX(precision, len);
  ------------------
  |  |  133|  32.0k|       __extension__ \
  |  |  134|  32.0k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  32.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  32.0k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  32.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  32.0k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 32.0k]
  |  |  ------------------
  ------------------
 2878|  32.0k|        width = Py_MAX(width, precision + sign);
  ------------------
  |  |  133|  32.0k|       __extension__ \
  |  |  134|  32.0k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  32.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  32.0k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  32.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  32.0k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 32.0k]
  |  |  ------------------
  ------------------
 2879|  32.0k|        if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   22|  32.0k|#define F_ZERO  (1<<4)
  ------------------
                      if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2879:13): [True: 0, False: 32.0k]
  |  Branch (2879:33): [True: 0, False: 0]
  ------------------
 2880|      0|            precision = width - sign;
 2881|      0|        }
 2882|       |
 2883|  32.0k|        Py_ssize_t spacepad = Py_MAX(width - precision - sign, 0);
  ------------------
  |  |  133|  32.0k|       __extension__ \
  |  |  134|  32.0k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  32.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  32.0k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  32.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  32.0k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 32.0k]
  |  |  ------------------
  ------------------
 2884|  32.0k|        Py_ssize_t zeropad = Py_MAX(precision - len, 0);
  ------------------
  |  |  133|  32.0k|       __extension__ \
  |  |  134|  32.0k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  32.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  32.0k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  32.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  32.0k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 32.0k]
  |  |  ------------------
  ------------------
 2885|       |
 2886|  32.0k|        if (_PyUnicodeWriter_Prepare(writer, width, 127) == -1) {
  ------------------
  |  Branch (2886:13): [True: 0, False: 32.0k]
  ------------------
 2887|      0|            return NULL;
 2888|      0|        }
 2889|  32.0k|        assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (2889:9): [True: 32.0k, False: 0]
  ------------------
 2890|       |
 2891|  32.0k|        if (spacepad && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2891:13): [True: 0, False: 32.0k]
  |  Branch (2891:25): [True: 0, False: 0]
  ------------------
 2892|      0|            if (PyUnicode_Fill(writer->buffer, writer->pos, spacepad, ' ') == -1)
  ------------------
  |  Branch (2892:17): [True: 0, False: 0]
  ------------------
 2893|      0|                return NULL;
 2894|      0|            writer->pos += spacepad;
 2895|      0|        }
 2896|       |
 2897|  32.0k|        if (sign) {
  ------------------
  |  Branch (2897:13): [True: 0, False: 32.0k]
  ------------------
 2898|      0|            if (_PyUnicodeWriter_WriteChar(writer, '-') == -1)
  ------------------
  |  Branch (2898:17): [True: 0, False: 0]
  ------------------
 2899|      0|                return NULL;
 2900|      0|        }
 2901|       |
 2902|  32.0k|        if (zeropad) {
  ------------------
  |  Branch (2902:13): [True: 0, False: 32.0k]
  ------------------
 2903|      0|            if (PyUnicode_Fill(writer->buffer, writer->pos, zeropad, '0') == -1)
  ------------------
  |  Branch (2903:17): [True: 0, False: 0]
  ------------------
 2904|      0|                return NULL;
 2905|      0|            writer->pos += zeropad;
 2906|      0|        }
 2907|       |
 2908|  32.0k|        if (_PyUnicodeWriter_WriteASCIIString(writer, &buffer[sign], len) < 0)
  ------------------
  |  Branch (2908:13): [True: 0, False: 32.0k]
  ------------------
 2909|      0|            return NULL;
 2910|       |
 2911|  32.0k|        if (spacepad && (flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2911:13): [True: 0, False: 32.0k]
  |  Branch (2911:25): [True: 0, False: 0]
  ------------------
 2912|      0|            if (PyUnicode_Fill(writer->buffer, writer->pos, spacepad, ' ') == -1)
  ------------------
  |  Branch (2912:17): [True: 0, False: 0]
  ------------------
 2913|      0|                return NULL;
 2914|      0|            writer->pos += spacepad;
 2915|      0|        }
 2916|  32.0k|        break;
 2917|  32.0k|    }
 2918|       |
 2919|  32.0k|    case 'p':
  ------------------
  |  Branch (2919:5): [True: 0, False: 152k]
  ------------------
 2920|      0|    {
 2921|      0|        char number[MAX_INTMAX_CHARS];
 2922|       |
 2923|      0|        len = sprintf(number, "%p", va_arg(*vargs, void*));
 2924|      0|        assert(len >= 0);
  ------------------
  |  Branch (2924:9): [True: 0, False: 0]
  ------------------
 2925|       |
 2926|       |        /* %p is ill-defined:  ensure leading 0x. */
 2927|      0|        if (number[1] == 'X')
  ------------------
  |  Branch (2927:13): [True: 0, False: 0]
  ------------------
 2928|      0|            number[1] = 'x';
 2929|      0|        else if (number[1] != 'x') {
  ------------------
  |  Branch (2929:18): [True: 0, False: 0]
  ------------------
 2930|      0|            memmove(number + 2, number,
 2931|      0|                    strlen(number) + 1);
 2932|      0|            number[0] = '0';
 2933|      0|            number[1] = 'x';
 2934|      0|            len += 2;
 2935|      0|        }
 2936|       |
 2937|      0|        if (_PyUnicodeWriter_WriteASCIIString(writer, number, len) < 0)
  ------------------
  |  Branch (2937:13): [True: 0, False: 0]
  ------------------
 2938|      0|            return NULL;
 2939|      0|        break;
 2940|      0|    }
 2941|       |
 2942|  68.5k|    case 's':
  ------------------
  |  Branch (2942:5): [True: 68.5k, False: 83.5k]
  ------------------
 2943|  68.5k|    {
 2944|  68.5k|        if (sizemod) {
  ------------------
  |  Branch (2944:13): [True: 0, False: 68.5k]
  ------------------
 2945|      0|            const wchar_t *s = va_arg(*vargs, const wchar_t*);
 2946|      0|            if (unicode_fromformat_write_wcstr(writer, s, width, precision, flags) < 0)
  ------------------
  |  Branch (2946:17): [True: 0, False: 0]
  ------------------
 2947|      0|                return NULL;
 2948|      0|        }
 2949|  68.5k|        else {
 2950|       |            /* UTF-8 */
 2951|  68.5k|            const char *s = va_arg(*vargs, const char*);
 2952|  68.5k|            if (unicode_fromformat_write_utf8(writer, s, width, precision, flags) < 0)
  ------------------
  |  Branch (2952:17): [True: 0, False: 68.5k]
  ------------------
 2953|      0|                return NULL;
 2954|  68.5k|        }
 2955|  68.5k|        break;
 2956|  68.5k|    }
 2957|       |
 2958|  68.5k|    case 'U':
  ------------------
  |  Branch (2958:5): [True: 51.4k, False: 100k]
  ------------------
 2959|  51.4k|    {
 2960|  51.4k|        PyObject *obj = va_arg(*vargs, PyObject *);
 2961|  51.4k|        assert(obj && _PyUnicode_CHECK(obj));
  ------------------
  |  Branch (2961:9): [True: 51.4k, False: 0]
  |  Branch (2961:9): [True: 51.4k, False: 0]
  ------------------
 2962|       |
 2963|  51.4k|        if (unicode_fromformat_write_str(writer, obj, width, precision, flags) == -1)
  ------------------
  |  Branch (2963:13): [True: 0, False: 51.4k]
  ------------------
 2964|      0|            return NULL;
 2965|  51.4k|        break;
 2966|  51.4k|    }
 2967|       |
 2968|  51.4k|    case 'V':
  ------------------
  |  Branch (2968:5): [True: 0, False: 152k]
  ------------------
 2969|      0|    {
 2970|      0|        PyObject *obj = va_arg(*vargs, PyObject *);
 2971|      0|        const char *str;
 2972|      0|        const wchar_t *wstr;
 2973|      0|        if (sizemod) {
  ------------------
  |  Branch (2973:13): [True: 0, False: 0]
  ------------------
 2974|      0|            wstr = va_arg(*vargs, const wchar_t*);
 2975|      0|        }
 2976|      0|        else {
 2977|      0|            str = va_arg(*vargs, const char *);
 2978|      0|        }
 2979|      0|        if (obj) {
  ------------------
  |  Branch (2979:13): [True: 0, False: 0]
  ------------------
 2980|      0|            assert(_PyUnicode_CHECK(obj));
  ------------------
  |  Branch (2980:13): [True: 0, False: 0]
  ------------------
 2981|      0|            if (unicode_fromformat_write_str(writer, obj, width, precision, flags) == -1)
  ------------------
  |  Branch (2981:17): [True: 0, False: 0]
  ------------------
 2982|      0|                return NULL;
 2983|      0|        }
 2984|      0|        else if (sizemod) {
  ------------------
  |  Branch (2984:18): [True: 0, False: 0]
  ------------------
 2985|      0|            assert(wstr != NULL);
  ------------------
  |  Branch (2985:13): [True: 0, False: 0]
  ------------------
 2986|      0|            if (unicode_fromformat_write_wcstr(writer, wstr, width, precision, flags) < 0)
  ------------------
  |  Branch (2986:17): [True: 0, False: 0]
  ------------------
 2987|      0|                return NULL;
 2988|      0|        }
 2989|      0|        else {
 2990|      0|            assert(str != NULL);
  ------------------
  |  Branch (2990:13): [True: 0, False: 0]
  ------------------
 2991|      0|            if (unicode_fromformat_write_utf8(writer, str, width, precision, flags) < 0)
  ------------------
  |  Branch (2991:17): [True: 0, False: 0]
  ------------------
 2992|      0|                return NULL;
 2993|      0|        }
 2994|      0|        break;
 2995|      0|    }
 2996|       |
 2997|      6|    case 'S':
  ------------------
  |  Branch (2997:5): [True: 6, False: 152k]
  ------------------
 2998|      6|    {
 2999|      6|        PyObject *obj = va_arg(*vargs, PyObject *);
 3000|      6|        PyObject *str;
 3001|      6|        assert(obj);
  ------------------
  |  Branch (3001:9): [True: 6, False: 0]
  ------------------
 3002|      6|        str = PyObject_Str(obj);
 3003|      6|        if (!str)
  ------------------
  |  Branch (3003:13): [True: 0, False: 6]
  ------------------
 3004|      0|            return NULL;
 3005|      6|        if (unicode_fromformat_write_str(writer, str, width, precision, flags) == -1) {
  ------------------
  |  Branch (3005:13): [True: 0, False: 6]
  ------------------
 3006|      0|            Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3007|      0|            return NULL;
 3008|      0|        }
 3009|      6|        Py_DECREF(str);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3010|      6|        break;
 3011|      6|    }
 3012|       |
 3013|      2|    case 'R':
  ------------------
  |  Branch (3013:5): [True: 2, False: 152k]
  ------------------
 3014|      2|    {
 3015|      2|        PyObject *obj = va_arg(*vargs, PyObject *);
 3016|      2|        PyObject *repr;
 3017|      2|        assert(obj);
  ------------------
  |  Branch (3017:9): [True: 2, False: 0]
  ------------------
 3018|      2|        repr = PyObject_Repr(obj);
 3019|      2|        if (!repr)
  ------------------
  |  Branch (3019:13): [True: 0, False: 2]
  ------------------
 3020|      0|            return NULL;
 3021|      2|        if (unicode_fromformat_write_str(writer, repr, width, precision, flags) == -1) {
  ------------------
  |  Branch (3021:13): [True: 0, False: 2]
  ------------------
 3022|      0|            Py_DECREF(repr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3023|      0|            return NULL;
 3024|      0|        }
 3025|      2|        Py_DECREF(repr);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3026|      2|        break;
 3027|      2|    }
 3028|       |
 3029|      0|    case 'A':
  ------------------
  |  Branch (3029:5): [True: 0, False: 152k]
  ------------------
 3030|      0|    {
 3031|      0|        PyObject *obj = va_arg(*vargs, PyObject *);
 3032|      0|        PyObject *ascii;
 3033|      0|        assert(obj);
  ------------------
  |  Branch (3033:9): [True: 0, False: 0]
  ------------------
 3034|      0|        ascii = PyObject_ASCII(obj);
 3035|      0|        if (!ascii)
  ------------------
  |  Branch (3035:13): [True: 0, False: 0]
  ------------------
 3036|      0|            return NULL;
 3037|      0|        if (unicode_fromformat_write_str(writer, ascii, width, precision, flags) == -1) {
  ------------------
  |  Branch (3037:13): [True: 0, False: 0]
  ------------------
 3038|      0|            Py_DECREF(ascii);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3039|      0|            return NULL;
 3040|      0|        }
 3041|      0|        Py_DECREF(ascii);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3042|      0|        break;
 3043|      0|    }
 3044|       |
 3045|      0|    case 'T':
  ------------------
  |  Branch (3045:5): [True: 0, False: 152k]
  ------------------
 3046|      0|    {
 3047|      0|        PyObject *obj = va_arg(*vargs, PyObject *);
 3048|      0|        PyTypeObject *type = (PyTypeObject *)Py_NewRef(Py_TYPE(obj));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3049|       |
 3050|      0|        PyObject *type_name;
 3051|      0|        if (flags & F_ALT) {
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (3051:13): [True: 0, False: 0]
  ------------------
 3052|      0|            type_name = _PyType_GetFullyQualifiedName(type, ':');
 3053|      0|        }
 3054|      0|        else {
 3055|      0|            type_name = PyType_GetFullyQualifiedName(type);
 3056|      0|        }
 3057|      0|        Py_DECREF(type);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3058|      0|        if (!type_name) {
  ------------------
  |  Branch (3058:13): [True: 0, False: 0]
  ------------------
 3059|      0|            return NULL;
 3060|      0|        }
 3061|       |
 3062|      0|        if (unicode_fromformat_write_str(writer, type_name,
  ------------------
  |  Branch (3062:13): [True: 0, False: 0]
  ------------------
 3063|      0|                                         width, precision, flags) == -1) {
 3064|      0|            Py_DECREF(type_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3065|      0|            return NULL;
 3066|      0|        }
 3067|      0|        Py_DECREF(type_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3068|      0|        break;
 3069|      0|    }
 3070|       |
 3071|      0|    case 'N':
  ------------------
  |  Branch (3071:5): [True: 0, False: 152k]
  ------------------
 3072|      0|    {
 3073|      0|        PyObject *type_raw = va_arg(*vargs, PyObject *);
 3074|      0|        assert(type_raw != NULL);
  ------------------
  |  Branch (3074:9): [True: 0, False: 0]
  ------------------
 3075|       |
 3076|      0|        if (!PyType_Check(type_raw)) {
  ------------------
  |  |  766|      0|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3076:13): [True: 0, False: 0]
  ------------------
 3077|      0|            PyErr_SetString(PyExc_TypeError, "%N argument must be a type");
 3078|      0|            return NULL;
 3079|      0|        }
 3080|      0|        PyTypeObject *type = (PyTypeObject*)type_raw;
 3081|       |
 3082|      0|        PyObject *type_name;
 3083|      0|        if (flags & F_ALT) {
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (3083:13): [True: 0, False: 0]
  ------------------
 3084|      0|            type_name = _PyType_GetFullyQualifiedName(type, ':');
 3085|      0|        }
 3086|      0|        else {
 3087|      0|            type_name = PyType_GetFullyQualifiedName(type);
 3088|      0|        }
 3089|      0|        if (!type_name) {
  ------------------
  |  Branch (3089:13): [True: 0, False: 0]
  ------------------
 3090|      0|            return NULL;
 3091|      0|        }
 3092|      0|        if (unicode_fromformat_write_str(writer, type_name,
  ------------------
  |  Branch (3092:13): [True: 0, False: 0]
  ------------------
 3093|      0|                                         width, precision, flags) == -1) {
 3094|      0|            Py_DECREF(type_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3095|      0|            return NULL;
 3096|      0|        }
 3097|      0|        Py_DECREF(type_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3098|      0|        break;
 3099|      0|    }
 3100|       |
 3101|      0|    default:
  ------------------
  |  Branch (3101:5): [True: 0, False: 152k]
  ------------------
 3102|      0|    invalid_format:
 3103|      0|        PyErr_Format(PyExc_SystemError, "invalid format string: %s", p);
 3104|      0|        return NULL;
 3105|   152k|    }
 3106|       |
 3107|   152k|    f++;
 3108|   152k|    return f;
 3109|   152k|}
unicodeobject.c:unicode_fromformat_write_utf8:
 2621|  68.5k|{
 2622|       |    /* UTF-8 */
 2623|  68.5k|    Py_ssize_t *pconsumed = NULL;
 2624|  68.5k|    Py_ssize_t length;
 2625|  68.5k|    if (precision == -1) {
  ------------------
  |  Branch (2625:9): [True: 17.4k, False: 51.1k]
  ------------------
 2626|  17.4k|        length = strlen(str);
 2627|  17.4k|    }
 2628|  51.1k|    else {
 2629|  51.1k|        length = 0;
 2630|  1.72M|        while (length < precision && str[length]) {
  ------------------
  |  Branch (2630:16): [True: 1.72M, False: 0]
  |  Branch (2630:38): [True: 1.67M, False: 51.1k]
  ------------------
 2631|  1.67M|            length++;
 2632|  1.67M|        }
 2633|  51.1k|        if (length == precision) {
  ------------------
  |  Branch (2633:13): [True: 0, False: 51.1k]
  ------------------
 2634|       |            /* The input string is not NUL-terminated.  If it ends with an
 2635|       |             * incomplete UTF-8 sequence, truncate the string just before it.
 2636|       |             * Incomplete sequences in the middle and sequences which cannot
 2637|       |             * be valid prefixes are still treated as errors and replaced
 2638|       |             * with \xfffd. */
 2639|      0|            pconsumed = &length;
 2640|      0|        }
 2641|  51.1k|    }
 2642|       |
 2643|  68.5k|    if (width < 0) {
  ------------------
  |  Branch (2643:9): [True: 68.5k, False: 0]
  ------------------
 2644|  68.5k|        return _PyUnicode_DecodeUTF8Writer(writer, str, length,
 2645|  68.5k|                                           _Py_ERROR_REPLACE, "replace", pconsumed);
 2646|  68.5k|    }
 2647|       |
 2648|      0|    PyObject *unicode = PyUnicode_DecodeUTF8Stateful(str, length,
 2649|      0|                                                     "replace", pconsumed);
 2650|      0|    if (unicode == NULL)
  ------------------
  |  Branch (2650:9): [True: 0, False: 0]
  ------------------
 2651|      0|        return -1;
 2652|       |
 2653|      0|    int res = unicode_fromformat_write_str(writer, unicode,
 2654|      0|                                           width, -1, flags);
 2655|      0|    Py_DECREF(unicode);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2656|      0|    return res;
 2657|      0|}
unicodeobject.c:unicode_fromformat_write_str:
 2575|  51.4k|{
 2576|  51.4k|    Py_ssize_t length, fill, arglen;
 2577|  51.4k|    Py_UCS4 maxchar;
 2578|       |
 2579|  51.4k|    length = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|  51.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  51.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2580|  51.4k|    if ((precision == -1 || precision >= length) && width <= length) {
  ------------------
  |  Branch (2580:10): [True: 51.4k, False: 0]
  |  Branch (2580:29): [True: 0, False: 0]
  |  Branch (2580:53): [True: 51.4k, False: 0]
  ------------------
 2581|  51.4k|        return _PyUnicodeWriter_WriteStr(writer, str);
 2582|  51.4k|    }
 2583|       |
 2584|      0|    if (precision != -1)
  ------------------
  |  Branch (2584:9): [True: 0, False: 0]
  ------------------
 2585|      0|        length = Py_MIN(precision, length);
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2586|       |
 2587|      0|    arglen = Py_MAX(length, width);
  ------------------
  |  |  133|      0|       __extension__ \
  |  |  134|      0|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|      0|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|      0|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2588|      0|    if (PyUnicode_MAX_CHAR_VALUE(str) > writer->maxchar)
  ------------------
  |  |  406|      0|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2588:9): [True: 0, False: 0]
  ------------------
 2589|      0|        maxchar = _PyUnicode_FindMaxChar(str, 0, length);
 2590|      0|    else
 2591|      0|        maxchar = writer->maxchar;
 2592|       |
 2593|      0|    if (_PyUnicodeWriter_Prepare(writer, arglen, maxchar) == -1) {
  ------------------
  |  Branch (2593:9): [True: 0, False: 0]
  ------------------
 2594|      0|        return -1;
 2595|      0|    }
 2596|      0|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (2596:5): [True: 0, False: 0]
  ------------------
 2597|       |
 2598|      0|    fill = Py_MAX(width - length, 0);
  ------------------
  |  |  133|      0|       __extension__ \
  |  |  134|      0|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|      0|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|      0|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2599|      0|    if (fill && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2599:9): [True: 0, False: 0]
  |  Branch (2599:17): [True: 0, False: 0]
  ------------------
 2600|      0|        if (PyUnicode_Fill(writer->buffer, writer->pos, fill, ' ') == -1)
  ------------------
  |  Branch (2600:13): [True: 0, False: 0]
  ------------------
 2601|      0|            return -1;
 2602|      0|        writer->pos += fill;
 2603|      0|    }
 2604|       |
 2605|      0|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
 2606|      0|                                  str, 0, length);
 2607|      0|    writer->pos += length;
 2608|       |
 2609|      0|    if (fill && (flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2609:9): [True: 0, False: 0]
  |  Branch (2609:17): [True: 0, False: 0]
  ------------------
 2610|      0|        if (PyUnicode_Fill(writer->buffer, writer->pos, fill, ' ') == -1)
  ------------------
  |  Branch (2610:13): [True: 0, False: 0]
  ------------------
 2611|      0|            return -1;
 2612|      0|        writer->pos += fill;
 2613|      0|    }
 2614|       |
 2615|      0|    return 0;
 2616|      0|}
unicodeobject.c:unicode_get_widechar_size:
 3222|    345|{
 3223|    345|    Py_ssize_t res;
 3224|       |
 3225|    345|    assert(unicode != NULL);
  ------------------
  |  Branch (3225:5): [True: 345, False: 0]
  ------------------
 3226|    345|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (3226:5): [True: 345, False: 0]
  ------------------
 3227|       |
 3228|    345|    res = _PyUnicode_LENGTH(unicode);
  ------------------
  |  |  150|    345|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|    345|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|    345|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    345|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3228:11): [True: 345, False: 0]
  ------------------
 3229|       |#if SIZEOF_WCHAR_T == 2
 3230|       |    if (PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND) {
 3231|       |        const Py_UCS4 *s = PyUnicode_4BYTE_DATA(unicode);
 3232|       |        const Py_UCS4 *end = s + res;
 3233|       |        for (; s < end; ++s) {
 3234|       |            if (*s > 0xFFFF) {
 3235|       |                ++res;
 3236|       |            }
 3237|       |        }
 3238|       |    }
 3239|       |#endif
 3240|      0|    return res;
 3241|    345|}
unicodeobject.c:unicode_copy_as_widechar:
 3245|    345|{
 3246|    345|    assert(unicode != NULL);
  ------------------
  |  Branch (3246:5): [True: 345, False: 0]
  ------------------
 3247|    345|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (3247:5): [True: 345, False: 0]
  ------------------
 3248|       |
 3249|    690|    if (PyUnicode_KIND(unicode) == sizeof(wchar_t)) {
  ------------------
  |  |  259|    345|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    690|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 345, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3249:9): [True: 0, False: 345]
  ------------------
 3250|      0|        memcpy(w, PyUnicode_DATA(unicode), size * sizeof(wchar_t));
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3251|      0|        return;
 3252|      0|    }
 3253|       |
 3254|    690|    if (PyUnicode_KIND(unicode) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  259|    345|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    690|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 345, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3254:9): [True: 345, False: 0]
  ------------------
 3255|    345|        const Py_UCS1 *s = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  292|    345|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    345|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3256|  21.9k|        for (; size--; ++s, ++w) {
  ------------------
  |  Branch (3256:16): [True: 21.6k, False: 345]
  ------------------
 3257|  21.6k|            *w = *s;
 3258|  21.6k|        }
 3259|    345|    }
 3260|      0|    else {
 3261|      0|#if SIZEOF_WCHAR_T == 4
 3262|      0|        assert(PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND);
  ------------------
  |  Branch (3262:9): [True: 0, False: 0]
  |  Branch (3262:9): [True: 0, False: 0]
  ------------------
 3263|      0|        const Py_UCS2 *s = PyUnicode_2BYTE_DATA(unicode);
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3264|      0|        for (; size--; ++s, ++w) {
  ------------------
  |  Branch (3264:16): [True: 0, False: 0]
  ------------------
 3265|      0|            *w = *s;
 3266|      0|        }
 3267|       |#else
 3268|       |        assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND);
 3269|       |        const Py_UCS4 *s = PyUnicode_4BYTE_DATA(unicode);
 3270|       |        for (; size--; ++s, ++w) {
 3271|       |            Py_UCS4 ch = *s;
 3272|       |            if (ch > 0xFFFF) {
 3273|       |                assert(ch <= MAX_UNICODE);
 3274|       |                /* encode surrogate pair in this case */
 3275|       |                *w++ = Py_UNICODE_HIGH_SURROGATE(ch);
 3276|       |                if (!size--)
 3277|       |                    break;
 3278|       |                *w = Py_UNICODE_LOW_SURROGATE(ch);
 3279|       |            }
 3280|       |            else {
 3281|       |                *w = ch;
 3282|       |            }
 3283|       |        }
 3284|       |#endif
 3285|      0|    }
 3286|    345|}
unicodeobject.c:unicode_char:
 1831|   105M|{
 1832|   105M|    if (ch < 256) {
  ------------------
  |  Branch (1832:9): [True: 104M, False: 1.05M]
  ------------------
 1833|   104M|        return get_latin1_char(ch);
 1834|   104M|    }
 1835|       |
 1836|       |    // Raise SystemError if the character is not in range [U+0000; MAX_UNICODE]
 1837|  1.05M|    PyObject *unicode = PyUnicode_New(1, ch);
 1838|  1.05M|    if (unicode == NULL) {
  ------------------
  |  Branch (1838:9): [True: 0, False: 1.05M]
  ------------------
 1839|      0|        return NULL;
 1840|      0|    }
 1841|       |
 1842|  1.05M|    assert(PyUnicode_KIND(unicode) != PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (1842:5): [True: 1.05M, False: 0]
  |  Branch (1842:5): [True: 1.05M, False: 0]
  ------------------
 1843|  2.10M|    if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) {
  ------------------
  |  |  259|  1.05M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  2.10M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.05M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1843:9): [True: 542k, False: 510k]
  ------------------
 1844|   542k|        PyUnicode_2BYTE_DATA(unicode)[0] = (Py_UCS2)ch;
  ------------------
  |  |  293|   542k|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   542k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1845|   542k|    } else {
 1846|   510k|        assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (1846:9): [True: 510k, False: 0]
  |  Branch (1846:9): [True: 510k, False: 0]
  ------------------
 1847|   510k|        PyUnicode_4BYTE_DATA(unicode)[0] = ch;
  ------------------
  |  |  294|   510k|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   510k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1848|   510k|    }
 1849|  1.05M|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (1849:5): [True: 1.05M, False: 0]
  ------------------
 1850|  1.05M|    return unicode;
 1851|  1.05M|}
unicodeobject.c:unicode_check_encoding_errors:
  516|   586k|{
  517|   586k|    if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (517:9): [True: 0, False: 586k]
  |  Branch (517:29): [True: 0, False: 0]
  ------------------
  518|      0|        return 0;
  519|      0|    }
  520|       |
  521|   586k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  522|   586k|#ifndef Py_DEBUG
  523|       |    /* In release mode, only check in development mode (-X dev) */
  524|   586k|    if (!_PyInterpreterState_GetConfig(interp)->dev_mode) {
  ------------------
  |  Branch (524:9): [True: 586k, False: 0]
  ------------------
  525|   586k|        return 0;
  526|   586k|    }
  527|       |#else
  528|       |    /* Always check in debug mode */
  529|       |#endif
  530|       |
  531|       |    /* Avoid calling _PyCodec_Lookup() and PyCodec_LookupError() before the
  532|       |       codec registry is ready: before_PyUnicode_InitEncodings() is called. */
  533|      0|    if (!interp->unicode.fs_codec.encoding) {
  ------------------
  |  Branch (533:9): [True: 0, False: 0]
  ------------------
  534|      0|        return 0;
  535|      0|    }
  536|       |
  537|       |    /* Disable checks during Python finalization. For example, it allows to
  538|       |     * call PyObject_Dump() during finalization for debugging purpose.
  539|       |     */
  540|      0|    if (_PyInterpreterState_GetFinalizing(interp) != NULL) {
  ------------------
  |  Branch (540:9): [True: 0, False: 0]
  ------------------
  541|      0|        return 0;
  542|      0|    }
  543|       |
  544|      0|    if (encoding != NULL
  ------------------
  |  Branch (544:9): [True: 0, False: 0]
  ------------------
  545|       |        // Fast path for the most common built-in encodings. Even if the codec
  546|       |        // is cached, _PyCodec_Lookup() decodes the bytes string from UTF-8 to
  547|       |        // create a temporary Unicode string (the key in the cache).
  548|      0|        && strcmp(encoding, "utf-8") != 0
  ------------------
  |  Branch (548:12): [True: 0, False: 0]
  ------------------
  549|      0|        && strcmp(encoding, "utf8") != 0
  ------------------
  |  Branch (549:12): [True: 0, False: 0]
  ------------------
  550|      0|        && strcmp(encoding, "ascii") != 0)
  ------------------
  |  Branch (550:12): [True: 0, False: 0]
  ------------------
  551|      0|    {
  552|      0|        PyObject *handler = _PyCodec_Lookup(encoding);
  553|      0|        if (handler == NULL) {
  ------------------
  |  Branch (553:13): [True: 0, False: 0]
  ------------------
  554|      0|            return -1;
  555|      0|        }
  556|      0|        Py_DECREF(handler);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  557|      0|    }
  558|       |
  559|      0|    if (errors != NULL
  ------------------
  |  Branch (559:9): [True: 0, False: 0]
  ------------------
  560|       |        // Fast path for the most common built-in error handlers.
  561|      0|        && strcmp(errors, "strict") != 0
  ------------------
  |  Branch (561:12): [True: 0, False: 0]
  ------------------
  562|      0|        && strcmp(errors, "ignore") != 0
  ------------------
  |  Branch (562:12): [True: 0, False: 0]
  ------------------
  563|      0|        && strcmp(errors, "replace") != 0
  ------------------
  |  Branch (563:12): [True: 0, False: 0]
  ------------------
  564|      0|        && strcmp(errors, "surrogateescape") != 0
  ------------------
  |  Branch (564:12): [True: 0, False: 0]
  ------------------
  565|      0|        && strcmp(errors, "surrogatepass") != 0)
  ------------------
  |  Branch (565:12): [True: 0, False: 0]
  ------------------
  566|      0|    {
  567|      0|        PyObject *handler = PyCodec_LookupError(errors);
  568|      0|        if (handler == NULL) {
  ------------------
  |  Branch (568:13): [True: 0, False: 0]
  ------------------
  569|      0|            return -1;
  570|      0|        }
  571|      0|        Py_DECREF(handler);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  572|      0|    }
  573|      0|    return 0;
  574|      0|}
unicodeobject.c:unicode_encode_locale:
 3740|     82|{
 3741|     82|    Py_ssize_t wlen;
 3742|     82|    wchar_t *wstr = PyUnicode_AsWideCharString(unicode, &wlen);
 3743|     82|    if (wstr == NULL) {
  ------------------
  |  Branch (3743:9): [True: 0, False: 82]
  ------------------
 3744|      0|        return NULL;
 3745|      0|    }
 3746|       |
 3747|     82|    if ((size_t)wlen != wcslen(wstr)) {
  ------------------
  |  Branch (3747:9): [True: 0, False: 82]
  ------------------
 3748|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 3749|      0|        PyMem_Free(wstr);
 3750|      0|        return NULL;
 3751|      0|    }
 3752|       |
 3753|     82|    char *str;
 3754|     82|    size_t str_len;
 3755|     82|    size_t error_pos;
 3756|     82|    int res = _Py_EncodeLocale(wstr, &str, &str_len, &error_pos,
 3757|     82|                               current_locale, error_handler);
 3758|     82|    PyMem_Free(wstr);
 3759|       |
 3760|     82|    if (res != 0) {
  ------------------
  |  Branch (3760:9): [True: 0, False: 82]
  ------------------
 3761|      0|        if (res == _Py_CODEC_ENCODE_ERROR) {
  ------------------
  |  |  190|      0|#define _Py_CODEC_ENCODE_ERROR -2
  ------------------
  |  Branch (3761:13): [True: 0, False: 0]
  ------------------
 3762|      0|            PyObject *exc;
 3763|      0|            assert(error_pos <= (size_t)(PY_SSIZE_T_MAX - 1));
  ------------------
  |  Branch (3763:13): [True: 0, False: 0]
  ------------------
 3764|      0|            exc = PyObject_CallFunction(PyExc_UnicodeEncodeError, "sOnns",
 3765|      0|                    "locale", unicode,
 3766|      0|                    (Py_ssize_t)error_pos,
 3767|      0|                    (Py_ssize_t)(error_pos+1),
 3768|      0|                    "encode error");
 3769|      0|            if (exc != NULL) {
  ------------------
  |  Branch (3769:17): [True: 0, False: 0]
  ------------------
 3770|      0|                PyCodec_StrictErrors(exc);
 3771|      0|                Py_DECREF(exc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3772|      0|            }
 3773|      0|        }
 3774|      0|        else if (res == _Py_CODEC_UNSUPPORTED_ERROR_HANDLER) {
  ------------------
  |  |  191|      0|#define _Py_CODEC_UNSUPPORTED_ERROR_HANDLER -3
  ------------------
  |  Branch (3774:18): [True: 0, False: 0]
  ------------------
 3775|      0|            PyErr_SetString(PyExc_ValueError, "unsupported error handler");
 3776|      0|        }
 3777|      0|        else {
 3778|      0|            assert(res == _Py_CODEC_MEMORY_ERROR);
  ------------------
  |  Branch (3778:13): [True: 0, False: 0]
  ------------------
 3779|      0|            PyErr_NoMemory();
 3780|      0|        }
 3781|      0|        return NULL;
 3782|      0|    }
 3783|       |
 3784|     82|    PyObject *bytes = PyBytes_FromStringAndSize(str, str_len);
 3785|     82|    PyMem_RawFree(str);
 3786|     82|    return bytes;
 3787|     82|}
unicodeobject.c:get_error_handler_wide:
  488|    732|{
  489|    732|    if (errors == NULL || wcscmp(errors, L"strict") == 0) {
  ------------------
  |  Branch (489:9): [True: 0, False: 732]
  |  Branch (489:27): [True: 0, False: 732]
  ------------------
  490|      0|        return _Py_ERROR_STRICT;
  491|      0|    }
  492|    732|    if (wcscmp(errors, L"surrogateescape") == 0) {
  ------------------
  |  Branch (492:9): [True: 732, False: 0]
  ------------------
  493|    732|        return _Py_ERROR_SURROGATEESCAPE;
  494|    732|    }
  495|      0|    if (wcscmp(errors, L"replace") == 0) {
  ------------------
  |  Branch (495:9): [True: 0, False: 0]
  ------------------
  496|      0|        return _Py_ERROR_REPLACE;
  497|      0|    }
  498|      0|    if (wcscmp(errors, L"ignore") == 0) {
  ------------------
  |  Branch (498:9): [True: 0, False: 0]
  ------------------
  499|      0|        return _Py_ERROR_IGNORE;
  500|      0|    }
  501|      0|    if (wcscmp(errors, L"backslashreplace") == 0) {
  ------------------
  |  Branch (501:9): [True: 0, False: 0]
  ------------------
  502|      0|        return _Py_ERROR_BACKSLASHREPLACE;
  503|      0|    }
  504|      0|    if (wcscmp(errors, L"surrogatepass") == 0) {
  ------------------
  |  Branch (504:9): [True: 0, False: 0]
  ------------------
  505|      0|        return _Py_ERROR_SURROGATEPASS;
  506|      0|    }
  507|      0|    if (wcscmp(errors, L"xmlcharrefreplace") == 0) {
  ------------------
  |  Branch (507:9): [True: 0, False: 0]
  ------------------
  508|      0|        return _Py_ERROR_XMLCHARREFREPLACE;
  509|      0|    }
  510|      0|    return _Py_ERROR_OTHER;
  511|      0|}
unicodeobject.c:unicode_decode_locale:
 3967|    704|{
 3968|    704|    if (str[len] != '\0' || (size_t)len != strlen(str))  {
  ------------------
  |  Branch (3968:9): [True: 0, False: 704]
  |  Branch (3968:29): [True: 0, False: 704]
  ------------------
 3969|      0|        PyErr_SetString(PyExc_ValueError, "embedded null byte");
 3970|      0|        return NULL;
 3971|      0|    }
 3972|       |
 3973|    704|    wchar_t *wstr;
 3974|    704|    size_t wlen;
 3975|    704|    int res = _Py_DecodeLocale(str, &wstr, &wlen, current_locale, errors);
 3976|    704|    if (res != 0) {
  ------------------
  |  Branch (3976:9): [True: 0, False: 704]
  ------------------
 3977|      0|        if (res == _Py_CODEC_DECODE_ERROR) {
  ------------------
  |  |  189|      0|#define _Py_CODEC_DECODE_ERROR -2
  ------------------
  |  Branch (3977:13): [True: 0, False: 0]
  ------------------
 3978|      0|            PyObject *exc;
 3979|      0|            assert(wlen <= (size_t)(PY_SSIZE_T_MAX - 1));
  ------------------
  |  Branch (3979:13): [True: 0, False: 0]
  ------------------
 3980|      0|            exc = PyObject_CallFunction(PyExc_UnicodeDecodeError, "sy#nns",
 3981|      0|                                        "locale", str, len,
 3982|      0|                                        (Py_ssize_t)wlen,
 3983|      0|                                        (Py_ssize_t)(wlen + 1),
 3984|      0|                                        "decode error");
 3985|      0|            if (exc != NULL) {
  ------------------
  |  Branch (3985:17): [True: 0, False: 0]
  ------------------
 3986|      0|                PyCodec_StrictErrors(exc);
 3987|      0|                Py_DECREF(exc);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3988|      0|            }
 3989|      0|        }
 3990|      0|        else if (res == _Py_CODEC_UNSUPPORTED_ERROR_HANDLER) {
  ------------------
  |  |  191|      0|#define _Py_CODEC_UNSUPPORTED_ERROR_HANDLER -3
  ------------------
  |  Branch (3990:18): [True: 0, False: 0]
  ------------------
 3991|      0|            PyErr_SetString(PyExc_ValueError, "unsupported error handler");
 3992|      0|        }
 3993|      0|        else {
 3994|      0|            assert(res == _Py_CODEC_MEMORY_ERROR);
  ------------------
  |  Branch (3994:13): [True: 0, False: 0]
  ------------------
 3995|      0|            PyErr_NoMemory();
 3996|      0|        }
 3997|      0|        return NULL;
 3998|      0|    }
 3999|       |
 4000|    704|    PyObject *unicode = PyUnicode_FromWideChar(wstr, wlen);
 4001|    704|    PyMem_RawFree(wstr);
 4002|    704|    return unicode;
 4003|    704|}
unicodeobject.c:findchar:
 1008|  4.29k|{
 1009|  4.29k|    switch (kind) {
 1010|  4.29k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1010:5): [True: 4.29k, False: 0]
  ------------------
 1011|  4.29k|        if ((Py_UCS1) ch != ch)
  ------------------
  |  Branch (1011:13): [True: 0, False: 4.29k]
  ------------------
 1012|      0|            return -1;
 1013|  4.29k|        if (direction > 0)
  ------------------
  |  Branch (1013:13): [True: 4.05k, False: 248]
  ------------------
 1014|  4.05k|            return ucs1lib_find_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1015|    248|        else
 1016|    248|            return ucs1lib_rfind_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1017|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1017:5): [True: 0, False: 4.29k]
  ------------------
 1018|      0|        if ((Py_UCS2) ch != ch)
  ------------------
  |  Branch (1018:13): [True: 0, False: 0]
  ------------------
 1019|      0|            return -1;
 1020|      0|        if (direction > 0)
  ------------------
  |  Branch (1020:13): [True: 0, False: 0]
  ------------------
 1021|      0|            return ucs2lib_find_char((const Py_UCS2 *) s, size, (Py_UCS2) ch);
 1022|      0|        else
 1023|      0|            return ucs2lib_rfind_char((const Py_UCS2 *) s, size, (Py_UCS2) ch);
 1024|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (1024:5): [True: 0, False: 4.29k]
  ------------------
 1025|      0|        if (direction > 0)
  ------------------
  |  Branch (1025:13): [True: 0, False: 0]
  ------------------
 1026|      0|            return ucs4lib_find_char((const Py_UCS4 *) s, size, ch);
 1027|      0|        else
 1028|      0|            return ucs4lib_rfind_char((const Py_UCS4 *) s, size, ch);
 1029|      0|    default:
  ------------------
  |  Branch (1029:5): [True: 0, False: 4.29k]
  ------------------
 1030|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1031|  4.29k|    }
 1032|  4.29k|}
unicodeobject.c:unicode_ensure_utf8:
 4154|   204k|{
 4155|   204k|    int err = 0;
 4156|   204k|    if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4156:9): [True: 0, False: 204k]
  ------------------
 4157|      0|        Py_BEGIN_CRITICAL_SECTION(unicode);
  ------------------
  |  |   51|      0|    {
  ------------------
 4158|      0|        if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4158:13): [True: 0, False: 0]
  ------------------
 4159|      0|            err = unicode_fill_utf8(unicode);
 4160|      0|        }
 4161|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 4162|      0|    }
 4163|   204k|    return err;
 4164|   204k|}
unicodeobject.c:PyUnicode_UTF8_LENGTH:
  134|   205k|{
  135|   205k|    assert(_PyUnicode_CHECK(op));
  ------------------
  |  Branch (135:5): [True: 205k, False: 0]
  ------------------
  136|   205k|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  242|   205k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   205k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   205k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:40): [True: 205k, False: 0]
  |  |  ------------------
  ------------------
  137|   205k|         return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   205k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   205k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   205k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (137:17): [True: 205k, False: 0]
  ------------------
  138|   205k|    }
  139|      0|    else {
  140|      0|         return _PyCompactUnicodeObject_CAST(op)->utf8_length;
  ------------------
  |  |  189|      0|    (assert(!(_PyASCIIObject_CAST(op)->state.ascii \
  |  |  190|      0|              && _PyASCIIObject_CAST(op)->state.compact)), \
  |  |  191|      0|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (140:17): [True: 0, False: 0]
  |  Branch (140:17): [True: 0, False: 0]
  |  Branch (140:17): [True: 0, False: 0]
  |  Branch (140:17): [True: 0, False: 0]
  ------------------
  141|      0|    }
  142|   205k|}
unicodeobject.c:PyUnicode_UTF8:
  118|   410k|{
  119|   410k|    assert(_PyUnicode_CHECK(op));
  ------------------
  |  Branch (119:5): [True: 410k, False: 0]
  ------------------
  120|   410k|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  242|   410k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   410k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   410k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:40): [True: 410k, False: 0]
  |  |  ------------------
  ------------------
  121|   410k|        return ((char*)(_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |  186|   410k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   410k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   410k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (121:25): [True: 410k, False: 0]
  ------------------
  122|   410k|    }
  123|      0|    else {
  124|      0|         return _PyUnicode_UTF8(op);
  125|      0|    }
  126|   410k|}
unicodeobject.c:unicode_decode_call_errorhandler_writer:
 4441|  4.82k|{
 4442|  4.82k|    static const char *argparse = "Un;decoding error handler must return (str, int) tuple";
 4443|       |
 4444|  4.82k|    PyObject *restuple = NULL;
 4445|  4.82k|    PyObject *repunicode = NULL;
 4446|  4.82k|    Py_ssize_t insize;
 4447|  4.82k|    Py_ssize_t newpos;
 4448|  4.82k|    Py_ssize_t replen;
 4449|  4.82k|    Py_ssize_t remain;
 4450|  4.82k|    PyObject *inputobj = NULL;
 4451|  4.82k|    int need_to_grow = 0;
 4452|  4.82k|    const char *new_inptr;
 4453|       |
 4454|  4.82k|    if (*errorHandler == NULL) {
  ------------------
  |  Branch (4454:9): [True: 252, False: 4.57k]
  ------------------
 4455|    252|        *errorHandler = PyCodec_LookupError(errors);
 4456|    252|        if (*errorHandler == NULL)
  ------------------
  |  Branch (4456:13): [True: 0, False: 252]
  ------------------
 4457|      0|            goto onError;
 4458|    252|    }
 4459|       |
 4460|  4.82k|    make_decode_exception(exceptionObject,
 4461|  4.82k|        encoding,
 4462|  4.82k|        *input, *inend - *input,
 4463|  4.82k|        *startinpos, *endinpos,
 4464|  4.82k|        reason);
 4465|  4.82k|    if (*exceptionObject == NULL)
  ------------------
  |  Branch (4465:9): [True: 0, False: 4.82k]
  ------------------
 4466|      0|        goto onError;
 4467|       |
 4468|  4.82k|    restuple = PyObject_CallOneArg(*errorHandler, *exceptionObject);
 4469|  4.82k|    if (restuple == NULL)
  ------------------
  |  Branch (4469:9): [True: 146, False: 4.68k]
  ------------------
 4470|    146|        goto onError;
 4471|  4.68k|    if (!PyTuple_Check(restuple)) {
  ------------------
  |  |   27|  4.68k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.68k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4471:9): [True: 0, False: 4.68k]
  ------------------
 4472|      0|        PyErr_SetString(PyExc_TypeError, &argparse[3]);
 4473|      0|        goto onError;
 4474|      0|    }
 4475|  4.68k|    if (!PyArg_ParseTuple(restuple, argparse, &repunicode, &newpos))
  ------------------
  |  Branch (4475:9): [True: 0, False: 4.68k]
  ------------------
 4476|      0|        goto onError;
 4477|       |
 4478|       |    /* Copy back the bytes variables, which might have been modified by the
 4479|       |       callback */
 4480|  4.68k|    inputobj = PyUnicodeDecodeError_GetObject(*exceptionObject);
 4481|  4.68k|    if (!inputobj)
  ------------------
  |  Branch (4481:9): [True: 0, False: 4.68k]
  ------------------
 4482|      0|        goto onError;
 4483|  4.68k|    remain = *inend - *input - *endinpos;
 4484|  4.68k|    *input = PyBytes_AS_STRING(inputobj);
  ------------------
  |  |   27|  4.68k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4485|  4.68k|    insize = PyBytes_GET_SIZE(inputobj);
  ------------------
  |  |   33|  4.68k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  4.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4486|  4.68k|    *inend = *input + insize;
 4487|       |    /* we can DECREF safely, as the exception has another reference,
 4488|       |       so the object won't go away. */
 4489|  4.68k|    Py_DECREF(inputobj);
  ------------------
  |  |  430|  4.68k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4490|       |
 4491|  4.68k|    if (newpos<0)
  ------------------
  |  Branch (4491:9): [True: 0, False: 4.68k]
  ------------------
 4492|      0|        newpos = insize+newpos;
 4493|  4.68k|    if (newpos<0 || newpos>insize) {
  ------------------
  |  Branch (4493:9): [True: 0, False: 4.68k]
  |  Branch (4493:21): [True: 0, False: 4.68k]
  ------------------
 4494|      0|        PyErr_Format(PyExc_IndexError, "position %zd from error handler out of bounds", newpos);
 4495|      0|        goto onError;
 4496|      0|    }
 4497|       |
 4498|  4.68k|    replen = PyUnicode_GET_LENGTH(repunicode);
  ------------------
  |  |  300|  4.68k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4499|  4.68k|    if (replen > 1) {
  ------------------
  |  Branch (4499:9): [True: 0, False: 4.68k]
  ------------------
 4500|      0|        writer->min_length += replen - 1;
 4501|      0|        need_to_grow = 1;
 4502|      0|    }
 4503|  4.68k|    new_inptr = *input + newpos;
 4504|  4.68k|    if (*inend - new_inptr > remain) {
  ------------------
  |  Branch (4504:9): [True: 0, False: 4.68k]
  ------------------
 4505|       |        /* We don't know the decoding algorithm here so we make the worst
 4506|       |           assumption that one byte decodes to one unicode character.
 4507|       |           If unfortunately one byte could decode to more unicode characters,
 4508|       |           the decoder may write out-of-bound then.  Is it possible for the
 4509|       |           algorithms using this function? */
 4510|      0|        writer->min_length += *inend - new_inptr - remain;
 4511|      0|        need_to_grow = 1;
 4512|      0|    }
 4513|  4.68k|    if (need_to_grow) {
  ------------------
  |  Branch (4513:9): [True: 0, False: 4.68k]
  ------------------
 4514|      0|        writer->overallocate = 1;
 4515|      0|        if (_PyUnicodeWriter_Prepare(writer, writer->min_length - writer->pos,
  ------------------
  |  Branch (4515:13): [True: 0, False: 0]
  ------------------
 4516|      0|                            PyUnicode_MAX_CHAR_VALUE(repunicode)) == -1)
  ------------------
  |  |  406|      0|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4517|      0|            goto onError;
 4518|      0|    }
 4519|  4.68k|    if (_PyUnicodeWriter_WriteStr(writer, repunicode) == -1)
  ------------------
  |  Branch (4519:9): [True: 0, False: 4.68k]
  ------------------
 4520|      0|        goto onError;
 4521|       |
 4522|  4.68k|    *endinpos = newpos;
 4523|  4.68k|    *inptr = new_inptr;
 4524|       |
 4525|       |    /* we made it! */
 4526|  4.68k|    Py_DECREF(restuple);
  ------------------
  |  |  430|  4.68k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4527|  4.68k|    return 0;
 4528|       |
 4529|    146|  onError:
 4530|    146|    Py_XDECREF(restuple);
  ------------------
  |  |  621|    146|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    146|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4531|    146|    return -1;
 4532|  4.68k|}
unicodeobject.c:make_decode_exception:
 4288|  4.82k|{
 4289|  4.82k|    if (*exceptionObject == NULL) {
  ------------------
  |  Branch (4289:9): [True: 252, False: 4.57k]
  ------------------
 4290|    252|        *exceptionObject = PyUnicodeDecodeError_Create(
 4291|    252|            encoding, input, length, startpos, endpos, reason);
 4292|    252|    }
 4293|  4.57k|    else {
 4294|  4.57k|        if (PyUnicodeDecodeError_SetStart(*exceptionObject, startpos))
  ------------------
  |  Branch (4294:13): [True: 0, False: 4.57k]
  ------------------
 4295|      0|            goto onError;
 4296|  4.57k|        if (PyUnicodeDecodeError_SetEnd(*exceptionObject, endpos))
  ------------------
  |  Branch (4296:13): [True: 0, False: 4.57k]
  ------------------
 4297|      0|            goto onError;
 4298|  4.57k|        if (PyUnicodeDecodeError_SetReason(*exceptionObject, reason))
  ------------------
  |  Branch (4298:13): [True: 0, False: 4.57k]
  ------------------
 4299|      0|            goto onError;
 4300|  4.57k|    }
 4301|  4.82k|    return;
 4302|       |
 4303|  4.82k|onError:
 4304|       |    Py_CLEAR(*exceptionObject);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4305|      0|}
unicodeobject.c:unicode_decode_utf8:
 5322|  60.0M|{
 5323|  60.0M|    if (size == 0) {
  ------------------
  |  Branch (5323:9): [True: 472k, False: 59.5M]
  ------------------
 5324|   472k|        if (consumed) {
  ------------------
  |  Branch (5324:13): [True: 0, False: 472k]
  ------------------
 5325|      0|            *consumed = 0;
 5326|      0|        }
 5327|   472k|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|   472k|    do {                             \
  |  |  366|   472k|        return _PyUnicode_GetEmpty();\
  |  |  367|   472k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5328|   472k|    }
 5329|       |
 5330|       |    /* ASCII is equivalent to the first 128 ordinals in Unicode. */
 5331|  59.5M|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (5331:9): [True: 51.1M, False: 8.42M]
  |  Branch (5331:22): [True: 51.1M, False: 0]
  ------------------
 5332|  51.1M|        if (consumed) {
  ------------------
  |  Branch (5332:13): [True: 0, False: 51.1M]
  ------------------
 5333|      0|            *consumed = 1;
 5334|      0|        }
 5335|  51.1M|        return get_latin1_char((unsigned char)s[0]);
 5336|  51.1M|    }
 5337|       |
 5338|       |    // I don't know this check is necessary or not. But there is a test
 5339|       |    // case that requires size=PY_SSIZE_T_MAX cause MemoryError.
 5340|  8.42M|    if (PY_SSIZE_T_MAX - sizeof(PyCompactUnicodeObject) < (size_t)size) {
  ------------------
  |  |  137|  8.42M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5340:9): [True: 0, False: 8.42M]
  ------------------
 5341|      0|        PyErr_NoMemory();
 5342|      0|        return NULL;
 5343|      0|    }
 5344|       |
 5345|  8.42M|    const char *starts = s;
 5346|  8.42M|    const char *end = s + size;
 5347|       |
 5348|  8.42M|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)starts, (const unsigned char*)end);
 5349|  8.42M|    if (pos == size) {  // fast path: ASCII string.
  ------------------
  |  Branch (5349:9): [True: 7.47M, False: 956k]
  ------------------
 5350|  7.47M|        PyObject *u = PyUnicode_New(size, 127);
 5351|  7.47M|        if (u == NULL) {
  ------------------
  |  Branch (5351:13): [True: 0, False: 7.47M]
  ------------------
 5352|      0|            return NULL;
 5353|      0|        }
 5354|  7.47M|        memcpy(PyUnicode_1BYTE_DATA(u), s, size);
  ------------------
  |  |  292|  7.47M|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  7.47M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5355|  7.47M|        if (consumed) {
  ------------------
  |  Branch (5355:13): [True: 0, False: 7.47M]
  ------------------
 5356|      0|            *consumed = size;
 5357|      0|        }
 5358|  7.47M|        return u;
 5359|  7.47M|    }
 5360|       |
 5361|   956k|    int maxchr = 127;
 5362|   956k|    Py_ssize_t maxsize = size;
 5363|       |
 5364|   956k|    unsigned char ch = (unsigned char)(s[pos]);
 5365|       |    // error handler other than strict may remove/replace the invalid byte.
 5366|       |    // consumed != NULL allows 1~3 bytes remainings.
 5367|       |    // 0x80 <= ch < 0xc2 is invalid start byte that cause UnicodeDecodeError.
 5368|       |    // otherwise: check the input and decide the maxchr and maxsize to reduce
 5369|       |    // reallocation and copy.
 5370|   956k|    if (error_handler == _Py_ERROR_STRICT && !consumed && ch >= 0xc2) {
  ------------------
  |  Branch (5370:9): [True: 614, False: 956k]
  |  Branch (5370:46): [True: 614, False: 0]
  |  Branch (5370:59): [True: 614, False: 0]
  ------------------
 5371|       |        // we only calculate the number of codepoints and don't determine the exact maxchr.
 5372|       |        // This is because writing fast and portable SIMD code to find maxchr is difficult.
 5373|       |        // If reallocation occurs for a larger maxchar, knowing the exact number of codepoints
 5374|       |        // means that it is no longer necessary to allocate several times the required amount
 5375|       |        // of memory.
 5376|    614|        maxsize = utf8_count_codepoints((const unsigned char *)s, (const unsigned char *)end);
 5377|    614|        if (ch < 0xc4) { // latin1
  ------------------
  |  Branch (5377:13): [True: 197, False: 417]
  ------------------
 5378|    197|            maxchr = 0xff;
 5379|    197|        }
 5380|    417|        else if (ch < 0xf0) { // ucs2
  ------------------
  |  Branch (5380:18): [True: 407, False: 10]
  ------------------
 5381|    407|            maxchr = 0xffff;
 5382|    407|        }
 5383|     10|        else { // ucs4
 5384|     10|            maxchr = 0x10ffff;
 5385|     10|        }
 5386|    614|    }
 5387|   956k|    PyObject *u = PyUnicode_New(maxsize, maxchr);
 5388|   956k|    if (!u) {
  ------------------
  |  Branch (5388:9): [True: 0, False: 956k]
  ------------------
 5389|      0|        return NULL;
 5390|      0|    }
 5391|       |
 5392|       |    // Use _PyUnicodeWriter after fast path is failed.
 5393|   956k|    _PyUnicodeWriter writer;
 5394|   956k|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 5395|   956k|    if (maxchr <= 255) {
  ------------------
  |  Branch (5395:9): [True: 956k, False: 417]
  ------------------
 5396|   956k|        memcpy(PyUnicode_1BYTE_DATA(u), s, pos);
  ------------------
  |  |  292|   956k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   956k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5397|   956k|        s += pos;
 5398|   956k|        writer.pos = pos;
 5399|   956k|    }
 5400|       |
 5401|   956k|    if (unicode_decode_utf8_impl(&writer, starts, s, end,
  ------------------
  |  Branch (5401:9): [True: 146, False: 956k]
  ------------------
 5402|   956k|                                 error_handler, errors,
 5403|   956k|                                 consumed) < 0) {
 5404|    146|        _PyUnicodeWriter_Dealloc(&writer);
 5405|    146|        return NULL;
 5406|    146|    }
 5407|   956k|    return _PyUnicodeWriter_Finish(&writer);
 5408|   956k|}
unicodeobject.c:find_first_nonascii:
 5039|  8.49M|{
 5040|       |    // The search is done in `size_t` chunks.
 5041|       |    // The start and end might not be aligned at `size_t` boundaries,
 5042|       |    // so they're handled specially.
 5043|       |
 5044|  8.49M|    const unsigned char *p = start;
 5045|       |
 5046|  8.49M|    if (end - start >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  8.49M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5046:9): [True: 1.72M, False: 6.77M]
  ------------------
 5047|       |        // Avoid unaligned read.
 5048|  1.72M|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5049|  1.72M|        size_t u;
 5050|  1.72M|        memcpy(&u, p, sizeof(size_t));
 5051|  1.72M|        u &= ASCII_CHAR_MASK;
  ------------------
  |  | 4945|  1.72M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5052|  1.72M|        if (u) {
  ------------------
  |  Branch (5052:13): [True: 488k, False: 1.23M]
  ------------------
 5053|   488k|            return (ctz(u) - 7) / 8;
 5054|   488k|        }
 5055|  1.23M|        p = _Py_ALIGN_DOWN(p + SIZEOF_SIZE_T, SIZEOF_SIZE_T);
  ------------------
  |  |  252|  1.23M|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  ------------------
 5056|       |#else /* PY_LITTLE_ENDIAN && HAVE_CTZ */
 5057|       |        const unsigned char *p2 = _Py_ALIGN_UP(p, SIZEOF_SIZE_T);
 5058|       |        while (p < p2) {
 5059|       |            if (*p & 0x80) {
 5060|       |                return p - start;
 5061|       |            }
 5062|       |            p++;
 5063|       |        }
 5064|       |#endif
 5065|       |
 5066|       |        // Long ASCII runs: test eight words per branch.
 5067|  2.40M|        for (; end - p >= 8 * SIZEOF_SIZE_T; p += 8 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  2.40M|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; end - p >= 8 * SIZEOF_SIZE_T; p += 8 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  1.17M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5067:16): [True: 1.20M, False: 1.20M]
  ------------------
 5068|  1.20M|            const size_t *w = (const size_t *)p;
 5069|  1.20M|            if ((w[0] | w[1] | w[2] | w[3] |
  ------------------
  |  Branch (5069:17): [True: 33.1k, False: 1.17M]
  ------------------
 5070|  1.20M|                 w[4] | w[5] | w[6] | w[7]) & ASCII_CHAR_MASK)
  ------------------
  |  | 4945|  1.20M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5071|  33.1k|            {
 5072|  33.1k|                break;
 5073|  33.1k|            }
 5074|  1.20M|        }
 5075|       |
 5076|  1.23M|        const unsigned char *e = end - SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  1.23M|#define SIZEOF_SIZE_T 8
  ------------------
 5077|  2.97M|        while (p <= e) {
  ------------------
  |  Branch (5077:16): [True: 1.81M, False: 1.15M]
  ------------------
 5078|  1.81M|            size_t u = (*(const size_t *)p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4945|  1.81M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5079|  1.81M|            if (u) {
  ------------------
  |  Branch (5079:17): [True: 80.5k, False: 1.73M]
  ------------------
 5080|  80.5k|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5081|  80.5k|                return p - start + (ctz(u) - 7) / 8;
 5082|       |#else
 5083|       |                // big endian and minor compilers are difficult to test.
 5084|       |                // fallback to per byte check.
 5085|       |                break;
 5086|       |#endif
 5087|  80.5k|            }
 5088|  1.73M|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  1.73M|#define SIZEOF_SIZE_T 8
  ------------------
 5089|  1.73M|        }
 5090|  1.23M|    }
 5091|  7.92M|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5092|  8.49M|    assert((end - p) < SIZEOF_SIZE_T);
  ------------------
  |  Branch (5092:5): [True: 7.92M, False: 0]
  ------------------
 5093|       |    // we can not use *(const size_t*)p to avoid buffer overrun.
 5094|  7.92M|    size_t u = load_unaligned(p, end - p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4945|  7.92M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5095|  7.92M|    if (u) {
  ------------------
  |  Branch (5095:9): [True: 387k, False: 7.54M]
  ------------------
 5096|   387k|        return p - start + (ctz(u) - 7) / 8;
 5097|   387k|    }
 5098|  7.54M|    return end - start;
 5099|       |#else
 5100|       |    while (p < end) {
 5101|       |        if (*p & 0x80) {
 5102|       |            break;
 5103|       |        }
 5104|       |        p++;
 5105|       |    }
 5106|       |    return p - start;
 5107|       |#endif
 5108|  7.92M|}
unicodeobject.c:ctz:
 4961|   956k|{
 4962|   956k|    return __builtin_ctzll((unsigned long long)v);
 4963|   956k|}
unicodeobject.c:load_unaligned:
 4985|  7.92M|{
 4986|  7.92M|    union {
 4987|  7.92M|        size_t s;
 4988|  7.92M|        unsigned char b[SIZEOF_SIZE_T];
 4989|  7.92M|    } u;
 4990|  7.92M|    u.s = 0;
 4991|       |    // This switch statement assumes little endian because:
 4992|       |    // * union is faster than bitwise or and shift.
 4993|       |    // * big endian machine is rare and hard to maintain.
 4994|  7.92M|    switch (size) {
 4995|      0|    default:
  ------------------
  |  Branch (4995:5): [True: 0, False: 7.92M]
  ------------------
 4996|      0|#if SIZEOF_SIZE_T == 8
 4997|      0|    case 8:
  ------------------
  |  Branch (4997:5): [True: 0, False: 7.92M]
  ------------------
 4998|      0|        u.b[7] = p[7];
 4999|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5000|  2.18M|    case 7:
  ------------------
  |  Branch (5000:5): [True: 2.18M, False: 5.74M]
  ------------------
 5001|  2.18M|        u.b[6] = p[6];
 5002|  2.18M|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|  2.18M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5003|  4.06M|    case 6:
  ------------------
  |  Branch (5003:5): [True: 1.87M, False: 6.05M]
  ------------------
 5004|  4.06M|        u.b[5] = p[5];
 5005|  4.06M|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|  4.06M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5006|  5.21M|    case 5:
  ------------------
  |  Branch (5006:5): [True: 1.15M, False: 6.77M]
  ------------------
 5007|  5.21M|        u.b[4] = p[4];
 5008|  5.21M|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|  5.21M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5009|  5.21M|#endif
 5010|  5.67M|    case 4:
  ------------------
  |  Branch (5010:5): [True: 463k, False: 7.46M]
  ------------------
 5011|  5.67M|        u.b[3] = p[3];
 5012|  5.67M|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|  5.67M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5013|  6.96M|    case 3:
  ------------------
  |  Branch (5013:5): [True: 1.28M, False: 6.63M]
  ------------------
 5014|  6.96M|        u.b[2] = p[2];
 5015|  6.96M|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|  6.96M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5016|  7.65M|    case 2:
  ------------------
  |  Branch (5016:5): [True: 690k, False: 7.23M]
  ------------------
 5017|  7.65M|        u.b[1] = p[1];
 5018|  7.65M|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|  7.65M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5019|  7.88M|    case 1:
  ------------------
  |  Branch (5019:5): [True: 226k, False: 7.70M]
  ------------------
 5020|  7.88M|        u.b[0] = p[0];
 5021|  7.88M|        break;
 5022|  47.9k|    case 0:
  ------------------
  |  Branch (5022:5): [True: 47.9k, False: 7.88M]
  ------------------
 5023|  47.9k|        break;
 5024|  7.92M|    }
 5025|  7.92M|    return u.s;
 5026|  7.92M|}
unicodeobject.c:utf8_count_codepoints:
 5127|    614|{
 5128|    614|    Py_ssize_t len = 0;
 5129|       |
 5130|    614|    if (end - s >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|    614|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5130:9): [True: 0, False: 614]
  ------------------
 5131|      0|        while (!_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|      0|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (5131:16): [True: 0, False: 0]
  ------------------
 5132|      0|            len += scalar_utf8_start_char(*s++);
 5133|      0|        }
 5134|       |
 5135|      0|        while (s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1813|      0|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5135:16): [True: 0, False: 0]
  ------------------
 5136|      0|            const unsigned char *e = end;
 5137|      0|            if (e - s > SIZEOF_SIZE_T * 255) {
  ------------------
  |  | 1813|      0|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5137:17): [True: 0, False: 0]
  ------------------
 5138|      0|                e = s + SIZEOF_SIZE_T * 255;
  ------------------
  |  | 1813|      0|#define SIZEOF_SIZE_T 8
  ------------------
 5139|      0|            }
 5140|      0|            Py_ssize_t vstart = 0;
 5141|      0|            while (s + SIZEOF_SIZE_T <= e) {
  ------------------
  |  | 1813|      0|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5141:20): [True: 0, False: 0]
  ------------------
 5142|      0|                size_t v = *(size_t*)s;
 5143|      0|                size_t vs = vector_utf8_start_chars(v);
 5144|      0|                vstart += vs;
 5145|      0|                s += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|      0|#define SIZEOF_SIZE_T 8
  ------------------
 5146|      0|            }
 5147|      0|            vstart = (vstart & VECTOR_00FF) + ((vstart >> 8) & VECTOR_00FF);
  ------------------
  |  | 4948|      0|# define VECTOR_00FF     0x00ff00ff00ff00ffULL
  ------------------
                          vstart = (vstart & VECTOR_00FF) + ((vstart >> 8) & VECTOR_00FF);
  ------------------
  |  | 4948|      0|# define VECTOR_00FF     0x00ff00ff00ff00ffULL
  ------------------
 5148|      0|            vstart += vstart >> 16;
 5149|      0|#if SIZEOF_SIZE_T == 8
 5150|      0|            vstart += vstart >> 32;
 5151|      0|#endif
 5152|      0|            len += vstart & 0x7ff;
 5153|      0|        }
 5154|      0|    }
 5155|  2.06k|    while (s < end) {
  ------------------
  |  Branch (5155:12): [True: 1.44k, False: 614]
  ------------------
 5156|  1.44k|        len += scalar_utf8_start_char(*s++);
 5157|  1.44k|    }
 5158|    614|    return len;
 5159|    614|}
unicodeobject.c:scalar_utf8_start_char:
 5112|  1.44k|{
 5113|       |    // 0xxxxxxx or 11xxxxxx are first byte.
 5114|  1.44k|    return (~ch >> 7 | ch >> 6) & 1;
 5115|  1.44k|}
unicodeobject.c:ascii_decode:
 5163|  68.6k|{
 5164|  68.6k|#if SIZEOF_SIZE_T <= SIZEOF_VOID_P
 5165|  68.6k|    if (_Py_IS_ALIGNED(start, ALIGNOF_SIZE_T)
  ------------------
  |  |  257|   137k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 51.9k, False: 16.6k]
  |  |  ------------------
  ------------------
 5166|  51.9k|        && _Py_IS_ALIGNED(dest, ALIGNOF_SIZE_T))
  ------------------
  |  |  257|  51.9k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 690, False: 51.2k]
  |  |  ------------------
  ------------------
 5167|    690|    {
 5168|       |        /* Fast path, see in STRINGLIB(utf8_decode) for
 5169|       |           an explanation. */
 5170|    690|        const char *p = start;
 5171|    690|        Py_UCS1 *q = dest;
 5172|  2.23k|        while (p + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1813|  2.23k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5172:16): [True: 1.72k, False: 511]
  ------------------
 5173|  1.72k|            size_t value = *(const size_t *) p;
 5174|  1.72k|            if (value & ASCII_CHAR_MASK)
  ------------------
  |  | 4945|  1.72k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (5174:17): [True: 179, False: 1.54k]
  ------------------
 5175|    179|                break;
 5176|  1.54k|            *((size_t *)q) = value;
 5177|  1.54k|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  1.54k|#define SIZEOF_SIZE_T 8
  ------------------
 5178|  1.54k|            q += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  1.54k|#define SIZEOF_SIZE_T 8
  ------------------
 5179|  1.54k|        }
 5180|  3.54k|        while (p < end) {
  ------------------
  |  Branch (5180:16): [True: 3.13k, False: 413]
  ------------------
 5181|  3.13k|            if ((unsigned char)*p & 0x80)
  ------------------
  |  Branch (5181:17): [True: 277, False: 2.85k]
  ------------------
 5182|    277|                break;
 5183|  2.85k|            *q++ = *p++;
 5184|  2.85k|        }
 5185|    690|        return p - start;
 5186|    690|    }
 5187|  67.9k|#endif
 5188|  67.9k|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)start,
 5189|  67.9k|                                         (const unsigned char*)end);
 5190|  67.9k|    memcpy(dest, start, pos);
 5191|  67.9k|    return pos;
 5192|  68.6k|}
unicodeobject.c:unicode_decode_utf8_impl:
 5200|   957k|{
 5201|   957k|    Py_ssize_t startinpos, endinpos;
 5202|   957k|    const char *errmsg = "";
 5203|   957k|    PyObject *error_handler_obj = NULL;
 5204|   957k|    PyObject *exc = NULL;
 5205|       |
 5206|  1.93M|    while (s < end) {
  ------------------
  |  Branch (5206:12): [True: 1.65M, False: 282k]
  ------------------
 5207|  1.65M|        Py_UCS4 ch;
 5208|  1.65M|        int kind = writer->kind;
 5209|       |
 5210|  1.65M|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5210:13): [True: 1.00M, False: 645k]
  ------------------
 5211|  1.00M|            if (PyUnicode_IS_ASCII(writer->buffer))
  ------------------
  |  |  228|  1.00M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 956k, False: 50.5k]
  |  |  ------------------
  ------------------
 5212|   956k|                ch = asciilib_utf8_decode(&s, end, writer->data, &writer->pos);
 5213|  50.5k|            else
 5214|  50.5k|                ch = ucs1lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5215|  1.00M|        } else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (5215:20): [True: 277k, False: 368k]
  ------------------
 5216|   277k|            ch = ucs2lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5217|   368k|        } else {
 5218|   368k|            assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (5218:13): [True: 368k, False: 0]
  ------------------
 5219|   368k|            ch = ucs4lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5220|   368k|        }
 5221|       |
 5222|  1.65M|        switch (ch) {
 5223|   674k|        case 0:
  ------------------
  |  Branch (5223:9): [True: 674k, False: 977k]
  ------------------
 5224|   674k|            if (s == end || consumed)
  ------------------
  |  Branch (5224:17): [True: 674k, False: 22]
  |  Branch (5224:29): [True: 0, False: 22]
  ------------------
 5225|   674k|                goto End;
 5226|     22|            errmsg = "unexpected end of data";
 5227|     22|            startinpos = s - starts;
 5228|     22|            endinpos = end - starts;
 5229|     22|            break;
 5230|      0|        case 1:
  ------------------
  |  Branch (5230:9): [True: 0, False: 1.65M]
  ------------------
 5231|      0|            errmsg = "invalid start byte";
 5232|      0|            startinpos = s - starts;
 5233|      0|            endinpos = startinpos + 1;
 5234|      0|            break;
 5235|    130|        case 2:
  ------------------
  |  Branch (5235:9): [True: 130, False: 1.65M]
  ------------------
 5236|    130|            if (consumed && (unsigned char)s[0] == 0xED && end - s == 2
  ------------------
  |  Branch (5236:17): [True: 0, False: 130]
  |  Branch (5236:29): [True: 0, False: 0]
  |  Branch (5236:60): [True: 0, False: 0]
  ------------------
 5237|      0|                && (unsigned char)s[1] >= 0xA0 && (unsigned char)s[1] <= 0xBF)
  ------------------
  |  Branch (5237:20): [True: 0, False: 0]
  |  Branch (5237:51): [True: 0, False: 0]
  ------------------
 5238|      0|            {
 5239|       |                /* Truncated surrogate code in range D800-DFFF */
 5240|      0|                goto End;
 5241|      0|            }
 5242|    130|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|    130|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5243|    137|        case 3:
  ------------------
  |  Branch (5243:9): [True: 7, False: 1.65M]
  ------------------
 5244|    141|        case 4:
  ------------------
  |  Branch (5244:9): [True: 4, False: 1.65M]
  ------------------
 5245|    141|            errmsg = "invalid continuation byte";
 5246|    141|            startinpos = s - starts;
 5247|    141|            endinpos = startinpos + ch - 1;
 5248|    141|            break;
 5249|   977k|        default:
  ------------------
  |  Branch (5249:9): [True: 977k, False: 675k]
  ------------------
 5250|       |            // ch doesn't fit into kind, so change the buffer kind to write
 5251|       |            // the character
 5252|   977k|            if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0)
  ------------------
  |  Branch (5252:17): [True: 0, False: 977k]
  ------------------
 5253|      0|                goto onError;
 5254|   977k|            continue;
 5255|  1.65M|        }
 5256|       |
 5257|    163|        if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (5257:13): [True: 130, False: 33]
  ------------------
 5258|    130|            error_handler = _Py_GetErrorHandler(errors);
 5259|       |
 5260|    163|        switch (error_handler) {
 5261|      0|        case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (5261:9): [True: 0, False: 163]
  ------------------
 5262|      0|            s += (endinpos - startinpos);
 5263|      0|            break;
 5264|       |
 5265|     15|        case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (5265:9): [True: 15, False: 148]
  ------------------
 5266|     15|            if (_PyUnicodeWriter_WriteCharInline(writer, 0xfffd) < 0)
  ------------------
  |  Branch (5266:17): [True: 0, False: 15]
  ------------------
 5267|      0|                goto onError;
 5268|     15|            s += (endinpos - startinpos);
 5269|     15|            break;
 5270|       |
 5271|      0|        case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5271:9): [True: 0, False: 163]
  ------------------
 5272|      0|        {
 5273|      0|            Py_ssize_t i;
 5274|       |
 5275|      0|            if (_PyUnicodeWriter_PrepareKind(writer, PyUnicode_2BYTE_KIND) < 0)
  ------------------
  |  |  543|      0|    ((KIND) <= (WRITER)->kind                                         \
  |  |  ------------------
  |  |  |  Branch (543:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  544|      0|     ? 0                                                              \
  |  |  545|      0|     : _PyUnicodeWriter_PrepareKindInternal((WRITER), (KIND)))
  ------------------
  |  Branch (5275:17): [True: 0, False: 0]
  ------------------
 5276|      0|                goto onError;
 5277|      0|            assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (5277:13): [True: 0, False: 0]
  ------------------
 5278|      0|            for (i=startinpos; i<endinpos; i++) {
  ------------------
  |  Branch (5278:32): [True: 0, False: 0]
  ------------------
 5279|      0|                ch = (Py_UCS4)(unsigned char)(starts[i]);
 5280|      0|                PyUnicode_WRITE(writer->kind, writer->data, writer->pos,
  ------------------
  |  |  336|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5281|      0|                                ch + 0xdc00);
 5282|      0|                writer->pos++;
 5283|      0|            }
 5284|      0|            s += (endinpos - startinpos);
 5285|      0|            break;
 5286|      0|        }
 5287|       |
 5288|    148|        default:
  ------------------
  |  Branch (5288:9): [True: 148, False: 15]
  ------------------
 5289|    148|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (5289:17): [True: 146, False: 2]
  ------------------
 5290|    148|                    errors, &error_handler_obj,
 5291|    148|                    "utf-8", errmsg,
 5292|    148|                    &starts, &end, &startinpos, &endinpos, &exc, &s,
 5293|    148|                    writer)) {
 5294|    146|                goto onError;
 5295|    146|            }
 5296|       |
 5297|      2|            if (_PyUnicodeWriter_Prepare(writer, end - s, 127) < 0) {
  ------------------
  |  Branch (5297:17): [True: 0, False: 2]
  ------------------
 5298|      0|                goto onError;
 5299|      0|            }
 5300|    163|        }
 5301|    163|    }
 5302|       |
 5303|   957k|End:
 5304|   957k|    if (consumed)
  ------------------
  |  Branch (5304:9): [True: 0, False: 957k]
  ------------------
 5305|      0|        *consumed = s - starts;
 5306|       |
 5307|   957k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|   957k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   957k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   957k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5308|   957k|    Py_XDECREF(exc);
  ------------------
  |  |  621|   957k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   957k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   957k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5309|   957k|    return 0;
 5310|       |
 5311|    146|onError:
 5312|    146|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|    146|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    146|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5313|    146|    Py_XDECREF(exc);
  ------------------
  |  |  621|    146|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    146|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5314|    146|    return -1;
 5315|   957k|}
unicodeobject.c:unicode_encode_utf8:
 5762|    770|{
 5763|    770|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    770|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    770|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (5763:9): [True: 0, False: 770]
  ------------------
 5764|      0|        PyErr_BadArgument();
 5765|      0|        return NULL;
 5766|      0|    }
 5767|       |
 5768|    770|    if (PyUnicode_UTF8(unicode))
  ------------------
  |  Branch (5768:9): [True: 770, False: 0]
  ------------------
 5769|    770|        return PyBytes_FromStringAndSize(PyUnicode_UTF8(unicode),
 5770|    770|                                         PyUnicode_UTF8_LENGTH(unicode));
 5771|       |
 5772|      0|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5773|      0|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5774|      0|    Py_ssize_t size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5775|       |
 5776|      0|    PyBytesWriter *writer;
 5777|      0|    char *end;
 5778|       |
 5779|      0|    switch (kind) {
 5780|      0|    default:
  ------------------
  |  Branch (5780:5): [True: 0, False: 0]
  ------------------
 5781|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5782|      0|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (5782:5): [True: 0, False: 0]
  ------------------
 5783|       |        /* the string cannot be ASCII, or PyUnicode_UTF8() would be set */
 5784|      0|        assert(!PyUnicode_IS_ASCII(unicode));
  ------------------
  |  Branch (5784:9): [True: 0, False: 0]
  ------------------
 5785|      0|        writer = ucs1lib_utf8_encoder(unicode, data, size,
 5786|      0|                                      error_handler, errors, &end);
 5787|      0|        break;
 5788|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (5788:5): [True: 0, False: 0]
  ------------------
 5789|      0|        writer = ucs2lib_utf8_encoder(unicode, data, size,
 5790|      0|                                      error_handler, errors, &end);
 5791|      0|        break;
 5792|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (5792:5): [True: 0, False: 0]
  ------------------
 5793|      0|        writer = ucs4lib_utf8_encoder(unicode, data, size,
 5794|      0|                                      error_handler, errors, &end);
 5795|      0|        break;
 5796|      0|    }
 5797|       |
 5798|      0|    if (writer == NULL) {
  ------------------
  |  Branch (5798:9): [True: 0, False: 0]
  ------------------
 5799|      0|        PyBytesWriter_Discard(writer);
 5800|      0|        return NULL;
 5801|      0|    }
 5802|      0|    return PyBytesWriter_FinishWithPointer(writer, end);
 5803|      0|}
unicodeobject.c:iconv_open_or_set_error:
 8307|    448|{
 8308|    448|    iconv_t cd = iconv_open(tocode, fromcode);
 8309|    448|    if (cd == (iconv_t)-1) {
  ------------------
  |  Branch (8309:9): [True: 324, False: 124]
  ------------------
 8310|    324|        if (errno == EINVAL) {
  ------------------
  |  Branch (8310:13): [True: 324, False: 0]
  ------------------
 8311|    324|            PyErr_Format(PyExc_LookupError, "unknown encoding: %s", encoding);
 8312|    324|        }
 8313|      0|        else {
 8314|      0|            PyErr_SetFromErrno(PyExc_OSError);
 8315|      0|        }
 8316|    324|    }
 8317|    448|    return cd;
 8318|    448|}
unicodeobject.c:charmap_decode_string:
 8668|    154|{
 8669|    154|    const char *starts = s;
 8670|    154|    const char *e;
 8671|    154|    Py_ssize_t startinpos, endinpos;
 8672|    154|    PyObject *errorHandler = NULL, *exc = NULL;
 8673|    154|    Py_ssize_t maplen;
 8674|    154|    int mapkind;
 8675|    154|    const void *mapdata;
 8676|    154|    Py_UCS4 x;
 8677|    154|    unsigned char ch;
 8678|       |
 8679|    154|    maplen = PyUnicode_GET_LENGTH(mapping);
  ------------------
  |  |  300|    154|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    154|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    154|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8680|    154|    mapdata = PyUnicode_DATA(mapping);
  ------------------
  |  |  285|    154|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    154|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    154|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8681|    154|    mapkind = PyUnicode_KIND(mapping);
  ------------------
  |  |  259|    154|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    308|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 154, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8682|       |
 8683|      0|    e = s + size;
 8684|       |
 8685|    154|    if (mapkind == PyUnicode_1BYTE_KIND && maplen >= 256) {
  ------------------
  |  Branch (8685:9): [True: 2, False: 152]
  |  Branch (8685:44): [True: 2, False: 0]
  ------------------
 8686|       |        /* fast-path for cp037, cp500 and iso8859_1 encodings. iso8859_1
 8687|       |         * is disabled in encoding aliases, latin1 is preferred because
 8688|       |         * its implementation is faster. */
 8689|      2|        const Py_UCS1 *mapdata_ucs1 = (const Py_UCS1 *)mapdata;
 8690|      2|        Py_UCS1 *outdata = (Py_UCS1 *)writer->data;
 8691|      2|        Py_UCS4 maxchar = writer->maxchar;
 8692|       |
 8693|      2|        assert (writer->kind == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (8693:9): [True: 2, False: 0]
  ------------------
 8694|    514|        while (s < e) {
  ------------------
  |  Branch (8694:16): [True: 512, False: 2]
  ------------------
 8695|    512|            ch = *s;
 8696|    512|            x = mapdata_ucs1[ch];
 8697|    512|            if (x > maxchar) {
  ------------------
  |  Branch (8697:17): [True: 2, False: 510]
  ------------------
 8698|      2|                if (_PyUnicodeWriter_Prepare(writer, 1, 0xff) == -1)
  ------------------
  |  Branch (8698:21): [True: 0, False: 2]
  ------------------
 8699|      0|                    goto onError;
 8700|      2|                maxchar = writer->maxchar;
 8701|      2|                outdata = (Py_UCS1 *)writer->data;
 8702|      2|            }
 8703|    512|            outdata[writer->pos] = x;
 8704|    512|            writer->pos++;
 8705|    512|            ++s;
 8706|    512|        }
 8707|      2|        return 0;
 8708|      2|    }
 8709|       |
 8710|    962|    while (s < e) {
  ------------------
  |  Branch (8710:12): [True: 940, False: 22]
  ------------------
 8711|    940|        if (mapkind == PyUnicode_2BYTE_KIND && maplen >= 256) {
  ------------------
  |  Branch (8711:13): [True: 940, False: 0]
  |  Branch (8711:48): [True: 940, False: 0]
  ------------------
 8712|    940|            int outkind = writer->kind;
 8713|    940|            const Py_UCS2 *mapdata_ucs2 = (const Py_UCS2 *)mapdata;
 8714|    940|            if (outkind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (8714:17): [True: 276, False: 664]
  ------------------
 8715|    276|                Py_UCS1 *outdata = (Py_UCS1 *)writer->data;
 8716|    276|                Py_UCS4 maxchar = writer->maxchar;
 8717|  22.9k|                while (s < e) {
  ------------------
  |  Branch (8717:24): [True: 22.9k, False: 0]
  ------------------
 8718|  22.9k|                    ch = *s;
 8719|  22.9k|                    x = mapdata_ucs2[ch];
 8720|  22.9k|                    if (x > maxchar)
  ------------------
  |  Branch (8720:25): [True: 276, False: 22.6k]
  ------------------
 8721|    276|                        goto Error;
 8722|  22.6k|                    outdata[writer->pos] = x;
 8723|  22.6k|                    writer->pos++;
 8724|  22.6k|                    ++s;
 8725|  22.6k|                }
 8726|      0|                break;
 8727|    276|            }
 8728|    664|            else if (outkind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (8728:22): [True: 664, False: 0]
  ------------------
 8729|    664|                Py_UCS2 *outdata = (Py_UCS2 *)writer->data;
 8730|  16.0k|                while (s < e) {
  ------------------
  |  Branch (8730:24): [True: 15.9k, False: 130]
  ------------------
 8731|  15.9k|                    ch = *s;
 8732|  15.9k|                    x = mapdata_ucs2[ch];
 8733|  15.9k|                    if (x == 0xFFFE)
  ------------------
  |  Branch (8733:25): [True: 534, False: 15.4k]
  ------------------
 8734|    534|                        goto Error;
 8735|  15.4k|                    outdata[writer->pos] = x;
 8736|  15.4k|                    writer->pos++;
 8737|  15.4k|                    ++s;
 8738|  15.4k|                }
 8739|    130|                break;
 8740|    664|            }
 8741|    940|        }
 8742|      0|        ch = *s;
 8743|       |
 8744|      0|        if (ch < maplen)
  ------------------
  |  Branch (8744:13): [True: 0, False: 0]
  ------------------
 8745|      0|            x = PyUnicode_READ(mapkind, mapdata, ch);
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
 8746|      0|        else
 8747|      0|            x = 0xfffe; /* invalid value */
 8748|    810|Error:
 8749|    810|        if (x == 0xfffe)
  ------------------
  |  Branch (8749:13): [True: 537, False: 273]
  ------------------
 8750|    537|        {
 8751|       |            /* undefined mapping */
 8752|    537|            startinpos = s-starts;
 8753|    537|            endinpos = startinpos+1;
 8754|    537|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (8754:17): [True: 0, False: 537]
  ------------------
 8755|    537|                    errors, &errorHandler,
 8756|    537|                    "charmap", "character maps to <undefined>",
 8757|    537|                    &starts, &e, &startinpos, &endinpos, &exc, &s,
 8758|    537|                    writer)) {
 8759|      0|                goto onError;
 8760|      0|            }
 8761|    537|            continue;
 8762|    537|        }
 8763|       |
 8764|    273|        if (_PyUnicodeWriter_WriteCharInline(writer, x) < 0)
  ------------------
  |  Branch (8764:13): [True: 0, False: 273]
  ------------------
 8765|      0|            goto onError;
 8766|    273|        ++s;
 8767|    273|    }
 8768|    152|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|    152|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8769|    152|    Py_XDECREF(exc);
  ------------------
  |  |  621|    152|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8770|    152|    return 0;
 8771|       |
 8772|      0|onError:
 8773|      0|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8774|      0|    Py_XDECREF(exc);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8775|      0|    return -1;
 8776|    152|}
unicodeobject.c:any_find_slice:
 9991|    103|{
 9992|    103|    int kind1, kind2;
 9993|    103|    const void *buf1, *buf2;
 9994|    103|    Py_ssize_t len1, len2, result;
 9995|       |
 9996|    103|    kind1 = PyUnicode_KIND(s1);
  ------------------
  |  |  259|    103|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    206|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 103, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9997|    103|    kind2 = PyUnicode_KIND(s2);
  ------------------
  |  |  259|    103|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    206|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 103, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9998|    103|    if (kind1 < kind2)
  ------------------
  |  Branch (9998:9): [True: 0, False: 103]
  ------------------
 9999|      0|        return -1;
10000|       |
10001|    103|    len1 = PyUnicode_GET_LENGTH(s1);
  ------------------
  |  |  300|    103|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10002|    103|    len2 = PyUnicode_GET_LENGTH(s2);
  ------------------
  |  |  300|    103|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10003|    103|    ADJUST_INDICES(start, end, len1);
  ------------------
  |  | 9968|    103|    do {                                \
  |  | 9969|    103|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9969:13): [True: 103, False: 0]
  |  |  ------------------
  |  | 9970|    103|            end = len;                  \
  |  | 9971|    103|        }                               \
  |  | 9972|    103|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9972:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 9973|      0|            end += len;                 \
  |  | 9974|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9974:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9975|      0|                end = 0;                \
  |  | 9976|      0|            }                           \
  |  | 9977|      0|        }                               \
  |  | 9978|    103|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9978:13): [True: 0, False: 103]
  |  |  ------------------
  |  | 9979|      0|            start += len;               \
  |  | 9980|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9980:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9981|      0|                start = 0;              \
  |  | 9982|      0|            }                           \
  |  | 9983|      0|        }                               \
  |  | 9984|    103|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9984:14): [Folded, False: 103]
  |  |  ------------------
  ------------------
10004|    103|    if (end - start < len2)
  ------------------
  |  Branch (10004:9): [True: 0, False: 103]
  ------------------
10005|      0|        return -1;
10006|       |
10007|    103|    buf1 = PyUnicode_DATA(s1);
  ------------------
  |  |  285|    103|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10008|    103|    buf2 = PyUnicode_DATA(s2);
  ------------------
  |  |  285|    103|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10009|    103|    if (len2 == 1) {
  ------------------
  |  Branch (10009:9): [True: 103, False: 0]
  ------------------
10010|    103|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  355|    103|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    103|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    103|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    103|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    103|                   (index))
  ------------------
10011|    103|        result = findchar((const char *)buf1 + kind1*start,
10012|    103|                          kind1, end - start, ch, direction);
10013|    103|        if (result == -1)
  ------------------
  |  Branch (10013:13): [True: 0, False: 103]
  ------------------
10014|      0|            return -1;
10015|    103|        else
10016|    103|            return start + result;
10017|    103|    }
10018|       |
10019|      0|    if (kind2 != kind1) {
  ------------------
  |  Branch (10019:9): [True: 0, False: 0]
  ------------------
10020|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
10021|      0|        if (!buf2)
  ------------------
  |  Branch (10021:13): [True: 0, False: 0]
  ------------------
10022|      0|            return -2;
10023|      0|    }
10024|       |
10025|      0|    if (direction > 0) {
  ------------------
  |  Branch (10025:9): [True: 0, False: 0]
  ------------------
10026|      0|        switch (kind1) {
10027|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10027:9): [True: 0, False: 0]
  ------------------
10028|      0|            if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  228|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                          if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  228|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
10029|      0|                result = asciilib_find_slice(buf1, len1, buf2, len2, start, end);
10030|      0|            else
10031|      0|                result = ucs1lib_find_slice(buf1, len1, buf2, len2, start, end);
10032|      0|            break;
10033|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10033:9): [True: 0, False: 0]
  ------------------
10034|      0|            result = ucs2lib_find_slice(buf1, len1, buf2, len2, start, end);
10035|      0|            break;
10036|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10036:9): [True: 0, False: 0]
  ------------------
10037|      0|            result = ucs4lib_find_slice(buf1, len1, buf2, len2, start, end);
10038|      0|            break;
10039|      0|        default:
  ------------------
  |  Branch (10039:9): [True: 0, False: 0]
  ------------------
10040|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10041|      0|        }
10042|      0|    }
10043|      0|    else {
10044|      0|        switch (kind1) {
10045|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10045:9): [True: 0, False: 0]
  ------------------
10046|      0|            if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  228|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                          if (PyUnicode_IS_ASCII(s1) && PyUnicode_IS_ASCII(s2))
  ------------------
  |  |  228|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
10047|      0|                result = asciilib_rfind_slice(buf1, len1, buf2, len2, start, end);
10048|      0|            else
10049|      0|                result = ucs1lib_rfind_slice(buf1, len1, buf2, len2, start, end);
10050|      0|            break;
10051|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10051:9): [True: 0, False: 0]
  ------------------
10052|      0|            result = ucs2lib_rfind_slice(buf1, len1, buf2, len2, start, end);
10053|      0|            break;
10054|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10054:9): [True: 0, False: 0]
  ------------------
10055|      0|            result = ucs4lib_rfind_slice(buf1, len1, buf2, len2, start, end);
10056|      0|            break;
10057|      0|        default:
  ------------------
  |  Branch (10057:9): [True: 0, False: 0]
  ------------------
10058|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10059|      0|        }
10060|      0|    }
10061|       |
10062|      0|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(s2)));
  ------------------
  |  Branch (10062:5): [True: 0, False: 0]
  ------------------
10063|      0|    if (kind2 != kind1)
  ------------------
  |  Branch (10063:9): [True: 0, False: 0]
  ------------------
10064|      0|        PyMem_Free((void *)buf2);
10065|       |
10066|      0|    return result;
10067|      0|}
unicodeobject.c:tailmatch:
10121|    776|{
10122|    776|    int kind_self;
10123|    776|    int kind_sub;
10124|    776|    const void *data_self;
10125|    776|    const void *data_sub;
10126|    776|    Py_ssize_t offset;
10127|    776|    Py_ssize_t i;
10128|    776|    Py_ssize_t end_sub;
10129|       |
10130|    776|    ADJUST_INDICES(start, end, PyUnicode_GET_LENGTH(self));
  ------------------
  |  | 9968|    776|    do {                                \
  |  | 9969|    776|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9969:13): [True: 776, False: 0]
  |  |  ------------------
  |  | 9970|    776|            end = len;                  \
  |  | 9971|    776|        }                               \
  |  | 9972|    776|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9972:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 9973|      0|            end += len;                 \
  |  | 9974|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9974:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9975|      0|                end = 0;                \
  |  | 9976|      0|            }                           \
  |  | 9977|      0|        }                               \
  |  | 9978|    776|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9978:13): [True: 0, False: 776]
  |  |  ------------------
  |  | 9979|      0|            start += len;               \
  |  | 9980|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9980:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9981|      0|                start = 0;              \
  |  | 9982|      0|            }                           \
  |  | 9983|      0|        }                               \
  |  | 9984|    776|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9984:14): [Folded, False: 776]
  |  |  ------------------
  ------------------
10131|    776|    end -= PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  300|    776|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    776|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    776|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10132|    776|    if (end < start)
  ------------------
  |  Branch (10132:9): [True: 182, False: 594]
  ------------------
10133|    182|        return 0;
10134|       |
10135|    594|    if (PyUnicode_GET_LENGTH(substring) == 0)
  ------------------
  |  |  300|    594|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    594|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    594|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10135:9): [True: 0, False: 594]
  ------------------
10136|      0|        return 1;
10137|       |
10138|    594|    kind_self = PyUnicode_KIND(self);
  ------------------
  |  |  259|    594|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.18k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 594, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10139|    594|    data_self = PyUnicode_DATA(self);
  ------------------
  |  |  285|    594|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    594|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    594|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10140|    594|    kind_sub = PyUnicode_KIND(substring);
  ------------------
  |  |  259|    594|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.18k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 594, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10141|    594|    data_sub = PyUnicode_DATA(substring);
  ------------------
  |  |  285|    594|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    594|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    594|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10142|    594|    end_sub = PyUnicode_GET_LENGTH(substring) - 1;
  ------------------
  |  |  300|    594|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    594|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    594|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10143|       |
10144|    594|    if (direction > 0)
  ------------------
  |  Branch (10144:9): [True: 34, False: 560]
  ------------------
10145|     34|        offset = end;
10146|    560|    else
10147|    560|        offset = start;
10148|       |
10149|    594|    if (PyUnicode_READ(kind_self, data_self, offset) ==
  ------------------
  |  |  355|    594|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    594|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    594|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    594|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    594|                   (index))
  ------------------
  |  Branch (10149:9): [True: 263, False: 331]
  ------------------
10150|    594|        PyUnicode_READ(kind_sub, data_sub, 0) &&
  ------------------
  |  |  355|  1.18k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    594|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.18k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    594|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  1.18k|                   (index))
  ------------------
10151|    263|        PyUnicode_READ(kind_self, data_self, offset + end_sub) ==
  ------------------
  |  |  355|    263|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    263|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    263|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    263|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    263|                   (index))
  ------------------
  |  Branch (10151:9): [True: 149, False: 114]
  ------------------
10152|    263|        PyUnicode_READ(kind_sub, data_sub, end_sub)) {
  ------------------
  |  |  355|    263|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    263|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    263|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    263|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    263|                   (index))
  ------------------
10153|       |        /* If both are of the same kind, memcmp is sufficient */
10154|    149|        if (kind_self == kind_sub) {
  ------------------
  |  Branch (10154:13): [True: 149, False: 0]
  ------------------
10155|    149|            return ! memcmp((char *)data_self +
10156|    149|                                (offset * PyUnicode_KIND(substring)),
  ------------------
  |  |  259|    149|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    298|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 149, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10157|      0|                            data_sub,
10158|    149|                            PyUnicode_GET_LENGTH(substring) *
  ------------------
  |  |  300|    149|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10159|    149|                                PyUnicode_KIND(substring));
  ------------------
  |  |  259|    149|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    298|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 149, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10160|    149|        }
10161|       |        /* otherwise we have to compare each character by first accessing it */
10162|      0|        else {
10163|       |            /* We do not need to compare 0 and len(substring)-1 because
10164|       |               the if statement above ensured already that they are equal
10165|       |               when we end up here. */
10166|      0|            for (i = 1; i < end_sub; ++i) {
  ------------------
  |  Branch (10166:25): [True: 0, False: 0]
  ------------------
10167|      0|                if (PyUnicode_READ(kind_self, data_self, offset + i) !=
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
  |  Branch (10167:21): [True: 0, False: 0]
  ------------------
10168|      0|                    PyUnicode_READ(kind_sub, data_sub, i))
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
10169|      0|                    return 0;
10170|      0|            }
10171|      0|            return 1;
10172|      0|        }
10173|    149|    }
10174|       |
10175|    445|    return 0;
10176|    594|}
unicodeobject.c:unicode_compare:
11365|  5.28k|{
11366|  5.28k|#define COMPARE(TYPE1, TYPE2) \
11367|  5.28k|    do { \
11368|  5.28k|        TYPE1* p1 = (TYPE1 *)data1; \
11369|  5.28k|        TYPE2* p2 = (TYPE2 *)data2; \
11370|  5.28k|        TYPE1* end = p1 + len; \
11371|  5.28k|        Py_UCS4 c1, c2; \
11372|  5.28k|        for (; p1 != end; p1++, p2++) { \
11373|  5.28k|            c1 = *p1; \
11374|  5.28k|            c2 = *p2; \
11375|  5.28k|            if (c1 != c2) \
11376|  5.28k|                return (c1 < c2) ? -1 : 1; \
11377|  5.28k|        } \
11378|  5.28k|    } \
11379|  5.28k|    while (0)
11380|       |
11381|  5.28k|    int kind1, kind2;
11382|  5.28k|    const void *data1, *data2;
11383|  5.28k|    Py_ssize_t len1, len2, len;
11384|       |
11385|  5.28k|    kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  259|  5.28k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  10.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 5.28k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11386|  5.28k|    kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  259|  5.28k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  10.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 5.28k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11387|  5.28k|    data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|  5.28k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11388|  5.28k|    data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|  5.28k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11389|  5.28k|    len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|  5.28k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11390|  5.28k|    len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  300|  5.28k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11391|  5.28k|    len = Py_MIN(len1, len2);
  ------------------
  |  |  127|  5.28k|       __extension__ \
  |  |  128|  5.28k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  5.28k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  5.28k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  5.28k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  5.28k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 1.90k, False: 3.37k]
  |  |  ------------------
  ------------------
11392|       |
11393|  5.28k|    switch(kind1) {
11394|  5.28k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11394:5): [True: 5.28k, False: 0]
  ------------------
11395|  5.28k|    {
11396|  5.28k|        switch(kind2) {
11397|  5.28k|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11397:9): [True: 5.28k, False: 0]
  ------------------
11398|  5.28k|        {
11399|  5.28k|            int cmp = memcmp(data1, data2, len);
11400|       |            /* normalize result of memcmp() into the range [-1; 1] */
11401|  5.28k|            if (cmp < 0)
  ------------------
  |  Branch (11401:17): [True: 2.61k, False: 2.66k]
  ------------------
11402|  2.61k|                return -1;
11403|  2.66k|            if (cmp > 0)
  ------------------
  |  Branch (11403:17): [True: 2.50k, False: 167]
  ------------------
11404|  2.50k|                return 1;
11405|    167|            break;
11406|  2.66k|        }
11407|    167|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11407:9): [True: 0, False: 5.28k]
  ------------------
11408|      0|            COMPARE(Py_UCS1, Py_UCS2);
  ------------------
  |  |11367|      0|    do { \
  |  |11368|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|      0|        TYPE1* end = p1 + len; \
  |  |11371|      0|        Py_UCS4 c1, c2; \
  |  |11372|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11373|      0|            c1 = *p1; \
  |  |11374|      0|            c2 = *p2; \
  |  |11375|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11376|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11377|      0|        } \
  |  |11378|      0|    } \
  |  |11379|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11409|      0|            break;
11410|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11410:9): [True: 0, False: 5.28k]
  ------------------
11411|      0|            COMPARE(Py_UCS1, Py_UCS4);
  ------------------
  |  |11367|      0|    do { \
  |  |11368|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|      0|        TYPE1* end = p1 + len; \
  |  |11371|      0|        Py_UCS4 c1, c2; \
  |  |11372|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11373|      0|            c1 = *p1; \
  |  |11374|      0|            c2 = *p2; \
  |  |11375|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11376|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11377|      0|        } \
  |  |11378|      0|    } \
  |  |11379|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11412|      0|            break;
11413|      0|        default:
  ------------------
  |  Branch (11413:9): [True: 0, False: 5.28k]
  ------------------
11414|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11415|  5.28k|        }
11416|    167|        break;
11417|  5.28k|    }
11418|    167|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11418:5): [True: 0, False: 5.28k]
  ------------------
11419|      0|    {
11420|      0|        switch(kind2) {
11421|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11421:9): [True: 0, False: 0]
  ------------------
11422|      0|            COMPARE(Py_UCS2, Py_UCS1);
  ------------------
  |  |11367|      0|    do { \
  |  |11368|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|      0|        TYPE1* end = p1 + len; \
  |  |11371|      0|        Py_UCS4 c1, c2; \
  |  |11372|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11373|      0|            c1 = *p1; \
  |  |11374|      0|            c2 = *p2; \
  |  |11375|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11376|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11377|      0|        } \
  |  |11378|      0|    } \
  |  |11379|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11423|      0|            break;
11424|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11424:9): [True: 0, False: 0]
  ------------------
11425|      0|        {
11426|      0|            COMPARE(Py_UCS2, Py_UCS2);
  ------------------
  |  |11367|      0|    do { \
  |  |11368|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|      0|        TYPE1* end = p1 + len; \
  |  |11371|      0|        Py_UCS4 c1, c2; \
  |  |11372|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11373|      0|            c1 = *p1; \
  |  |11374|      0|            c2 = *p2; \
  |  |11375|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11376|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11377|      0|        } \
  |  |11378|      0|    } \
  |  |11379|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11427|      0|            break;
11428|      0|        }
11429|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11429:9): [True: 0, False: 0]
  ------------------
11430|      0|            COMPARE(Py_UCS2, Py_UCS4);
  ------------------
  |  |11367|      0|    do { \
  |  |11368|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|      0|        TYPE1* end = p1 + len; \
  |  |11371|      0|        Py_UCS4 c1, c2; \
  |  |11372|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11373|      0|            c1 = *p1; \
  |  |11374|      0|            c2 = *p2; \
  |  |11375|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11376|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11377|      0|        } \
  |  |11378|      0|    } \
  |  |11379|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11431|      0|            break;
11432|      0|        default:
  ------------------
  |  Branch (11432:9): [True: 0, False: 0]
  ------------------
11433|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11434|      0|        }
11435|      0|        break;
11436|      0|    }
11437|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11437:5): [True: 0, False: 5.28k]
  ------------------
11438|      0|    {
11439|      0|        switch(kind2) {
11440|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11440:9): [True: 0, False: 0]
  ------------------
11441|      0|            COMPARE(Py_UCS4, Py_UCS1);
  ------------------
  |  |11367|      0|    do { \
  |  |11368|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|      0|        TYPE1* end = p1 + len; \
  |  |11371|      0|        Py_UCS4 c1, c2; \
  |  |11372|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11373|      0|            c1 = *p1; \
  |  |11374|      0|            c2 = *p2; \
  |  |11375|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11376|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11377|      0|        } \
  |  |11378|      0|    } \
  |  |11379|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11442|      0|            break;
11443|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11443:9): [True: 0, False: 0]
  ------------------
11444|      0|            COMPARE(Py_UCS4, Py_UCS2);
  ------------------
  |  |11367|      0|    do { \
  |  |11368|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|      0|        TYPE1* end = p1 + len; \
  |  |11371|      0|        Py_UCS4 c1, c2; \
  |  |11372|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 0, False: 0]
  |  |  ------------------
  |  |11373|      0|            c1 = *p1; \
  |  |11374|      0|            c2 = *p2; \
  |  |11375|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11376|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 0, False: 0]
  |  |  ------------------
  |  |11377|      0|        } \
  |  |11378|      0|    } \
  |  |11379|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
11445|      0|            break;
11446|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11446:9): [True: 0, False: 0]
  ------------------
11447|      0|        {
11448|      0|#if defined(HAVE_WMEMCMP) && SIZEOF_WCHAR_T == 4
11449|      0|            int cmp = wmemcmp((wchar_t *)data1, (wchar_t *)data2, len);
11450|       |            /* normalize result of wmemcmp() into the range [-1; 1] */
11451|      0|            if (cmp < 0)
  ------------------
  |  Branch (11451:17): [True: 0, False: 0]
  ------------------
11452|      0|                return -1;
11453|      0|            if (cmp > 0)
  ------------------
  |  Branch (11453:17): [True: 0, False: 0]
  ------------------
11454|      0|                return 1;
11455|       |#else
11456|       |            COMPARE(Py_UCS4, Py_UCS4);
11457|       |#endif
11458|      0|            break;
11459|      0|        }
11460|      0|        default:
  ------------------
  |  Branch (11460:9): [True: 0, False: 0]
  ------------------
11461|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11462|      0|        }
11463|      0|        break;
11464|      0|    }
11465|      0|    default:
  ------------------
  |  Branch (11465:5): [True: 0, False: 5.28k]
  ------------------
11466|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11467|  5.28k|    }
11468|       |
11469|    167|    if (len1 == len2)
  ------------------
  |  Branch (11469:9): [True: 95, False: 72]
  ------------------
11470|     95|        return 0;
11471|     72|    if (len1 < len2)
  ------------------
  |  Branch (11471:9): [True: 2, False: 70]
  ------------------
11472|      2|        return -1;
11473|     70|    else
11474|     70|        return 1;
11475|       |
11476|     72|#undef COMPARE
11477|     72|}
unicodeobject.c:make_bloom_mask:
  918|  7.04k|{
  919|  7.04k|#define BLOOM_UPDATE(TYPE, MASK, PTR, LEN)             \
  920|  7.04k|    do {                                               \
  921|  7.04k|        TYPE *data = (TYPE *)PTR;                      \
  922|  7.04k|        TYPE *end = data + LEN;                        \
  923|  7.04k|        Py_UCS4 ch;                                    \
  924|  7.04k|        for (; data != end; data++) {                  \
  925|  7.04k|            ch = *data;                                \
  926|  7.04k|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  927|  7.04k|        }                                              \
  928|  7.04k|        break;                                         \
  929|  7.04k|    } while (0)
  930|       |
  931|       |    /* calculate simple bloom-style bitmask for a given unicode string */
  932|       |
  933|  7.04k|    BLOOM_MASK mask;
  ------------------
  |  |  906|  7.04k|#define BLOOM_MASK unsigned long
  ------------------
  934|       |
  935|  7.04k|    mask = 0;
  936|  7.04k|    switch (kind) {
  937|  7.04k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (937:5): [True: 7.04k, False: 2]
  ------------------
  938|  7.04k|        BLOOM_UPDATE(Py_UCS1, mask, ptr, len);
  ------------------
  |  |  920|  7.04k|    do {                                               \
  |  |  921|  7.04k|        TYPE *data = (TYPE *)PTR;                      \
  |  |  922|  7.04k|        TYPE *end = data + LEN;                        \
  |  |  923|  7.04k|        Py_UCS4 ch;                                    \
  |  |  924|  14.0k|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (924:16): [True: 7.04k, False: 7.04k]
  |  |  ------------------
  |  |  925|  7.04k|            ch = *data;                                \
  |  |  926|  7.04k|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  899|  7.04k|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  927|  7.04k|        }                                              \
  |  |  928|  7.04k|        break;                                         \
  |  |  929|  7.04k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (929:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  939|  7.04k|        break;
  940|      2|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (940:5): [True: 2, False: 7.04k]
  ------------------
  941|      2|        BLOOM_UPDATE(Py_UCS2, mask, ptr, len);
  ------------------
  |  |  920|      2|    do {                                               \
  |  |  921|      2|        TYPE *data = (TYPE *)PTR;                      \
  |  |  922|      2|        TYPE *end = data + LEN;                        \
  |  |  923|      2|        Py_UCS4 ch;                                    \
  |  |  924|     18|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (924:16): [True: 16, False: 2]
  |  |  ------------------
  |  |  925|     16|            ch = *data;                                \
  |  |  926|     16|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  899|     16|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  927|     16|        }                                              \
  |  |  928|      2|        break;                                         \
  |  |  929|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (929:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  942|      2|        break;
  943|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (943:5): [True: 0, False: 7.04k]
  ------------------
  944|      0|        BLOOM_UPDATE(Py_UCS4, mask, ptr, len);
  ------------------
  |  |  920|      0|    do {                                               \
  |  |  921|      0|        TYPE *data = (TYPE *)PTR;                      \
  |  |  922|      0|        TYPE *end = data + LEN;                        \
  |  |  923|      0|        Py_UCS4 ch;                                    \
  |  |  924|      0|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (924:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  925|      0|            ch = *data;                                \
  |  |  926|      0|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  899|      0|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  927|      0|        }                                              \
  |  |  928|      0|        break;                                         \
  |  |  929|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (929:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  945|      0|        break;
  946|      0|    default:
  ------------------
  |  Branch (946:5): [True: 0, False: 7.04k]
  ------------------
  947|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  948|  7.04k|    }
  949|  7.04k|    return mask;
  950|       |
  951|  7.04k|#undef BLOOM_UPDATE
  952|  7.04k|}
unicodeobject.c:unicode_result_unchanged:
  742|  7.45k|{
  743|  7.45k|    if (PyUnicode_CheckExact(unicode)) {
  ------------------
  |  |  104|  7.45k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  7.45k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7.45k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  744|  7.45k|        return Py_NewRef(unicode);
  ------------------
  |  |  647|  7.45k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  745|  7.45k|    }
  746|      0|    else
  747|       |        /* Subtype -- return genuine unicode string with the same value. */
  748|      0|        return _PyUnicode_Copy(unicode);
  749|  7.45k|}
unicodeobject.c:replace:
10983|    465|{
10984|    465|    PyObject *u;
10985|    465|    const char *sbuf = PyUnicode_DATA(self);
  ------------------
  |  |  285|    465|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    465|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    465|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10986|    465|    const void *buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|    465|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    465|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    465|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10987|    465|    const void *buf2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|    465|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    465|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    465|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10988|    465|    int srelease = 0, release1 = 0, release2 = 0;
10989|    465|    int skind = PyUnicode_KIND(self);
  ------------------
  |  |  259|    465|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    930|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 465, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10990|    465|    int kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  259|    465|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    930|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 465, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10991|    465|    int kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  259|    465|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    930|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 465, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10992|    465|    Py_ssize_t slen = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|    465|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    465|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    465|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10993|    465|    Py_ssize_t len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|    465|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    465|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    465|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10994|    465|    Py_ssize_t len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  300|    465|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    465|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    465|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10995|    465|    int mayshrink;
10996|    465|    Py_UCS4 maxchar, maxchar_str1, maxchar_str2;
10997|       |
10998|    465|    if (slen < len1)
  ------------------
  |  Branch (10998:9): [True: 0, False: 465]
  ------------------
10999|      0|        goto nothing;
11000|       |
11001|    465|    if (maxcount < 0)
  ------------------
  |  Branch (11001:9): [True: 465, False: 0]
  ------------------
11002|    465|        maxcount = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|    465|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
11003|      0|    else if (maxcount == 0)
  ------------------
  |  Branch (11003:14): [True: 0, False: 0]
  ------------------
11004|      0|        goto nothing;
11005|       |
11006|    465|    if (str1 == str2)
  ------------------
  |  Branch (11006:9): [True: 0, False: 465]
  ------------------
11007|      0|        goto nothing;
11008|       |
11009|    465|    maxchar = PyUnicode_MAX_CHAR_VALUE(self);
  ------------------
  |  |  406|    465|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    465|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    465|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11010|    465|    maxchar_str1 = PyUnicode_MAX_CHAR_VALUE(str1);
  ------------------
  |  |  406|    465|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    465|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    465|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11011|    465|    if (maxchar < maxchar_str1)
  ------------------
  |  Branch (11011:9): [True: 0, False: 465]
  ------------------
11012|       |        /* substring too wide to be present */
11013|      0|        goto nothing;
11014|    465|    maxchar_str2 = PyUnicode_MAX_CHAR_VALUE(str2);
  ------------------
  |  |  406|    465|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    465|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    465|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11015|       |    /* Replacing str1 with str2 may cause a maxchar reduction in the
11016|       |       result string. */
11017|    465|    mayshrink = (maxchar_str2 < maxchar_str1) && (maxchar == maxchar_str1);
  ------------------
  |  Branch (11017:17): [True: 0, False: 465]
  |  Branch (11017:50): [True: 0, False: 0]
  ------------------
11018|    465|    maxchar = Py_MAX(maxchar, maxchar_str2);
  ------------------
  |  |  133|    465|       __extension__ \
  |  |  134|    465|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|    465|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|    465|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|    465|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|    465|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 465]
  |  |  ------------------
  ------------------
11019|       |
11020|    465|    if (len1 == len2) {
  ------------------
  |  Branch (11020:9): [True: 465, False: 0]
  ------------------
11021|       |        /* same length */
11022|    465|        if (len1 == 0)
  ------------------
  |  Branch (11022:13): [True: 0, False: 465]
  ------------------
11023|      0|            goto nothing;
11024|    465|        if (len1 == 1) {
  ------------------
  |  Branch (11024:13): [True: 465, False: 0]
  ------------------
11025|       |            /* replace characters */
11026|    465|            Py_UCS4 u1, u2;
11027|    465|            Py_ssize_t pos;
11028|       |
11029|    465|            u1 = PyUnicode_READ(kind1, buf1, 0);
  ------------------
  |  |  355|    465|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    465|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    465|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    465|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    465|                   (index))
  ------------------
11030|    465|            pos = findchar(sbuf, skind, slen, u1, 1);
11031|    465|            if (pos < 0)
  ------------------
  |  Branch (11031:17): [True: 401, False: 64]
  ------------------
11032|    401|                goto nothing;
11033|     64|            u2 = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  355|     64|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     64|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     64|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     64|                   (index))
  ------------------
11034|     64|            u = PyUnicode_New(slen, maxchar);
11035|     64|            if (!u)
  ------------------
  |  Branch (11035:17): [True: 0, False: 64]
  ------------------
11036|      0|                goto error;
11037|       |
11038|     64|            _PyUnicode_FastCopyCharacters(u, 0, self, 0, slen);
11039|     64|            replace_1char_inplace(u, pos, u1, u2, maxcount);
11040|     64|        }
11041|      0|        else {
11042|      0|            int rkind = skind;
11043|      0|            char *res;
11044|      0|            Py_ssize_t i;
11045|       |
11046|      0|            if (kind1 < rkind) {
  ------------------
  |  Branch (11046:17): [True: 0, False: 0]
  ------------------
11047|       |                /* widen substring */
11048|      0|                buf1 = unicode_askind(kind1, buf1, len1, rkind);
11049|      0|                if (!buf1) goto error;
  ------------------
  |  Branch (11049:21): [True: 0, False: 0]
  ------------------
11050|      0|                release1 = 1;
11051|      0|            }
11052|      0|            i = anylib_find(rkind, self, sbuf, slen, str1, buf1, len1, 0);
11053|      0|            if (i < 0)
  ------------------
  |  Branch (11053:17): [True: 0, False: 0]
  ------------------
11054|      0|                goto nothing;
11055|      0|            if (rkind > kind2) {
  ------------------
  |  Branch (11055:17): [True: 0, False: 0]
  ------------------
11056|       |                /* widen replacement */
11057|      0|                buf2 = unicode_askind(kind2, buf2, len2, rkind);
11058|      0|                if (!buf2) goto error;
  ------------------
  |  Branch (11058:21): [True: 0, False: 0]
  ------------------
11059|      0|                release2 = 1;
11060|      0|            }
11061|      0|            else if (rkind < kind2) {
  ------------------
  |  Branch (11061:22): [True: 0, False: 0]
  ------------------
11062|       |                /* widen self and buf1 */
11063|      0|                rkind = kind2;
11064|      0|                if (release1) {
  ------------------
  |  Branch (11064:21): [True: 0, False: 0]
  ------------------
11065|      0|                    assert(buf1 != PyUnicode_DATA(str1));
  ------------------
  |  Branch (11065:21): [True: 0, False: 0]
  ------------------
11066|      0|                    PyMem_Free((void *)buf1);
11067|      0|                    buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11068|      0|                    release1 = 0;
11069|      0|                }
11070|      0|                sbuf = unicode_askind(skind, sbuf, slen, rkind);
11071|      0|                if (!sbuf) goto error;
  ------------------
  |  Branch (11071:21): [True: 0, False: 0]
  ------------------
11072|      0|                srelease = 1;
11073|      0|                buf1 = unicode_askind(kind1, buf1, len1, rkind);
11074|      0|                if (!buf1) goto error;
  ------------------
  |  Branch (11074:21): [True: 0, False: 0]
  ------------------
11075|      0|                release1 = 1;
11076|      0|            }
11077|      0|            u = PyUnicode_New(slen, maxchar);
11078|      0|            if (!u)
  ------------------
  |  Branch (11078:17): [True: 0, False: 0]
  ------------------
11079|      0|                goto error;
11080|      0|            assert(PyUnicode_KIND(u) == rkind);
  ------------------
  |  Branch (11080:13): [True: 0, False: 0]
  |  Branch (11080:13): [True: 0, False: 0]
  ------------------
11081|      0|            res = PyUnicode_DATA(u);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11082|       |
11083|      0|            memcpy(res, sbuf, rkind * slen);
11084|       |            /* change everything in-place, starting with this one */
11085|      0|            memcpy(res + rkind * i,
11086|      0|                   buf2,
11087|      0|                   rkind * len2);
11088|      0|            i += len1;
11089|       |
11090|      0|            while ( --maxcount > 0) {
  ------------------
  |  Branch (11090:21): [True: 0, False: 0]
  ------------------
11091|      0|                i = anylib_find(rkind, self,
11092|      0|                                sbuf+rkind*i, slen-i,
11093|      0|                                str1, buf1, len1, i);
11094|      0|                if (i == -1)
  ------------------
  |  Branch (11094:21): [True: 0, False: 0]
  ------------------
11095|      0|                    break;
11096|      0|                memcpy(res + rkind * i,
11097|      0|                       buf2,
11098|      0|                       rkind * len2);
11099|      0|                i += len1;
11100|      0|            }
11101|      0|        }
11102|    465|    }
11103|      0|    else {
11104|      0|        Py_ssize_t n, i, j, ires;
11105|      0|        Py_ssize_t new_size;
11106|      0|        int rkind = skind;
11107|      0|        char *res;
11108|       |
11109|      0|        if (kind1 < rkind) {
  ------------------
  |  Branch (11109:13): [True: 0, False: 0]
  ------------------
11110|       |            /* widen substring */
11111|      0|            buf1 = unicode_askind(kind1, buf1, len1, rkind);
11112|      0|            if (!buf1) goto error;
  ------------------
  |  Branch (11112:17): [True: 0, False: 0]
  ------------------
11113|      0|            release1 = 1;
11114|      0|        }
11115|      0|        n = anylib_count(rkind, self, sbuf, slen, str1, buf1, len1, maxcount);
11116|      0|        if (n == 0)
  ------------------
  |  Branch (11116:13): [True: 0, False: 0]
  ------------------
11117|      0|            goto nothing;
11118|      0|        if (kind2 < rkind) {
  ------------------
  |  Branch (11118:13): [True: 0, False: 0]
  ------------------
11119|       |            /* widen replacement */
11120|      0|            buf2 = unicode_askind(kind2, buf2, len2, rkind);
11121|      0|            if (!buf2) goto error;
  ------------------
  |  Branch (11121:17): [True: 0, False: 0]
  ------------------
11122|      0|            release2 = 1;
11123|      0|        }
11124|      0|        else if (kind2 > rkind) {
  ------------------
  |  Branch (11124:18): [True: 0, False: 0]
  ------------------
11125|       |            /* widen self and buf1 */
11126|      0|            rkind = kind2;
11127|      0|            sbuf = unicode_askind(skind, sbuf, slen, rkind);
11128|      0|            if (!sbuf) goto error;
  ------------------
  |  Branch (11128:17): [True: 0, False: 0]
  ------------------
11129|      0|            srelease = 1;
11130|      0|            if (release1) {
  ------------------
  |  Branch (11130:17): [True: 0, False: 0]
  ------------------
11131|      0|                assert(buf1 != PyUnicode_DATA(str1));
  ------------------
  |  Branch (11131:17): [True: 0, False: 0]
  ------------------
11132|      0|                PyMem_Free((void *)buf1);
11133|      0|                buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11134|      0|                release1 = 0;
11135|      0|            }
11136|      0|            buf1 = unicode_askind(kind1, buf1, len1, rkind);
11137|      0|            if (!buf1) goto error;
  ------------------
  |  Branch (11137:17): [True: 0, False: 0]
  ------------------
11138|      0|            release1 = 1;
11139|      0|        }
11140|       |        /* new_size = PyUnicode_GET_LENGTH(self) + n * (PyUnicode_GET_LENGTH(str2) -
11141|       |           PyUnicode_GET_LENGTH(str1)); */
11142|      0|        if (len1 < len2 && len2 - len1 > (PY_SSIZE_T_MAX - slen) / n) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11142:13): [True: 0, False: 0]
  |  Branch (11142:28): [True: 0, False: 0]
  ------------------
11143|      0|                PyErr_SetString(PyExc_OverflowError,
11144|      0|                                "replace string is too long");
11145|      0|                goto error;
11146|      0|        }
11147|      0|        new_size = slen + n * (len2 - len1);
11148|      0|        if (new_size == 0) {
  ------------------
  |  Branch (11148:13): [True: 0, False: 0]
  ------------------
11149|      0|            u = _PyUnicode_GetEmpty();
11150|      0|            goto done;
11151|      0|        }
11152|      0|        if (new_size > (PY_SSIZE_T_MAX / rkind)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11152:13): [True: 0, False: 0]
  ------------------
11153|      0|            PyErr_SetString(PyExc_OverflowError,
11154|      0|                            "replace string is too long");
11155|      0|            goto error;
11156|      0|        }
11157|      0|        u = PyUnicode_New(new_size, maxchar);
11158|      0|        if (!u)
  ------------------
  |  Branch (11158:13): [True: 0, False: 0]
  ------------------
11159|      0|            goto error;
11160|      0|        assert(PyUnicode_KIND(u) == rkind);
  ------------------
  |  Branch (11160:9): [True: 0, False: 0]
  |  Branch (11160:9): [True: 0, False: 0]
  ------------------
11161|      0|        res = PyUnicode_DATA(u);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11162|      0|        ires = i = 0;
11163|      0|        if (len1 > 0) {
  ------------------
  |  Branch (11163:13): [True: 0, False: 0]
  ------------------
11164|      0|            while (n-- > 0) {
  ------------------
  |  Branch (11164:20): [True: 0, False: 0]
  ------------------
11165|       |                /* look for next match */
11166|      0|                j = anylib_find(rkind, self,
11167|      0|                                sbuf + rkind * i, slen-i,
11168|      0|                                str1, buf1, len1, i);
11169|      0|                if (j == -1)
  ------------------
  |  Branch (11169:21): [True: 0, False: 0]
  ------------------
11170|      0|                    break;
11171|      0|                else if (j > i) {
  ------------------
  |  Branch (11171:26): [True: 0, False: 0]
  ------------------
11172|       |                    /* copy unchanged part [i:j] */
11173|      0|                    memcpy(res + rkind * ires,
11174|      0|                           sbuf + rkind * i,
11175|      0|                           rkind * (j-i));
11176|      0|                    ires += j - i;
11177|      0|                }
11178|       |                /* copy substitution string */
11179|      0|                if (len2 > 0) {
  ------------------
  |  Branch (11179:21): [True: 0, False: 0]
  ------------------
11180|      0|                    memcpy(res + rkind * ires,
11181|      0|                           buf2,
11182|      0|                           rkind * len2);
11183|      0|                    ires += len2;
11184|      0|                }
11185|      0|                i = j + len1;
11186|      0|            }
11187|      0|            if (i < slen)
  ------------------
  |  Branch (11187:17): [True: 0, False: 0]
  ------------------
11188|       |                /* copy tail [i:] */
11189|      0|                memcpy(res + rkind * ires,
11190|      0|                       sbuf + rkind * i,
11191|      0|                       rkind * (slen-i));
11192|      0|        }
11193|      0|        else {
11194|       |            /* interleave */
11195|      0|            while (n > 0) {
  ------------------
  |  Branch (11195:20): [True: 0, False: 0]
  ------------------
11196|      0|                memcpy(res + rkind * ires,
11197|      0|                       buf2,
11198|      0|                       rkind * len2);
11199|      0|                ires += len2;
11200|      0|                if (--n <= 0)
  ------------------
  |  Branch (11200:21): [True: 0, False: 0]
  ------------------
11201|      0|                    break;
11202|      0|                memcpy(res + rkind * ires,
11203|      0|                       sbuf + rkind * i,
11204|      0|                       rkind);
11205|      0|                ires++;
11206|      0|                i++;
11207|      0|            }
11208|      0|            memcpy(res + rkind * ires,
11209|      0|                   sbuf + rkind * i,
11210|      0|                   rkind * (slen-i));
11211|      0|        }
11212|      0|    }
11213|       |
11214|     64|    if (mayshrink) {
  ------------------
  |  Branch (11214:9): [True: 0, False: 64]
  ------------------
11215|      0|        unicode_adjust_maxchar(&u);
11216|      0|        if (u == NULL)
  ------------------
  |  Branch (11216:13): [True: 0, False: 0]
  ------------------
11217|      0|            goto error;
11218|      0|    }
11219|       |
11220|     64|  done:
11221|     64|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11221:5): [True: 64, False: 0]
  |  Branch (11221:5): [True: 0, False: 64]
  |  Branch (11221:5): [True: 64, False: 0]
  ------------------
11222|     64|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11222:5): [True: 64, False: 0]
  |  Branch (11222:5): [True: 0, False: 64]
  |  Branch (11222:5): [True: 64, False: 0]
  ------------------
11223|     64|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11223:5): [True: 64, False: 0]
  |  Branch (11223:5): [True: 0, False: 64]
  |  Branch (11223:5): [True: 64, False: 0]
  ------------------
11224|     64|    if (srelease)
  ------------------
  |  Branch (11224:9): [True: 0, False: 64]
  ------------------
11225|      0|        PyMem_Free((void *)sbuf);
11226|     64|    if (release1)
  ------------------
  |  Branch (11226:9): [True: 0, False: 64]
  ------------------
11227|      0|        PyMem_Free((void *)buf1);
11228|     64|    if (release2)
  ------------------
  |  Branch (11228:9): [True: 0, False: 64]
  ------------------
11229|      0|        PyMem_Free((void *)buf2);
11230|     64|    assert(_PyUnicode_CheckConsistency(u, 1));
  ------------------
  |  Branch (11230:5): [True: 64, False: 0]
  ------------------
11231|     64|    return u;
11232|       |
11233|    401|  nothing:
11234|       |    /* nothing to replace; return original string (when possible) */
11235|    401|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11235:5): [True: 401, False: 0]
  |  Branch (11235:5): [True: 0, False: 401]
  |  Branch (11235:5): [True: 401, False: 0]
  ------------------
11236|    401|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11236:5): [True: 401, False: 0]
  |  Branch (11236:5): [True: 0, False: 401]
  |  Branch (11236:5): [True: 401, False: 0]
  ------------------
11237|    401|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11237:5): [True: 401, False: 0]
  |  Branch (11237:5): [True: 0, False: 401]
  |  Branch (11237:5): [True: 401, False: 0]
  ------------------
11238|    401|    if (srelease)
  ------------------
  |  Branch (11238:9): [True: 0, False: 401]
  ------------------
11239|      0|        PyMem_Free((void *)sbuf);
11240|    401|    if (release1)
  ------------------
  |  Branch (11240:9): [True: 0, False: 401]
  ------------------
11241|      0|        PyMem_Free((void *)buf1);
11242|    401|    if (release2)
  ------------------
  |  Branch (11242:9): [True: 0, False: 401]
  ------------------
11243|      0|        PyMem_Free((void *)buf2);
11244|    401|    return unicode_result_unchanged(self);
11245|       |
11246|      0|  error:
11247|      0|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11247:5): [True: 0, False: 0]
  |  Branch (11247:5): [True: 0, False: 0]
  |  Branch (11247:5): [True: 0, False: 0]
  ------------------
11248|      0|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11248:5): [True: 0, False: 0]
  |  Branch (11248:5): [True: 0, False: 0]
  |  Branch (11248:5): [True: 0, False: 0]
  ------------------
11249|      0|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11249:5): [True: 0, False: 0]
  |  Branch (11249:5): [True: 0, False: 0]
  |  Branch (11249:5): [True: 0, False: 0]
  ------------------
11250|      0|    if (srelease)
  ------------------
  |  Branch (11250:9): [True: 0, False: 0]
  ------------------
11251|      0|        PyMem_Free((void *)sbuf);
11252|      0|    if (release1)
  ------------------
  |  Branch (11252:9): [True: 0, False: 0]
  ------------------
11253|      0|        PyMem_Free((void *)buf1);
11254|      0|    if (release2)
  ------------------
  |  Branch (11254:9): [True: 0, False: 0]
  ------------------
11255|      0|        PyMem_Free((void *)buf2);
11256|       |    return NULL;
11257|      0|}
unicodeobject.c:replace_1char_inplace:
10958|     64|{
10959|     64|    int kind = PyUnicode_KIND(u);
  ------------------
  |  |  259|     64|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    128|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 64, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10960|     64|    void *data = PyUnicode_DATA(u);
  ------------------
  |  |  285|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10961|     64|    Py_ssize_t len = PyUnicode_GET_LENGTH(u);
  ------------------
  |  |  300|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10962|     64|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (10962:9): [True: 64, False: 0]
  ------------------
10963|     64|        ucs1lib_replace_1char_inplace((Py_UCS1 *)data + pos,
10964|     64|                                      (Py_UCS1 *)data + len,
10965|     64|                                      u1, u2, maxcount);
10966|     64|    }
10967|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (10967:14): [True: 0, False: 0]
  ------------------
10968|      0|        ucs2lib_replace_1char_inplace((Py_UCS2 *)data + pos,
10969|      0|                                      (Py_UCS2 *)data + len,
10970|      0|                                      u1, u2, maxcount);
10971|      0|    }
10972|      0|    else {
10973|      0|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (10973:9): [True: 0, False: 0]
  ------------------
10974|      0|        ucs4lib_replace_1char_inplace((Py_UCS4 *)data + pos,
10975|      0|                                      (Py_UCS4 *)data + len,
10976|      0|                                      u1, u2, maxcount);
10977|      0|    }
10978|     64|}
unicodeobject.c:split:
10742|    469|{
10743|    469|    int kind1, kind2;
10744|    469|    const void *buf1, *buf2;
10745|    469|    Py_ssize_t len1, len2;
10746|    469|    PyObject* out;
10747|    469|    len1 = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|    469|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    469|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    469|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10748|    469|    kind1 = PyUnicode_KIND(self);
  ------------------
  |  |  259|    469|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    938|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 469, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10749|       |
10750|    469|    if (substring == NULL) {
  ------------------
  |  Branch (10750:9): [True: 0, False: 469]
  ------------------
10751|      0|        if (maxcount < 0) {
  ------------------
  |  Branch (10751:13): [True: 0, False: 0]
  ------------------
10752|      0|            maxcount = (len1 - 1) / 2 + 1;
10753|      0|        }
10754|      0|        switch (kind1) {
10755|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10755:9): [True: 0, False: 0]
  ------------------
10756|      0|            if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  228|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
10757|      0|                return asciilib_split_whitespace(
10758|      0|                    self,  PyUnicode_1BYTE_DATA(self),
  ------------------
  |  |  292|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10759|      0|                    len1, maxcount
10760|      0|                    );
10761|      0|            else
10762|      0|                return ucs1lib_split_whitespace(
10763|      0|                    self,  PyUnicode_1BYTE_DATA(self),
  ------------------
  |  |  292|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10764|      0|                    len1, maxcount
10765|      0|                    );
10766|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10766:9): [True: 0, False: 0]
  ------------------
10767|      0|            return ucs2lib_split_whitespace(
10768|      0|                self,  PyUnicode_2BYTE_DATA(self),
  ------------------
  |  |  293|      0|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10769|      0|                len1, maxcount
10770|      0|                );
10771|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10771:9): [True: 0, False: 0]
  ------------------
10772|      0|            return ucs4lib_split_whitespace(
10773|      0|                self,  PyUnicode_4BYTE_DATA(self),
  ------------------
  |  |  294|      0|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10774|      0|                len1, maxcount
10775|      0|                );
10776|      0|        default:
  ------------------
  |  Branch (10776:9): [True: 0, False: 0]
  ------------------
10777|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10778|      0|        }
10779|      0|    }
10780|       |
10781|    469|    kind2 = PyUnicode_KIND(substring);
  ------------------
  |  |  259|    469|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    938|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 469, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10782|    469|    len2 = PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  300|    469|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    469|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    469|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10783|    469|    if (maxcount < 0) {
  ------------------
  |  Branch (10783:9): [True: 469, False: 0]
  ------------------
10784|       |        // if len2 == 0, it will raise ValueError.
10785|    469|        maxcount = len2 == 0 ? 0 : (len1 / len2) + 1;
  ------------------
  |  Branch (10785:20): [True: 0, False: 469]
  ------------------
10786|       |        // handle expected overflow case: (Py_SSIZE_T_MAX / 1) + 1
10787|    469|        maxcount = maxcount < 0 ? len1 : maxcount;
  ------------------
  |  Branch (10787:20): [True: 0, False: 469]
  ------------------
10788|    469|    }
10789|    469|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (10789:9): [True: 0, False: 469]
  |  Branch (10789:26): [True: 0, False: 469]
  ------------------
10790|      0|        out = PyList_New(1);
10791|      0|        if (out == NULL)
  ------------------
  |  Branch (10791:13): [True: 0, False: 0]
  ------------------
10792|      0|            return NULL;
10793|      0|        PyList_SET_ITEM(out, 0, Py_NewRef(self));
  ------------------
  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10794|      0|        return out;
10795|      0|    }
10796|    469|    buf1 = PyUnicode_DATA(self);
  ------------------
  |  |  285|    469|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    469|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    469|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10797|    469|    buf2 = PyUnicode_DATA(substring);
  ------------------
  |  |  285|    469|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    469|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    469|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10798|    469|    if (kind2 != kind1) {
  ------------------
  |  Branch (10798:9): [True: 0, False: 469]
  ------------------
10799|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
10800|      0|        if (!buf2)
  ------------------
  |  Branch (10800:13): [True: 0, False: 0]
  ------------------
10801|      0|            return NULL;
10802|      0|    }
10803|       |
10804|    469|    switch (kind1) {
10805|    469|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10805:5): [True: 469, False: 0]
  ------------------
10806|    469|        if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  228|    938|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    469|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    469|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 469, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  228|    469|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    469|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    469|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 469, False: 0]
  |  |  ------------------
  ------------------
10807|    469|            out = asciilib_split(
10808|    469|                self,  buf1, len1, buf2, len2, maxcount);
10809|      0|        else
10810|      0|            out = ucs1lib_split(
10811|      0|                self,  buf1, len1, buf2, len2, maxcount);
10812|    469|        break;
10813|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10813:5): [True: 0, False: 469]
  ------------------
10814|      0|        out = ucs2lib_split(
10815|      0|            self,  buf1, len1, buf2, len2, maxcount);
10816|      0|        break;
10817|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10817:5): [True: 0, False: 469]
  ------------------
10818|      0|        out = ucs4lib_split(
10819|      0|            self,  buf1, len1, buf2, len2, maxcount);
10820|      0|        break;
10821|      0|    default:
  ------------------
  |  Branch (10821:5): [True: 0, False: 469]
  ------------------
10822|      0|        out = NULL;
10823|    469|    }
10824|    469|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(substring)));
  ------------------
  |  Branch (10824:5): [True: 469, False: 0]
  ------------------
10825|    469|    if (kind2 != kind1)
  ------------------
  |  Branch (10825:9): [True: 0, False: 469]
  ------------------
10826|      0|        PyMem_Free((void *)buf2);
10827|    469|    return out;
10828|    469|}
unicodeobject.c:unicode_dealloc:
 1634|  10.9M|{
 1635|       |#ifdef Py_DEBUG
 1636|       |    if (!unicode_is_finalizing() && unicode_is_singleton(unicode)) {
 1637|       |        _Py_FatalRefcountError("deallocating an Unicode singleton");
 1638|       |    }
 1639|       |#endif
 1640|  21.8M|    if (_PyUnicode_STATE(unicode).statically_allocated) {
  ------------------
  |  |  152|  10.9M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  10.9M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1640:9): [True: 10.9M, False: 0]
  |  Branch (1640:9): [True: 0, False: 10.9M]
  ------------------
 1641|       |        /* This should never get called, but we also don't want to SEGV if
 1642|       |        * we accidentally decref an immortal string out of existence. Since
 1643|       |        * the string is an immortal object, just re-set the reference count.
 1644|       |        */
 1645|       |#ifdef Py_DEBUG
 1646|       |        Py_UNREACHABLE();
 1647|       |#endif
 1648|      0|        _Py_SetImmortal(unicode);
 1649|      0|        return;
 1650|      0|    }
 1651|  10.9M|    switch (_PyUnicode_STATE(unicode).interned) {
  ------------------
  |  |  152|  10.9M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  10.9M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1651:13): [True: 10.9M, False: 0]
  ------------------
 1652|  10.9M|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  202|  10.9M|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (1652:9): [True: 10.9M, False: 286]
  ------------------
 1653|  10.9M|            break;
 1654|    286|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  203|    286|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (1654:9): [True: 286, False: 10.9M]
  ------------------
 1655|       |            /* Remove the object from the intern dict.
 1656|       |             * Before doing so, we set the refcount to 2: the key and value
 1657|       |             * in the interned_dict.
 1658|       |             */
 1659|    286|            assert(Py_REFCNT(unicode) == 0);
  ------------------
  |  Branch (1659:13): [True: 286, False: 0]
  ------------------
 1660|    286|            Py_SET_REFCNT(unicode, 2);
  ------------------
  |  |  201|    286|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    286|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    286|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1661|       |#ifdef Py_REF_DEBUG
 1662|       |            /* let's be pedantic with the ref total */
 1663|       |            _Py_IncRefTotal(_PyThreadState_GET());
 1664|       |            _Py_IncRefTotal(_PyThreadState_GET());
 1665|       |#endif
 1666|    286|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1667|    286|            PyObject *interned = get_interned_dict(interp);
 1668|    286|            assert(interned != NULL);
  ------------------
  |  Branch (1668:13): [True: 286, False: 0]
  ------------------
 1669|    286|            PyObject *popped;
 1670|    286|            int r = PyDict_Pop(interned, unicode, &popped);
 1671|    286|            if (r == -1) {
  ------------------
  |  Branch (1671:17): [True: 0, False: 286]
  ------------------
 1672|      0|                PyErr_FormatUnraisable("Exception ignored while "
 1673|      0|                                       "removing an interned string %R",
 1674|      0|                                       unicode);
 1675|       |                // We don't know what happened to the string. It's probably
 1676|       |                // best to leak it:
 1677|       |                // - if it was popped, there are no more references to it
 1678|       |                //   so it can't cause trouble (except wasted memory)
 1679|       |                // - if it wasn't popped, it'll remain interned
 1680|      0|                _Py_SetImmortal(unicode);
 1681|      0|                _PyUnicode_STATE(unicode).interned = SSTATE_INTERNED_IMMORTAL;
  ------------------
  |  |  152|      0|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      0|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      0|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              _PyUnicode_STATE(unicode).interned = SSTATE_INTERNED_IMMORTAL;
  ------------------
  |  |  204|      0|#define SSTATE_INTERNED_IMMORTAL 2
  ------------------
  |  Branch (1681:17): [True: 0, False: 0]
  ------------------
 1682|      0|                return;
 1683|      0|            }
 1684|    286|            if (r == 0) {
  ------------------
  |  Branch (1684:17): [True: 0, False: 286]
  ------------------
 1685|       |                // The interned string was not found in the interned_dict.
 1686|       |#ifdef Py_DEBUG
 1687|       |                Py_UNREACHABLE();
 1688|       |#endif
 1689|      0|                _Py_SetImmortal(unicode);
 1690|      0|                return;
 1691|      0|            }
 1692|       |            // Successfully popped.
 1693|    286|            assert(popped == unicode);
  ------------------
  |  Branch (1693:13): [True: 286, False: 0]
  ------------------
 1694|       |            // Only our `popped` reference should be left; remove it too.
 1695|    286|            assert(Py_REFCNT(unicode) == 1);
  ------------------
  |  Branch (1695:13): [True: 286, False: 0]
  ------------------
 1696|    286|            Py_SET_REFCNT(unicode, 0);
  ------------------
  |  |  201|    286|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|    286|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    286|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1697|       |#ifdef Py_REF_DEBUG
 1698|       |            /* let's be pedantic with the ref total */
 1699|       |            _Py_DecRefTotal(_PyThreadState_GET());
 1700|       |#endif
 1701|    286|            break;
 1702|      0|        default:
  ------------------
  |  Branch (1702:9): [True: 0, False: 10.9M]
  ------------------
 1703|       |            // As with `statically_allocated` above.
 1704|       |#ifdef Py_REF_DEBUG
 1705|       |            Py_UNREACHABLE();
 1706|       |#endif
 1707|      0|            _Py_SetImmortal(unicode);
 1708|      0|            return;
 1709|  10.9M|    }
 1710|  10.9M|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1710:9): [True: 0, False: 10.9M]
  ------------------
 1711|      0|        PyMem_Free(_PyUnicode_UTF8(unicode));
 1712|      0|    }
 1713|  10.9M|    if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) {
  ------------------
  |  |  235|  21.8M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) {
  ------------------
  |  |  164|      0|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  193|      0|    (assert(!_PyASCIIObject_CAST(op)->state.compact), \
  |  |  |  |  194|      0|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (164:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1713:9): [True: 0, False: 10.9M]
  |  Branch (1713:43): [True: 0, False: 0]
  |  Branch (1713:43): [True: 0, False: 0]
  ------------------
 1714|      0|        PyMem_Free(_PyUnicode_DATA_ANY(unicode));
  ------------------
  |  |  164|      0|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  193|      0|    (assert(!_PyASCIIObject_CAST(op)->state.compact), \
  |  |  |  |  194|      0|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1714:20): [True: 0, False: 0]
  |  Branch (1714:20): [True: 0, False: 0]
  ------------------
 1715|      0|    }
 1716|       |
 1717|  10.9M|    Py_TYPE(unicode)->tp_free(unicode);
  ------------------
  |  |  213|  10.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1718|  10.9M|}
unicodeobject.c:unicode_repr:
13112|    330|{
13113|    330|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|    330|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    330|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    330|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13114|    330|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|    330|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    330|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    330|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13115|       |
13116|       |    /* Compute length of output, quote characters, and
13117|       |       maximum character */
13118|    330|    Py_ssize_t osize = 0;
13119|    330|    Py_UCS4 maxch = 127;
13120|    330|    Py_ssize_t squote = 0;
13121|    330|    Py_ssize_t dquote = 0;
13122|    330|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|    330|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    660|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 330, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13123|  12.4M|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (13123:28): [True: 12.4M, False: 330]
  ------------------
13124|  12.4M|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  355|  12.4M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  12.4M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  12.4M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  12.4M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  12.4M|                   (index))
  ------------------
13125|  12.4M|        Py_ssize_t incr = 1;
13126|  12.4M|        switch (ch) {
13127|      0|        case '\'': squote++; break;
  ------------------
  |  Branch (13127:9): [True: 0, False: 12.4M]
  ------------------
13128|      0|        case '"':  dquote++; break;
  ------------------
  |  Branch (13128:9): [True: 0, False: 12.4M]
  ------------------
13129|      0|        case '\\': case '\t': case '\r': case '\n':
  ------------------
  |  Branch (13129:9): [True: 0, False: 12.4M]
  |  Branch (13129:20): [True: 0, False: 12.4M]
  |  Branch (13129:31): [True: 0, False: 12.4M]
  |  Branch (13129:42): [True: 0, False: 12.4M]
  ------------------
13130|      0|            incr = 2;
13131|      0|            break;
13132|  12.4M|        default:
  ------------------
  |  Branch (13132:9): [True: 12.4M, False: 0]
  ------------------
13133|       |            /* Fast-path ASCII */
13134|  12.4M|            if (ch < ' ' || ch == 0x7f)
  ------------------
  |  Branch (13134:17): [True: 0, False: 12.4M]
  |  Branch (13134:29): [True: 0, False: 12.4M]
  ------------------
13135|      0|                incr = 4; /* \xHH */
13136|  12.4M|            else if (ch < 0x7f)
  ------------------
  |  Branch (13136:22): [True: 12.4M, False: 0]
  ------------------
13137|  12.4M|                ;
13138|      0|            else if (Py_UNICODE_ISPRINTABLE(ch))
  ------------------
  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  |  |  |  Branch (722:36): [True: 0, False: 0]
  |  |  ------------------
  ------------------
13139|      0|                maxch = (ch > maxch) ? ch : maxch;
  ------------------
  |  Branch (13139:25): [True: 0, False: 0]
  ------------------
13140|      0|            else if (ch < 0x100)
  ------------------
  |  Branch (13140:22): [True: 0, False: 0]
  ------------------
13141|      0|                incr = 4; /* \xHH */
13142|      0|            else if (ch < 0x10000)
  ------------------
  |  Branch (13142:22): [True: 0, False: 0]
  ------------------
13143|      0|                incr = 6; /* \uHHHH */
13144|      0|            else
13145|      0|                incr = 10; /* \uHHHHHHHH */
13146|  12.4M|        }
13147|  12.4M|        if (osize > PY_SSIZE_T_MAX - incr) {
  ------------------
  |  |  137|  12.4M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (13147:13): [True: 0, False: 12.4M]
  ------------------
13148|      0|            PyErr_SetString(PyExc_OverflowError,
13149|      0|                            "string is too long to generate repr");
13150|      0|            return NULL;
13151|      0|        }
13152|  12.4M|        osize += incr;
13153|  12.4M|    }
13154|       |
13155|    330|    Py_UCS4 quote = '\'';
13156|    330|    int changed = (osize != isize);
13157|    330|    if (squote) {
  ------------------
  |  Branch (13157:9): [True: 0, False: 330]
  ------------------
13158|      0|        changed = 1;
13159|      0|        if (dquote)
  ------------------
  |  Branch (13159:13): [True: 0, False: 0]
  ------------------
13160|       |            /* Both squote and dquote present. Use squote,
13161|       |               and escape them */
13162|      0|            osize += squote;
13163|      0|        else
13164|      0|            quote = '"';
13165|      0|    }
13166|    330|    osize += 2;   /* quotes */
13167|       |
13168|    330|    PyObject *repr = PyUnicode_New(osize, maxch);
13169|    330|    if (repr == NULL)
  ------------------
  |  Branch (13169:9): [True: 0, False: 330]
  ------------------
13170|      0|        return NULL;
13171|    330|    int okind = PyUnicode_KIND(repr);
  ------------------
  |  |  259|    330|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    660|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 330, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13172|    330|    void *odata = PyUnicode_DATA(repr);
  ------------------
  |  |  285|    330|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    330|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    330|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13173|       |
13174|    330|    if (!changed) {
  ------------------
  |  Branch (13174:9): [True: 330, False: 0]
  ------------------
13175|    330|        PyUnicode_WRITE(okind, odata, 0, quote);
  ------------------
  |  |  336|    330|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|    330|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|    330|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|    330|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|    330|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13176|       |
13177|    330|        _PyUnicode_FastCopyCharacters(repr, 1,
13178|    330|                                      unicode, 0,
13179|    330|                                      isize);
13180|       |
13181|    330|        PyUnicode_WRITE(okind, odata, osize-1, quote);
  ------------------
  |  |  336|    330|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|    330|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|    330|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|    330|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|    330|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13182|    330|    }
13183|      0|    else {
13184|      0|        switch (okind) {
13185|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (13185:9): [True: 0, False: 0]
  ------------------
13186|      0|            ucs1lib_repr(unicode, quote, odata);
13187|      0|            break;
13188|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (13188:9): [True: 0, False: 0]
  ------------------
13189|      0|            ucs2lib_repr(unicode, quote, odata);
13190|      0|            break;
13191|      0|        default:
  ------------------
  |  Branch (13191:9): [True: 0, False: 0]
  ------------------
13192|      0|            assert(okind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (13192:13): [True: 0, False: 0]
  ------------------
13193|      0|            ucs4lib_repr(unicode, quote, odata);
13194|      0|        }
13195|      0|    }
13196|       |
13197|    330|    assert(_PyUnicode_CheckConsistency(repr, 1));
  ------------------
  |  Branch (13197:5): [True: 330, False: 0]
  ------------------
13198|    330|    return repr;
13199|    330|}
unicodeobject.c:unicode_mod:
14183|     21|{
14184|     21|    if (!PyUnicode_Check(v))
  ------------------
  |  |  103|     21|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     21|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14184:9): [True: 0, False: 21]
  ------------------
14185|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
14186|     21|    return PyUnicode_Format(v, w);
14187|     21|}
unicodeobject.c:unicode_length:
12680|    669|{
12681|    669|    return PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|    669|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    669|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    669|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12682|    669|}
unicodeobject.c:unicode_getitem:
12112|    199|{
12113|    199|    const void *data;
12114|    199|    int kind;
12115|    199|    Py_UCS4 ch;
12116|       |
12117|    199|    if (!PyUnicode_Check(self)) {
  ------------------
  |  |  103|    199|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    199|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (12117:9): [True: 0, False: 199]
  ------------------
12118|      0|        PyErr_BadArgument();
12119|      0|        return NULL;
12120|      0|    }
12121|    199|    if (index < 0 || index >= PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  300|    199|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    199|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    199|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12121:9): [True: 0, False: 199]
  |  Branch (12121:22): [True: 3, False: 196]
  ------------------
12122|      3|        PyErr_SetString(PyExc_IndexError, "string index out of range");
12123|      3|        return NULL;
12124|      3|    }
12125|    196|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|    196|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    392|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 196, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12126|    196|    data = PyUnicode_DATA(self);
  ------------------
  |  |  285|    196|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    196|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    196|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12127|    196|    ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  355|    196|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    196|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    196|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    196|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    196|                   (index))
  ------------------
12128|    196|    return unicode_char(ch);
12129|    196|}
unicodeobject.c:unicode_subscript:
14209|    306|{
14210|    306|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (14210:9): [True: 199, False: 107]
  ------------------
14211|    199|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
14212|    199|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (14212:13): [True: 98, False: 101]
  |  Branch (14212:24): [True: 0, False: 98]
  ------------------
14213|      0|            return NULL;
14214|    199|        if (i < 0)
  ------------------
  |  Branch (14214:13): [True: 186, False: 13]
  ------------------
14215|    186|            i += PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|    186|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    186|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    186|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14216|    199|        return unicode_getitem(self, i);
14217|    199|    } else if (PySlice_Check(item)) {
  ------------------
  |  |   22|    107|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|    107|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    107|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 107, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14218|    107|        Py_ssize_t start, stop, step, slicelength, i;
14219|    107|        size_t cur;
14220|    107|        PyObject *result;
14221|    107|        const void *src_data;
14222|    107|        void *dest_data;
14223|    107|        int src_kind, dest_kind;
14224|    107|        Py_UCS4 ch, max_char, kind_limit;
14225|       |
14226|    107|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (14226:13): [True: 0, False: 107]
  ------------------
14227|      0|            return NULL;
14228|      0|        }
14229|    107|        slicelength = PySlice_AdjustIndices(PyUnicode_GET_LENGTH(self),
  ------------------
  |  |  300|    107|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    107|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14230|    107|                                            &start, &stop, step);
14231|       |
14232|    107|        if (slicelength <= 0) {
  ------------------
  |  Branch (14232:13): [True: 2, False: 105]
  ------------------
14233|      2|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      2|    do {                             \
  |  |  366|      2|        return _PyUnicode_GetEmpty();\
  |  |  367|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
14234|    105|        } else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (14234:20): [True: 88, False: 17]
  |  Branch (14234:34): [True: 88, False: 0]
  ------------------
14235|     88|                   slicelength == PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  300|     88|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14235:20): [True: 0, False: 88]
  ------------------
14236|      0|            return unicode_result_unchanged(self);
14237|    105|        } else if (step == 1) {
  ------------------
  |  Branch (14237:20): [True: 105, False: 0]
  ------------------
14238|    105|            return PyUnicode_Substring(self,
14239|    105|                                       start, start + slicelength);
14240|    105|        }
14241|       |        /* General case */
14242|      0|        src_kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14243|      0|        src_data = PyUnicode_DATA(self);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14244|      0|        if (!PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  228|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14244:13): [True: 0, False: 0]
  ------------------
14245|      0|            kind_limit = kind_maxchar_limit(src_kind);
14246|      0|            max_char = 0;
14247|      0|            for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (14247:38): [True: 0, False: 0]
  ------------------
14248|      0|                ch = PyUnicode_READ(src_kind, src_data, cur);
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
14249|      0|                if (ch > max_char) {
  ------------------
  |  Branch (14249:21): [True: 0, False: 0]
  ------------------
14250|      0|                    max_char = ch;
14251|      0|                    if (max_char >= kind_limit)
  ------------------
  |  Branch (14251:25): [True: 0, False: 0]
  ------------------
14252|      0|                        break;
14253|      0|                }
14254|      0|            }
14255|      0|        }
14256|      0|        else
14257|      0|            max_char = 127;
14258|      0|        result = PyUnicode_New(slicelength, max_char);
14259|      0|        if (result == NULL)
  ------------------
  |  Branch (14259:13): [True: 0, False: 0]
  ------------------
14260|      0|            return NULL;
14261|      0|        dest_kind = PyUnicode_KIND(result);
  ------------------
  |  |  259|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14262|      0|        dest_data = PyUnicode_DATA(result);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14263|       |
14264|      0|        for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (14264:34): [True: 0, False: 0]
  ------------------
14265|      0|            Py_UCS4 ch = PyUnicode_READ(src_kind, src_data, cur);
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
14266|      0|            PyUnicode_WRITE(dest_kind, dest_data, i, ch);
  ------------------
  |  |  336|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
14267|      0|        }
14268|      0|        assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (14268:9): [True: 0, False: 0]
  ------------------
14269|      0|        return result;
14270|      0|    } else {
14271|      0|        PyErr_Format(PyExc_TypeError, "string indices must be integers, not '%.200s'",
14272|      0|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14273|       |        return NULL;
14274|      0|    }
14275|    306|}
unicodeobject.c:unicode_hash:
12135|   852k|{
12136|   852k|    Py_uhash_t x;  /* Unsigned for defined overflow behavior. */
12137|       |
12138|       |#ifdef Py_DEBUG
12139|       |    assert(_Py_HashSecret_Initialized);
12140|       |#endif
12141|   852k|    Py_hash_t hash = PyUnicode_HASH(self);
  ------------------
  |  |  156|   852k|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
12142|   852k|    if (hash != -1) {
  ------------------
  |  Branch (12142:9): [True: 9.31k, False: 843k]
  ------------------
12143|  9.31k|        return hash;
12144|  9.31k|    }
12145|   843k|    x = Py_HashBuffer(PyUnicode_DATA(self),
  ------------------
  |  |  285|   843k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   843k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   843k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12146|   843k|                      PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  300|   843k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   843k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   843k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                    PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  259|   843k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.68M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 843k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12147|       |
12148|      0|    PyUnicode_SET_HASH(self, x);
12149|   843k|    return x;
12150|   843k|}
unicodeobject.c:PyUnicode_SET_HASH:
  159|   843k|{
  160|   843k|    FT_ATOMIC_STORE_SSIZE_RELAXED(_PyASCIIObject_CAST(op)->hash, hash);
  ------------------
  |  |  197|  1.68M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (197:57): [True: 843k, False: 0]
  |  |  ------------------
  ------------------
  161|   843k|}
unicodeobject.c:unicode_encode_impl:
11998|      6|{
11999|      6|    return PyUnicode_AsEncodedString(self, encoding, errors);
12000|      6|}
unicodeobject.c:unicode_replace_impl:
13050|    465|{
13051|    465|    return replace(self, old, new, count);
13052|    465|}
unicodeobject.c:unicode_split_impl:
13307|    469|{
13308|    469|    if (sep == Py_None)
  ------------------
  |  |  616|    469|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (13308:9): [True: 0, False: 469]
  ------------------
13309|      0|        return split(self, NULL, maxsplit);
13310|    469|    if (PyUnicode_Check(sep))
  ------------------
  |  |  103|    469|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    469|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 469, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13311|    469|        return split(self, sep, maxsplit);
13312|       |
13313|      0|    PyErr_Format(PyExc_TypeError,
13314|      0|                 "must be str or None, not %.100s",
13315|      0|                 Py_TYPE(sep)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13316|       |    return NULL;
13317|    469|}
unicodeobject.c:unicode_join:
12674|  3.57k|{
12675|  3.57k|    return PyUnicode_Join(self, iterable);
12676|  3.57k|}
unicodeobject.c:ascii_upper_or_lower:
10193|      8|{
10194|      8|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|      8|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10195|      8|    const char *data = PyUnicode_DATA(self);
  ------------------
  |  |  285|      8|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10196|      8|    char *resdata;
10197|      8|    PyObject *res;
10198|       |
10199|      8|    res = PyUnicode_New(len, 127);
10200|      8|    if (res == NULL)
  ------------------
  |  Branch (10200:9): [True: 0, False: 8]
  ------------------
10201|      0|        return NULL;
10202|      8|    resdata = PyUnicode_DATA(res);
  ------------------
  |  |  285|      8|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10203|      8|    if (lower)
  ------------------
  |  Branch (10203:9): [True: 8, False: 0]
  ------------------
10204|      8|        _Py_bytes_lower(resdata, data, len);
10205|      0|    else
10206|      0|        _Py_bytes_upper(resdata, data, len);
10207|      8|    return res;
10208|      8|}
unicodeobject.c:unicode_find_impl:
12102|      2|{
12103|      2|    Py_ssize_t result = any_find_slice(str, substr, start, end, 1);
12104|      2|    if (result < 0) {
  ------------------
  |  Branch (12104:9): [True: 0, False: 2]
  ------------------
12105|      0|        return -1;
12106|      0|    }
12107|      2|    return result;
12108|      2|}
unicodeobject.c:unicode_lower_impl:
12716|      8|{
12717|      8|    if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  228|      8|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 8, False: 0]
  |  |  ------------------
  ------------------
12718|      8|        return ascii_upper_or_lower(self, 1);
12719|      0|    return case_operation(self, do_lower);
12720|      8|}
unicodeobject.c:do_argstrip:
12890|  7.04k|{
12891|  7.04k|    if (sep != Py_None) {
  ------------------
  |  |  616|  7.04k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12891:9): [True: 7.04k, False: 0]
  ------------------
12892|  7.04k|        if (PyUnicode_Check(sep))
  ------------------
  |  |  103|  7.04k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.04k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7.04k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12893|  7.04k|            return _PyUnicode_XStrip(self, striptype, sep);
12894|      0|        else {
12895|      0|            PyErr_Format(PyExc_TypeError,
12896|      0|                         "%s arg must be None or str",
12897|      0|                         STRIPNAME(striptype));
  ------------------
  |  |12729|      0|#define STRIPNAME(i) (stripfuncnames[i])
  ------------------
12898|      0|            return NULL;
12899|      0|        }
12900|  7.04k|    }
12901|       |
12902|      0|    return do_strip(self, striptype);
12903|  7.04k|}
unicodeobject.c:unicode_rfind_impl:
13215|    101|{
13216|    101|    Py_ssize_t result = any_find_slice(str, substr, start, end, -1);
13217|    101|    if (result < 0) {
  ------------------
  |  Branch (13217:9): [True: 0, False: 101]
  ------------------
13218|      0|        return -1;
13219|      0|    }
13220|    101|    return result;
13221|    101|}
unicodeobject.c:unicode_rstrip_impl:
12959|  7.04k|{
12960|  7.04k|    return do_argstrip(self, RIGHTSTRIP, chars);
  ------------------
  |  |12723|  7.04k|#define RIGHTSTRIP 1
  ------------------
12961|  7.04k|}
unicodeobject.c:unicode_rpartition:
13462|  2.03k|{
13463|  2.03k|    return PyUnicode_RPartition(self, sep);
13464|  2.03k|}
unicodeobject.c:unicode_startswith_impl:
13788|    660|{
13789|    660|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|    660|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    660|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 13, False: 647]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13790|     13|        Py_ssize_t i;
13791|    104|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   27|    104|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13791:21): [True: 91, False: 13]
  ------------------
13792|     91|            PyObject *substring = PyTuple_GET_ITEM(subobj, i);
  ------------------
  |  |   29|     91|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     91|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13792:35): [True: 91, False: 0]
  ------------------
13793|     91|            if (!PyUnicode_Check(substring)) {
  ------------------
  |  |  103|     91|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     91|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13793:17): [True: 0, False: 91]
  ------------------
13794|      0|                PyErr_Format(PyExc_TypeError,
13795|      0|                             "tuple for startswith must only contain str, "
13796|      0|                             "not %.100s",
13797|      0|                             Py_TYPE(substring)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13798|      0|                return NULL;
13799|      0|            }
13800|     91|            int result = tailmatch(self, substring, start, end, -1);
13801|     91|            if (result < 0) {
  ------------------
  |  Branch (13801:17): [True: 0, False: 91]
  ------------------
13802|      0|                return NULL;
13803|      0|            }
13804|     91|            if (result) {
  ------------------
  |  Branch (13804:17): [True: 0, False: 91]
  ------------------
13805|      0|                Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13806|      0|            }
13807|     91|        }
13808|       |        /* nothing matched */
13809|     13|        Py_RETURN_FALSE;
  ------------------
  |  |   45|     13|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     13|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13810|     13|    }
13811|    647|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|    647|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    647|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13811:9): [True: 0, False: 647]
  ------------------
13812|      0|        PyErr_Format(PyExc_TypeError,
13813|      0|                     "startswith first arg must be str or "
13814|      0|                     "a tuple of str, not %.100s", Py_TYPE(subobj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13815|      0|        return NULL;
13816|      0|    }
13817|    647|    int result = tailmatch(self, subobj, start, end, -1);
13818|    647|    if (result < 0) {
  ------------------
  |  Branch (13818:9): [True: 0, False: 647]
  ------------------
13819|      0|        return NULL;
13820|      0|    }
13821|    647|    return PyBool_FromLong(result);
13822|    647|}
unicodeobject.c:unicode_endswith_impl:
13845|     38|{
13846|     38|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|     38|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     38|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 38]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13847|      0|        Py_ssize_t i;
13848|      0|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13848:21): [True: 0, False: 0]
  ------------------
13849|      0|            PyObject *substring = PyTuple_GET_ITEM(subobj, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13849:35): [True: 0, False: 0]
  ------------------
13850|      0|            if (!PyUnicode_Check(substring)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13850:17): [True: 0, False: 0]
  ------------------
13851|      0|                PyErr_Format(PyExc_TypeError,
13852|      0|                             "tuple for endswith must only contain str, "
13853|      0|                             "not %.100s",
13854|      0|                             Py_TYPE(substring)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13855|      0|                return NULL;
13856|      0|            }
13857|      0|            int result = tailmatch(self, substring, start, end, +1);
13858|      0|            if (result < 0) {
  ------------------
  |  Branch (13858:17): [True: 0, False: 0]
  ------------------
13859|      0|                return NULL;
13860|      0|            }
13861|      0|            if (result) {
  ------------------
  |  Branch (13861:17): [True: 0, False: 0]
  ------------------
13862|      0|                Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13863|      0|            }
13864|      0|        }
13865|      0|        Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13866|      0|    }
13867|     38|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|     38|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     38|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13867:9): [True: 0, False: 38]
  ------------------
13868|      0|        PyErr_Format(PyExc_TypeError,
13869|      0|                     "endswith first arg must be str or "
13870|      0|                     "a tuple of str, not %.100s", Py_TYPE(subobj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13871|      0|        return NULL;
13872|      0|    }
13873|     38|    int result = tailmatch(self, subobj, start, end, +1);
13874|     38|    if (result < 0) {
  ------------------
  |  Branch (13874:9): [True: 0, False: 38]
  ------------------
13875|      0|        return NULL;
13876|      0|    }
13877|     38|    return PyBool_FromLong(result);
13878|     38|}
unicodeobject.c:unicode_isascii_impl:
12190|    523|{
12191|    523|    return PyBool_FromLong(PyUnicode_IS_ASCII(self));
  ------------------
  |  |  228|    523|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    523|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    523|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12192|    523|}
unicodeobject.c:unicode_isidentifier_impl:
12619|      5|{
12620|      5|    return PyBool_FromLong(PyUnicode_IsIdentifier(self));
12621|      5|}
unicodeobject.c:unicode_new_impl:
14301|      7|{
14302|      7|    PyObject *unicode;
14303|      7|    if (x == NULL) {
  ------------------
  |  Branch (14303:9): [True: 0, False: 7]
  ------------------
14304|      0|        unicode = _PyUnicode_GetEmpty();
14305|      0|    }
14306|      7|    else if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (14306:14): [True: 7, False: 0]
  |  Branch (14306:34): [True: 7, False: 0]
  ------------------
14307|      7|        unicode = PyObject_Str(x);
14308|      7|    }
14309|      0|    else {
14310|      0|        unicode = PyUnicode_FromEncodedObject(x, encoding, errors);
14311|      0|    }
14312|       |
14313|      7|    if (unicode != NULL && type != &PyUnicode_Type) {
  ------------------
  |  Branch (14313:9): [True: 7, False: 0]
  |  Branch (14313:28): [True: 7, False: 0]
  ------------------
14314|      7|        Py_SETREF(unicode, unicode_subtype_new(type, unicode));
  ------------------
  |  |  545|      7|    do { \
  |  |  546|      7|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      7|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      7|        *_tmp_dst_ptr = (src); \
  |  |  549|      7|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      7|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
14315|      7|    }
14316|      7|    return unicode;
14317|      7|}
unicodeobject.c:unicode_subtype_new:
14380|      7|{
14381|      7|    PyObject *self;
14382|      7|    Py_ssize_t length, char_size;
14383|      7|    int share_utf8;
14384|      7|    int kind;
14385|      7|    void *data;
14386|       |
14387|      7|    assert(PyType_IsSubtype(type, &PyUnicode_Type));
  ------------------
  |  Branch (14387:5): [True: 7, False: 0]
  ------------------
14388|      7|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (14388:5): [True: 7, False: 0]
  ------------------
14389|       |
14390|      7|    self = type->tp_alloc(type, 0);
14391|      7|    if (self == NULL) {
  ------------------
  |  Branch (14391:9): [True: 0, False: 7]
  ------------------
14392|      0|        return NULL;
14393|      0|    }
14394|      7|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|      7|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14395|      7|    length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|      7|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14396|       |
14397|      7|    _PyUnicode_LENGTH(self) = length;
  ------------------
  |  |  150|      7|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14397:5): [True: 7, False: 0]
  ------------------
14398|       |#ifdef Py_DEBUG
14399|       |    _PyUnicode_HASH(self) = -1;
14400|       |#else
14401|      7|    _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
  ------------------
  |  |  154|      7|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
  ------------------
  |  |  154|      7|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14401:5): [True: 7, False: 0]
  |  Branch (14401:29): [True: 7, False: 0]
  ------------------
14402|      0|#endif
14403|      7|    _PyUnicode_STATE(self).interned = 0;
  ------------------
  |  |  152|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14403:5): [True: 7, False: 0]
  ------------------
14404|      7|    _PyUnicode_STATE(self).kind = kind;
  ------------------
  |  |  152|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14404:5): [True: 7, False: 0]
  ------------------
14405|      7|    _PyUnicode_STATE(self).compact = 0;
  ------------------
  |  |  152|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14405:5): [True: 7, False: 0]
  ------------------
14406|      7|    _PyUnicode_STATE(self).ascii = _PyUnicode_STATE(unicode).ascii;
  ------------------
  |  |  152|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyUnicode_STATE(self).ascii = _PyUnicode_STATE(unicode).ascii;
  ------------------
  |  |  152|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14406:5): [True: 7, False: 0]
  |  Branch (14406:36): [True: 7, False: 0]
  ------------------
14407|      7|    _PyUnicode_STATE(self).statically_allocated = 0;
  ------------------
  |  |  152|      7|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|      7|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      7|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14407:5): [True: 7, False: 0]
  ------------------
14408|      0|    PyUnicode_SET_UTF8_LENGTH(self, 0);
14409|      7|    PyUnicode_SET_UTF8(self, NULL);
14410|      7|    _PyUnicode_DATA_ANY(self) = NULL;
  ------------------
  |  |  164|      7|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  193|      7|    (assert(!_PyASCIIObject_CAST(op)->state.compact), \
  |  |  |  |  194|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14410:5): [True: 7, False: 0]
  |  Branch (14410:5): [True: 7, False: 0]
  ------------------
14411|       |
14412|      0|    share_utf8 = 0;
14413|      7|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (14413:9): [True: 7, False: 0]
  ------------------
14414|      7|        char_size = 1;
14415|      7|        if (PyUnicode_MAX_CHAR_VALUE(unicode) < 128)
  ------------------
  |  |  406|      7|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14415:13): [True: 7, False: 0]
  ------------------
14416|      7|            share_utf8 = 1;
14417|      7|    }
14418|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (14418:14): [True: 0, False: 0]
  ------------------
14419|      0|        char_size = 2;
14420|      0|    }
14421|      0|    else {
14422|      0|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (14422:9): [True: 0, False: 0]
  ------------------
14423|      0|        char_size = 4;
14424|      0|    }
14425|       |
14426|       |    /* Ensure we won't overflow the length. */
14427|      7|    if (length > (PY_SSIZE_T_MAX / char_size - 1)) {
  ------------------
  |  |  137|      7|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (14427:9): [True: 0, False: 7]
  ------------------
14428|      0|        PyErr_NoMemory();
14429|      0|        goto onError;
14430|      0|    }
14431|      7|    data = PyMem_Malloc((length + 1) * char_size);
14432|      7|    if (data == NULL) {
  ------------------
  |  Branch (14432:9): [True: 0, False: 7]
  ------------------
14433|      0|        PyErr_NoMemory();
14434|      0|        goto onError;
14435|      0|    }
14436|       |
14437|     14|    _PyUnicode_DATA_ANY(self) = data;
  ------------------
  |  |  164|      7|    (_PyUnicodeObject_CAST(op)->data.any)
  |  |  ------------------
  |  |  |  |  193|      7|    (assert(!_PyASCIIObject_CAST(op)->state.compact), \
  |  |  |  |  194|      7|     _Py_CAST(PyUnicodeObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14437:5): [True: 7, False: 0]
  |  Branch (14437:5): [True: 7, False: 0]
  ------------------
14438|      7|    if (share_utf8) {
  ------------------
  |  Branch (14438:9): [True: 7, False: 0]
  ------------------
14439|      7|        PyUnicode_SET_UTF8_LENGTH(self, length);
14440|      7|        PyUnicode_SET_UTF8(self, data);
14441|      7|    }
14442|       |
14443|     14|    memcpy(data, PyUnicode_DATA(unicode), kind * (length + 1));
  ------------------
  |  |  285|      7|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14444|     14|    assert(_PyUnicode_CheckConsistency(self, 1));
  ------------------
  |  Branch (14444:5): [True: 7, False: 0]
  ------------------
14445|       |#ifdef Py_DEBUG
14446|       |    _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
14447|       |#endif
14448|      7|    return self;
14449|       |
14450|      0|onError:
14451|      0|    Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14452|       |    return NULL;
14453|     14|}
unicodeobject.c:unicode_vectorcall:
14334|     13|{
14335|     13|    assert(Py_Is(_PyType_CAST(type), &PyUnicode_Type));
  ------------------
  |  Branch (14335:5): [True: 13, False: 0]
  |  Branch (14335:5): [True: 13, False: 0]
  ------------------
14336|       |
14337|     13|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     13|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
14338|     13|    if (kwnames != NULL && PyTuple_GET_SIZE(kwnames) != 0) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14338:9): [True: 0, False: 13]
  |  Branch (14338:28): [True: 0, False: 0]
  ------------------
14339|       |        // Fallback to unicode_new()
14340|      0|        PyObject *tuple = PyTuple_FromArray(args, nargs);
14341|      0|        if (tuple == NULL) {
  ------------------
  |  Branch (14341:13): [True: 0, False: 0]
  ------------------
14342|      0|            return NULL;
14343|      0|        }
14344|      0|        PyObject *dict = _PyStack_AsDict(args + nargs, kwnames);
14345|      0|        if (dict == NULL) {
  ------------------
  |  Branch (14345:13): [True: 0, False: 0]
  ------------------
14346|      0|            Py_DECREF(tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14347|      0|            return NULL;
14348|      0|        }
14349|      0|        PyObject *ret = unicode_new(_PyType_CAST(type), tuple, dict);
  ------------------
  |  |  770|      0|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (14349:37): [True: 0, False: 0]
  ------------------
14350|      0|        Py_DECREF(tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14351|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14352|      0|        return ret;
14353|      0|    }
14354|     13|    if (!_PyArg_CheckPositional("str", nargs, 0, 3)) {
  ------------------
  |  |   38|     13|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 13, False: 0]
  |  |  |  Branch (38:27): [True: 13, False: 0]
  |  |  ------------------
  |  |   39|     13|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
14355|      0|        return NULL;
14356|      0|    }
14357|     13|    if (nargs == 0) {
  ------------------
  |  Branch (14357:9): [True: 0, False: 13]
  ------------------
14358|      0|        return _PyUnicode_GetEmpty();
14359|      0|    }
14360|     13|    PyObject *object = args[0];
14361|     13|    if (nargs == 1) {
  ------------------
  |  Branch (14361:9): [True: 13, False: 0]
  ------------------
14362|     13|        return PyObject_Str(object);
14363|     13|    }
14364|      0|    const char *encoding = arg_as_utf8(args[1], "encoding");
14365|      0|    if (encoding == NULL) {
  ------------------
  |  Branch (14365:9): [True: 0, False: 0]
  ------------------
14366|      0|        return NULL;
14367|      0|    }
14368|      0|    const char *errors = NULL;
14369|      0|    if (nargs == 3) {
  ------------------
  |  Branch (14369:9): [True: 0, False: 0]
  ------------------
14370|      0|        errors = arg_as_utf8(args[2], "errors");
14371|      0|        if (errors == NULL) {
  ------------------
  |  Branch (14371:13): [True: 0, False: 0]
  ------------------
14372|      0|            return NULL;
14373|      0|        }
14374|      0|    }
14375|      0|    return PyUnicode_FromEncodedObject(object, encoding, errors);
14376|      0|}
unicodeobject.c:unicode_iteritem:
14457|    198|{
14458|    198|    if (index >= PyUnicode_GET_LENGTH(obj)) {
  ------------------
  |  |  300|    198|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14458:9): [True: 99, False: 99]
  ------------------
14459|     99|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
14460|     99|    }
14461|     99|    const void *data = PyUnicode_DATA(obj);
  ------------------
  |  |  285|     99|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     99|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14462|     99|    int kind = PyUnicode_KIND(obj);
  ------------------
  |  |  259|     99|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    198|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 99, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14463|     99|    Py_UCS4 ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  355|     99|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     99|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     99|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     99|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     99|                   (index))
  ------------------
14464|     99|    PyObject *result = unicode_char(ch);
14465|     99|    index = (result == NULL) ? -1 : index + 1;
  ------------------
  |  Branch (14465:13): [True: 0, False: 99]
  ------------------
14466|     99|    return (_PyObjectIndexPair) { .object = result, .index = index };
14467|     99|}
unicodeobject.c:_init_global_state:
14542|      2|{
14543|      2|    static int initialized = 0;
14544|      2|    if (initialized) {
  ------------------
  |  Branch (14544:9): [True: 0, False: 2]
  ------------------
14545|      0|        return;
14546|      0|    }
14547|      2|    initialized = 1;
14548|       |
14549|       |    /* initialize the linebreak bloom filter */
14550|      2|    const Py_UCS2 linebreak[] = {
14551|      2|        0x000A, /* LINE FEED */
14552|      2|        0x000D, /* CARRIAGE RETURN */
14553|      2|        0x001C, /* FILE SEPARATOR */
14554|      2|        0x001D, /* GROUP SEPARATOR */
14555|      2|        0x001E, /* RECORD SEPARATOR */
14556|      2|        0x0085, /* NEXT LINE */
14557|      2|        0x2028, /* LINE SEPARATOR */
14558|      2|        0x2029, /* PARAGRAPH SEPARATOR */
14559|      2|    };
14560|      2|    bloom_linebreak = make_bloom_mask(
14561|      2|        PyUnicode_2BYTE_KIND, linebreak,
14562|      2|        Py_ARRAY_LENGTH(linebreak));
  ------------------
  |  |  232|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
14563|      2|}
unicodeobject.c:init_global_interned_strings:
  314|      2|{
  315|      2|    assert(INTERNED_STRINGS == NULL);
  ------------------
  |  Branch (315:5): [True: 2, False: 0]
  ------------------
  316|      2|    _Py_hashtable_allocator_t hashtable_alloc = {PyMem_RawMalloc, PyMem_RawFree};
  317|       |
  318|      2|    INTERNED_STRINGS = _Py_hashtable_new_full(
  ------------------
  |  |  209|      2|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  319|      2|        hashtable_unicode_hash,
  320|      2|        hashtable_unicode_compare,
  321|       |        // Objects stored here are immortal and statically allocated,
  322|       |        // so we don't need key_destroy_func & value_destroy_func:
  323|      2|        NULL,
  324|      2|        NULL,
  325|      2|        &hashtable_alloc
  326|      2|    );
  327|      2|    if (INTERNED_STRINGS == NULL) {
  ------------------
  |  |  209|      2|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  |  Branch (327:9): [True: 0, False: 2]
  ------------------
  328|      0|        PyErr_Clear();
  329|      0|        return _PyStatus_ERR("failed to create global interned dict");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  330|      0|    }
  331|       |
  332|       |    /* Intern statically allocated string identifiers, deepfreeze strings,
  333|       |        * and one-byte latin-1 strings.
  334|       |        * This must be done before any module initialization so that statically
  335|       |        * allocated string identifiers are used instead of heap allocated strings.
  336|       |        * Deepfreeze uses the interned identifiers if present to save space
  337|       |        * else generates them and they are interned to speed up dict lookups.
  338|       |    */
  339|      2|    _PyUnicode_InitStaticStrings(interp);
  340|       |
  341|    514|    for (int i = 0; i < 256; i++) {
  ------------------
  |  Branch (341:21): [True: 512, False: 2]
  ------------------
  342|    512|        PyObject *s = LATIN1(i);
  ------------------
  |  |  174|    512|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  955|    512|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (955:6): [True: 256, False: 256]
  |  |  |  |  ------------------
  |  |  |  |  956|    512|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  957|    512|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|    512|        _PyUnicode_InternStatic(interp, &s);
  344|    512|        assert(s == LATIN1(i));
  ------------------
  |  Branch (344:9): [True: 256, False: 256]
  |  Branch (344:9): [True: 512, False: 0]
  ------------------
  345|    512|    }
  346|       |#ifdef Py_DEBUG
  347|       |    assert(_PyUnicode_CheckConsistency(&_Py_STR(empty), 1));
  348|       |
  349|       |    for (int i = 0; i < 256; i++) {
  350|       |        assert(_PyUnicode_CheckConsistency(LATIN1(i), 1));
  351|       |    }
  352|       |#endif
  353|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  354|      2|}
unicodeobject.c:hashtable_unicode_hash:
  245|   653k|{
  246|   653k|    return unicode_hash((PyObject *)key);
  247|   653k|}
unicodeobject.c:hashtable_unicode_compare:
  251|  24.0k|{
  252|  24.0k|    PyObject *obj1 = (PyObject *)key1;
  253|  24.0k|    PyObject *obj2 = (PyObject *)key2;
  254|  24.0k|    if (obj1 != NULL && obj2 != NULL) {
  ------------------
  |  Branch (254:9): [True: 24.0k, False: 0]
  |  Branch (254:25): [True: 24.0k, False: 0]
  ------------------
  255|  24.0k|        return unicode_eq(obj1, obj2);
  256|  24.0k|    }
  257|      0|    else {
  258|      0|        return obj1 == obj2;
  259|      0|    }
  260|  24.0k|}
unicodeobject.c:init_interned_dict:
  281|      2|{
  282|      2|    assert(get_interned_dict(interp) == NULL);
  ------------------
  |  Branch (282:5): [True: 2, False: 0]
  ------------------
  283|      2|    PyObject *interned;
  284|      2|    if (has_shared_intern_dict(interp)) {
  ------------------
  |  Branch (284:9): [True: 0, False: 2]
  ------------------
  285|      0|        interned = get_interned_dict(_PyInterpreterState_Main());
  286|      0|        Py_INCREF(interned);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  287|      0|    }
  288|      2|    else {
  289|      2|        interned = PyDict_New();
  290|      2|        if (interned == NULL) {
  ------------------
  |  Branch (290:13): [True: 0, False: 2]
  ------------------
  291|      0|            return -1;
  292|      0|        }
  293|      2|    }
  294|      2|    _Py_INTERP_CACHED_OBJECT(interp, interned_strings) = interned;
  ------------------
  |  |   22|      2|    (interp)->cached_objects.NAME
  ------------------
  295|      2|    return 0;
  296|      2|}
unicodeobject.c:intern_static:
14615|  2.30k|{
14616|       |    // Note that this steals a reference to `s`, but in many cases that
14617|       |    // stolen ref is returned, requiring no decref/incref.
14618|       |
14619|  2.30k|    assert(s != NULL);
  ------------------
  |  Branch (14619:5): [True: 2.30k, False: 0]
  ------------------
14620|  2.30k|    assert(_PyUnicode_CHECK(s));
  ------------------
  |  Branch (14620:5): [True: 2.30k, False: 0]
  ------------------
14621|  2.30k|    assert(_PyUnicode_STATE(s).statically_allocated);
  ------------------
  |  Branch (14621:5): [True: 2.30k, False: 0]
  |  Branch (14621:5): [True: 2.30k, False: 0]
  ------------------
14622|  2.30k|    assert(!PyUnicode_CHECK_INTERNED(s));
  ------------------
  |  Branch (14622:5): [True: 2.30k, False: 0]
  ------------------
14623|       |
14624|       |#ifdef Py_DEBUG
14625|       |    /* We must not add process-global interned string if there's already a
14626|       |     * per-interpreter interned_dict, which might contain duplicates.
14627|       |     */
14628|       |    PyObject *interned = get_interned_dict(interp);
14629|       |    assert(interned == NULL);
14630|       |#endif
14631|       |
14632|       |    /* Look in the global cache first. */
14633|  2.30k|    PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  209|  2.30k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14634|       |    /* We should only init each string once */
14635|  2.30k|    assert(r == NULL);
  ------------------
  |  Branch (14635:5): [True: 2.30k, False: 0]
  ------------------
14636|       |    /* but just in case (for the non-debug build), handle this */
14637|  2.30k|    if (r != NULL && r != s) {
  ------------------
  |  Branch (14637:9): [True: 0, False: 2.30k]
  |  Branch (14637:22): [True: 0, False: 0]
  ------------------
14638|      0|        assert(_PyUnicode_STATE(r).interned == SSTATE_INTERNED_IMMORTAL_STATIC);
  ------------------
  |  Branch (14638:9): [True: 0, False: 0]
  |  Branch (14638:9): [True: 0, False: 0]
  ------------------
14639|      0|        assert(_PyUnicode_CHECK(r));
  ------------------
  |  Branch (14639:9): [True: 0, False: 0]
  ------------------
14640|      0|        Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14641|      0|        return Py_NewRef(r);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14642|      0|    }
14643|       |
14644|  2.30k|    if (_Py_hashtable_set(INTERNED_STRINGS, s, s) < 0) {
  ------------------
  |  |  209|  2.30k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  |  Branch (14644:9): [True: 0, False: 2.30k]
  ------------------
14645|      0|        Py_FatalError("failed to intern static string");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
14646|      0|    }
14647|       |
14648|  2.30k|    _PyUnicode_STATE(s).interned = SSTATE_INTERNED_IMMORTAL_STATIC;
  ------------------
  |  |  152|  2.30k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  2.30k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  2.30k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyUnicode_STATE(s).interned = SSTATE_INTERNED_IMMORTAL_STATIC;
  ------------------
  |  |  205|  2.30k|#define SSTATE_INTERNED_IMMORTAL_STATIC 3
  ------------------
  |  Branch (14648:5): [True: 2.30k, False: 0]
  ------------------
14649|      0|    return s;
14650|  2.30k|}
unicodeobject.c:intern_common:
14697|   862k|{
14698|       |    // Note that this steals a reference to `s`, but in many cases that
14699|       |    // stolen ref is returned, requiring no decref/incref.
14700|       |
14701|       |#ifdef Py_DEBUG
14702|       |    assert(s != NULL);
14703|       |    assert(_PyUnicode_CHECK(s));
14704|       |#else
14705|   862k|    if (s == NULL || !PyUnicode_Check(s)) {
  ------------------
  |  |  103|   862k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   862k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14705:9): [True: 0, False: 862k]
  |  Branch (14705:22): [True: 0, False: 862k]
  ------------------
14706|      0|        return s;
14707|      0|    }
14708|   862k|#endif
14709|       |
14710|       |    /* If it's a subclass, we don't really know what putting
14711|       |       it in the interned dict might do. */
14712|   862k|    if (!PyUnicode_CheckExact(s)) {
  ------------------
  |  |  104|   862k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   862k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   862k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   862k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14712:9): [True: 0, False: 862k]
  ------------------
14713|      0|        return s;
14714|      0|    }
14715|       |
14716|       |    /* Is it already interned? */
14717|   862k|    switch (PyUnicode_CHECK_INTERNED(s)) {
  ------------------
  |  |  215|   862k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   862k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   862k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14718|   642k|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  202|   642k|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (14718:9): [True: 642k, False: 220k]
  ------------------
14719|       |            // no, go on
14720|   642k|            break;
14721|  16.9k|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  203|  16.9k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14721:9): [True: 16.9k, False: 845k]
  ------------------
14722|  16.9k|#ifndef Py_GIL_DISABLED
14723|       |            // yes but we might need to make it immortal
14724|  16.9k|            if (immortalize) {
  ------------------
  |  Branch (14724:17): [True: 129, False: 16.7k]
  ------------------
14725|    129|                immortalize_interned(s);
14726|    129|            }
14727|  16.9k|            return s;
14728|       |#else
14729|       |            // not fully interned yet; fall through to the locking path
14730|       |            break;
14731|       |#endif
14732|   203k|        default:
  ------------------
  |  Branch (14732:9): [True: 203k, False: 658k]
  ------------------
14733|       |            // all done
14734|   203k|            return s;
14735|   862k|    }
14736|       |
14737|       |    /* Statically allocated strings must be already interned. */
14738|   862k|    assert(!_PyUnicode_STATE(s).statically_allocated);
  ------------------
  |  Branch (14738:5): [True: 642k, False: 0]
  |  Branch (14738:5): [True: 642k, False: 0]
  ------------------
14739|       |
14740|       |#ifdef Py_GIL_DISABLED
14741|       |    /* In the free-threaded build, all interned strings are immortal */
14742|       |    immortalize = 1;
14743|       |#endif
14744|       |
14745|       |    /* If it's already immortal, intern it as such */
14746|   642k|    if (_Py_IsImmortal(s)) {
  ------------------
  |  |  137|   642k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   642k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   642k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 642k]
  |  |  ------------------
  ------------------
14747|      0|        immortalize = 1;
14748|      0|    }
14749|       |
14750|       |    /* if it's a short string, get the singleton */
14751|   642k|    if (PyUnicode_GET_LENGTH(s) == 1 &&
  ------------------
  |  |  300|   642k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   642k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   642k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14751:9): [True: 0, False: 642k]
  ------------------
14752|      0|                PyUnicode_KIND(s) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  259|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14752:17): [True: 0, False: 0]
  ------------------
14753|      0|        PyObject *r = LATIN1(*(unsigned char*)PyUnicode_DATA(s));
  ------------------
  |  |  174|      0|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  955|      0|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (955:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  956|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  957|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14754|      0|        assert(PyUnicode_CHECK_INTERNED(r));
  ------------------
  |  Branch (14754:9): [True: 0, False: 0]
  ------------------
14755|      0|        Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14756|      0|        return r;
14757|      0|    }
14758|       |#ifdef Py_DEBUG
14759|       |    assert(!unicode_is_singleton(s));
14760|       |#endif
14761|       |
14762|       |    /* Look in the global cache now. */
14763|   642k|    {
14764|   642k|        PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  209|   642k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14765|   642k|        if (r != NULL) {
  ------------------
  |  Branch (14765:13): [True: 24.0k, False: 617k]
  ------------------
14766|  24.0k|            assert(_PyUnicode_STATE(r).statically_allocated);
  ------------------
  |  Branch (14766:13): [True: 24.0k, False: 0]
  |  Branch (14766:13): [True: 24.0k, False: 0]
  ------------------
14767|  24.0k|            assert(r != s);  // r must be statically_allocated; s is not
  ------------------
  |  Branch (14767:13): [True: 24.0k, False: 0]
  ------------------
14768|  24.0k|            Py_DECREF(s);
  ------------------
  |  |  430|  24.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14769|  24.0k|            return Py_NewRef(r);
  ------------------
  |  |  647|  24.0k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  24.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14770|  24.0k|        }
14771|   642k|    }
14772|       |
14773|       |    /* Do a setdefault on the per-interpreter cache. */
14774|   617k|    PyObject *interned = get_interned_dict(interp);
14775|   617k|    assert(interned != NULL);
  ------------------
  |  Branch (14775:5): [True: 617k, False: 0]
  ------------------
14776|       |#ifdef Py_GIL_DISABLED
14777|       |#  define INTERN_MUTEX &_Py_INTERP_CACHED_OBJECT(interp, interned_mutex)
14778|       |    // Lock-free fast path: check if there's already an interned copy that
14779|       |    // is in its final immortal state.
14780|       |    PyObject *r;
14781|       |    int res = PyDict_GetItemRef(interned, s, &r);
14782|       |    if (res < 0) {
14783|       |        PyErr_Clear();
14784|       |        return s;
14785|       |    }
14786|       |    if (res > 0) {
14787|       |        unsigned int state = _Py_atomic_load_uint8(&_PyUnicode_STATE(r).interned);
14788|       |        if (state == SSTATE_INTERNED_IMMORTAL) {
14789|       |            Py_DECREF(s);
14790|       |            return r;
14791|       |        }
14792|       |        // Not yet fully interned; fall through to the locking path.
14793|       |        Py_DECREF(r);
14794|       |    }
14795|       |#endif
14796|       |
14797|       |#ifdef Py_GIL_DISABLED
14798|       |    // Immortalization writes to the refcount fields non-atomically. That
14799|       |    // races with Py_INCREF / Py_DECREF on the thread that owns `s`. If we
14800|       |    // don't own it (and its refcount hasn't been merged), intern a copy
14801|       |    // we own instead.
14802|       |    if (!can_immortalize_safely(s)) {
14803|       |        PyObject *copy = _PyUnicode_Copy(s);
14804|       |        if (copy == NULL) {
14805|       |            PyErr_Clear();
14806|       |            return s;
14807|       |        }
14808|       |        Py_DECREF(s);
14809|       |        s = copy;
14810|       |    }
14811|       |#endif
14812|       |
14813|       |    // Why _Py_LOCK_DONT_DETACH is used here: waiting for the interned mutex
14814|       |    // must not detach the thread state. Extension code is expected to
14815|       |    // detach before blocking on opaque external synchronization. However,
14816|       |    // the lock used for C++ static initialization is hidden, making
14817|       |    // that difficult, and it is common for C++ extensions to call
14818|       |    // PyUnicode_InternFromString() from static initializers. Detaching here
14819|       |    // can therefore deadlock: a stop-the-world pause may prevent the lock
14820|       |    // owner from reattaching while the pause waits for another attached
14821|       |    // thread blocked on the hidden lock.
14822|   617k|    FT_MUTEX_LOCK_FLAGS(INTERN_MUTEX, _Py_LOCK_DONT_DETACH);
  ------------------
  |  |  208|   617k|#define FT_MUTEX_LOCK_FLAGS(lock, flags) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (208:55): [Folded, False: 617k]
  |  |  ------------------
  ------------------
14823|   617k|    PyObject *t;
14824|   617k|    {
14825|   617k|        int res = PyDict_SetDefaultRef(interned, s, s, &t);
14826|   617k|        if (res < 0) {
  ------------------
  |  Branch (14826:13): [True: 0, False: 617k]
  ------------------
14827|      0|            PyErr_Clear();
14828|      0|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  209|      0|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 0]
  |  |  ------------------
  ------------------
14829|      0|            return s;
14830|      0|        }
14831|   617k|        else if (res == 1) {
  ------------------
  |  Branch (14831:18): [True: 608k, False: 9.70k]
  ------------------
14832|       |            // value was already present (not inserted)
14833|   608k|            Py_DECREF(s);
  ------------------
  |  |  430|   608k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   608k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   608k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14834|   608k|            if (immortalize &&
  ------------------
  |  Branch (14834:17): [True: 4.36k, False: 603k]
  ------------------
14835|  4.36k|                    PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  215|  4.36k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                  PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  203|  4.36k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14835:21): [True: 390, False: 3.97k]
  ------------------
14836|    390|                immortalize_interned(t);
14837|    390|            }
14838|   608k|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  209|   608k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 608k]
  |  |  ------------------
  ------------------
14839|   608k|            return t;
14840|   608k|        }
14841|  9.70k|        else {
14842|       |            // value was newly inserted
14843|  9.70k|            assert (s == t);
  ------------------
  |  Branch (14843:13): [True: 9.70k, False: 0]
  ------------------
14844|  9.70k|            Py_DECREF(t);
  ------------------
  |  |  430|  9.70k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14845|  9.70k|        }
14846|   617k|    }
14847|       |
14848|       |    /* NOT_INTERNED -> INTERNED_MORTAL */
14849|       |
14850|   617k|    assert(_PyUnicode_STATE(s).interned == SSTATE_NOT_INTERNED);
  ------------------
  |  Branch (14850:5): [True: 9.70k, False: 0]
  |  Branch (14850:5): [True: 9.70k, False: 0]
  ------------------
14851|       |
14852|  9.70k|    if (!_Py_IsImmortal(s)) {
  ------------------
  |  |  137|  9.70k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14852:9): [True: 9.70k, False: 0]
  ------------------
14853|       |        /* The two references in interned dict (key and value) are not counted.
14854|       |        unicode_dealloc() and _PyUnicode_ClearInterned() take care of this. */
14855|  9.70k|        Py_DECREF(s);
  ------------------
  |  |  430|  9.70k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14856|  9.70k|        Py_DECREF(s);
  ------------------
  |  |  430|  9.70k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14857|  9.70k|    }
14858|  9.70k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_MORTAL);
  ------------------
  |  |  157|  19.4k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (157:49): [True: 9.70k, False: 0]
  |  |  ------------------
  ------------------
14859|       |
14860|       |    /* INTERNED_MORTAL -> INTERNED_IMMORTAL (if needed) */
14861|       |
14862|       |#ifdef Py_DEBUG
14863|       |    if (_Py_IsImmortal(s)) {
14864|       |        assert(immortalize);
14865|       |    }
14866|       |#endif
14867|  9.70k|    if (immortalize) {
  ------------------
  |  Branch (14867:9): [True: 7.70k, False: 1.99k]
  ------------------
14868|  7.70k|        immortalize_interned(s);
14869|  7.70k|    }
14870|       |
14871|  9.70k|    FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  209|  9.70k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 9.70k]
  |  |  ------------------
  ------------------
14872|  9.70k|    return s;
14873|  9.70k|}
unicodeobject.c:immortalize_interned:
14664|  8.22k|{
14665|  8.22k|    assert(PyUnicode_CHECK_INTERNED(s) == SSTATE_INTERNED_MORTAL);
  ------------------
  |  Branch (14665:5): [True: 8.22k, False: 0]
  ------------------
14666|  8.22k|    assert(!_Py_IsImmortal(s));
  ------------------
  |  Branch (14666:5): [True: 8.22k, False: 0]
  ------------------
14667|       |#ifdef Py_REF_DEBUG
14668|       |    /* The reference count value should be excluded from the RefTotal.
14669|       |       The decrements to these objects will not be registered so they
14670|       |       need to be accounted for in here. */
14671|       |    for (Py_ssize_t i = 0; i < Py_REFCNT(s); i++) {
14672|       |        _Py_DecRefTotal(_PyThreadState_GET());
14673|       |    }
14674|       |#endif
14675|  8.22k|    _Py_SetImmortal(s);
14676|       |    // The switch to SSTATE_INTERNED_IMMORTAL must be the last thing done here
14677|       |    // to synchronize with the check in intern_common() that avoids locking if
14678|       |    // the string is already immortal.
14679|  8.22k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_IMMORTAL);
  ------------------
  |  |  157|  16.4k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (157:49): [True: 8.22k, False: 0]
  |  |  ------------------
  ------------------
14680|  8.22k|}
unicodeobject.c:has_shared_intern_dict:
  274|      2|{
  275|      2|    PyInterpreterState *main_interp = _PyInterpreterState_Main();
  276|      2|    return interp != main_interp  && interp->feature_flags & Py_RTFLAGS_USE_MAIN_OBMALLOC;
  ------------------
  |  |   79|      2|#define Py_RTFLAGS_USE_MAIN_OBMALLOC (1UL << 5)
  ------------------
  |  Branch (276:12): [True: 0, False: 2]
  |  Branch (276:38): [True: 0, False: 0]
  ------------------
  277|      2|}
unicodeobject.c:unicodeiter_dealloc:
15025|   403k|{
15026|   403k|    unicodeiterobject *it = (unicodeiterobject *)op;
15027|   403k|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  504|   403k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15028|   403k|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|   403k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15029|   403k|    PyObject_GC_Del(it);
15030|   403k|}
unicodeobject.c:unicodeiter_next:
15042|   106M|{
15043|   106M|    unicodeiterobject *it = (unicodeiterobject *)op;
15044|   106M|    PyObject *seq;
15045|       |
15046|   106M|    assert(it != NULL);
  ------------------
  |  Branch (15046:5): [True: 106M, False: 0]
  ------------------
15047|   106M|    seq = it->it_seq;
15048|   106M|    if (seq == NULL)
  ------------------
  |  Branch (15048:9): [True: 0, False: 106M]
  ------------------
15049|      0|        return NULL;
15050|   106M|    assert(_PyUnicode_CHECK(seq));
  ------------------
  |  Branch (15050:5): [True: 106M, False: 0]
  ------------------
15051|       |
15052|   106M|    if (it->it_index < PyUnicode_GET_LENGTH(seq)) {
  ------------------
  |  |  300|   106M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   106M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   106M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15052:9): [True: 105M, False: 383k]
  ------------------
15053|   105M|        int kind = PyUnicode_KIND(seq);
  ------------------
  |  |  259|   105M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   211M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 105M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15054|   105M|        const void *data = PyUnicode_DATA(seq);
  ------------------
  |  |  285|   105M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   105M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   105M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15055|   105M|        Py_UCS4 chr = PyUnicode_READ(kind, data, it->it_index);
  ------------------
  |  |  355|   105M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   105M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   105M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   105M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   105M|                   (index))
  ------------------
15056|   105M|        it->it_index++;
15057|   105M|        return unicode_char(chr);
15058|   105M|    }
15059|       |
15060|   383k|    it->it_seq = NULL;
15061|   383k|    Py_DECREF(seq);
  ------------------
  |  |  430|   383k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   383k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   383k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15062|       |    return NULL;
15063|   106M|}
unicodeobject.c:unicodeiter_len:
15090|   403k|{
15091|   403k|    unicodeiterobject *it = (unicodeiterobject *)op;
15092|   403k|    Py_ssize_t len = 0;
15093|   403k|    if (it->it_seq)
  ------------------
  |  Branch (15093:9): [True: 403k, False: 0]
  ------------------
15094|   403k|        len = PyUnicode_GET_LENGTH(it->it_seq) - it->it_index;
  ------------------
  |  |  300|   403k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15095|   403k|    return PyLong_FromSsize_t(len);
15096|   403k|}
unicodeobject.c:unicode_ascii_iter_next:
15067|   952k|{
15068|   952k|    unicodeiterobject *it = (unicodeiterobject *)op;
15069|   952k|    assert(it != NULL);
  ------------------
  |  Branch (15069:5): [True: 952k, False: 0]
  ------------------
15070|   952k|    PyObject *seq = it->it_seq;
15071|   952k|    if (seq == NULL) {
  ------------------
  |  Branch (15071:9): [True: 0, False: 952k]
  ------------------
15072|      0|        return NULL;
15073|      0|    }
15074|   952k|    assert(_PyUnicode_CHECK(seq));
  ------------------
  |  Branch (15074:5): [True: 952k, False: 0]
  ------------------
15075|   952k|    assert(PyUnicode_IS_COMPACT_ASCII(seq));
  ------------------
  |  Branch (15075:5): [True: 952k, False: 0]
  ------------------
15076|   952k|    if (it->it_index < PyUnicode_GET_LENGTH(seq)) {
  ------------------
  |  |  300|   952k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   952k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   952k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15076:9): [True: 933k, False: 19.6k]
  ------------------
15077|   933k|        const void *data = ((void*)(_PyASCIIObject_CAST(seq) + 1));
  ------------------
  |  |  186|   933k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   933k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   933k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (15077:37): [True: 933k, False: 0]
  ------------------
15078|   933k|        Py_UCS1 chr = (Py_UCS1)PyUnicode_READ(PyUnicode_1BYTE_KIND,
  ------------------
  |  |  355|   933k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   933k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   933k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   933k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   933k|                   (index))
  ------------------
15079|   933k|                                              data, it->it_index);
15080|   933k|        it->it_index++;
15081|   933k|        return (PyObject*)&_Py_SINGLETON(strings).ascii[chr];
  ------------------
  |  |   18|   933k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|   933k|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
15082|   933k|    }
15083|  19.6k|    it->it_seq = NULL;
15084|  19.6k|    Py_DECREF(seq);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15085|       |    return NULL;
15086|   952k|}
unicodeobject.c:unicode_iter:
15198|   403k|{
15199|   403k|    unicodeiterobject *it;
15200|       |
15201|   403k|    if (!PyUnicode_Check(seq)) {
  ------------------
  |  |  103|   403k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   403k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (15201:9): [True: 0, False: 403k]
  ------------------
15202|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
15203|      0|        return NULL;
15204|      0|    }
15205|   403k|    if (PyUnicode_IS_COMPACT_ASCII(seq)) {
  ------------------
  |  |  242|   403k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:40): [True: 19.6k, False: 383k]
  |  |  ------------------
  ------------------
15206|  19.6k|        it = PyObject_GC_New(unicodeiterobject, &_PyUnicodeASCIIIter_Type);
  ------------------
  |  |  181|  19.6k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  19.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
15207|  19.6k|    }
15208|   383k|    else {
15209|   383k|        it = PyObject_GC_New(unicodeiterobject, &PyUnicodeIter_Type);
  ------------------
  |  |  181|   383k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|   383k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
15210|   383k|    }
15211|   403k|    if (it == NULL)
  ------------------
  |  Branch (15211:9): [True: 0, False: 403k]
  ------------------
15212|      0|        return NULL;
15213|   403k|    it->it_index = 0;
15214|   403k|    it->it_seq = Py_NewRef(seq);
  ------------------
  |  |  647|   403k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15215|   403k|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  502|   403k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15216|   403k|    return (PyObject *)it;
15217|   403k|}
unicodeobject.c:init_fs_encoding:
15362|      2|{
15363|      2|    PyInterpreterState *interp = tstate->interp;
15364|       |
15365|       |    /* Update the filesystem encoding to the normalized Python codec name.
15366|       |       For example, replace "ANSI_X3.4-1968" (locale encoding) with "ascii"
15367|       |       (Python codec name). */
15368|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
15369|      2|    if (config_get_codec_name(&config->filesystem_encoding) < 0) {
  ------------------
  |  Branch (15369:9): [True: 0, False: 2]
  ------------------
15370|      0|        _Py_DumpPathConfig(tstate);
15371|      0|        return _PyStatus_ERR("failed to get the Python codec "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
15372|      0|                             "of the filesystem encoding");
15373|      0|    }
15374|       |
15375|      2|    if (init_fs_codec(interp) < 0) {
  ------------------
  |  Branch (15375:9): [True: 0, False: 2]
  ------------------
15376|      0|        return _PyStatus_ERR("cannot initialize filesystem codec");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
15377|      0|    }
15378|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15379|      2|}
unicodeobject.c:config_get_codec_name:
15241|      4|{
15242|      4|    char *encoding;
15243|      4|    if (encode_wstr_utf8(*config_encoding, &encoding, "stdio_encoding") < 0) {
  ------------------
  |  Branch (15243:9): [True: 0, False: 4]
  ------------------
15244|      0|        return -1;
15245|      0|    }
15246|       |
15247|      4|    PyObject *name_obj = NULL;
15248|      4|    PyObject *codec = _PyCodec_Lookup(encoding);
15249|      4|    PyMem_RawFree(encoding);
15250|       |
15251|      4|    if (!codec)
  ------------------
  |  Branch (15251:9): [True: 0, False: 4]
  ------------------
15252|      0|        goto error;
15253|       |
15254|      4|    name_obj = PyObject_GetAttrString(codec, "name");
15255|      4|    Py_CLEAR(codec);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  491|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      4|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      4|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
15256|      4|    if (!name_obj) {
  ------------------
  |  Branch (15256:9): [True: 0, False: 4]
  ------------------
15257|      0|        goto error;
15258|      0|    }
15259|       |
15260|      4|    wchar_t *wname = PyUnicode_AsWideCharString(name_obj, NULL);
15261|      4|    Py_DECREF(name_obj);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15262|      4|    if (wname == NULL) {
  ------------------
  |  Branch (15262:9): [True: 0, False: 4]
  ------------------
15263|      0|        goto error;
15264|      0|    }
15265|       |
15266|      4|    wchar_t *raw_wname = _PyMem_RawWcsdup(wname);
15267|      4|    if (raw_wname == NULL) {
  ------------------
  |  Branch (15267:9): [True: 0, False: 4]
  ------------------
15268|      0|        PyMem_Free(wname);
15269|      0|        PyErr_NoMemory();
15270|      0|        goto error;
15271|      0|    }
15272|       |
15273|      4|    PyMem_RawFree(*config_encoding);
15274|      4|    *config_encoding = raw_wname;
15275|       |
15276|      4|    PyMem_Free(wname);
15277|      4|    return 0;
15278|       |
15279|      0|error:
15280|      0|    Py_XDECREF(codec);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15281|      0|    Py_XDECREF(name_obj);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15282|      0|    return -1;
15283|      4|}
unicodeobject.c:encode_wstr_utf8:
15221|      8|{
15222|      8|    assert(str != NULL);
  ------------------
  |  Branch (15222:5): [True: 8, False: 0]
  ------------------
15223|       |
15224|      8|    size_t unused_output_length;
15225|      8|    int res = _Py_EncodeUTF8(wstr, str, &unused_output_length,
15226|      8|                             NULL, 1, _Py_ERROR_STRICT);
15227|      8|    if (res == -2) {
  ------------------
  |  Branch (15227:9): [True: 0, False: 8]
  ------------------
15228|      0|        PyErr_Format(PyExc_RuntimeError, "cannot encode %s", name);
15229|      0|        return -1;
15230|      0|    }
15231|      8|    if (res < 0) {
  ------------------
  |  Branch (15231:9): [True: 0, False: 8]
  ------------------
15232|      0|        PyErr_NoMemory();
15233|      0|        return -1;
15234|      0|    }
15235|      8|    return 0;
15236|      8|}
unicodeobject.c:init_fs_codec:
15305|      2|{
15306|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
15307|       |
15308|      2|    _Py_error_handler error_handler;
15309|      2|    error_handler = get_error_handler_wide(config->filesystem_errors);
15310|      2|    if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (15310:9): [True: 0, False: 2]
  ------------------
15311|      0|        PyErr_SetString(PyExc_RuntimeError, "unknown filesystem error handler");
15312|      0|        return -1;
15313|      0|    }
15314|       |
15315|      2|    char *encoding, *errors;
15316|      2|    if (encode_wstr_utf8(config->filesystem_encoding,
  ------------------
  |  Branch (15316:9): [True: 0, False: 2]
  ------------------
15317|      2|                         &encoding,
15318|      2|                         "filesystem_encoding") < 0) {
15319|      0|        return -1;
15320|      0|    }
15321|       |
15322|      2|    if (encode_wstr_utf8(config->filesystem_errors,
  ------------------
  |  Branch (15322:9): [True: 0, False: 2]
  ------------------
15323|      2|                         &errors,
15324|      2|                         "filesystem_errors") < 0) {
15325|      0|        PyMem_RawFree(encoding);
15326|      0|        return -1;
15327|      0|    }
15328|       |
15329|      2|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
15330|      2|    PyMem_RawFree(fs_codec->encoding);
15331|      2|    fs_codec->encoding = encoding;
15332|       |    /* encoding has been normalized by init_fs_encoding() */
15333|      2|    fs_codec->utf8 = (strcmp(encoding, "utf-8") == 0);
15334|      2|    PyMem_RawFree(fs_codec->errors);
15335|      2|    fs_codec->errors = errors;
15336|      2|    fs_codec->error_handler = error_handler;
15337|       |
15338|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
15339|       |    assert(fs_codec->utf8 == 1);
15340|       |#endif
15341|       |
15342|       |    /* At this point, PyUnicode_EncodeFSDefault() and
15343|       |       PyUnicode_DecodeFSDefault() can now use the Python codec rather than
15344|       |       the C implementation of the filesystem encoding. */
15345|       |
15346|       |    /* Set Py_FileSystemDefaultEncoding and Py_FileSystemDefaultEncodeErrors
15347|       |       global configuration variables. */
15348|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (15348:9): [True: 2, False: 0]
  ------------------
15349|       |
15350|      2|        if (_Py_SetFileSystemEncoding(fs_codec->encoding,
  ------------------
  |  Branch (15350:13): [True: 0, False: 2]
  ------------------
15351|      2|                                      fs_codec->errors) < 0) {
15352|      0|            PyErr_NoMemory();
15353|      0|            return -1;
15354|      0|        }
15355|      2|    }
15356|      2|    return 0;
15357|      2|}
unicodeobject.c:init_stdio_encoding:
15288|      2|{
15289|       |    /* Update the stdio encoding to the normalized Python codec name. */
15290|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
15291|      2|    if (config->stdio_encoding == NULL) {
  ------------------
  |  Branch (15291:9): [True: 0, False: 2]
  ------------------
15292|       |        /* gh-86427: The encoding is determined for every stream. */
15293|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15294|      0|    }
15295|      2|    if (config_get_codec_name(&config->stdio_encoding) < 0) {
  ------------------
  |  Branch (15295:9): [True: 0, False: 2]
  ------------------
15296|      0|        return _PyStatus_ERR("failed to get the Python codec name "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
15297|      0|                             "of the stdio encoding");
15298|      0|    }
15299|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15300|      2|}

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

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

_PyPegen_dummy_name:
   14|      1|{
   15|      1|    return &_PyRuntime.parser.dummy_name;
   16|      1|}
_PyPegen_seq_insert_in_front:
   34|      5|{
   35|      5|    assert(a != NULL);
  ------------------
  |  Branch (35:5): [True: 5, False: 0]
  ------------------
   36|      5|    if (!seq) {
  ------------------
  |  Branch (36:9): [True: 0, False: 5]
  ------------------
   37|      0|        return _PyPegen_singleton_seq(p, a);
   38|      0|    }
   39|       |
   40|      5|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(asdl_seq_LEN(seq) + 1, p->arena);
  ------------------
  |  |   83|      5|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|     10|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|      5|    if (!new_seq) {
  ------------------
  |  Branch (41:9): [True: 0, False: 5]
  ------------------
   42|      0|        return NULL;
   43|      0|    }
   44|       |
   45|      5|    asdl_seq_SET_UNTYPED(new_seq, 0, a);
  ------------------
  |  |  106|      5|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      5|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   46|     16|    for (Py_ssize_t i = 1, l = asdl_seq_LEN(new_seq); i < l; i++) {
  ------------------
  |  |   83|      5|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|     10|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (46:55): [True: 11, False: 5]
  ------------------
   47|     11|        asdl_seq_SET_UNTYPED(new_seq, i, asdl_seq_GET_UNTYPED(seq, i - 1));
  ------------------
  |  |  106|     11|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|     11|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   48|     11|    }
   49|      5|    return new_seq;
   50|      5|}
_PyPegen_join_sequences:
  499|      1|{
  500|      1|    Py_ssize_t first_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|      1|    Py_ssize_t second_len = asdl_seq_LEN(b);
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  502|      1|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(first_len + second_len, p->arena);
  503|      1|    if (!new_seq) {
  ------------------
  |  Branch (503:9): [True: 0, False: 1]
  ------------------
  504|      0|        return NULL;
  505|      0|    }
  506|       |
  507|      1|    int k = 0;
  508|      6|    for (Py_ssize_t i = 0; i < first_len; i++) {
  ------------------
  |  Branch (508:28): [True: 5, False: 1]
  ------------------
  509|      5|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(a, i));
  ------------------
  |  |  106|      5|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      5|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  510|      5|    }
  511|      1|    for (Py_ssize_t i = 0; i < second_len; i++) {
  ------------------
  |  Branch (511:28): [True: 0, False: 1]
  ------------------
  512|      0|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(b, i));
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  513|      0|    }
  514|       |
  515|      1|    return new_seq;
  516|      1|}
_PyPegen_make_arguments:
  672|      1|{
  673|      1|    asdl_arg_seq *posonlyargs;
  674|      1|    if (_make_posonlyargs(p, slash_without_default, slash_with_default, &posonlyargs) == -1) {
  ------------------
  |  Branch (674:9): [True: 0, False: 1]
  ------------------
  675|      0|        return NULL;
  676|      0|    }
  677|       |
  678|      1|    asdl_arg_seq *posargs;
  679|      1|    if (_make_posargs(p, plain_names, names_with_default, &posargs) == -1) {
  ------------------
  |  Branch (679:9): [True: 0, False: 1]
  ------------------
  680|      0|        return NULL;
  681|      0|    }
  682|       |
  683|      1|    asdl_expr_seq *posdefaults;
  684|      1|    if (_make_posdefaults(p,slash_with_default, names_with_default, &posdefaults) == -1) {
  ------------------
  |  Branch (684:9): [True: 0, False: 1]
  ------------------
  685|      0|        return NULL;
  686|      0|    }
  687|       |
  688|      1|    arg_ty vararg = NULL;
  689|      1|    if (star_etc != NULL && star_etc->vararg != NULL) {
  ------------------
  |  Branch (689:9): [True: 0, False: 1]
  |  Branch (689:29): [True: 0, False: 0]
  ------------------
  690|      0|        vararg = star_etc->vararg;
  691|      0|    }
  692|       |
  693|      1|    asdl_arg_seq *kwonlyargs;
  694|      1|    asdl_expr_seq *kwdefaults;
  695|      1|    if (_make_kwargs(p, star_etc, &kwonlyargs, &kwdefaults) == -1) {
  ------------------
  |  Branch (695:9): [True: 0, False: 1]
  ------------------
  696|      0|        return NULL;
  697|      0|    }
  698|       |
  699|      1|    arg_ty kwarg = NULL;
  700|      1|    if (star_etc != NULL && star_etc->kwarg != NULL) {
  ------------------
  |  Branch (700:9): [True: 0, False: 1]
  |  Branch (700:29): [True: 0, False: 0]
  ------------------
  701|      0|        kwarg = star_etc->kwarg;
  702|      0|    }
  703|       |
  704|      1|    return _PyAST_arguments(posonlyargs, posargs, vararg, kwonlyargs,
  705|      1|                            kwdefaults, kwarg, posdefaults, p->arena);
  706|      1|}
_PyPegen_collect_call_seqs:
 1204|      1|                     int end_col_offset, PyArena *arena) {
 1205|      1|    Py_ssize_t args_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1206|      1|    Py_ssize_t total_len = args_len;
 1207|       |
 1208|      1|    if (b == NULL) {
  ------------------
  |  Branch (1208:9): [True: 1, False: 0]
  ------------------
 1209|      1|        return _PyAST_Call(_PyPegen_dummy_name(p), a, NULL, lineno, col_offset,
 1210|      1|                        end_lineno, end_col_offset, arena);
 1211|       |
 1212|      1|    }
 1213|       |
 1214|      0|    asdl_expr_seq *starreds = _PyPegen_seq_extract_starred_exprs(p, b);
 1215|      0|    if (!starreds && PyErr_Occurred()) {
  ------------------
  |  Branch (1215:9): [True: 0, False: 0]
  |  Branch (1215:22): [True: 0, False: 0]
  ------------------
 1216|      0|        return NULL;
 1217|      0|    }
 1218|       |
 1219|      0|    asdl_keyword_seq *keywords = _PyPegen_seq_delete_starred_exprs(p, b);
 1220|      0|    if (!keywords && PyErr_Occurred()) {
  ------------------
  |  Branch (1220:9): [True: 0, False: 0]
  |  Branch (1220:22): [True: 0, False: 0]
  ------------------
 1221|      0|        return NULL;
 1222|      0|    }
 1223|       |
 1224|      0|    if (starreds) {
  ------------------
  |  Branch (1224:9): [True: 0, False: 0]
  ------------------
 1225|      0|        total_len += asdl_seq_LEN(starreds);
  ------------------
  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1226|      0|    }
 1227|       |
 1228|      0|    asdl_expr_seq *args = _Py_asdl_expr_seq_new(total_len, arena);
 1229|      0|    if (args == NULL) {
  ------------------
  |  Branch (1229:9): [True: 0, False: 0]
  ------------------
 1230|      0|        return NULL;
 1231|      0|    }
 1232|       |
 1233|      0|    Py_ssize_t i = 0;
 1234|      0|    for (i = 0; i < args_len; i++) {
  ------------------
  |  Branch (1234:17): [True: 0, False: 0]
  ------------------
 1235|      0|        asdl_seq_SET(args, i, asdl_seq_GET(a, i));
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1236|      0|    }
 1237|      0|    for (; i < total_len; i++) {
  ------------------
  |  Branch (1237:12): [True: 0, False: 0]
  ------------------
 1238|      0|        asdl_seq_SET(args, i, asdl_seq_GET(starreds, i - args_len));
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1239|      0|    }
 1240|       |
 1241|      0|    return _PyAST_Call(_PyPegen_dummy_name(p), args, keywords, lineno,
 1242|      0|                       col_offset, end_lineno, end_col_offset, arena);
 1243|      0|}
action_helpers.c:_make_posonlyargs:
  552|      1|                  asdl_arg_seq **posonlyargs) {
  553|      1|    if (slash_without_default != NULL) {
  ------------------
  |  Branch (553:9): [True: 0, False: 1]
  ------------------
  554|      0|        *posonlyargs = slash_without_default;
  555|      0|    }
  556|      1|    else if (slash_with_default != NULL) {
  ------------------
  |  Branch (556:14): [True: 0, False: 1]
  ------------------
  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|      1|    else {
  568|      1|        *posonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  569|      1|    }
  570|      1|    return *posonlyargs == NULL ? -1 : 0;
  ------------------
  |  Branch (570:12): [True: 0, False: 1]
  ------------------
  571|      1|}
action_helpers.c:_get_names:
  520|      1|{
  521|      1|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  522|      1|    asdl_arg_seq *seq = _Py_asdl_arg_seq_new(len, p->arena);
  523|      1|    if (!seq) {
  ------------------
  |  Branch (523:9): [True: 0, False: 1]
  ------------------
  524|      0|        return NULL;
  525|      0|    }
  526|      1|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (526:28): [True: 0, False: 1]
  ------------------
  527|      0|        NameDefaultPair *pair = asdl_seq_GET_UNTYPED(names_with_defaults, i);
  ------------------
  |  |   81|      0|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  528|      0|        asdl_seq_SET(seq, i, pair->arg);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  529|      0|    }
  530|      1|    return seq;
  531|      1|}
action_helpers.c:_make_posargs:
  577|      1|              asdl_arg_seq **posargs) {
  578|       |
  579|      1|    if (names_with_default != NULL) {
  ------------------
  |  Branch (579:9): [True: 1, False: 0]
  ------------------
  580|      1|        if (plain_names != NULL) {
  ------------------
  |  Branch (580:13): [True: 1, False: 0]
  ------------------
  581|      1|            asdl_arg_seq *names_with_default_names = _get_names(p, names_with_default);
  582|      1|            if (!names_with_default_names) {
  ------------------
  |  Branch (582:17): [True: 0, False: 1]
  ------------------
  583|      0|                return -1;
  584|      0|            }
  585|      1|            *posargs = (asdl_arg_seq*)_PyPegen_join_sequences(
  586|      1|                    p,(asdl_seq*)plain_names, (asdl_seq*)names_with_default_names);
  587|      1|        }
  588|      0|        else {
  589|      0|            *posargs = _get_names(p, names_with_default);
  590|      0|        }
  591|      1|    }
  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|      1|    return *posargs == NULL ? -1 : 0;
  ------------------
  |  Branch (603:12): [True: 0, False: 1]
  ------------------
  604|      1|}
action_helpers.c:_make_posdefaults:
  610|      1|                  asdl_expr_seq **posdefaults) {
  611|      1|    if (slash_with_default != NULL && names_with_default != NULL) {
  ------------------
  |  Branch (611:9): [True: 0, False: 1]
  |  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|      1|    else if (slash_with_default == NULL && names_with_default != NULL) {
  ------------------
  |  Branch (626:14): [True: 1, False: 0]
  |  Branch (626:44): [True: 1, False: 0]
  ------------------
  627|      1|        *posdefaults = _get_defaults(p, names_with_default);
  628|      1|    }
  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|      1|    return *posdefaults == NULL ? -1 : 0;
  ------------------
  |  Branch (635:12): [True: 0, False: 1]
  ------------------
  636|      1|}
action_helpers.c:_get_defaults:
  535|      1|{
  536|      1|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      1|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(len, p->arena);
  538|      1|    if (!seq) {
  ------------------
  |  Branch (538:9): [True: 0, False: 1]
  ------------------
  539|      0|        return NULL;
  540|      0|    }
  541|      1|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (541:28): [True: 0, False: 1]
  ------------------
  542|      0|        NameDefaultPair *pair = asdl_seq_GET_UNTYPED(names_with_defaults, i);
  ------------------
  |  |   81|      0|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  543|      0|        asdl_seq_SET(seq, i, pair->value);
  ------------------
  |  |   94|      0|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  544|      0|    }
  545|      1|    return seq;
  546|      1|}
action_helpers.c:_make_kwargs:
  641|      1|             asdl_expr_seq **kwdefaults) {
  642|      1|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (642:9): [True: 0, False: 1]
  |  Branch (642:29): [True: 0, False: 0]
  ------------------
  643|      0|        *kwonlyargs = _get_names(p, star_etc->kwonlyargs);
  644|      0|    }
  645|      1|    else {
  646|      1|        *kwonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  647|      1|    }
  648|       |
  649|      1|    if (*kwonlyargs == NULL) {
  ------------------
  |  Branch (649:9): [True: 0, False: 1]
  ------------------
  650|      0|        return -1;
  651|      0|    }
  652|       |
  653|      1|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (653:9): [True: 0, False: 1]
  |  Branch (653:29): [True: 0, False: 0]
  ------------------
  654|      0|        *kwdefaults = _get_defaults(p, star_etc->kwonlyargs);
  655|      0|    }
  656|      1|    else {
  657|      1|        *kwdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  658|      1|    }
  659|       |
  660|      1|    if (*kwdefaults == NULL) {
  ------------------
  |  Branch (660:9): [True: 0, False: 1]
  ------------------
  661|      0|        return -1;
  662|      0|    }
  663|       |
  664|      1|    return 0;
  665|      1|}

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

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

lexer.c:tok_nextc:
   37|    149|{
   38|    149|    while (tok->cur == tok->inp) {
  ------------------
  |  Branch (38:12): [True: 3, False: 146]
  ------------------
   39|      3|        if (!_PyLexer_refill(tok)) {
  ------------------
  |  Branch (39:13): [True: 3, False: 0]
  ------------------
   40|      3|            return EOF;
   41|      3|        }
   42|      3|    }
   43|    146|    if (tok->cur - tok->line_start >= INT_MAX) {
  ------------------
  |  Branch (43:9): [True: 0, False: 146]
  ------------------
   44|      0|        tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   45|      0|        return EOF;
   46|      0|    }
   47|    146|    return _PyTok_SourceByte(&tok->source, tok->cur++);
   48|    146|}
lexer.c:tok_failed:
   28|     26|{
   29|     26|    return tok->done != E_OK && tok->done != E_EOF &&
  ------------------
  |  |   22|     52|#define E_OK             10      /* No error */
  ------------------
                  return tok->done != E_OK && tok->done != E_EOF &&
  ------------------
  |  |   23|     28|#define E_EOF            11      /* End Of File */
  ------------------
  |  Branch (29:12): [True: 2, False: 24]
  |  Branch (29:33): [True: 0, False: 2]
  ------------------
   30|      0|           tok->done != E_INTERACT_STOP;
  ------------------
  |  |   39|      0|#define E_INTERACT_STOP  28      /* Interactive mode stopped tokenization */
  ------------------
  |  Branch (30:12): [True: 0, False: 0]
  ------------------
   31|     26|}
layout.c:tok_nextc:
   37|      1|{
   38|      2|    while (tok->cur == tok->inp) {
  ------------------
  |  Branch (38:12): [True: 1, False: 1]
  ------------------
   39|      1|        if (!_PyLexer_refill(tok)) {
  ------------------
  |  Branch (39:13): [True: 0, False: 1]
  ------------------
   40|      0|            return EOF;
   41|      0|        }
   42|      1|    }
   43|      1|    if (tok->cur - tok->line_start >= INT_MAX) {
  ------------------
  |  Branch (43:9): [True: 0, False: 1]
  ------------------
   44|      0|        tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   45|      0|        return EOF;
   46|      0|    }
   47|      1|    return _PyTok_SourceByte(&tok->source, tok->cur++);
   48|      1|}

_PyTokenizer_Free:
   60|      1|{
   61|      1|    Py_XDECREF(tok->filename);
  ------------------
  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   62|      1|    Py_XDECREF(tok->module);
  ------------------
  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   63|      1|    _PyTok_ReaderFree(tok);
   64|      1|    _PyTok_SourceClear(&tok->source);
   65|      1|    for (int i = 0; i < tok->ftstring_depth; i++) {
  ------------------
  |  Branch (65:21): [True: 0, False: 1]
  ------------------
   66|      0|        PyMem_Free(tok->ftstring_stack[i].comments);
   67|      0|    }
   68|      1|    if (tok->ftstring_stack != tok->ftstring_stack_inline) {
  ------------------
  |  Branch (68:9): [True: 0, False: 1]
  ------------------
   69|      0|        PyMem_Free(tok->ftstring_stack);
   70|      0|    }
   71|      1|    PyMem_Free(tok);
   72|      1|}
_PyToken_Init:
   75|     26|_PyToken_Init(struct token *token) {
   76|     26|    *token = (struct token){
   77|     26|        .type = -1,
   78|     26|        .span = {-1, -1},
   79|     26|        .start_loc = {-1, -1},
   80|     26|        .end_loc = {-1, -1},
   81|     26|    };
   82|     26|}
_PyLexer_token_setup:
   86|     26|{
   87|     26|    token->level = tok->level;
   88|     26|    token->is_raw = 0;
   89|     26|    token->is_incomplete = 0;
   90|     26|    assert((start == -1 && end == -1) || (start >= 0 && end >= start));
  ------------------
  |  Branch (90:5): [True: 1, False: 25]
  |  Branch (90:5): [True: 1, False: 0]
  |  Branch (90:5): [True: 25, False: 0]
  |  Branch (90:5): [True: 25, False: 0]
  ------------------
   91|     26|    token->span = (_PyTok_Span){start, end};
   92|     26|    if (start >= 0) {
  ------------------
  |  Branch (92:9): [True: 25, False: 1]
  ------------------
   93|     25|        token->start_loc = tok->start_loc;
   94|     25|        token->end_loc = (_PyTok_Loc){tok->lineno, _PyLexer_ByteColumn(tok)};
   95|     25|    }
   96|      1|    else {
   97|      1|        token->start_loc = token->end_loc = (_PyTok_Loc){tok->lineno, -1};
   98|      1|    }
   99|     26|    return type;
  100|     26|}

reader.c:_PyLexer_CurrentFTString:
  114|      1|{
  115|      1|    assert(tok->ftstring_stack != NULL);
  ------------------
  |  Branch (115:5): [True: 1, False: 0]
  ------------------
  116|      1|    assert(tok->ftstring_depth >= 0 && tok->ftstring_depth <= tok->ftstring_capacity);
  ------------------
  |  Branch (116:5): [True: 1, False: 0]
  |  Branch (116:5): [True: 1, False: 0]
  ------------------
  117|      1|    if (tok->ftstring_depth == 0) {
  ------------------
  |  Branch (117:9): [True: 1, False: 0]
  ------------------
  118|      1|        return NULL;
  119|      1|    }
  120|      0|    return &tok->ftstring_stack[tok->ftstring_depth - 1];
  121|      1|}
lexer.c:_PyLexer_ByteColumn:
  138|     52|{
  139|     52|    assert(tok->line_start >= 0);
  ------------------
  |  Branch (139:5): [True: 52, False: 0]
  ------------------
  140|     52|    assert(tok->cur >= tok->line_start);
  ------------------
  |  Branch (140:5): [True: 52, False: 0]
  ------------------
  141|     52|    Py_ssize_t column = tok->cur - tok->line_start;
  142|     52|    assert(column <= INT_MAX);
  ------------------
  |  Branch (142:5): [True: 52, False: 0]
  ------------------
  143|     52|    return (int)column;
  144|     52|}
lexer.c:_PyLexer_CurrentFTString:
  114|     26|{
  115|     26|    assert(tok->ftstring_stack != NULL);
  ------------------
  |  Branch (115:5): [True: 26, False: 0]
  ------------------
  116|     26|    assert(tok->ftstring_depth >= 0 && tok->ftstring_depth <= tok->ftstring_capacity);
  ------------------
  |  Branch (116:5): [True: 26, False: 0]
  |  Branch (116:5): [True: 26, False: 0]
  ------------------
  117|     26|    if (tok->ftstring_depth == 0) {
  ------------------
  |  Branch (117:9): [True: 26, False: 0]
  ------------------
  118|     26|        return NULL;
  119|     26|    }
  120|      0|    return &tok->ftstring_stack[tok->ftstring_depth - 1];
  121|     26|}
state.c:_PyLexer_ByteColumn:
  138|     25|{
  139|     25|    assert(tok->line_start >= 0);
  ------------------
  |  Branch (139:5): [True: 25, False: 0]
  ------------------
  140|     25|    assert(tok->cur >= tok->line_start);
  ------------------
  |  Branch (140:5): [True: 25, False: 0]
  ------------------
  141|     25|    Py_ssize_t column = tok->cur - tok->line_start;
  142|     25|    assert(column <= INT_MAX);
  ------------------
  |  Branch (142:5): [True: 25, False: 0]
  ------------------
  143|     25|    return (int)column;
  144|     25|}

_PyPegen_expressions_rule:
11475|      1|{
11476|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (11476:9): [True: 0, False: 1]
  |  Branch (11476:35): [True: 0, False: 1]
  ------------------
11477|      0|        _Pypegen_stack_overflow(p);
11478|      0|    }
11479|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (11479:9): [True: 0, False: 1]
  ------------------
11480|      0|        p->level--;
11481|      0|        return NULL;
11482|      0|    }
11483|      1|    expr_ty _res = NULL;
11484|      1|    int _mark = p->mark;
11485|      1|    expr_ty _prefix_0_result = NULL;
11486|      1|    int _prefix_0_end = 0, _prefix_0_valid = 0;
11487|      1|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11487:9): [True: 1, False: 0]
  |  Branch (11487:31): [True: 0, False: 1]
  ------------------
11488|      0|        p->error_indicator = 1;
11489|      0|        p->level--;
11490|      0|        return NULL;
11491|      0|    }
11492|      1|    int _start_lineno = p->tokens[_mark]->lineno;
11493|      1|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
11494|      1|    int _start_col_offset = p->tokens[_mark]->col_offset;
11495|      1|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
11496|      1|    { // expression ((',' expression))+ ','?
11497|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (11497:13): [True: 0, False: 1]
  ------------------
11498|      0|            p->level--;
11499|      0|            return NULL;
11500|      0|        }
11501|      1|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11502|      1|        void *_opt_var;
11503|      1|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
11504|      1|        expr_ty a;
11505|      1|        asdl_seq * b;
11506|      1|        if (
11507|      1|            (a = ((!p->call_invalid_rules && _prefix_0_valid) ? (p->mark = _prefix_0_end, _prefix_0_result) : (_prefix_0_result = expression_rule(p), _prefix_0_end = p->mark, _prefix_0_valid = 1, _prefix_0_result)))  // expression
  ------------------
  |  |  461|      1|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11507:13): [True: 1, False: 0]
  |  Branch (11507:20): [True: 1, False: 0]
  |  Branch (11507:46): [True: 0, False: 1]
  ------------------
11508|      1|            &&
11509|      1|            (b = _loop1_55_rule(p))  // ((',' expression))+
  ------------------
  |  Branch (11509:13): [True: 0, False: 1]
  ------------------
11510|      0|            &&
11511|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11511:13): [True: 0, False: 0]
  ------------------
11512|      1|        )
11513|      0|        {
11514|      0|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11515|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11516|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11516:17): [True: 0, False: 0]
  ------------------
11517|      0|                p->level--;
11518|      0|                return NULL;
11519|      0|            }
11520|      0|            int _end_lineno = _token->end_lineno;
11521|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11522|      0|            int _end_col_offset = _token->end_col_offset;
11523|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11524|      0|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11525|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11525:18): [True: 0, False: 0]
  |  Branch (11525:34): [True: 0, False: 0]
  |  Branch (11525:57): [True: 0, False: 0]
  ------------------
11526|      0|                p->error_indicator = 1;
11527|      0|                p->level--;
11528|      0|                return NULL;
11529|      0|            }
11530|      0|            goto done;
11531|      0|        }
11532|      1|        p->mark = _mark;
11533|      1|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11534|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ((',' expression))+ ','?"));
11535|      1|    }
11536|      0|    { // expression ','
11537|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (11537:13): [True: 0, False: 1]
  ------------------
11538|      0|            p->level--;
11539|      0|            return NULL;
11540|      0|        }
11541|      1|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ','"));
11542|      1|        Token * _literal;
11543|      1|        expr_ty a;
11544|      1|        if (
11545|      1|            (a = ((!p->call_invalid_rules && _prefix_0_valid) ? (p->mark = _prefix_0_end, _prefix_0_result) : (_prefix_0_result = expression_rule(p), _prefix_0_end = p->mark, _prefix_0_valid = 1, _prefix_0_result)))  // expression
  ------------------
  |  |  461|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11545:13): [True: 1, False: 0]
  |  Branch (11545:20): [True: 1, False: 0]
  |  Branch (11545:46): [True: 1, False: 0]
  ------------------
11546|      1|            &&
11547|      1|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11547:13): [True: 0, False: 1]
  ------------------
11548|      1|        )
11549|      0|        {
11550|      0|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ','"));
11551|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11552|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11552:17): [True: 0, False: 0]
  ------------------
11553|      0|                p->level--;
11554|      0|                return NULL;
11555|      0|            }
11556|      0|            int _end_lineno = _token->end_lineno;
11557|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11558|      0|            int _end_col_offset = _token->end_col_offset;
11559|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11560|      0|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11561|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11561:18): [True: 0, False: 0]
  |  Branch (11561:34): [True: 0, False: 0]
  |  Branch (11561:57): [True: 0, False: 0]
  ------------------
11562|      0|                p->error_indicator = 1;
11563|      0|                p->level--;
11564|      0|                return NULL;
11565|      0|            }
11566|      0|            goto done;
11567|      0|        }
11568|      1|        p->mark = _mark;
11569|      1|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11570|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ','"));
11571|      1|    }
11572|      0|    { // expression
11573|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (11573:13): [True: 0, False: 1]
  ------------------
11574|      0|            p->level--;
11575|      0|            return NULL;
11576|      0|        }
11577|      1|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
11578|      1|        expr_ty expression_var;
11579|      1|        if (
11580|      1|            (expression_var = ((!p->call_invalid_rules && _prefix_0_valid) ? (p->mark = _prefix_0_end, _prefix_0_result) : (_prefix_0_result = expression_rule(p), _prefix_0_end = p->mark, _prefix_0_valid = 1, _prefix_0_result)))  // expression
  ------------------
  |  |  461|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11580:13): [True: 1, False: 0]
  |  Branch (11580:33): [True: 1, False: 0]
  |  Branch (11580:59): [True: 1, False: 0]
  ------------------
11581|      1|        )
11582|      1|        {
11583|      1|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
11584|      1|            _res = expression_var;
11585|      1|            goto done;
11586|      1|        }
11587|      0|        p->mark = _mark;
11588|      0|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11589|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
11590|      0|    }
11591|      0|    _res = NULL;
11592|      1|  done:
11593|      1|    p->level--;
11594|      1|    return _res;
11595|      0|}
_PyPegen_expression_rule:
11606|     15|{
11607|     15|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     30|#  define MAXSTACK 6000
  ------------------
  |  Branch (11607:9): [True: 0, False: 15]
  |  Branch (11607:35): [True: 0, False: 15]
  ------------------
11608|      0|        _Pypegen_stack_overflow(p);
11609|      0|    }
11610|     15|    if (p->error_indicator) {
  ------------------
  |  Branch (11610:9): [True: 0, False: 15]
  ------------------
11611|      0|        p->level--;
11612|      0|        return NULL;
11613|      0|    }
11614|     15|    expr_ty _res = NULL;
11615|     15|    if (_PyPegen_is_memoized(p, expression_type, &_res)) {
  ------------------
  |  |  198|     15|#define expression_type 1109
  ------------------
  |  Branch (11615:9): [True: 7, False: 8]
  ------------------
11616|      7|        p->level--;
11617|      7|        return _res;
11618|      7|    }
11619|      8|    int _mark = p->mark;
11620|      8|    if (p->call_invalid_rules) { // invalid_if_expression
  ------------------
  |  Branch (11620:9): [True: 0, False: 8]
  ------------------
11621|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (11621:13): [True: 0, False: 0]
  ------------------
11622|      0|            p->level--;
11623|      0|            return NULL;
11624|      0|        }
11625|      0|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_if_expression"));
11626|      0|        void *invalid_if_expression_var;
11627|      0|        if (
11628|      0|            (invalid_if_expression_var = invalid_if_expression_rule(p))  // invalid_if_expression
  ------------------
  |  |  547|      0|#define invalid_if_expression_rule _PyPegen_invalid_if_expression_rule
  ------------------
  |  Branch (11628:13): [True: 0, False: 0]
  ------------------
11629|      0|        )
11630|      0|        {
11631|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_if_expression"));
11632|      0|            _res = invalid_if_expression_var;
11633|      0|            goto done;
11634|      0|        }
11635|      0|        p->mark = _mark;
11636|      0|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11637|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_if_expression"));
11638|      0|    }
11639|      8|    if (p->call_invalid_rules) { // invalid_expression
  ------------------
  |  Branch (11639:9): [True: 0, False: 8]
  ------------------
11640|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (11640:13): [True: 0, False: 0]
  ------------------
11641|      0|            p->level--;
11642|      0|            return NULL;
11643|      0|        }
11644|      0|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_expression"));
11645|      0|        void *invalid_expression_var;
11646|      0|        if (
11647|      0|            (invalid_expression_var = invalid_expression_rule(p))  // invalid_expression
  ------------------
  |  |  545|      0|#define invalid_expression_rule _PyPegen_invalid_expression_rule
  ------------------
  |  Branch (11647:13): [True: 0, False: 0]
  ------------------
11648|      0|        )
11649|      0|        {
11650|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_expression"));
11651|      0|            _res = invalid_expression_var;
11652|      0|            goto done;
11653|      0|        }
11654|      0|        p->mark = _mark;
11655|      0|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11656|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_expression"));
11657|      0|    }
11658|      8|    if (p->call_invalid_rules) { // invalid_legacy_expression
  ------------------
  |  Branch (11658:9): [True: 0, False: 8]
  ------------------
11659|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (11659:13): [True: 0, False: 0]
  ------------------
11660|      0|            p->level--;
11661|      0|            return NULL;
11662|      0|        }
11663|      0|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_legacy_expression"));
11664|      0|        void *invalid_legacy_expression_var;
11665|      0|        if (
11666|      0|            (invalid_legacy_expression_var = invalid_legacy_expression_rule(p))  // invalid_legacy_expression
  ------------------
  |  |  541|      0|#define invalid_legacy_expression_rule _PyPegen_invalid_legacy_expression_rule
  ------------------
  |  Branch (11666:13): [True: 0, False: 0]
  ------------------
11667|      0|        )
11668|      0|        {
11669|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_legacy_expression"));
11670|      0|            _res = invalid_legacy_expression_var;
11671|      0|            goto done;
11672|      0|        }
11673|      0|        p->mark = _mark;
11674|      0|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11675|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_legacy_expression"));
11676|      0|    }
11677|      8|    { // if_expression
11678|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (11678:13): [True: 0, False: 8]
  ------------------
11679|      0|            p->level--;
11680|      0|            return NULL;
11681|      0|        }
11682|      8|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "if_expression"));
11683|      8|        expr_ty if_expression_var;
11684|      8|        if (
11685|      8|            (if_expression_var = if_expression_rule(p))  // if_expression
  ------------------
  |  |  463|      8|#define if_expression_rule _PyPegen_if_expression_rule
  ------------------
  |  Branch (11685:13): [True: 0, False: 8]
  ------------------
11686|      8|        )
11687|      0|        {
11688|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "if_expression"));
11689|      0|            _res = if_expression_var;
11690|      0|            goto done;
11691|      0|        }
11692|      8|        p->mark = _mark;
11693|      8|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11694|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "if_expression"));
11695|      8|    }
11696|      0|    { // disjunction
11697|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (11697:13): [True: 0, False: 8]
  ------------------
11698|      0|            p->level--;
11699|      0|            return NULL;
11700|      0|        }
11701|      8|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction"));
11702|      8|        expr_ty disjunction_var;
11703|      8|        if (
11704|      8|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|      8|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (11704:13): [True: 7, False: 1]
  ------------------
11705|      8|        )
11706|      7|        {
11707|      7|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction"));
11708|      7|            _res = disjunction_var;
11709|      7|            goto done;
11710|      7|        }
11711|      1|        p->mark = _mark;
11712|      1|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11713|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction"));
11714|      1|    }
11715|      0|    { // lambdef
11716|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (11716:13): [True: 0, False: 1]
  ------------------
11717|      0|            p->level--;
11718|      0|            return NULL;
11719|      0|        }
11720|      1|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambdef"));
11721|      1|        expr_ty lambdef_var;
11722|      1|        if (
11723|      1|            (lambdef_var = lambdef_rule(p))  // lambdef
  ------------------
  |  |  489|      1|#define lambdef_rule _PyPegen_lambdef_rule
  ------------------
  |  Branch (11723:13): [True: 1, False: 0]
  ------------------
11724|      1|        )
11725|      1|        {
11726|      1|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambdef"));
11727|      1|            _res = lambdef_var;
11728|      1|            goto done;
11729|      1|        }
11730|      0|        p->mark = _mark;
11731|      0|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11732|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambdef"));
11733|      0|    }
11734|      0|    _res = NULL;
11735|      8|  done:
11736|      8|    _PyPegen_insert_memo(p, _mark, expression_type, _res);
  ------------------
  |  |  198|      8|#define expression_type 1109
  ------------------
11737|      8|    p->level--;
11738|      8|    return _res;
11739|      0|}
_PyPegen_if_expression_rule:
11744|      8|{
11745|      8|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (11745:9): [True: 0, False: 8]
  |  Branch (11745:35): [True: 0, False: 8]
  ------------------
11746|      0|        _Pypegen_stack_overflow(p);
11747|      0|    }
11748|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (11748:9): [True: 0, False: 8]
  ------------------
11749|      0|        p->level--;
11750|      0|        return NULL;
11751|      0|    }
11752|      8|    expr_ty _res = NULL;
11753|      8|    int _mark = p->mark;
11754|      8|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11754:9): [True: 0, False: 8]
  |  Branch (11754:31): [True: 0, False: 0]
  ------------------
11755|      0|        p->error_indicator = 1;
11756|      0|        p->level--;
11757|      0|        return NULL;
11758|      0|    }
11759|      8|    int _start_lineno = p->tokens[_mark]->lineno;
11760|      8|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
11761|      8|    int _start_col_offset = p->tokens[_mark]->col_offset;
11762|      8|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
11763|      8|    { // disjunction 'if' disjunction 'else' expression
11764|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (11764:13): [True: 0, False: 8]
  ------------------
11765|      0|            p->level--;
11766|      0|            return NULL;
11767|      0|        }
11768|      8|        D(fprintf(stderr, "%*c> if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11769|      8|        Token * _keyword;
11770|      8|        Token * _keyword_1;
11771|      8|        expr_ty a;
11772|      8|        expr_ty b;
11773|      8|        expr_ty c;
11774|      8|        if (
11775|      8|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|      8|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (11775:13): [True: 7, False: 1]
  ------------------
11776|      7|            &&
11777|      7|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (11777:13): [True: 0, False: 7]
  ------------------
11778|      0|            &&
11779|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|      0|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (11779:13): [True: 0, False: 0]
  ------------------
11780|      0|            &&
11781|      0|            (_keyword_1 = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (11781:13): [True: 0, False: 0]
  ------------------
11782|      0|            &&
11783|      0|            (c = expression_rule(p))  // expression
  ------------------
  |  |  461|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11783:13): [True: 0, False: 0]
  ------------------
11784|      8|        )
11785|      0|        {
11786|      0|            D(fprintf(stderr, "%*c+ if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11787|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11788|      0|            if (_token == NULL) {
  ------------------
  |  Branch (11788:17): [True: 0, False: 0]
  ------------------
11789|      0|                p->level--;
11790|      0|                return NULL;
11791|      0|            }
11792|      0|            int _end_lineno = _token->end_lineno;
11793|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11794|      0|            int _end_col_offset = _token->end_col_offset;
11795|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
11796|      0|            _res = _PyAST_IfExp ( b , a , c , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11797|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11797:18): [True: 0, False: 0]
  |  Branch (11797:34): [True: 0, False: 0]
  |  Branch (11797:57): [True: 0, False: 0]
  ------------------
11798|      0|                p->error_indicator = 1;
11799|      0|                p->level--;
11800|      0|                return NULL;
11801|      0|            }
11802|      0|            goto done;
11803|      0|        }
11804|      8|        p->mark = _mark;
11805|      8|        D(fprintf(stderr, "%*c%s if_expression[%d-%d]: %s failed!\n", p->level, ' ',
11806|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11807|      8|    }
11808|      8|    _res = NULL;
11809|      8|  done:
11810|      8|    p->level--;
11811|      8|    return _res;
11812|      8|}
_PyPegen_star_named_expression_rule:
12183|      8|{
12184|      8|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (12184:9): [True: 0, False: 8]
  |  Branch (12184:35): [True: 0, False: 8]
  ------------------
12185|      0|        _Pypegen_stack_overflow(p);
12186|      0|    }
12187|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (12187:9): [True: 0, False: 8]
  ------------------
12188|      0|        p->level--;
12189|      0|        return NULL;
12190|      0|    }
12191|      8|    expr_ty _res = NULL;
12192|      8|    int _mark = p->mark;
12193|      8|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12193:9): [True: 3, False: 5]
  |  Branch (12193:31): [True: 0, False: 3]
  ------------------
12194|      0|        p->error_indicator = 1;
12195|      0|        p->level--;
12196|      0|        return NULL;
12197|      0|    }
12198|      8|    int _start_lineno = p->tokens[_mark]->lineno;
12199|      8|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
12200|      8|    int _start_col_offset = p->tokens[_mark]->col_offset;
12201|      8|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      8|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8]
  |  |  ------------------
  ------------------
12202|      8|    { // '*' bitwise_or
12203|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (12203:13): [True: 0, False: 8]
  ------------------
12204|      0|            p->level--;
12205|      0|            return NULL;
12206|      0|        }
12207|      8|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12208|      8|        Token * _literal;
12209|      8|        expr_ty a;
12210|      8|        if (
12211|      8|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12211:13): [True: 0, False: 8]
  ------------------
12212|      0|            &&
12213|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12213:13): [True: 0, False: 0]
  ------------------
12214|      8|        )
12215|      0|        {
12216|      0|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12217|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12218|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12218:17): [True: 0, False: 0]
  ------------------
12219|      0|                p->level--;
12220|      0|                return NULL;
12221|      0|            }
12222|      0|            int _end_lineno = _token->end_lineno;
12223|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12224|      0|            int _end_col_offset = _token->end_col_offset;
12225|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12226|      0|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12227|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12227:18): [True: 0, False: 0]
  |  Branch (12227:34): [True: 0, False: 0]
  |  Branch (12227:57): [True: 0, False: 0]
  ------------------
12228|      0|                p->error_indicator = 1;
12229|      0|                p->level--;
12230|      0|                return NULL;
12231|      0|            }
12232|      0|            goto done;
12233|      0|        }
12234|      8|        p->mark = _mark;
12235|      8|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12236|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or"));
12237|      8|    }
12238|      0|    { // named_expression
12239|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (12239:13): [True: 0, False: 8]
  ------------------
12240|      0|            p->level--;
12241|      0|            return NULL;
12242|      0|        }
12243|      8|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
12244|      8|        expr_ty named_expression_var;
12245|      8|        if (
12246|      8|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  |  475|      8|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (12246:13): [True: 8, False: 0]
  ------------------
12247|      8|        )
12248|      8|        {
12249|      8|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
12250|      8|            _res = named_expression_var;
12251|      8|            goto done;
12252|      8|        }
12253|      0|        p->mark = _mark;
12254|      0|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12255|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
12256|      0|    }
12257|      0|    _res = NULL;
12258|      8|  done:
12259|      8|    p->level--;
12260|      8|    return _res;
12261|      0|}
_PyPegen_assignment_expression_rule:
12266|     13|{
12267|     13|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     26|#  define MAXSTACK 6000
  ------------------
  |  Branch (12267:9): [True: 0, False: 13]
  |  Branch (12267:35): [True: 0, False: 13]
  ------------------
12268|      0|        _Pypegen_stack_overflow(p);
12269|      0|    }
12270|     13|    if (p->error_indicator) {
  ------------------
  |  Branch (12270:9): [True: 0, False: 13]
  ------------------
12271|      0|        p->level--;
12272|      0|        return NULL;
12273|      0|    }
12274|     13|    expr_ty _res = NULL;
12275|     13|    int _mark = p->mark;
12276|     13|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12276:9): [True: 2, False: 11]
  |  Branch (12276:31): [True: 0, False: 2]
  ------------------
12277|      0|        p->error_indicator = 1;
12278|      0|        p->level--;
12279|      0|        return NULL;
12280|      0|    }
12281|     13|    int _start_lineno = p->tokens[_mark]->lineno;
12282|     13|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     13|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 13]
  |  |  ------------------
  ------------------
12283|     13|    int _start_col_offset = p->tokens[_mark]->col_offset;
12284|     13|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     13|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 13]
  |  |  ------------------
  ------------------
12285|     13|    { // NAME ':=' ~ expression
12286|     13|        if (p->error_indicator) {
  ------------------
  |  Branch (12286:13): [True: 0, False: 13]
  ------------------
12287|      0|            p->level--;
12288|      0|            return NULL;
12289|      0|        }
12290|     13|        D(fprintf(stderr, "%*c> assignment_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12291|     13|        int _cut_var = 0;
12292|     13|        Token * _literal;
12293|     13|        expr_ty a;
12294|     13|        expr_ty b;
12295|     13|        if (
12296|     13|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (12296:13): [True: 12, False: 1]
  ------------------
12297|     12|            &&
12298|     12|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (12298:13): [True: 0, False: 12]
  ------------------
12299|      0|            &&
12300|      0|            (_cut_var = 1)
  ------------------
  |  Branch (12300:13): [True: 0, False: 0]
  ------------------
12301|      0|            &&
12302|      0|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (12302:13): [True: 0, False: 0]
  ------------------
12303|     13|        )
12304|      0|        {
12305|      0|            D(fprintf(stderr, "%*c+ assignment_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12306|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12307|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12307:17): [True: 0, False: 0]
  ------------------
12308|      0|                p->level--;
12309|      0|                return NULL;
12310|      0|            }
12311|      0|            int _end_lineno = _token->end_lineno;
12312|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12313|      0|            int _end_col_offset = _token->end_col_offset;
12314|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12315|      0|            _res = CHECK_VERSION ( expr_ty , 8 , "Assignment expressions are" , _PyAST_NamedExpr ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , b , EXTRA ) );
  ------------------
  |  |  354|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
12316|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12316:18): [True: 0, False: 0]
  |  Branch (12316:34): [True: 0, False: 0]
  |  Branch (12316:57): [True: 0, False: 0]
  ------------------
12317|      0|                p->error_indicator = 1;
12318|      0|                p->level--;
12319|      0|                return NULL;
12320|      0|            }
12321|      0|            goto done;
12322|      0|        }
12323|     13|        p->mark = _mark;
12324|     13|        D(fprintf(stderr, "%*c%s assignment_expression[%d-%d]: %s failed!\n", p->level, ' ',
12325|     13|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ':=' ~ expression"));
12326|     13|        if (_cut_var) {
  ------------------
  |  Branch (12326:13): [True: 0, False: 13]
  ------------------
12327|      0|            p->level--;
12328|      0|            return NULL;
12329|      0|        }
12330|     13|    }
12331|     13|    _res = NULL;
12332|     13|  done:
12333|     13|    p->level--;
12334|     13|    return _res;
12335|     13|}
_PyPegen_named_expression_rule:
12340|      8|{
12341|      8|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (12341:9): [True: 0, False: 8]
  |  Branch (12341:35): [True: 0, False: 8]
  ------------------
12342|      0|        _Pypegen_stack_overflow(p);
12343|      0|    }
12344|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (12344:9): [True: 0, False: 8]
  ------------------
12345|      0|        p->level--;
12346|      0|        return NULL;
12347|      0|    }
12348|      8|    expr_ty _res = NULL;
12349|      8|    int _mark = p->mark;
12350|      8|    { // assignment_expression
12351|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (12351:13): [True: 0, False: 8]
  ------------------
12352|      0|            p->level--;
12353|      0|            return NULL;
12354|      0|        }
12355|      8|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12356|      8|        expr_ty assignment_expression_var;
12357|      8|        if (
12358|      8|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  |  473|      8|#define assignment_expression_rule _PyPegen_assignment_expression_rule
  ------------------
  |  Branch (12358:13): [True: 0, False: 8]
  ------------------
12359|      8|        )
12360|      0|        {
12361|      0|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12362|      0|            _res = assignment_expression_var;
12363|      0|            goto done;
12364|      0|        }
12365|      8|        p->mark = _mark;
12366|      8|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12367|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
12368|      8|    }
12369|      8|    if (p->call_invalid_rules) { // invalid_named_expression
  ------------------
  |  Branch (12369:9): [True: 0, False: 8]
  ------------------
12370|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (12370:13): [True: 0, False: 0]
  ------------------
12371|      0|            p->level--;
12372|      0|            return NULL;
12373|      0|        }
12374|      0|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_named_expression"));
12375|      0|        void *invalid_named_expression_var;
12376|      0|        if (
12377|      0|            (invalid_named_expression_var = invalid_named_expression_rule(p))  // invalid_named_expression
  ------------------
  |  |  549|      0|#define invalid_named_expression_rule _PyPegen_invalid_named_expression_rule
  ------------------
  |  Branch (12377:13): [True: 0, False: 0]
  ------------------
12378|      0|        )
12379|      0|        {
12380|      0|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_named_expression"));
12381|      0|            _res = invalid_named_expression_var;
12382|      0|            goto done;
12383|      0|        }
12384|      0|        p->mark = _mark;
12385|      0|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12386|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_named_expression"));
12387|      0|    }
12388|      8|    { // expression !':='
12389|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (12389:13): [True: 0, False: 8]
  ------------------
12390|      0|            p->level--;
12391|      0|            return NULL;
12392|      0|        }
12393|      8|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12394|      8|        expr_ty expression_var;
12395|      8|        if (
12396|      8|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  461|      8|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (12396:13): [True: 8, False: 0]
  ------------------
12397|      8|            &&
12398|      8|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (12398:13): [True: 8, False: 0]
  ------------------
12399|      8|        )
12400|      8|        {
12401|      8|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12402|      8|            _res = expression_var;
12403|      8|            goto done;
12404|      8|        }
12405|      0|        p->mark = _mark;
12406|      0|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12407|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
12408|      0|    }
12409|      0|    _res = NULL;
12410|      8|  done:
12411|      8|    p->level--;
12412|      8|    return _res;
12413|      0|}
_PyPegen_disjunction_rule:
12418|     16|{
12419|     16|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     32|#  define MAXSTACK 6000
  ------------------
  |  Branch (12419:9): [True: 0, False: 16]
  |  Branch (12419:35): [True: 0, False: 16]
  ------------------
12420|      0|        _Pypegen_stack_overflow(p);
12421|      0|    }
12422|     16|    if (p->error_indicator) {
  ------------------
  |  Branch (12422:9): [True: 0, False: 16]
  ------------------
12423|      0|        p->level--;
12424|      0|        return NULL;
12425|      0|    }
12426|     16|    expr_ty _res = NULL;
12427|     16|    if (_PyPegen_atom_fast_path(p, &_res)) {
  ------------------
  |  Branch (12427:9): [True: 10, False: 6]
  ------------------
12428|     10|        p->level--;
12429|     10|        return _res;
12430|     10|    }
12431|      6|    if (_PyPegen_is_memoized(p, disjunction_type, &_res)) {
  ------------------
  |  |  207|      6|#define disjunction_type 1118
  ------------------
  |  Branch (12431:9): [True: 3, False: 3]
  ------------------
12432|      3|        p->level--;
12433|      3|        return _res;
12434|      3|    }
12435|      3|    int _mark = p->mark;
12436|      3|    expr_ty _prefix_2_result = NULL;
12437|      3|    int _prefix_2_end = 0, _prefix_2_valid = 0;
12438|      3|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12438:9): [True: 0, False: 3]
  |  Branch (12438:31): [True: 0, False: 0]
  ------------------
12439|      0|        p->error_indicator = 1;
12440|      0|        p->level--;
12441|      0|        return NULL;
12442|      0|    }
12443|      3|    int _start_lineno = p->tokens[_mark]->lineno;
12444|      3|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
12445|      3|    int _start_col_offset = p->tokens[_mark]->col_offset;
12446|      3|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
12447|      3|    { // conjunction (('or' conjunction))+
12448|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (12448:13): [True: 0, False: 3]
  ------------------
12449|      0|            p->level--;
12450|      0|            return NULL;
12451|      0|        }
12452|      3|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12453|      3|        expr_ty a;
12454|      3|        asdl_seq * b;
12455|      3|        if (
12456|      3|            (a = ((!p->call_invalid_rules && _prefix_2_valid) ? (p->mark = _prefix_2_end, _prefix_2_result) : (_prefix_2_result = conjunction_rule(p), _prefix_2_end = p->mark, _prefix_2_valid = 1, _prefix_2_result)))  // conjunction
  ------------------
  |  Branch (12456:13): [True: 2, False: 1]
  |  Branch (12456:20): [True: 3, False: 0]
  |  Branch (12456:46): [True: 0, False: 3]
  ------------------
12457|      2|            &&
12458|      2|            (b = _loop1_59_rule(p))  // (('or' conjunction))+
  ------------------
  |  Branch (12458:13): [True: 0, False: 2]
  ------------------
12459|      3|        )
12460|      0|        {
12461|      0|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12462|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12463|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12463:17): [True: 0, False: 0]
  ------------------
12464|      0|                p->level--;
12465|      0|                return NULL;
12466|      0|            }
12467|      0|            int _end_lineno = _token->end_lineno;
12468|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12469|      0|            int _end_col_offset = _token->end_col_offset;
12470|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12471|      0|            _res = _PyAST_BoolOp ( Or , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_BoolOp ( Or , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12472|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12472:18): [True: 0, False: 0]
  |  Branch (12472:34): [True: 0, False: 0]
  |  Branch (12472:57): [True: 0, False: 0]
  ------------------
12473|      0|                p->error_indicator = 1;
12474|      0|                p->level--;
12475|      0|                return NULL;
12476|      0|            }
12477|      0|            goto done;
12478|      0|        }
12479|      3|        p->mark = _mark;
12480|      3|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12481|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction (('or' conjunction))+"));
12482|      3|    }
12483|      0|    { // conjunction
12484|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (12484:13): [True: 0, False: 3]
  ------------------
12485|      0|            p->level--;
12486|      0|            return NULL;
12487|      0|        }
12488|      3|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction"));
12489|      3|        expr_ty conjunction_var;
12490|      3|        if (
12491|      3|            (conjunction_var = ((!p->call_invalid_rules && _prefix_2_valid) ? (p->mark = _prefix_2_end, _prefix_2_result) : (_prefix_2_result = conjunction_rule(p), _prefix_2_end = p->mark, _prefix_2_valid = 1, _prefix_2_result)))  // conjunction
  ------------------
  |  Branch (12491:13): [True: 2, False: 1]
  |  Branch (12491:34): [True: 3, False: 0]
  |  Branch (12491:60): [True: 3, False: 0]
  ------------------
12492|      3|        )
12493|      2|        {
12494|      2|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction"));
12495|      2|            _res = conjunction_var;
12496|      2|            goto done;
12497|      2|        }
12498|      1|        p->mark = _mark;
12499|      1|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12500|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction"));
12501|      1|    }
12502|      1|    _res = NULL;
12503|      3|  done:
12504|      3|    _PyPegen_insert_memo(p, _mark, disjunction_type, _res);
  ------------------
  |  |  207|      3|#define disjunction_type 1118
  ------------------
12505|      3|    p->level--;
12506|      3|    return _res;
12507|      1|}
_PyPegen_inversion_rule:
12602|      3|{
12603|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (12603:9): [True: 0, False: 3]
  |  Branch (12603:35): [True: 0, False: 3]
  ------------------
12604|      0|        _Pypegen_stack_overflow(p);
12605|      0|    }
12606|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (12606:9): [True: 0, False: 3]
  ------------------
12607|      0|        p->level--;
12608|      0|        return NULL;
12609|      0|    }
12610|      3|    expr_ty _res = NULL;
12611|      3|    if (_PyPegen_atom_fast_path(p, &_res)) {
  ------------------
  |  Branch (12611:9): [True: 0, False: 3]
  ------------------
12612|      0|        p->level--;
12613|      0|        return _res;
12614|      0|    }
12615|      3|    if (_PyPegen_is_memoized(p, inversion_type, &_res)) {
  ------------------
  |  |  209|      3|#define inversion_type 1120
  ------------------
  |  Branch (12615:9): [True: 0, False: 3]
  ------------------
12616|      0|        p->level--;
12617|      0|        return _res;
12618|      0|    }
12619|      3|    int _mark = p->mark;
12620|      3|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12620:9): [True: 0, False: 3]
  |  Branch (12620:31): [True: 0, False: 0]
  ------------------
12621|      0|        p->error_indicator = 1;
12622|      0|        p->level--;
12623|      0|        return NULL;
12624|      0|    }
12625|      3|    int _start_lineno = p->tokens[_mark]->lineno;
12626|      3|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
12627|      3|    int _start_col_offset = p->tokens[_mark]->col_offset;
12628|      3|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
12629|      3|    { // 'not' inversion
12630|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (12630:13): [True: 0, False: 3]
  ------------------
12631|      0|            p->level--;
12632|      0|            return NULL;
12633|      0|        }
12634|      3|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12635|      3|        Token * _keyword;
12636|      3|        expr_ty a;
12637|      3|        if (
12638|      3|            (_keyword = _PyPegen_expect_token(p, 531))  // token='not'
  ------------------
  |  Branch (12638:13): [True: 0, False: 3]
  ------------------
12639|      0|            &&
12640|      0|            (a = inversion_rule(p))  // inversion
  ------------------
  |  |  479|      0|#define inversion_rule _PyPegen_inversion_rule
  ------------------
  |  Branch (12640:13): [True: 0, False: 0]
  ------------------
12641|      3|        )
12642|      0|        {
12643|      0|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12644|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12645|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12645:17): [True: 0, False: 0]
  ------------------
12646|      0|                p->level--;
12647|      0|                return NULL;
12648|      0|            }
12649|      0|            int _end_lineno = _token->end_lineno;
12650|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12651|      0|            int _end_col_offset = _token->end_col_offset;
12652|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12653|      0|            _res = _PyAST_UnaryOp ( Not , a , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12654|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12654:18): [True: 0, False: 0]
  |  Branch (12654:34): [True: 0, False: 0]
  |  Branch (12654:57): [True: 0, False: 0]
  ------------------
12655|      0|                p->error_indicator = 1;
12656|      0|                p->level--;
12657|      0|                return NULL;
12658|      0|            }
12659|      0|            goto done;
12660|      0|        }
12661|      3|        p->mark = _mark;
12662|      3|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12663|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' inversion"));
12664|      3|    }
12665|      0|    { // comparison
12666|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (12666:13): [True: 0, False: 3]
  ------------------
12667|      0|            p->level--;
12668|      0|            return NULL;
12669|      0|        }
12670|      3|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "comparison"));
12671|      3|        expr_ty comparison_var;
12672|      3|        if (
12673|      3|            (comparison_var = comparison_rule(p))  // comparison
  ------------------
  |  Branch (12673:13): [True: 2, False: 1]
  ------------------
12674|      3|        )
12675|      2|        {
12676|      2|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "comparison"));
12677|      2|            _res = comparison_var;
12678|      2|            goto done;
12679|      2|        }
12680|      1|        p->mark = _mark;
12681|      1|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12682|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "comparison"));
12683|      1|    }
12684|      1|    _res = NULL;
12685|      3|  done:
12686|      3|    _PyPegen_insert_memo(p, _mark, inversion_type, _res);
  ------------------
  |  |  209|      3|#define inversion_type 1120
  ------------------
12687|      3|    p->level--;
12688|      3|    return _res;
12689|      1|}
_PyPegen_bitwise_or_rule:
13106|      8|{
13107|      8|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (13107:9): [True: 0, False: 8]
  |  Branch (13107:35): [True: 0, False: 8]
  ------------------
13108|      0|        _Pypegen_stack_overflow(p);
13109|      0|    }
13110|      8|    expr_ty _res = NULL;
13111|      8|    if (_PyPegen_is_memoized(p, bitwise_or_type, &_res)) {
  ------------------
  |  |  212|      8|#define bitwise_or_type 1123  // Left-recursive
  ------------------
  |  Branch (13111:9): [True: 5, False: 3]
  ------------------
13112|      5|        p->level--;
13113|      5|        return _res;
13114|      5|    }
13115|      3|    int _mark = p->mark;
13116|      3|    int _resmark = p->mark;
13117|      3|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, bitwise_or_type);
  ------------------
  |  |  212|      3|#define bitwise_or_type 1123  // Left-recursive
  ------------------
13118|      3|    if (_memo == NULL) {
  ------------------
  |  Branch (13118:9): [True: 0, False: 3]
  ------------------
13119|      0|        p->level--;
13120|      0|        return NULL;
13121|      0|    }
13122|      5|    while (1) {
  ------------------
  |  Branch (13122:12): [True: 5, Folded]
  ------------------
13123|      5|        _memo->node = _res;
13124|      5|        _memo->mark = p->mark;
13125|      5|        p->mark = _mark;
13126|      5|        void *_raw = bitwise_or_raw(p);
13127|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13127:13): [True: 0, False: 5]
  ------------------
13128|      0|            p->level--;
13129|      0|            return NULL;
13130|      0|        }
13131|      5|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13131:13): [True: 1, False: 4]
  |  Branch (13131:29): [True: 2, False: 2]
  ------------------
13132|      3|            break;
13133|      2|        _resmark = p->mark;
13134|      2|        _res = _raw;
13135|      2|    }
13136|      3|    p->mark = _resmark;
13137|      3|    p->level--;
13138|      3|    return _res;
13139|      3|}
_PyPegen_bitwise_and_rule:
13373|     10|{
13374|     10|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     20|#  define MAXSTACK 6000
  ------------------
  |  Branch (13374:9): [True: 0, False: 10]
  |  Branch (13374:35): [True: 0, False: 10]
  ------------------
13375|      0|        _Pypegen_stack_overflow(p);
13376|      0|    }
13377|     10|    expr_ty _res = NULL;
13378|     10|    if (_PyPegen_is_memoized(p, bitwise_and_type, &_res)) {
  ------------------
  |  |  214|     10|#define bitwise_and_type 1125  // Left-recursive
  ------------------
  |  Branch (13378:9): [True: 7, False: 3]
  ------------------
13379|      7|        p->level--;
13380|      7|        return _res;
13381|      7|    }
13382|      3|    int _mark = p->mark;
13383|      3|    int _resmark = p->mark;
13384|      3|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, bitwise_and_type);
  ------------------
  |  |  214|      3|#define bitwise_and_type 1125  // Left-recursive
  ------------------
13385|      3|    if (_memo == NULL) {
  ------------------
  |  Branch (13385:9): [True: 0, False: 3]
  ------------------
13386|      0|        p->level--;
13387|      0|        return NULL;
13388|      0|    }
13389|      5|    while (1) {
  ------------------
  |  Branch (13389:12): [True: 5, Folded]
  ------------------
13390|      5|        _memo->node = _res;
13391|      5|        _memo->mark = p->mark;
13392|      5|        p->mark = _mark;
13393|      5|        void *_raw = bitwise_and_raw(p);
13394|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13394:13): [True: 0, False: 5]
  ------------------
13395|      0|            p->level--;
13396|      0|            return NULL;
13397|      0|        }
13398|      5|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13398:13): [True: 1, False: 4]
  |  Branch (13398:29): [True: 2, False: 2]
  ------------------
13399|      3|            break;
13400|      2|        _resmark = p->mark;
13401|      2|        _res = _raw;
13402|      2|    }
13403|      3|    p->mark = _resmark;
13404|      3|    p->level--;
13405|      3|    return _res;
13406|      3|}
_PyPegen_sum_rule:
13681|     10|{
13682|     10|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     20|#  define MAXSTACK 6000
  ------------------
  |  Branch (13682:9): [True: 0, False: 10]
  |  Branch (13682:35): [True: 0, False: 10]
  ------------------
13683|      0|        _Pypegen_stack_overflow(p);
13684|      0|    }
13685|     10|    expr_ty _res = NULL;
13686|     10|    if (_PyPegen_is_memoized(p, sum_type, &_res)) {
  ------------------
  |  |  216|     10|#define sum_type 1127  // Left-recursive
  ------------------
  |  Branch (13686:9): [True: 7, False: 3]
  ------------------
13687|      7|        p->level--;
13688|      7|        return _res;
13689|      7|    }
13690|      3|    int _mark = p->mark;
13691|      3|    int _resmark = p->mark;
13692|      3|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, sum_type);
  ------------------
  |  |  216|      3|#define sum_type 1127  // Left-recursive
  ------------------
13693|      3|    if (_memo == NULL) {
  ------------------
  |  Branch (13693:9): [True: 0, False: 3]
  ------------------
13694|      0|        p->level--;
13695|      0|        return NULL;
13696|      0|    }
13697|      5|    while (1) {
  ------------------
  |  Branch (13697:12): [True: 5, Folded]
  ------------------
13698|      5|        _memo->node = _res;
13699|      5|        _memo->mark = p->mark;
13700|      5|        p->mark = _mark;
13701|      5|        void *_raw = sum_raw(p);
13702|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13702:13): [True: 0, False: 5]
  ------------------
13703|      0|            p->level--;
13704|      0|            return NULL;
13705|      0|        }
13706|      5|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13706:13): [True: 1, False: 4]
  |  Branch (13706:29): [True: 2, False: 2]
  ------------------
13707|      3|            break;
13708|      2|        _resmark = p->mark;
13709|      2|        _res = _raw;
13710|      2|    }
13711|      3|    p->mark = _resmark;
13712|      3|    p->level--;
13713|      3|    return _res;
13714|      3|}
_PyPegen_factor_rule:
14151|      5|{
14152|      5|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     10|#  define MAXSTACK 6000
  ------------------
  |  Branch (14152:9): [True: 0, False: 5]
  |  Branch (14152:35): [True: 0, False: 5]
  ------------------
14153|      0|        _Pypegen_stack_overflow(p);
14154|      0|    }
14155|      5|    if (p->error_indicator) {
  ------------------
  |  Branch (14155:9): [True: 0, False: 5]
  ------------------
14156|      0|        p->level--;
14157|      0|        return NULL;
14158|      0|    }
14159|      5|    expr_ty _res = NULL;
14160|      5|    if (_PyPegen_is_memoized(p, factor_type, &_res)) {
  ------------------
  |  |  218|      5|#define factor_type 1129
  ------------------
  |  Branch (14160:9): [True: 2, False: 3]
  ------------------
14161|      2|        p->level--;
14162|      2|        return _res;
14163|      2|    }
14164|      3|    int _mark = p->mark;
14165|      3|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14165:9): [True: 0, False: 3]
  |  Branch (14165:31): [True: 0, False: 0]
  ------------------
14166|      0|        p->error_indicator = 1;
14167|      0|        p->level--;
14168|      0|        return NULL;
14169|      0|    }
14170|      3|    int _start_lineno = p->tokens[_mark]->lineno;
14171|      3|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
14172|      3|    int _start_col_offset = p->tokens[_mark]->col_offset;
14173|      3|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
14174|      3|    { // '+' factor
14175|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (14175:13): [True: 0, False: 3]
  ------------------
14176|      0|            p->level--;
14177|      0|            return NULL;
14178|      0|        }
14179|      3|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14180|      3|        Token * _literal;
14181|      3|        expr_ty a;
14182|      3|        if (
14183|      3|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (14183:13): [True: 0, False: 3]
  ------------------
14184|      0|            &&
14185|      0|            (a = factor_rule(p))  // factor
  ------------------
  |  |  487|      0|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14185:13): [True: 0, False: 0]
  ------------------
14186|      3|        )
14187|      0|        {
14188|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14189|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14190|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14190:17): [True: 0, False: 0]
  ------------------
14191|      0|                p->level--;
14192|      0|                return NULL;
14193|      0|            }
14194|      0|            int _end_lineno = _token->end_lineno;
14195|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14196|      0|            int _end_col_offset = _token->end_col_offset;
14197|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14198|      0|            _res = _PyAST_UnaryOp ( UAdd , a , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14199|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14199:18): [True: 0, False: 0]
  |  Branch (14199:34): [True: 0, False: 0]
  |  Branch (14199:57): [True: 0, False: 0]
  ------------------
14200|      0|                p->error_indicator = 1;
14201|      0|                p->level--;
14202|      0|                return NULL;
14203|      0|            }
14204|      0|            goto done;
14205|      0|        }
14206|      3|        p->mark = _mark;
14207|      3|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14208|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+' factor"));
14209|      3|    }
14210|      0|    { // '-' factor
14211|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (14211:13): [True: 0, False: 3]
  ------------------
14212|      0|            p->level--;
14213|      0|            return NULL;
14214|      0|        }
14215|      3|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14216|      3|        Token * _literal;
14217|      3|        expr_ty a;
14218|      3|        if (
14219|      3|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (14219:13): [True: 0, False: 3]
  ------------------
14220|      0|            &&
14221|      0|            (a = factor_rule(p))  // factor
  ------------------
  |  |  487|      0|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14221:13): [True: 0, False: 0]
  ------------------
14222|      3|        )
14223|      0|        {
14224|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14225|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14226|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14226:17): [True: 0, False: 0]
  ------------------
14227|      0|                p->level--;
14228|      0|                return NULL;
14229|      0|            }
14230|      0|            int _end_lineno = _token->end_lineno;
14231|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14232|      0|            int _end_col_offset = _token->end_col_offset;
14233|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14234|      0|            _res = _PyAST_UnaryOp ( USub , a , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14235|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14235:18): [True: 0, False: 0]
  |  Branch (14235:34): [True: 0, False: 0]
  |  Branch (14235:57): [True: 0, False: 0]
  ------------------
14236|      0|                p->error_indicator = 1;
14237|      0|                p->level--;
14238|      0|                return NULL;
14239|      0|            }
14240|      0|            goto done;
14241|      0|        }
14242|      3|        p->mark = _mark;
14243|      3|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14244|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-' factor"));
14245|      3|    }
14246|      0|    { // '~' factor
14247|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (14247:13): [True: 0, False: 3]
  ------------------
14248|      0|            p->level--;
14249|      0|            return NULL;
14250|      0|        }
14251|      3|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14252|      3|        Token * _literal;
14253|      3|        expr_ty a;
14254|      3|        if (
14255|      3|            (_literal = _PyPegen_expect_token(p, 31))  // token='~'
  ------------------
  |  Branch (14255:13): [True: 0, False: 3]
  ------------------
14256|      0|            &&
14257|      0|            (a = factor_rule(p))  // factor
  ------------------
  |  |  487|      0|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14257:13): [True: 0, False: 0]
  ------------------
14258|      3|        )
14259|      0|        {
14260|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14261|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14262|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14262:17): [True: 0, False: 0]
  ------------------
14263|      0|                p->level--;
14264|      0|                return NULL;
14265|      0|            }
14266|      0|            int _end_lineno = _token->end_lineno;
14267|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14268|      0|            int _end_col_offset = _token->end_col_offset;
14269|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14270|      0|            _res = _PyAST_UnaryOp ( Invert , a , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14271|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14271:18): [True: 0, False: 0]
  |  Branch (14271:34): [True: 0, False: 0]
  |  Branch (14271:57): [True: 0, False: 0]
  ------------------
14272|      0|                p->error_indicator = 1;
14273|      0|                p->level--;
14274|      0|                return NULL;
14275|      0|            }
14276|      0|            goto done;
14277|      0|        }
14278|      3|        p->mark = _mark;
14279|      3|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14280|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'~' factor"));
14281|      3|    }
14282|      0|    { // power
14283|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (14283:13): [True: 0, False: 3]
  ------------------
14284|      0|            p->level--;
14285|      0|            return NULL;
14286|      0|        }
14287|      3|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "power"));
14288|      3|        expr_ty power_var;
14289|      3|        if (
14290|      3|            (power_var = power_rule(p))  // power
  ------------------
  |  Branch (14290:13): [True: 2, False: 1]
  ------------------
14291|      3|        )
14292|      2|        {
14293|      2|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "power"));
14294|      2|            _res = power_var;
14295|      2|            goto done;
14296|      2|        }
14297|      1|        p->mark = _mark;
14298|      1|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14299|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "power"));
14300|      1|    }
14301|      1|    if (p->call_invalid_rules) { // invalid_factor
  ------------------
  |  Branch (14301:9): [True: 0, False: 1]
  ------------------
14302|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (14302:13): [True: 0, False: 0]
  ------------------
14303|      0|            p->level--;
14304|      0|            return NULL;
14305|      0|        }
14306|      0|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_factor"));
14307|      0|        void *invalid_factor_var;
14308|      0|        if (
14309|      0|            (invalid_factor_var = invalid_factor_rule(p))  // invalid_factor
  ------------------
  |  |  653|      0|#define invalid_factor_rule _PyPegen_invalid_factor_rule
  ------------------
  |  Branch (14309:13): [True: 0, False: 0]
  ------------------
14310|      0|        )
14311|      0|        {
14312|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_factor"));
14313|      0|            _res = invalid_factor_var;
14314|      0|            goto done;
14315|      0|        }
14316|      0|        p->mark = _mark;
14317|      0|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14318|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_factor"));
14319|      0|    }
14320|      1|    _res = NULL;
14321|      3|  done:
14322|      3|    _PyPegen_insert_memo(p, _mark, factor_type, _res);
  ------------------
  |  |  218|      3|#define factor_type 1129
  ------------------
14323|      3|    p->level--;
14324|      3|    return _res;
14325|      1|}
_PyPegen_lambdef_rule:
15302|      1|{
15303|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (15303:9): [True: 0, False: 1]
  |  Branch (15303:35): [True: 0, False: 1]
  ------------------
15304|      0|        _Pypegen_stack_overflow(p);
15305|      0|    }
15306|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (15306:9): [True: 0, False: 1]
  ------------------
15307|      0|        p->level--;
15308|      0|        return NULL;
15309|      0|    }
15310|      1|    expr_ty _res = NULL;
15311|      1|    int _mark = p->mark;
15312|      1|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15312:9): [True: 0, False: 1]
  |  Branch (15312:31): [True: 0, False: 0]
  ------------------
15313|      0|        p->error_indicator = 1;
15314|      0|        p->level--;
15315|      0|        return NULL;
15316|      0|    }
15317|      1|    int _start_lineno = p->tokens[_mark]->lineno;
15318|      1|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
15319|      1|    int _start_col_offset = p->tokens[_mark]->col_offset;
15320|      1|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
15321|      1|    { // 'lambda' lambda_params? ':' expression
15322|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15322:13): [True: 0, False: 1]
  ------------------
15323|      0|            p->level--;
15324|      0|            return NULL;
15325|      0|        }
15326|      1|        D(fprintf(stderr, "%*c> lambdef[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15327|      1|        Token * _keyword;
15328|      1|        Token * _literal;
15329|      1|        void *a;
15330|      1|        expr_ty b;
15331|      1|        if (
15332|      1|            (_keyword = _PyPegen_expect_token(p, 534))  // token='lambda'
  ------------------
  |  Branch (15332:13): [True: 1, False: 0]
  ------------------
15333|      1|            &&
15334|      1|            (a = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  |  491|      1|#define lambda_params_rule _PyPegen_lambda_params_rule
  ------------------
  |  Branch (15334:13): [True: 1, False: 0]
  ------------------
15335|      1|            &&
15336|      1|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (15336:13): [True: 1, False: 0]
  ------------------
15337|      1|            &&
15338|      1|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|      1|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (15338:13): [True: 1, False: 0]
  ------------------
15339|      1|        )
15340|      1|        {
15341|      1|            D(fprintf(stderr, "%*c+ lambdef[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15342|      1|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15343|      1|            if (_token == NULL) {
  ------------------
  |  Branch (15343:17): [True: 0, False: 1]
  ------------------
15344|      0|                p->level--;
15345|      0|                return NULL;
15346|      0|            }
15347|      1|            int _end_lineno = _token->end_lineno;
15348|      1|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
15349|      1|            int _end_col_offset = _token->end_col_offset;
15350|      1|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
15351|      1|            _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  280|      1|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  316|      1|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (15351:36): [True: 1, False: 0]
  ------------------
15352|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15352:18): [True: 0, False: 1]
  |  Branch (15352:34): [True: 0, False: 1]
  |  Branch (15352:57): [True: 0, False: 0]
  ------------------
15353|      0|                p->error_indicator = 1;
15354|      0|                p->level--;
15355|      0|                return NULL;
15356|      0|            }
15357|      1|            goto done;
15358|      1|        }
15359|      0|        p->mark = _mark;
15360|      0|        D(fprintf(stderr, "%*c%s lambdef[%d-%d]: %s failed!\n", p->level, ' ',
15361|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15362|      0|    }
15363|      0|    _res = NULL;
15364|      1|  done:
15365|      1|    p->level--;
15366|      1|    return _res;
15367|      0|}
_PyPegen_lambda_params_rule:
15372|      1|{
15373|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (15373:9): [True: 0, False: 1]
  |  Branch (15373:35): [True: 0, False: 1]
  ------------------
15374|      0|        _Pypegen_stack_overflow(p);
15375|      0|    }
15376|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (15376:9): [True: 0, False: 1]
  ------------------
15377|      0|        p->level--;
15378|      0|        return NULL;
15379|      0|    }
15380|      1|    arguments_ty _res = NULL;
15381|      1|    int _mark = p->mark;
15382|      1|    if (p->call_invalid_rules) { // invalid_lambda_parameters
  ------------------
  |  Branch (15382:9): [True: 0, False: 1]
  ------------------
15383|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15383:13): [True: 0, False: 0]
  ------------------
15384|      0|            p->level--;
15385|      0|            return NULL;
15386|      0|        }
15387|      0|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_parameters"));
15388|      0|        void *invalid_lambda_parameters_var;
15389|      0|        if (
15390|      0|            (invalid_lambda_parameters_var = invalid_lambda_parameters_rule(p))  // invalid_lambda_parameters
  ------------------
  |  |  571|      0|#define invalid_lambda_parameters_rule _PyPegen_invalid_lambda_parameters_rule
  ------------------
  |  Branch (15390:13): [True: 0, False: 0]
  ------------------
15391|      0|        )
15392|      0|        {
15393|      0|            D(fprintf(stderr, "%*c+ lambda_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_parameters"));
15394|      0|            _res = invalid_lambda_parameters_var;
15395|      0|            goto done;
15396|      0|        }
15397|      0|        p->mark = _mark;
15398|      0|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15399|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_parameters"));
15400|      0|    }
15401|      1|    { // lambda_parameters
15402|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15402:13): [True: 0, False: 1]
  ------------------
15403|      0|            p->level--;
15404|      0|            return NULL;
15405|      0|        }
15406|      1|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15407|      1|        arguments_ty lambda_parameters_var;
15408|      1|        if (
15409|      1|            (lambda_parameters_var = lambda_parameters_rule(p))  // lambda_parameters
  ------------------
  |  Branch (15409:13): [True: 1, False: 0]
  ------------------
15410|      1|        )
15411|      1|        {
15412|      1|            D(fprintf(stderr, "%*c+ lambda_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15413|      1|            _res = lambda_parameters_var;
15414|      1|            goto done;
15415|      1|        }
15416|      0|        p->mark = _mark;
15417|      0|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15418|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_parameters"));
15419|      0|    }
15420|      0|    _res = NULL;
15421|      1|  done:
15422|      1|    p->level--;
15423|      1|    return _res;
15424|      0|}
_PyPegen_lambda_slash_no_default_rule:
15599|      1|{
15600|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (15600:9): [True: 0, False: 1]
  |  Branch (15600:35): [True: 0, False: 1]
  ------------------
15601|      0|        _Pypegen_stack_overflow(p);
15602|      0|    }
15603|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (15603:9): [True: 0, False: 1]
  ------------------
15604|      0|        p->level--;
15605|      0|        return NULL;
15606|      0|    }
15607|      1|    asdl_arg_seq* _res = NULL;
15608|      1|    int _mark = p->mark;
15609|      1|    { // lambda_param_no_default+ '/' ','
15610|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15610:13): [True: 0, False: 1]
  ------------------
15611|      0|            p->level--;
15612|      0|            return NULL;
15613|      0|        }
15614|      1|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15615|      1|        Token * _literal;
15616|      1|        Token * _literal_1;
15617|      1|        asdl_arg_seq* a;
15618|      1|        if (
15619|      1|            (a = (asdl_arg_seq*)_loop1_72_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15619:13): [True: 1, False: 0]
  ------------------
15620|      1|            &&
15621|      1|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15621:13): [True: 0, False: 1]
  ------------------
15622|      0|            &&
15623|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15623:13): [True: 0, False: 0]
  ------------------
15624|      1|        )
15625|      0|        {
15626|      0|            D(fprintf(stderr, "%*c+ lambda_slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15627|      0|            _res = a;
15628|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15628:18): [True: 0, False: 0]
  |  Branch (15628:34): [True: 0, False: 0]
  |  Branch (15628:57): [True: 0, False: 0]
  ------------------
15629|      0|                p->error_indicator = 1;
15630|      0|                p->level--;
15631|      0|                return NULL;
15632|      0|            }
15633|      0|            goto done;
15634|      0|        }
15635|      1|        p->mark = _mark;
15636|      1|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15637|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15638|      1|    }
15639|      0|    { // lambda_param_no_default+ '/' &':'
15640|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15640:13): [True: 0, False: 1]
  ------------------
15641|      0|            p->level--;
15642|      0|            return NULL;
15643|      0|        }
15644|      1|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15645|      1|        Token * _literal;
15646|      1|        asdl_arg_seq* a;
15647|      1|        if (
15648|      1|            (a = (asdl_arg_seq*)_loop1_72_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15648:13): [True: 1, False: 0]
  ------------------
15649|      1|            &&
15650|      1|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15650:13): [True: 0, False: 1]
  ------------------
15651|      0|            &&
15652|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (15652:13): [True: 0, False: 0]
  ------------------
15653|      1|        )
15654|      0|        {
15655|      0|            D(fprintf(stderr, "%*c+ lambda_slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15656|      0|            _res = a;
15657|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15657:18): [True: 0, False: 0]
  |  Branch (15657:34): [True: 0, False: 0]
  |  Branch (15657:57): [True: 0, False: 0]
  ------------------
15658|      0|                p->error_indicator = 1;
15659|      0|                p->level--;
15660|      0|                return NULL;
15661|      0|            }
15662|      0|            goto done;
15663|      0|        }
15664|      1|        p->mark = _mark;
15665|      1|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15666|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15667|      1|    }
15668|      1|    _res = NULL;
15669|      1|  done:
15670|      1|    p->level--;
15671|      1|    return _res;
15672|      1|}
_PyPegen_lambda_slash_with_default_rule:
15679|      1|{
15680|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (15680:9): [True: 0, False: 1]
  |  Branch (15680:35): [True: 0, False: 1]
  ------------------
15681|      0|        _Pypegen_stack_overflow(p);
15682|      0|    }
15683|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (15683:9): [True: 0, False: 1]
  ------------------
15684|      0|        p->level--;
15685|      0|        return NULL;
15686|      0|    }
15687|      1|    SlashWithDefault* _res = NULL;
15688|      1|    int _mark = p->mark;
15689|      1|    { // lambda_param_no_default* lambda_param_with_default+ '/' ','
15690|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15690:13): [True: 0, False: 1]
  ------------------
15691|      0|            p->level--;
15692|      0|            return NULL;
15693|      0|        }
15694|      1|        D(fprintf(stderr, "%*c> lambda_slash_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' ','"));
15695|      1|        Token * _literal;
15696|      1|        Token * _literal_1;
15697|      1|        asdl_seq * a;
15698|      1|        asdl_seq * b;
15699|      1|        if (
15700|      1|            (a = _loop0_70_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15700:13): [True: 1, False: 0]
  ------------------
15701|      1|            &&
15702|      1|            (b = _loop1_73_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15702:13): [True: 0, False: 1]
  ------------------
15703|      0|            &&
15704|      0|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15704:13): [True: 0, False: 0]
  ------------------
15705|      0|            &&
15706|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15706:13): [True: 0, False: 0]
  ------------------
15707|      1|        )
15708|      0|        {
15709|      0|            D(fprintf(stderr, "%*c+ lambda_slash_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' ','"));
15710|      0|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
15711|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15711:18): [True: 0, False: 0]
  |  Branch (15711:34): [True: 0, False: 0]
  |  Branch (15711:57): [True: 0, False: 0]
  ------------------
15712|      0|                p->error_indicator = 1;
15713|      0|                p->level--;
15714|      0|                return NULL;
15715|      0|            }
15716|      0|            goto done;
15717|      0|        }
15718|      1|        p->mark = _mark;
15719|      1|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
15720|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' ','"));
15721|      1|    }
15722|      0|    { // lambda_param_no_default* lambda_param_with_default+ '/' &':'
15723|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15723:13): [True: 0, False: 1]
  ------------------
15724|      0|            p->level--;
15725|      0|            return NULL;
15726|      0|        }
15727|      1|        D(fprintf(stderr, "%*c> lambda_slash_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' &':'"));
15728|      1|        Token * _literal;
15729|      1|        asdl_seq * a;
15730|      1|        asdl_seq * b;
15731|      1|        if (
15732|      1|            (a = _loop0_70_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15732:13): [True: 1, False: 0]
  ------------------
15733|      1|            &&
15734|      1|            (b = _loop1_73_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15734:13): [True: 0, False: 1]
  ------------------
15735|      0|            &&
15736|      0|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15736:13): [True: 0, False: 0]
  ------------------
15737|      0|            &&
15738|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (15738:13): [True: 0, False: 0]
  ------------------
15739|      1|        )
15740|      0|        {
15741|      0|            D(fprintf(stderr, "%*c+ lambda_slash_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' &':'"));
15742|      0|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
15743|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15743:18): [True: 0, False: 0]
  |  Branch (15743:34): [True: 0, False: 0]
  |  Branch (15743:57): [True: 0, False: 0]
  ------------------
15744|      0|                p->error_indicator = 1;
15745|      0|                p->level--;
15746|      0|                return NULL;
15747|      0|            }
15748|      0|            goto done;
15749|      0|        }
15750|      1|        p->mark = _mark;
15751|      1|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
15752|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' &':'"));
15753|      1|    }
15754|      1|    _res = NULL;
15755|      1|  done:
15756|      1|    p->level--;
15757|      1|    return _res;
15758|      1|}
_PyPegen_lambda_param_no_default_rule:
15960|     30|{
15961|     30|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     60|#  define MAXSTACK 6000
  ------------------
  |  Branch (15961:9): [True: 0, False: 30]
  |  Branch (15961:35): [True: 0, False: 30]
  ------------------
15962|      0|        _Pypegen_stack_overflow(p);
15963|      0|    }
15964|     30|    if (p->error_indicator) {
  ------------------
  |  Branch (15964:9): [True: 0, False: 30]
  ------------------
15965|      0|        p->level--;
15966|      0|        return NULL;
15967|      0|    }
15968|     30|    arg_ty _res = NULL;
15969|     30|    int _mark = p->mark;
15970|     30|    { // lambda_param ','
15971|     30|        if (p->error_indicator) {
  ------------------
  |  Branch (15971:13): [True: 0, False: 30]
  ------------------
15972|      0|            p->level--;
15973|      0|            return NULL;
15974|      0|        }
15975|     30|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
15976|     30|        Token * _literal;
15977|     30|        arg_ty a;
15978|     30|        if (
15979|     30|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|     30|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (15979:13): [True: 25, False: 5]
  ------------------
15980|     25|            &&
15981|     25|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15981:13): [True: 20, False: 5]
  ------------------
15982|     30|        )
15983|     20|        {
15984|     20|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
15985|     20|            _res = a;
15986|     20|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15986:18): [True: 0, False: 20]
  |  Branch (15986:34): [True: 0, False: 20]
  |  Branch (15986:57): [True: 0, False: 0]
  ------------------
15987|      0|                p->error_indicator = 1;
15988|      0|                p->level--;
15989|      0|                return NULL;
15990|      0|            }
15991|     20|            goto done;
15992|     20|        }
15993|     10|        p->mark = _mark;
15994|     10|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15995|     10|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param ','"));
15996|     10|    }
15997|      0|    { // lambda_param &':'
15998|     10|        if (p->error_indicator) {
  ------------------
  |  Branch (15998:13): [True: 0, False: 10]
  ------------------
15999|      0|            p->level--;
16000|      0|            return NULL;
16001|      0|        }
16002|     10|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
16003|     10|        arg_ty a;
16004|     10|        if (
16005|     10|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|     10|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (16005:13): [True: 5, False: 5]
  ------------------
16006|      5|            &&
16007|      5|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16007:13): [True: 5, False: 0]
  ------------------
16008|     10|        )
16009|      5|        {
16010|      5|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
16011|      5|            _res = a;
16012|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16012:18): [True: 0, False: 5]
  |  Branch (16012:34): [True: 0, False: 5]
  |  Branch (16012:57): [True: 0, False: 0]
  ------------------
16013|      0|                p->error_indicator = 1;
16014|      0|                p->level--;
16015|      0|                return NULL;
16016|      0|            }
16017|      5|            goto done;
16018|      5|        }
16019|      5|        p->mark = _mark;
16020|      5|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16021|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param &':'"));
16022|      5|    }
16023|      5|    _res = NULL;
16024|     30|  done:
16025|     30|    p->level--;
16026|     30|    return _res;
16027|      5|}
_PyPegen_lambda_param_with_default_rule:
16032|      3|{
16033|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (16033:9): [True: 0, False: 3]
  |  Branch (16033:35): [True: 0, False: 3]
  ------------------
16034|      0|        _Pypegen_stack_overflow(p);
16035|      0|    }
16036|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (16036:9): [True: 0, False: 3]
  ------------------
16037|      0|        p->level--;
16038|      0|        return NULL;
16039|      0|    }
16040|      3|    NameDefaultPair* _res = NULL;
16041|      3|    int _mark = p->mark;
16042|      3|    { // lambda_param default ','
16043|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (16043:13): [True: 0, False: 3]
  ------------------
16044|      0|            p->level--;
16045|      0|            return NULL;
16046|      0|        }
16047|      3|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
16048|      3|        Token * _literal;
16049|      3|        arg_ty a;
16050|      3|        expr_ty c;
16051|      3|        if (
16052|      3|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|      3|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (16052:13): [True: 0, False: 3]
  ------------------
16053|      0|            &&
16054|      0|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16054:13): [True: 0, False: 0]
  ------------------
16055|      0|            &&
16056|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16056:13): [True: 0, False: 0]
  ------------------
16057|      3|        )
16058|      0|        {
16059|      0|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
16060|      0|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16061|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16061:18): [True: 0, False: 0]
  |  Branch (16061:34): [True: 0, False: 0]
  |  Branch (16061:57): [True: 0, False: 0]
  ------------------
16062|      0|                p->error_indicator = 1;
16063|      0|                p->level--;
16064|      0|                return NULL;
16065|      0|            }
16066|      0|            goto done;
16067|      0|        }
16068|      3|        p->mark = _mark;
16069|      3|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16070|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default ','"));
16071|      3|    }
16072|      0|    { // lambda_param default &':'
16073|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (16073:13): [True: 0, False: 3]
  ------------------
16074|      0|            p->level--;
16075|      0|            return NULL;
16076|      0|        }
16077|      3|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16078|      3|        arg_ty a;
16079|      3|        expr_ty c;
16080|      3|        if (
16081|      3|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|      3|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (16081:13): [True: 0, False: 3]
  ------------------
16082|      0|            &&
16083|      0|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16083:13): [True: 0, False: 0]
  ------------------
16084|      0|            &&
16085|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16085:13): [True: 0, False: 0]
  ------------------
16086|      3|        )
16087|      0|        {
16088|      0|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16089|      0|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16090|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16090:18): [True: 0, False: 0]
  |  Branch (16090:34): [True: 0, False: 0]
  |  Branch (16090:57): [True: 0, False: 0]
  ------------------
16091|      0|                p->error_indicator = 1;
16092|      0|                p->level--;
16093|      0|                return NULL;
16094|      0|            }
16095|      0|            goto done;
16096|      0|        }
16097|      3|        p->mark = _mark;
16098|      3|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16099|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default &':'"));
16100|      3|    }
16101|      3|    _res = NULL;
16102|      3|  done:
16103|      3|    p->level--;
16104|      3|    return _res;
16105|      3|}
_PyPegen_lambda_param_rule:
16188|     46|{
16189|     46|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     92|#  define MAXSTACK 6000
  ------------------
  |  Branch (16189:9): [True: 0, False: 46]
  |  Branch (16189:35): [True: 0, False: 46]
  ------------------
16190|      0|        _Pypegen_stack_overflow(p);
16191|      0|    }
16192|     46|    if (p->error_indicator) {
  ------------------
  |  Branch (16192:9): [True: 0, False: 46]
  ------------------
16193|      0|        p->level--;
16194|      0|        return NULL;
16195|      0|    }
16196|     46|    arg_ty _res = NULL;
16197|     46|    int _mark = p->mark;
16198|     46|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16198:9): [True: 5, False: 41]
  |  Branch (16198:31): [True: 0, False: 5]
  ------------------
16199|      0|        p->error_indicator = 1;
16200|      0|        p->level--;
16201|      0|        return NULL;
16202|      0|    }
16203|     46|    int _start_lineno = p->tokens[_mark]->lineno;
16204|     46|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     46|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 46]
  |  |  ------------------
  ------------------
16205|     46|    int _start_col_offset = p->tokens[_mark]->col_offset;
16206|     46|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     46|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 46]
  |  |  ------------------
  ------------------
16207|     46|    { // NAME
16208|     46|        if (p->error_indicator) {
  ------------------
  |  Branch (16208:13): [True: 0, False: 46]
  ------------------
16209|      0|            p->level--;
16210|      0|            return NULL;
16211|      0|        }
16212|     46|        D(fprintf(stderr, "%*c> lambda_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
16213|     46|        expr_ty a;
16214|     46|        if (
16215|     46|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (16215:13): [True: 30, False: 16]
  ------------------
16216|     46|        )
16217|     30|        {
16218|     30|            D(fprintf(stderr, "%*c+ lambda_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
16219|     30|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16220|     30|            if (_token == NULL) {
  ------------------
  |  Branch (16220:17): [True: 0, False: 30]
  ------------------
16221|      0|                p->level--;
16222|      0|                return NULL;
16223|      0|            }
16224|     30|            int _end_lineno = _token->end_lineno;
16225|     30|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     30|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 30]
  |  |  ------------------
  ------------------
16226|     30|            int _end_col_offset = _token->end_col_offset;
16227|     30|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     30|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 30]
  |  |  ------------------
  ------------------
16228|     30|            _res = _PyAST_arg ( a -> v . Name . id , NULL , NULL , EXTRA );
  ------------------
  |  |  316|     30|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16229|     30|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16229:18): [True: 0, False: 30]
  |  Branch (16229:34): [True: 0, False: 30]
  |  Branch (16229:57): [True: 0, False: 0]
  ------------------
16230|      0|                p->error_indicator = 1;
16231|      0|                p->level--;
16232|      0|                return NULL;
16233|      0|            }
16234|     30|            goto done;
16235|     30|        }
16236|     16|        p->mark = _mark;
16237|     16|        D(fprintf(stderr, "%*c%s lambda_param[%d-%d]: %s failed!\n", p->level, ' ',
16238|     16|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
16239|     16|    }
16240|     16|    _res = NULL;
16241|     46|  done:
16242|     46|    p->level--;
16243|     46|    return _res;
16244|     16|}
_PyPegen_tuple_rule:
17397|      2|{
17398|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (17398:9): [True: 0, False: 2]
  |  Branch (17398:35): [True: 0, False: 2]
  ------------------
17399|      0|        _Pypegen_stack_overflow(p);
17400|      0|    }
17401|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (17401:9): [True: 0, False: 2]
  ------------------
17402|      0|        p->level--;
17403|      0|        return NULL;
17404|      0|    }
17405|      2|    expr_ty _res = NULL;
17406|      2|    int _mark = p->mark;
17407|      2|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17407:9): [True: 0, False: 2]
  |  Branch (17407:31): [True: 0, False: 0]
  ------------------
17408|      0|        p->error_indicator = 1;
17409|      0|        p->level--;
17410|      0|        return NULL;
17411|      0|    }
17412|      2|    int _start_lineno = p->tokens[_mark]->lineno;
17413|      2|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
17414|      2|    int _start_col_offset = p->tokens[_mark]->col_offset;
17415|      2|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
17416|      2|    { // '(' [display_item ',' display_items?] ')'
17417|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (17417:13): [True: 0, False: 2]
  ------------------
17418|      0|            p->level--;
17419|      0|            return NULL;
17420|      0|        }
17421|      2|        D(fprintf(stderr, "%*c> tuple[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' [display_item ',' display_items?] ')'"));
17422|      2|        Token * _literal;
17423|      2|        Token * _literal_1;
17424|      2|        void *a;
17425|      2|        if (
17426|      2|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (17426:13): [True: 2, False: 0]
  ------------------
17427|      2|            &&
17428|      2|            (a = _tmp_84_rule(p), !p->error_indicator)  // [display_item ',' display_items?]
  ------------------
  |  Branch (17428:13): [True: 2, False: 0]
  ------------------
17429|      2|            &&
17430|      2|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (17430:13): [True: 2, False: 0]
  ------------------
17431|      2|        )
17432|      2|        {
17433|      2|            D(fprintf(stderr, "%*c+ tuple[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' [display_item ',' display_items?] ')'"));
17434|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17435|      2|            if (_token == NULL) {
  ------------------
  |  Branch (17435:17): [True: 0, False: 2]
  ------------------
17436|      0|                p->level--;
17437|      0|                return NULL;
17438|      0|            }
17439|      2|            int _end_lineno = _token->end_lineno;
17440|      2|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
17441|      2|            int _end_col_offset = _token->end_col_offset;
17442|      2|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
17443|      2|            _res = _PyAST_Tuple ( a , Load , EXTRA );
  ------------------
  |  |  316|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17444|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17444:18): [True: 0, False: 2]
  |  Branch (17444:34): [True: 0, False: 2]
  |  Branch (17444:57): [True: 0, False: 0]
  ------------------
17445|      0|                p->error_indicator = 1;
17446|      0|                p->level--;
17447|      0|                return NULL;
17448|      0|            }
17449|      2|            goto done;
17450|      2|        }
17451|      0|        p->mark = _mark;
17452|      0|        D(fprintf(stderr, "%*c%s tuple[%d-%d]: %s failed!\n", p->level, ' ',
17453|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' [display_item ',' display_items?] ')'"));
17454|      0|    }
17455|      0|    _res = NULL;
17456|      2|  done:
17457|      2|    p->level--;
17458|      2|    return _res;
17459|      0|}
_PyPegen_for_if_clauses_rule:
17784|      3|{
17785|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (17785:9): [True: 0, False: 3]
  |  Branch (17785:35): [True: 0, False: 3]
  ------------------
17786|      0|        _Pypegen_stack_overflow(p);
17787|      0|    }
17788|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (17788:9): [True: 0, False: 3]
  ------------------
17789|      0|        p->level--;
17790|      0|        return NULL;
17791|      0|    }
17792|      3|    asdl_comprehension_seq* _res = NULL;
17793|      3|    int _mark = p->mark;
17794|      3|    { // for_if_clause+
17795|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (17795:13): [True: 0, False: 3]
  ------------------
17796|      0|            p->level--;
17797|      0|            return NULL;
17798|      0|        }
17799|      3|        D(fprintf(stderr, "%*c> for_if_clauses[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
17800|      3|        asdl_comprehension_seq* a;
17801|      3|        if (
17802|      3|            (a = (asdl_comprehension_seq*)_loop1_87_rule(p))  // for_if_clause+
  ------------------
  |  Branch (17802:13): [True: 0, False: 3]
  ------------------
17803|      3|        )
17804|      0|        {
17805|      0|            D(fprintf(stderr, "%*c+ for_if_clauses[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
17806|      0|            _res = a;
17807|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17807:18): [True: 0, False: 0]
  |  Branch (17807:34): [True: 0, False: 0]
  |  Branch (17807:57): [True: 0, False: 0]
  ------------------
17808|      0|                p->error_indicator = 1;
17809|      0|                p->level--;
17810|      0|                return NULL;
17811|      0|            }
17812|      0|            goto done;
17813|      0|        }
17814|      3|        p->mark = _mark;
17815|      3|        D(fprintf(stderr, "%*c%s for_if_clauses[%d-%d]: %s failed!\n", p->level, ' ',
17816|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause+"));
17817|      3|    }
17818|      3|    _res = NULL;
17819|      3|  done:
17820|      3|    p->level--;
17821|      3|    return _res;
17822|      3|}
_PyPegen_genexp_rule:
18157|      5|{
18158|      5|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     10|#  define MAXSTACK 6000
  ------------------
  |  Branch (18158:9): [True: 0, False: 5]
  |  Branch (18158:35): [True: 0, False: 5]
  ------------------
18159|      0|        _Pypegen_stack_overflow(p);
18160|      0|    }
18161|      5|    if (p->error_indicator) {
  ------------------
  |  Branch (18161:9): [True: 0, False: 5]
  ------------------
18162|      0|        p->level--;
18163|      0|        return NULL;
18164|      0|    }
18165|      5|    expr_ty _res = NULL;
18166|      5|    int _mark = p->mark;
18167|      5|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18167:9): [True: 0, False: 5]
  |  Branch (18167:31): [True: 0, False: 0]
  ------------------
18168|      0|        p->error_indicator = 1;
18169|      0|        p->level--;
18170|      0|        return NULL;
18171|      0|    }
18172|      5|    int _start_lineno = p->tokens[_mark]->lineno;
18173|      5|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
18174|      5|    int _start_col_offset = p->tokens[_mark]->col_offset;
18175|      5|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
18176|      5|    { // '(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'
18177|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (18177:13): [True: 0, False: 5]
  ------------------
18178|      0|            p->level--;
18179|      0|            return NULL;
18180|      0|        }
18181|      5|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18182|      5|        Token * _literal;
18183|      5|        Token * _literal_1;
18184|      5|        void *a;
18185|      5|        asdl_comprehension_seq* b;
18186|      5|        if (
18187|      5|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (18187:13): [True: 3, False: 2]
  ------------------
18188|      3|            &&
18189|      3|            (a = _tmp_89_rule(p))  // assignment_expression | expression !':=' | starred_expression
  ------------------
  |  Branch (18189:13): [True: 3, False: 0]
  ------------------
18190|      3|            &&
18191|      3|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  519|      3|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (18191:13): [True: 0, False: 3]
  ------------------
18192|      0|            &&
18193|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (18193:13): [True: 0, False: 0]
  ------------------
18194|      5|        )
18195|      0|        {
18196|      0|            D(fprintf(stderr, "%*c+ genexp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18197|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18198|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18198:17): [True: 0, False: 0]
  ------------------
18199|      0|                p->level--;
18200|      0|                return NULL;
18201|      0|            }
18202|      0|            int _end_lineno = _token->end_lineno;
18203|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18204|      0|            int _end_col_offset = _token->end_col_offset;
18205|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18206|      0|            _res = _PyAST_GeneratorExp ( a , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18207|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18207:18): [True: 0, False: 0]
  |  Branch (18207:34): [True: 0, False: 0]
  |  Branch (18207:57): [True: 0, False: 0]
  ------------------
18208|      0|                p->error_indicator = 1;
18209|      0|                p->level--;
18210|      0|                return NULL;
18211|      0|            }
18212|      0|            goto done;
18213|      0|        }
18214|      5|        p->mark = _mark;
18215|      5|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18216|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18217|      5|    }
18218|      5|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18218:9): [True: 0, False: 5]
  ------------------
18219|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18219:13): [True: 0, False: 0]
  ------------------
18220|      0|            p->level--;
18221|      0|            return NULL;
18222|      0|        }
18223|      0|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18224|      0|        void *invalid_comprehension_var;
18225|      0|        if (
18226|      0|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  |  561|      0|#define invalid_comprehension_rule _PyPegen_invalid_comprehension_rule
  ------------------
  |  Branch (18226:13): [True: 0, False: 0]
  ------------------
18227|      0|        )
18228|      0|        {
18229|      0|            D(fprintf(stderr, "%*c+ genexp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18230|      0|            _res = invalid_comprehension_var;
18231|      0|            goto done;
18232|      0|        }
18233|      0|        p->mark = _mark;
18234|      0|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18235|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18236|      0|    }
18237|      5|    _res = NULL;
18238|      5|  done:
18239|      5|    p->level--;
18240|      5|    return _res;
18241|      5|}
_PyPegen_arguments_rule:
18361|      1|{
18362|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (18362:9): [True: 0, False: 1]
  |  Branch (18362:35): [True: 0, False: 1]
  ------------------
18363|      0|        _Pypegen_stack_overflow(p);
18364|      0|    }
18365|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (18365:9): [True: 0, False: 1]
  ------------------
18366|      0|        p->level--;
18367|      0|        return NULL;
18368|      0|    }
18369|      1|    expr_ty _res = NULL;
18370|      1|    if (_PyPegen_is_memoized(p, arguments_type, &_res)) {
  ------------------
  |  |  266|      1|#define arguments_type 1177
  ------------------
  |  Branch (18370:9): [True: 0, False: 1]
  ------------------
18371|      0|        p->level--;
18372|      0|        return _res;
18373|      0|    }
18374|      1|    int _mark = p->mark;
18375|      1|    { // args ','? &')'
18376|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (18376:13): [True: 0, False: 1]
  ------------------
18377|      0|            p->level--;
18378|      0|            return NULL;
18379|      0|        }
18380|      1|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18381|      1|        void *_opt_var;
18382|      1|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
18383|      1|        expr_ty a;
18384|      1|        if (
18385|      1|            (a = args_rule(p))  // args
  ------------------
  |  |  525|      1|#define args_rule _PyPegen_args_rule
  ------------------
  |  Branch (18385:13): [True: 1, False: 0]
  ------------------
18386|      1|            &&
18387|      1|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (18387:13): [True: 1, False: 0]
  ------------------
18388|      1|            &&
18389|      1|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (18389:13): [True: 1, False: 0]
  ------------------
18390|      1|        )
18391|      1|        {
18392|      1|            D(fprintf(stderr, "%*c+ arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18393|      1|            _res = a;
18394|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18394:18): [True: 0, False: 1]
  |  Branch (18394:34): [True: 0, False: 1]
  |  Branch (18394:57): [True: 0, False: 0]
  ------------------
18395|      0|                p->error_indicator = 1;
18396|      0|                p->level--;
18397|      0|                return NULL;
18398|      0|            }
18399|      1|            goto done;
18400|      1|        }
18401|      0|        p->mark = _mark;
18402|      0|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18403|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ','? &')'"));
18404|      0|    }
18405|      0|    if (p->call_invalid_rules) { // invalid_arguments
  ------------------
  |  Branch (18405:9): [True: 0, False: 0]
  ------------------
18406|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18406:13): [True: 0, False: 0]
  ------------------
18407|      0|            p->level--;
18408|      0|            return NULL;
18409|      0|        }
18410|      0|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arguments"));
18411|      0|        void *invalid_arguments_var;
18412|      0|        if (
18413|      0|            (invalid_arguments_var = invalid_arguments_rule(p))  // invalid_arguments
  ------------------
  |  |  537|      0|#define invalid_arguments_rule _PyPegen_invalid_arguments_rule
  ------------------
  |  Branch (18413:13): [True: 0, False: 0]
  ------------------
18414|      0|        )
18415|      0|        {
18416|      0|            D(fprintf(stderr, "%*c+ arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_arguments"));
18417|      0|            _res = invalid_arguments_var;
18418|      0|            goto done;
18419|      0|        }
18420|      0|        p->mark = _mark;
18421|      0|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18422|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arguments"));
18423|      0|    }
18424|      0|    _res = NULL;
18425|      1|  done:
18426|      1|    _PyPegen_insert_memo(p, _mark, arguments_type, _res);
  ------------------
  |  |  266|      1|#define arguments_type 1177
  ------------------
18427|      1|    p->level--;
18428|      1|    return _res;
18429|      0|}
_PyPegen_args_rule:
18436|      1|{
18437|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (18437:9): [True: 0, False: 1]
  |  Branch (18437:35): [True: 0, False: 1]
  ------------------
18438|      0|        _Pypegen_stack_overflow(p);
18439|      0|    }
18440|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (18440:9): [True: 0, False: 1]
  ------------------
18441|      0|        p->level--;
18442|      0|        return NULL;
18443|      0|    }
18444|      1|    expr_ty _res = NULL;
18445|      1|    int _mark = p->mark;
18446|      1|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18446:9): [True: 0, False: 1]
  |  Branch (18446:31): [True: 0, False: 0]
  ------------------
18447|      0|        p->error_indicator = 1;
18448|      0|        p->level--;
18449|      0|        return NULL;
18450|      0|    }
18451|      1|    int _start_lineno = p->tokens[_mark]->lineno;
18452|      1|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
18453|      1|    int _start_col_offset = p->tokens[_mark]->col_offset;
18454|      1|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
18455|      1|    { // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]
18456|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (18456:13): [True: 0, False: 1]
  ------------------
18457|      0|            p->level--;
18458|      0|            return NULL;
18459|      0|        }
18460|      1|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18461|      1|        asdl_expr_seq* a;
18462|      1|        void *b;
18463|      1|        if (
18464|      1|            (a = (asdl_expr_seq*)_gather_91_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+
  ------------------
  |  Branch (18464:13): [True: 1, False: 0]
  ------------------
18465|      1|            &&
18466|      1|            (b = _tmp_92_rule(p), !p->error_indicator)  // [',' kwargs]
  ------------------
  |  Branch (18466:13): [True: 1, False: 0]
  ------------------
18467|      1|        )
18468|      1|        {
18469|      1|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18470|      1|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18471|      1|            if (_token == NULL) {
  ------------------
  |  Branch (18471:17): [True: 0, False: 1]
  ------------------
18472|      0|                p->level--;
18473|      0|                return NULL;
18474|      0|            }
18475|      1|            int _end_lineno = _token->end_lineno;
18476|      1|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
18477|      1|            int _end_col_offset = _token->end_col_offset;
18478|      1|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
18479|      1|            _res = _PyPegen_collect_call_seqs ( p , a , b , EXTRA );
  ------------------
  |  |  316|      1|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18480|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18480:18): [True: 0, False: 1]
  |  Branch (18480:34): [True: 0, False: 1]
  |  Branch (18480:57): [True: 0, False: 0]
  ------------------
18481|      0|                p->error_indicator = 1;
18482|      0|                p->level--;
18483|      0|                return NULL;
18484|      0|            }
18485|      1|            goto done;
18486|      1|        }
18487|      0|        p->mark = _mark;
18488|      0|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18489|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18490|      0|    }
18491|      0|    { // kwargs
18492|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18492:13): [True: 0, False: 0]
  ------------------
18493|      0|            p->level--;
18494|      0|            return NULL;
18495|      0|        }
18496|      0|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwargs"));
18497|      0|        asdl_seq* a;
18498|      0|        if (
18499|      0|            (a = kwargs_rule(p))  // kwargs
  ------------------
  |  |  527|      0|#define kwargs_rule _PyPegen_kwargs_rule
  ------------------
  |  Branch (18499:13): [True: 0, False: 0]
  ------------------
18500|      0|        )
18501|      0|        {
18502|      0|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwargs"));
18503|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18504|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18504:17): [True: 0, False: 0]
  ------------------
18505|      0|                p->level--;
18506|      0|                return NULL;
18507|      0|            }
18508|      0|            int _end_lineno = _token->end_lineno;
18509|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18510|      0|            int _end_col_offset = _token->end_col_offset;
18511|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18512|      0|            _res = _PyAST_Call ( _PyPegen_dummy_name ( p ) , CHECK_NULL_ALLOWED ( asdl_expr_seq* , _PyPegen_seq_extract_starred_exprs ( p , a ) ) , CHECK_NULL_ALLOWED ( asdl_keyword_seq* , _PyPegen_seq_delete_starred_exprs ( p , a ) ) , EXTRA );
  ------------------
  |  |  281|      0|#define CHECK_NULL_ALLOWED(type, result) ((type) CHECK_CALL_NULL_ALLOWED(p, result))
  ------------------
                          _res = _PyAST_Call ( _PyPegen_dummy_name ( p ) , CHECK_NULL_ALLOWED ( asdl_expr_seq* , _PyPegen_seq_extract_starred_exprs ( p , a ) ) , CHECK_NULL_ALLOWED ( asdl_keyword_seq* , _PyPegen_seq_delete_starred_exprs ( p , a ) ) , EXTRA );
  ------------------
  |  |  281|      0|#define CHECK_NULL_ALLOWED(type, result) ((type) CHECK_CALL_NULL_ALLOWED(p, result))
  ------------------
                          _res = _PyAST_Call ( _PyPegen_dummy_name ( p ) , CHECK_NULL_ALLOWED ( asdl_expr_seq* , _PyPegen_seq_extract_starred_exprs ( p , a ) ) , CHECK_NULL_ALLOWED ( asdl_keyword_seq* , _PyPegen_seq_delete_starred_exprs ( p , a ) ) , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18513|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18513:18): [True: 0, False: 0]
  |  Branch (18513:34): [True: 0, False: 0]
  |  Branch (18513:57): [True: 0, False: 0]
  ------------------
18514|      0|                p->error_indicator = 1;
18515|      0|                p->level--;
18516|      0|                return NULL;
18517|      0|            }
18518|      0|            goto done;
18519|      0|        }
18520|      0|        p->mark = _mark;
18521|      0|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18522|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwargs"));
18523|      0|    }
18524|      0|    _res = NULL;
18525|      1|  done:
18526|      1|    p->level--;
18527|      1|    return _res;
18528|      0|}
_PyPegen_starred_expression_rule:
18603|      2|{
18604|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (18604:9): [True: 0, False: 2]
  |  Branch (18604:35): [True: 0, False: 2]
  ------------------
18605|      0|        _Pypegen_stack_overflow(p);
18606|      0|    }
18607|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (18607:9): [True: 0, False: 2]
  ------------------
18608|      0|        p->level--;
18609|      0|        return NULL;
18610|      0|    }
18611|      2|    expr_ty _res = NULL;
18612|      2|    int _mark = p->mark;
18613|      2|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18613:9): [True: 1, False: 1]
  |  Branch (18613:31): [True: 0, False: 1]
  ------------------
18614|      0|        p->error_indicator = 1;
18615|      0|        p->level--;
18616|      0|        return NULL;
18617|      0|    }
18618|      2|    int _start_lineno = p->tokens[_mark]->lineno;
18619|      2|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
18620|      2|    int _start_col_offset = p->tokens[_mark]->col_offset;
18621|      2|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
18622|      2|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking
  ------------------
  |  Branch (18622:9): [True: 0, False: 2]
  ------------------
18623|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18623:13): [True: 0, False: 0]
  ------------------
18624|      0|            p->level--;
18625|      0|            return NULL;
18626|      0|        }
18627|      0|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
18628|      0|        void *invalid_starred_expression_unpacking_var;
18629|      0|        if (
18630|      0|            (invalid_starred_expression_unpacking_var = invalid_starred_expression_unpacking_rule(p))  // invalid_starred_expression_unpacking
  ------------------
  |  |  639|      0|#define invalid_starred_expression_unpacking_rule _PyPegen_invalid_starred_expression_unpacking_rule
  ------------------
  |  Branch (18630:13): [True: 0, False: 0]
  ------------------
18631|      0|        )
18632|      0|        {
18633|      0|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
18634|      0|            _res = invalid_starred_expression_unpacking_var;
18635|      0|            goto done;
18636|      0|        }
18637|      0|        p->mark = _mark;
18638|      0|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18639|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking"));
18640|      0|    }
18641|      2|    { // '*' expression
18642|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (18642:13): [True: 0, False: 2]
  ------------------
18643|      0|            p->level--;
18644|      0|            return NULL;
18645|      0|        }
18646|      2|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18647|      2|        Token * _literal;
18648|      2|        expr_ty a;
18649|      2|        if (
18650|      2|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (18650:13): [True: 0, False: 2]
  ------------------
18651|      0|            &&
18652|      0|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (18652:13): [True: 0, False: 0]
  ------------------
18653|      2|        )
18654|      0|        {
18655|      0|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18656|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18657|      0|            if (_token == NULL) {
  ------------------
  |  Branch (18657:17): [True: 0, False: 0]
  ------------------
18658|      0|                p->level--;
18659|      0|                return NULL;
18660|      0|            }
18661|      0|            int _end_lineno = _token->end_lineno;
18662|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18663|      0|            int _end_col_offset = _token->end_col_offset;
18664|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
18665|      0|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18666|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18666:18): [True: 0, False: 0]
  |  Branch (18666:34): [True: 0, False: 0]
  |  Branch (18666:57): [True: 0, False: 0]
  ------------------
18667|      0|                p->error_indicator = 1;
18668|      0|                p->level--;
18669|      0|                return NULL;
18670|      0|            }
18671|      0|            goto done;
18672|      0|        }
18673|      2|        p->mark = _mark;
18674|      2|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18675|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' expression"));
18676|      2|    }
18677|      2|    if (p->call_invalid_rules) { // invalid_starred_expression
  ------------------
  |  Branch (18677:9): [True: 0, False: 2]
  ------------------
18678|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18678:13): [True: 0, False: 0]
  ------------------
18679|      0|            p->level--;
18680|      0|            return NULL;
18681|      0|        }
18682|      0|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression"));
18683|      0|        void *invalid_starred_expression_var;
18684|      0|        if (
18685|      0|            (invalid_starred_expression_var = invalid_starred_expression_rule(p))  // invalid_starred_expression
  ------------------
  |  |  643|      0|#define invalid_starred_expression_rule _PyPegen_invalid_starred_expression_rule
  ------------------
  |  Branch (18685:13): [True: 0, False: 0]
  ------------------
18686|      0|        )
18687|      0|        {
18688|      0|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression"));
18689|      0|            _res = invalid_starred_expression_var;
18690|      0|            goto done;
18691|      0|        }
18692|      0|        p->mark = _mark;
18693|      0|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18694|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression"));
18695|      0|    }
18696|      2|    _res = NULL;
18697|      2|  done:
18698|      2|    p->level--;
18699|      2|    return _res;
18700|      2|}
_PyPegen_parse:
26414|      1|{
26415|       |    // Initialize keywords
26416|      1|    p->keywords = reserved_keywords;
26417|      1|    p->n_keyword_lists = n_keyword_lists;
26418|      1|    p->soft_keywords = soft_keywords;
26419|       |
26420|       |    // Run parser
26421|      1|    void *result = NULL;
26422|      1|    if (p->start_rule == Py_file_input) {
  ------------------
  |  |    9|      1|#define Py_file_input 257
  ------------------
  |  Branch (26422:9): [True: 0, False: 1]
  ------------------
26423|      0|        result = file_rule(p);
26424|      1|    } else if (p->start_rule == Py_single_input) {
  ------------------
  |  |    8|      1|#define Py_single_input 256
  ------------------
  |  Branch (26424:16): [True: 0, False: 1]
  ------------------
26425|      0|        result = interactive_rule(p);
26426|      1|    } else if (p->start_rule == Py_eval_input) {
  ------------------
  |  |   10|      1|#define Py_eval_input 258
  ------------------
  |  Branch (26426:16): [True: 1, False: 0]
  ------------------
26427|      1|        result = eval_rule(p);
26428|      1|    } else if (p->start_rule == Py_func_type_input) {
  ------------------
  |  |   11|      0|#define Py_func_type_input 345
  ------------------
  |  Branch (26428:16): [True: 0, False: 0]
  ------------------
26429|      0|        result = func_type_rule(p);
26430|      0|    }
26431|       |
26432|      1|    return result;
26433|      1|}
parser.c:primary_rule:
14513|      9|{
14514|      9|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     18|#  define MAXSTACK 6000
  ------------------
  |  Branch (14514:9): [True: 0, False: 9]
  |  Branch (14514:35): [True: 0, False: 9]
  ------------------
14515|      0|        _Pypegen_stack_overflow(p);
14516|      0|    }
14517|      9|    expr_ty _res = NULL;
14518|      9|    if (_PyPegen_is_memoized(p, primary_type, &_res)) {
  ------------------
  |  |  221|      9|#define primary_type 1132  // Left-recursive
  ------------------
  |  Branch (14518:9): [True: 6, False: 3]
  ------------------
14519|      6|        p->level--;
14520|      6|        return _res;
14521|      6|    }
14522|      3|    int _mark = p->mark;
14523|      3|    int _resmark = p->mark;
14524|      3|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, primary_type);
  ------------------
  |  |  221|      3|#define primary_type 1132  // Left-recursive
  ------------------
14525|      3|    if (_memo == NULL) {
  ------------------
  |  Branch (14525:9): [True: 0, False: 3]
  ------------------
14526|      0|        p->level--;
14527|      0|        return NULL;
14528|      0|    }
14529|      6|    while (1) {
  ------------------
  |  Branch (14529:12): [True: 6, Folded]
  ------------------
14530|      6|        _memo->node = _res;
14531|      6|        _memo->mark = p->mark;
14532|      6|        p->mark = _mark;
14533|      6|        void *_raw = primary_raw(p);
14534|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (14534:13): [True: 0, False: 6]
  ------------------
14535|      0|            p->level--;
14536|      0|            return NULL;
14537|      0|        }
14538|      6|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14538:13): [True: 1, False: 5]
  |  Branch (14538:29): [True: 2, False: 3]
  ------------------
14539|      3|            break;
14540|      3|        _resmark = p->mark;
14541|      3|        _res = _raw;
14542|      3|    }
14543|      3|    p->mark = _resmark;
14544|      3|    p->level--;
14545|      3|    return _res;
14546|      3|}
parser.c:primary_raw:
14549|      6|{
14550|      6|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (14550:9): [True: 0, False: 6]
  |  Branch (14550:35): [True: 0, False: 6]
  ------------------
14551|      0|        _Pypegen_stack_overflow(p);
14552|      0|    }
14553|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (14553:9): [True: 0, False: 6]
  ------------------
14554|      0|        p->level--;
14555|      0|        return NULL;
14556|      0|    }
14557|      6|    expr_ty _res = NULL;
14558|      6|    int _mark = p->mark;
14559|      6|    expr_ty _prefix_9_result = NULL;
14560|      6|    int _prefix_9_end = 0, _prefix_9_valid = 0;
14561|      6|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14561:9): [True: 0, False: 6]
  |  Branch (14561:31): [True: 0, False: 0]
  ------------------
14562|      0|        p->error_indicator = 1;
14563|      0|        p->level--;
14564|      0|        return NULL;
14565|      0|    }
14566|      6|    int _start_lineno = p->tokens[_mark]->lineno;
14567|      6|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
14568|      6|    int _start_col_offset = p->tokens[_mark]->col_offset;
14569|      6|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
14570|      6|    { // primary '.' NAME
14571|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (14571:13): [True: 0, False: 6]
  ------------------
14572|      0|            p->level--;
14573|      0|            return NULL;
14574|      0|        }
14575|      6|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14576|      6|        Token * _literal;
14577|      6|        expr_ty a;
14578|      6|        expr_ty b;
14579|      6|        if (
14580|      6|            (a = ((!p->call_invalid_rules && _prefix_9_valid) ? (p->mark = _prefix_9_end, _prefix_9_result) : (_prefix_9_result = primary_rule(p), _prefix_9_end = p->mark, _prefix_9_valid = 1, _prefix_9_result)))  // primary
  ------------------
  |  Branch (14580:13): [True: 3, False: 3]
  |  Branch (14580:20): [True: 6, False: 0]
  |  Branch (14580:46): [True: 0, False: 6]
  ------------------
14581|      3|            &&
14582|      3|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (14582:13): [True: 0, False: 3]
  ------------------
14583|      0|            &&
14584|      0|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (14584:13): [True: 0, False: 0]
  ------------------
14585|      6|        )
14586|      0|        {
14587|      0|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14588|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14589|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14589:17): [True: 0, False: 0]
  ------------------
14590|      0|                p->level--;
14591|      0|                return NULL;
14592|      0|            }
14593|      0|            int _end_lineno = _token->end_lineno;
14594|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14595|      0|            int _end_col_offset = _token->end_col_offset;
14596|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14597|      0|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Load , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14598|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14598:18): [True: 0, False: 0]
  |  Branch (14598:34): [True: 0, False: 0]
  |  Branch (14598:57): [True: 0, False: 0]
  ------------------
14599|      0|                p->error_indicator = 1;
14600|      0|                p->level--;
14601|      0|                return NULL;
14602|      0|            }
14603|      0|            goto done;
14604|      0|        }
14605|      6|        p->mark = _mark;
14606|      6|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14607|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '.' NAME"));
14608|      6|    }
14609|      0|    { // primary genexp
14610|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (14610:13): [True: 0, False: 6]
  ------------------
14611|      0|            p->level--;
14612|      0|            return NULL;
14613|      0|        }
14614|      6|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary genexp"));
14615|      6|        expr_ty a;
14616|      6|        expr_ty b;
14617|      6|        if (
14618|      6|            (a = ((!p->call_invalid_rules && _prefix_9_valid) ? (p->mark = _prefix_9_end, _prefix_9_result) : (_prefix_9_result = primary_rule(p), _prefix_9_end = p->mark, _prefix_9_valid = 1, _prefix_9_result)))  // primary
  ------------------
  |  Branch (14618:13): [True: 3, False: 3]
  |  Branch (14618:20): [True: 6, False: 0]
  |  Branch (14618:46): [True: 6, False: 0]
  ------------------
14619|      3|            &&
14620|      3|            (b = genexp_rule(p))  // genexp
  ------------------
  |  |  521|      3|#define genexp_rule _PyPegen_genexp_rule
  ------------------
  |  Branch (14620:13): [True: 0, False: 3]
  ------------------
14621|      6|        )
14622|      0|        {
14623|      0|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary genexp"));
14624|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14625|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14625:17): [True: 0, False: 0]
  ------------------
14626|      0|                p->level--;
14627|      0|                return NULL;
14628|      0|            }
14629|      0|            int _end_lineno = _token->end_lineno;
14630|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14631|      0|            int _end_col_offset = _token->end_col_offset;
14632|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14633|      0|            _res = _PyAST_Call ( a , CHECK ( asdl_expr_seq* , ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , b ) ) , NULL , EXTRA );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Call ( a , CHECK ( asdl_expr_seq* , ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , b ) ) , NULL , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14634|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14634:18): [True: 0, False: 0]
  |  Branch (14634:34): [True: 0, False: 0]
  |  Branch (14634:57): [True: 0, False: 0]
  ------------------
14635|      0|                p->error_indicator = 1;
14636|      0|                p->level--;
14637|      0|                return NULL;
14638|      0|            }
14639|      0|            goto done;
14640|      0|        }
14641|      6|        p->mark = _mark;
14642|      6|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14643|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary genexp"));
14644|      6|    }
14645|      0|    { // primary '(' arguments? ')'
14646|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (14646:13): [True: 0, False: 6]
  ------------------
14647|      0|            p->level--;
14648|      0|            return NULL;
14649|      0|        }
14650|      6|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
14651|      6|        Token * _literal;
14652|      6|        Token * _literal_1;
14653|      6|        expr_ty a;
14654|      6|        void *b;
14655|      6|        if (
14656|      6|            (a = ((!p->call_invalid_rules && _prefix_9_valid) ? (p->mark = _prefix_9_end, _prefix_9_result) : (_prefix_9_result = primary_rule(p), _prefix_9_end = p->mark, _prefix_9_valid = 1, _prefix_9_result)))  // primary
  ------------------
  |  Branch (14656:13): [True: 3, False: 3]
  |  Branch (14656:20): [True: 6, False: 0]
  |  Branch (14656:46): [True: 6, False: 0]
  ------------------
14657|      3|            &&
14658|      3|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (14658:13): [True: 1, False: 2]
  ------------------
14659|      1|            &&
14660|      1|            (b = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  |  523|      1|#define arguments_rule _PyPegen_arguments_rule
  ------------------
  |  Branch (14660:13): [True: 1, False: 0]
  ------------------
14661|      1|            &&
14662|      1|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (14662:13): [True: 1, False: 0]
  ------------------
14663|      6|        )
14664|      1|        {
14665|      1|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
14666|      1|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14667|      1|            if (_token == NULL) {
  ------------------
  |  Branch (14667:17): [True: 0, False: 1]
  ------------------
14668|      0|                p->level--;
14669|      0|                return NULL;
14670|      0|            }
14671|      1|            int _end_lineno = _token->end_lineno;
14672|      1|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
14673|      1|            int _end_col_offset = _token->end_col_offset;
14674|      1|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
14675|      1|            _res = _PyAST_Call ( a , ( b ) ? ( ( expr_ty ) b ) -> v . Call . args : NULL , ( b ) ? ( ( expr_ty ) b ) -> v . Call . keywords : NULL , EXTRA );
  ------------------
  |  |  316|      1|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (14675:38): [True: 1, False: 0]
  |  Branch (14675:92): [True: 1, False: 0]
  ------------------
14676|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14676:18): [True: 0, False: 1]
  |  Branch (14676:34): [True: 0, False: 1]
  |  Branch (14676:57): [True: 0, False: 0]
  ------------------
14677|      0|                p->error_indicator = 1;
14678|      0|                p->level--;
14679|      0|                return NULL;
14680|      0|            }
14681|      1|            goto done;
14682|      1|        }
14683|      5|        p->mark = _mark;
14684|      5|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14685|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '(' arguments? ')'"));
14686|      5|    }
14687|      0|    { // primary '[' slices ']'
14688|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (14688:13): [True: 0, False: 5]
  ------------------
14689|      0|            p->level--;
14690|      0|            return NULL;
14691|      0|        }
14692|      5|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
14693|      5|        Token * _literal;
14694|      5|        Token * _literal_1;
14695|      5|        expr_ty a;
14696|      5|        expr_ty b;
14697|      5|        if (
14698|      5|            (a = ((!p->call_invalid_rules && _prefix_9_valid) ? (p->mark = _prefix_9_end, _prefix_9_result) : (_prefix_9_result = primary_rule(p), _prefix_9_end = p->mark, _prefix_9_valid = 1, _prefix_9_result)))  // primary
  ------------------
  |  Branch (14698:13): [True: 2, False: 3]
  |  Branch (14698:20): [True: 5, False: 0]
  |  Branch (14698:46): [True: 5, False: 0]
  ------------------
14699|      2|            &&
14700|      2|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (14700:13): [True: 0, False: 2]
  ------------------
14701|      0|            &&
14702|      0|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (14702:13): [True: 0, False: 0]
  ------------------
14703|      0|            &&
14704|      0|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (14704:13): [True: 0, False: 0]
  ------------------
14705|      5|        )
14706|      0|        {
14707|      0|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
14708|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14709|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14709:17): [True: 0, False: 0]
  ------------------
14710|      0|                p->level--;
14711|      0|                return NULL;
14712|      0|            }
14713|      0|            int _end_lineno = _token->end_lineno;
14714|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14715|      0|            int _end_col_offset = _token->end_col_offset;
14716|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14717|      0|            _res = _PyAST_Subscript ( a , b , Load , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14718|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14718:18): [True: 0, False: 0]
  |  Branch (14718:34): [True: 0, False: 0]
  |  Branch (14718:57): [True: 0, False: 0]
  ------------------
14719|      0|                p->error_indicator = 1;
14720|      0|                p->level--;
14721|      0|                return NULL;
14722|      0|            }
14723|      0|            goto done;
14724|      0|        }
14725|      5|        p->mark = _mark;
14726|      5|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14727|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '[' slices ']'"));
14728|      5|    }
14729|      0|    { // atom
14730|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (14730:13): [True: 0, False: 5]
  ------------------
14731|      0|            p->level--;
14732|      0|            return NULL;
14733|      0|        }
14734|      5|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "atom"));
14735|      5|        expr_ty atom_var;
14736|      5|        if (
14737|      5|            (atom_var = atom_rule(p))  // atom
  ------------------
  |  Branch (14737:13): [True: 4, False: 1]
  ------------------
14738|      5|        )
14739|      4|        {
14740|      4|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "atom"));
14741|      4|            _res = atom_var;
14742|      4|            goto done;
14743|      4|        }
14744|      1|        p->mark = _mark;
14745|      1|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14746|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "atom"));
14747|      1|    }
14748|      1|    _res = NULL;
14749|      6|  done:
14750|      6|    p->level--;
14751|      6|    return _res;
14752|      1|}
parser.c:atom_rule:
14952|      5|{
14953|      5|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     10|#  define MAXSTACK 6000
  ------------------
  |  Branch (14953:9): [True: 0, False: 5]
  |  Branch (14953:35): [True: 0, False: 5]
  ------------------
14954|      0|        _Pypegen_stack_overflow(p);
14955|      0|    }
14956|      5|    if (p->error_indicator) {
  ------------------
  |  Branch (14956:9): [True: 0, False: 5]
  ------------------
14957|      0|        p->level--;
14958|      0|        return NULL;
14959|      0|    }
14960|      5|    expr_ty _res = NULL;
14961|      5|    int _mark = p->mark;
14962|      5|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14962:9): [True: 0, False: 5]
  |  Branch (14962:31): [True: 0, False: 0]
  ------------------
14963|      0|        p->error_indicator = 1;
14964|      0|        p->level--;
14965|      0|        return NULL;
14966|      0|    }
14967|      5|    int _start_lineno = p->tokens[_mark]->lineno;
14968|      5|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
14969|      5|    int _start_col_offset = p->tokens[_mark]->col_offset;
14970|      5|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
14971|      5|    { // NAME
14972|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (14972:13): [True: 0, False: 5]
  ------------------
14973|      0|            p->level--;
14974|      0|            return NULL;
14975|      0|        }
14976|      5|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
14977|      5|        expr_ty name_var;
14978|      5|        if (
14979|      5|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (14979:13): [True: 2, False: 3]
  ------------------
14980|      5|        )
14981|      2|        {
14982|      2|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
14983|      2|            _res = name_var;
14984|      2|            goto done;
14985|      2|        }
14986|      3|        p->mark = _mark;
14987|      3|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
14988|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
14989|      3|    }
14990|      0|    { // 'True'
14991|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (14991:13): [True: 0, False: 3]
  ------------------
14992|      0|            p->level--;
14993|      0|            return NULL;
14994|      0|        }
14995|      3|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
14996|      3|        Token * _keyword;
14997|      3|        if (
14998|      3|            (_keyword = _PyPegen_expect_token(p, 527))  // token='True'
  ------------------
  |  Branch (14998:13): [True: 0, False: 3]
  ------------------
14999|      3|        )
15000|      0|        {
15001|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
15002|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15003|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15003:17): [True: 0, False: 0]
  ------------------
15004|      0|                p->level--;
15005|      0|                return NULL;
15006|      0|            }
15007|      0|            int _end_lineno = _token->end_lineno;
15008|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15009|      0|            int _end_col_offset = _token->end_col_offset;
15010|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15011|      0|            _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15012|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15012:18): [True: 0, False: 0]
  |  Branch (15012:34): [True: 0, False: 0]
  |  Branch (15012:57): [True: 0, False: 0]
  ------------------
15013|      0|                p->error_indicator = 1;
15014|      0|                p->level--;
15015|      0|                return NULL;
15016|      0|            }
15017|      0|            goto done;
15018|      0|        }
15019|      3|        p->mark = _mark;
15020|      3|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15021|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
15022|      3|    }
15023|      0|    { // 'False'
15024|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15024:13): [True: 0, False: 3]
  ------------------
15025|      0|            p->level--;
15026|      0|            return NULL;
15027|      0|        }
15028|      3|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
15029|      3|        Token * _keyword;
15030|      3|        if (
15031|      3|            (_keyword = _PyPegen_expect_token(p, 528))  // token='False'
  ------------------
  |  Branch (15031:13): [True: 0, False: 3]
  ------------------
15032|      3|        )
15033|      0|        {
15034|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
15035|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15036|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15036:17): [True: 0, False: 0]
  ------------------
15037|      0|                p->level--;
15038|      0|                return NULL;
15039|      0|            }
15040|      0|            int _end_lineno = _token->end_lineno;
15041|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15042|      0|            int _end_col_offset = _token->end_col_offset;
15043|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15044|      0|            _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15045|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15045:18): [True: 0, False: 0]
  |  Branch (15045:34): [True: 0, False: 0]
  |  Branch (15045:57): [True: 0, False: 0]
  ------------------
15046|      0|                p->error_indicator = 1;
15047|      0|                p->level--;
15048|      0|                return NULL;
15049|      0|            }
15050|      0|            goto done;
15051|      0|        }
15052|      3|        p->mark = _mark;
15053|      3|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15054|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
15055|      3|    }
15056|      0|    { // 'None'
15057|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15057:13): [True: 0, False: 3]
  ------------------
15058|      0|            p->level--;
15059|      0|            return NULL;
15060|      0|        }
15061|      3|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
15062|      3|        Token * _keyword;
15063|      3|        if (
15064|      3|            (_keyword = _PyPegen_expect_token(p, 526))  // token='None'
  ------------------
  |  Branch (15064:13): [True: 0, False: 3]
  ------------------
15065|      3|        )
15066|      0|        {
15067|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
15068|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15069|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15069:17): [True: 0, False: 0]
  ------------------
15070|      0|                p->level--;
15071|      0|                return NULL;
15072|      0|            }
15073|      0|            int _end_lineno = _token->end_lineno;
15074|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15075|      0|            int _end_col_offset = _token->end_col_offset;
15076|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15077|      0|            _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15078|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15078:18): [True: 0, False: 0]
  |  Branch (15078:34): [True: 0, False: 0]
  |  Branch (15078:57): [True: 0, False: 0]
  ------------------
15079|      0|                p->error_indicator = 1;
15080|      0|                p->level--;
15081|      0|                return NULL;
15082|      0|            }
15083|      0|            goto done;
15084|      0|        }
15085|      3|        p->mark = _mark;
15086|      3|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15087|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
15088|      3|    }
15089|      0|    { // &(STRING | FSTRING_START | TSTRING_START) strings
15090|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15090:13): [True: 0, False: 3]
  ------------------
15091|      0|            p->level--;
15092|      0|            return NULL;
15093|      0|        }
15094|      3|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15095|      3|        expr_ty strings_var;
15096|      3|        if (
15097|      3|            _PyPegen_lookahead(1, _tmp_42_rule, p)
  ------------------
  |  Branch (15097:13): [True: 0, False: 3]
  ------------------
15098|      0|            &&
15099|      0|            (strings_var = strings_rule(p))  // strings
  ------------------
  |  Branch (15099:13): [True: 0, False: 0]
  ------------------
15100|      3|        )
15101|      0|        {
15102|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15103|      0|            _res = strings_var;
15104|      0|            goto done;
15105|      0|        }
15106|      3|        p->mark = _mark;
15107|      3|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15108|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15109|      3|    }
15110|      0|    { // NUMBER
15111|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15111:13): [True: 0, False: 3]
  ------------------
15112|      0|            p->level--;
15113|      0|            return NULL;
15114|      0|        }
15115|      3|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15116|      3|        expr_ty number_var;
15117|      3|        if (
15118|      3|            (number_var = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (15118:13): [True: 0, False: 3]
  ------------------
15119|      3|        )
15120|      0|        {
15121|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15122|      0|            _res = number_var;
15123|      0|            goto done;
15124|      0|        }
15125|      3|        p->mark = _mark;
15126|      3|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15127|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
15128|      3|    }
15129|      0|    { // &'(' (genexp | tuple | group)
15130|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (15130:13): [True: 0, False: 3]
  ------------------
15131|      0|            p->level--;
15132|      0|            return NULL;
15133|      0|        }
15134|      3|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15135|      3|        void *_tmp_66_var;
15136|      3|        if (
15137|      3|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 7)  // token='('
  ------------------
  |  Branch (15137:13): [True: 2, False: 1]
  ------------------
15138|      2|            &&
15139|      2|            (_tmp_66_var = _tmp_66_rule(p))  // genexp | tuple | group
  ------------------
  |  Branch (15139:13): [True: 2, False: 0]
  ------------------
15140|      3|        )
15141|      2|        {
15142|      2|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15143|      2|            _res = _tmp_66_var;
15144|      2|            goto done;
15145|      2|        }
15146|      1|        p->mark = _mark;
15147|      1|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15148|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'(' (genexp | tuple | group)"));
15149|      1|    }
15150|      0|    { // &'[' (listcomp | list)
15151|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15151:13): [True: 0, False: 1]
  ------------------
15152|      0|            p->level--;
15153|      0|            return NULL;
15154|      0|        }
15155|      1|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15156|      1|        void *_tmp_67_var;
15157|      1|        if (
15158|      1|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 9)  // token='['
  ------------------
  |  Branch (15158:13): [True: 0, False: 1]
  ------------------
15159|      0|            &&
15160|      0|            (_tmp_67_var = _tmp_67_rule(p))  // listcomp | list
  ------------------
  |  Branch (15160:13): [True: 0, False: 0]
  ------------------
15161|      1|        )
15162|      0|        {
15163|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15164|      0|            _res = _tmp_67_var;
15165|      0|            goto done;
15166|      0|        }
15167|      1|        p->mark = _mark;
15168|      1|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15169|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'[' (listcomp | list)"));
15170|      1|    }
15171|      0|    { // &'{' (dictcomp | setcomp | dict | set)
15172|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15172:13): [True: 0, False: 1]
  ------------------
15173|      0|            p->level--;
15174|      0|            return NULL;
15175|      0|        }
15176|      1|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15177|      1|        void *_tmp_68_var;
15178|      1|        if (
15179|      1|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 25)  // token='{'
  ------------------
  |  Branch (15179:13): [True: 0, False: 1]
  ------------------
15180|      0|            &&
15181|      0|            (_tmp_68_var = _tmp_68_rule(p))  // dictcomp | setcomp | dict | set
  ------------------
  |  Branch (15181:13): [True: 0, False: 0]
  ------------------
15182|      1|        )
15183|      0|        {
15184|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15185|      0|            _res = _tmp_68_var;
15186|      0|            goto done;
15187|      0|        }
15188|      1|        p->mark = _mark;
15189|      1|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15190|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15191|      1|    }
15192|      0|    { // '...'
15193|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15193:13): [True: 0, False: 1]
  ------------------
15194|      0|            p->level--;
15195|      0|            return NULL;
15196|      0|        }
15197|      1|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'...'"));
15198|      1|        Token * _literal;
15199|      1|        if (
15200|      1|            (_literal = _PyPegen_expect_token(p, 52))  // token='...'
  ------------------
  |  Branch (15200:13): [True: 0, False: 1]
  ------------------
15201|      1|        )
15202|      0|        {
15203|      0|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'...'"));
15204|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15205|      0|            if (_token == NULL) {
  ------------------
  |  Branch (15205:17): [True: 0, False: 0]
  ------------------
15206|      0|                p->level--;
15207|      0|                return NULL;
15208|      0|            }
15209|      0|            int _end_lineno = _token->end_lineno;
15210|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15211|      0|            int _end_col_offset = _token->end_col_offset;
15212|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
15213|      0|            _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |   14|      0|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
                          _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15214|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15214:18): [True: 0, False: 0]
  |  Branch (15214:34): [True: 0, False: 0]
  |  Branch (15214:57): [True: 0, False: 0]
  ------------------
15215|      0|                p->error_indicator = 1;
15216|      0|                p->level--;
15217|      0|                return NULL;
15218|      0|            }
15219|      0|            goto done;
15220|      0|        }
15221|      1|        p->mark = _mark;
15222|      1|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15223|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'...'"));
15224|      1|    }
15225|      1|    _res = NULL;
15226|      5|  done:
15227|      5|    p->level--;
15228|      5|    return _res;
15229|      1|}
parser.c:_tmp_42_rule:
22114|      3|{
22115|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (22115:9): [True: 0, False: 3]
  |  Branch (22115:35): [True: 0, False: 3]
  ------------------
22116|      0|        _Pypegen_stack_overflow(p);
22117|      0|    }
22118|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (22118:9): [True: 0, False: 3]
  ------------------
22119|      0|        p->level--;
22120|      0|        return NULL;
22121|      0|    }
22122|      3|    void * _res = NULL;
22123|      3|    int _mark = p->mark;
22124|      3|    { // STRING
22125|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (22125:13): [True: 0, False: 3]
  ------------------
22126|      0|            p->level--;
22127|      0|            return NULL;
22128|      0|        }
22129|      3|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING"));
22130|      3|        expr_ty string_var;
22131|      3|        if (
22132|      3|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (22132:13): [True: 0, False: 3]
  ------------------
22133|      3|        )
22134|      0|        {
22135|      0|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING"));
22136|      0|            _res = string_var;
22137|      0|            goto done;
22138|      0|        }
22139|      3|        p->mark = _mark;
22140|      3|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
22141|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING"));
22142|      3|    }
22143|      0|    { // FSTRING_START
22144|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (22144:13): [True: 0, False: 3]
  ------------------
22145|      0|            p->level--;
22146|      0|            return NULL;
22147|      0|        }
22148|      3|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
22149|      3|        Token * fstring_start_var;
22150|      3|        if (
22151|      3|            (fstring_start_var = _PyPegen_expect_token(p, FSTRING_START))  // token='FSTRING_START'
  ------------------
  |  |   75|      3|#define FSTRING_START   59
  ------------------
  |  Branch (22151:13): [True: 0, False: 3]
  ------------------
22152|      3|        )
22153|      0|        {
22154|      0|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
22155|      0|            _res = fstring_start_var;
22156|      0|            goto done;
22157|      0|        }
22158|      3|        p->mark = _mark;
22159|      3|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
22160|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_START"));
22161|      3|    }
22162|      0|    { // TSTRING_START
22163|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (22163:13): [True: 0, False: 3]
  ------------------
22164|      0|            p->level--;
22165|      0|            return NULL;
22166|      0|        }
22167|      3|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
22168|      3|        Token * tstring_start_var;
22169|      3|        if (
22170|      3|            (tstring_start_var = _PyPegen_expect_token(p, TSTRING_START))  // token='TSTRING_START'
  ------------------
  |  |   78|      3|#define TSTRING_START   62
  ------------------
  |  Branch (22170:13): [True: 0, False: 3]
  ------------------
22171|      3|        )
22172|      0|        {
22173|      0|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
22174|      0|            _res = tstring_start_var;
22175|      0|            goto done;
22176|      0|        }
22177|      3|        p->mark = _mark;
22178|      3|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
22179|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_START"));
22180|      3|    }
22181|      3|    _res = NULL;
22182|      3|  done:
22183|      3|    p->level--;
22184|      3|    return _res;
22185|      3|}
parser.c:_tmp_66_rule:
23483|      2|{
23484|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (23484:9): [True: 0, False: 2]
  |  Branch (23484:35): [True: 0, False: 2]
  ------------------
23485|      0|        _Pypegen_stack_overflow(p);
23486|      0|    }
23487|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (23487:9): [True: 0, False: 2]
  ------------------
23488|      0|        p->level--;
23489|      0|        return NULL;
23490|      0|    }
23491|      2|    void * _res = NULL;
23492|      2|    int _mark = p->mark;
23493|      2|    { // genexp
23494|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (23494:13): [True: 0, False: 2]
  ------------------
23495|      0|            p->level--;
23496|      0|            return NULL;
23497|      0|        }
23498|      2|        D(fprintf(stderr, "%*c> _tmp_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "genexp"));
23499|      2|        expr_ty genexp_var;
23500|      2|        if (
23501|      2|            (genexp_var = genexp_rule(p))  // genexp
  ------------------
  |  |  521|      2|#define genexp_rule _PyPegen_genexp_rule
  ------------------
  |  Branch (23501:13): [True: 0, False: 2]
  ------------------
23502|      2|        )
23503|      0|        {
23504|      0|            D(fprintf(stderr, "%*c+ _tmp_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "genexp"));
23505|      0|            _res = genexp_var;
23506|      0|            goto done;
23507|      0|        }
23508|      2|        p->mark = _mark;
23509|      2|        D(fprintf(stderr, "%*c%s _tmp_66[%d-%d]: %s failed!\n", p->level, ' ',
23510|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "genexp"));
23511|      2|    }
23512|      0|    { // tuple
23513|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (23513:13): [True: 0, False: 2]
  ------------------
23514|      0|            p->level--;
23515|      0|            return NULL;
23516|      0|        }
23517|      2|        D(fprintf(stderr, "%*c> _tmp_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
23518|      2|        expr_ty tuple_var;
23519|      2|        if (
23520|      2|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  |  515|      2|#define tuple_rule _PyPegen_tuple_rule
  ------------------
  |  Branch (23520:13): [True: 2, False: 0]
  ------------------
23521|      2|        )
23522|      2|        {
23523|      2|            D(fprintf(stderr, "%*c+ _tmp_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
23524|      2|            _res = tuple_var;
23525|      2|            goto done;
23526|      2|        }
23527|      0|        p->mark = _mark;
23528|      0|        D(fprintf(stderr, "%*c%s _tmp_66[%d-%d]: %s failed!\n", p->level, ' ',
23529|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
23530|      0|    }
23531|      0|    { // group
23532|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (23532:13): [True: 0, False: 0]
  ------------------
23533|      0|            p->level--;
23534|      0|            return NULL;
23535|      0|        }
23536|      0|        D(fprintf(stderr, "%*c> _tmp_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "group"));
23537|      0|        expr_ty group_var;
23538|      0|        if (
23539|      0|            (group_var = group_rule(p))  // group
  ------------------
  |  Branch (23539:13): [True: 0, False: 0]
  ------------------
23540|      0|        )
23541|      0|        {
23542|      0|            D(fprintf(stderr, "%*c+ _tmp_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "group"));
23543|      0|            _res = group_var;
23544|      0|            goto done;
23545|      0|        }
23546|      0|        p->mark = _mark;
23547|      0|        D(fprintf(stderr, "%*c%s _tmp_66[%d-%d]: %s failed!\n", p->level, ' ',
23548|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "group"));
23549|      0|    }
23550|      0|    _res = NULL;
23551|      2|  done:
23552|      2|    p->level--;
23553|      2|    return _res;
23554|      0|}
parser.c:_tmp_16_rule:
20626|      1|{
20627|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (20627:9): [True: 0, False: 1]
  |  Branch (20627:35): [True: 0, False: 1]
  ------------------
20628|      0|        _Pypegen_stack_overflow(p);
20629|      0|    }
20630|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (20630:9): [True: 0, False: 1]
  ------------------
20631|      0|        p->level--;
20632|      0|        return NULL;
20633|      0|    }
20634|      1|    void * _res = NULL;
20635|      1|    int _mark = p->mark;
20636|      1|    { // ',' expression
20637|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (20637:13): [True: 0, False: 1]
  ------------------
20638|      0|            p->level--;
20639|      0|            return NULL;
20640|      0|        }
20641|      1|        D(fprintf(stderr, "%*c> _tmp_16[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' expression"));
20642|      1|        Token * _literal;
20643|      1|        expr_ty z;
20644|      1|        if (
20645|      1|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (20645:13): [True: 0, False: 1]
  ------------------
20646|      0|            &&
20647|      0|            (z = expression_rule(p))  // expression
  ------------------
  |  |  461|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (20647:13): [True: 0, False: 0]
  ------------------
20648|      1|        )
20649|      0|        {
20650|      0|            D(fprintf(stderr, "%*c+ _tmp_16[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' expression"));
20651|      0|            _res = z;
20652|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20652:18): [True: 0, False: 0]
  |  Branch (20652:34): [True: 0, False: 0]
  |  Branch (20652:57): [True: 0, False: 0]
  ------------------
20653|      0|                p->error_indicator = 1;
20654|      0|                p->level--;
20655|      0|                return NULL;
20656|      0|            }
20657|      0|            goto done;
20658|      0|        }
20659|      1|        p->mark = _mark;
20660|      1|        D(fprintf(stderr, "%*c%s _tmp_16[%d-%d]: %s failed!\n", p->level, ' ',
20661|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' expression"));
20662|      1|    }
20663|      1|    _res = NULL;
20664|      1|  done:
20665|      1|    p->level--;
20666|      1|    return _res;
20667|      1|}
parser.c:conjunction_rule:
12512|      3|{
12513|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (12513:9): [True: 0, False: 3]
  |  Branch (12513:35): [True: 0, False: 3]
  ------------------
12514|      0|        _Pypegen_stack_overflow(p);
12515|      0|    }
12516|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (12516:9): [True: 0, False: 3]
  ------------------
12517|      0|        p->level--;
12518|      0|        return NULL;
12519|      0|    }
12520|      3|    expr_ty _res = NULL;
12521|      3|    if (_PyPegen_is_memoized(p, conjunction_type, &_res)) {
  ------------------
  |  |  208|      3|#define conjunction_type 1119
  ------------------
  |  Branch (12521:9): [True: 0, False: 3]
  ------------------
12522|      0|        p->level--;
12523|      0|        return _res;
12524|      0|    }
12525|      3|    int _mark = p->mark;
12526|      3|    expr_ty _prefix_3_result = NULL;
12527|      3|    int _prefix_3_end = 0, _prefix_3_valid = 0;
12528|      3|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12528:9): [True: 0, False: 3]
  |  Branch (12528:31): [True: 0, False: 0]
  ------------------
12529|      0|        p->error_indicator = 1;
12530|      0|        p->level--;
12531|      0|        return NULL;
12532|      0|    }
12533|      3|    int _start_lineno = p->tokens[_mark]->lineno;
12534|      3|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
12535|      3|    int _start_col_offset = p->tokens[_mark]->col_offset;
12536|      3|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
12537|      3|    { // inversion (('and' inversion))+
12538|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (12538:13): [True: 0, False: 3]
  ------------------
12539|      0|            p->level--;
12540|      0|            return NULL;
12541|      0|        }
12542|      3|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12543|      3|        expr_ty a;
12544|      3|        asdl_seq * b;
12545|      3|        if (
12546|      3|            (a = ((!p->call_invalid_rules && _prefix_3_valid) ? (p->mark = _prefix_3_end, _prefix_3_result) : (_prefix_3_result = inversion_rule(p), _prefix_3_end = p->mark, _prefix_3_valid = 1, _prefix_3_result)))  // inversion
  ------------------
  |  |  479|      3|#define inversion_rule _PyPegen_inversion_rule
  ------------------
  |  Branch (12546:13): [True: 2, False: 1]
  |  Branch (12546:20): [True: 3, False: 0]
  |  Branch (12546:46): [True: 0, False: 3]
  ------------------
12547|      2|            &&
12548|      2|            (b = _loop1_60_rule(p))  // (('and' inversion))+
  ------------------
  |  Branch (12548:13): [True: 0, False: 2]
  ------------------
12549|      3|        )
12550|      0|        {
12551|      0|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12552|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12553|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12553:17): [True: 0, False: 0]
  ------------------
12554|      0|                p->level--;
12555|      0|                return NULL;
12556|      0|            }
12557|      0|            int _end_lineno = _token->end_lineno;
12558|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12559|      0|            int _end_col_offset = _token->end_col_offset;
12560|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12561|      0|            _res = _PyAST_BoolOp ( And , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_BoolOp ( And , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12562|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12562:18): [True: 0, False: 0]
  |  Branch (12562:34): [True: 0, False: 0]
  |  Branch (12562:57): [True: 0, False: 0]
  ------------------
12563|      0|                p->error_indicator = 1;
12564|      0|                p->level--;
12565|      0|                return NULL;
12566|      0|            }
12567|      0|            goto done;
12568|      0|        }
12569|      3|        p->mark = _mark;
12570|      3|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12571|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion (('and' inversion))+"));
12572|      3|    }
12573|      0|    { // inversion
12574|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (12574:13): [True: 0, False: 3]
  ------------------
12575|      0|            p->level--;
12576|      0|            return NULL;
12577|      0|        }
12578|      3|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion"));
12579|      3|        expr_ty inversion_var;
12580|      3|        if (
12581|      3|            (inversion_var = ((!p->call_invalid_rules && _prefix_3_valid) ? (p->mark = _prefix_3_end, _prefix_3_result) : (_prefix_3_result = inversion_rule(p), _prefix_3_end = p->mark, _prefix_3_valid = 1, _prefix_3_result)))  // inversion
  ------------------
  |  |  479|      0|#define inversion_rule _PyPegen_inversion_rule
  ------------------
  |  Branch (12581:13): [True: 2, False: 1]
  |  Branch (12581:32): [True: 3, False: 0]
  |  Branch (12581:58): [True: 3, False: 0]
  ------------------
12582|      3|        )
12583|      2|        {
12584|      2|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion"));
12585|      2|            _res = inversion_var;
12586|      2|            goto done;
12587|      2|        }
12588|      1|        p->mark = _mark;
12589|      1|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12590|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion"));
12591|      1|    }
12592|      1|    _res = NULL;
12593|      3|  done:
12594|      3|    _PyPegen_insert_memo(p, _mark, conjunction_type, _res);
  ------------------
  |  |  208|      3|#define conjunction_type 1119
  ------------------
12595|      3|    p->level--;
12596|      3|    return _res;
12597|      1|}
parser.c:_loop1_60_rule:
23160|      2|{
23161|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (23161:9): [True: 0, False: 2]
  |  Branch (23161:35): [True: 0, False: 2]
  ------------------
23162|      0|        _Pypegen_stack_overflow(p);
23163|      0|    }
23164|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (23164:9): [True: 0, False: 2]
  ------------------
23165|      0|        p->level--;
23166|      0|        return NULL;
23167|      0|    }
23168|      2|    void *_res = NULL;
23169|      2|    int _mark = p->mark;
23170|      2|    void **_children = NULL;
23171|      2|    Py_ssize_t _children_capacity = 0;
23172|      2|    Py_ssize_t _n = 0;
23173|      2|    { // ('and' inversion)
23174|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (23174:13): [True: 0, False: 2]
  ------------------
23175|      0|            p->level--;
23176|      0|            return NULL;
23177|      0|        }
23178|      2|        D(fprintf(stderr, "%*c> _loop1_60[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('and' inversion)"));
23179|      2|        void *_tmp_183_var;
23180|      2|        while (
23181|      2|            (_tmp_183_var = _tmp_183_rule(p))  // 'and' inversion
  ------------------
  |  Branch (23181:13): [True: 0, False: 2]
  ------------------
23182|      2|        )
23183|      0|        {
23184|      0|            _res = _tmp_183_var;
23185|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23185:17): [True: 0, False: 0]
  ------------------
23186|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23186:21): [True: 0, False: 0]
  ------------------
23187|      0|                    p->error_indicator = 1;
23188|      0|                    PyErr_NoMemory();
23189|      0|                    PyMem_Free(_children);
23190|      0|                    p->level--;
23191|      0|                    return NULL;
23192|      0|                }
23193|      0|            }
23194|      0|            _children[_n++] = _res;
23195|      0|            _mark = p->mark;
23196|      0|        }
23197|      2|        p->mark = _mark;
23198|      2|        D(fprintf(stderr, "%*c%s _loop1_60[%d-%d]: %s failed!\n", p->level, ' ',
23199|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('and' inversion)"));
23200|      2|    }
23201|      2|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23201:9): [True: 2, False: 0]
  |  Branch (23201:20): [True: 0, False: 0]
  ------------------
23202|      2|        PyMem_Free(_children);
23203|      2|        p->level--;
23204|      2|        return NULL;
23205|      2|    }
23206|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23207|      0|    if (!_seq) {
  ------------------
  |  Branch (23207:9): [True: 0, False: 0]
  ------------------
23208|      0|        p->error_indicator = 1;
23209|      0|        PyErr_NoMemory();
23210|      0|        PyMem_Free(_children);
23211|      0|        p->level--;
23212|      0|        return NULL;
23213|      0|    }
23214|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23214:28): [True: 0, False: 0]
  ------------------
23215|      0|    PyMem_Free(_children);
23216|      0|    p->level--;
23217|      0|    return _seq;
23218|      0|}
parser.c:_tmp_183_rule:
26045|      2|{
26046|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (26046:9): [True: 0, False: 2]
  |  Branch (26046:35): [True: 0, False: 2]
  ------------------
26047|      0|        _Pypegen_stack_overflow(p);
26048|      0|    }
26049|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (26049:9): [True: 0, False: 2]
  ------------------
26050|      0|        p->level--;
26051|      0|        return NULL;
26052|      0|    }
26053|      2|    void * _res = NULL;
26054|      2|    int _mark = p->mark;
26055|      2|    { // 'and' inversion
26056|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (26056:13): [True: 0, False: 2]
  ------------------
26057|      0|            p->level--;
26058|      0|            return NULL;
26059|      0|        }
26060|      2|        D(fprintf(stderr, "%*c> _tmp_183[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
26061|      2|        Token * _keyword;
26062|      2|        expr_ty c;
26063|      2|        if (
26064|      2|            (_keyword = _PyPegen_expect_token(p, 530))  // token='and'
  ------------------
  |  Branch (26064:13): [True: 0, False: 2]
  ------------------
26065|      0|            &&
26066|      0|            (c = inversion_rule(p))  // inversion
  ------------------
  |  |  479|      0|#define inversion_rule _PyPegen_inversion_rule
  ------------------
  |  Branch (26066:13): [True: 0, False: 0]
  ------------------
26067|      2|        )
26068|      0|        {
26069|      0|            D(fprintf(stderr, "%*c+ _tmp_183[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
26070|      0|            _res = c;
26071|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26071:18): [True: 0, False: 0]
  |  Branch (26071:34): [True: 0, False: 0]
  |  Branch (26071:57): [True: 0, False: 0]
  ------------------
26072|      0|                p->error_indicator = 1;
26073|      0|                p->level--;
26074|      0|                return NULL;
26075|      0|            }
26076|      0|            goto done;
26077|      0|        }
26078|      2|        p->mark = _mark;
26079|      2|        D(fprintf(stderr, "%*c%s _tmp_183[%d-%d]: %s failed!\n", p->level, ' ',
26080|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'and' inversion"));
26081|      2|    }
26082|      2|    _res = NULL;
26083|      2|  done:
26084|      2|    p->level--;
26085|      2|    return _res;
26086|      2|}
parser.c:comparison_rule:
12694|      3|{
12695|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (12695:9): [True: 0, False: 3]
  |  Branch (12695:35): [True: 0, False: 3]
  ------------------
12696|      0|        _Pypegen_stack_overflow(p);
12697|      0|    }
12698|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (12698:9): [True: 0, False: 3]
  ------------------
12699|      0|        p->level--;
12700|      0|        return NULL;
12701|      0|    }
12702|      3|    expr_ty _res = NULL;
12703|      3|    int _mark = p->mark;
12704|      3|    expr_ty _prefix_4_result = NULL;
12705|      3|    int _prefix_4_end = 0, _prefix_4_valid = 0;
12706|      3|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12706:9): [True: 0, False: 3]
  |  Branch (12706:31): [True: 0, False: 0]
  ------------------
12707|      0|        p->error_indicator = 1;
12708|      0|        p->level--;
12709|      0|        return NULL;
12710|      0|    }
12711|      3|    int _start_lineno = p->tokens[_mark]->lineno;
12712|      3|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
12713|      3|    int _start_col_offset = p->tokens[_mark]->col_offset;
12714|      3|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
12715|      3|    { // bitwise_or compare_op_bitwise_or_pair+
12716|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (12716:13): [True: 0, False: 3]
  ------------------
12717|      0|            p->level--;
12718|      0|            return NULL;
12719|      0|        }
12720|      3|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12721|      3|        expr_ty a;
12722|      3|        asdl_seq * b;
12723|      3|        if (
12724|      3|            (a = ((!p->call_invalid_rules && _prefix_4_valid) ? (p->mark = _prefix_4_end, _prefix_4_result) : (_prefix_4_result = bitwise_or_rule(p), _prefix_4_end = p->mark, _prefix_4_valid = 1, _prefix_4_result)))  // bitwise_or
  ------------------
  |  |  481|      3|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12724:13): [True: 2, False: 1]
  |  Branch (12724:20): [True: 3, False: 0]
  |  Branch (12724:46): [True: 0, False: 3]
  ------------------
12725|      2|            &&
12726|      2|            (b = _loop1_61_rule(p))  // compare_op_bitwise_or_pair+
  ------------------
  |  Branch (12726:13): [True: 0, False: 2]
  ------------------
12727|      3|        )
12728|      0|        {
12729|      0|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12730|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12731|      0|            if (_token == NULL) {
  ------------------
  |  Branch (12731:17): [True: 0, False: 0]
  ------------------
12732|      0|                p->level--;
12733|      0|                return NULL;
12734|      0|            }
12735|      0|            int _end_lineno = _token->end_lineno;
12736|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12737|      0|            int _end_col_offset = _token->end_col_offset;
12738|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
12739|      0|            _res = _PyAST_Compare ( a , CHECK ( asdl_int_seq* , _PyPegen_get_cmpops ( p , b ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_exprs ( p , b ) ) , EXTRA );
  ------------------
  |  |  280|      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 );
  ------------------
  |  |  280|      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 );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12740|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12740:18): [True: 0, False: 0]
  |  Branch (12740:34): [True: 0, False: 0]
  |  Branch (12740:57): [True: 0, False: 0]
  ------------------
12741|      0|                p->error_indicator = 1;
12742|      0|                p->level--;
12743|      0|                return NULL;
12744|      0|            }
12745|      0|            goto done;
12746|      0|        }
12747|      3|        p->mark = _mark;
12748|      3|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12749|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12750|      3|    }
12751|      0|    { // bitwise_or
12752|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (12752:13): [True: 0, False: 3]
  ------------------
12753|      0|            p->level--;
12754|      0|            return NULL;
12755|      0|        }
12756|      3|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12757|      3|        expr_ty bitwise_or_var;
12758|      3|        if (
12759|      3|            (bitwise_or_var = ((!p->call_invalid_rules && _prefix_4_valid) ? (p->mark = _prefix_4_end, _prefix_4_result) : (_prefix_4_result = bitwise_or_rule(p), _prefix_4_end = p->mark, _prefix_4_valid = 1, _prefix_4_result)))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12759:13): [True: 2, False: 1]
  |  Branch (12759:33): [True: 3, False: 0]
  |  Branch (12759:59): [True: 3, False: 0]
  ------------------
12760|      3|        )
12761|      2|        {
12762|      2|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12763|      2|            _res = bitwise_or_var;
12764|      2|            goto done;
12765|      2|        }
12766|      1|        p->mark = _mark;
12767|      1|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12768|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or"));
12769|      1|    }
12770|      1|    _res = NULL;
12771|      3|  done:
12772|      3|    p->level--;
12773|      3|    return _res;
12774|      1|}
parser.c:_loop1_61_rule:
23223|      2|{
23224|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (23224:9): [True: 0, False: 2]
  |  Branch (23224:35): [True: 0, False: 2]
  ------------------
23225|      0|        _Pypegen_stack_overflow(p);
23226|      0|    }
23227|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (23227:9): [True: 0, False: 2]
  ------------------
23228|      0|        p->level--;
23229|      0|        return NULL;
23230|      0|    }
23231|      2|    void *_res = NULL;
23232|      2|    int _mark = p->mark;
23233|      2|    void **_children = NULL;
23234|      2|    Py_ssize_t _children_capacity = 0;
23235|      2|    Py_ssize_t _n = 0;
23236|      2|    { // compare_op_bitwise_or_pair
23237|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (23237:13): [True: 0, False: 2]
  ------------------
23238|      0|            p->level--;
23239|      0|            return NULL;
23240|      0|        }
23241|      2|        D(fprintf(stderr, "%*c> _loop1_61[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "compare_op_bitwise_or_pair"));
23242|      2|        CmpopExprPair* compare_op_bitwise_or_pair_var;
23243|      2|        while (
23244|      2|            (compare_op_bitwise_or_pair_var = compare_op_bitwise_or_pair_rule(p))  // compare_op_bitwise_or_pair
  ------------------
  |  Branch (23244:13): [True: 0, False: 2]
  ------------------
23245|      2|        )
23246|      0|        {
23247|      0|            _res = compare_op_bitwise_or_pair_var;
23248|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23248:17): [True: 0, False: 0]
  ------------------
23249|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23249:21): [True: 0, False: 0]
  ------------------
23250|      0|                    p->error_indicator = 1;
23251|      0|                    PyErr_NoMemory();
23252|      0|                    PyMem_Free(_children);
23253|      0|                    p->level--;
23254|      0|                    return NULL;
23255|      0|                }
23256|      0|            }
23257|      0|            _children[_n++] = _res;
23258|      0|            _mark = p->mark;
23259|      0|        }
23260|      2|        p->mark = _mark;
23261|      2|        D(fprintf(stderr, "%*c%s _loop1_61[%d-%d]: %s failed!\n", p->level, ' ',
23262|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "compare_op_bitwise_or_pair"));
23263|      2|    }
23264|      2|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23264:9): [True: 2, False: 0]
  |  Branch (23264:20): [True: 0, False: 0]
  ------------------
23265|      2|        PyMem_Free(_children);
23266|      2|        p->level--;
23267|      2|        return NULL;
23268|      2|    }
23269|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23270|      0|    if (!_seq) {
  ------------------
  |  Branch (23270:9): [True: 0, False: 0]
  ------------------
23271|      0|        p->error_indicator = 1;
23272|      0|        PyErr_NoMemory();
23273|      0|        PyMem_Free(_children);
23274|      0|        p->level--;
23275|      0|        return NULL;
23276|      0|    }
23277|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23277:28): [True: 0, False: 0]
  ------------------
23278|      0|    PyMem_Free(_children);
23279|      0|    p->level--;
23280|      0|    return _seq;
23281|      0|}
parser.c:compare_op_bitwise_or_pair_rule:
12790|      2|{
12791|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (12791:9): [True: 0, False: 2]
  |  Branch (12791:35): [True: 0, False: 2]
  ------------------
12792|      0|        _Pypegen_stack_overflow(p);
12793|      0|    }
12794|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (12794:9): [True: 0, False: 2]
  ------------------
12795|      0|        p->level--;
12796|      0|        return NULL;
12797|      0|    }
12798|      2|    CmpopExprPair* _res = NULL;
12799|      2|    int _mark = p->mark;
12800|      2|    { // '==' bitwise_or
12801|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (12801:13): [True: 0, False: 2]
  ------------------
12802|      0|            p->level--;
12803|      0|            return NULL;
12804|      0|        }
12805|      2|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
12806|      2|        Token * _literal;
12807|      2|        expr_ty a;
12808|      2|        if (
12809|      2|            (_literal = _PyPegen_expect_token(p, 27))  // token='=='
  ------------------
  |  Branch (12809:13): [True: 0, False: 2]
  ------------------
12810|      0|            &&
12811|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12811:13): [True: 0, False: 0]
  ------------------
12812|      2|        )
12813|      0|        {
12814|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
12815|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Eq , a );
12816|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12816:18): [True: 0, False: 0]
  |  Branch (12816:34): [True: 0, False: 0]
  |  Branch (12816:57): [True: 0, False: 0]
  ------------------
12817|      0|                p->error_indicator = 1;
12818|      0|                p->level--;
12819|      0|                return NULL;
12820|      0|            }
12821|      0|            goto done;
12822|      0|        }
12823|      2|        p->mark = _mark;
12824|      2|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12825|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'==' bitwise_or"));
12826|      2|    }
12827|      0|    { // ('!=') bitwise_or
12828|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (12828:13): [True: 0, False: 2]
  ------------------
12829|      0|            p->level--;
12830|      0|            return NULL;
12831|      0|        }
12832|      2|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
12833|      2|        void *_tmp_62_var;
12834|      2|        expr_ty a;
12835|      2|        if (
12836|      2|            (_tmp_62_var = _tmp_62_rule(p))  // '!='
  ------------------
  |  Branch (12836:13): [True: 0, False: 2]
  ------------------
12837|      0|            &&
12838|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12838:13): [True: 0, False: 0]
  ------------------
12839|      2|        )
12840|      0|        {
12841|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
12842|      0|            _res = _PyPegen_cmpop_expr_pair ( p , NotEq , a );
12843|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12843:18): [True: 0, False: 0]
  |  Branch (12843:34): [True: 0, False: 0]
  |  Branch (12843:57): [True: 0, False: 0]
  ------------------
12844|      0|                p->error_indicator = 1;
12845|      0|                p->level--;
12846|      0|                return NULL;
12847|      0|            }
12848|      0|            goto done;
12849|      0|        }
12850|      2|        p->mark = _mark;
12851|      2|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12852|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('!=') bitwise_or"));
12853|      2|    }
12854|      0|    { // '<=' bitwise_or
12855|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (12855:13): [True: 0, False: 2]
  ------------------
12856|      0|            p->level--;
12857|      0|            return NULL;
12858|      0|        }
12859|      2|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
12860|      2|        Token * _literal;
12861|      2|        expr_ty a;
12862|      2|        if (
12863|      2|            (_literal = _PyPegen_expect_token(p, 29))  // token='<='
  ------------------
  |  Branch (12863:13): [True: 0, False: 2]
  ------------------
12864|      0|            &&
12865|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12865:13): [True: 0, False: 0]
  ------------------
12866|      2|        )
12867|      0|        {
12868|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
12869|      0|            _res = _PyPegen_cmpop_expr_pair ( p , LtE , a );
12870|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12870:18): [True: 0, False: 0]
  |  Branch (12870:34): [True: 0, False: 0]
  |  Branch (12870:57): [True: 0, False: 0]
  ------------------
12871|      0|                p->error_indicator = 1;
12872|      0|                p->level--;
12873|      0|                return NULL;
12874|      0|            }
12875|      0|            goto done;
12876|      0|        }
12877|      2|        p->mark = _mark;
12878|      2|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12879|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<=' bitwise_or"));
12880|      2|    }
12881|      2|    if (p->call_invalid_rules) { // invalid_noteq
  ------------------
  |  Branch (12881:9): [True: 0, False: 2]
  ------------------
12882|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (12882:13): [True: 0, False: 0]
  ------------------
12883|      0|            p->level--;
12884|      0|            return NULL;
12885|      0|        }
12886|      0|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_noteq"));
12887|      0|        void *invalid_noteq_var;
12888|      0|        if (
12889|      0|            (invalid_noteq_var = invalid_noteq_rule(p))  // invalid_noteq
  ------------------
  |  |  661|      0|#define invalid_noteq_rule _PyPegen_invalid_noteq_rule
  ------------------
  |  Branch (12889:13): [True: 0, False: 0]
  ------------------
12890|      0|        )
12891|      0|        {
12892|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_noteq"));
12893|      0|            _res = invalid_noteq_var;
12894|      0|            goto done;
12895|      0|        }
12896|      0|        p->mark = _mark;
12897|      0|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12898|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_noteq"));
12899|      0|    }
12900|      2|    { // '<' bitwise_or
12901|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (12901:13): [True: 0, False: 2]
  ------------------
12902|      0|            p->level--;
12903|      0|            return NULL;
12904|      0|        }
12905|      2|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
12906|      2|        Token * _literal;
12907|      2|        expr_ty a;
12908|      2|        if (
12909|      2|            (_literal = _PyPegen_expect_token(p, 20))  // token='<'
  ------------------
  |  Branch (12909:13): [True: 0, False: 2]
  ------------------
12910|      0|            &&
12911|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12911:13): [True: 0, False: 0]
  ------------------
12912|      2|        )
12913|      0|        {
12914|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
12915|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Lt , a );
12916|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12916:18): [True: 0, False: 0]
  |  Branch (12916:34): [True: 0, False: 0]
  |  Branch (12916:57): [True: 0, False: 0]
  ------------------
12917|      0|                p->error_indicator = 1;
12918|      0|                p->level--;
12919|      0|                return NULL;
12920|      0|            }
12921|      0|            goto done;
12922|      0|        }
12923|      2|        p->mark = _mark;
12924|      2|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12925|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<' bitwise_or"));
12926|      2|    }
12927|      0|    { // '>=' bitwise_or
12928|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (12928:13): [True: 0, False: 2]
  ------------------
12929|      0|            p->level--;
12930|      0|            return NULL;
12931|      0|        }
12932|      2|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
12933|      2|        Token * _literal;
12934|      2|        expr_ty a;
12935|      2|        if (
12936|      2|            (_literal = _PyPegen_expect_token(p, 30))  // token='>='
  ------------------
  |  Branch (12936:13): [True: 0, False: 2]
  ------------------
12937|      0|            &&
12938|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12938:13): [True: 0, False: 0]
  ------------------
12939|      2|        )
12940|      0|        {
12941|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
12942|      0|            _res = _PyPegen_cmpop_expr_pair ( p , GtE , a );
12943|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12943:18): [True: 0, False: 0]
  |  Branch (12943:34): [True: 0, False: 0]
  |  Branch (12943:57): [True: 0, False: 0]
  ------------------
12944|      0|                p->error_indicator = 1;
12945|      0|                p->level--;
12946|      0|                return NULL;
12947|      0|            }
12948|      0|            goto done;
12949|      0|        }
12950|      2|        p->mark = _mark;
12951|      2|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12952|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>=' bitwise_or"));
12953|      2|    }
12954|      0|    { // '>' bitwise_or
12955|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (12955:13): [True: 0, False: 2]
  ------------------
12956|      0|            p->level--;
12957|      0|            return NULL;
12958|      0|        }
12959|      2|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
12960|      2|        Token * _literal;
12961|      2|        expr_ty a;
12962|      2|        if (
12963|      2|            (_literal = _PyPegen_expect_token(p, 21))  // token='>'
  ------------------
  |  Branch (12963:13): [True: 0, False: 2]
  ------------------
12964|      0|            &&
12965|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12965:13): [True: 0, False: 0]
  ------------------
12966|      2|        )
12967|      0|        {
12968|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
12969|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Gt , a );
12970|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12970:18): [True: 0, False: 0]
  |  Branch (12970:34): [True: 0, False: 0]
  |  Branch (12970:57): [True: 0, False: 0]
  ------------------
12971|      0|                p->error_indicator = 1;
12972|      0|                p->level--;
12973|      0|                return NULL;
12974|      0|            }
12975|      0|            goto done;
12976|      0|        }
12977|      2|        p->mark = _mark;
12978|      2|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12979|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>' bitwise_or"));
12980|      2|    }
12981|      0|    { // 'not' 'in' bitwise_or
12982|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (12982:13): [True: 0, False: 2]
  ------------------
12983|      0|            p->level--;
12984|      0|            return NULL;
12985|      0|        }
12986|      2|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
12987|      2|        Token * _keyword;
12988|      2|        Token * _keyword_1;
12989|      2|        expr_ty a;
12990|      2|        if (
12991|      2|            (_keyword = _PyPegen_expect_token(p, 531))  // token='not'
  ------------------
  |  Branch (12991:13): [True: 0, False: 2]
  ------------------
12992|      0|            &&
12993|      0|            (_keyword_1 = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (12993:13): [True: 0, False: 0]
  ------------------
12994|      0|            &&
12995|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12995:13): [True: 0, False: 0]
  ------------------
12996|      2|        )
12997|      0|        {
12998|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
12999|      0|            _res = _PyPegen_cmpop_expr_pair ( p , NotIn , a );
13000|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13000:18): [True: 0, False: 0]
  |  Branch (13000:34): [True: 0, False: 0]
  |  Branch (13000:57): [True: 0, False: 0]
  ------------------
13001|      0|                p->error_indicator = 1;
13002|      0|                p->level--;
13003|      0|                return NULL;
13004|      0|            }
13005|      0|            goto done;
13006|      0|        }
13007|      2|        p->mark = _mark;
13008|      2|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13009|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' 'in' bitwise_or"));
13010|      2|    }
13011|      0|    { // 'in' bitwise_or
13012|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (13012:13): [True: 0, False: 2]
  ------------------
13013|      0|            p->level--;
13014|      0|            return NULL;
13015|      0|        }
13016|      2|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
13017|      2|        Token * _keyword;
13018|      2|        expr_ty a;
13019|      2|        if (
13020|      2|            (_keyword = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (13020:13): [True: 0, False: 2]
  ------------------
13021|      0|            &&
13022|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (13022:13): [True: 0, False: 0]
  ------------------
13023|      2|        )
13024|      0|        {
13025|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
13026|      0|            _res = _PyPegen_cmpop_expr_pair ( p , In , a );
13027|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13027:18): [True: 0, False: 0]
  |  Branch (13027:34): [True: 0, False: 0]
  |  Branch (13027:57): [True: 0, False: 0]
  ------------------
13028|      0|                p->error_indicator = 1;
13029|      0|                p->level--;
13030|      0|                return NULL;
13031|      0|            }
13032|      0|            goto done;
13033|      0|        }
13034|      2|        p->mark = _mark;
13035|      2|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13036|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'in' bitwise_or"));
13037|      2|    }
13038|      0|    { // 'is' 'not' bitwise_or
13039|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (13039:13): [True: 0, False: 2]
  ------------------
13040|      0|            p->level--;
13041|      0|            return NULL;
13042|      0|        }
13043|      2|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
13044|      2|        Token * _keyword;
13045|      2|        Token * _keyword_1;
13046|      2|        expr_ty a;
13047|      2|        if (
13048|      2|            (_keyword = _PyPegen_expect_token(p, 532))  // token='is'
  ------------------
  |  Branch (13048:13): [True: 0, False: 2]
  ------------------
13049|      0|            &&
13050|      0|            (_keyword_1 = _PyPegen_expect_token(p, 531))  // token='not'
  ------------------
  |  Branch (13050:13): [True: 0, False: 0]
  ------------------
13051|      0|            &&
13052|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (13052:13): [True: 0, False: 0]
  ------------------
13053|      2|        )
13054|      0|        {
13055|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
13056|      0|            _res = _PyPegen_cmpop_expr_pair ( p , IsNot , a );
13057|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13057:18): [True: 0, False: 0]
  |  Branch (13057:34): [True: 0, False: 0]
  |  Branch (13057:57): [True: 0, False: 0]
  ------------------
13058|      0|                p->error_indicator = 1;
13059|      0|                p->level--;
13060|      0|                return NULL;
13061|      0|            }
13062|      0|            goto done;
13063|      0|        }
13064|      2|        p->mark = _mark;
13065|      2|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13066|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' 'not' bitwise_or"));
13067|      2|    }
13068|      0|    { // 'is' bitwise_or
13069|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (13069:13): [True: 0, False: 2]
  ------------------
13070|      0|            p->level--;
13071|      0|            return NULL;
13072|      0|        }
13073|      2|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13074|      2|        Token * _keyword;
13075|      2|        expr_ty a;
13076|      2|        if (
13077|      2|            (_keyword = _PyPegen_expect_token(p, 532))  // token='is'
  ------------------
  |  Branch (13077:13): [True: 0, False: 2]
  ------------------
13078|      0|            &&
13079|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      0|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (13079:13): [True: 0, False: 0]
  ------------------
13080|      2|        )
13081|      0|        {
13082|      0|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13083|      0|            _res = _PyPegen_cmpop_expr_pair ( p , Is , a );
13084|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13084:18): [True: 0, False: 0]
  |  Branch (13084:34): [True: 0, False: 0]
  |  Branch (13084:57): [True: 0, False: 0]
  ------------------
13085|      0|                p->error_indicator = 1;
13086|      0|                p->level--;
13087|      0|                return NULL;
13088|      0|            }
13089|      0|            goto done;
13090|      0|        }
13091|      2|        p->mark = _mark;
13092|      2|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13093|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' bitwise_or"));
13094|      2|    }
13095|      2|    _res = NULL;
13096|      2|  done:
13097|      2|    p->level--;
13098|      2|    return _res;
13099|      2|}
parser.c:_tmp_62_rule:
23286|      2|{
23287|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (23287:9): [True: 0, False: 2]
  |  Branch (23287:35): [True: 0, False: 2]
  ------------------
23288|      0|        _Pypegen_stack_overflow(p);
23289|      0|    }
23290|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (23290:9): [True: 0, False: 2]
  ------------------
23291|      0|        p->level--;
23292|      0|        return NULL;
23293|      0|    }
23294|      2|    void * _res = NULL;
23295|      2|    int _mark = p->mark;
23296|      2|    { // '!='
23297|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (23297:13): [True: 0, False: 2]
  ------------------
23298|      0|            p->level--;
23299|      0|            return NULL;
23300|      0|        }
23301|      2|        D(fprintf(stderr, "%*c> _tmp_62[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!='"));
23302|      2|        Token * tok;
23303|      2|        if (
23304|      2|            (tok = _PyPegen_expect_token(p, 28))  // token='!='
  ------------------
  |  Branch (23304:13): [True: 0, False: 2]
  ------------------
23305|      2|        )
23306|      0|        {
23307|      0|            D(fprintf(stderr, "%*c+ _tmp_62[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!='"));
23308|      0|            _res = _PyPegen_check_barry_as_flufl ( p , tok ) ? NULL : tok;
  ------------------
  |  Branch (23308:20): [True: 0, False: 0]
  ------------------
23309|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23309:18): [True: 0, False: 0]
  |  Branch (23309:34): [True: 0, False: 0]
  |  Branch (23309:57): [True: 0, False: 0]
  ------------------
23310|      0|                p->error_indicator = 1;
23311|      0|                p->level--;
23312|      0|                return NULL;
23313|      0|            }
23314|      0|            goto done;
23315|      0|        }
23316|      2|        p->mark = _mark;
23317|      2|        D(fprintf(stderr, "%*c%s _tmp_62[%d-%d]: %s failed!\n", p->level, ' ',
23318|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!='"));
23319|      2|    }
23320|      2|    _res = NULL;
23321|      2|  done:
23322|      2|    p->level--;
23323|      2|    return _res;
23324|      2|}
parser.c:bitwise_or_raw:
13142|      5|{
13143|      5|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     10|#  define MAXSTACK 6000
  ------------------
  |  Branch (13143:9): [True: 0, False: 5]
  |  Branch (13143:35): [True: 0, False: 5]
  ------------------
13144|      0|        _Pypegen_stack_overflow(p);
13145|      0|    }
13146|      5|    if (p->error_indicator) {
  ------------------
  |  Branch (13146:9): [True: 0, False: 5]
  ------------------
13147|      0|        p->level--;
13148|      0|        return NULL;
13149|      0|    }
13150|      5|    expr_ty _res = NULL;
13151|      5|    int _mark = p->mark;
13152|      5|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13152:9): [True: 0, False: 5]
  |  Branch (13152:31): [True: 0, False: 0]
  ------------------
13153|      0|        p->error_indicator = 1;
13154|      0|        p->level--;
13155|      0|        return NULL;
13156|      0|    }
13157|      5|    int _start_lineno = p->tokens[_mark]->lineno;
13158|      5|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
13159|      5|    int _start_col_offset = p->tokens[_mark]->col_offset;
13160|      5|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
13161|      5|    { // bitwise_or '|' bitwise_xor
13162|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13162:13): [True: 0, False: 5]
  ------------------
13163|      0|            p->level--;
13164|      0|            return NULL;
13165|      0|        }
13166|      5|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13167|      5|        Token * _literal;
13168|      5|        expr_ty a;
13169|      5|        expr_ty b;
13170|      5|        if (
13171|      5|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|      5|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (13171:13): [True: 2, False: 3]
  ------------------
13172|      2|            &&
13173|      2|            (_literal = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (13173:13): [True: 0, False: 2]
  ------------------
13174|      0|            &&
13175|      0|            (b = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13175:13): [True: 0, False: 0]
  ------------------
13176|      5|        )
13177|      0|        {
13178|      0|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13179|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13180|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13180:17): [True: 0, False: 0]
  ------------------
13181|      0|                p->level--;
13182|      0|                return NULL;
13183|      0|            }
13184|      0|            int _end_lineno = _token->end_lineno;
13185|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13186|      0|            int _end_col_offset = _token->end_col_offset;
13187|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13188|      0|            _res = _PyAST_BinOp ( a , BitOr , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13189|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13189:18): [True: 0, False: 0]
  |  Branch (13189:34): [True: 0, False: 0]
  |  Branch (13189:57): [True: 0, False: 0]
  ------------------
13190|      0|                p->error_indicator = 1;
13191|      0|                p->level--;
13192|      0|                return NULL;
13193|      0|            }
13194|      0|            goto done;
13195|      0|        }
13196|      5|        p->mark = _mark;
13197|      5|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13198|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13199|      5|    }
13200|      5|    if (p->call_invalid_rules) { // invalid_bitwise_or
  ------------------
  |  Branch (13200:9): [True: 0, False: 5]
  ------------------
13201|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (13201:13): [True: 0, False: 0]
  ------------------
13202|      0|            p->level--;
13203|      0|            return NULL;
13204|      0|        }
13205|      0|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_or"));
13206|      0|        void *invalid_bitwise_or_var;
13207|      0|        if (
13208|      0|            (invalid_bitwise_or_var = invalid_bitwise_or_rule(p))  // invalid_bitwise_or
  ------------------
  |  |  659|      0|#define invalid_bitwise_or_rule _PyPegen_invalid_bitwise_or_rule
  ------------------
  |  Branch (13208:13): [True: 0, False: 0]
  ------------------
13209|      0|        )
13210|      0|        {
13211|      0|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_or"));
13212|      0|            _res = invalid_bitwise_or_var;
13213|      0|            goto done;
13214|      0|        }
13215|      0|        p->mark = _mark;
13216|      0|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13217|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_bitwise_or"));
13218|      0|    }
13219|      5|    { // bitwise_xor
13220|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13220:13): [True: 0, False: 5]
  ------------------
13221|      0|            p->level--;
13222|      0|            return NULL;
13223|      0|        }
13224|      5|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13225|      5|        expr_ty bitwise_xor_var;
13226|      5|        if (
13227|      5|            (bitwise_xor_var = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13227:13): [True: 4, False: 1]
  ------------------
13228|      5|        )
13229|      4|        {
13230|      4|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13231|      4|            _res = bitwise_xor_var;
13232|      4|            goto done;
13233|      4|        }
13234|      1|        p->mark = _mark;
13235|      1|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13236|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor"));
13237|      1|    }
13238|      1|    _res = NULL;
13239|      5|  done:
13240|      5|    p->level--;
13241|      5|    return _res;
13242|      1|}
parser.c:bitwise_xor_rule:
13249|     10|{
13250|     10|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     20|#  define MAXSTACK 6000
  ------------------
  |  Branch (13250:9): [True: 0, False: 10]
  |  Branch (13250:35): [True: 0, False: 10]
  ------------------
13251|      0|        _Pypegen_stack_overflow(p);
13252|      0|    }
13253|     10|    expr_ty _res = NULL;
13254|     10|    if (_PyPegen_is_memoized(p, bitwise_xor_type, &_res)) {
  ------------------
  |  |  213|     10|#define bitwise_xor_type 1124  // Left-recursive
  ------------------
  |  Branch (13254:9): [True: 7, False: 3]
  ------------------
13255|      7|        p->level--;
13256|      7|        return _res;
13257|      7|    }
13258|      3|    int _mark = p->mark;
13259|      3|    int _resmark = p->mark;
13260|      3|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, bitwise_xor_type);
  ------------------
  |  |  213|      3|#define bitwise_xor_type 1124  // Left-recursive
  ------------------
13261|      3|    if (_memo == NULL) {
  ------------------
  |  Branch (13261:9): [True: 0, False: 3]
  ------------------
13262|      0|        p->level--;
13263|      0|        return NULL;
13264|      0|    }
13265|      5|    while (1) {
  ------------------
  |  Branch (13265:12): [True: 5, Folded]
  ------------------
13266|      5|        _memo->node = _res;
13267|      5|        _memo->mark = p->mark;
13268|      5|        p->mark = _mark;
13269|      5|        void *_raw = bitwise_xor_raw(p);
13270|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13270:13): [True: 0, False: 5]
  ------------------
13271|      0|            p->level--;
13272|      0|            return NULL;
13273|      0|        }
13274|      5|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13274:13): [True: 1, False: 4]
  |  Branch (13274:29): [True: 2, False: 2]
  ------------------
13275|      3|            break;
13276|      2|        _resmark = p->mark;
13277|      2|        _res = _raw;
13278|      2|    }
13279|      3|    p->mark = _resmark;
13280|      3|    p->level--;
13281|      3|    return _res;
13282|      3|}
parser.c:bitwise_xor_raw:
13285|      5|{
13286|      5|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     10|#  define MAXSTACK 6000
  ------------------
  |  Branch (13286:9): [True: 0, False: 5]
  |  Branch (13286:35): [True: 0, False: 5]
  ------------------
13287|      0|        _Pypegen_stack_overflow(p);
13288|      0|    }
13289|      5|    if (p->error_indicator) {
  ------------------
  |  Branch (13289:9): [True: 0, False: 5]
  ------------------
13290|      0|        p->level--;
13291|      0|        return NULL;
13292|      0|    }
13293|      5|    expr_ty _res = NULL;
13294|      5|    int _mark = p->mark;
13295|      5|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13295:9): [True: 0, False: 5]
  |  Branch (13295:31): [True: 0, False: 0]
  ------------------
13296|      0|        p->error_indicator = 1;
13297|      0|        p->level--;
13298|      0|        return NULL;
13299|      0|    }
13300|      5|    int _start_lineno = p->tokens[_mark]->lineno;
13301|      5|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
13302|      5|    int _start_col_offset = p->tokens[_mark]->col_offset;
13303|      5|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
13304|      5|    { // bitwise_xor '^' bitwise_and
13305|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13305:13): [True: 0, False: 5]
  ------------------
13306|      0|            p->level--;
13307|      0|            return NULL;
13308|      0|        }
13309|      5|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13310|      5|        Token * _literal;
13311|      5|        expr_ty a;
13312|      5|        expr_ty b;
13313|      5|        if (
13314|      5|            (a = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13314:13): [True: 2, False: 3]
  ------------------
13315|      2|            &&
13316|      2|            (_literal = _PyPegen_expect_token(p, 32))  // token='^'
  ------------------
  |  Branch (13316:13): [True: 0, False: 2]
  ------------------
13317|      0|            &&
13318|      0|            (b = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  |  483|      0|#define bitwise_and_rule _PyPegen_bitwise_and_rule
  ------------------
  |  Branch (13318:13): [True: 0, False: 0]
  ------------------
13319|      5|        )
13320|      0|        {
13321|      0|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13322|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13323|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13323:17): [True: 0, False: 0]
  ------------------
13324|      0|                p->level--;
13325|      0|                return NULL;
13326|      0|            }
13327|      0|            int _end_lineno = _token->end_lineno;
13328|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13329|      0|            int _end_col_offset = _token->end_col_offset;
13330|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13331|      0|            _res = _PyAST_BinOp ( a , BitXor , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13332|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13332:18): [True: 0, False: 0]
  |  Branch (13332:34): [True: 0, False: 0]
  |  Branch (13332:57): [True: 0, False: 0]
  ------------------
13333|      0|                p->error_indicator = 1;
13334|      0|                p->level--;
13335|      0|                return NULL;
13336|      0|            }
13337|      0|            goto done;
13338|      0|        }
13339|      5|        p->mark = _mark;
13340|      5|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13341|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13342|      5|    }
13343|      0|    { // bitwise_and
13344|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13344:13): [True: 0, False: 5]
  ------------------
13345|      0|            p->level--;
13346|      0|            return NULL;
13347|      0|        }
13348|      5|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13349|      5|        expr_ty bitwise_and_var;
13350|      5|        if (
13351|      5|            (bitwise_and_var = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  |  483|      5|#define bitwise_and_rule _PyPegen_bitwise_and_rule
  ------------------
  |  Branch (13351:13): [True: 4, False: 1]
  ------------------
13352|      5|        )
13353|      4|        {
13354|      4|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13355|      4|            _res = bitwise_and_var;
13356|      4|            goto done;
13357|      4|        }
13358|      1|        p->mark = _mark;
13359|      1|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13360|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and"));
13361|      1|    }
13362|      1|    _res = NULL;
13363|      5|  done:
13364|      5|    p->level--;
13365|      5|    return _res;
13366|      1|}
parser.c:bitwise_and_raw:
13409|      5|{
13410|      5|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     10|#  define MAXSTACK 6000
  ------------------
  |  Branch (13410:9): [True: 0, False: 5]
  |  Branch (13410:35): [True: 0, False: 5]
  ------------------
13411|      0|        _Pypegen_stack_overflow(p);
13412|      0|    }
13413|      5|    if (p->error_indicator) {
  ------------------
  |  Branch (13413:9): [True: 0, False: 5]
  ------------------
13414|      0|        p->level--;
13415|      0|        return NULL;
13416|      0|    }
13417|      5|    expr_ty _res = NULL;
13418|      5|    int _mark = p->mark;
13419|      5|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13419:9): [True: 0, False: 5]
  |  Branch (13419:31): [True: 0, False: 0]
  ------------------
13420|      0|        p->error_indicator = 1;
13421|      0|        p->level--;
13422|      0|        return NULL;
13423|      0|    }
13424|      5|    int _start_lineno = p->tokens[_mark]->lineno;
13425|      5|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
13426|      5|    int _start_col_offset = p->tokens[_mark]->col_offset;
13427|      5|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
13428|      5|    { // bitwise_and '&' shift_expr
13429|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13429:13): [True: 0, False: 5]
  ------------------
13430|      0|            p->level--;
13431|      0|            return NULL;
13432|      0|        }
13433|      5|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13434|      5|        Token * _literal;
13435|      5|        expr_ty a;
13436|      5|        expr_ty b;
13437|      5|        if (
13438|      5|            (a = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  |  483|      5|#define bitwise_and_rule _PyPegen_bitwise_and_rule
  ------------------
  |  Branch (13438:13): [True: 2, False: 3]
  ------------------
13439|      2|            &&
13440|      2|            (_literal = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (13440:13): [True: 0, False: 2]
  ------------------
13441|      0|            &&
13442|      0|            (b = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13442:13): [True: 0, False: 0]
  ------------------
13443|      5|        )
13444|      0|        {
13445|      0|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13446|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13447|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13447:17): [True: 0, False: 0]
  ------------------
13448|      0|                p->level--;
13449|      0|                return NULL;
13450|      0|            }
13451|      0|            int _end_lineno = _token->end_lineno;
13452|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13453|      0|            int _end_col_offset = _token->end_col_offset;
13454|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13455|      0|            _res = _PyAST_BinOp ( a , BitAnd , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13456|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13456:18): [True: 0, False: 0]
  |  Branch (13456:34): [True: 0, False: 0]
  |  Branch (13456:57): [True: 0, False: 0]
  ------------------
13457|      0|                p->error_indicator = 1;
13458|      0|                p->level--;
13459|      0|                return NULL;
13460|      0|            }
13461|      0|            goto done;
13462|      0|        }
13463|      5|        p->mark = _mark;
13464|      5|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13465|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and '&' shift_expr"));
13466|      5|    }
13467|      5|    if (p->call_invalid_rules) { // invalid_bitwise_and
  ------------------
  |  Branch (13467:9): [True: 0, False: 5]
  ------------------
13468|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (13468:13): [True: 0, False: 0]
  ------------------
13469|      0|            p->level--;
13470|      0|            return NULL;
13471|      0|        }
13472|      0|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_and"));
13473|      0|        void *invalid_bitwise_and_var;
13474|      0|        if (
13475|      0|            (invalid_bitwise_and_var = invalid_bitwise_and_rule(p))  // invalid_bitwise_and
  ------------------
  |  |  657|      0|#define invalid_bitwise_and_rule _PyPegen_invalid_bitwise_and_rule
  ------------------
  |  Branch (13475:13): [True: 0, False: 0]
  ------------------
13476|      0|        )
13477|      0|        {
13478|      0|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_and"));
13479|      0|            _res = invalid_bitwise_and_var;
13480|      0|            goto done;
13481|      0|        }
13482|      0|        p->mark = _mark;
13483|      0|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13484|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_bitwise_and"));
13485|      0|    }
13486|      5|    { // shift_expr
13487|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13487:13): [True: 0, False: 5]
  ------------------
13488|      0|            p->level--;
13489|      0|            return NULL;
13490|      0|        }
13491|      5|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13492|      5|        expr_ty shift_expr_var;
13493|      5|        if (
13494|      5|            (shift_expr_var = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13494:13): [True: 4, False: 1]
  ------------------
13495|      5|        )
13496|      4|        {
13497|      4|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13498|      4|            _res = shift_expr_var;
13499|      4|            goto done;
13500|      4|        }
13501|      1|        p->mark = _mark;
13502|      1|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13503|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr"));
13504|      1|    }
13505|      1|    _res = NULL;
13506|      5|  done:
13507|      5|    p->level--;
13508|      5|    return _res;
13509|      1|}
parser.c:shift_expr_rule:
13516|     10|{
13517|     10|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     20|#  define MAXSTACK 6000
  ------------------
  |  Branch (13517:9): [True: 0, False: 10]
  |  Branch (13517:35): [True: 0, False: 10]
  ------------------
13518|      0|        _Pypegen_stack_overflow(p);
13519|      0|    }
13520|     10|    expr_ty _res = NULL;
13521|     10|    if (_PyPegen_is_memoized(p, shift_expr_type, &_res)) {
  ------------------
  |  |  215|     10|#define shift_expr_type 1126  // Left-recursive
  ------------------
  |  Branch (13521:9): [True: 7, False: 3]
  ------------------
13522|      7|        p->level--;
13523|      7|        return _res;
13524|      7|    }
13525|      3|    int _mark = p->mark;
13526|      3|    int _resmark = p->mark;
13527|      3|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, shift_expr_type);
  ------------------
  |  |  215|      3|#define shift_expr_type 1126  // Left-recursive
  ------------------
13528|      3|    if (_memo == NULL) {
  ------------------
  |  Branch (13528:9): [True: 0, False: 3]
  ------------------
13529|      0|        p->level--;
13530|      0|        return NULL;
13531|      0|    }
13532|      5|    while (1) {
  ------------------
  |  Branch (13532:12): [True: 5, Folded]
  ------------------
13533|      5|        _memo->node = _res;
13534|      5|        _memo->mark = p->mark;
13535|      5|        p->mark = _mark;
13536|      5|        void *_raw = shift_expr_raw(p);
13537|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13537:13): [True: 0, False: 5]
  ------------------
13538|      0|            p->level--;
13539|      0|            return NULL;
13540|      0|        }
13541|      5|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13541:13): [True: 1, False: 4]
  |  Branch (13541:29): [True: 2, False: 2]
  ------------------
13542|      3|            break;
13543|      2|        _resmark = p->mark;
13544|      2|        _res = _raw;
13545|      2|    }
13546|      3|    p->mark = _resmark;
13547|      3|    p->level--;
13548|      3|    return _res;
13549|      3|}
parser.c:shift_expr_raw:
13552|      5|{
13553|      5|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     10|#  define MAXSTACK 6000
  ------------------
  |  Branch (13553:9): [True: 0, False: 5]
  |  Branch (13553:35): [True: 0, False: 5]
  ------------------
13554|      0|        _Pypegen_stack_overflow(p);
13555|      0|    }
13556|      5|    if (p->error_indicator) {
  ------------------
  |  Branch (13556:9): [True: 0, False: 5]
  ------------------
13557|      0|        p->level--;
13558|      0|        return NULL;
13559|      0|    }
13560|      5|    expr_ty _res = NULL;
13561|      5|    int _mark = p->mark;
13562|      5|    expr_ty _prefix_5_result = NULL;
13563|      5|    int _prefix_5_end = 0, _prefix_5_valid = 0;
13564|      5|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13564:9): [True: 0, False: 5]
  |  Branch (13564:31): [True: 0, False: 0]
  ------------------
13565|      0|        p->error_indicator = 1;
13566|      0|        p->level--;
13567|      0|        return NULL;
13568|      0|    }
13569|      5|    int _start_lineno = p->tokens[_mark]->lineno;
13570|      5|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
13571|      5|    int _start_col_offset = p->tokens[_mark]->col_offset;
13572|      5|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
13573|      5|    { // shift_expr '<<' sum
13574|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13574:13): [True: 0, False: 5]
  ------------------
13575|      0|            p->level--;
13576|      0|            return NULL;
13577|      0|        }
13578|      5|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
13579|      5|        Token * _literal;
13580|      5|        expr_ty a;
13581|      5|        expr_ty b;
13582|      5|        if (
13583|      5|            (a = ((!p->call_invalid_rules && _prefix_5_valid) ? (p->mark = _prefix_5_end, _prefix_5_result) : (_prefix_5_result = shift_expr_rule(p), _prefix_5_end = p->mark, _prefix_5_valid = 1, _prefix_5_result)))  // shift_expr
  ------------------
  |  Branch (13583:13): [True: 2, False: 3]
  |  Branch (13583:20): [True: 5, False: 0]
  |  Branch (13583:46): [True: 0, False: 5]
  ------------------
13584|      2|            &&
13585|      2|            (_literal = _PyPegen_expect_token(p, 33))  // token='<<'
  ------------------
  |  Branch (13585:13): [True: 0, False: 2]
  ------------------
13586|      0|            &&
13587|      0|            (b = sum_rule(p))  // sum
  ------------------
  |  |  485|      0|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13587:13): [True: 0, False: 0]
  ------------------
13588|      5|        )
13589|      0|        {
13590|      0|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
13591|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13592|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13592:17): [True: 0, False: 0]
  ------------------
13593|      0|                p->level--;
13594|      0|                return NULL;
13595|      0|            }
13596|      0|            int _end_lineno = _token->end_lineno;
13597|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13598|      0|            int _end_col_offset = _token->end_col_offset;
13599|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13600|      0|            _res = _PyAST_BinOp ( a , LShift , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13601|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13601:18): [True: 0, False: 0]
  |  Branch (13601:34): [True: 0, False: 0]
  |  Branch (13601:57): [True: 0, False: 0]
  ------------------
13602|      0|                p->error_indicator = 1;
13603|      0|                p->level--;
13604|      0|                return NULL;
13605|      0|            }
13606|      0|            goto done;
13607|      0|        }
13608|      5|        p->mark = _mark;
13609|      5|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
13610|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '<<' sum"));
13611|      5|    }
13612|      0|    { // shift_expr '>>' sum
13613|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13613:13): [True: 0, False: 5]
  ------------------
13614|      0|            p->level--;
13615|      0|            return NULL;
13616|      0|        }
13617|      5|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
13618|      5|        Token * _literal;
13619|      5|        expr_ty a;
13620|      5|        expr_ty b;
13621|      5|        if (
13622|      5|            (a = ((!p->call_invalid_rules && _prefix_5_valid) ? (p->mark = _prefix_5_end, _prefix_5_result) : (_prefix_5_result = shift_expr_rule(p), _prefix_5_end = p->mark, _prefix_5_valid = 1, _prefix_5_result)))  // shift_expr
  ------------------
  |  Branch (13622:13): [True: 2, False: 3]
  |  Branch (13622:20): [True: 5, False: 0]
  |  Branch (13622:46): [True: 5, False: 0]
  ------------------
13623|      2|            &&
13624|      2|            (_literal = _PyPegen_expect_token(p, 34))  // token='>>'
  ------------------
  |  Branch (13624:13): [True: 0, False: 2]
  ------------------
13625|      0|            &&
13626|      0|            (b = sum_rule(p))  // sum
  ------------------
  |  |  485|      0|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13626:13): [True: 0, False: 0]
  ------------------
13627|      5|        )
13628|      0|        {
13629|      0|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
13630|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13631|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13631:17): [True: 0, False: 0]
  ------------------
13632|      0|                p->level--;
13633|      0|                return NULL;
13634|      0|            }
13635|      0|            int _end_lineno = _token->end_lineno;
13636|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13637|      0|            int _end_col_offset = _token->end_col_offset;
13638|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13639|      0|            _res = _PyAST_BinOp ( a , RShift , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13640|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13640:18): [True: 0, False: 0]
  |  Branch (13640:34): [True: 0, False: 0]
  |  Branch (13640:57): [True: 0, False: 0]
  ------------------
13641|      0|                p->error_indicator = 1;
13642|      0|                p->level--;
13643|      0|                return NULL;
13644|      0|            }
13645|      0|            goto done;
13646|      0|        }
13647|      5|        p->mark = _mark;
13648|      5|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
13649|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '>>' sum"));
13650|      5|    }
13651|      0|    { // sum
13652|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13652:13): [True: 0, False: 5]
  ------------------
13653|      0|            p->level--;
13654|      0|            return NULL;
13655|      0|        }
13656|      5|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum"));
13657|      5|        expr_ty sum_var;
13658|      5|        if (
13659|      5|            (sum_var = sum_rule(p))  // sum
  ------------------
  |  |  485|      5|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13659:13): [True: 4, False: 1]
  ------------------
13660|      5|        )
13661|      4|        {
13662|      4|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum"));
13663|      4|            _res = sum_var;
13664|      4|            goto done;
13665|      4|        }
13666|      1|        p->mark = _mark;
13667|      1|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
13668|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum"));
13669|      1|    }
13670|      1|    _res = NULL;
13671|      5|  done:
13672|      5|    p->level--;
13673|      5|    return _res;
13674|      1|}
parser.c:sum_raw:
13717|      5|{
13718|      5|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     10|#  define MAXSTACK 6000
  ------------------
  |  Branch (13718:9): [True: 0, False: 5]
  |  Branch (13718:35): [True: 0, False: 5]
  ------------------
13719|      0|        _Pypegen_stack_overflow(p);
13720|      0|    }
13721|      5|    if (p->error_indicator) {
  ------------------
  |  Branch (13721:9): [True: 0, False: 5]
  ------------------
13722|      0|        p->level--;
13723|      0|        return NULL;
13724|      0|    }
13725|      5|    expr_ty _res = NULL;
13726|      5|    int _mark = p->mark;
13727|      5|    expr_ty _prefix_6_result = NULL;
13728|      5|    int _prefix_6_end = 0, _prefix_6_valid = 0;
13729|      5|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13729:9): [True: 0, False: 5]
  |  Branch (13729:31): [True: 0, False: 0]
  ------------------
13730|      0|        p->error_indicator = 1;
13731|      0|        p->level--;
13732|      0|        return NULL;
13733|      0|    }
13734|      5|    int _start_lineno = p->tokens[_mark]->lineno;
13735|      5|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
13736|      5|    int _start_col_offset = p->tokens[_mark]->col_offset;
13737|      5|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
13738|      5|    { // sum '+' term
13739|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13739:13): [True: 0, False: 5]
  ------------------
13740|      0|            p->level--;
13741|      0|            return NULL;
13742|      0|        }
13743|      5|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
13744|      5|        Token * _literal;
13745|      5|        expr_ty a;
13746|      5|        expr_ty b;
13747|      5|        if (
13748|      5|            (a = ((!p->call_invalid_rules && _prefix_6_valid) ? (p->mark = _prefix_6_end, _prefix_6_result) : (_prefix_6_result = sum_rule(p), _prefix_6_end = p->mark, _prefix_6_valid = 1, _prefix_6_result)))  // sum
  ------------------
  |  |  485|      5|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13748:13): [True: 2, False: 3]
  |  Branch (13748:20): [True: 5, False: 0]
  |  Branch (13748:46): [True: 0, False: 5]
  ------------------
13749|      2|            &&
13750|      2|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (13750:13): [True: 0, False: 2]
  ------------------
13751|      0|            &&
13752|      0|            (b = term_rule(p))  // term
  ------------------
  |  Branch (13752:13): [True: 0, False: 0]
  ------------------
13753|      5|        )
13754|      0|        {
13755|      0|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
13756|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13757|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13757:17): [True: 0, False: 0]
  ------------------
13758|      0|                p->level--;
13759|      0|                return NULL;
13760|      0|            }
13761|      0|            int _end_lineno = _token->end_lineno;
13762|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13763|      0|            int _end_col_offset = _token->end_col_offset;
13764|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13765|      0|            _res = _PyAST_BinOp ( a , Add , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13766|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13766:18): [True: 0, False: 0]
  |  Branch (13766:34): [True: 0, False: 0]
  |  Branch (13766:57): [True: 0, False: 0]
  ------------------
13767|      0|                p->error_indicator = 1;
13768|      0|                p->level--;
13769|      0|                return NULL;
13770|      0|            }
13771|      0|            goto done;
13772|      0|        }
13773|      5|        p->mark = _mark;
13774|      5|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13775|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '+' term"));
13776|      5|    }
13777|      0|    { // sum '-' term
13778|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13778:13): [True: 0, False: 5]
  ------------------
13779|      0|            p->level--;
13780|      0|            return NULL;
13781|      0|        }
13782|      5|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
13783|      5|        Token * _literal;
13784|      5|        expr_ty a;
13785|      5|        expr_ty b;
13786|      5|        if (
13787|      5|            (a = ((!p->call_invalid_rules && _prefix_6_valid) ? (p->mark = _prefix_6_end, _prefix_6_result) : (_prefix_6_result = sum_rule(p), _prefix_6_end = p->mark, _prefix_6_valid = 1, _prefix_6_result)))  // sum
  ------------------
  |  |  485|      0|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13787:13): [True: 2, False: 3]
  |  Branch (13787:20): [True: 5, False: 0]
  |  Branch (13787:46): [True: 5, False: 0]
  ------------------
13788|      2|            &&
13789|      2|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (13789:13): [True: 0, False: 2]
  ------------------
13790|      0|            &&
13791|      0|            (b = term_rule(p))  // term
  ------------------
  |  Branch (13791:13): [True: 0, False: 0]
  ------------------
13792|      5|        )
13793|      0|        {
13794|      0|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
13795|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13796|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13796:17): [True: 0, False: 0]
  ------------------
13797|      0|                p->level--;
13798|      0|                return NULL;
13799|      0|            }
13800|      0|            int _end_lineno = _token->end_lineno;
13801|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13802|      0|            int _end_col_offset = _token->end_col_offset;
13803|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13804|      0|            _res = _PyAST_BinOp ( a , Sub , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13805|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13805:18): [True: 0, False: 0]
  |  Branch (13805:34): [True: 0, False: 0]
  |  Branch (13805:57): [True: 0, False: 0]
  ------------------
13806|      0|                p->error_indicator = 1;
13807|      0|                p->level--;
13808|      0|                return NULL;
13809|      0|            }
13810|      0|            goto done;
13811|      0|        }
13812|      5|        p->mark = _mark;
13813|      5|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13814|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '-' term"));
13815|      5|    }
13816|      5|    if (p->call_invalid_rules) { // invalid_arithmetic
  ------------------
  |  Branch (13816:9): [True: 0, False: 5]
  ------------------
13817|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (13817:13): [True: 0, False: 0]
  ------------------
13818|      0|            p->level--;
13819|      0|            return NULL;
13820|      0|        }
13821|      0|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arithmetic"));
13822|      0|        void *invalid_arithmetic_var;
13823|      0|        if (
13824|      0|            (invalid_arithmetic_var = invalid_arithmetic_rule(p))  // invalid_arithmetic
  ------------------
  |  |  651|      0|#define invalid_arithmetic_rule _PyPegen_invalid_arithmetic_rule
  ------------------
  |  Branch (13824:13): [True: 0, False: 0]
  ------------------
13825|      0|        )
13826|      0|        {
13827|      0|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_arithmetic"));
13828|      0|            _res = invalid_arithmetic_var;
13829|      0|            goto done;
13830|      0|        }
13831|      0|        p->mark = _mark;
13832|      0|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13833|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arithmetic"));
13834|      0|    }
13835|      5|    { // term
13836|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13836:13): [True: 0, False: 5]
  ------------------
13837|      0|            p->level--;
13838|      0|            return NULL;
13839|      0|        }
13840|      5|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term"));
13841|      5|        expr_ty term_var;
13842|      5|        if (
13843|      5|            (term_var = term_rule(p))  // term
  ------------------
  |  Branch (13843:13): [True: 4, False: 1]
  ------------------
13844|      5|        )
13845|      4|        {
13846|      4|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term"));
13847|      4|            _res = term_var;
13848|      4|            goto done;
13849|      4|        }
13850|      1|        p->mark = _mark;
13851|      1|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13852|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term"));
13853|      1|    }
13854|      1|    _res = NULL;
13855|      5|  done:
13856|      5|    p->level--;
13857|      5|    return _res;
13858|      1|}
parser.c:term_rule:
13871|     10|{
13872|     10|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     20|#  define MAXSTACK 6000
  ------------------
  |  Branch (13872:9): [True: 0, False: 10]
  |  Branch (13872:35): [True: 0, False: 10]
  ------------------
13873|      0|        _Pypegen_stack_overflow(p);
13874|      0|    }
13875|     10|    expr_ty _res = NULL;
13876|     10|    if (_PyPegen_is_memoized(p, term_type, &_res)) {
  ------------------
  |  |  217|     10|#define term_type 1128  // Left-recursive
  ------------------
  |  Branch (13876:9): [True: 7, False: 3]
  ------------------
13877|      7|        p->level--;
13878|      7|        return _res;
13879|      7|    }
13880|      3|    int _mark = p->mark;
13881|      3|    int _resmark = p->mark;
13882|      3|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, term_type);
  ------------------
  |  |  217|      3|#define term_type 1128  // Left-recursive
  ------------------
13883|      3|    if (_memo == NULL) {
  ------------------
  |  Branch (13883:9): [True: 0, False: 3]
  ------------------
13884|      0|        p->level--;
13885|      0|        return NULL;
13886|      0|    }
13887|      5|    while (1) {
  ------------------
  |  Branch (13887:12): [True: 5, Folded]
  ------------------
13888|      5|        _memo->node = _res;
13889|      5|        _memo->mark = p->mark;
13890|      5|        p->mark = _mark;
13891|      5|        void *_raw = term_raw(p);
13892|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13892:13): [True: 0, False: 5]
  ------------------
13893|      0|            p->level--;
13894|      0|            return NULL;
13895|      0|        }
13896|      5|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13896:13): [True: 1, False: 4]
  |  Branch (13896:29): [True: 2, False: 2]
  ------------------
13897|      3|            break;
13898|      2|        _resmark = p->mark;
13899|      2|        _res = _raw;
13900|      2|    }
13901|      3|    p->mark = _resmark;
13902|      3|    p->level--;
13903|      3|    return _res;
13904|      3|}
parser.c:term_raw:
13907|      5|{
13908|      5|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     10|#  define MAXSTACK 6000
  ------------------
  |  Branch (13908:9): [True: 0, False: 5]
  |  Branch (13908:35): [True: 0, False: 5]
  ------------------
13909|      0|        _Pypegen_stack_overflow(p);
13910|      0|    }
13911|      5|    if (p->error_indicator) {
  ------------------
  |  Branch (13911:9): [True: 0, False: 5]
  ------------------
13912|      0|        p->level--;
13913|      0|        return NULL;
13914|      0|    }
13915|      5|    expr_ty _res = NULL;
13916|      5|    int _mark = p->mark;
13917|      5|    expr_ty _prefix_7_result = NULL;
13918|      5|    int _prefix_7_end = 0, _prefix_7_valid = 0;
13919|      5|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13919:9): [True: 0, False: 5]
  |  Branch (13919:31): [True: 0, False: 0]
  ------------------
13920|      0|        p->error_indicator = 1;
13921|      0|        p->level--;
13922|      0|        return NULL;
13923|      0|    }
13924|      5|    int _start_lineno = p->tokens[_mark]->lineno;
13925|      5|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
13926|      5|    int _start_col_offset = p->tokens[_mark]->col_offset;
13927|      5|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
13928|      5|    { // term '*' factor
13929|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13929:13): [True: 0, False: 5]
  ------------------
13930|      0|            p->level--;
13931|      0|            return NULL;
13932|      0|        }
13933|      5|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
13934|      5|        Token * _literal;
13935|      5|        expr_ty a;
13936|      5|        expr_ty b;
13937|      5|        if (
13938|      5|            (a = ((!p->call_invalid_rules && _prefix_7_valid) ? (p->mark = _prefix_7_end, _prefix_7_result) : (_prefix_7_result = term_rule(p), _prefix_7_end = p->mark, _prefix_7_valid = 1, _prefix_7_result)))  // term
  ------------------
  |  Branch (13938:13): [True: 2, False: 3]
  |  Branch (13938:20): [True: 5, False: 0]
  |  Branch (13938:46): [True: 0, False: 5]
  ------------------
13939|      2|            &&
13940|      2|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (13940:13): [True: 0, False: 2]
  ------------------
13941|      0|            &&
13942|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|      0|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (13942:13): [True: 0, False: 0]
  ------------------
13943|      5|        )
13944|      0|        {
13945|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
13946|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13947|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13947:17): [True: 0, False: 0]
  ------------------
13948|      0|                p->level--;
13949|      0|                return NULL;
13950|      0|            }
13951|      0|            int _end_lineno = _token->end_lineno;
13952|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13953|      0|            int _end_col_offset = _token->end_col_offset;
13954|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13955|      0|            _res = _PyAST_BinOp ( a , Mult , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13956|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13956:18): [True: 0, False: 0]
  |  Branch (13956:34): [True: 0, False: 0]
  |  Branch (13956:57): [True: 0, False: 0]
  ------------------
13957|      0|                p->error_indicator = 1;
13958|      0|                p->level--;
13959|      0|                return NULL;
13960|      0|            }
13961|      0|            goto done;
13962|      0|        }
13963|      5|        p->mark = _mark;
13964|      5|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
13965|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '*' factor"));
13966|      5|    }
13967|      0|    { // term '/' factor
13968|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (13968:13): [True: 0, False: 5]
  ------------------
13969|      0|            p->level--;
13970|      0|            return NULL;
13971|      0|        }
13972|      5|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
13973|      5|        Token * _literal;
13974|      5|        expr_ty a;
13975|      5|        expr_ty b;
13976|      5|        if (
13977|      5|            (a = ((!p->call_invalid_rules && _prefix_7_valid) ? (p->mark = _prefix_7_end, _prefix_7_result) : (_prefix_7_result = term_rule(p), _prefix_7_end = p->mark, _prefix_7_valid = 1, _prefix_7_result)))  // term
  ------------------
  |  Branch (13977:13): [True: 2, False: 3]
  |  Branch (13977:20): [True: 5, False: 0]
  |  Branch (13977:46): [True: 5, False: 0]
  ------------------
13978|      2|            &&
13979|      2|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (13979:13): [True: 0, False: 2]
  ------------------
13980|      0|            &&
13981|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|      0|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (13981:13): [True: 0, False: 0]
  ------------------
13982|      5|        )
13983|      0|        {
13984|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
13985|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13986|      0|            if (_token == NULL) {
  ------------------
  |  Branch (13986:17): [True: 0, False: 0]
  ------------------
13987|      0|                p->level--;
13988|      0|                return NULL;
13989|      0|            }
13990|      0|            int _end_lineno = _token->end_lineno;
13991|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13992|      0|            int _end_col_offset = _token->end_col_offset;
13993|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
13994|      0|            _res = _PyAST_BinOp ( a , Div , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13995|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13995:18): [True: 0, False: 0]
  |  Branch (13995:34): [True: 0, False: 0]
  |  Branch (13995:57): [True: 0, False: 0]
  ------------------
13996|      0|                p->error_indicator = 1;
13997|      0|                p->level--;
13998|      0|                return NULL;
13999|      0|            }
14000|      0|            goto done;
14001|      0|        }
14002|      5|        p->mark = _mark;
14003|      5|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14004|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '/' factor"));
14005|      5|    }
14006|      0|    { // term '//' factor
14007|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (14007:13): [True: 0, False: 5]
  ------------------
14008|      0|            p->level--;
14009|      0|            return NULL;
14010|      0|        }
14011|      5|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
14012|      5|        Token * _literal;
14013|      5|        expr_ty a;
14014|      5|        expr_ty b;
14015|      5|        if (
14016|      5|            (a = ((!p->call_invalid_rules && _prefix_7_valid) ? (p->mark = _prefix_7_end, _prefix_7_result) : (_prefix_7_result = term_rule(p), _prefix_7_end = p->mark, _prefix_7_valid = 1, _prefix_7_result)))  // term
  ------------------
  |  Branch (14016:13): [True: 2, False: 3]
  |  Branch (14016:20): [True: 5, False: 0]
  |  Branch (14016:46): [True: 5, False: 0]
  ------------------
14017|      2|            &&
14018|      2|            (_literal = _PyPegen_expect_token(p, 47))  // token='//'
  ------------------
  |  Branch (14018:13): [True: 0, False: 2]
  ------------------
14019|      0|            &&
14020|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|      0|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14020:13): [True: 0, False: 0]
  ------------------
14021|      5|        )
14022|      0|        {
14023|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
14024|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14025|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14025:17): [True: 0, False: 0]
  ------------------
14026|      0|                p->level--;
14027|      0|                return NULL;
14028|      0|            }
14029|      0|            int _end_lineno = _token->end_lineno;
14030|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14031|      0|            int _end_col_offset = _token->end_col_offset;
14032|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14033|      0|            _res = _PyAST_BinOp ( a , FloorDiv , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14034|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14034:18): [True: 0, False: 0]
  |  Branch (14034:34): [True: 0, False: 0]
  |  Branch (14034:57): [True: 0, False: 0]
  ------------------
14035|      0|                p->error_indicator = 1;
14036|      0|                p->level--;
14037|      0|                return NULL;
14038|      0|            }
14039|      0|            goto done;
14040|      0|        }
14041|      5|        p->mark = _mark;
14042|      5|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14043|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '//' factor"));
14044|      5|    }
14045|      0|    { // term '%' factor
14046|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (14046:13): [True: 0, False: 5]
  ------------------
14047|      0|            p->level--;
14048|      0|            return NULL;
14049|      0|        }
14050|      5|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14051|      5|        Token * _literal;
14052|      5|        expr_ty a;
14053|      5|        expr_ty b;
14054|      5|        if (
14055|      5|            (a = ((!p->call_invalid_rules && _prefix_7_valid) ? (p->mark = _prefix_7_end, _prefix_7_result) : (_prefix_7_result = term_rule(p), _prefix_7_end = p->mark, _prefix_7_valid = 1, _prefix_7_result)))  // term
  ------------------
  |  Branch (14055:13): [True: 2, False: 3]
  |  Branch (14055:20): [True: 5, False: 0]
  |  Branch (14055:46): [True: 5, False: 0]
  ------------------
14056|      2|            &&
14057|      2|            (_literal = _PyPegen_expect_token(p, 24))  // token='%'
  ------------------
  |  Branch (14057:13): [True: 0, False: 2]
  ------------------
14058|      0|            &&
14059|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|      0|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14059:13): [True: 0, False: 0]
  ------------------
14060|      5|        )
14061|      0|        {
14062|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14063|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14064|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14064:17): [True: 0, False: 0]
  ------------------
14065|      0|                p->level--;
14066|      0|                return NULL;
14067|      0|            }
14068|      0|            int _end_lineno = _token->end_lineno;
14069|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14070|      0|            int _end_col_offset = _token->end_col_offset;
14071|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14072|      0|            _res = _PyAST_BinOp ( a , Mod , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14073|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14073:18): [True: 0, False: 0]
  |  Branch (14073:34): [True: 0, False: 0]
  |  Branch (14073:57): [True: 0, False: 0]
  ------------------
14074|      0|                p->error_indicator = 1;
14075|      0|                p->level--;
14076|      0|                return NULL;
14077|      0|            }
14078|      0|            goto done;
14079|      0|        }
14080|      5|        p->mark = _mark;
14081|      5|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14082|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '%' factor"));
14083|      5|    }
14084|      0|    { // term '@' factor
14085|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (14085:13): [True: 0, False: 5]
  ------------------
14086|      0|            p->level--;
14087|      0|            return NULL;
14088|      0|        }
14089|      5|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14090|      5|        Token * _literal;
14091|      5|        expr_ty a;
14092|      5|        expr_ty b;
14093|      5|        if (
14094|      5|            (a = ((!p->call_invalid_rules && _prefix_7_valid) ? (p->mark = _prefix_7_end, _prefix_7_result) : (_prefix_7_result = term_rule(p), _prefix_7_end = p->mark, _prefix_7_valid = 1, _prefix_7_result)))  // term
  ------------------
  |  Branch (14094:13): [True: 2, False: 3]
  |  Branch (14094:20): [True: 5, False: 0]
  |  Branch (14094:46): [True: 5, False: 0]
  ------------------
14095|      2|            &&
14096|      2|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (14096:13): [True: 0, False: 2]
  ------------------
14097|      0|            &&
14098|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|      0|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14098:13): [True: 0, False: 0]
  ------------------
14099|      5|        )
14100|      0|        {
14101|      0|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14102|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14103|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14103:17): [True: 0, False: 0]
  ------------------
14104|      0|                p->level--;
14105|      0|                return NULL;
14106|      0|            }
14107|      0|            int _end_lineno = _token->end_lineno;
14108|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14109|      0|            int _end_col_offset = _token->end_col_offset;
14110|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14111|      0|            _res = CHECK_VERSION ( expr_ty , 5 , "The '@' operator is" , _PyAST_BinOp ( a , MatMult , b , EXTRA ) );
  ------------------
  |  |  354|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14112|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14112:18): [True: 0, False: 0]
  |  Branch (14112:34): [True: 0, False: 0]
  |  Branch (14112:57): [True: 0, False: 0]
  ------------------
14113|      0|                p->error_indicator = 1;
14114|      0|                p->level--;
14115|      0|                return NULL;
14116|      0|            }
14117|      0|            goto done;
14118|      0|        }
14119|      5|        p->mark = _mark;
14120|      5|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14121|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '@' factor"));
14122|      5|    }
14123|      0|    { // factor
14124|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (14124:13): [True: 0, False: 5]
  ------------------
14125|      0|            p->level--;
14126|      0|            return NULL;
14127|      0|        }
14128|      5|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "factor"));
14129|      5|        expr_ty factor_var;
14130|      5|        if (
14131|      5|            (factor_var = factor_rule(p))  // factor
  ------------------
  |  |  487|      5|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14131:13): [True: 4, False: 1]
  ------------------
14132|      5|        )
14133|      4|        {
14134|      4|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "factor"));
14135|      4|            _res = factor_var;
14136|      4|            goto done;
14137|      4|        }
14138|      1|        p->mark = _mark;
14139|      1|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14140|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "factor"));
14141|      1|    }
14142|      1|    _res = NULL;
14143|      5|  done:
14144|      5|    p->level--;
14145|      5|    return _res;
14146|      1|}
parser.c:power_rule:
14330|      3|{
14331|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (14331:9): [True: 0, False: 3]
  |  Branch (14331:35): [True: 0, False: 3]
  ------------------
14332|      0|        _Pypegen_stack_overflow(p);
14333|      0|    }
14334|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (14334:9): [True: 0, False: 3]
  ------------------
14335|      0|        p->level--;
14336|      0|        return NULL;
14337|      0|    }
14338|      3|    expr_ty _res = NULL;
14339|      3|    int _mark = p->mark;
14340|      3|    expr_ty _prefix_8_result = NULL;
14341|      3|    int _prefix_8_end = 0, _prefix_8_valid = 0;
14342|      3|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14342:9): [True: 0, False: 3]
  |  Branch (14342:31): [True: 0, False: 0]
  ------------------
14343|      0|        p->error_indicator = 1;
14344|      0|        p->level--;
14345|      0|        return NULL;
14346|      0|    }
14347|      3|    int _start_lineno = p->tokens[_mark]->lineno;
14348|      3|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
14349|      3|    int _start_col_offset = p->tokens[_mark]->col_offset;
14350|      3|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
14351|      3|    { // await_primary '**' factor
14352|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (14352:13): [True: 0, False: 3]
  ------------------
14353|      0|            p->level--;
14354|      0|            return NULL;
14355|      0|        }
14356|      3|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14357|      3|        Token * _literal;
14358|      3|        expr_ty a;
14359|      3|        expr_ty b;
14360|      3|        if (
14361|      3|            (a = ((!p->call_invalid_rules && _prefix_8_valid) ? (p->mark = _prefix_8_end, _prefix_8_result) : (_prefix_8_result = await_primary_rule(p), _prefix_8_end = p->mark, _prefix_8_valid = 1, _prefix_8_result)))  // await_primary
  ------------------
  |  Branch (14361:13): [True: 2, False: 1]
  |  Branch (14361:20): [True: 3, False: 0]
  |  Branch (14361:46): [True: 0, False: 3]
  ------------------
14362|      2|            &&
14363|      2|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (14363:13): [True: 0, False: 2]
  ------------------
14364|      0|            &&
14365|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|      0|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14365:13): [True: 0, False: 0]
  ------------------
14366|      3|        )
14367|      0|        {
14368|      0|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14369|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14370|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14370:17): [True: 0, False: 0]
  ------------------
14371|      0|                p->level--;
14372|      0|                return NULL;
14373|      0|            }
14374|      0|            int _end_lineno = _token->end_lineno;
14375|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14376|      0|            int _end_col_offset = _token->end_col_offset;
14377|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14378|      0|            _res = _PyAST_BinOp ( a , Pow , b , EXTRA );
  ------------------
  |  |  316|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14379|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14379:18): [True: 0, False: 0]
  |  Branch (14379:34): [True: 0, False: 0]
  |  Branch (14379:57): [True: 0, False: 0]
  ------------------
14380|      0|                p->error_indicator = 1;
14381|      0|                p->level--;
14382|      0|                return NULL;
14383|      0|            }
14384|      0|            goto done;
14385|      0|        }
14386|      3|        p->mark = _mark;
14387|      3|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14388|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary '**' factor"));
14389|      3|    }
14390|      0|    { // await_primary
14391|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (14391:13): [True: 0, False: 3]
  ------------------
14392|      0|            p->level--;
14393|      0|            return NULL;
14394|      0|        }
14395|      3|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary"));
14396|      3|        expr_ty await_primary_var;
14397|      3|        if (
14398|      3|            (await_primary_var = ((!p->call_invalid_rules && _prefix_8_valid) ? (p->mark = _prefix_8_end, _prefix_8_result) : (_prefix_8_result = await_primary_rule(p), _prefix_8_end = p->mark, _prefix_8_valid = 1, _prefix_8_result)))  // await_primary
  ------------------
  |  Branch (14398:13): [True: 2, False: 1]
  |  Branch (14398:36): [True: 3, False: 0]
  |  Branch (14398:62): [True: 3, False: 0]
  ------------------
14399|      3|        )
14400|      2|        {
14401|      2|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary"));
14402|      2|            _res = await_primary_var;
14403|      2|            goto done;
14404|      2|        }
14405|      1|        p->mark = _mark;
14406|      1|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14407|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary"));
14408|      1|    }
14409|      1|    _res = NULL;
14410|      3|  done:
14411|      3|    p->level--;
14412|      3|    return _res;
14413|      1|}
parser.c:await_primary_rule:
14418|      3|{
14419|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (14419:9): [True: 0, False: 3]
  |  Branch (14419:35): [True: 0, False: 3]
  ------------------
14420|      0|        _Pypegen_stack_overflow(p);
14421|      0|    }
14422|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (14422:9): [True: 0, False: 3]
  ------------------
14423|      0|        p->level--;
14424|      0|        return NULL;
14425|      0|    }
14426|      3|    expr_ty _res = NULL;
14427|      3|    if (_PyPegen_is_memoized(p, await_primary_type, &_res)) {
  ------------------
  |  |  220|      3|#define await_primary_type 1131
  ------------------
  |  Branch (14427:9): [True: 0, False: 3]
  ------------------
14428|      0|        p->level--;
14429|      0|        return _res;
14430|      0|    }
14431|      3|    int _mark = p->mark;
14432|      3|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14432:9): [True: 0, False: 3]
  |  Branch (14432:31): [True: 0, False: 0]
  ------------------
14433|      0|        p->error_indicator = 1;
14434|      0|        p->level--;
14435|      0|        return NULL;
14436|      0|    }
14437|      3|    int _start_lineno = p->tokens[_mark]->lineno;
14438|      3|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
14439|      3|    int _start_col_offset = p->tokens[_mark]->col_offset;
14440|      3|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
14441|      3|    { // 'await' primary
14442|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (14442:13): [True: 0, False: 3]
  ------------------
14443|      0|            p->level--;
14444|      0|            return NULL;
14445|      0|        }
14446|      3|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14447|      3|        Token * _keyword;
14448|      3|        expr_ty a;
14449|      3|        if (
14450|      3|            (_keyword = _PyPegen_expect_token(p, 533))  // token='await'
  ------------------
  |  Branch (14450:13): [True: 0, False: 3]
  ------------------
14451|      0|            &&
14452|      0|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14452:13): [True: 0, False: 0]
  ------------------
14453|      3|        )
14454|      0|        {
14455|      0|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14456|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14457|      0|            if (_token == NULL) {
  ------------------
  |  Branch (14457:17): [True: 0, False: 0]
  ------------------
14458|      0|                p->level--;
14459|      0|                return NULL;
14460|      0|            }
14461|      0|            int _end_lineno = _token->end_lineno;
14462|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14463|      0|            int _end_col_offset = _token->end_col_offset;
14464|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
14465|      0|            _res = CHECK_VERSION ( expr_ty , 5 , "Await expressions are" , _PyAST_Await ( a , EXTRA ) );
  ------------------
  |  |  354|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14466|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14466:18): [True: 0, False: 0]
  |  Branch (14466:34): [True: 0, False: 0]
  |  Branch (14466:57): [True: 0, False: 0]
  ------------------
14467|      0|                p->error_indicator = 1;
14468|      0|                p->level--;
14469|      0|                return NULL;
14470|      0|            }
14471|      0|            goto done;
14472|      0|        }
14473|      3|        p->mark = _mark;
14474|      3|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14475|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'await' primary"));
14476|      3|    }
14477|      0|    { // primary
14478|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (14478:13): [True: 0, False: 3]
  ------------------
14479|      0|            p->level--;
14480|      0|            return NULL;
14481|      0|        }
14482|      3|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary"));
14483|      3|        expr_ty primary_var;
14484|      3|        if (
14485|      3|            (primary_var = primary_rule(p))  // primary
  ------------------
  |  Branch (14485:13): [True: 2, False: 1]
  ------------------
14486|      3|        )
14487|      2|        {
14488|      2|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary"));
14489|      2|            _res = primary_var;
14490|      2|            goto done;
14491|      2|        }
14492|      1|        p->mark = _mark;
14493|      1|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14494|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary"));
14495|      1|    }
14496|      1|    _res = NULL;
14497|      3|  done:
14498|      3|    _PyPegen_insert_memo(p, _mark, await_primary_type, _res);
  ------------------
  |  |  220|      3|#define await_primary_type 1131
  ------------------
14499|      3|    p->level--;
14500|      3|    return _res;
14501|      1|}
parser.c:lambda_parameters_rule:
15434|      1|{
15435|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (15435:9): [True: 0, False: 1]
  |  Branch (15435:35): [True: 0, False: 1]
  ------------------
15436|      0|        _Pypegen_stack_overflow(p);
15437|      0|    }
15438|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (15438:9): [True: 0, False: 1]
  ------------------
15439|      0|        p->level--;
15440|      0|        return NULL;
15441|      0|    }
15442|      1|    arguments_ty _res = NULL;
15443|      1|    int _mark = p->mark;
15444|      1|    { // lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?
15445|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15445:13): [True: 0, False: 1]
  ------------------
15446|      0|            p->level--;
15447|      0|            return NULL;
15448|      0|        }
15449|      1|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?"));
15450|      1|        asdl_arg_seq* a;
15451|      1|        asdl_arg_seq* b;
15452|      1|        asdl_seq * c;
15453|      1|        void *d;
15454|      1|        if (
15455|      1|            (a = lambda_slash_no_default_rule(p))  // lambda_slash_no_default
  ------------------
  |  |  493|      1|#define lambda_slash_no_default_rule _PyPegen_lambda_slash_no_default_rule
  ------------------
  |  Branch (15455:13): [True: 0, False: 1]
  ------------------
15456|      0|            &&
15457|      0|            (b = (asdl_arg_seq*)_loop0_70_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15457:13): [True: 0, False: 0]
  ------------------
15458|      0|            &&
15459|      0|            (c = _loop0_71_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15459:13): [True: 0, False: 0]
  ------------------
15460|      0|            &&
15461|      0|            (d = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15461:13): [True: 0, False: 0]
  ------------------
15462|      1|        )
15463|      0|        {
15464|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?"));
15465|      0|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , a , NULL , b , c , d ) );
  ------------------
  |  |  354|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
15466|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15466:18): [True: 0, False: 0]
  |  Branch (15466:34): [True: 0, False: 0]
  |  Branch (15466:57): [True: 0, False: 0]
  ------------------
15467|      0|                p->error_indicator = 1;
15468|      0|                p->level--;
15469|      0|                return NULL;
15470|      0|            }
15471|      0|            goto done;
15472|      0|        }
15473|      1|        p->mark = _mark;
15474|      1|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15475|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?"));
15476|      1|    }
15477|      0|    { // lambda_slash_with_default lambda_param_with_default* lambda_star_etc?
15478|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15478:13): [True: 0, False: 1]
  ------------------
15479|      0|            p->level--;
15480|      0|            return NULL;
15481|      0|        }
15482|      1|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default lambda_param_with_default* lambda_star_etc?"));
15483|      1|        SlashWithDefault* a;
15484|      1|        asdl_seq * b;
15485|      1|        void *c;
15486|      1|        if (
15487|      1|            (a = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  |  495|      1|#define lambda_slash_with_default_rule _PyPegen_lambda_slash_with_default_rule
  ------------------
  |  Branch (15487:13): [True: 0, False: 1]
  ------------------
15488|      0|            &&
15489|      0|            (b = _loop0_71_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15489:13): [True: 0, False: 0]
  ------------------
15490|      0|            &&
15491|      0|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15491:13): [True: 0, False: 0]
  ------------------
15492|      1|        )
15493|      0|        {
15494|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default lambda_param_with_default* lambda_star_etc?"));
15495|      0|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , NULL , a , NULL , b , c ) );
  ------------------
  |  |  354|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
15496|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15496:18): [True: 0, False: 0]
  |  Branch (15496:34): [True: 0, False: 0]
  |  Branch (15496:57): [True: 0, False: 0]
  ------------------
15497|      0|                p->error_indicator = 1;
15498|      0|                p->level--;
15499|      0|                return NULL;
15500|      0|            }
15501|      0|            goto done;
15502|      0|        }
15503|      1|        p->mark = _mark;
15504|      1|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15505|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default lambda_param_with_default* lambda_star_etc?"));
15506|      1|    }
15507|      0|    { // lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?
15508|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15508:13): [True: 0, False: 1]
  ------------------
15509|      0|            p->level--;
15510|      0|            return NULL;
15511|      0|        }
15512|      1|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?"));
15513|      1|        asdl_arg_seq* a;
15514|      1|        asdl_seq * b;
15515|      1|        void *c;
15516|      1|        if (
15517|      1|            (a = (asdl_arg_seq*)_loop1_72_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15517:13): [True: 1, False: 0]
  ------------------
15518|      1|            &&
15519|      1|            (b = _loop0_71_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15519:13): [True: 1, False: 0]
  ------------------
15520|      1|            &&
15521|      1|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15521:13): [True: 1, False: 0]
  ------------------
15522|      1|        )
15523|      1|        {
15524|      1|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?"));
15525|      1|            _res = _PyPegen_make_arguments ( p , NULL , NULL , a , b , c );
15526|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15526:18): [True: 0, False: 1]
  |  Branch (15526:34): [True: 0, False: 1]
  |  Branch (15526:57): [True: 0, False: 0]
  ------------------
15527|      0|                p->error_indicator = 1;
15528|      0|                p->level--;
15529|      0|                return NULL;
15530|      0|            }
15531|      1|            goto done;
15532|      1|        }
15533|      0|        p->mark = _mark;
15534|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15535|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?"));
15536|      0|    }
15537|      0|    { // lambda_param_with_default+ lambda_star_etc?
15538|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15538:13): [True: 0, False: 0]
  ------------------
15539|      0|            p->level--;
15540|      0|            return NULL;
15541|      0|        }
15542|      0|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15543|      0|        asdl_seq * a;
15544|      0|        void *b;
15545|      0|        if (
15546|      0|            (a = _loop1_73_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15546:13): [True: 0, False: 0]
  ------------------
15547|      0|            &&
15548|      0|            (b = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15548:13): [True: 0, False: 0]
  ------------------
15549|      0|        )
15550|      0|        {
15551|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15552|      0|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , a , b );
15553|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15553:18): [True: 0, False: 0]
  |  Branch (15553:34): [True: 0, False: 0]
  |  Branch (15553:57): [True: 0, False: 0]
  ------------------
15554|      0|                p->error_indicator = 1;
15555|      0|                p->level--;
15556|      0|                return NULL;
15557|      0|            }
15558|      0|            goto done;
15559|      0|        }
15560|      0|        p->mark = _mark;
15561|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15562|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15563|      0|    }
15564|      0|    { // lambda_star_etc
15565|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15565:13): [True: 0, False: 0]
  ------------------
15566|      0|            p->level--;
15567|      0|            return NULL;
15568|      0|        }
15569|      0|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15570|      0|        StarEtc* a;
15571|      0|        if (
15572|      0|            (a = lambda_star_etc_rule(p))  // lambda_star_etc
  ------------------
  |  Branch (15572:13): [True: 0, False: 0]
  ------------------
15573|      0|        )
15574|      0|        {
15575|      0|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15576|      0|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , NULL , a );
15577|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15577:18): [True: 0, False: 0]
  |  Branch (15577:34): [True: 0, False: 0]
  |  Branch (15577:57): [True: 0, False: 0]
  ------------------
15578|      0|                p->error_indicator = 1;
15579|      0|                p->level--;
15580|      0|                return NULL;
15581|      0|            }
15582|      0|            goto done;
15583|      0|        }
15584|      0|        p->mark = _mark;
15585|      0|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15586|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_star_etc"));
15587|      0|    }
15588|      0|    _res = NULL;
15589|      1|  done:
15590|      1|    p->level--;
15591|      1|    return _res;
15592|      0|}
parser.c:_loop0_71_rule:
23826|      1|{
23827|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (23827:9): [True: 0, False: 1]
  |  Branch (23827:35): [True: 0, False: 1]
  ------------------
23828|      0|        _Pypegen_stack_overflow(p);
23829|      0|    }
23830|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (23830:9): [True: 0, False: 1]
  ------------------
23831|      0|        p->level--;
23832|      0|        return NULL;
23833|      0|    }
23834|      1|    void *_res = NULL;
23835|      1|    int _mark = p->mark;
23836|      1|    void **_children = NULL;
23837|      1|    Py_ssize_t _children_capacity = 0;
23838|      1|    Py_ssize_t _n = 0;
23839|      1|    { // lambda_param_with_default
23840|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (23840:13): [True: 0, False: 1]
  ------------------
23841|      0|            p->level--;
23842|      0|            return NULL;
23843|      0|        }
23844|      1|        D(fprintf(stderr, "%*c> _loop0_71[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
23845|      1|        NameDefaultPair* lambda_param_with_default_var;
23846|      1|        while (
23847|      1|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  |  499|      1|#define lambda_param_with_default_rule _PyPegen_lambda_param_with_default_rule
  ------------------
  |  Branch (23847:13): [True: 0, False: 1]
  ------------------
23848|      1|        )
23849|      0|        {
23850|      0|            _res = lambda_param_with_default_var;
23851|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23851:17): [True: 0, False: 0]
  ------------------
23852|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23852:21): [True: 0, False: 0]
  ------------------
23853|      0|                    p->error_indicator = 1;
23854|      0|                    PyErr_NoMemory();
23855|      0|                    PyMem_Free(_children);
23856|      0|                    p->level--;
23857|      0|                    return NULL;
23858|      0|                }
23859|      0|            }
23860|      0|            _children[_n++] = _res;
23861|      0|            _mark = p->mark;
23862|      0|        }
23863|      1|        p->mark = _mark;
23864|      1|        D(fprintf(stderr, "%*c%s _loop0_71[%d-%d]: %s failed!\n", p->level, ' ',
23865|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
23866|      1|    }
23867|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23868|      1|    if (!_seq) {
  ------------------
  |  Branch (23868:9): [True: 0, False: 1]
  ------------------
23869|      0|        p->error_indicator = 1;
23870|      0|        PyErr_NoMemory();
23871|      0|        PyMem_Free(_children);
23872|      0|        p->level--;
23873|      0|        return NULL;
23874|      0|    }
23875|      1|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23875:28): [True: 0, False: 1]
  ------------------
23876|      1|    PyMem_Free(_children);
23877|      1|    p->level--;
23878|      1|    return _seq;
23879|      1|}
parser.c:lambda_star_etc_rule:
15767|      1|{
15768|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (15768:9): [True: 0, False: 1]
  |  Branch (15768:35): [True: 0, False: 1]
  ------------------
15769|      0|        _Pypegen_stack_overflow(p);
15770|      0|    }
15771|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (15771:9): [True: 0, False: 1]
  ------------------
15772|      0|        p->level--;
15773|      0|        return NULL;
15774|      0|    }
15775|      1|    StarEtc* _res = NULL;
15776|      1|    int _mark = p->mark;
15777|      1|    if (p->call_invalid_rules) { // invalid_lambda_star_etc
  ------------------
  |  Branch (15777:9): [True: 0, False: 1]
  ------------------
15778|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15778:13): [True: 0, False: 0]
  ------------------
15779|      0|            p->level--;
15780|      0|            return NULL;
15781|      0|        }
15782|      0|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_star_etc"));
15783|      0|        void *invalid_lambda_star_etc_var;
15784|      0|        if (
15785|      0|            (invalid_lambda_star_etc_var = invalid_lambda_star_etc_rule(p))  // invalid_lambda_star_etc
  ------------------
  |  |  573|      0|#define invalid_lambda_star_etc_rule _PyPegen_invalid_lambda_star_etc_rule
  ------------------
  |  Branch (15785:13): [True: 0, False: 0]
  ------------------
15786|      0|        )
15787|      0|        {
15788|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_star_etc"));
15789|      0|            _res = invalid_lambda_star_etc_var;
15790|      0|            goto done;
15791|      0|        }
15792|      0|        p->mark = _mark;
15793|      0|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15794|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_star_etc"));
15795|      0|    }
15796|      1|    { // '*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?
15797|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15797:13): [True: 0, False: 1]
  ------------------
15798|      0|            p->level--;
15799|      0|            return NULL;
15800|      0|        }
15801|      1|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?"));
15802|      1|        Token * _literal;
15803|      1|        arg_ty a;
15804|      1|        asdl_seq * b;
15805|      1|        void *c;
15806|      1|        if (
15807|      1|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (15807:13): [True: 0, False: 1]
  ------------------
15808|      0|            &&
15809|      0|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  497|      0|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (15809:13): [True: 0, False: 0]
  ------------------
15810|      0|            &&
15811|      0|            (b = _loop0_74_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (15811:13): [True: 0, False: 0]
  ------------------
15812|      0|            &&
15813|      0|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (15813:13): [True: 0, False: 0]
  ------------------
15814|      1|        )
15815|      0|        {
15816|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?"));
15817|      0|            _res = _PyPegen_star_etc ( p , a , b , c );
15818|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15818:18): [True: 0, False: 0]
  |  Branch (15818:34): [True: 0, False: 0]
  |  Branch (15818:57): [True: 0, False: 0]
  ------------------
15819|      0|                p->error_indicator = 1;
15820|      0|                p->level--;
15821|      0|                return NULL;
15822|      0|            }
15823|      0|            goto done;
15824|      0|        }
15825|      1|        p->mark = _mark;
15826|      1|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15827|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?"));
15828|      1|    }
15829|      0|    { // '*' ',' lambda_param_maybe_default+ lambda_kwds?
15830|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15830:13): [True: 0, False: 1]
  ------------------
15831|      0|            p->level--;
15832|      0|            return NULL;
15833|      0|        }
15834|      1|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
15835|      1|        Token * _literal;
15836|      1|        Token * _literal_1;
15837|      1|        asdl_seq * b;
15838|      1|        void *c;
15839|      1|        if (
15840|      1|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (15840:13): [True: 0, False: 1]
  ------------------
15841|      0|            &&
15842|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15842:13): [True: 0, False: 0]
  ------------------
15843|      0|            &&
15844|      0|            (b = _loop1_75_rule(p))  // lambda_param_maybe_default+
  ------------------
  |  Branch (15844:13): [True: 0, False: 0]
  ------------------
15845|      0|            &&
15846|      0|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (15846:13): [True: 0, False: 0]
  ------------------
15847|      1|        )
15848|      0|        {
15849|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
15850|      0|            _res = _PyPegen_star_etc ( p , NULL , b , c );
15851|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15851:18): [True: 0, False: 0]
  |  Branch (15851:34): [True: 0, False: 0]
  |  Branch (15851:57): [True: 0, False: 0]
  ------------------
15852|      0|                p->error_indicator = 1;
15853|      0|                p->level--;
15854|      0|                return NULL;
15855|      0|            }
15856|      0|            goto done;
15857|      0|        }
15858|      1|        p->mark = _mark;
15859|      1|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15860|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
15861|      1|    }
15862|      0|    { // lambda_kwds
15863|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15863:13): [True: 0, False: 1]
  ------------------
15864|      0|            p->level--;
15865|      0|            return NULL;
15866|      0|        }
15867|      1|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
15868|      1|        arg_ty a;
15869|      1|        if (
15870|      1|            (a = lambda_kwds_rule(p))  // lambda_kwds
  ------------------
  |  Branch (15870:13): [True: 0, False: 1]
  ------------------
15871|      1|        )
15872|      0|        {
15873|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
15874|      0|            _res = _PyPegen_star_etc ( p , NULL , NULL , a );
15875|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15875:18): [True: 0, False: 0]
  |  Branch (15875:34): [True: 0, False: 0]
  |  Branch (15875:57): [True: 0, False: 0]
  ------------------
15876|      0|                p->error_indicator = 1;
15877|      0|                p->level--;
15878|      0|                return NULL;
15879|      0|            }
15880|      0|            goto done;
15881|      0|        }
15882|      1|        p->mark = _mark;
15883|      1|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15884|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_kwds"));
15885|      1|    }
15886|      1|    _res = NULL;
15887|      1|  done:
15888|      1|    p->level--;
15889|      1|    return _res;
15890|      1|}
parser.c:lambda_kwds_rule:
15895|      1|{
15896|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (15896:9): [True: 0, False: 1]
  |  Branch (15896:35): [True: 0, False: 1]
  ------------------
15897|      0|        _Pypegen_stack_overflow(p);
15898|      0|    }
15899|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (15899:9): [True: 0, False: 1]
  ------------------
15900|      0|        p->level--;
15901|      0|        return NULL;
15902|      0|    }
15903|      1|    arg_ty _res = NULL;
15904|      1|    int _mark = p->mark;
15905|      1|    if (p->call_invalid_rules) { // invalid_lambda_kwds
  ------------------
  |  Branch (15905:9): [True: 0, False: 1]
  ------------------
15906|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (15906:13): [True: 0, False: 0]
  ------------------
15907|      0|            p->level--;
15908|      0|            return NULL;
15909|      0|        }
15910|      0|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_kwds"));
15911|      0|        void *invalid_lambda_kwds_var;
15912|      0|        if (
15913|      0|            (invalid_lambda_kwds_var = invalid_lambda_kwds_rule(p))  // invalid_lambda_kwds
  ------------------
  |  |  575|      0|#define invalid_lambda_kwds_rule _PyPegen_invalid_lambda_kwds_rule
  ------------------
  |  Branch (15913:13): [True: 0, False: 0]
  ------------------
15914|      0|        )
15915|      0|        {
15916|      0|            D(fprintf(stderr, "%*c+ lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_kwds"));
15917|      0|            _res = invalid_lambda_kwds_var;
15918|      0|            goto done;
15919|      0|        }
15920|      0|        p->mark = _mark;
15921|      0|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
15922|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_kwds"));
15923|      0|    }
15924|      1|    { // '**' lambda_param_no_default
15925|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (15925:13): [True: 0, False: 1]
  ------------------
15926|      0|            p->level--;
15927|      0|            return NULL;
15928|      0|        }
15929|      1|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
15930|      1|        Token * _literal;
15931|      1|        arg_ty a;
15932|      1|        if (
15933|      1|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (15933:13): [True: 0, False: 1]
  ------------------
15934|      0|            &&
15935|      0|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  497|      0|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (15935:13): [True: 0, False: 0]
  ------------------
15936|      1|        )
15937|      0|        {
15938|      0|            D(fprintf(stderr, "%*c+ lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
15939|      0|            _res = a;
15940|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15940:18): [True: 0, False: 0]
  |  Branch (15940:34): [True: 0, False: 0]
  |  Branch (15940:57): [True: 0, False: 0]
  ------------------
15941|      0|                p->error_indicator = 1;
15942|      0|                p->level--;
15943|      0|                return NULL;
15944|      0|            }
15945|      0|            goto done;
15946|      0|        }
15947|      1|        p->mark = _mark;
15948|      1|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
15949|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param_no_default"));
15950|      1|    }
15951|      1|    _res = NULL;
15952|      1|  done:
15953|      1|    p->level--;
15954|      1|    return _res;
15955|      1|}
parser.c:display_items_rule:
17226|      2|{
17227|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (17227:9): [True: 0, False: 2]
  |  Branch (17227:35): [True: 0, False: 2]
  ------------------
17228|      0|        _Pypegen_stack_overflow(p);
17229|      0|    }
17230|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (17230:9): [True: 0, False: 2]
  ------------------
17231|      0|        p->level--;
17232|      0|        return NULL;
17233|      0|    }
17234|      2|    asdl_expr_seq* _res = NULL;
17235|      2|    int _mark = p->mark;
17236|      2|    { // ','.display_item+ ','?
17237|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (17237:13): [True: 0, False: 2]
  ------------------
17238|      0|            p->level--;
17239|      0|            return NULL;
17240|      0|        }
17241|      2|        D(fprintf(stderr, "%*c> display_items[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.display_item+ ','?"));
17242|      2|        void *_opt_var;
17243|      2|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|      2|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2]
  |  |  ------------------
  ------------------
17244|      2|        asdl_expr_seq* a;
17245|      2|        if (
17246|      2|            (a = (asdl_expr_seq*)_gather_83_rule(p))  // ','.display_item+
  ------------------
  |  Branch (17246:13): [True: 2, False: 0]
  ------------------
17247|      2|            &&
17248|      2|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (17248:13): [True: 2, False: 0]
  ------------------
17249|      2|        )
17250|      2|        {
17251|      2|            D(fprintf(stderr, "%*c+ display_items[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.display_item+ ','?"));
17252|      2|            _res = a;
17253|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17253:18): [True: 0, False: 2]
  |  Branch (17253:34): [True: 0, False: 2]
  |  Branch (17253:57): [True: 0, False: 0]
  ------------------
17254|      0|                p->error_indicator = 1;
17255|      0|                p->level--;
17256|      0|                return NULL;
17257|      0|            }
17258|      2|            goto done;
17259|      2|        }
17260|      0|        p->mark = _mark;
17261|      0|        D(fprintf(stderr, "%*c%s display_items[%d-%d]: %s failed!\n", p->level, ' ',
17262|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.display_item+ ','?"));
17263|      0|    }
17264|      0|    _res = NULL;
17265|      2|  done:
17266|      2|    p->level--;
17267|      2|    return _res;
17268|      0|}
parser.c:_gather_83_rule:
24556|      2|{
24557|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (24557:9): [True: 0, False: 2]
  |  Branch (24557:35): [True: 0, False: 2]
  ------------------
24558|      0|        _Pypegen_stack_overflow(p);
24559|      0|    }
24560|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (24560:9): [True: 0, False: 2]
  ------------------
24561|      0|        p->level--;
24562|      0|        return NULL;
24563|      0|    }
24564|      2|    asdl_seq * _res = NULL;
24565|      2|    int _mark = p->mark;
24566|      2|    { // display_item _loop0_82
24567|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (24567:13): [True: 0, False: 2]
  ------------------
24568|      0|            p->level--;
24569|      0|            return NULL;
24570|      0|        }
24571|      2|        D(fprintf(stderr, "%*c> _gather_83[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "display_item _loop0_82"));
24572|      2|        expr_ty elem;
24573|      2|        asdl_seq * seq;
24574|      2|        if (
24575|      2|            (elem = display_item_rule(p))  // display_item
  ------------------
  |  Branch (24575:13): [True: 2, False: 0]
  ------------------
24576|      2|            &&
24577|      2|            (seq = _loop0_82_rule(p))  // _loop0_82
  ------------------
  |  Branch (24577:13): [True: 2, False: 0]
  ------------------
24578|      2|        )
24579|      2|        {
24580|      2|            D(fprintf(stderr, "%*c+ _gather_83[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "display_item _loop0_82"));
24581|      2|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
24582|      2|            goto done;
24583|      2|        }
24584|      0|        p->mark = _mark;
24585|      0|        D(fprintf(stderr, "%*c%s _gather_83[%d-%d]: %s failed!\n", p->level, ' ',
24586|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "display_item _loop0_82"));
24587|      0|    }
24588|      0|    _res = NULL;
24589|      2|  done:
24590|      2|    p->level--;
24591|      2|    return _res;
24592|      0|}
parser.c:display_item_rule:
17273|      8|{
17274|      8|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (17274:9): [True: 0, False: 8]
  |  Branch (17274:35): [True: 0, False: 8]
  ------------------
17275|      0|        _Pypegen_stack_overflow(p);
17276|      0|    }
17277|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (17277:9): [True: 0, False: 8]
  ------------------
17278|      0|        p->level--;
17279|      0|        return NULL;
17280|      0|    }
17281|      8|    expr_ty _res = NULL;
17282|      8|    int _mark = p->mark;
17283|      8|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking_sequence
  ------------------
  |  Branch (17283:9): [True: 0, False: 8]
  ------------------
17284|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (17284:13): [True: 0, False: 0]
  ------------------
17285|      0|            p->level--;
17286|      0|            return NULL;
17287|      0|        }
17288|      0|        D(fprintf(stderr, "%*c> display_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
17289|      0|        void *invalid_starred_expression_unpacking_sequence_var;
17290|      0|        if (
17291|      0|            (invalid_starred_expression_unpacking_sequence_var = invalid_starred_expression_unpacking_sequence_rule(p))  // invalid_starred_expression_unpacking_sequence
  ------------------
  |  |  641|      0|#define invalid_starred_expression_unpacking_sequence_rule _PyPegen_invalid_starred_expression_unpacking_sequence_rule
  ------------------
  |  Branch (17291:13): [True: 0, False: 0]
  ------------------
17292|      0|        )
17293|      0|        {
17294|      0|            D(fprintf(stderr, "%*c+ display_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
17295|      0|            _res = invalid_starred_expression_unpacking_sequence_var;
17296|      0|            goto done;
17297|      0|        }
17298|      0|        p->mark = _mark;
17299|      0|        D(fprintf(stderr, "%*c%s display_item[%d-%d]: %s failed!\n", p->level, ' ',
17300|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
17301|      0|    }
17302|      8|    { // star_named_expression
17303|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (17303:13): [True: 0, False: 8]
  ------------------
17304|      0|            p->level--;
17305|      0|            return NULL;
17306|      0|        }
17307|      8|        D(fprintf(stderr, "%*c> display_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
17308|      8|        expr_ty star_named_expression_var;
17309|      8|        if (
17310|      8|            (star_named_expression_var = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  471|      8|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (17310:13): [True: 8, False: 0]
  ------------------
17311|      8|        )
17312|      8|        {
17313|      8|            D(fprintf(stderr, "%*c+ display_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
17314|      8|            _res = star_named_expression_var;
17315|      8|            goto done;
17316|      8|        }
17317|      0|        p->mark = _mark;
17318|      0|        D(fprintf(stderr, "%*c%s display_item[%d-%d]: %s failed!\n", p->level, ' ',
17319|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression"));
17320|      0|    }
17321|      0|    _res = NULL;
17322|      8|  done:
17323|      8|    p->level--;
17324|      8|    return _res;
17325|      0|}
parser.c:_loop0_82_rule:
24489|      2|{
24490|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (24490:9): [True: 0, False: 2]
  |  Branch (24490:35): [True: 0, False: 2]
  ------------------
24491|      0|        _Pypegen_stack_overflow(p);
24492|      0|    }
24493|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (24493:9): [True: 0, False: 2]
  ------------------
24494|      0|        p->level--;
24495|      0|        return NULL;
24496|      0|    }
24497|      2|    void *_res = NULL;
24498|      2|    int _mark = p->mark;
24499|      2|    void **_children = NULL;
24500|      2|    Py_ssize_t _children_capacity = 0;
24501|      2|    Py_ssize_t _n = 0;
24502|      2|    { // ',' display_item
24503|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (24503:13): [True: 0, False: 2]
  ------------------
24504|      0|            p->level--;
24505|      0|            return NULL;
24506|      0|        }
24507|      2|        D(fprintf(stderr, "%*c> _loop0_82[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' display_item"));
24508|      2|        Token * _literal;
24509|      2|        expr_ty elem;
24510|      2|        while (
24511|      6|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24511:13): [True: 4, False: 2]
  ------------------
24512|      4|            &&
24513|      4|            (elem = display_item_rule(p))  // display_item
  ------------------
  |  Branch (24513:13): [True: 4, False: 0]
  ------------------
24514|      2|        )
24515|      4|        {
24516|      4|            _res = elem;
24517|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24517:18): [True: 0, False: 4]
  |  Branch (24517:34): [True: 0, False: 4]
  |  Branch (24517:57): [True: 0, False: 0]
  ------------------
24518|      0|                p->error_indicator = 1;
24519|      0|                PyMem_Free(_children);
24520|      0|                p->level--;
24521|      0|                return NULL;
24522|      0|            }
24523|      4|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24523:17): [True: 4, False: 0]
  ------------------
24524|      4|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24524:21): [True: 0, False: 4]
  ------------------
24525|      0|                    p->error_indicator = 1;
24526|      0|                    PyErr_NoMemory();
24527|      0|                    PyMem_Free(_children);
24528|      0|                    p->level--;
24529|      0|                    return NULL;
24530|      0|                }
24531|      4|            }
24532|      4|            _children[_n++] = _res;
24533|      4|            _mark = p->mark;
24534|      4|        }
24535|      2|        p->mark = _mark;
24536|      2|        D(fprintf(stderr, "%*c%s _loop0_82[%d-%d]: %s failed!\n", p->level, ' ',
24537|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' display_item"));
24538|      2|    }
24539|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24540|      2|    if (!_seq) {
  ------------------
  |  Branch (24540:9): [True: 0, False: 2]
  ------------------
24541|      0|        p->error_indicator = 1;
24542|      0|        PyErr_NoMemory();
24543|      0|        PyMem_Free(_children);
24544|      0|        p->level--;
24545|      0|        return NULL;
24546|      0|    }
24547|      6|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      4|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24547:28): [True: 4, False: 2]
  ------------------
24548|      2|    PyMem_Free(_children);
24549|      2|    p->level--;
24550|      2|    return _seq;
24551|      2|}
parser.c:_loop1_55_rule:
22863|      1|{
22864|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (22864:9): [True: 0, False: 1]
  |  Branch (22864:35): [True: 0, False: 1]
  ------------------
22865|      0|        _Pypegen_stack_overflow(p);
22866|      0|    }
22867|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (22867:9): [True: 0, False: 1]
  ------------------
22868|      0|        p->level--;
22869|      0|        return NULL;
22870|      0|    }
22871|      1|    void *_res = NULL;
22872|      1|    int _mark = p->mark;
22873|      1|    void **_children = NULL;
22874|      1|    Py_ssize_t _children_capacity = 0;
22875|      1|    Py_ssize_t _n = 0;
22876|      1|    { // (',' expression)
22877|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (22877:13): [True: 0, False: 1]
  ------------------
22878|      0|            p->level--;
22879|      0|            return NULL;
22880|      0|        }
22881|      1|        D(fprintf(stderr, "%*c> _loop1_55[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' expression)"));
22882|      1|        void *_tmp_16_var;
22883|      1|        while (
22884|      1|            (_tmp_16_var = _tmp_16_rule(p))  // ',' expression
  ------------------
  |  Branch (22884:13): [True: 0, False: 1]
  ------------------
22885|      1|        )
22886|      0|        {
22887|      0|            _res = _tmp_16_var;
22888|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (22888:17): [True: 0, False: 0]
  ------------------
22889|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (22889:21): [True: 0, False: 0]
  ------------------
22890|      0|                    p->error_indicator = 1;
22891|      0|                    PyErr_NoMemory();
22892|      0|                    PyMem_Free(_children);
22893|      0|                    p->level--;
22894|      0|                    return NULL;
22895|      0|                }
22896|      0|            }
22897|      0|            _children[_n++] = _res;
22898|      0|            _mark = p->mark;
22899|      0|        }
22900|      1|        p->mark = _mark;
22901|      1|        D(fprintf(stderr, "%*c%s _loop1_55[%d-%d]: %s failed!\n", p->level, ' ',
22902|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' expression)"));
22903|      1|    }
22904|      1|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (22904:9): [True: 1, False: 0]
  |  Branch (22904:20): [True: 0, False: 0]
  ------------------
22905|      1|        PyMem_Free(_children);
22906|      1|        p->level--;
22907|      1|        return NULL;
22908|      1|    }
22909|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
22910|      0|    if (!_seq) {
  ------------------
  |  Branch (22910:9): [True: 0, False: 0]
  ------------------
22911|      0|        p->error_indicator = 1;
22912|      0|        PyErr_NoMemory();
22913|      0|        PyMem_Free(_children);
22914|      0|        p->level--;
22915|      0|        return NULL;
22916|      0|    }
22917|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (22917:28): [True: 0, False: 0]
  ------------------
22918|      0|    PyMem_Free(_children);
22919|      0|    p->level--;
22920|      0|    return _seq;
22921|      0|}
parser.c:_loop1_59_rule:
23097|      2|{
23098|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (23098:9): [True: 0, False: 2]
  |  Branch (23098:35): [True: 0, False: 2]
  ------------------
23099|      0|        _Pypegen_stack_overflow(p);
23100|      0|    }
23101|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (23101:9): [True: 0, False: 2]
  ------------------
23102|      0|        p->level--;
23103|      0|        return NULL;
23104|      0|    }
23105|      2|    void *_res = NULL;
23106|      2|    int _mark = p->mark;
23107|      2|    void **_children = NULL;
23108|      2|    Py_ssize_t _children_capacity = 0;
23109|      2|    Py_ssize_t _n = 0;
23110|      2|    { // ('or' conjunction)
23111|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (23111:13): [True: 0, False: 2]
  ------------------
23112|      0|            p->level--;
23113|      0|            return NULL;
23114|      0|        }
23115|      2|        D(fprintf(stderr, "%*c> _loop1_59[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('or' conjunction)"));
23116|      2|        void *_tmp_182_var;
23117|      2|        while (
23118|      2|            (_tmp_182_var = _tmp_182_rule(p))  // 'or' conjunction
  ------------------
  |  Branch (23118:13): [True: 0, False: 2]
  ------------------
23119|      2|        )
23120|      0|        {
23121|      0|            _res = _tmp_182_var;
23122|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23122:17): [True: 0, False: 0]
  ------------------
23123|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23123:21): [True: 0, False: 0]
  ------------------
23124|      0|                    p->error_indicator = 1;
23125|      0|                    PyErr_NoMemory();
23126|      0|                    PyMem_Free(_children);
23127|      0|                    p->level--;
23128|      0|                    return NULL;
23129|      0|                }
23130|      0|            }
23131|      0|            _children[_n++] = _res;
23132|      0|            _mark = p->mark;
23133|      0|        }
23134|      2|        p->mark = _mark;
23135|      2|        D(fprintf(stderr, "%*c%s _loop1_59[%d-%d]: %s failed!\n", p->level, ' ',
23136|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('or' conjunction)"));
23137|      2|    }
23138|      2|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23138:9): [True: 2, False: 0]
  |  Branch (23138:20): [True: 0, False: 0]
  ------------------
23139|      2|        PyMem_Free(_children);
23140|      2|        p->level--;
23141|      2|        return NULL;
23142|      2|    }
23143|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23144|      0|    if (!_seq) {
  ------------------
  |  Branch (23144:9): [True: 0, False: 0]
  ------------------
23145|      0|        p->error_indicator = 1;
23146|      0|        PyErr_NoMemory();
23147|      0|        PyMem_Free(_children);
23148|      0|        p->level--;
23149|      0|        return NULL;
23150|      0|    }
23151|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23151:28): [True: 0, False: 0]
  ------------------
23152|      0|    PyMem_Free(_children);
23153|      0|    p->level--;
23154|      0|    return _seq;
23155|      0|}
parser.c:_tmp_182_rule:
25999|      2|{
26000|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (26000:9): [True: 0, False: 2]
  |  Branch (26000:35): [True: 0, False: 2]
  ------------------
26001|      0|        _Pypegen_stack_overflow(p);
26002|      0|    }
26003|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (26003:9): [True: 0, False: 2]
  ------------------
26004|      0|        p->level--;
26005|      0|        return NULL;
26006|      0|    }
26007|      2|    void * _res = NULL;
26008|      2|    int _mark = p->mark;
26009|      2|    { // 'or' conjunction
26010|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (26010:13): [True: 0, False: 2]
  ------------------
26011|      0|            p->level--;
26012|      0|            return NULL;
26013|      0|        }
26014|      2|        D(fprintf(stderr, "%*c> _tmp_182[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
26015|      2|        Token * _keyword;
26016|      2|        expr_ty c;
26017|      2|        if (
26018|      2|            (_keyword = _PyPegen_expect_token(p, 529))  // token='or'
  ------------------
  |  Branch (26018:13): [True: 0, False: 2]
  ------------------
26019|      0|            &&
26020|      0|            (c = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (26020:13): [True: 0, False: 0]
  ------------------
26021|      2|        )
26022|      0|        {
26023|      0|            D(fprintf(stderr, "%*c+ _tmp_182[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
26024|      0|            _res = c;
26025|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26025:18): [True: 0, False: 0]
  |  Branch (26025:34): [True: 0, False: 0]
  |  Branch (26025:57): [True: 0, False: 0]
  ------------------
26026|      0|                p->error_indicator = 1;
26027|      0|                p->level--;
26028|      0|                return NULL;
26029|      0|            }
26030|      0|            goto done;
26031|      0|        }
26032|      2|        p->mark = _mark;
26033|      2|        D(fprintf(stderr, "%*c%s _tmp_182[%d-%d]: %s failed!\n", p->level, ' ',
26034|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'or' conjunction"));
26035|      2|    }
26036|      2|    _res = NULL;
26037|      2|  done:
26038|      2|    p->level--;
26039|      2|    return _res;
26040|      2|}
parser.c:_loop0_70_rule:
23768|      2|{
23769|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (23769:9): [True: 0, False: 2]
  |  Branch (23769:35): [True: 0, False: 2]
  ------------------
23770|      0|        _Pypegen_stack_overflow(p);
23771|      0|    }
23772|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (23772:9): [True: 0, False: 2]
  ------------------
23773|      0|        p->level--;
23774|      0|        return NULL;
23775|      0|    }
23776|      2|    void *_res = NULL;
23777|      2|    int _mark = p->mark;
23778|      2|    void **_children = NULL;
23779|      2|    Py_ssize_t _children_capacity = 0;
23780|      2|    Py_ssize_t _n = 0;
23781|      2|    { // lambda_param_no_default
23782|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (23782:13): [True: 0, False: 2]
  ------------------
23783|      0|            p->level--;
23784|      0|            return NULL;
23785|      0|        }
23786|      2|        D(fprintf(stderr, "%*c> _loop0_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
23787|      2|        arg_ty lambda_param_no_default_var;
23788|      2|        while (
23789|     12|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  497|     12|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (23789:13): [True: 10, False: 2]
  ------------------
23790|      2|        )
23791|     10|        {
23792|     10|            _res = lambda_param_no_default_var;
23793|     10|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23793:17): [True: 8, False: 2]
  ------------------
23794|      8|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23794:21): [True: 0, False: 8]
  ------------------
23795|      0|                    p->error_indicator = 1;
23796|      0|                    PyErr_NoMemory();
23797|      0|                    PyMem_Free(_children);
23798|      0|                    p->level--;
23799|      0|                    return NULL;
23800|      0|                }
23801|      8|            }
23802|     10|            _children[_n++] = _res;
23803|     10|            _mark = p->mark;
23804|     10|        }
23805|      2|        p->mark = _mark;
23806|      2|        D(fprintf(stderr, "%*c%s _loop0_70[%d-%d]: %s failed!\n", p->level, ' ',
23807|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
23808|      2|    }
23809|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23810|      2|    if (!_seq) {
  ------------------
  |  Branch (23810:9): [True: 0, False: 2]
  ------------------
23811|      0|        p->error_indicator = 1;
23812|      0|        PyErr_NoMemory();
23813|      0|        PyMem_Free(_children);
23814|      0|        p->level--;
23815|      0|        return NULL;
23816|      0|    }
23817|     12|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     10|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23817:28): [True: 10, False: 2]
  ------------------
23818|      2|    PyMem_Free(_children);
23819|      2|    p->level--;
23820|      2|    return _seq;
23821|      2|}
parser.c:_loop1_72_rule:
23884|      3|{
23885|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (23885:9): [True: 0, False: 3]
  |  Branch (23885:35): [True: 0, False: 3]
  ------------------
23886|      0|        _Pypegen_stack_overflow(p);
23887|      0|    }
23888|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (23888:9): [True: 0, False: 3]
  ------------------
23889|      0|        p->level--;
23890|      0|        return NULL;
23891|      0|    }
23892|      3|    void *_res = NULL;
23893|      3|    int _mark = p->mark;
23894|      3|    void **_children = NULL;
23895|      3|    Py_ssize_t _children_capacity = 0;
23896|      3|    Py_ssize_t _n = 0;
23897|      3|    { // lambda_param_no_default
23898|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (23898:13): [True: 0, False: 3]
  ------------------
23899|      0|            p->level--;
23900|      0|            return NULL;
23901|      0|        }
23902|      3|        D(fprintf(stderr, "%*c> _loop1_72[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
23903|      3|        arg_ty lambda_param_no_default_var;
23904|      3|        while (
23905|     18|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  497|     18|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (23905:13): [True: 15, False: 3]
  ------------------
23906|      3|        )
23907|     15|        {
23908|     15|            _res = lambda_param_no_default_var;
23909|     15|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23909:17): [True: 12, False: 3]
  ------------------
23910|     12|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23910:21): [True: 0, False: 12]
  ------------------
23911|      0|                    p->error_indicator = 1;
23912|      0|                    PyErr_NoMemory();
23913|      0|                    PyMem_Free(_children);
23914|      0|                    p->level--;
23915|      0|                    return NULL;
23916|      0|                }
23917|     12|            }
23918|     15|            _children[_n++] = _res;
23919|     15|            _mark = p->mark;
23920|     15|        }
23921|      3|        p->mark = _mark;
23922|      3|        D(fprintf(stderr, "%*c%s _loop1_72[%d-%d]: %s failed!\n", p->level, ' ',
23923|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
23924|      3|    }
23925|      3|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23925:9): [True: 0, False: 3]
  |  Branch (23925:20): [True: 0, False: 3]
  ------------------
23926|      0|        PyMem_Free(_children);
23927|      0|        p->level--;
23928|      0|        return NULL;
23929|      0|    }
23930|      3|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23931|      3|    if (!_seq) {
  ------------------
  |  Branch (23931:9): [True: 0, False: 3]
  ------------------
23932|      0|        p->error_indicator = 1;
23933|      0|        PyErr_NoMemory();
23934|      0|        PyMem_Free(_children);
23935|      0|        p->level--;
23936|      0|        return NULL;
23937|      0|    }
23938|     18|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     15|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|     18|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23938:28): [True: 15, False: 3]
  ------------------
23939|      3|    PyMem_Free(_children);
23940|      3|    p->level--;
23941|      3|    return _seq;
23942|      3|}
parser.c:_loop1_73_rule:
23947|      2|{
23948|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (23948:9): [True: 0, False: 2]
  |  Branch (23948:35): [True: 0, False: 2]
  ------------------
23949|      0|        _Pypegen_stack_overflow(p);
23950|      0|    }
23951|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (23951:9): [True: 0, False: 2]
  ------------------
23952|      0|        p->level--;
23953|      0|        return NULL;
23954|      0|    }
23955|      2|    void *_res = NULL;
23956|      2|    int _mark = p->mark;
23957|      2|    void **_children = NULL;
23958|      2|    Py_ssize_t _children_capacity = 0;
23959|      2|    Py_ssize_t _n = 0;
23960|      2|    { // lambda_param_with_default
23961|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (23961:13): [True: 0, False: 2]
  ------------------
23962|      0|            p->level--;
23963|      0|            return NULL;
23964|      0|        }
23965|      2|        D(fprintf(stderr, "%*c> _loop1_73[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
23966|      2|        NameDefaultPair* lambda_param_with_default_var;
23967|      2|        while (
23968|      2|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  |  499|      2|#define lambda_param_with_default_rule _PyPegen_lambda_param_with_default_rule
  ------------------
  |  Branch (23968:13): [True: 0, False: 2]
  ------------------
23969|      2|        )
23970|      0|        {
23971|      0|            _res = lambda_param_with_default_var;
23972|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23972:17): [True: 0, False: 0]
  ------------------
23973|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23973:21): [True: 0, False: 0]
  ------------------
23974|      0|                    p->error_indicator = 1;
23975|      0|                    PyErr_NoMemory();
23976|      0|                    PyMem_Free(_children);
23977|      0|                    p->level--;
23978|      0|                    return NULL;
23979|      0|                }
23980|      0|            }
23981|      0|            _children[_n++] = _res;
23982|      0|            _mark = p->mark;
23983|      0|        }
23984|      2|        p->mark = _mark;
23985|      2|        D(fprintf(stderr, "%*c%s _loop1_73[%d-%d]: %s failed!\n", p->level, ' ',
23986|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
23987|      2|    }
23988|      2|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23988:9): [True: 2, False: 0]
  |  Branch (23988:20): [True: 0, False: 0]
  ------------------
23989|      2|        PyMem_Free(_children);
23990|      2|        p->level--;
23991|      2|        return NULL;
23992|      2|    }
23993|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23994|      0|    if (!_seq) {
  ------------------
  |  Branch (23994:9): [True: 0, False: 0]
  ------------------
23995|      0|        p->error_indicator = 1;
23996|      0|        PyErr_NoMemory();
23997|      0|        PyMem_Free(_children);
23998|      0|        p->level--;
23999|      0|        return NULL;
24000|      0|    }
24001|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24001:28): [True: 0, False: 0]
  ------------------
24002|      0|    PyMem_Free(_children);
24003|      0|    p->level--;
24004|      0|    return _seq;
24005|      0|}
parser.c:_tmp_84_rule:
24597|      2|{
24598|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (24598:9): [True: 0, False: 2]
  |  Branch (24598:35): [True: 0, False: 2]
  ------------------
24599|      0|        _Pypegen_stack_overflow(p);
24600|      0|    }
24601|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (24601:9): [True: 0, False: 2]
  ------------------
24602|      0|        p->level--;
24603|      0|        return NULL;
24604|      0|    }
24605|      2|    void * _res = NULL;
24606|      2|    int _mark = p->mark;
24607|      2|    { // display_item ',' display_items?
24608|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (24608:13): [True: 0, False: 2]
  ------------------
24609|      0|            p->level--;
24610|      0|            return NULL;
24611|      0|        }
24612|      2|        D(fprintf(stderr, "%*c> _tmp_84[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "display_item ',' display_items?"));
24613|      2|        Token * _literal;
24614|      2|        expr_ty y;
24615|      2|        void *z;
24616|      2|        if (
24617|      2|            (y = display_item_rule(p))  // display_item
  ------------------
  |  Branch (24617:13): [True: 2, False: 0]
  ------------------
24618|      2|            &&
24619|      2|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24619:13): [True: 2, False: 0]
  ------------------
24620|      2|            &&
24621|      2|            (z = display_items_rule(p), !p->error_indicator)  // display_items?
  ------------------
  |  Branch (24621:13): [True: 2, False: 0]
  ------------------
24622|      2|        )
24623|      2|        {
24624|      2|            D(fprintf(stderr, "%*c+ _tmp_84[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "display_item ',' display_items?"));
24625|      2|            _res = _PyPegen_seq_insert_in_front ( p , y , z );
24626|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24626:18): [True: 0, False: 2]
  |  Branch (24626:34): [True: 0, False: 2]
  |  Branch (24626:57): [True: 0, False: 0]
  ------------------
24627|      0|                p->error_indicator = 1;
24628|      0|                p->level--;
24629|      0|                return NULL;
24630|      0|            }
24631|      2|            goto done;
24632|      2|        }
24633|      0|        p->mark = _mark;
24634|      0|        D(fprintf(stderr, "%*c%s _tmp_84[%d-%d]: %s failed!\n", p->level, ' ',
24635|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "display_item ',' display_items?"));
24636|      0|    }
24637|      0|    _res = NULL;
24638|      2|  done:
24639|      2|    p->level--;
24640|      2|    return _res;
24641|      0|}
parser.c:_loop1_87_rule:
24754|      3|{
24755|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (24755:9): [True: 0, False: 3]
  |  Branch (24755:35): [True: 0, False: 3]
  ------------------
24756|      0|        _Pypegen_stack_overflow(p);
24757|      0|    }
24758|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (24758:9): [True: 0, False: 3]
  ------------------
24759|      0|        p->level--;
24760|      0|        return NULL;
24761|      0|    }
24762|      3|    void *_res = NULL;
24763|      3|    int _mark = p->mark;
24764|      3|    void **_children = NULL;
24765|      3|    Py_ssize_t _children_capacity = 0;
24766|      3|    Py_ssize_t _n = 0;
24767|      3|    { // for_if_clause
24768|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (24768:13): [True: 0, False: 3]
  ------------------
24769|      0|            p->level--;
24770|      0|            return NULL;
24771|      0|        }
24772|      3|        D(fprintf(stderr, "%*c> _loop1_87[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause"));
24773|      3|        comprehension_ty for_if_clause_var;
24774|      3|        while (
24775|      3|            (for_if_clause_var = for_if_clause_rule(p))  // for_if_clause
  ------------------
  |  Branch (24775:13): [True: 0, False: 3]
  ------------------
24776|      3|        )
24777|      0|        {
24778|      0|            _res = for_if_clause_var;
24779|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24779:17): [True: 0, False: 0]
  ------------------
24780|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24780:21): [True: 0, False: 0]
  ------------------
24781|      0|                    p->error_indicator = 1;
24782|      0|                    PyErr_NoMemory();
24783|      0|                    PyMem_Free(_children);
24784|      0|                    p->level--;
24785|      0|                    return NULL;
24786|      0|                }
24787|      0|            }
24788|      0|            _children[_n++] = _res;
24789|      0|            _mark = p->mark;
24790|      0|        }
24791|      3|        p->mark = _mark;
24792|      3|        D(fprintf(stderr, "%*c%s _loop1_87[%d-%d]: %s failed!\n", p->level, ' ',
24793|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause"));
24794|      3|    }
24795|      3|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (24795:9): [True: 3, False: 0]
  |  Branch (24795:20): [True: 0, False: 0]
  ------------------
24796|      3|        PyMem_Free(_children);
24797|      3|        p->level--;
24798|      3|        return NULL;
24799|      3|    }
24800|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24801|      0|    if (!_seq) {
  ------------------
  |  Branch (24801:9): [True: 0, False: 0]
  ------------------
24802|      0|        p->error_indicator = 1;
24803|      0|        PyErr_NoMemory();
24804|      0|        PyMem_Free(_children);
24805|      0|        p->level--;
24806|      0|        return NULL;
24807|      0|    }
24808|      0|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24808:28): [True: 0, False: 0]
  ------------------
24809|      0|    PyMem_Free(_children);
24810|      0|    p->level--;
24811|      0|    return _seq;
24812|      0|}
parser.c:for_if_clause_rule:
17831|      3|{
17832|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (17832:9): [True: 0, False: 3]
  |  Branch (17832:35): [True: 0, False: 3]
  ------------------
17833|      0|        _Pypegen_stack_overflow(p);
17834|      0|    }
17835|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (17835:9): [True: 0, False: 3]
  ------------------
17836|      0|        p->level--;
17837|      0|        return NULL;
17838|      0|    }
17839|      3|    comprehension_ty _res = NULL;
17840|      3|    int _mark = p->mark;
17841|      3|    { // 'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
17842|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (17842:13): [True: 0, False: 3]
  ------------------
17843|      0|            p->level--;
17844|      0|            return NULL;
17845|      0|        }
17846|      3|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17847|      3|        int _cut_var = 0;
17848|      3|        Token * _keyword;
17849|      3|        Token * _keyword_1;
17850|      3|        Token * _keyword_2;
17851|      3|        expr_ty a;
17852|      3|        expr_ty b;
17853|      3|        asdl_expr_seq* c;
17854|      3|        if (
17855|      3|            (_keyword = _PyPegen_expect_token(p, 513))  // token='async'
  ------------------
  |  Branch (17855:13): [True: 0, False: 3]
  ------------------
17856|      0|            &&
17857|      0|            (_keyword_1 = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (17857:13): [True: 0, False: 0]
  ------------------
17858|      0|            &&
17859|      0|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  |  531|      0|#define star_targets_rule _PyPegen_star_targets_rule
  ------------------
  |  Branch (17859:13): [True: 0, False: 0]
  ------------------
17860|      0|            &&
17861|      0|            (_keyword_2 = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (17861:13): [True: 0, False: 0]
  ------------------
17862|      0|            &&
17863|      0|            (_cut_var = 1)
  ------------------
  |  Branch (17863:13): [True: 0, False: 0]
  ------------------
17864|      0|            &&
17865|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|      0|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (17865:13): [True: 0, False: 0]
  ------------------
17866|      0|            &&
17867|      0|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (17867:13): [True: 0, False: 0]
  ------------------
17868|      3|        )
17869|      0|        {
17870|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17871|      0|            _res = CHECK_VERSION ( comprehension_ty , 6 , "Async comprehensions are" , _PyAST_comprehension ( a , b , c , 1 , p -> arena ) );
  ------------------
  |  |  354|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
17872|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17872:18): [True: 0, False: 0]
  |  Branch (17872:34): [True: 0, False: 0]
  |  Branch (17872:57): [True: 0, False: 0]
  ------------------
17873|      0|                p->error_indicator = 1;
17874|      0|                p->level--;
17875|      0|                return NULL;
17876|      0|            }
17877|      0|            goto done;
17878|      0|        }
17879|      3|        p->mark = _mark;
17880|      3|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17881|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17882|      3|        if (_cut_var) {
  ------------------
  |  Branch (17882:13): [True: 0, False: 3]
  ------------------
17883|      0|            p->level--;
17884|      0|            return NULL;
17885|      0|        }
17886|      3|    }
17887|      3|    { // 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
17888|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (17888:13): [True: 0, False: 3]
  ------------------
17889|      0|            p->level--;
17890|      0|            return NULL;
17891|      0|        }
17892|      3|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17893|      3|        int _cut_var = 0;
17894|      3|        Token * _keyword;
17895|      3|        Token * _keyword_1;
17896|      3|        expr_ty a;
17897|      3|        expr_ty b;
17898|      3|        asdl_expr_seq* c;
17899|      3|        if (
17900|      3|            (_keyword = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (17900:13): [True: 0, False: 3]
  ------------------
17901|      0|            &&
17902|      0|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  |  531|      0|#define star_targets_rule _PyPegen_star_targets_rule
  ------------------
  |  Branch (17902:13): [True: 0, False: 0]
  ------------------
17903|      0|            &&
17904|      0|            (_keyword_1 = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (17904:13): [True: 0, False: 0]
  ------------------
17905|      0|            &&
17906|      0|            (_cut_var = 1)
  ------------------
  |  Branch (17906:13): [True: 0, False: 0]
  ------------------
17907|      0|            &&
17908|      0|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|      0|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (17908:13): [True: 0, False: 0]
  ------------------
17909|      0|            &&
17910|      0|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (17910:13): [True: 0, False: 0]
  ------------------
17911|      3|        )
17912|      0|        {
17913|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17914|      0|            _res = _PyAST_comprehension ( a , b , c , 0 , p -> arena );
17915|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17915:18): [True: 0, False: 0]
  |  Branch (17915:34): [True: 0, False: 0]
  |  Branch (17915:57): [True: 0, False: 0]
  ------------------
17916|      0|                p->error_indicator = 1;
17917|      0|                p->level--;
17918|      0|                return NULL;
17919|      0|            }
17920|      0|            goto done;
17921|      0|        }
17922|      3|        p->mark = _mark;
17923|      3|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17924|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17925|      3|        if (_cut_var) {
  ------------------
  |  Branch (17925:13): [True: 0, False: 3]
  ------------------
17926|      0|            p->level--;
17927|      0|            return NULL;
17928|      0|        }
17929|      3|    }
17930|      3|    if (p->call_invalid_rules) { // invalid_for_if_clause
  ------------------
  |  Branch (17930:9): [True: 0, False: 3]
  ------------------
17931|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (17931:13): [True: 0, False: 0]
  ------------------
17932|      0|            p->level--;
17933|      0|            return NULL;
17934|      0|        }
17935|      0|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_if_clause"));
17936|      0|        void *invalid_for_if_clause_var;
17937|      0|        if (
17938|      0|            (invalid_for_if_clause_var = invalid_for_if_clause_rule(p))  // invalid_for_if_clause
  ------------------
  |  |  581|      0|#define invalid_for_if_clause_rule _PyPegen_invalid_for_if_clause_rule
  ------------------
  |  Branch (17938:13): [True: 0, False: 0]
  ------------------
17939|      0|        )
17940|      0|        {
17941|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_if_clause"));
17942|      0|            _res = invalid_for_if_clause_var;
17943|      0|            goto done;
17944|      0|        }
17945|      0|        p->mark = _mark;
17946|      0|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17947|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_if_clause"));
17948|      0|    }
17949|      3|    if (p->call_invalid_rules) { // invalid_for_target
  ------------------
  |  Branch (17949:9): [True: 0, False: 3]
  ------------------
17950|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (17950:13): [True: 0, False: 0]
  ------------------
17951|      0|            p->level--;
17952|      0|            return NULL;
17953|      0|        }
17954|      0|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
17955|      0|        void *invalid_for_target_var;
17956|      0|        if (
17957|      0|            (invalid_for_target_var = invalid_for_target_rule(p))  // invalid_for_target
  ------------------
  |  |  583|      0|#define invalid_for_target_rule _PyPegen_invalid_for_target_rule
  ------------------
  |  Branch (17957:13): [True: 0, False: 0]
  ------------------
17958|      0|        )
17959|      0|        {
17960|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
17961|      0|            _res = invalid_for_target_var;
17962|      0|            goto done;
17963|      0|        }
17964|      0|        p->mark = _mark;
17965|      0|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17966|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_target"));
17967|      0|    }
17968|      3|    _res = NULL;
17969|      3|  done:
17970|      3|    p->level--;
17971|      3|    return _res;
17972|      3|}
parser.c:_tmp_89_rule:
24875|      3|{
24876|      3|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (24876:9): [True: 0, False: 3]
  |  Branch (24876:35): [True: 0, False: 3]
  ------------------
24877|      0|        _Pypegen_stack_overflow(p);
24878|      0|    }
24879|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (24879:9): [True: 0, False: 3]
  ------------------
24880|      0|        p->level--;
24881|      0|        return NULL;
24882|      0|    }
24883|      3|    void * _res = NULL;
24884|      3|    int _mark = p->mark;
24885|      3|    { // assignment_expression
24886|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (24886:13): [True: 0, False: 3]
  ------------------
24887|      0|            p->level--;
24888|      0|            return NULL;
24889|      0|        }
24890|      3|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
24891|      3|        expr_ty assignment_expression_var;
24892|      3|        if (
24893|      3|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  |  473|      3|#define assignment_expression_rule _PyPegen_assignment_expression_rule
  ------------------
  |  Branch (24893:13): [True: 0, False: 3]
  ------------------
24894|      3|        )
24895|      0|        {
24896|      0|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
24897|      0|            _res = assignment_expression_var;
24898|      0|            goto done;
24899|      0|        }
24900|      3|        p->mark = _mark;
24901|      3|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
24902|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
24903|      3|    }
24904|      0|    { // expression !':='
24905|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (24905:13): [True: 0, False: 3]
  ------------------
24906|      0|            p->level--;
24907|      0|            return NULL;
24908|      0|        }
24909|      3|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
24910|      3|        expr_ty expression_var;
24911|      3|        if (
24912|      3|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  461|      3|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (24912:13): [True: 3, False: 0]
  ------------------
24913|      3|            &&
24914|      3|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (24914:13): [True: 3, False: 0]
  ------------------
24915|      3|        )
24916|      3|        {
24917|      3|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
24918|      3|            _res = expression_var;
24919|      3|            goto done;
24920|      3|        }
24921|      0|        p->mark = _mark;
24922|      0|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
24923|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
24924|      0|    }
24925|      0|    { // starred_expression
24926|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (24926:13): [True: 0, False: 0]
  ------------------
24927|      0|            p->level--;
24928|      0|            return NULL;
24929|      0|        }
24930|      0|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
24931|      0|        expr_ty starred_expression_var;
24932|      0|        if (
24933|      0|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  |  529|      0|#define starred_expression_rule _PyPegen_starred_expression_rule
  ------------------
  |  Branch (24933:13): [True: 0, False: 0]
  ------------------
24934|      0|        )
24935|      0|        {
24936|      0|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
24937|      0|            _res = starred_expression_var;
24938|      0|            goto done;
24939|      0|        }
24940|      0|        p->mark = _mark;
24941|      0|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
24942|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
24943|      0|    }
24944|      0|    _res = NULL;
24945|      3|  done:
24946|      3|    p->level--;
24947|      3|    return _res;
24948|      0|}
parser.c:_gather_91_rule:
25021|      1|{
25022|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (25022:9): [True: 0, False: 1]
  |  Branch (25022:35): [True: 0, False: 1]
  ------------------
25023|      0|        _Pypegen_stack_overflow(p);
25024|      0|    }
25025|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (25025:9): [True: 0, False: 1]
  ------------------
25026|      0|        p->level--;
25027|      0|        return NULL;
25028|      0|    }
25029|      1|    asdl_seq * _res = NULL;
25030|      1|    int _mark = p->mark;
25031|      1|    { // (starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90
25032|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (25032:13): [True: 0, False: 1]
  ------------------
25033|      0|            p->level--;
25034|      0|            return NULL;
25035|      0|        }
25036|      1|        D(fprintf(stderr, "%*c> _gather_91[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
25037|      1|        void *elem;
25038|      1|        asdl_seq * seq;
25039|      1|        if (
25040|      1|            (elem = _tmp_187_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (25040:13): [True: 1, False: 0]
  ------------------
25041|      1|            &&
25042|      1|            (seq = _loop0_90_rule(p))  // _loop0_90
  ------------------
  |  Branch (25042:13): [True: 1, False: 0]
  ------------------
25043|      1|        )
25044|      1|        {
25045|      1|            D(fprintf(stderr, "%*c+ _gather_91[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
25046|      1|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
25047|      1|            goto done;
25048|      1|        }
25049|      0|        p->mark = _mark;
25050|      0|        D(fprintf(stderr, "%*c%s _gather_91[%d-%d]: %s failed!\n", p->level, ' ',
25051|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
25052|      0|    }
25053|      0|    _res = NULL;
25054|      1|  done:
25055|      1|    p->level--;
25056|      1|    return _res;
25057|      0|}
parser.c:_tmp_187_rule:
26251|      2|{
26252|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (26252:9): [True: 0, False: 2]
  |  Branch (26252:35): [True: 0, False: 2]
  ------------------
26253|      0|        _Pypegen_stack_overflow(p);
26254|      0|    }
26255|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (26255:9): [True: 0, False: 2]
  ------------------
26256|      0|        p->level--;
26257|      0|        return NULL;
26258|      0|    }
26259|      2|    void * _res = NULL;
26260|      2|    int _mark = p->mark;
26261|      2|    { // starred_expression
26262|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (26262:13): [True: 0, False: 2]
  ------------------
26263|      0|            p->level--;
26264|      0|            return NULL;
26265|      0|        }
26266|      2|        D(fprintf(stderr, "%*c> _tmp_187[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
26267|      2|        expr_ty starred_expression_var;
26268|      2|        if (
26269|      2|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  |  529|      2|#define starred_expression_rule _PyPegen_starred_expression_rule
  ------------------
  |  Branch (26269:13): [True: 0, False: 2]
  ------------------
26270|      2|        )
26271|      0|        {
26272|      0|            D(fprintf(stderr, "%*c+ _tmp_187[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
26273|      0|            _res = starred_expression_var;
26274|      0|            goto done;
26275|      0|        }
26276|      2|        p->mark = _mark;
26277|      2|        D(fprintf(stderr, "%*c%s _tmp_187[%d-%d]: %s failed!\n", p->level, ' ',
26278|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
26279|      2|    }
26280|      0|    { // (assignment_expression | expression !':=') !'='
26281|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (26281:13): [True: 0, False: 2]
  ------------------
26282|      0|            p->level--;
26283|      0|            return NULL;
26284|      0|        }
26285|      2|        D(fprintf(stderr, "%*c> _tmp_187[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
26286|      2|        void *_tmp_200_var;
26287|      2|        if (
26288|      2|            (_tmp_200_var = _tmp_200_rule(p))  // assignment_expression | expression !':='
  ------------------
  |  Branch (26288:13): [True: 2, False: 0]
  ------------------
26289|      2|            &&
26290|      2|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (26290:13): [True: 2, False: 0]
  ------------------
26291|      2|        )
26292|      2|        {
26293|      2|            D(fprintf(stderr, "%*c+ _tmp_187[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
26294|      2|            _res = _tmp_200_var;
26295|      2|            goto done;
26296|      2|        }
26297|      0|        p->mark = _mark;
26298|      0|        D(fprintf(stderr, "%*c%s _tmp_187[%d-%d]: %s failed!\n", p->level, ' ',
26299|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
26300|      0|    }
26301|      0|    _res = NULL;
26302|      2|  done:
26303|      2|    p->level--;
26304|      2|    return _res;
26305|      0|}
parser.c:_tmp_200_rule:
26356|      2|{
26357|      2|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (26357:9): [True: 0, False: 2]
  |  Branch (26357:35): [True: 0, False: 2]
  ------------------
26358|      0|        _Pypegen_stack_overflow(p);
26359|      0|    }
26360|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (26360:9): [True: 0, False: 2]
  ------------------
26361|      0|        p->level--;
26362|      0|        return NULL;
26363|      0|    }
26364|      2|    void * _res = NULL;
26365|      2|    int _mark = p->mark;
26366|      2|    { // assignment_expression
26367|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (26367:13): [True: 0, False: 2]
  ------------------
26368|      0|            p->level--;
26369|      0|            return NULL;
26370|      0|        }
26371|      2|        D(fprintf(stderr, "%*c> _tmp_200[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
26372|      2|        expr_ty assignment_expression_var;
26373|      2|        if (
26374|      2|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  |  473|      2|#define assignment_expression_rule _PyPegen_assignment_expression_rule
  ------------------
  |  Branch (26374:13): [True: 0, False: 2]
  ------------------
26375|      2|        )
26376|      0|        {
26377|      0|            D(fprintf(stderr, "%*c+ _tmp_200[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
26378|      0|            _res = assignment_expression_var;
26379|      0|            goto done;
26380|      0|        }
26381|      2|        p->mark = _mark;
26382|      2|        D(fprintf(stderr, "%*c%s _tmp_200[%d-%d]: %s failed!\n", p->level, ' ',
26383|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
26384|      2|    }
26385|      0|    { // expression !':='
26386|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (26386:13): [True: 0, False: 2]
  ------------------
26387|      0|            p->level--;
26388|      0|            return NULL;
26389|      0|        }
26390|      2|        D(fprintf(stderr, "%*c> _tmp_200[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
26391|      2|        expr_ty expression_var;
26392|      2|        if (
26393|      2|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  461|      2|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (26393:13): [True: 2, False: 0]
  ------------------
26394|      2|            &&
26395|      2|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (26395:13): [True: 2, False: 0]
  ------------------
26396|      2|        )
26397|      2|        {
26398|      2|            D(fprintf(stderr, "%*c+ _tmp_200[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
26399|      2|            _res = expression_var;
26400|      2|            goto done;
26401|      2|        }
26402|      0|        p->mark = _mark;
26403|      0|        D(fprintf(stderr, "%*c%s _tmp_200[%d-%d]: %s failed!\n", p->level, ' ',
26404|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
26405|      0|    }
26406|      0|    _res = NULL;
26407|      2|  done:
26408|      2|    p->level--;
26409|      2|    return _res;
26410|      0|}
parser.c:_loop0_90_rule:
24953|      1|{
24954|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (24954:9): [True: 0, False: 1]
  |  Branch (24954:35): [True: 0, False: 1]
  ------------------
24955|      0|        _Pypegen_stack_overflow(p);
24956|      0|    }
24957|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (24957:9): [True: 0, False: 1]
  ------------------
24958|      0|        p->level--;
24959|      0|        return NULL;
24960|      0|    }
24961|      1|    void *_res = NULL;
24962|      1|    int _mark = p->mark;
24963|      1|    void **_children = NULL;
24964|      1|    Py_ssize_t _children_capacity = 0;
24965|      1|    Py_ssize_t _n = 0;
24966|      1|    { // ',' (starred_expression | (assignment_expression | expression !':=') !'=')
24967|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (24967:13): [True: 0, False: 1]
  ------------------
24968|      0|            p->level--;
24969|      0|            return NULL;
24970|      0|        }
24971|      1|        D(fprintf(stderr, "%*c> _loop0_90[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
24972|      1|        Token * _literal;
24973|      1|        void *elem;
24974|      1|        while (
24975|      2|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24975:13): [True: 1, False: 1]
  ------------------
24976|      1|            &&
24977|      1|            (elem = _tmp_187_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (24977:13): [True: 1, False: 0]
  ------------------
24978|      1|        )
24979|      1|        {
24980|      1|            _res = elem;
24981|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24981:18): [True: 0, False: 1]
  |  Branch (24981:34): [True: 0, False: 1]
  |  Branch (24981:57): [True: 0, False: 0]
  ------------------
24982|      0|                p->error_indicator = 1;
24983|      0|                PyMem_Free(_children);
24984|      0|                p->level--;
24985|      0|                return NULL;
24986|      0|            }
24987|      1|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24987:17): [True: 1, False: 0]
  ------------------
24988|      1|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24988:21): [True: 0, False: 1]
  ------------------
24989|      0|                    p->error_indicator = 1;
24990|      0|                    PyErr_NoMemory();
24991|      0|                    PyMem_Free(_children);
24992|      0|                    p->level--;
24993|      0|                    return NULL;
24994|      0|                }
24995|      1|            }
24996|      1|            _children[_n++] = _res;
24997|      1|            _mark = p->mark;
24998|      1|        }
24999|      1|        p->mark = _mark;
25000|      1|        D(fprintf(stderr, "%*c%s _loop0_90[%d-%d]: %s failed!\n", p->level, ' ',
25001|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
25002|      1|    }
25003|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
25004|      1|    if (!_seq) {
  ------------------
  |  Branch (25004:9): [True: 0, False: 1]
  ------------------
25005|      0|        p->error_indicator = 1;
25006|      0|        PyErr_NoMemory();
25007|      0|        PyMem_Free(_children);
25008|      0|        p->level--;
25009|      0|        return NULL;
25010|      0|    }
25011|      2|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      1|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (25011:28): [True: 1, False: 1]
  ------------------
25012|      1|    PyMem_Free(_children);
25013|      1|    p->level--;
25014|      1|    return _seq;
25015|      1|}
parser.c:_tmp_92_rule:
25062|      1|{
25063|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (25063:9): [True: 0, False: 1]
  |  Branch (25063:35): [True: 0, False: 1]
  ------------------
25064|      0|        _Pypegen_stack_overflow(p);
25065|      0|    }
25066|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (25066:9): [True: 0, False: 1]
  ------------------
25067|      0|        p->level--;
25068|      0|        return NULL;
25069|      0|    }
25070|      1|    void * _res = NULL;
25071|      1|    int _mark = p->mark;
25072|      1|    { // ',' kwargs
25073|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (25073:13): [True: 0, False: 1]
  ------------------
25074|      0|            p->level--;
25075|      0|            return NULL;
25076|      0|        }
25077|      1|        D(fprintf(stderr, "%*c> _tmp_92[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
25078|      1|        Token * _literal;
25079|      1|        asdl_seq* k;
25080|      1|        if (
25081|      1|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25081:13): [True: 0, False: 1]
  ------------------
25082|      0|            &&
25083|      0|            (k = kwargs_rule(p))  // kwargs
  ------------------
  |  |  527|      0|#define kwargs_rule _PyPegen_kwargs_rule
  ------------------
  |  Branch (25083:13): [True: 0, False: 0]
  ------------------
25084|      1|        )
25085|      0|        {
25086|      0|            D(fprintf(stderr, "%*c+ _tmp_92[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
25087|      0|            _res = k;
25088|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25088:18): [True: 0, False: 0]
  |  Branch (25088:34): [True: 0, False: 0]
  |  Branch (25088:57): [True: 0, False: 0]
  ------------------
25089|      0|                p->error_indicator = 1;
25090|      0|                p->level--;
25091|      0|                return NULL;
25092|      0|            }
25093|      0|            goto done;
25094|      0|        }
25095|      1|        p->mark = _mark;
25096|      1|        D(fprintf(stderr, "%*c%s _tmp_92[%d-%d]: %s failed!\n", p->level, ' ',
25097|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwargs"));
25098|      1|    }
25099|      1|    _res = NULL;
25100|      1|  done:
25101|      1|    p->level--;
25102|      1|    return _res;
25103|      1|}
parser.c:eval_rule:
 1000|      1|{
 1001|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (1001:9): [True: 0, False: 1]
  |  Branch (1001:35): [True: 0, False: 1]
  ------------------
 1002|      0|        _Pypegen_stack_overflow(p);
 1003|      0|    }
 1004|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (1004:9): [True: 0, False: 1]
  ------------------
 1005|      0|        p->level--;
 1006|      0|        return NULL;
 1007|      0|    }
 1008|      1|    mod_ty _res = NULL;
 1009|      1|    int _mark = p->mark;
 1010|      1|    { // expressions NEWLINE* $
 1011|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (1011:13): [True: 0, False: 1]
  ------------------
 1012|      0|            p->level--;
 1013|      0|            return NULL;
 1014|      0|        }
 1015|      1|        D(fprintf(stderr, "%*c> eval[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expressions NEWLINE* $"));
 1016|      1|        asdl_seq * _loop0_1_var;
 1017|      1|        expr_ty a;
 1018|      1|        Token * endmarker_var;
 1019|      1|        if (
 1020|      1|            (a = expressions_rule(p))  // expressions
  ------------------
  |  |  459|      1|#define expressions_rule _PyPegen_expressions_rule
  ------------------
  |  Branch (1020:13): [True: 1, False: 0]
  ------------------
 1021|      1|            &&
 1022|      1|            (_loop0_1_var = _loop0_1_rule(p))  // NEWLINE*
  ------------------
  |  Branch (1022:13): [True: 1, False: 0]
  ------------------
 1023|      1|            &&
 1024|      1|            (endmarker_var = _PyPegen_expect_token(p, ENDMARKER))  // token='ENDMARKER'
  ------------------
  |  |   16|      1|#define ENDMARKER       0
  ------------------
  |  Branch (1024:13): [True: 1, False: 0]
  ------------------
 1025|      1|        )
 1026|      1|        {
 1027|      1|            D(fprintf(stderr, "%*c+ eval[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expressions NEWLINE* $"));
 1028|      1|            _res = _PyAST_Expression ( a , p -> arena );
 1029|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1029:18): [True: 0, False: 1]
  |  Branch (1029:34): [True: 0, False: 1]
  |  Branch (1029:57): [True: 0, False: 0]
  ------------------
 1030|      0|                p->error_indicator = 1;
 1031|      0|                p->level--;
 1032|      0|                return NULL;
 1033|      0|            }
 1034|      1|            goto done;
 1035|      1|        }
 1036|      0|        p->mark = _mark;
 1037|      0|        D(fprintf(stderr, "%*c%s eval[%d-%d]: %s failed!\n", p->level, ' ',
 1038|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expressions NEWLINE* $"));
 1039|      0|    }
 1040|      0|    _res = NULL;
 1041|      1|  done:
 1042|      1|    p->level--;
 1043|      1|    return _res;
 1044|      0|}
parser.c:_loop0_1_rule:
19732|      1|{
19733|      1|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (19733:9): [True: 0, False: 1]
  |  Branch (19733:35): [True: 0, False: 1]
  ------------------
19734|      0|        _Pypegen_stack_overflow(p);
19735|      0|    }
19736|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (19736:9): [True: 0, False: 1]
  ------------------
19737|      0|        p->level--;
19738|      0|        return NULL;
19739|      0|    }
19740|      1|    void *_res = NULL;
19741|      1|    int _mark = p->mark;
19742|      1|    void **_children = NULL;
19743|      1|    Py_ssize_t _children_capacity = 0;
19744|      1|    Py_ssize_t _n = 0;
19745|      1|    { // NEWLINE
19746|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (19746:13): [True: 0, False: 1]
  ------------------
19747|      0|            p->level--;
19748|      0|            return NULL;
19749|      0|        }
19750|      1|        D(fprintf(stderr, "%*c> _loop0_1[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
19751|      1|        Token * newline_var;
19752|      1|        while (
19753|      1|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|      1|#define NEWLINE         4
  ------------------
  |  Branch (19753:13): [True: 0, False: 1]
  ------------------
19754|      1|        )
19755|      0|        {
19756|      0|            _res = newline_var;
19757|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (19757:17): [True: 0, False: 0]
  ------------------
19758|      0|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (19758:21): [True: 0, False: 0]
  ------------------
19759|      0|                    p->error_indicator = 1;
19760|      0|                    PyErr_NoMemory();
19761|      0|                    PyMem_Free(_children);
19762|      0|                    p->level--;
19763|      0|                    return NULL;
19764|      0|                }
19765|      0|            }
19766|      0|            _children[_n++] = _res;
19767|      0|            _mark = p->mark;
19768|      0|        }
19769|      1|        p->mark = _mark;
19770|      1|        D(fprintf(stderr, "%*c%s _loop0_1[%d-%d]: %s failed!\n", p->level, ' ',
19771|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
19772|      1|    }
19773|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
19774|      1|    if (!_seq) {
  ------------------
  |  Branch (19774:9): [True: 0, False: 1]
  ------------------
19775|      0|        p->error_indicator = 1;
19776|      0|        PyErr_NoMemory();
19777|      0|        PyMem_Free(_children);
19778|      0|        p->level--;
19779|      0|        return NULL;
19780|      0|    }
19781|      1|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      0|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (19781:28): [True: 0, False: 1]
  ------------------
19782|      1|    PyMem_Free(_children);
19783|      1|    p->level--;
19784|      1|    return _seq;
19785|      1|}

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

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

parser.c:_PyPegen_stack_exhausted:
  118|    360|{
  119|    360|#if _Py_STACK_GROWS_DOWN
  120|    360|    if (_Py_get_machine_stack_pointer() > p->stack_soft_limit) {
  ------------------
  |  Branch (120:9): [True: 360, False: 0]
  ------------------
  121|       |#else
  122|       |    if (_Py_get_machine_stack_pointer() <= p->stack_soft_limit) {
  123|       |#endif
  124|    360|        assert(!_Py_ReachedRecursionLimitWithMargin(p->tstate, 1));
  ------------------
  |  Branch (124:9): [True: 360, False: 0]
  ------------------
  125|    360|        return 0;
  126|    360|    }
  127|      0|    return _Py_ReachedRecursionLimitWithMargin(p->tstate, 1);
  128|    360|}

_PyToken_OneChar:
   85|     13|{
   86|     13|    switch (c1) {
  ------------------
  |  Branch (86:13): [True: 13, False: 0]
  ------------------
   87|      0|    case '!': return EXCLAMATION;
  ------------------
  |  |   70|      0|#define EXCLAMATION     54
  ------------------
  |  Branch (87:5): [True: 0, False: 13]
  ------------------
   88|      0|    case '%': return PERCENT;
  ------------------
  |  |   40|      0|#define PERCENT         24
  ------------------
  |  Branch (88:5): [True: 0, False: 13]
  ------------------
   89|      0|    case '&': return AMPER;
  ------------------
  |  |   35|      0|#define AMPER           19
  ------------------
  |  Branch (89:5): [True: 0, False: 13]
  ------------------
   90|      2|    case '(': return LPAR;
  ------------------
  |  |   23|      2|#define LPAR            7
  ------------------
  |  Branch (90:5): [True: 2, False: 11]
  ------------------
   91|      2|    case ')': return RPAR;
  ------------------
  |  |   24|      2|#define RPAR            8
  ------------------
  |  Branch (91:5): [True: 2, False: 11]
  ------------------
   92|      0|    case '*': return STAR;
  ------------------
  |  |   32|      0|#define STAR            16
  ------------------
  |  Branch (92:5): [True: 0, False: 13]
  ------------------
   93|      0|    case '+': return PLUS;
  ------------------
  |  |   30|      0|#define PLUS            14
  ------------------
  |  Branch (93:5): [True: 0, False: 13]
  ------------------
   94|      8|    case ',': return COMMA;
  ------------------
  |  |   28|      8|#define COMMA           12
  ------------------
  |  Branch (94:5): [True: 8, False: 5]
  ------------------
   95|      0|    case '-': return MINUS;
  ------------------
  |  |   31|      0|#define MINUS           15
  ------------------
  |  Branch (95:5): [True: 0, False: 13]
  ------------------
   96|      0|    case '.': return DOT;
  ------------------
  |  |   39|      0|#define DOT             23
  ------------------
  |  Branch (96:5): [True: 0, False: 13]
  ------------------
   97|      0|    case '/': return SLASH;
  ------------------
  |  |   33|      0|#define SLASH           17
  ------------------
  |  Branch (97:5): [True: 0, False: 13]
  ------------------
   98|      1|    case ':': return COLON;
  ------------------
  |  |   27|      1|#define COLON           11
  ------------------
  |  Branch (98:5): [True: 1, False: 12]
  ------------------
   99|      0|    case ';': return SEMI;
  ------------------
  |  |   29|      0|#define SEMI            13
  ------------------
  |  Branch (99:5): [True: 0, False: 13]
  ------------------
  100|      0|    case '<': return LESS;
  ------------------
  |  |   36|      0|#define LESS            20
  ------------------
  |  Branch (100:5): [True: 0, False: 13]
  ------------------
  101|      0|    case '=': return EQUAL;
  ------------------
  |  |   38|      0|#define EQUAL           22
  ------------------
  |  Branch (101:5): [True: 0, False: 13]
  ------------------
  102|      0|    case '>': return GREATER;
  ------------------
  |  |   37|      0|#define GREATER         21
  ------------------
  |  Branch (102:5): [True: 0, False: 13]
  ------------------
  103|      0|    case '@': return AT;
  ------------------
  |  |   65|      0|#define AT              49
  ------------------
  |  Branch (103:5): [True: 0, False: 13]
  ------------------
  104|      0|    case '[': return LSQB;
  ------------------
  |  |   25|      0|#define LSQB            9
  ------------------
  |  Branch (104:5): [True: 0, False: 13]
  ------------------
  105|      0|    case ']': return RSQB;
  ------------------
  |  |   26|      0|#define RSQB            10
  ------------------
  |  Branch (105:5): [True: 0, False: 13]
  ------------------
  106|      0|    case '^': return CIRCUMFLEX;
  ------------------
  |  |   48|      0|#define CIRCUMFLEX      32
  ------------------
  |  Branch (106:5): [True: 0, False: 13]
  ------------------
  107|      0|    case '{': return LBRACE;
  ------------------
  |  |   41|      0|#define LBRACE          25
  ------------------
  |  Branch (107:5): [True: 0, False: 13]
  ------------------
  108|      0|    case '|': return VBAR;
  ------------------
  |  |   34|      0|#define VBAR            18
  ------------------
  |  Branch (108:5): [True: 0, False: 13]
  ------------------
  109|      0|    case '}': return RBRACE;
  ------------------
  |  |   42|      0|#define RBRACE          26
  ------------------
  |  Branch (109:5): [True: 0, False: 13]
  ------------------
  110|      0|    case '~': return TILDE;
  ------------------
  |  |   47|      0|#define TILDE           31
  ------------------
  |  Branch (110:5): [True: 0, False: 13]
  ------------------
  111|     13|    }
  112|      0|    return OP;
  ------------------
  |  |   71|      0|#define OP              55
  ------------------
  113|     13|}
_PyToken_TwoChars:
  117|     13|{
  118|     13|    switch (c1) {
  ------------------
  |  Branch (118:13): [True: 1, False: 12]
  ------------------
  119|      0|    case '!':
  ------------------
  |  Branch (119:5): [True: 0, False: 13]
  ------------------
  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: 13]
  ------------------
  125|      0|        switch (c2) {
  ------------------
  |  Branch (125:17): [True: 0, False: 0]
  ------------------
  126|      0|        case '=': return PERCENTEQUAL;
  ------------------
  |  |   56|      0|#define PERCENTEQUAL    40
  ------------------
  |  Branch (126:9): [True: 0, False: 0]
  ------------------
  127|      0|        }
  128|      0|        break;
  129|      0|    case '&':
  ------------------
  |  Branch (129:5): [True: 0, False: 13]
  ------------------
  130|      0|        switch (c2) {
  ------------------
  |  Branch (130:17): [True: 0, False: 0]
  ------------------
  131|      0|        case '=': return AMPEREQUAL;
  ------------------
  |  |   57|      0|#define AMPEREQUAL      41
  ------------------
  |  Branch (131:9): [True: 0, False: 0]
  ------------------
  132|      0|        }
  133|      0|        break;
  134|      0|    case '*':
  ------------------
  |  Branch (134:5): [True: 0, False: 13]
  ------------------
  135|      0|        switch (c2) {
  ------------------
  |  Branch (135:17): [True: 0, False: 0]
  ------------------
  136|      0|        case '*': return DOUBLESTAR;
  ------------------
  |  |   51|      0|#define DOUBLESTAR      35
  ------------------
  |  Branch (136:9): [True: 0, False: 0]
  ------------------
  137|      0|        case '=': return STAREQUAL;
  ------------------
  |  |   54|      0|#define STAREQUAL       38
  ------------------
  |  Branch (137:9): [True: 0, False: 0]
  ------------------
  138|      0|        }
  139|      0|        break;
  140|      0|    case '+':
  ------------------
  |  Branch (140:5): [True: 0, False: 13]
  ------------------
  141|      0|        switch (c2) {
  ------------------
  |  Branch (141:17): [True: 0, False: 0]
  ------------------
  142|      0|        case '=': return PLUSEQUAL;
  ------------------
  |  |   52|      0|#define PLUSEQUAL       36
  ------------------
  |  Branch (142:9): [True: 0, False: 0]
  ------------------
  143|      0|        }
  144|      0|        break;
  145|      0|    case '-':
  ------------------
  |  Branch (145:5): [True: 0, False: 13]
  ------------------
  146|      0|        switch (c2) {
  ------------------
  |  Branch (146:17): [True: 0, False: 0]
  ------------------
  147|      0|        case '=': return MINEQUAL;
  ------------------
  |  |   53|      0|#define MINEQUAL        37
  ------------------
  |  Branch (147:9): [True: 0, False: 0]
  ------------------
  148|      0|        case '>': return RARROW;
  ------------------
  |  |   67|      0|#define RARROW          51
  ------------------
  |  Branch (148:9): [True: 0, False: 0]
  ------------------
  149|      0|        }
  150|      0|        break;
  151|      0|    case '/':
  ------------------
  |  Branch (151:5): [True: 0, False: 13]
  ------------------
  152|      0|        switch (c2) {
  ------------------
  |  Branch (152:17): [True: 0, False: 0]
  ------------------
  153|      0|        case '/': return DOUBLESLASH;
  ------------------
  |  |   63|      0|#define DOUBLESLASH     47
  ------------------
  |  Branch (153:9): [True: 0, False: 0]
  ------------------
  154|      0|        case '=': return SLASHEQUAL;
  ------------------
  |  |   55|      0|#define SLASHEQUAL      39
  ------------------
  |  Branch (154:9): [True: 0, False: 0]
  ------------------
  155|      0|        }
  156|      0|        break;
  157|      1|    case ':':
  ------------------
  |  Branch (157:5): [True: 1, False: 12]
  ------------------
  158|      1|        switch (c2) {
  ------------------
  |  Branch (158:17): [True: 0, False: 1]
  ------------------
  159|      0|        case '=': return COLONEQUAL;
  ------------------
  |  |   69|      0|#define COLONEQUAL      53
  ------------------
  |  Branch (159:9): [True: 0, False: 1]
  ------------------
  160|      1|        }
  161|      1|        break;
  162|      1|    case '<':
  ------------------
  |  Branch (162:5): [True: 0, False: 13]
  ------------------
  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: 13]
  ------------------
  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: 13]
  ------------------
  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: 13]
  ------------------
  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: 13]
  ------------------
  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: 13]
  ------------------
  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|     13|    }
  196|     13|    return OP;
  ------------------
  |  |   71|     13|#define OP              55
  ------------------
  197|     13|}

_PyToken_TextView:
   55|     12|{
   56|     12|    assert(length != NULL);
  ------------------
  |  Branch (56:5): [True: 12, False: 0]
  ------------------
   57|     12|    if (token->span.start < 0) {
  ------------------
  |  Branch (57:9): [True: 0, False: 12]
  ------------------
   58|      0|        assert(token->span.start == -1 && token->span.end == -1);
  ------------------
  |  Branch (58:9): [True: 0, False: 0]
  |  Branch (58:9): [True: 0, False: 0]
  ------------------
   59|      0|        *length = 0;
   60|      0|        return "";
   61|      0|    }
   62|     12|    return _PyTok_SourceSpanView(&tok->source, token->span, length);
   63|     12|}
_PyTokenizer_SetContext:
   98|      1|{
   99|      1|    Py_XINCREF(filename);
  ------------------
  |  |  611|      1|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|      1|    Py_XINCREF(module);
  ------------------
  |  |  611|      1|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|      1|    Py_XSETREF(tok->filename, filename);
  ------------------
  |  |  576|      1|    do { \
  |  |  577|      1|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      1|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      1|        *_tmp_dst_ptr = (src); \
  |  |  580|      1|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  102|      1|    Py_XSETREF(tok->module, module);
  ------------------
  |  |  576|      1|    do { \
  |  |  577|      1|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      1|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      1|        *_tmp_dst_ptr = (src); \
  |  |  580|      1|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  103|      1|}
_PyTokenizer_SetOptions:
  108|      1|{
  109|      1|    tok->tok_extra_tokens = extra_tokens;
  110|      1|    tok->type_comments = type_comments;
  111|      1|}
_PyTokenizer_AllowIncompleteInput:
  121|      1|{
  122|      1|    tok->allow_incomplete_input = allow != 0;
  123|      1|}

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

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

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

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

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

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

_PyAST_Expression:
 3276|      1|{
 3277|      1|    mod_ty p;
 3278|      1|    if (!body) {
  ------------------
  |  Branch (3278:9): [True: 0, False: 1]
  ------------------
 3279|      0|        PyErr_SetString(PyExc_ValueError,
 3280|      0|                        "field 'body' is required for Expression");
 3281|      0|        return NULL;
 3282|      0|    }
 3283|      1|    p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
 3284|      1|    if (!p)
  ------------------
  |  Branch (3284:9): [True: 0, False: 1]
  ------------------
 3285|      0|        return NULL;
 3286|      1|    p->kind = Expression_kind;
 3287|      1|    p->v.Expression.body = body;
 3288|      1|    return p;
 3289|      1|}
_PyAST_Lambda:
 4084|      1|{
 4085|      1|    expr_ty p;
 4086|      1|    if (!args) {
  ------------------
  |  Branch (4086:9): [True: 0, False: 1]
  ------------------
 4087|      0|        PyErr_SetString(PyExc_ValueError,
 4088|      0|                        "field 'args' is required for Lambda");
 4089|      0|        return NULL;
 4090|      0|    }
 4091|      1|    if (!body) {
  ------------------
  |  Branch (4091:9): [True: 0, False: 1]
  ------------------
 4092|      0|        PyErr_SetString(PyExc_ValueError,
 4093|      0|                        "field 'body' is required for Lambda");
 4094|      0|        return NULL;
 4095|      0|    }
 4096|      1|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4097|      1|    if (!p)
  ------------------
  |  Branch (4097:9): [True: 0, False: 1]
  ------------------
 4098|      0|        return NULL;
 4099|      1|    p->kind = Lambda_kind;
 4100|      1|    p->v.Lambda.args = args;
 4101|      1|    p->v.Lambda.body = body;
 4102|      1|    p->lineno = lineno;
 4103|      1|    p->col_offset = col_offset;
 4104|      1|    p->end_lineno = end_lineno;
 4105|      1|    p->end_col_offset = end_col_offset;
 4106|      1|    return p;
 4107|      1|}
_PyAST_Call:
 4365|      2|{
 4366|      2|    expr_ty p;
 4367|      2|    if (!func) {
  ------------------
  |  Branch (4367:9): [True: 0, False: 2]
  ------------------
 4368|      0|        PyErr_SetString(PyExc_ValueError,
 4369|      0|                        "field 'func' is required for Call");
 4370|      0|        return NULL;
 4371|      0|    }
 4372|      2|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4373|      2|    if (!p)
  ------------------
  |  Branch (4373:9): [True: 0, False: 2]
  ------------------
 4374|      0|        return NULL;
 4375|      2|    p->kind = Call_kind;
 4376|      2|    p->v.Call.func = func;
 4377|      2|    p->v.Call.args = args;
 4378|      2|    p->v.Call.keywords = keywords;
 4379|      2|    p->lineno = lineno;
 4380|      2|    p->col_offset = col_offset;
 4381|      2|    p->end_lineno = end_lineno;
 4382|      2|    p->end_col_offset = end_col_offset;
 4383|      2|    return p;
 4384|      2|}
_PyAST_Name:
 4600|     11|{
 4601|     11|    expr_ty p;
 4602|     11|    if (!id) {
  ------------------
  |  Branch (4602:9): [True: 0, False: 11]
  ------------------
 4603|      0|        PyErr_SetString(PyExc_ValueError,
 4604|      0|                        "field 'id' is required for Name");
 4605|      0|        return NULL;
 4606|      0|    }
 4607|     11|    if (!ctx) {
  ------------------
  |  Branch (4607:9): [True: 0, False: 11]
  ------------------
 4608|      0|        PyErr_SetString(PyExc_ValueError,
 4609|      0|                        "field 'ctx' is required for Name");
 4610|      0|        return NULL;
 4611|      0|    }
 4612|     11|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4613|     11|    if (!p)
  ------------------
  |  Branch (4613:9): [True: 0, False: 11]
  ------------------
 4614|      0|        return NULL;
 4615|     11|    p->kind = Name_kind;
 4616|     11|    p->v.Name.id = id;
 4617|     11|    p->v.Name.ctx = ctx;
 4618|     11|    p->lineno = lineno;
 4619|     11|    p->col_offset = col_offset;
 4620|     11|    p->end_lineno = end_lineno;
 4621|     11|    p->end_col_offset = end_col_offset;
 4622|     11|    return p;
 4623|     11|}
_PyAST_Tuple:
 4651|      2|{
 4652|      2|    expr_ty p;
 4653|      2|    if (!ctx) {
  ------------------
  |  Branch (4653:9): [True: 0, False: 2]
  ------------------
 4654|      0|        PyErr_SetString(PyExc_ValueError,
 4655|      0|                        "field 'ctx' is required for Tuple");
 4656|      0|        return NULL;
 4657|      0|    }
 4658|      2|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4659|      2|    if (!p)
  ------------------
  |  Branch (4659:9): [True: 0, False: 2]
  ------------------
 4660|      0|        return NULL;
 4661|      2|    p->kind = Tuple_kind;
 4662|      2|    p->v.Tuple.elts = elts;
 4663|      2|    p->v.Tuple.ctx = ctx;
 4664|      2|    p->lineno = lineno;
 4665|      2|    p->col_offset = col_offset;
 4666|      2|    p->end_lineno = end_lineno;
 4667|      2|    p->end_col_offset = end_col_offset;
 4668|      2|    return p;
 4669|      2|}
_PyAST_arguments:
 4740|      1|{
 4741|      1|    arguments_ty p;
 4742|      1|    p = (arguments_ty)_PyArena_Malloc(arena, sizeof(*p));
 4743|      1|    if (!p)
  ------------------
  |  Branch (4743:9): [True: 0, False: 1]
  ------------------
 4744|      0|        return NULL;
 4745|      1|    p->posonlyargs = posonlyargs;
 4746|      1|    p->args = args;
 4747|      1|    p->vararg = vararg;
 4748|      1|    p->kwonlyargs = kwonlyargs;
 4749|      1|    p->kw_defaults = kw_defaults;
 4750|      1|    p->kwarg = kwarg;
 4751|      1|    p->defaults = defaults;
 4752|      1|    return p;
 4753|      1|}
_PyAST_arg:
 4758|     30|{
 4759|     30|    arg_ty p;
 4760|     30|    if (!arg) {
  ------------------
  |  Branch (4760:9): [True: 0, False: 30]
  ------------------
 4761|      0|        PyErr_SetString(PyExc_ValueError,
 4762|      0|                        "field 'arg' is required for arg");
 4763|      0|        return NULL;
 4764|      0|    }
 4765|     30|    p = (arg_ty)_PyArena_Malloc(arena, sizeof(*p));
 4766|     30|    if (!p)
  ------------------
  |  Branch (4766:9): [True: 0, False: 30]
  ------------------
 4767|      0|        return NULL;
 4768|     30|    p->arg = arg;
 4769|     30|    p->annotation = annotation;
 4770|     30|    p->type_comment = type_comment;
 4771|     30|    p->lineno = lineno;
 4772|     30|    p->col_offset = col_offset;
 4773|     30|    p->end_lineno = end_lineno;
 4774|     30|    p->end_col_offset = end_col_offset;
 4775|     30|    return p;
 4776|     30|}

_PyWarnings_InitState:
  140|      2|{
  141|      2|    WarningsState *st = &interp->warnings;
  142|       |
  143|      2|    if (st->filters == NULL) {
  ------------------
  |  Branch (143:9): [True: 2, False: 0]
  ------------------
  144|      2|        st->filters = init_filters(interp);
  145|      2|        if (st->filters == NULL) {
  ------------------
  |  Branch (145:13): [True: 0, False: 2]
  ------------------
  146|      0|            return -1;
  147|      0|        }
  148|      2|        PyUnstable_EnableTryIncRef(st->filters);
  149|      2|    }
  150|       |
  151|      2|    if (st->once_registry == NULL) {
  ------------------
  |  Branch (151:9): [True: 2, False: 0]
  ------------------
  152|      2|        st->once_registry = PyDict_New();
  153|      2|        if (st->once_registry == NULL) {
  ------------------
  |  Branch (153:13): [True: 0, False: 2]
  ------------------
  154|      0|            return -1;
  155|      0|        }
  156|      2|        PyUnstable_EnableTryIncRef(st->once_registry);
  157|      2|    }
  158|       |
  159|      2|    if (st->default_action == NULL) {
  ------------------
  |  Branch (159:9): [True: 2, False: 0]
  ------------------
  160|      2|        st->default_action = PyUnicode_FromString("default");
  161|      2|        if (st->default_action == NULL) {
  ------------------
  |  Branch (161:13): [True: 0, False: 2]
  ------------------
  162|      0|            return -1;
  163|      0|        }
  164|      2|        PyUnstable_EnableTryIncRef(st->default_action);
  165|      2|    }
  166|       |
  167|      2|    if (st->context == NULL) {
  ------------------
  |  Branch (167:9): [True: 2, False: 0]
  ------------------
  168|      2|        st->context = PyContextVar_New("_warnings_context", NULL);
  169|      2|        if (st->context == NULL) {
  ------------------
  |  Branch (169:13): [True: 0, False: 2]
  ------------------
  170|      0|            return -1;
  171|      0|        }
  172|      2|    }
  173|       |
  174|      2|    st->filters_version = 0;
  175|      2|    return 0;
  176|      2|}
_PyWarnings_Init:
 1806|      2|{
 1807|      2|    return PyModuleDef_Init(&warnings_module);
 1808|      2|}
_warnings.c:init_filters:
  105|      2|{
  106|       |#ifdef Py_DEBUG
  107|       |    /* Py_DEBUG builds show all warnings by default */
  108|       |    return PyList_New(0);
  109|       |#else
  110|       |    /* Other builds ignore a number of warning categories by default */
  111|      2|    PyObject *filters = PyList_New(5);
  112|      2|    if (filters == NULL) {
  ------------------
  |  Branch (112:9): [True: 0, False: 2]
  ------------------
  113|      0|        return NULL;
  114|      0|    }
  115|       |
  116|      2|    size_t pos = 0;  /* Post-incremented in each use. */
  117|      2|#define ADD(TYPE, ACTION, MODNAME) \
  118|      2|    PyList_SET_ITEM(filters, pos++, \
  119|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  120|      2|    ADD(PyExc_DeprecationWarning, default, "__main__");
  ------------------
  |  |  118|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  119|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  121|      2|    ADD(PyExc_DeprecationWarning, ignore, NULL);
  ------------------
  |  |  118|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  119|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  122|      2|    ADD(PyExc_PendingDeprecationWarning, ignore, NULL);
  ------------------
  |  |  118|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  119|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  123|      2|    ADD(PyExc_ImportWarning, ignore, NULL);
  ------------------
  |  |  118|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  119|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  124|      2|    ADD(PyExc_ResourceWarning, ignore, NULL);
  ------------------
  |  |  118|      2|    PyList_SET_ITEM(filters, pos++, \
  |  |  ------------------
  |  |  |  |   50|      2|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  119|      2|                    create_filter(TYPE, &_Py_ID(ACTION), MODNAME));
  ------------------
  125|      2|#undef ADD
  126|       |
  127|     12|    for (size_t x = 0; x < pos; x++) {
  ------------------
  |  Branch (127:24): [True: 10, False: 2]
  ------------------
  128|     20|        if (PyList_GET_ITEM(filters, x) == NULL) {
  ------------------
  |  |   40|     10|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     10|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (128:13): [True: 10, False: 0]
  |  Branch (128:13): [True: 0, False: 10]
  ------------------
  129|      0|            Py_DECREF(filters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  130|      0|            return NULL;
  131|      0|        }
  132|     10|    }
  133|      2|    return filters;
  134|      2|#endif
  135|      2|}
_warnings.c:create_filter:
   82|     10|{
   83|     10|    PyObject *modname_obj = NULL;
   84|       |
   85|       |    /* Default to "no module name" for initial filter set */
   86|     10|    if (modname != NULL) {
  ------------------
  |  Branch (86:9): [True: 2, False: 8]
  ------------------
   87|      2|        modname_obj = PyUnicode_InternFromString(modname);
   88|      2|        if (modname_obj == NULL) {
  ------------------
  |  Branch (88:13): [True: 0, False: 2]
  ------------------
   89|      0|            return NULL;
   90|      0|        }
   91|      8|    } else {
   92|      8|        modname_obj = Py_NewRef(Py_None);
  ------------------
  |  |  647|      8|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|      8|    }
   94|       |
   95|       |    /* This assumes the line number is zero for now. */
   96|     10|    PyObject *filter = PyTuple_Pack(5, action_str, Py_None,
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
   97|     10|                                    category, modname_obj, _PyLong_GetZero());
   98|     10|    Py_DECREF(modname_obj);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   99|     10|    return filter;
  100|     10|}
_warnings.c:warnings_get_state:
   65|      2|{
   66|      2|    return &interp->warnings;
   67|      2|}
_warnings.c:check_interp:
   34|      2|{
   35|      2|    if (interp == NULL) {
  ------------------
  |  Branch (35:9): [True: 0, False: 2]
  ------------------
   36|      0|        PyErr_SetString(PyExc_RuntimeError,
   37|      0|                        "warnings_get_state: could not identify "
   38|      0|                        "current interpreter");
   39|      0|        return 0;
   40|      0|    }
   41|      2|    return 1;
   42|      2|}
_warnings.c:get_current_interp:
   46|      2|{
   47|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
   48|      2|    return check_interp(interp) ? interp : NULL;
  ------------------
  |  Branch (48:12): [True: 2, False: 0]
  ------------------
   49|      2|}
_warnings.c:warnings_module_exec:
 1761|      2|{
 1762|      2|    PyInterpreterState *interp = get_current_interp();
 1763|      2|    if (interp == NULL) {
  ------------------
  |  Branch (1763:9): [True: 0, False: 2]
  ------------------
 1764|      0|        return -1;
 1765|      0|    }
 1766|      2|    WarningsState *st = warnings_get_state(interp);
 1767|      2|    if (st == NULL) {
  ------------------
  |  Branch (1767:9): [True: 0, False: 2]
  ------------------
 1768|      0|        return -1;
 1769|      0|    }
 1770|      2|    if (PyModule_AddObjectRef(module, "filters", st->filters) < 0) {
  ------------------
  |  Branch (1770:9): [True: 0, False: 2]
  ------------------
 1771|      0|        return -1;
 1772|      0|    }
 1773|      2|    if (PyModule_AddObjectRef(module, "_onceregistry", st->once_registry) < 0) {
  ------------------
  |  Branch (1773:9): [True: 0, False: 2]
  ------------------
 1774|      0|        return -1;
 1775|      0|    }
 1776|      2|    if (PyModule_AddObjectRef(module, "_defaultaction", st->default_action) < 0) {
  ------------------
  |  Branch (1776:9): [True: 0, False: 2]
  ------------------
 1777|      0|        return -1;
 1778|      0|    }
 1779|      2|    if (PyModule_AddObjectRef(module, "_warnings_context", st->context) < 0) {
  ------------------
  |  Branch (1779:9): [True: 0, False: 2]
  ------------------
 1780|      0|        return -1;
 1781|      0|    }
 1782|      2|    return 0;
 1783|      2|}

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

_PyAST_Preprocess:
  978|      1|{
  979|      1|    _PyASTPreprocessState state;
  980|      1|    memset(&state, 0, sizeof(_PyASTPreprocessState));
  981|      1|    state.filename = filename;
  982|      1|    state.module = module;
  983|      1|    state.optimize = optimize;
  984|      1|    state.ff_features = ff_features;
  985|      1|    state.syntax_check_only = syntax_check_only;
  986|      1|    state.enable_warnings = enable_warnings;
  987|      1|    if (_Py_CArray_Init(&state.cf_finally, sizeof(ControlFlowInFinallyContext), 20) < 0) {
  ------------------
  |  Branch (987:9): [True: 0, False: 1]
  ------------------
  988|      0|        return -1;
  989|      0|    }
  990|       |
  991|      1|    int ret = astfold_mod(mod, arena, &state);
  992|      1|    assert(ret || PyErr_Occurred());
  ------------------
  |  Branch (992:5): [True: 1, False: 0]
  |  Branch (992:5): [True: 0, False: 0]
  ------------------
  993|       |
  994|      1|    _Py_CArray_Fini(&state.cf_finally);
  995|      1|    return ret;
  996|      1|}
ast_preprocess.c:astfold_mod:
  498|      1|{
  499|      1|    switch (node_->kind) {
  ------------------
  |  Branch (499:13): [True: 1, False: 0]
  ------------------
  500|      0|    case Module_kind:
  ------------------
  |  Branch (500:5): [True: 0, False: 1]
  ------------------
  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: 1]
  ------------------
  504|      0|        CALL_SEQ(astfold_stmt, stmt, node_->v.Interactive.body);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  505|      0|        break;
  506|      1|    case Expression_kind:
  ------------------
  |  Branch (506:5): [True: 1, False: 0]
  ------------------
  507|      1|        CALL(astfold_expr, expr_ty, node_->v.Expression.body);
  ------------------
  |  |  409|      1|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1]
  |  |  ------------------
  |  |  410|      1|        return 0;
  ------------------
  508|      1|        break;
  509|       |    // The following top level nodes don't participate in constant folding
  510|      0|    case FunctionType_kind:
  ------------------
  |  Branch (510:5): [True: 0, False: 1]
  ------------------
  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|      1|    }
  515|      1|    return 1;
  516|      1|}
ast_preprocess.c:astfold_arguments:
  663|      1|{
  664|      1|    CALL_SEQ(astfold_arg, arg, node_->posonlyargs);
  ------------------
  |  |  416|      1|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      1|    Py_ssize_t i; \
  |  |  418|      1|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      1|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 1]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      1|}
  ------------------
  665|      1|    CALL_SEQ(astfold_arg, arg, node_->args);
  ------------------
  |  |  416|      1|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      1|    Py_ssize_t i; \
  |  |  418|      1|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      6|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      6|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 5, False: 1]
  |  |  ------------------
  |  |  420|      5|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      5|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      5|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      5|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 5, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 5]
  |  |  ------------------
  |  |  422|      5|            return 0; \
  |  |  423|      5|    } \
  |  |  424|      1|}
  ------------------
  666|      1|    CALL_OPT(astfold_arg, arg_ty, node_->vararg);
  ------------------
  |  |  413|      1|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 1]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      1|        return 0;
  ------------------
  667|      1|    CALL_SEQ(astfold_arg, arg, node_->kwonlyargs);
  ------------------
  |  |  416|      1|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      1|    Py_ssize_t i; \
  |  |  418|      1|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      1|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 1]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      1|}
  ------------------
  668|      1|    CALL_SEQ(astfold_expr, expr, node_->kw_defaults);
  ------------------
  |  |  416|      1|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      1|    Py_ssize_t i; \
  |  |  418|      1|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      1|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 1]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      1|}
  ------------------
  669|      1|    CALL_OPT(astfold_arg, arg_ty, node_->kwarg);
  ------------------
  |  |  413|      1|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 1]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      1|        return 0;
  ------------------
  670|      1|    CALL_SEQ(astfold_expr, expr, node_->defaults);
  ------------------
  |  |  416|      1|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      1|    Py_ssize_t i; \
  |  |  418|      1|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      1|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 1]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      1|}
  ------------------
  671|      1|    return 1;
  672|      1|}
ast_preprocess.c:astfold_arg:
  676|      5|{
  677|      5|    if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  147|      5|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (677:9): [True: 5, False: 0]
  ------------------
  678|      5|        CALL_OPT(astfold_expr, expr_ty, node_->annotation);
  ------------------
  |  |  413|      5|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 5]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      5|        return 0;
  ------------------
  679|      5|    }
  680|      5|    return 1;
  681|      5|}
ast_preprocess.c:astfold_expr:
  520|      9|{
  521|      9|    ENTER_RECURSIVE();
  ------------------
  |  |   29|      9|#define ENTER_RECURSIVE() \
  |  |   30|      9|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 9]
  |  |  ------------------
  |  |   31|      0|    return 0; \
  |  |   32|      0|}
  ------------------
  522|      9|    switch (node_->kind) {
  ------------------
  |  Branch (522:13): [True: 9, False: 0]
  ------------------
  523|      0|    case BoolOp_kind:
  ------------------
  |  Branch (523:5): [True: 0, False: 9]
  ------------------
  524|      0|        CALL_SEQ(astfold_expr, expr, node_->v.BoolOp.values);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  525|      0|        break;
  526|      0|    case BinOp_kind:
  ------------------
  |  Branch (526:5): [True: 0, False: 9]
  ------------------
  527|      0|        CALL(astfold_expr, expr_ty, node_->v.BinOp.left);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  528|      0|        CALL(astfold_expr, expr_ty, node_->v.BinOp.right);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  529|      0|        CALL(fold_binop, expr_ty, node_);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  530|      0|        break;
  531|      0|    case UnaryOp_kind:
  ------------------
  |  Branch (531:5): [True: 0, False: 9]
  ------------------
  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|      1|    case Lambda_kind:
  ------------------
  |  Branch (534:5): [True: 1, False: 8]
  ------------------
  535|      1|        CALL(astfold_arguments, arguments_ty, node_->v.Lambda.args);
  ------------------
  |  |  409|      1|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1]
  |  |  ------------------
  |  |  410|      1|        return 0;
  ------------------
  536|      1|        CALL(astfold_expr, expr_ty, node_->v.Lambda.body);
  ------------------
  |  |  409|      1|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1]
  |  |  ------------------
  |  |  410|      1|        return 0;
  ------------------
  537|      1|        break;
  538|      0|    case IfExp_kind:
  ------------------
  |  Branch (538:5): [True: 0, False: 9]
  ------------------
  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: 9]
  ------------------
  544|      0|        CALL_SEQ(astfold_expr, expr, node_->v.Dict.keys);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  545|      0|        CALL_SEQ(astfold_expr, expr, node_->v.Dict.values);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  546|      0|        break;
  547|      0|    case Set_kind:
  ------------------
  |  Branch (547:5): [True: 0, False: 9]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  549|      0|        break;
  550|      0|    case ListComp_kind:
  ------------------
  |  Branch (550:5): [True: 0, False: 9]
  ------------------
  551|      0|        CALL(astfold_expr, expr_ty, node_->v.ListComp.elt);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  552|      0|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.ListComp.generators);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  553|      0|        break;
  554|      0|    case SetComp_kind:
  ------------------
  |  Branch (554:5): [True: 0, False: 9]
  ------------------
  555|      0|        CALL(astfold_expr, expr_ty, node_->v.SetComp.elt);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  556|      0|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.SetComp.generators);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  557|      0|        break;
  558|      0|    case DictComp_kind:
  ------------------
  |  Branch (558:5): [True: 0, False: 9]
  ------------------
  559|      0|        CALL(astfold_expr, expr_ty, node_->v.DictComp.key);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  560|      0|        if (node_->v.DictComp.value != NULL){
  ------------------
  |  Branch (560:13): [True: 0, False: 0]
  ------------------
  561|      0|            CALL(astfold_expr, expr_ty, node_->v.DictComp.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  562|      0|        }
  563|      0|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.DictComp.generators);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  564|      0|        break;
  565|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (565:5): [True: 0, False: 9]
  ------------------
  566|      0|        CALL(astfold_expr, expr_ty, node_->v.GeneratorExp.elt);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  567|      0|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.GeneratorExp.generators);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  568|      0|        break;
  569|      0|    case Await_kind:
  ------------------
  |  Branch (569:5): [True: 0, False: 9]
  ------------------
  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: 9]
  ------------------
  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: 9]
  ------------------
  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: 9]
  ------------------
  579|      0|        CALL(astfold_expr, expr_ty, node_->v.Compare.left);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  580|      0|        CALL_SEQ(astfold_expr, expr, node_->v.Compare.comparators);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  581|      0|        break;
  582|      1|    case Call_kind:
  ------------------
  |  Branch (582:5): [True: 1, False: 8]
  ------------------
  583|      1|        CALL(astfold_expr, expr_ty, node_->v.Call.func);
  ------------------
  |  |  409|      1|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1]
  |  |  ------------------
  |  |  410|      1|        return 0;
  ------------------
  584|      1|        CALL_SEQ(astfold_expr, expr, node_->v.Call.args);
  ------------------
  |  |  416|      1|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      1|    Py_ssize_t i; \
  |  |  418|      1|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      3|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      3|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2, False: 1]
  |  |  ------------------
  |  |  420|      2|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      2|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      2|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2]
  |  |  ------------------
  |  |  422|      2|            return 0; \
  |  |  423|      2|    } \
  |  |  424|      1|}
  ------------------
  585|      1|        CALL_SEQ(astfold_keyword, keyword, node_->v.Call.keywords);
  ------------------
  |  |  416|      1|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      1|    Py_ssize_t i; \
  |  |  418|      1|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      1|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 1]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      1|}
  ------------------
  586|      1|        break;
  587|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (587:5): [True: 0, False: 9]
  ------------------
  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: 9]
  ------------------
  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: 9]
  ------------------
  596|      0|        CALL_SEQ(astfold_expr, expr, node_->v.JoinedStr.values);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  597|      0|        break;
  598|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (598:5): [True: 0, False: 9]
  ------------------
  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))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  600|      0|        break;
  601|      0|    case Attribute_kind:
  ------------------
  |  Branch (601:5): [True: 0, False: 9]
  ------------------
  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: 9]
  ------------------
  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: 9]
  ------------------
  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: 9]
  ------------------
  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: 9]
  ------------------
  617|      0|        CALL_SEQ(astfold_expr, expr, node_->v.List.elts);
  ------------------
  |  |  416|      0|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      0|    Py_ssize_t i; \
  |  |  418|      0|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      0|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      0|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  420|      0|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      0|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 0, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  422|      0|            return 0; \
  |  |  423|      0|    } \
  |  |  424|      0|}
  ------------------
  618|      0|        break;
  619|      1|    case Tuple_kind:
  ------------------
  |  Branch (619:5): [True: 1, False: 8]
  ------------------
  620|      1|        CALL_SEQ(astfold_expr, expr, node_->v.Tuple.elts);
  ------------------
  |  |  416|      1|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      1|    Py_ssize_t i; \
  |  |  418|      1|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      5|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      5|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|     10|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 4, False: 1]
  |  |  ------------------
  |  |  420|      4|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      4|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 4, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 4]
  |  |  ------------------
  |  |  422|      4|            return 0; \
  |  |  423|      4|    } \
  |  |  424|      1|}
  ------------------
  621|      1|        break;
  622|      6|    case Name_kind:
  ------------------
  |  Branch (622:5): [True: 6, False: 3]
  ------------------
  623|      6|        if (state->syntax_check_only) {
  ------------------
  |  Branch (623:13): [True: 0, False: 6]
  ------------------
  624|      0|            break;
  625|      0|        }
  626|      6|        if (node_->v.Name.ctx == Load &&
  ------------------
  |  Branch (626:13): [True: 6, False: 0]
  ------------------
  627|      6|                _PyUnicode_EqualToASCIIString(node_->v.Name.id, "__debug__")) {
  ------------------
  |  Branch (627:17): [True: 0, False: 6]
  ------------------
  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|      6|        break;
  632|      6|    case NamedExpr_kind:
  ------------------
  |  Branch (632:5): [True: 0, False: 9]
  ------------------
  633|      0|        CALL(astfold_expr, expr_ty, node_->v.NamedExpr.value);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  634|      0|        break;
  635|      0|    case Constant_kind:
  ------------------
  |  Branch (635:5): [True: 0, False: 9]
  ------------------
  636|       |        // Already a constant, nothing further to do
  637|      0|        break;
  638|       |    // No default case, so the compiler will emit a warning if new expression
  639|       |    // kinds are added without being handled here
  640|      9|    }
  641|      9|    LEAVE_RECURSIVE();
  ------------------
  |  |   34|      9|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  642|      9|    return 1;
  643|      9|}

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

_Py_HashRandomization_Init:
  554|      2|{
  555|      2|    void *secret = &_Py_HashSecret;
  556|      2|    Py_ssize_t secret_size = sizeof(_Py_HashSecret_t);
  557|       |
  558|      2|    if (_Py_HashSecret_Initialized) {
  ------------------
  |  Branch (558:9): [True: 0, False: 2]
  ------------------
  559|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  560|      0|    }
  561|      2|    _Py_HashSecret_Initialized = 1;
  562|       |
  563|      2|    if (config->use_hash_seed) {
  ------------------
  |  Branch (563:9): [True: 0, False: 2]
  ------------------
  564|      0|        if (config->hash_seed == 0) {
  ------------------
  |  Branch (564:13): [True: 0, False: 0]
  ------------------
  565|       |            /* disable the randomized hash */
  566|      0|            memset(secret, 0, secret_size);
  567|      0|        }
  568|      0|        else {
  569|       |            /* use the specified hash seed */
  570|      0|            lcg_urandom(config->hash_seed, secret, secret_size);
  571|      0|        }
  572|      0|    }
  573|      2|    else {
  574|       |        /* use a random hash seed */
  575|      2|        int res;
  576|       |
  577|       |        /* _PyRandom_Init() is called very early in the Python initialization
  578|       |           and so exceptions cannot be used (use raise=0).
  579|       |
  580|       |           _PyRandom_Init() must not block Python initialization: call
  581|       |           pyurandom() is non-blocking mode (blocking=0): see the PEP 524. */
  582|      2|        res = pyurandom(secret, secret_size, 0, 0);
  583|      2|        if (res < 0) {
  ------------------
  |  Branch (583:13): [True: 0, False: 2]
  ------------------
  584|      0|            return _PyStatus_ERR("failed to get random numbers "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  585|      0|                                 "to initialize Python");
  586|      0|        }
  587|      2|    }
  588|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  589|      2|}
bootstrap_hash.c:pyurandom:
  479|      2|{
  480|      2|#if defined(PY_GETRANDOM) || defined(PY_GETENTROPY)
  481|      2|    int res;
  482|      2|#endif
  483|       |
  484|      2|    if (size < 0) {
  ------------------
  |  Branch (484:9): [True: 0, False: 2]
  ------------------
  485|      0|        if (raise) {
  ------------------
  |  Branch (485:13): [True: 0, False: 0]
  ------------------
  486|      0|            PyErr_Format(PyExc_ValueError,
  487|      0|                         "negative argument not allowed");
  488|      0|        }
  489|      0|        return -1;
  490|      0|    }
  491|       |
  492|      2|    if (size == 0) {
  ------------------
  |  Branch (492:9): [True: 0, False: 2]
  ------------------
  493|      0|        return 0;
  494|      0|    }
  495|       |
  496|       |#ifdef MS_WINDOWS
  497|       |    return win32_urandom((unsigned char *)buffer, size, raise);
  498|       |#else
  499|       |
  500|      2|#if defined(PY_GETRANDOM) || defined(PY_GETENTROPY)
  501|      2|    if (HAVE_GETENTRYPY_GETRANDOM_RUNTIME) {
  ------------------
  |  |   43|      2|#  define HAVE_GETENTRYPY_GETRANDOM_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (43:45): [True: 2, Folded]
  |  |  ------------------
  ------------------
  502|      2|#ifdef PY_GETRANDOM
  503|      2|        res = py_getrandom(buffer, size, blocking, raise);
  504|       |#else
  505|       |        res = py_getentropy(buffer, size, raise);
  506|       |#endif
  507|      2|        if (res < 0) {
  ------------------
  |  Branch (507:13): [True: 0, False: 2]
  ------------------
  508|      0|            return -1;
  509|      0|        }
  510|      2|        if (res == 1) {
  ------------------
  |  Branch (510:13): [True: 2, False: 0]
  ------------------
  511|      2|            return 0;
  512|      2|        }
  513|       |        /* getrandom() or getentropy() function is not available: failed with
  514|       |           ENOSYS or EPERM. Fall back on reading from /dev/urandom. */
  515|      2|        } /* end of availability block */
  516|      0|#endif
  517|       |
  518|      0|    return dev_urandom(buffer, size, raise);
  519|      2|#endif
  520|      2|}
bootstrap_hash.c:py_getrandom:
   96|      2|{
   97|       |    /* Is getrandom() supported by the running kernel? Set to 0 if getrandom()
   98|       |       failed with ENOSYS or EPERM. Need Linux kernel 3.17 or newer, or Solaris
   99|       |       11.3 or newer */
  100|      2|    static int getrandom_works = 1;
  101|      2|    int flags;
  102|      2|    char *dest;
  103|      2|    long n;
  104|       |
  105|      2|    if (!getrandom_works) {
  ------------------
  |  Branch (105:9): [True: 0, False: 2]
  ------------------
  106|      0|        return 0;
  107|      0|    }
  108|       |
  109|      2|    flags = blocking ? 0 : GRND_NONBLOCK;
  ------------------
  |  Branch (109:13): [True: 0, False: 2]
  ------------------
  110|      2|    dest = buffer;
  111|      4|    while (0 < size) {
  ------------------
  |  Branch (111:12): [True: 2, False: 2]
  ------------------
  112|       |#if defined(__sun) && defined(__SVR4)
  113|       |        /* Issue #26735: On Solaris, getrandom() is limited to returning up
  114|       |           to 1024 bytes. Call it multiple times if more bytes are
  115|       |           requested. */
  116|       |        n = Py_MIN(size, 1024);
  117|       |#else
  118|      2|        n = Py_MIN(size, LONG_MAX);
  ------------------
  |  |  127|      2|       __extension__ \
  |  |  128|      2|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      2|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      2|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  119|      2|#endif
  120|       |
  121|      2|        errno = 0;
  122|      2|#ifdef HAVE_GETRANDOM
  123|      2|        if (raise) {
  ------------------
  |  Branch (123:13): [True: 0, False: 2]
  ------------------
  124|      0|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|      0|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|      0|                        PyThreadState *_save; \
  |  |  119|      0|                        _save = PyEval_SaveThread();
  ------------------
  125|      0|            n = getrandom(dest, n, flags);
  126|      0|            Py_END_ALLOW_THREADS
  ------------------
  |  |  122|      0|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|      0|                 }
  ------------------
  127|      0|        }
  128|      2|        else {
  129|      2|            n = getrandom(dest, n, flags);
  130|      2|        }
  131|       |#else
  132|       |        if (raise) {
  133|       |            Py_BEGIN_ALLOW_THREADS
  134|       |            n = syscall(SYS_getrandom, dest, n, flags);
  135|       |            Py_END_ALLOW_THREADS
  136|       |        }
  137|       |        else {
  138|       |            n = syscall(SYS_getrandom, dest, n, flags);
  139|       |        }
  140|       |#  ifdef _Py_MEMORY_SANITIZER
  141|       |        if (n > 0) {
  142|       |             __msan_unpoison(dest, n);
  143|       |        }
  144|       |#  endif
  145|       |#endif
  146|       |
  147|      2|        if (n < 0) {
  ------------------
  |  Branch (147:13): [True: 0, False: 2]
  ------------------
  148|       |            /* ENOSYS: the syscall is not supported by the kernel.
  149|       |               EPERM: the syscall is blocked by a security policy (ex: SECCOMP)
  150|       |               or something else. */
  151|      0|            if (errno == ENOSYS || errno == EPERM) {
  ------------------
  |  Branch (151:17): [True: 0, False: 0]
  |  Branch (151:36): [True: 0, False: 0]
  ------------------
  152|      0|                getrandom_works = 0;
  153|      0|                return 0;
  154|      0|            }
  155|       |
  156|       |            /* getrandom(GRND_NONBLOCK) fails with EAGAIN if the system urandom
  157|       |               is not initialized yet. For _PyRandom_Init(), we ignore the
  158|       |               error and fall back on reading /dev/urandom which never blocks,
  159|       |               even if the system urandom is not initialized yet:
  160|       |               see the PEP 524. */
  161|      0|            if (errno == EAGAIN && !raise && !blocking) {
  ------------------
  |  Branch (161:17): [True: 0, False: 0]
  |  Branch (161:36): [True: 0, False: 0]
  |  Branch (161:46): [True: 0, False: 0]
  ------------------
  162|      0|                return 0;
  163|      0|            }
  164|       |
  165|      0|            if (errno == EINTR) {
  ------------------
  |  Branch (165:17): [True: 0, False: 0]
  ------------------
  166|      0|                if (raise) {
  ------------------
  |  Branch (166:21): [True: 0, False: 0]
  ------------------
  167|      0|                    if (PyErr_CheckSignals()) {
  ------------------
  |  Branch (167:25): [True: 0, False: 0]
  ------------------
  168|      0|                        return -1;
  169|      0|                    }
  170|      0|                }
  171|       |
  172|       |                /* retry getrandom() if it was interrupted by a signal */
  173|      0|                continue;
  174|      0|            }
  175|       |
  176|      0|            if (raise) {
  ------------------
  |  Branch (176:17): [True: 0, False: 0]
  ------------------
  177|      0|                PyErr_SetFromErrno(PyExc_OSError);
  178|      0|            }
  179|      0|            return -1;
  180|      0|        }
  181|       |
  182|      2|        dest += n;
  183|      2|        size -= n;
  184|      2|    }
  185|      2|    return 1;
  186|      2|}

_Py_ReachedRecursionLimitWithMargin:
   35|  3.00k|{
   36|  3.00k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
   37|  3.00k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
   38|  3.00k|#if _Py_STACK_GROWS_DOWN
   39|  3.00k|    if (here_addr > _tstate->c_stack_soft_limit + margin_count * _PyOS_STACK_MARGIN_BYTES) {
  ------------------
  |  |   57|  3.00k|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|  3.00k|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|  3.00k|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (39:9): [True: 3.00k, False: 0]
  ------------------
   40|       |#else
   41|       |    if (here_addr <= _tstate->c_stack_soft_limit - margin_count * _PyOS_STACK_MARGIN_BYTES) {
   42|       |#endif
   43|  3.00k|        return 0;
   44|  3.00k|    }
   45|      0|    if (_tstate->c_stack_hard_limit == 0) {
  ------------------
  |  Branch (45:9): [True: 0, False: 0]
  ------------------
   46|      0|        _Py_InitializeRecursionLimits(tstate);
   47|      0|    }
   48|      0|#if _Py_STACK_GROWS_DOWN
   49|      0|    return here_addr <= _tstate->c_stack_soft_limit + margin_count * _PyOS_STACK_MARGIN_BYTES &&
  ------------------
  |  |   57|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|      0|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (49:12): [True: 0, False: 0]
  ------------------
   50|      0|        here_addr >= _tstate->c_stack_soft_limit - 2 * _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   57|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|      0|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (50:9): [True: 0, False: 0]
  ------------------
   51|       |#else
   52|       |    return here_addr > _tstate->c_stack_soft_limit - margin_count * _PyOS_STACK_MARGIN_BYTES &&
   53|       |        here_addr <= _tstate->c_stack_soft_limit + 2 * _PyOS_STACK_MARGIN_BYTES;
   54|       |#endif
   55|  3.00k|}
_Py_InitializeRecursionLimits:
  181|      2|{
  182|      2|    uintptr_t base, top;
  183|      2|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  184|      2|    hardware_stack_limits(&base, &top, here_addr);
  185|      2|    assert(top != 0);
  ------------------
  |  Branch (185:5): [True: 2, False: 0]
  ------------------
  186|       |
  187|      2|    tstate_set_stack(tstate, base, top);
  188|      2|    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  189|      2|    ts->c_stack_init_base = base;
  190|      2|    ts->c_stack_init_top = top;
  191|      2|}
PyEval_EvalCode:
  613|    125|{
  614|    125|    PyThreadState *tstate = _PyThreadState_GET();
  615|    125|    if (locals == NULL) {
  ------------------
  |  Branch (615:9): [True: 0, False: 125]
  ------------------
  616|      0|        locals = globals;
  617|      0|    }
  618|    125|    PyObject *builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  619|    125|    if (builtins == NULL) {
  ------------------
  |  Branch (619:9): [True: 0, False: 125]
  ------------------
  620|      0|        return NULL;
  621|      0|    }
  622|    125|    PyFrameConstructor desc = {
  623|    125|        .fc_globals = globals,
  624|    125|        .fc_builtins = builtins,
  625|    125|        .fc_name = ((PyCodeObject *)co)->co_name,
  626|    125|        .fc_qualname = ((PyCodeObject *)co)->co_name,
  627|    125|        .fc_code = co,
  628|    125|        .fc_defaults = NULL,
  629|    125|        .fc_kwdefaults = NULL,
  630|    125|        .fc_closure = NULL
  631|    125|    };
  632|    125|    PyFunctionObject *func = _PyFunction_FromConstructor(&desc);
  633|    125|    _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  408|    125|#  define _Py_DECREF_BUILTINS Py_DECREF
  |  |  ------------------
  |  |  |  |   80|    125|    do { \
  |  |  |  |   81|    125|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|    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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|    125|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|    125|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|    125|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 125]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|    125|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 125]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    125|    if (func == NULL) {
  ------------------
  |  Branch (634:9): [True: 0, False: 125]
  ------------------
  635|      0|        return NULL;
  636|      0|    }
  637|    125|    EVAL_CALL_STAT_INC(EVAL_CALL_LEGACY);
  ------------------
  |  |   79|    125|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  638|    125|    PyObject *res = _PyEval_Vector(tstate, func, locals, NULL, 0, NULL);
  639|       |    Py_DECREF(func);
  ------------------
  |  |   80|    125|    do { \
  |  |   81|    125|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|    125|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|    125|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|    125|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 125, False: 0]
  |  |  ------------------
  |  |   88|    125|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|    125|    do { \
  |  |  |  |  110|    125|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|    125|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 125]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|    125|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 125]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|    125|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|    125|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|    125|            (*dealloc)(op); \
  |  |   91|    125|        } \
  |  |   92|    125|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 125]
  |  |  ------------------
  ------------------
  640|    125|    return res;
  641|    125|}
_Py_VectorCall_StackRefSteal:
  672|  12.0k|{
  673|  12.0k|    PyObject *res;
  674|  12.0k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  12.0k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  12.0k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  675|  12.0k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  12.0k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 12.0k]
  |  |  ------------------
  ------------------
  676|      0|        res = NULL;
  677|      0|        goto cleanup;
  678|      0|    }
  679|  12.0k|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  680|  12.0k|    PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  681|  12.0k|    int positional_args = total_args;
  682|  12.0k|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (682:9): [True: 1.11k, False: 10.9k]
  ------------------
  683|  1.11k|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|  1.11k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  684|  1.11k|    }
  685|  12.0k|    res = PyObject_Vectorcall(
  686|  12.0k|        callable_o, args_o,
  687|  12.0k|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  12.0k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  12.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  688|  12.0k|        kwnames_o);
  689|  12.0k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  12.0k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  690|  12.0k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (690:5): [True: 12.0k, False: 0]
  ------------------
  691|  12.0k|cleanup:
  692|  12.0k|    PyStackRef_XCLOSE(kwnames);
  693|       |    // arguments is a pointer into the GC visible stack,
  694|       |    // so we must NULL out values as we clear them.
  695|  19.7k|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (695:32): [True: 7.73k, False: 12.0k]
  ------------------
  696|  7.73k|        _PyStackRef tmp = arguments[i];
  697|  7.73k|        arguments[i] = PyStackRef_NULL;
  698|  7.73k|        PyStackRef_CLOSE(tmp);
  699|  7.73k|    }
  700|  12.0k|    PyStackRef_CLOSE(callable);
  701|  12.0k|    return res;
  702|  12.0k|}
_Py_VectorCallInstrumentation_StackRefSteal:
  714|  3.42k|{
  715|  3.42k|    PyObject* res;
  716|  3.42k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  3.42k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  3.42k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  717|  3.42k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  3.42k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 3.42k]
  |  |  ------------------
  ------------------
  718|      0|        res = NULL;
  719|      0|        goto cleanup;
  720|      0|    }
  721|  3.42k|    PyObject* callable_o = PyStackRef_AsPyObjectBorrow(callable);
  722|  3.42k|    PyObject* kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  723|  3.42k|    int positional_args = total_args;
  724|  3.42k|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (724:9): [True: 114, False: 3.30k]
  ------------------
  725|    114|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|    114|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  726|    114|    }
  727|  3.42k|    res = PyObject_Vectorcall(
  728|  3.42k|        callable_o, args_o,
  729|  3.42k|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  3.42k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  3.42k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  730|  3.42k|        kwnames_o);
  731|  3.42k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  3.42k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  732|  3.42k|    if (call_instrumentation) {
  ------------------
  |  Branch (732:9): [True: 0, False: 3.42k]
  ------------------
  733|      0|        PyObject* arg = total_args == 0 ?
  ------------------
  |  Branch (733:25): [True: 0, False: 0]
  ------------------
  734|      0|            &_PyInstrumentation_MISSING : PyStackRef_AsPyObjectBorrow(arguments[0]);
  735|      0|        if (res == NULL) {
  ------------------
  |  Branch (735:13): [True: 0, False: 0]
  ------------------
  736|      0|            _Py_call_instrumentation_exc2(
  737|      0|                tstate, PY_MONITORING_EVENT_C_RAISE,
  ------------------
  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  ------------------
  738|      0|                frame, this_instr, callable_o, arg);
  739|      0|        }
  740|      0|        else {
  741|      0|            int err = _Py_call_instrumentation_2args(
  742|      0|                tstate, PY_MONITORING_EVENT_C_RETURN,
  ------------------
  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  ------------------
  743|      0|                frame, this_instr, callable_o, arg);
  744|      0|            if (err < 0) {
  ------------------
  |  Branch (744:17): [True: 0, False: 0]
  ------------------
  745|      0|                Py_CLEAR(res);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  746|      0|            }
  747|      0|        }
  748|      0|    }
  749|  3.42k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (749:5): [True: 3.42k, False: 0]
  ------------------
  750|  3.42k|cleanup:
  751|  3.42k|    PyStackRef_XCLOSE(kwnames);
  752|       |    // arguments is a pointer into the GC visible stack,
  753|       |    // so we must NULL out values as we clear them.
  754|  10.4k|    for (int i = total_args - 1; i >= 0; i--) {
  ------------------
  |  Branch (754:34): [True: 7.00k, False: 3.42k]
  ------------------
  755|  7.00k|        _PyStackRef tmp = arguments[i];
  756|  7.00k|        arguments[i] = PyStackRef_NULL;
  757|  7.00k|        PyStackRef_CLOSE(tmp);
  758|  7.00k|    }
  759|  3.42k|    PyStackRef_CLOSE(callable);
  760|  3.42k|    return res;
  761|  3.42k|}
_Py_BuiltinCallFast_StackRef:
  768|   207k|{
  769|   207k|    PyObject *res;
  770|   207k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|   207k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|   207k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  771|   207k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|   207k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 207k]
  |  |  ------------------
  ------------------
  772|      0|        return NULL;
  773|      0|    }
  774|   207k|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  775|   207k|    PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  ------------------
  |  |   43|   207k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|   207k|    res = _PyCFunctionFast_CAST(cfunc)(
  ------------------
  |  |   58|   207k|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  ------------------
  |  |  |  |   47|   207k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  777|   207k|        PyCFunction_GET_SELF(callable_o),
  ------------------
  |  |   52|   207k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  778|   207k|        args_o,
  779|   207k|        total_args
  780|   207k|    );
  781|   207k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|   207k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  782|   207k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (782:5): [True: 207k, False: 0]
  ------------------
  783|   207k|    return res;
  784|   207k|}
_Py_BuiltinCallFastWithKeywords_StackRef:
  791|  3.20k|{
  792|  3.20k|    PyObject *res;
  793|  3.20k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  3.20k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  3.20k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  794|  3.20k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  3.20k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 3.20k]
  |  |  ------------------
  ------------------
  795|      0|        return NULL;
  796|      0|    }
  797|  3.20k|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  798|  3.20k|    PyCFunctionFastWithKeywords cfunc =
  799|  3.20k|        _PyCFunctionFastWithKeywords_CAST(PyCFunction_GET_FUNCTION(callable_o));
  ------------------
  |  |   62|  3.20k|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  ------------------
  |  |  |  |   47|  3.20k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  800|  3.20k|    res = cfunc(PyCFunction_GET_SELF(callable_o), args_o, total_args, NULL);
  ------------------
  |  |   52|  3.20k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  3.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|  3.20k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  3.20k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  802|  3.20k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (802:5): [True: 3.20k, False: 0]
  ------------------
  803|  3.20k|    return res;
  804|  3.20k|}
_PyCallMethodDescriptorFast_StackRef:
  813|  13.8k|{
  814|  13.8k|    PyObject *res;
  815|  13.8k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  13.8k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  13.8k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  816|  13.8k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  13.8k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 13.8k]
  |  |  ------------------
  ------------------
  817|      0|        return NULL;
  818|      0|    }
  819|  13.8k|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  ------------------
  |  Branch (819:5): [True: 13.8k, False: 0]
  ------------------
  820|       |
  821|  13.8k|    res = cfunc(self, (args_o + 1), total_args - 1);
  822|  13.8k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  13.8k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  823|  13.8k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (823:5): [True: 13.8k, False: 0]
  ------------------
  824|  13.8k|    return res;
  825|  13.8k|}
_PyCallMethodDescriptorFastWithKeywords_StackRef:
  834|    933|{
  835|    933|    PyObject *res;
  836|    933|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|    933|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|    933|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  837|    933|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|    933|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 933]
  |  |  ------------------
  ------------------
  838|      0|        return NULL;
  839|      0|    }
  840|    933|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  ------------------
  |  Branch (840:5): [True: 933, False: 0]
  ------------------
  841|       |
  842|    933|    res = cfunc(self, (args_o + 1), total_args-1, NULL);
  843|    933|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|    933|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  844|    933|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (844:5): [True: 933, False: 0]
  ------------------
  845|    933|    return res;
  846|    933|}
_Py_CallBuiltinClass_StackRef:
  853|  1.67k|{
  854|  1.67k|    PyObject *res;
  855|  1.67k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  1.67k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  1.67k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  856|  1.67k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  1.67k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 1.67k]
  |  |  ------------------
  ------------------
  857|      0|        return NULL;
  858|      0|    }
  859|  1.67k|    PyTypeObject *tp = (PyTypeObject *)PyStackRef_AsPyObjectBorrow(callable);
  860|  1.67k|    res = tp->tp_vectorcall((PyObject *)tp, args_o, total_args | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  ------------------
  |  |  287|  1.67k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.67k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  861|  1.67k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  1.67k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  862|  1.67k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (862:5): [True: 1.67k, False: 0]
  ------------------
  863|  1.67k|    return res;
  864|  1.67k|}
_Py_BuildString_StackRefSteal:
  870|    505|{
  871|    505|    PyObject *res;
  872|    505|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|    505|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|    505|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  873|    505|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|    505|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 505]
  |  |  ------------------
  ------------------
  874|      0|        res = NULL;
  875|      0|        goto cleanup;
  876|      0|    }
  877|    505|    res = _PyUnicode_JoinArray(&_Py_STR(empty), args_o, total_args);
  ------------------
  |  |  953|    505|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    505|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    505|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  878|    505|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|    505|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  879|    505|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (879:5): [True: 505, False: 0]
  ------------------
  880|    505|cleanup:
  881|       |    // arguments is a pointer into the GC visible stack,
  882|       |    // so we must NULL out values as we clear them.
  883|  1.73k|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (883:32): [True: 1.22k, False: 505]
  ------------------
  884|  1.22k|        _PyStackRef tmp = arguments[i];
  885|  1.22k|        arguments[i] = PyStackRef_NULL;
  886|  1.22k|        PyStackRef_CLOSE(tmp);
  887|  1.22k|    }
  888|    505|    return res;
  889|    505|}
_Py_BuildMap_StackRefSteal:
  895|  1.71k|{
  896|  1.71k|    PyObject *res;
  897|  1.71k|    STACKREFS_TO_PYOBJECTS(arguments, half_args*2, args_o);
  ------------------
  |  |  522|  1.71k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  1.71k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  898|  1.71k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  1.71k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 1.71k]
  |  |  ------------------
  ------------------
  899|      0|        res = NULL;
  900|      0|        goto cleanup;
  901|      0|    }
  902|  1.71k|    res = _PyDict_FromItems(
  903|  1.71k|        args_o, 2,
  904|  1.71k|        args_o+1, 2,
  905|  1.71k|        half_args
  906|  1.71k|    );
  907|  1.71k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  1.71k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  908|  1.71k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (908:5): [True: 1.71k, False: 0]
  ------------------
  909|  1.71k|cleanup:
  910|       |    // arguments is a pointer into the GC visible stack,
  911|       |    // so we must NULL out values as we clear them.
  912|  3.27k|    for (int i = half_args*2-1; i >= 0; i--) {
  ------------------
  |  Branch (912:33): [True: 1.55k, False: 1.71k]
  ------------------
  913|  1.55k|        _PyStackRef tmp = arguments[i];
  914|  1.55k|        arguments[i] = PyStackRef_NULL;
  915|  1.55k|        PyStackRef_CLOSE(tmp);
  916|  1.55k|    }
  917|  1.71k|    return res;
  918|  1.71k|}
_Py_LoadAttr_StackRefSteal:
  924|  2.27k|{
  925|       |    // Use _PyCStackRefs to ensure that both method and self are visible to
  926|       |    // the GC. Even though self_or_null is on the evaluation stack, it may be
  927|       |    // after the stackpointer and therefore not visible to the GC.
  928|  2.27k|    _PyCStackRef method, self;
  929|  2.27k|    _PyThreadState_PushCStackRef(tstate, &method);
  930|  2.27k|    _PyThreadState_PushCStackRef(tstate, &self);
  931|  2.27k|    self.ref = owner;  // steal reference to owner
  932|       |    // NOTE: method.ref is initialized to PyStackRef_NULL and remains null on
  933|       |    // error, so we don't need to explicitly use the return code from the call.
  934|  2.27k|    _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  935|  2.27k|    *self_or_null = _PyThreadState_PopCStackRefSteal(tstate, &self);
  936|  2.27k|    return _PyThreadState_PopCStackRefSteal(tstate, &method);
  937|  2.27k|}
_PyObjectArray_FromStackRefArray:
 1012|   244k|{
 1013|   244k|    PyObject **result;
 1014|   244k|    if (nargs > MAX_STACKREF_SCRATCH) {
  ------------------
  |  |  518|   244k|#define MAX_STACKREF_SCRATCH 10
  ------------------
  |  Branch (1014:9): [True: 31, False: 244k]
  ------------------
 1015|       |        // +1 in case PY_VECTORCALL_ARGUMENTS_OFFSET is set.
 1016|     31|        result = PyMem_Malloc((nargs + 1) * sizeof(PyObject *));
 1017|     31|        if (result == NULL) {
  ------------------
  |  Branch (1017:13): [True: 0, False: 31]
  ------------------
 1018|      0|            PyErr_NoMemory();
 1019|      0|            return NULL;
 1020|      0|        }
 1021|     31|    }
 1022|   244k|    else {
 1023|   244k|        result = scratch;
 1024|   244k|    }
 1025|   244k|    result++;
 1026|   244k|    result[0] = NULL; /* Keep GCC happy */
 1027|   923k|    for (int i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1027:21): [True: 679k, False: 244k]
  ------------------
 1028|   679k|        result[i] = PyStackRef_AsPyObjectBorrow(input[i]);
 1029|   679k|    }
 1030|   244k|    return result;
 1031|   244k|}
_PyObjectArray_Free:
 1035|   244k|{
 1036|   244k|    if (array != scratch) {
  ------------------
  |  Branch (1036:9): [True: 31, False: 244k]
  ------------------
 1037|     31|        PyMem_Free(array);
 1038|     31|    }
 1039|   244k|}
_PyEval_GetIter:
 1077|    671|{
 1078|    671|    PyTypeObject *tp = PyStackRef_TYPE(iterable);
 1079|    671|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (1079:9): [True: 116, False: 555]
  ------------------
 1080|       |        /* Leave iterable on stack and pushed tagged 0 */
 1081|    116|        *index_or_null = PyStackRef_TagInt(0);
 1082|    116|        return iterable;
 1083|    116|    }
 1084|    555|    *index_or_null = PyStackRef_NULL;
 1085|    555|    if (tp->tp_iter == PyObject_SelfIter) {
  ------------------
  |  Branch (1085:9): [True: 5, False: 550]
  ------------------
 1086|      5|        return iterable;
 1087|      5|    }
 1088|    550|    if (yield_from && tp == &PyCoro_Type) {
  ------------------
  |  Branch (1088:9): [True: 0, False: 550]
  |  Branch (1088:23): [True: 0, False: 0]
  ------------------
 1089|      0|        assert(yield_from != GET_ITER_YIELD_FROM);
  ------------------
  |  Branch (1089:9): [True: 0, False: 0]
  ------------------
 1090|      0|        if (yield_from == GET_ITER_YIELD_FROM_CORO_CHECK) {
  ------------------
  |  |   99|      0|#define GET_ITER_YIELD_FROM_CORO_CHECK 3
  ------------------
  |  Branch (1090:13): [True: 0, False: 0]
  ------------------
 1091|       |            /* `iterable` is a coroutine and it is used in a 'yield from'
 1092|       |            * expression of a regular generator. */
 1093|      0|            PyErr_SetString(PyExc_TypeError,
 1094|      0|                            "cannot 'yield from' a coroutine object "
 1095|      0|                            "in a non-coroutine generator");
 1096|      0|            PyStackRef_CLOSE(iterable);
 1097|      0|            return PyStackRef_ERROR;
 1098|      0|        }
 1099|      0|        return iterable;
 1100|      0|    }
 1101|       |    /* Pop iterable, and push iterator then NULL */
 1102|    550|    PyObject *iter_o = PyObject_GetIter(PyStackRef_AsPyObjectBorrow(iterable));
 1103|    550|    PyStackRef_CLOSE(iterable);
 1104|    550|    if (iter_o == NULL) {
  ------------------
  |  Branch (1104:9): [True: 0, False: 550]
  ------------------
 1105|      0|        return PyStackRef_ERROR;
 1106|      0|    }
 1107|    550|    return PyStackRef_FromPyObjectSteal(iter_o);
 1108|    550|}
_PyEval_StoreName:
 1111|  8.53k|{
 1112|  8.53k|    int deletion = PyStackRef_IsNull(v);
  ------------------
  |  |  482|  8.53k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  8.53k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  8.53k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1113|       |
 1114|  8.53k|    if (ns == NULL) {
  ------------------
  |  Branch (1114:9): [True: 0, False: 8.53k]
  ------------------
 1115|      0|        const char *msg = deletion
  ------------------
  |  Branch (1115:27): [True: 0, False: 0]
  ------------------
 1116|      0|            ? "no locals found when deleting %R"
 1117|      0|            : "no locals found when storing %R";
 1118|      0|        _PyErr_Format(tstate, PyExc_SystemError, msg, name);
 1119|      0|        return 1;
 1120|      0|    }
 1121|       |
 1122|  8.53k|    if (deletion) {
  ------------------
  |  Branch (1122:9): [True: 33, False: 8.50k]
  ------------------
 1123|     33|        int error = PyObject_DelItem(ns, name);
 1124|     33|        if (error) {
  ------------------
  |  Branch (1124:13): [True: 0, False: 33]
  ------------------
 1125|      0|            _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
 1126|      0|                                    NAME_ERROR_MSG,
  ------------------
  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 1127|      0|                                    name);
 1128|      0|        }
 1129|     33|        return error;
 1130|     33|    }
 1131|       |
 1132|  8.50k|    PyObject *v_o = PyStackRef_AsPyObjectBorrow(v);
 1133|  8.50k|    if (PyDict_CheckExact(ns)) {
  ------------------
  |  |   19|  8.50k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |   65|  8.50k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 8.42k, False: 79]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1134|  8.42k|        return PyDict_SetItem(ns, name, v_o);
 1135|  8.42k|    }
 1136|       |
 1137|     79|    return PyObject_SetItem(ns, name, v_o);
 1138|  8.50k|}
_PyEval_EvalFrameDefault:
 1211|   207k|{
 1212|   207k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|   207k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 1213|   207k|    check_invalid_reentrancy();
 1214|   207k|    CALL_STAT_INC(pyeval_calls);
  ------------------
  |  |   76|   207k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 1215|       |
 1216|   207k|#if USE_COMPUTED_GOTOS && !_Py_TAIL_CALL_INTERP
 1217|       |/* Import the static jump table */
 1218|   207k|#include "opcode_targets.h"
  ------------------
  |  |    1|   207k|#if !_Py_TAIL_CALL_INTERP
  |  |    2|   207k|static void *opcode_targets_table[256] = {
  |  |    3|   207k|    &&TARGET_CACHE,
  |  |    4|   207k|    &&TARGET_BINARY_SLICE,
  |  |    5|   207k|    &&TARGET_BUILD_TEMPLATE,
  |  |    6|   207k|    &&TARGET_BINARY_OP_INPLACE_ADD_UNICODE,
  |  |    7|   207k|    &&TARGET_CALL_FUNCTION_EX,
  |  |    8|   207k|    &&TARGET_CHECK_EG_MATCH,
  |  |    9|   207k|    &&TARGET_CHECK_EXC_MATCH,
  |  |   10|   207k|    &&TARGET_CLEANUP_THROW,
  |  |   11|   207k|    &&TARGET_DELETE_SUBSCR,
  |  |   12|   207k|    &&TARGET_END_FOR,
  |  |   13|   207k|    &&TARGET_END_SEND,
  |  |   14|   207k|    &&TARGET_EXIT_INIT_CHECK,
  |  |   15|   207k|    &&TARGET_FORMAT_SIMPLE,
  |  |   16|   207k|    &&TARGET_FORMAT_WITH_SPEC,
  |  |   17|   207k|    &&TARGET_GET_AITER,
  |  |   18|   207k|    &&TARGET_GET_ANEXT,
  |  |   19|   207k|    &&TARGET_GET_LEN,
  |  |   20|   207k|    &&TARGET_RESERVED,
  |  |   21|   207k|    &&TARGET_INTERPRETER_EXIT,
  |  |   22|   207k|    &&TARGET_LOAD_BUILD_CLASS,
  |  |   23|   207k|    &&TARGET_LOAD_LOCALS,
  |  |   24|   207k|    &&TARGET_MAKE_FUNCTION,
  |  |   25|   207k|    &&TARGET_MATCH_KEYS,
  |  |   26|   207k|    &&TARGET_MATCH_MAPPING,
  |  |   27|   207k|    &&TARGET_MATCH_SEQUENCE,
  |  |   28|   207k|    &&TARGET_NOP,
  |  |   29|   207k|    &&TARGET_NOT_TAKEN,
  |  |   30|   207k|    &&TARGET_POP_EXCEPT,
  |  |   31|   207k|    &&TARGET_POP_ITER,
  |  |   32|   207k|    &&TARGET_POP_TOP,
  |  |   33|   207k|    &&TARGET_PUSH_EXC_INFO,
  |  |   34|   207k|    &&TARGET_PUSH_NULL,
  |  |   35|   207k|    &&TARGET_RETURN_GENERATOR,
  |  |   36|   207k|    &&TARGET_RETURN_VALUE,
  |  |   37|   207k|    &&TARGET_SETUP_ANNOTATIONS,
  |  |   38|   207k|    &&TARGET_STORE_SLICE,
  |  |   39|   207k|    &&TARGET_STORE_SUBSCR,
  |  |   40|   207k|    &&TARGET_TO_BOOL,
  |  |   41|   207k|    &&TARGET_UNARY_INVERT,
  |  |   42|   207k|    &&TARGET_UNARY_NEGATIVE,
  |  |   43|   207k|    &&TARGET_UNARY_NOT,
  |  |   44|   207k|    &&TARGET_WITH_EXCEPT_START,
  |  |   45|   207k|    &&TARGET_BINARY_OP,
  |  |   46|   207k|    &&TARGET_BUILD_INTERPOLATION,
  |  |   47|   207k|    &&TARGET_BUILD_LIST,
  |  |   48|   207k|    &&TARGET_BUILD_MAP,
  |  |   49|   207k|    &&TARGET_BUILD_SET,
  |  |   50|   207k|    &&TARGET_BUILD_SLICE,
  |  |   51|   207k|    &&TARGET_BUILD_STRING,
  |  |   52|   207k|    &&TARGET_BUILD_TUPLE,
  |  |   53|   207k|    &&TARGET_CALL,
  |  |   54|   207k|    &&TARGET_CALL_INTRINSIC_1,
  |  |   55|   207k|    &&TARGET_CALL_INTRINSIC_2,
  |  |   56|   207k|    &&TARGET_CALL_KW,
  |  |   57|   207k|    &&TARGET_COMPARE_OP,
  |  |   58|   207k|    &&TARGET_CONTAINS_OP,
  |  |   59|   207k|    &&TARGET_CONVERT_VALUE,
  |  |   60|   207k|    &&TARGET_COPY,
  |  |   61|   207k|    &&TARGET_COPY_FREE_VARS,
  |  |   62|   207k|    &&TARGET_DELETE_DEREF,
  |  |   63|   207k|    &&TARGET_DELETE_FAST,
  |  |   64|   207k|    &&TARGET_DICT_MERGE,
  |  |   65|   207k|    &&TARGET_DICT_UPDATE,
  |  |   66|   207k|    &&TARGET_END_ASYNC_FOR,
  |  |   67|   207k|    &&TARGET_EXTENDED_ARG,
  |  |   68|   207k|    &&TARGET_FOR_ITER,
  |  |   69|   207k|    &&TARGET_GET_AWAITABLE,
  |  |   70|   207k|    &&TARGET_GET_ITER,
  |  |   71|   207k|    &&TARGET_IMPORT_FROM,
  |  |   72|   207k|    &&TARGET_IMPORT_NAME,
  |  |   73|   207k|    &&TARGET_IS_OP,
  |  |   74|   207k|    &&TARGET_JUMP_BACKWARD,
  |  |   75|   207k|    &&TARGET_JUMP_BACKWARD_NO_INTERRUPT,
  |  |   76|   207k|    &&TARGET_JUMP_FORWARD,
  |  |   77|   207k|    &&TARGET_LIST_APPEND,
  |  |   78|   207k|    &&TARGET_LIST_EXTEND,
  |  |   79|   207k|    &&TARGET_LOAD_ATTR,
  |  |   80|   207k|    &&TARGET_LOAD_COMMON_CONSTANT,
  |  |   81|   207k|    &&TARGET_LOAD_CONST,
  |  |   82|   207k|    &&TARGET_LOAD_DEREF,
  |  |   83|   207k|    &&TARGET_LOAD_FAST,
  |  |   84|   207k|    &&TARGET_LOAD_FAST_AND_CLEAR,
  |  |   85|   207k|    &&TARGET_LOAD_FAST_BORROW,
  |  |   86|   207k|    &&TARGET_LOAD_FAST_BORROW_LOAD_FAST_BORROW,
  |  |   87|   207k|    &&TARGET_LOAD_FAST_CHECK,
  |  |   88|   207k|    &&TARGET_LOAD_FAST_LOAD_FAST,
  |  |   89|   207k|    &&TARGET_LOAD_FROM_DICT_OR_DEREF,
  |  |   90|   207k|    &&TARGET_LOAD_FROM_DICT_OR_GLOBALS,
  |  |   91|   207k|    &&TARGET_LOAD_GLOBAL,
  |  |   92|   207k|    &&TARGET_LOAD_NAME,
  |  |   93|   207k|    &&TARGET_LOAD_SMALL_INT,
  |  |   94|   207k|    &&TARGET_LOAD_SPECIAL,
  |  |   95|   207k|    &&TARGET_LOAD_SUPER_ATTR,
  |  |   96|   207k|    &&TARGET_MAKE_CELL,
  |  |   97|   207k|    &&TARGET_MAP_ADD,
  |  |   98|   207k|    &&TARGET_MATCH_CLASS,
  |  |   99|   207k|    &&TARGET_POP_JUMP_IF_FALSE,
  |  |  100|   207k|    &&TARGET_POP_JUMP_IF_NONE,
  |  |  101|   207k|    &&TARGET_POP_JUMP_IF_NOT_NONE,
  |  |  102|   207k|    &&TARGET_POP_JUMP_IF_TRUE,
  |  |  103|   207k|    &&TARGET_RAISE_VARARGS,
  |  |  104|   207k|    &&TARGET_RERAISE,
  |  |  105|   207k|    &&TARGET_SEND,
  |  |  106|   207k|    &&TARGET_SET_ADD,
  |  |  107|   207k|    &&TARGET_SET_FUNCTION_ATTRIBUTE,
  |  |  108|   207k|    &&TARGET_SET_UPDATE,
  |  |  109|   207k|    &&TARGET_STORE_ATTR,
  |  |  110|   207k|    &&TARGET_STORE_DEREF,
  |  |  111|   207k|    &&TARGET_STORE_FAST,
  |  |  112|   207k|    &&TARGET_STORE_FAST_LOAD_FAST,
  |  |  113|   207k|    &&TARGET_STORE_FAST_STORE_FAST,
  |  |  114|   207k|    &&TARGET_STORE_GLOBAL,
  |  |  115|   207k|    &&TARGET_STORE_NAME,
  |  |  116|   207k|    &&TARGET_SWAP,
  |  |  117|   207k|    &&TARGET_UNPACK_EX,
  |  |  118|   207k|    &&TARGET_UNPACK_SEQUENCE,
  |  |  119|   207k|    &&TARGET_YIELD_VALUE,
  |  |  120|   207k|    &&_unknown_opcode,
  |  |  121|   207k|    &&_unknown_opcode,
  |  |  122|   207k|    &&_unknown_opcode,
  |  |  123|   207k|    &&_unknown_opcode,
  |  |  124|   207k|    &&_unknown_opcode,
  |  |  125|   207k|    &&_unknown_opcode,
  |  |  126|   207k|    &&_unknown_opcode,
  |  |  127|   207k|    &&_unknown_opcode,
  |  |  128|   207k|    &&_unknown_opcode,
  |  |  129|   207k|    &&_unknown_opcode,
  |  |  130|   207k|    &&_unknown_opcode,
  |  |  131|   207k|    &&TARGET_RESUME,
  |  |  132|   207k|    &&TARGET_BINARY_OP_ADD_FLOAT,
  |  |  133|   207k|    &&TARGET_BINARY_OP_ADD_INT,
  |  |  134|   207k|    &&TARGET_BINARY_OP_ADD_UNICODE,
  |  |  135|   207k|    &&TARGET_BINARY_OP_EXTEND,
  |  |  136|   207k|    &&TARGET_BINARY_OP_MULTIPLY_FLOAT,
  |  |  137|   207k|    &&TARGET_BINARY_OP_MULTIPLY_INT,
  |  |  138|   207k|    &&TARGET_BINARY_OP_SUBSCR_DICT,
  |  |  139|   207k|    &&TARGET_BINARY_OP_SUBSCR_GETITEM,
  |  |  140|   207k|    &&TARGET_BINARY_OP_SUBSCR_LIST_INT,
  |  |  141|   207k|    &&TARGET_BINARY_OP_SUBSCR_LIST_SLICE,
  |  |  142|   207k|    &&TARGET_BINARY_OP_SUBSCR_STR_INT,
  |  |  143|   207k|    &&TARGET_BINARY_OP_SUBSCR_TUPLE_INT,
  |  |  144|   207k|    &&TARGET_BINARY_OP_SUBSCR_USTR_INT,
  |  |  145|   207k|    &&TARGET_BINARY_OP_SUBTRACT_FLOAT,
  |  |  146|   207k|    &&TARGET_BINARY_OP_SUBTRACT_INT,
  |  |  147|   207k|    &&TARGET_CALL_ALLOC_AND_ENTER_INIT,
  |  |  148|   207k|    &&TARGET_CALL_BOUND_METHOD_EXACT_ARGS,
  |  |  149|   207k|    &&TARGET_CALL_BOUND_METHOD_GENERAL,
  |  |  150|   207k|    &&TARGET_CALL_BUILTIN_CLASS,
  |  |  151|   207k|    &&TARGET_CALL_BUILTIN_FAST,
  |  |  152|   207k|    &&TARGET_CALL_BUILTIN_FAST_WITH_KEYWORDS,
  |  |  153|   207k|    &&TARGET_CALL_BUILTIN_O,
  |  |  154|   207k|    &&TARGET_CALL_EX_NON_PY_GENERAL,
  |  |  155|   207k|    &&TARGET_CALL_EX_PY,
  |  |  156|   207k|    &&TARGET_CALL_ISINSTANCE,
  |  |  157|   207k|    &&TARGET_CALL_KW_BOUND_METHOD,
  |  |  158|   207k|    &&TARGET_CALL_KW_NON_PY,
  |  |  159|   207k|    &&TARGET_CALL_KW_PY,
  |  |  160|   207k|    &&TARGET_CALL_LEN,
  |  |  161|   207k|    &&TARGET_CALL_LIST_APPEND,
  |  |  162|   207k|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST,
  |  |  163|   207k|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
  |  |  164|   207k|    &&TARGET_CALL_METHOD_DESCRIPTOR_NOARGS,
  |  |  165|   207k|    &&TARGET_CALL_METHOD_DESCRIPTOR_O,
  |  |  166|   207k|    &&TARGET_CALL_NON_PY_GENERAL,
  |  |  167|   207k|    &&TARGET_CALL_PY_EXACT_ARGS,
  |  |  168|   207k|    &&TARGET_CALL_PY_GENERAL,
  |  |  169|   207k|    &&TARGET_CALL_STR_1,
  |  |  170|   207k|    &&TARGET_CALL_TUPLE_1,
  |  |  171|   207k|    &&TARGET_CALL_TYPE_1,
  |  |  172|   207k|    &&TARGET_COMPARE_OP_FLOAT,
  |  |  173|   207k|    &&TARGET_COMPARE_OP_INT,
  |  |  174|   207k|    &&TARGET_COMPARE_OP_STR,
  |  |  175|   207k|    &&TARGET_CONTAINS_OP_DICT,
  |  |  176|   207k|    &&TARGET_CONTAINS_OP_SET,
  |  |  177|   207k|    &&TARGET_FOR_ITER_GEN,
  |  |  178|   207k|    &&TARGET_FOR_ITER_LIST,
  |  |  179|   207k|    &&TARGET_FOR_ITER_RANGE,
  |  |  180|   207k|    &&TARGET_FOR_ITER_TUPLE,
  |  |  181|   207k|    &&TARGET_FOR_ITER_VIRTUAL,
  |  |  182|   207k|    &&TARGET_GET_ITER_SELF,
  |  |  183|   207k|    &&TARGET_GET_ITER_VIRTUAL,
  |  |  184|   207k|    &&TARGET_JUMP_BACKWARD_JIT,
  |  |  185|   207k|    &&TARGET_JUMP_BACKWARD_NO_JIT,
  |  |  186|   207k|    &&TARGET_LOAD_ATTR_CLASS,
  |  |  187|   207k|    &&TARGET_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK,
  |  |  188|   207k|    &&TARGET_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
  |  |  189|   207k|    &&TARGET_LOAD_ATTR_INSTANCE_VALUE,
  |  |  190|   207k|    &&TARGET_LOAD_ATTR_METHOD_LAZY_DICT,
  |  |  191|   207k|    &&TARGET_LOAD_ATTR_METHOD_NO_DICT,
  |  |  192|   207k|    &&TARGET_LOAD_ATTR_METHOD_WITH_VALUES,
  |  |  193|   207k|    &&TARGET_LOAD_ATTR_MODULE,
  |  |  194|   207k|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_NO_DICT,
  |  |  195|   207k|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES,
  |  |  196|   207k|    &&TARGET_LOAD_ATTR_PROPERTY,
  |  |  197|   207k|    &&TARGET_LOAD_ATTR_SLOT,
  |  |  198|   207k|    &&TARGET_LOAD_ATTR_WITH_HINT,
  |  |  199|   207k|    &&TARGET_LOAD_GLOBAL_BUILTIN,
  |  |  200|   207k|    &&TARGET_LOAD_GLOBAL_MODULE,
  |  |  201|   207k|    &&TARGET_LOAD_SUPER_ATTR_ATTR,
  |  |  202|   207k|    &&TARGET_LOAD_SUPER_ATTR_METHOD,
  |  |  203|   207k|    &&TARGET_RESUME_CHECK,
  |  |  204|   207k|    &&TARGET_RESUME_CHECK_JIT,
  |  |  205|   207k|    &&TARGET_SEND_ASYNC_GEN,
  |  |  206|   207k|    &&TARGET_SEND_GEN,
  |  |  207|   207k|    &&TARGET_SEND_VIRTUAL,
  |  |  208|   207k|    &&TARGET_STORE_ATTR_INSTANCE_VALUE,
  |  |  209|   207k|    &&TARGET_STORE_ATTR_SLOT,
  |  |  210|   207k|    &&TARGET_STORE_ATTR_WITH_HINT,
  |  |  211|   207k|    &&TARGET_STORE_SUBSCR_DICT,
  |  |  212|   207k|    &&TARGET_STORE_SUBSCR_LIST_INT,
  |  |  213|   207k|    &&TARGET_TO_BOOL_ALWAYS_TRUE,
  |  |  214|   207k|    &&TARGET_TO_BOOL_BOOL,
  |  |  215|   207k|    &&TARGET_TO_BOOL_INT,
  |  |  216|   207k|    &&TARGET_TO_BOOL_LIST,
  |  |  217|   207k|    &&TARGET_TO_BOOL_NONE,
  |  |  218|   207k|    &&TARGET_TO_BOOL_STR,
  |  |  219|   207k|    &&TARGET_UNPACK_SEQUENCE_LIST,
  |  |  220|   207k|    &&TARGET_UNPACK_SEQUENCE_TUPLE,
  |  |  221|   207k|    &&TARGET_UNPACK_SEQUENCE_TWO_TUPLE,
  |  |  222|   207k|    &&_unknown_opcode,
  |  |  223|   207k|    &&_unknown_opcode,
  |  |  224|   207k|    &&_unknown_opcode,
  |  |  225|   207k|    &&_unknown_opcode,
  |  |  226|   207k|    &&_unknown_opcode,
  |  |  227|   207k|    &&_unknown_opcode,
  |  |  228|   207k|    &&_unknown_opcode,
  |  |  229|   207k|    &&_unknown_opcode,
  |  |  230|   207k|    &&_unknown_opcode,
  |  |  231|   207k|    &&_unknown_opcode,
  |  |  232|   207k|    &&_unknown_opcode,
  |  |  233|   207k|    &&_unknown_opcode,
  |  |  234|   207k|    &&_unknown_opcode,
  |  |  235|   207k|    &&_unknown_opcode,
  |  |  236|   207k|    &&TARGET_INSTRUMENTED_END_FOR,
  |  |  237|   207k|    &&TARGET_INSTRUMENTED_POP_ITER,
  |  |  238|   207k|    &&TARGET_INSTRUMENTED_END_SEND,
  |  |  239|   207k|    &&TARGET_INSTRUMENTED_FOR_ITER,
  |  |  240|   207k|    &&TARGET_INSTRUMENTED_INSTRUCTION,
  |  |  241|   207k|    &&TARGET_INSTRUMENTED_JUMP_FORWARD,
  |  |  242|   207k|    &&TARGET_INSTRUMENTED_NOT_TAKEN,
  |  |  243|   207k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_TRUE,
  |  |  244|   207k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_FALSE,
  |  |  245|   207k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NONE,
  |  |  246|   207k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
  |  |  247|   207k|    &&TARGET_INSTRUMENTED_RESUME,
  |  |  248|   207k|    &&TARGET_INSTRUMENTED_RETURN_VALUE,
  |  |  249|   207k|    &&TARGET_INSTRUMENTED_YIELD_VALUE,
  |  |  250|   207k|    &&TARGET_INSTRUMENTED_END_ASYNC_FOR,
  |  |  251|   207k|    &&TARGET_INSTRUMENTED_LOAD_SUPER_ATTR,
  |  |  252|   207k|    &&TARGET_INSTRUMENTED_CALL,
  |  |  253|   207k|    &&TARGET_INSTRUMENTED_CALL_KW,
  |  |  254|   207k|    &&TARGET_INSTRUMENTED_CALL_FUNCTION_EX,
  |  |  255|   207k|    &&TARGET_INSTRUMENTED_JUMP_BACKWARD,
  |  |  256|   207k|    &&TARGET_INSTRUMENTED_LINE,
  |  |  257|   207k|    &&TARGET_ENTER_EXECUTOR,
  |  |  258|   207k|    &&TARGET_TRACE_RECORD,
  |  |  259|   207k|};
  |  |  260|       |#if _Py_TIER2
  |  |  261|       |static void *opcode_tracing_targets_table[256] = {
  |  |  262|       |    &&TARGET_TRACE_RECORD,
  |  |  263|       |    &&TARGET_TRACE_RECORD,
  |  |  264|       |    &&TARGET_TRACE_RECORD,
  |  |  265|       |    &&TARGET_TRACE_RECORD,
  |  |  266|       |    &&TARGET_TRACE_RECORD,
  |  |  267|       |    &&TARGET_TRACE_RECORD,
  |  |  268|       |    &&TARGET_TRACE_RECORD,
  |  |  269|       |    &&TARGET_TRACE_RECORD,
  |  |  270|       |    &&TARGET_TRACE_RECORD,
  |  |  271|       |    &&TARGET_TRACE_RECORD,
  |  |  272|       |    &&TARGET_TRACE_RECORD,
  |  |  273|       |    &&TARGET_TRACE_RECORD,
  |  |  274|       |    &&TARGET_TRACE_RECORD,
  |  |  275|       |    &&TARGET_TRACE_RECORD,
  |  |  276|       |    &&TARGET_TRACE_RECORD,
  |  |  277|       |    &&TARGET_TRACE_RECORD,
  |  |  278|       |    &&TARGET_TRACE_RECORD,
  |  |  279|       |    &&TARGET_TRACE_RECORD,
  |  |  280|       |    &&TARGET_TRACE_RECORD,
  |  |  281|       |    &&TARGET_TRACE_RECORD,
  |  |  282|       |    &&TARGET_TRACE_RECORD,
  |  |  283|       |    &&TARGET_TRACE_RECORD,
  |  |  284|       |    &&TARGET_TRACE_RECORD,
  |  |  285|       |    &&TARGET_TRACE_RECORD,
  |  |  286|       |    &&TARGET_TRACE_RECORD,
  |  |  287|       |    &&TARGET_TRACE_RECORD,
  |  |  288|       |    &&TARGET_TRACE_RECORD,
  |  |  289|       |    &&TARGET_TRACE_RECORD,
  |  |  290|       |    &&TARGET_TRACE_RECORD,
  |  |  291|       |    &&TARGET_TRACE_RECORD,
  |  |  292|       |    &&TARGET_TRACE_RECORD,
  |  |  293|       |    &&TARGET_TRACE_RECORD,
  |  |  294|       |    &&TARGET_TRACE_RECORD,
  |  |  295|       |    &&TARGET_TRACE_RECORD,
  |  |  296|       |    &&TARGET_TRACE_RECORD,
  |  |  297|       |    &&TARGET_TRACE_RECORD,
  |  |  298|       |    &&TARGET_TRACE_RECORD,
  |  |  299|       |    &&TARGET_TRACE_RECORD,
  |  |  300|       |    &&TARGET_TRACE_RECORD,
  |  |  301|       |    &&TARGET_TRACE_RECORD,
  |  |  302|       |    &&TARGET_TRACE_RECORD,
  |  |  303|       |    &&TARGET_TRACE_RECORD,
  |  |  304|       |    &&TARGET_TRACE_RECORD,
  |  |  305|       |    &&TARGET_TRACE_RECORD,
  |  |  306|       |    &&TARGET_TRACE_RECORD,
  |  |  307|       |    &&TARGET_TRACE_RECORD,
  |  |  308|       |    &&TARGET_TRACE_RECORD,
  |  |  309|       |    &&TARGET_TRACE_RECORD,
  |  |  310|       |    &&TARGET_TRACE_RECORD,
  |  |  311|       |    &&TARGET_TRACE_RECORD,
  |  |  312|       |    &&TARGET_TRACE_RECORD,
  |  |  313|       |    &&TARGET_TRACE_RECORD,
  |  |  314|       |    &&TARGET_TRACE_RECORD,
  |  |  315|       |    &&TARGET_TRACE_RECORD,
  |  |  316|       |    &&TARGET_TRACE_RECORD,
  |  |  317|       |    &&TARGET_TRACE_RECORD,
  |  |  318|       |    &&TARGET_TRACE_RECORD,
  |  |  319|       |    &&TARGET_TRACE_RECORD,
  |  |  320|       |    &&TARGET_TRACE_RECORD,
  |  |  321|       |    &&TARGET_TRACE_RECORD,
  |  |  322|       |    &&TARGET_TRACE_RECORD,
  |  |  323|       |    &&TARGET_TRACE_RECORD,
  |  |  324|       |    &&TARGET_TRACE_RECORD,
  |  |  325|       |    &&TARGET_TRACE_RECORD,
  |  |  326|       |    &&TARGET_TRACE_RECORD,
  |  |  327|       |    &&TARGET_TRACE_RECORD,
  |  |  328|       |    &&TARGET_TRACE_RECORD,
  |  |  329|       |    &&TARGET_TRACE_RECORD,
  |  |  330|       |    &&TARGET_TRACE_RECORD,
  |  |  331|       |    &&TARGET_TRACE_RECORD,
  |  |  332|       |    &&TARGET_TRACE_RECORD,
  |  |  333|       |    &&TARGET_TRACE_RECORD,
  |  |  334|       |    &&TARGET_TRACE_RECORD,
  |  |  335|       |    &&TARGET_TRACE_RECORD,
  |  |  336|       |    &&TARGET_TRACE_RECORD,
  |  |  337|       |    &&TARGET_TRACE_RECORD,
  |  |  338|       |    &&TARGET_TRACE_RECORD,
  |  |  339|       |    &&TARGET_TRACE_RECORD,
  |  |  340|       |    &&TARGET_TRACE_RECORD,
  |  |  341|       |    &&TARGET_TRACE_RECORD,
  |  |  342|       |    &&TARGET_TRACE_RECORD,
  |  |  343|       |    &&TARGET_TRACE_RECORD,
  |  |  344|       |    &&TARGET_TRACE_RECORD,
  |  |  345|       |    &&TARGET_TRACE_RECORD,
  |  |  346|       |    &&TARGET_TRACE_RECORD,
  |  |  347|       |    &&TARGET_TRACE_RECORD,
  |  |  348|       |    &&TARGET_TRACE_RECORD,
  |  |  349|       |    &&TARGET_TRACE_RECORD,
  |  |  350|       |    &&TARGET_TRACE_RECORD,
  |  |  351|       |    &&TARGET_TRACE_RECORD,
  |  |  352|       |    &&TARGET_TRACE_RECORD,
  |  |  353|       |    &&TARGET_TRACE_RECORD,
  |  |  354|       |    &&TARGET_TRACE_RECORD,
  |  |  355|       |    &&TARGET_TRACE_RECORD,
  |  |  356|       |    &&TARGET_TRACE_RECORD,
  |  |  357|       |    &&TARGET_TRACE_RECORD,
  |  |  358|       |    &&TARGET_TRACE_RECORD,
  |  |  359|       |    &&TARGET_TRACE_RECORD,
  |  |  360|       |    &&TARGET_TRACE_RECORD,
  |  |  361|       |    &&TARGET_TRACE_RECORD,
  |  |  362|       |    &&TARGET_TRACE_RECORD,
  |  |  363|       |    &&TARGET_TRACE_RECORD,
  |  |  364|       |    &&TARGET_TRACE_RECORD,
  |  |  365|       |    &&TARGET_TRACE_RECORD,
  |  |  366|       |    &&TARGET_TRACE_RECORD,
  |  |  367|       |    &&TARGET_TRACE_RECORD,
  |  |  368|       |    &&TARGET_TRACE_RECORD,
  |  |  369|       |    &&TARGET_TRACE_RECORD,
  |  |  370|       |    &&TARGET_TRACE_RECORD,
  |  |  371|       |    &&TARGET_TRACE_RECORD,
  |  |  372|       |    &&TARGET_TRACE_RECORD,
  |  |  373|       |    &&TARGET_TRACE_RECORD,
  |  |  374|       |    &&TARGET_TRACE_RECORD,
  |  |  375|       |    &&TARGET_TRACE_RECORD,
  |  |  376|       |    &&TARGET_TRACE_RECORD,
  |  |  377|       |    &&TARGET_TRACE_RECORD,
  |  |  378|       |    &&TARGET_TRACE_RECORD,
  |  |  379|       |    &&_unknown_opcode,
  |  |  380|       |    &&_unknown_opcode,
  |  |  381|       |    &&_unknown_opcode,
  |  |  382|       |    &&_unknown_opcode,
  |  |  383|       |    &&_unknown_opcode,
  |  |  384|       |    &&_unknown_opcode,
  |  |  385|       |    &&_unknown_opcode,
  |  |  386|       |    &&_unknown_opcode,
  |  |  387|       |    &&_unknown_opcode,
  |  |  388|       |    &&_unknown_opcode,
  |  |  389|       |    &&_unknown_opcode,
  |  |  390|       |    &&TARGET_TRACE_RECORD,
  |  |  391|       |    &&TARGET_TRACE_RECORD,
  |  |  392|       |    &&TARGET_TRACE_RECORD,
  |  |  393|       |    &&TARGET_TRACE_RECORD,
  |  |  394|       |    &&TARGET_TRACE_RECORD,
  |  |  395|       |    &&TARGET_TRACE_RECORD,
  |  |  396|       |    &&TARGET_TRACE_RECORD,
  |  |  397|       |    &&TARGET_TRACE_RECORD,
  |  |  398|       |    &&TARGET_TRACE_RECORD,
  |  |  399|       |    &&TARGET_TRACE_RECORD,
  |  |  400|       |    &&TARGET_TRACE_RECORD,
  |  |  401|       |    &&TARGET_TRACE_RECORD,
  |  |  402|       |    &&TARGET_TRACE_RECORD,
  |  |  403|       |    &&TARGET_TRACE_RECORD,
  |  |  404|       |    &&TARGET_TRACE_RECORD,
  |  |  405|       |    &&TARGET_TRACE_RECORD,
  |  |  406|       |    &&TARGET_TRACE_RECORD,
  |  |  407|       |    &&TARGET_TRACE_RECORD,
  |  |  408|       |    &&TARGET_TRACE_RECORD,
  |  |  409|       |    &&TARGET_TRACE_RECORD,
  |  |  410|       |    &&TARGET_TRACE_RECORD,
  |  |  411|       |    &&TARGET_TRACE_RECORD,
  |  |  412|       |    &&TARGET_TRACE_RECORD,
  |  |  413|       |    &&TARGET_TRACE_RECORD,
  |  |  414|       |    &&TARGET_TRACE_RECORD,
  |  |  415|       |    &&TARGET_TRACE_RECORD,
  |  |  416|       |    &&TARGET_TRACE_RECORD,
  |  |  417|       |    &&TARGET_TRACE_RECORD,
  |  |  418|       |    &&TARGET_TRACE_RECORD,
  |  |  419|       |    &&TARGET_TRACE_RECORD,
  |  |  420|       |    &&TARGET_TRACE_RECORD,
  |  |  421|       |    &&TARGET_TRACE_RECORD,
  |  |  422|       |    &&TARGET_TRACE_RECORD,
  |  |  423|       |    &&TARGET_TRACE_RECORD,
  |  |  424|       |    &&TARGET_TRACE_RECORD,
  |  |  425|       |    &&TARGET_TRACE_RECORD,
  |  |  426|       |    &&TARGET_TRACE_RECORD,
  |  |  427|       |    &&TARGET_TRACE_RECORD,
  |  |  428|       |    &&TARGET_TRACE_RECORD,
  |  |  429|       |    &&TARGET_TRACE_RECORD,
  |  |  430|       |    &&TARGET_TRACE_RECORD,
  |  |  431|       |    &&TARGET_TRACE_RECORD,
  |  |  432|       |    &&TARGET_TRACE_RECORD,
  |  |  433|       |    &&TARGET_TRACE_RECORD,
  |  |  434|       |    &&TARGET_TRACE_RECORD,
  |  |  435|       |    &&TARGET_TRACE_RECORD,
  |  |  436|       |    &&TARGET_TRACE_RECORD,
  |  |  437|       |    &&TARGET_TRACE_RECORD,
  |  |  438|       |    &&TARGET_TRACE_RECORD,
  |  |  439|       |    &&TARGET_TRACE_RECORD,
  |  |  440|       |    &&TARGET_TRACE_RECORD,
  |  |  441|       |    &&TARGET_TRACE_RECORD,
  |  |  442|       |    &&TARGET_TRACE_RECORD,
  |  |  443|       |    &&TARGET_TRACE_RECORD,
  |  |  444|       |    &&TARGET_TRACE_RECORD,
  |  |  445|       |    &&TARGET_TRACE_RECORD,
  |  |  446|       |    &&TARGET_TRACE_RECORD,
  |  |  447|       |    &&TARGET_TRACE_RECORD,
  |  |  448|       |    &&TARGET_TRACE_RECORD,
  |  |  449|       |    &&TARGET_TRACE_RECORD,
  |  |  450|       |    &&TARGET_TRACE_RECORD,
  |  |  451|       |    &&TARGET_TRACE_RECORD,
  |  |  452|       |    &&TARGET_TRACE_RECORD,
  |  |  453|       |    &&TARGET_TRACE_RECORD,
  |  |  454|       |    &&TARGET_TRACE_RECORD,
  |  |  455|       |    &&TARGET_TRACE_RECORD,
  |  |  456|       |    &&TARGET_TRACE_RECORD,
  |  |  457|       |    &&TARGET_TRACE_RECORD,
  |  |  458|       |    &&TARGET_TRACE_RECORD,
  |  |  459|       |    &&TARGET_TRACE_RECORD,
  |  |  460|       |    &&TARGET_TRACE_RECORD,
  |  |  461|       |    &&TARGET_TRACE_RECORD,
  |  |  462|       |    &&TARGET_TRACE_RECORD,
  |  |  463|       |    &&TARGET_TRACE_RECORD,
  |  |  464|       |    &&TARGET_TRACE_RECORD,
  |  |  465|       |    &&TARGET_TRACE_RECORD,
  |  |  466|       |    &&TARGET_TRACE_RECORD,
  |  |  467|       |    &&TARGET_TRACE_RECORD,
  |  |  468|       |    &&TARGET_TRACE_RECORD,
  |  |  469|       |    &&TARGET_TRACE_RECORD,
  |  |  470|       |    &&TARGET_TRACE_RECORD,
  |  |  471|       |    &&TARGET_TRACE_RECORD,
  |  |  472|       |    &&TARGET_TRACE_RECORD,
  |  |  473|       |    &&TARGET_TRACE_RECORD,
  |  |  474|       |    &&TARGET_TRACE_RECORD,
  |  |  475|       |    &&TARGET_TRACE_RECORD,
  |  |  476|       |    &&TARGET_TRACE_RECORD,
  |  |  477|       |    &&TARGET_TRACE_RECORD,
  |  |  478|       |    &&TARGET_TRACE_RECORD,
  |  |  479|       |    &&TARGET_TRACE_RECORD,
  |  |  480|       |    &&TARGET_TRACE_RECORD,
  |  |  481|       |    &&_unknown_opcode,
  |  |  482|       |    &&_unknown_opcode,
  |  |  483|       |    &&_unknown_opcode,
  |  |  484|       |    &&_unknown_opcode,
  |  |  485|       |    &&_unknown_opcode,
  |  |  486|       |    &&_unknown_opcode,
  |  |  487|       |    &&_unknown_opcode,
  |  |  488|       |    &&_unknown_opcode,
  |  |  489|       |    &&_unknown_opcode,
  |  |  490|       |    &&_unknown_opcode,
  |  |  491|       |    &&_unknown_opcode,
  |  |  492|       |    &&_unknown_opcode,
  |  |  493|       |    &&_unknown_opcode,
  |  |  494|       |    &&_unknown_opcode,
  |  |  495|       |    &&TARGET_TRACE_RECORD,
  |  |  496|       |    &&TARGET_TRACE_RECORD,
  |  |  497|       |    &&TARGET_TRACE_RECORD,
  |  |  498|       |    &&TARGET_TRACE_RECORD,
  |  |  499|       |    &&TARGET_TRACE_RECORD,
  |  |  500|       |    &&TARGET_TRACE_RECORD,
  |  |  501|       |    &&TARGET_TRACE_RECORD,
  |  |  502|       |    &&TARGET_TRACE_RECORD,
  |  |  503|       |    &&TARGET_TRACE_RECORD,
  |  |  504|       |    &&TARGET_TRACE_RECORD,
  |  |  505|       |    &&TARGET_TRACE_RECORD,
  |  |  506|       |    &&TARGET_TRACE_RECORD,
  |  |  507|       |    &&TARGET_TRACE_RECORD,
  |  |  508|       |    &&TARGET_TRACE_RECORD,
  |  |  509|       |    &&TARGET_TRACE_RECORD,
  |  |  510|       |    &&TARGET_TRACE_RECORD,
  |  |  511|       |    &&TARGET_TRACE_RECORD,
  |  |  512|       |    &&TARGET_TRACE_RECORD,
  |  |  513|       |    &&TARGET_TRACE_RECORD,
  |  |  514|       |    &&TARGET_TRACE_RECORD,
  |  |  515|       |    &&TARGET_TRACE_RECORD,
  |  |  516|       |    &&TARGET_TRACE_RECORD,
  |  |  517|       |    &&TARGET_TRACE_RECORD,
  |  |  518|       |};
  |  |  519|       |#endif
  |  |  520|       |#else /* _Py_TAIL_CALL_INTERP */
  |  |  521|       |static py_tail_call_funcptr instruction_funcptr_handler_table[256];
  |  |  522|       |
  |  |  523|       |static py_tail_call_funcptr instruction_funcptr_tracing_table[256];
  |  |  524|       |
  |  |  525|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_pop_2_error(TAIL_CALL_PARAMS);
  |  |  526|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_pop_1_error(TAIL_CALL_PARAMS);
  |  |  527|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_error(TAIL_CALL_PARAMS);
  |  |  528|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_exception_unwind(TAIL_CALL_PARAMS);
  |  |  529|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_exit_unwind(TAIL_CALL_PARAMS);
  |  |  530|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_exit_unwind_notrace(TAIL_CALL_PARAMS);
  |  |  531|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_start_frame(TAIL_CALL_PARAMS);
  |  |  532|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_stop_tracing(TAIL_CALL_PARAMS);
  |  |  533|       |
  |  |  534|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP(TAIL_CALL_PARAMS);
  |  |  535|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_ADD_FLOAT(TAIL_CALL_PARAMS);
  |  |  536|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_ADD_INT(TAIL_CALL_PARAMS);
  |  |  537|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_ADD_UNICODE(TAIL_CALL_PARAMS);
  |  |  538|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_EXTEND(TAIL_CALL_PARAMS);
  |  |  539|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_INPLACE_ADD_UNICODE(TAIL_CALL_PARAMS);
  |  |  540|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_MULTIPLY_FLOAT(TAIL_CALL_PARAMS);
  |  |  541|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_MULTIPLY_INT(TAIL_CALL_PARAMS);
  |  |  542|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBSCR_DICT(TAIL_CALL_PARAMS);
  |  |  543|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBSCR_GETITEM(TAIL_CALL_PARAMS);
  |  |  544|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBSCR_LIST_INT(TAIL_CALL_PARAMS);
  |  |  545|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBSCR_LIST_SLICE(TAIL_CALL_PARAMS);
  |  |  546|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBSCR_STR_INT(TAIL_CALL_PARAMS);
  |  |  547|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBSCR_TUPLE_INT(TAIL_CALL_PARAMS);
  |  |  548|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBSCR_USTR_INT(TAIL_CALL_PARAMS);
  |  |  549|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBTRACT_FLOAT(TAIL_CALL_PARAMS);
  |  |  550|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_OP_SUBTRACT_INT(TAIL_CALL_PARAMS);
  |  |  551|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BINARY_SLICE(TAIL_CALL_PARAMS);
  |  |  552|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_INTERPOLATION(TAIL_CALL_PARAMS);
  |  |  553|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_LIST(TAIL_CALL_PARAMS);
  |  |  554|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_MAP(TAIL_CALL_PARAMS);
  |  |  555|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_SET(TAIL_CALL_PARAMS);
  |  |  556|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_SLICE(TAIL_CALL_PARAMS);
  |  |  557|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_STRING(TAIL_CALL_PARAMS);
  |  |  558|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_TEMPLATE(TAIL_CALL_PARAMS);
  |  |  559|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_BUILD_TUPLE(TAIL_CALL_PARAMS);
  |  |  560|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CACHE(TAIL_CALL_PARAMS);
  |  |  561|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL(TAIL_CALL_PARAMS);
  |  |  562|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_ALLOC_AND_ENTER_INIT(TAIL_CALL_PARAMS);
  |  |  563|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_BOUND_METHOD_EXACT_ARGS(TAIL_CALL_PARAMS);
  |  |  564|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_BOUND_METHOD_GENERAL(TAIL_CALL_PARAMS);
  |  |  565|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_BUILTIN_CLASS(TAIL_CALL_PARAMS);
  |  |  566|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_BUILTIN_FAST(TAIL_CALL_PARAMS);
  |  |  567|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_BUILTIN_FAST_WITH_KEYWORDS(TAIL_CALL_PARAMS);
  |  |  568|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_BUILTIN_O(TAIL_CALL_PARAMS);
  |  |  569|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_EX_NON_PY_GENERAL(TAIL_CALL_PARAMS);
  |  |  570|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_EX_PY(TAIL_CALL_PARAMS);
  |  |  571|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_FUNCTION_EX(TAIL_CALL_PARAMS);
  |  |  572|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_INTRINSIC_1(TAIL_CALL_PARAMS);
  |  |  573|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_INTRINSIC_2(TAIL_CALL_PARAMS);
  |  |  574|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_ISINSTANCE(TAIL_CALL_PARAMS);
  |  |  575|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_KW(TAIL_CALL_PARAMS);
  |  |  576|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_KW_BOUND_METHOD(TAIL_CALL_PARAMS);
  |  |  577|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_KW_NON_PY(TAIL_CALL_PARAMS);
  |  |  578|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_KW_PY(TAIL_CALL_PARAMS);
  |  |  579|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_LEN(TAIL_CALL_PARAMS);
  |  |  580|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_LIST_APPEND(TAIL_CALL_PARAMS);
  |  |  581|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_METHOD_DESCRIPTOR_FAST(TAIL_CALL_PARAMS);
  |  |  582|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS(TAIL_CALL_PARAMS);
  |  |  583|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_METHOD_DESCRIPTOR_NOARGS(TAIL_CALL_PARAMS);
  |  |  584|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_METHOD_DESCRIPTOR_O(TAIL_CALL_PARAMS);
  |  |  585|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_NON_PY_GENERAL(TAIL_CALL_PARAMS);
  |  |  586|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_PY_EXACT_ARGS(TAIL_CALL_PARAMS);
  |  |  587|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_PY_GENERAL(TAIL_CALL_PARAMS);
  |  |  588|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_STR_1(TAIL_CALL_PARAMS);
  |  |  589|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_TUPLE_1(TAIL_CALL_PARAMS);
  |  |  590|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CALL_TYPE_1(TAIL_CALL_PARAMS);
  |  |  591|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CHECK_EG_MATCH(TAIL_CALL_PARAMS);
  |  |  592|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CHECK_EXC_MATCH(TAIL_CALL_PARAMS);
  |  |  593|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CLEANUP_THROW(TAIL_CALL_PARAMS);
  |  |  594|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_COMPARE_OP(TAIL_CALL_PARAMS);
  |  |  595|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_COMPARE_OP_FLOAT(TAIL_CALL_PARAMS);
  |  |  596|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_COMPARE_OP_INT(TAIL_CALL_PARAMS);
  |  |  597|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_COMPARE_OP_STR(TAIL_CALL_PARAMS);
  |  |  598|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CONTAINS_OP(TAIL_CALL_PARAMS);
  |  |  599|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CONTAINS_OP_DICT(TAIL_CALL_PARAMS);
  |  |  600|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CONTAINS_OP_SET(TAIL_CALL_PARAMS);
  |  |  601|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_CONVERT_VALUE(TAIL_CALL_PARAMS);
  |  |  602|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_COPY(TAIL_CALL_PARAMS);
  |  |  603|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_COPY_FREE_VARS(TAIL_CALL_PARAMS);
  |  |  604|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DELETE_DEREF(TAIL_CALL_PARAMS);
  |  |  605|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DELETE_FAST(TAIL_CALL_PARAMS);
  |  |  606|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DELETE_SUBSCR(TAIL_CALL_PARAMS);
  |  |  607|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DICT_MERGE(TAIL_CALL_PARAMS);
  |  |  608|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_DICT_UPDATE(TAIL_CALL_PARAMS);
  |  |  609|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_END_ASYNC_FOR(TAIL_CALL_PARAMS);
  |  |  610|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_END_FOR(TAIL_CALL_PARAMS);
  |  |  611|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_END_SEND(TAIL_CALL_PARAMS);
  |  |  612|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_ENTER_EXECUTOR(TAIL_CALL_PARAMS);
  |  |  613|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_EXIT_INIT_CHECK(TAIL_CALL_PARAMS);
  |  |  614|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_EXTENDED_ARG(TAIL_CALL_PARAMS);
  |  |  615|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FORMAT_SIMPLE(TAIL_CALL_PARAMS);
  |  |  616|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FORMAT_WITH_SPEC(TAIL_CALL_PARAMS);
  |  |  617|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER(TAIL_CALL_PARAMS);
  |  |  618|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_GEN(TAIL_CALL_PARAMS);
  |  |  619|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_LIST(TAIL_CALL_PARAMS);
  |  |  620|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_RANGE(TAIL_CALL_PARAMS);
  |  |  621|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_TUPLE(TAIL_CALL_PARAMS);
  |  |  622|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_FOR_ITER_VIRTUAL(TAIL_CALL_PARAMS);
  |  |  623|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_AITER(TAIL_CALL_PARAMS);
  |  |  624|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_ANEXT(TAIL_CALL_PARAMS);
  |  |  625|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_AWAITABLE(TAIL_CALL_PARAMS);
  |  |  626|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_ITER(TAIL_CALL_PARAMS);
  |  |  627|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_ITER_SELF(TAIL_CALL_PARAMS);
  |  |  628|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_ITER_VIRTUAL(TAIL_CALL_PARAMS);
  |  |  629|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_GET_LEN(TAIL_CALL_PARAMS);
  |  |  630|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_IMPORT_FROM(TAIL_CALL_PARAMS);
  |  |  631|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_IMPORT_NAME(TAIL_CALL_PARAMS);
  |  |  632|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_CALL(TAIL_CALL_PARAMS);
  |  |  633|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_CALL_FUNCTION_EX(TAIL_CALL_PARAMS);
  |  |  634|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_CALL_KW(TAIL_CALL_PARAMS);
  |  |  635|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_END_ASYNC_FOR(TAIL_CALL_PARAMS);
  |  |  636|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_END_FOR(TAIL_CALL_PARAMS);
  |  |  637|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_END_SEND(TAIL_CALL_PARAMS);
  |  |  638|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_FOR_ITER(TAIL_CALL_PARAMS);
  |  |  639|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_INSTRUCTION(TAIL_CALL_PARAMS);
  |  |  640|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_JUMP_BACKWARD(TAIL_CALL_PARAMS);
  |  |  641|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_JUMP_FORWARD(TAIL_CALL_PARAMS);
  |  |  642|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_LINE(TAIL_CALL_PARAMS);
  |  |  643|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_LOAD_SUPER_ATTR(TAIL_CALL_PARAMS);
  |  |  644|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_NOT_TAKEN(TAIL_CALL_PARAMS);
  |  |  645|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_ITER(TAIL_CALL_PARAMS);
  |  |  646|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_FALSE(TAIL_CALL_PARAMS);
  |  |  647|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_NONE(TAIL_CALL_PARAMS);
  |  |  648|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_NOT_NONE(TAIL_CALL_PARAMS);
  |  |  649|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_TRUE(TAIL_CALL_PARAMS);
  |  |  650|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_RESUME(TAIL_CALL_PARAMS);
  |  |  651|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_RETURN_VALUE(TAIL_CALL_PARAMS);
  |  |  652|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INSTRUMENTED_YIELD_VALUE(TAIL_CALL_PARAMS);
  |  |  653|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_INTERPRETER_EXIT(TAIL_CALL_PARAMS);
  |  |  654|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_IS_OP(TAIL_CALL_PARAMS);
  |  |  655|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_BACKWARD(TAIL_CALL_PARAMS);
  |  |  656|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_BACKWARD_JIT(TAIL_CALL_PARAMS);
  |  |  657|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_BACKWARD_NO_INTERRUPT(TAIL_CALL_PARAMS);
  |  |  658|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_BACKWARD_NO_JIT(TAIL_CALL_PARAMS);
  |  |  659|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_JUMP_FORWARD(TAIL_CALL_PARAMS);
  |  |  660|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LIST_APPEND(TAIL_CALL_PARAMS);
  |  |  661|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LIST_EXTEND(TAIL_CALL_PARAMS);
  |  |  662|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR(TAIL_CALL_PARAMS);
  |  |  663|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_CLASS(TAIL_CALL_PARAMS);
  |  |  664|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK(TAIL_CALL_PARAMS);
  |  |  665|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN(TAIL_CALL_PARAMS);
  |  |  666|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_INSTANCE_VALUE(TAIL_CALL_PARAMS);
  |  |  667|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_METHOD_LAZY_DICT(TAIL_CALL_PARAMS);
  |  |  668|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_METHOD_NO_DICT(TAIL_CALL_PARAMS);
  |  |  669|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_METHOD_WITH_VALUES(TAIL_CALL_PARAMS);
  |  |  670|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_MODULE(TAIL_CALL_PARAMS);
  |  |  671|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_NONDESCRIPTOR_NO_DICT(TAIL_CALL_PARAMS);
  |  |  672|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES(TAIL_CALL_PARAMS);
  |  |  673|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_PROPERTY(TAIL_CALL_PARAMS);
  |  |  674|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_SLOT(TAIL_CALL_PARAMS);
  |  |  675|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_ATTR_WITH_HINT(TAIL_CALL_PARAMS);
  |  |  676|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_BUILD_CLASS(TAIL_CALL_PARAMS);
  |  |  677|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_COMMON_CONSTANT(TAIL_CALL_PARAMS);
  |  |  678|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_CONST(TAIL_CALL_PARAMS);
  |  |  679|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_DEREF(TAIL_CALL_PARAMS);
  |  |  680|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST(TAIL_CALL_PARAMS);
  |  |  681|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_AND_CLEAR(TAIL_CALL_PARAMS);
  |  |  682|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_BORROW(TAIL_CALL_PARAMS);
  |  |  683|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_BORROW_LOAD_FAST_BORROW(TAIL_CALL_PARAMS);
  |  |  684|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_CHECK(TAIL_CALL_PARAMS);
  |  |  685|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FAST_LOAD_FAST(TAIL_CALL_PARAMS);
  |  |  686|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FROM_DICT_OR_DEREF(TAIL_CALL_PARAMS);
  |  |  687|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_FROM_DICT_OR_GLOBALS(TAIL_CALL_PARAMS);
  |  |  688|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_GLOBAL(TAIL_CALL_PARAMS);
  |  |  689|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_GLOBAL_BUILTIN(TAIL_CALL_PARAMS);
  |  |  690|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_GLOBAL_MODULE(TAIL_CALL_PARAMS);
  |  |  691|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_LOCALS(TAIL_CALL_PARAMS);
  |  |  692|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_NAME(TAIL_CALL_PARAMS);
  |  |  693|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SMALL_INT(TAIL_CALL_PARAMS);
  |  |  694|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SPECIAL(TAIL_CALL_PARAMS);
  |  |  695|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SUPER_ATTR(TAIL_CALL_PARAMS);
  |  |  696|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SUPER_ATTR_ATTR(TAIL_CALL_PARAMS);
  |  |  697|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_LOAD_SUPER_ATTR_METHOD(TAIL_CALL_PARAMS);
  |  |  698|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MAKE_CELL(TAIL_CALL_PARAMS);
  |  |  699|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MAKE_FUNCTION(TAIL_CALL_PARAMS);
  |  |  700|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MAP_ADD(TAIL_CALL_PARAMS);
  |  |  701|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MATCH_CLASS(TAIL_CALL_PARAMS);
  |  |  702|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MATCH_KEYS(TAIL_CALL_PARAMS);
  |  |  703|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MATCH_MAPPING(TAIL_CALL_PARAMS);
  |  |  704|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_MATCH_SEQUENCE(TAIL_CALL_PARAMS);
  |  |  705|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_NOP(TAIL_CALL_PARAMS);
  |  |  706|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_NOT_TAKEN(TAIL_CALL_PARAMS);
  |  |  707|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_EXCEPT(TAIL_CALL_PARAMS);
  |  |  708|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_ITER(TAIL_CALL_PARAMS);
  |  |  709|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_JUMP_IF_FALSE(TAIL_CALL_PARAMS);
  |  |  710|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_JUMP_IF_NONE(TAIL_CALL_PARAMS);
  |  |  711|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_JUMP_IF_NOT_NONE(TAIL_CALL_PARAMS);
  |  |  712|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_JUMP_IF_TRUE(TAIL_CALL_PARAMS);
  |  |  713|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_POP_TOP(TAIL_CALL_PARAMS);
  |  |  714|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_PUSH_EXC_INFO(TAIL_CALL_PARAMS);
  |  |  715|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_PUSH_NULL(TAIL_CALL_PARAMS);
  |  |  716|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RAISE_VARARGS(TAIL_CALL_PARAMS);
  |  |  717|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RERAISE(TAIL_CALL_PARAMS);
  |  |  718|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RESERVED(TAIL_CALL_PARAMS);
  |  |  719|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RESUME(TAIL_CALL_PARAMS);
  |  |  720|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RESUME_CHECK(TAIL_CALL_PARAMS);
  |  |  721|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RESUME_CHECK_JIT(TAIL_CALL_PARAMS);
  |  |  722|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RETURN_GENERATOR(TAIL_CALL_PARAMS);
  |  |  723|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_RETURN_VALUE(TAIL_CALL_PARAMS);
  |  |  724|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SEND(TAIL_CALL_PARAMS);
  |  |  725|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SEND_ASYNC_GEN(TAIL_CALL_PARAMS);
  |  |  726|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SEND_GEN(TAIL_CALL_PARAMS);
  |  |  727|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SEND_VIRTUAL(TAIL_CALL_PARAMS);
  |  |  728|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SETUP_ANNOTATIONS(TAIL_CALL_PARAMS);
  |  |  729|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SET_ADD(TAIL_CALL_PARAMS);
  |  |  730|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SET_FUNCTION_ATTRIBUTE(TAIL_CALL_PARAMS);
  |  |  731|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SET_UPDATE(TAIL_CALL_PARAMS);
  |  |  732|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_ATTR(TAIL_CALL_PARAMS);
  |  |  733|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_ATTR_INSTANCE_VALUE(TAIL_CALL_PARAMS);
  |  |  734|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_ATTR_SLOT(TAIL_CALL_PARAMS);
  |  |  735|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_ATTR_WITH_HINT(TAIL_CALL_PARAMS);
  |  |  736|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_DEREF(TAIL_CALL_PARAMS);
  |  |  737|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_FAST(TAIL_CALL_PARAMS);
  |  |  738|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_FAST_LOAD_FAST(TAIL_CALL_PARAMS);
  |  |  739|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_FAST_STORE_FAST(TAIL_CALL_PARAMS);
  |  |  740|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_GLOBAL(TAIL_CALL_PARAMS);
  |  |  741|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_NAME(TAIL_CALL_PARAMS);
  |  |  742|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_SLICE(TAIL_CALL_PARAMS);
  |  |  743|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_SUBSCR(TAIL_CALL_PARAMS);
  |  |  744|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_SUBSCR_DICT(TAIL_CALL_PARAMS);
  |  |  745|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_STORE_SUBSCR_LIST_INT(TAIL_CALL_PARAMS);
  |  |  746|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_SWAP(TAIL_CALL_PARAMS);
  |  |  747|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL(TAIL_CALL_PARAMS);
  |  |  748|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_ALWAYS_TRUE(TAIL_CALL_PARAMS);
  |  |  749|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_BOOL(TAIL_CALL_PARAMS);
  |  |  750|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_INT(TAIL_CALL_PARAMS);
  |  |  751|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_LIST(TAIL_CALL_PARAMS);
  |  |  752|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_NONE(TAIL_CALL_PARAMS);
  |  |  753|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TO_BOOL_STR(TAIL_CALL_PARAMS);
  |  |  754|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_TRACE_RECORD(TAIL_CALL_PARAMS);
  |  |  755|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNARY_INVERT(TAIL_CALL_PARAMS);
  |  |  756|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNARY_NEGATIVE(TAIL_CALL_PARAMS);
  |  |  757|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNARY_NOT(TAIL_CALL_PARAMS);
  |  |  758|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_EX(TAIL_CALL_PARAMS);
  |  |  759|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_SEQUENCE(TAIL_CALL_PARAMS);
  |  |  760|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_SEQUENCE_LIST(TAIL_CALL_PARAMS);
  |  |  761|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_SEQUENCE_TUPLE(TAIL_CALL_PARAMS);
  |  |  762|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNPACK_SEQUENCE_TWO_TUPLE(TAIL_CALL_PARAMS);
  |  |  763|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_WITH_EXCEPT_START(TAIL_CALL_PARAMS);
  |  |  764|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_YIELD_VALUE(TAIL_CALL_PARAMS);
  |  |  765|       |
  |  |  766|       |static PyObject *Py_PRESERVE_NONE_CC _TAIL_CALL_UNKNOWN_OPCODE(TAIL_CALL_PARAMS) {
  |  |  767|       |    int opcode = next_instr->op.code;
  |  |  768|       |    _PyErr_Format(tstate, PyExc_SystemError,
  |  |  769|       |              "%U:%d: unknown opcode %d",
  |  |  770|       |              _PyFrame_GetCode(frame)->co_filename,
  |  |  771|       |              PyUnstable_InterpreterFrame_GetLine(frame),
  |  |  772|       |              opcode);
  |  |  773|       |JUMP_TO_LABEL(error);
  |  |  774|       |}
  |  |  775|       |
  |  |  776|       |static py_tail_call_funcptr instruction_funcptr_handler_table[256] = {
  |  |  777|       |    [BINARY_OP] = _TAIL_CALL_BINARY_OP,
  |  |  778|       |    [BINARY_OP_ADD_FLOAT] = _TAIL_CALL_BINARY_OP_ADD_FLOAT,
  |  |  779|       |    [BINARY_OP_ADD_INT] = _TAIL_CALL_BINARY_OP_ADD_INT,
  |  |  780|       |    [BINARY_OP_ADD_UNICODE] = _TAIL_CALL_BINARY_OP_ADD_UNICODE,
  |  |  781|       |    [BINARY_OP_EXTEND] = _TAIL_CALL_BINARY_OP_EXTEND,
  |  |  782|       |    [BINARY_OP_INPLACE_ADD_UNICODE] = _TAIL_CALL_BINARY_OP_INPLACE_ADD_UNICODE,
  |  |  783|       |    [BINARY_OP_MULTIPLY_FLOAT] = _TAIL_CALL_BINARY_OP_MULTIPLY_FLOAT,
  |  |  784|       |    [BINARY_OP_MULTIPLY_INT] = _TAIL_CALL_BINARY_OP_MULTIPLY_INT,
  |  |  785|       |    [BINARY_OP_SUBSCR_DICT] = _TAIL_CALL_BINARY_OP_SUBSCR_DICT,
  |  |  786|       |    [BINARY_OP_SUBSCR_GETITEM] = _TAIL_CALL_BINARY_OP_SUBSCR_GETITEM,
  |  |  787|       |    [BINARY_OP_SUBSCR_LIST_INT] = _TAIL_CALL_BINARY_OP_SUBSCR_LIST_INT,
  |  |  788|       |    [BINARY_OP_SUBSCR_LIST_SLICE] = _TAIL_CALL_BINARY_OP_SUBSCR_LIST_SLICE,
  |  |  789|       |    [BINARY_OP_SUBSCR_STR_INT] = _TAIL_CALL_BINARY_OP_SUBSCR_STR_INT,
  |  |  790|       |    [BINARY_OP_SUBSCR_TUPLE_INT] = _TAIL_CALL_BINARY_OP_SUBSCR_TUPLE_INT,
  |  |  791|       |    [BINARY_OP_SUBSCR_USTR_INT] = _TAIL_CALL_BINARY_OP_SUBSCR_USTR_INT,
  |  |  792|       |    [BINARY_OP_SUBTRACT_FLOAT] = _TAIL_CALL_BINARY_OP_SUBTRACT_FLOAT,
  |  |  793|       |    [BINARY_OP_SUBTRACT_INT] = _TAIL_CALL_BINARY_OP_SUBTRACT_INT,
  |  |  794|       |    [BINARY_SLICE] = _TAIL_CALL_BINARY_SLICE,
  |  |  795|       |    [BUILD_INTERPOLATION] = _TAIL_CALL_BUILD_INTERPOLATION,
  |  |  796|       |    [BUILD_LIST] = _TAIL_CALL_BUILD_LIST,
  |  |  797|       |    [BUILD_MAP] = _TAIL_CALL_BUILD_MAP,
  |  |  798|       |    [BUILD_SET] = _TAIL_CALL_BUILD_SET,
  |  |  799|       |    [BUILD_SLICE] = _TAIL_CALL_BUILD_SLICE,
  |  |  800|       |    [BUILD_STRING] = _TAIL_CALL_BUILD_STRING,
  |  |  801|       |    [BUILD_TEMPLATE] = _TAIL_CALL_BUILD_TEMPLATE,
  |  |  802|       |    [BUILD_TUPLE] = _TAIL_CALL_BUILD_TUPLE,
  |  |  803|       |    [CACHE] = _TAIL_CALL_CACHE,
  |  |  804|       |    [CALL] = _TAIL_CALL_CALL,
  |  |  805|       |    [CALL_ALLOC_AND_ENTER_INIT] = _TAIL_CALL_CALL_ALLOC_AND_ENTER_INIT,
  |  |  806|       |    [CALL_BOUND_METHOD_EXACT_ARGS] = _TAIL_CALL_CALL_BOUND_METHOD_EXACT_ARGS,
  |  |  807|       |    [CALL_BOUND_METHOD_GENERAL] = _TAIL_CALL_CALL_BOUND_METHOD_GENERAL,
  |  |  808|       |    [CALL_BUILTIN_CLASS] = _TAIL_CALL_CALL_BUILTIN_CLASS,
  |  |  809|       |    [CALL_BUILTIN_FAST] = _TAIL_CALL_CALL_BUILTIN_FAST,
  |  |  810|       |    [CALL_BUILTIN_FAST_WITH_KEYWORDS] = _TAIL_CALL_CALL_BUILTIN_FAST_WITH_KEYWORDS,
  |  |  811|       |    [CALL_BUILTIN_O] = _TAIL_CALL_CALL_BUILTIN_O,
  |  |  812|       |    [CALL_EX_NON_PY_GENERAL] = _TAIL_CALL_CALL_EX_NON_PY_GENERAL,
  |  |  813|       |    [CALL_EX_PY] = _TAIL_CALL_CALL_EX_PY,
  |  |  814|       |    [CALL_FUNCTION_EX] = _TAIL_CALL_CALL_FUNCTION_EX,
  |  |  815|       |    [CALL_INTRINSIC_1] = _TAIL_CALL_CALL_INTRINSIC_1,
  |  |  816|       |    [CALL_INTRINSIC_2] = _TAIL_CALL_CALL_INTRINSIC_2,
  |  |  817|       |    [CALL_ISINSTANCE] = _TAIL_CALL_CALL_ISINSTANCE,
  |  |  818|       |    [CALL_KW] = _TAIL_CALL_CALL_KW,
  |  |  819|       |    [CALL_KW_BOUND_METHOD] = _TAIL_CALL_CALL_KW_BOUND_METHOD,
  |  |  820|       |    [CALL_KW_NON_PY] = _TAIL_CALL_CALL_KW_NON_PY,
  |  |  821|       |    [CALL_KW_PY] = _TAIL_CALL_CALL_KW_PY,
  |  |  822|       |    [CALL_LEN] = _TAIL_CALL_CALL_LEN,
  |  |  823|       |    [CALL_LIST_APPEND] = _TAIL_CALL_CALL_LIST_APPEND,
  |  |  824|       |    [CALL_METHOD_DESCRIPTOR_FAST] = _TAIL_CALL_CALL_METHOD_DESCRIPTOR_FAST,
  |  |  825|       |    [CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS] = _TAIL_CALL_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
  |  |  826|       |    [CALL_METHOD_DESCRIPTOR_NOARGS] = _TAIL_CALL_CALL_METHOD_DESCRIPTOR_NOARGS,
  |  |  827|       |    [CALL_METHOD_DESCRIPTOR_O] = _TAIL_CALL_CALL_METHOD_DESCRIPTOR_O,
  |  |  828|       |    [CALL_NON_PY_GENERAL] = _TAIL_CALL_CALL_NON_PY_GENERAL,
  |  |  829|       |    [CALL_PY_EXACT_ARGS] = _TAIL_CALL_CALL_PY_EXACT_ARGS,
  |  |  830|       |    [CALL_PY_GENERAL] = _TAIL_CALL_CALL_PY_GENERAL,
  |  |  831|       |    [CALL_STR_1] = _TAIL_CALL_CALL_STR_1,
  |  |  832|       |    [CALL_TUPLE_1] = _TAIL_CALL_CALL_TUPLE_1,
  |  |  833|       |    [CALL_TYPE_1] = _TAIL_CALL_CALL_TYPE_1,
  |  |  834|       |    [CHECK_EG_MATCH] = _TAIL_CALL_CHECK_EG_MATCH,
  |  |  835|       |    [CHECK_EXC_MATCH] = _TAIL_CALL_CHECK_EXC_MATCH,
  |  |  836|       |    [CLEANUP_THROW] = _TAIL_CALL_CLEANUP_THROW,
  |  |  837|       |    [COMPARE_OP] = _TAIL_CALL_COMPARE_OP,
  |  |  838|       |    [COMPARE_OP_FLOAT] = _TAIL_CALL_COMPARE_OP_FLOAT,
  |  |  839|       |    [COMPARE_OP_INT] = _TAIL_CALL_COMPARE_OP_INT,
  |  |  840|       |    [COMPARE_OP_STR] = _TAIL_CALL_COMPARE_OP_STR,
  |  |  841|       |    [CONTAINS_OP] = _TAIL_CALL_CONTAINS_OP,
  |  |  842|       |    [CONTAINS_OP_DICT] = _TAIL_CALL_CONTAINS_OP_DICT,
  |  |  843|       |    [CONTAINS_OP_SET] = _TAIL_CALL_CONTAINS_OP_SET,
  |  |  844|       |    [CONVERT_VALUE] = _TAIL_CALL_CONVERT_VALUE,
  |  |  845|       |    [COPY] = _TAIL_CALL_COPY,
  |  |  846|       |    [COPY_FREE_VARS] = _TAIL_CALL_COPY_FREE_VARS,
  |  |  847|       |    [DELETE_DEREF] = _TAIL_CALL_DELETE_DEREF,
  |  |  848|       |    [DELETE_FAST] = _TAIL_CALL_DELETE_FAST,
  |  |  849|       |    [DELETE_SUBSCR] = _TAIL_CALL_DELETE_SUBSCR,
  |  |  850|       |    [DICT_MERGE] = _TAIL_CALL_DICT_MERGE,
  |  |  851|       |    [DICT_UPDATE] = _TAIL_CALL_DICT_UPDATE,
  |  |  852|       |    [END_ASYNC_FOR] = _TAIL_CALL_END_ASYNC_FOR,
  |  |  853|       |    [END_FOR] = _TAIL_CALL_END_FOR,
  |  |  854|       |    [END_SEND] = _TAIL_CALL_END_SEND,
  |  |  855|       |    [ENTER_EXECUTOR] = _TAIL_CALL_ENTER_EXECUTOR,
  |  |  856|       |    [EXIT_INIT_CHECK] = _TAIL_CALL_EXIT_INIT_CHECK,
  |  |  857|       |    [EXTENDED_ARG] = _TAIL_CALL_EXTENDED_ARG,
  |  |  858|       |    [FORMAT_SIMPLE] = _TAIL_CALL_FORMAT_SIMPLE,
  |  |  859|       |    [FORMAT_WITH_SPEC] = _TAIL_CALL_FORMAT_WITH_SPEC,
  |  |  860|       |    [FOR_ITER] = _TAIL_CALL_FOR_ITER,
  |  |  861|       |    [FOR_ITER_GEN] = _TAIL_CALL_FOR_ITER_GEN,
  |  |  862|       |    [FOR_ITER_LIST] = _TAIL_CALL_FOR_ITER_LIST,
  |  |  863|       |    [FOR_ITER_RANGE] = _TAIL_CALL_FOR_ITER_RANGE,
  |  |  864|       |    [FOR_ITER_TUPLE] = _TAIL_CALL_FOR_ITER_TUPLE,
  |  |  865|       |    [FOR_ITER_VIRTUAL] = _TAIL_CALL_FOR_ITER_VIRTUAL,
  |  |  866|       |    [GET_AITER] = _TAIL_CALL_GET_AITER,
  |  |  867|       |    [GET_ANEXT] = _TAIL_CALL_GET_ANEXT,
  |  |  868|       |    [GET_AWAITABLE] = _TAIL_CALL_GET_AWAITABLE,
  |  |  869|       |    [GET_ITER] = _TAIL_CALL_GET_ITER,
  |  |  870|       |    [GET_ITER_SELF] = _TAIL_CALL_GET_ITER_SELF,
  |  |  871|       |    [GET_ITER_VIRTUAL] = _TAIL_CALL_GET_ITER_VIRTUAL,
  |  |  872|       |    [GET_LEN] = _TAIL_CALL_GET_LEN,
  |  |  873|       |    [IMPORT_FROM] = _TAIL_CALL_IMPORT_FROM,
  |  |  874|       |    [IMPORT_NAME] = _TAIL_CALL_IMPORT_NAME,
  |  |  875|       |    [INSTRUMENTED_CALL] = _TAIL_CALL_INSTRUMENTED_CALL,
  |  |  876|       |    [INSTRUMENTED_CALL_FUNCTION_EX] = _TAIL_CALL_INSTRUMENTED_CALL_FUNCTION_EX,
  |  |  877|       |    [INSTRUMENTED_CALL_KW] = _TAIL_CALL_INSTRUMENTED_CALL_KW,
  |  |  878|       |    [INSTRUMENTED_END_ASYNC_FOR] = _TAIL_CALL_INSTRUMENTED_END_ASYNC_FOR,
  |  |  879|       |    [INSTRUMENTED_END_FOR] = _TAIL_CALL_INSTRUMENTED_END_FOR,
  |  |  880|       |    [INSTRUMENTED_END_SEND] = _TAIL_CALL_INSTRUMENTED_END_SEND,
  |  |  881|       |    [INSTRUMENTED_FOR_ITER] = _TAIL_CALL_INSTRUMENTED_FOR_ITER,
  |  |  882|       |    [INSTRUMENTED_INSTRUCTION] = _TAIL_CALL_INSTRUMENTED_INSTRUCTION,
  |  |  883|       |    [INSTRUMENTED_JUMP_BACKWARD] = _TAIL_CALL_INSTRUMENTED_JUMP_BACKWARD,
  |  |  884|       |    [INSTRUMENTED_JUMP_FORWARD] = _TAIL_CALL_INSTRUMENTED_JUMP_FORWARD,
  |  |  885|       |    [INSTRUMENTED_LINE] = _TAIL_CALL_INSTRUMENTED_LINE,
  |  |  886|       |    [INSTRUMENTED_LOAD_SUPER_ATTR] = _TAIL_CALL_INSTRUMENTED_LOAD_SUPER_ATTR,
  |  |  887|       |    [INSTRUMENTED_NOT_TAKEN] = _TAIL_CALL_INSTRUMENTED_NOT_TAKEN,
  |  |  888|       |    [INSTRUMENTED_POP_ITER] = _TAIL_CALL_INSTRUMENTED_POP_ITER,
  |  |  889|       |    [INSTRUMENTED_POP_JUMP_IF_FALSE] = _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_FALSE,
  |  |  890|       |    [INSTRUMENTED_POP_JUMP_IF_NONE] = _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_NONE,
  |  |  891|       |    [INSTRUMENTED_POP_JUMP_IF_NOT_NONE] = _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
  |  |  892|       |    [INSTRUMENTED_POP_JUMP_IF_TRUE] = _TAIL_CALL_INSTRUMENTED_POP_JUMP_IF_TRUE,
  |  |  893|       |    [INSTRUMENTED_RESUME] = _TAIL_CALL_INSTRUMENTED_RESUME,
  |  |  894|       |    [INSTRUMENTED_RETURN_VALUE] = _TAIL_CALL_INSTRUMENTED_RETURN_VALUE,
  |  |  895|       |    [INSTRUMENTED_YIELD_VALUE] = _TAIL_CALL_INSTRUMENTED_YIELD_VALUE,
  |  |  896|       |    [INTERPRETER_EXIT] = _TAIL_CALL_INTERPRETER_EXIT,
  |  |  897|       |    [IS_OP] = _TAIL_CALL_IS_OP,
  |  |  898|       |    [JUMP_BACKWARD] = _TAIL_CALL_JUMP_BACKWARD,
  |  |  899|       |    [JUMP_BACKWARD_JIT] = _TAIL_CALL_JUMP_BACKWARD_JIT,
  |  |  900|       |    [JUMP_BACKWARD_NO_INTERRUPT] = _TAIL_CALL_JUMP_BACKWARD_NO_INTERRUPT,
  |  |  901|       |    [JUMP_BACKWARD_NO_JIT] = _TAIL_CALL_JUMP_BACKWARD_NO_JIT,
  |  |  902|       |    [JUMP_FORWARD] = _TAIL_CALL_JUMP_FORWARD,
  |  |  903|       |    [LIST_APPEND] = _TAIL_CALL_LIST_APPEND,
  |  |  904|       |    [LIST_EXTEND] = _TAIL_CALL_LIST_EXTEND,
  |  |  905|       |    [LOAD_ATTR] = _TAIL_CALL_LOAD_ATTR,
  |  |  906|       |    [LOAD_ATTR_CLASS] = _TAIL_CALL_LOAD_ATTR_CLASS,
  |  |  907|       |    [LOAD_ATTR_CLASS_WITH_METACLASS_CHECK] = _TAIL_CALL_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK,
  |  |  908|       |    [LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN] = _TAIL_CALL_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
  |  |  909|       |    [LOAD_ATTR_INSTANCE_VALUE] = _TAIL_CALL_LOAD_ATTR_INSTANCE_VALUE,
  |  |  910|       |    [LOAD_ATTR_METHOD_LAZY_DICT] = _TAIL_CALL_LOAD_ATTR_METHOD_LAZY_DICT,
  |  |  911|       |    [LOAD_ATTR_METHOD_NO_DICT] = _TAIL_CALL_LOAD_ATTR_METHOD_NO_DICT,
  |  |  912|       |    [LOAD_ATTR_METHOD_WITH_VALUES] = _TAIL_CALL_LOAD_ATTR_METHOD_WITH_VALUES,
  |  |  913|       |    [LOAD_ATTR_MODULE] = _TAIL_CALL_LOAD_ATTR_MODULE,
  |  |  914|       |    [LOAD_ATTR_NONDESCRIPTOR_NO_DICT] = _TAIL_CALL_LOAD_ATTR_NONDESCRIPTOR_NO_DICT,
  |  |  915|       |    [LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES] = _TAIL_CALL_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES,
  |  |  916|       |    [LOAD_ATTR_PROPERTY] = _TAIL_CALL_LOAD_ATTR_PROPERTY,
  |  |  917|       |    [LOAD_ATTR_SLOT] = _TAIL_CALL_LOAD_ATTR_SLOT,
  |  |  918|       |    [LOAD_ATTR_WITH_HINT] = _TAIL_CALL_LOAD_ATTR_WITH_HINT,
  |  |  919|       |    [LOAD_BUILD_CLASS] = _TAIL_CALL_LOAD_BUILD_CLASS,
  |  |  920|       |    [LOAD_COMMON_CONSTANT] = _TAIL_CALL_LOAD_COMMON_CONSTANT,
  |  |  921|       |    [LOAD_CONST] = _TAIL_CALL_LOAD_CONST,
  |  |  922|       |    [LOAD_DEREF] = _TAIL_CALL_LOAD_DEREF,
  |  |  923|       |    [LOAD_FAST] = _TAIL_CALL_LOAD_FAST,
  |  |  924|       |    [LOAD_FAST_AND_CLEAR] = _TAIL_CALL_LOAD_FAST_AND_CLEAR,
  |  |  925|       |    [LOAD_FAST_BORROW] = _TAIL_CALL_LOAD_FAST_BORROW,
  |  |  926|       |    [LOAD_FAST_BORROW_LOAD_FAST_BORROW] = _TAIL_CALL_LOAD_FAST_BORROW_LOAD_FAST_BORROW,
  |  |  927|       |    [LOAD_FAST_CHECK] = _TAIL_CALL_LOAD_FAST_CHECK,
  |  |  928|       |    [LOAD_FAST_LOAD_FAST] = _TAIL_CALL_LOAD_FAST_LOAD_FAST,
  |  |  929|       |    [LOAD_FROM_DICT_OR_DEREF] = _TAIL_CALL_LOAD_FROM_DICT_OR_DEREF,
  |  |  930|       |    [LOAD_FROM_DICT_OR_GLOBALS] = _TAIL_CALL_LOAD_FROM_DICT_OR_GLOBALS,
  |  |  931|       |    [LOAD_GLOBAL] = _TAIL_CALL_LOAD_GLOBAL,
  |  |  932|       |    [LOAD_GLOBAL_BUILTIN] = _TAIL_CALL_LOAD_GLOBAL_BUILTIN,
  |  |  933|       |    [LOAD_GLOBAL_MODULE] = _TAIL_CALL_LOAD_GLOBAL_MODULE,
  |  |  934|       |    [LOAD_LOCALS] = _TAIL_CALL_LOAD_LOCALS,
  |  |  935|       |    [LOAD_NAME] = _TAIL_CALL_LOAD_NAME,
  |  |  936|       |    [LOAD_SMALL_INT] = _TAIL_CALL_LOAD_SMALL_INT,
  |  |  937|       |    [LOAD_SPECIAL] = _TAIL_CALL_LOAD_SPECIAL,
  |  |  938|       |    [LOAD_SUPER_ATTR] = _TAIL_CALL_LOAD_SUPER_ATTR,
  |  |  939|       |    [LOAD_SUPER_ATTR_ATTR] = _TAIL_CALL_LOAD_SUPER_ATTR_ATTR,
  |  |  940|       |    [LOAD_SUPER_ATTR_METHOD] = _TAIL_CALL_LOAD_SUPER_ATTR_METHOD,
  |  |  941|       |    [MAKE_CELL] = _TAIL_CALL_MAKE_CELL,
  |  |  942|       |    [MAKE_FUNCTION] = _TAIL_CALL_MAKE_FUNCTION,
  |  |  943|       |    [MAP_ADD] = _TAIL_CALL_MAP_ADD,
  |  |  944|       |    [MATCH_CLASS] = _TAIL_CALL_MATCH_CLASS,
  |  |  945|       |    [MATCH_KEYS] = _TAIL_CALL_MATCH_KEYS,
  |  |  946|       |    [MATCH_MAPPING] = _TAIL_CALL_MATCH_MAPPING,
  |  |  947|       |    [MATCH_SEQUENCE] = _TAIL_CALL_MATCH_SEQUENCE,
  |  |  948|       |    [NOP] = _TAIL_CALL_NOP,
  |  |  949|       |    [NOT_TAKEN] = _TAIL_CALL_NOT_TAKEN,
  |  |  950|       |    [POP_EXCEPT] = _TAIL_CALL_POP_EXCEPT,
  |  |  951|       |    [POP_ITER] = _TAIL_CALL_POP_ITER,
  |  |  952|       |    [POP_JUMP_IF_FALSE] = _TAIL_CALL_POP_JUMP_IF_FALSE,
  |  |  953|       |    [POP_JUMP_IF_NONE] = _TAIL_CALL_POP_JUMP_IF_NONE,
  |  |  954|       |    [POP_JUMP_IF_NOT_NONE] = _TAIL_CALL_POP_JUMP_IF_NOT_NONE,
  |  |  955|       |    [POP_JUMP_IF_TRUE] = _TAIL_CALL_POP_JUMP_IF_TRUE,
  |  |  956|       |    [POP_TOP] = _TAIL_CALL_POP_TOP,
  |  |  957|       |    [PUSH_EXC_INFO] = _TAIL_CALL_PUSH_EXC_INFO,
  |  |  958|       |    [PUSH_NULL] = _TAIL_CALL_PUSH_NULL,
  |  |  959|       |    [RAISE_VARARGS] = _TAIL_CALL_RAISE_VARARGS,
  |  |  960|       |    [RERAISE] = _TAIL_CALL_RERAISE,
  |  |  961|       |    [RESERVED] = _TAIL_CALL_RESERVED,
  |  |  962|       |    [RESUME] = _TAIL_CALL_RESUME,
  |  |  963|       |    [RESUME_CHECK] = _TAIL_CALL_RESUME_CHECK,
  |  |  964|       |    [RESUME_CHECK_JIT] = _TAIL_CALL_RESUME_CHECK_JIT,
  |  |  965|       |    [RETURN_GENERATOR] = _TAIL_CALL_RETURN_GENERATOR,
  |  |  966|       |    [RETURN_VALUE] = _TAIL_CALL_RETURN_VALUE,
  |  |  967|       |    [SEND] = _TAIL_CALL_SEND,
  |  |  968|       |    [SEND_ASYNC_GEN] = _TAIL_CALL_SEND_ASYNC_GEN,
  |  |  969|       |    [SEND_GEN] = _TAIL_CALL_SEND_GEN,
  |  |  970|       |    [SEND_VIRTUAL] = _TAIL_CALL_SEND_VIRTUAL,
  |  |  971|       |    [SETUP_ANNOTATIONS] = _TAIL_CALL_SETUP_ANNOTATIONS,
  |  |  972|       |    [SET_ADD] = _TAIL_CALL_SET_ADD,
  |  |  973|       |    [SET_FUNCTION_ATTRIBUTE] = _TAIL_CALL_SET_FUNCTION_ATTRIBUTE,
  |  |  974|       |    [SET_UPDATE] = _TAIL_CALL_SET_UPDATE,
  |  |  975|       |    [STORE_ATTR] = _TAIL_CALL_STORE_ATTR,
  |  |  976|       |    [STORE_ATTR_INSTANCE_VALUE] = _TAIL_CALL_STORE_ATTR_INSTANCE_VALUE,
  |  |  977|       |    [STORE_ATTR_SLOT] = _TAIL_CALL_STORE_ATTR_SLOT,
  |  |  978|       |    [STORE_ATTR_WITH_HINT] = _TAIL_CALL_STORE_ATTR_WITH_HINT,
  |  |  979|       |    [STORE_DEREF] = _TAIL_CALL_STORE_DEREF,
  |  |  980|       |    [STORE_FAST] = _TAIL_CALL_STORE_FAST,
  |  |  981|       |    [STORE_FAST_LOAD_FAST] = _TAIL_CALL_STORE_FAST_LOAD_FAST,
  |  |  982|       |    [STORE_FAST_STORE_FAST] = _TAIL_CALL_STORE_FAST_STORE_FAST,
  |  |  983|       |    [STORE_GLOBAL] = _TAIL_CALL_STORE_GLOBAL,
  |  |  984|       |    [STORE_NAME] = _TAIL_CALL_STORE_NAME,
  |  |  985|       |    [STORE_SLICE] = _TAIL_CALL_STORE_SLICE,
  |  |  986|       |    [STORE_SUBSCR] = _TAIL_CALL_STORE_SUBSCR,
  |  |  987|       |    [STORE_SUBSCR_DICT] = _TAIL_CALL_STORE_SUBSCR_DICT,
  |  |  988|       |    [STORE_SUBSCR_LIST_INT] = _TAIL_CALL_STORE_SUBSCR_LIST_INT,
  |  |  989|       |    [SWAP] = _TAIL_CALL_SWAP,
  |  |  990|       |    [TO_BOOL] = _TAIL_CALL_TO_BOOL,
  |  |  991|       |    [TO_BOOL_ALWAYS_TRUE] = _TAIL_CALL_TO_BOOL_ALWAYS_TRUE,
  |  |  992|       |    [TO_BOOL_BOOL] = _TAIL_CALL_TO_BOOL_BOOL,
  |  |  993|       |    [TO_BOOL_INT] = _TAIL_CALL_TO_BOOL_INT,
  |  |  994|       |    [TO_BOOL_LIST] = _TAIL_CALL_TO_BOOL_LIST,
  |  |  995|       |    [TO_BOOL_NONE] = _TAIL_CALL_TO_BOOL_NONE,
  |  |  996|       |    [TO_BOOL_STR] = _TAIL_CALL_TO_BOOL_STR,
  |  |  997|       |    [TRACE_RECORD] = _TAIL_CALL_TRACE_RECORD,
  |  |  998|       |    [UNARY_INVERT] = _TAIL_CALL_UNARY_INVERT,
  |  |  999|       |    [UNARY_NEGATIVE] = _TAIL_CALL_UNARY_NEGATIVE,
  |  | 1000|       |    [UNARY_NOT] = _TAIL_CALL_UNARY_NOT,
  |  | 1001|       |    [UNPACK_EX] = _TAIL_CALL_UNPACK_EX,
  |  | 1002|       |    [UNPACK_SEQUENCE] = _TAIL_CALL_UNPACK_SEQUENCE,
  |  | 1003|       |    [UNPACK_SEQUENCE_LIST] = _TAIL_CALL_UNPACK_SEQUENCE_LIST,
  |  | 1004|       |    [UNPACK_SEQUENCE_TUPLE] = _TAIL_CALL_UNPACK_SEQUENCE_TUPLE,
  |  | 1005|       |    [UNPACK_SEQUENCE_TWO_TUPLE] = _TAIL_CALL_UNPACK_SEQUENCE_TWO_TUPLE,
  |  | 1006|       |    [WITH_EXCEPT_START] = _TAIL_CALL_WITH_EXCEPT_START,
  |  | 1007|       |    [YIELD_VALUE] = _TAIL_CALL_YIELD_VALUE,
  |  | 1008|       |    [117] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1009|       |    [118] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1010|       |    [119] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1011|       |    [120] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1012|       |    [121] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1013|       |    [122] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1014|       |    [123] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1015|       |    [124] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1016|       |    [125] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1017|       |    [126] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1018|       |    [127] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1019|       |    [219] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1020|       |    [220] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1021|       |    [221] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1022|       |    [222] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1023|       |    [223] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1024|       |    [224] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1025|       |    [225] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1026|       |    [226] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1027|       |    [227] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1028|       |    [228] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1029|       |    [229] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1030|       |    [230] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1031|       |    [231] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1032|       |    [232] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1033|       |};
  |  | 1034|       |static py_tail_call_funcptr instruction_funcptr_tracing_table[256] = {
  |  | 1035|       |    [BINARY_OP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1036|       |    [BINARY_OP_ADD_FLOAT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1037|       |    [BINARY_OP_ADD_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1038|       |    [BINARY_OP_ADD_UNICODE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1039|       |    [BINARY_OP_EXTEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1040|       |    [BINARY_OP_INPLACE_ADD_UNICODE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1041|       |    [BINARY_OP_MULTIPLY_FLOAT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1042|       |    [BINARY_OP_MULTIPLY_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1043|       |    [BINARY_OP_SUBSCR_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1044|       |    [BINARY_OP_SUBSCR_GETITEM] = _TAIL_CALL_TRACE_RECORD,
  |  | 1045|       |    [BINARY_OP_SUBSCR_LIST_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1046|       |    [BINARY_OP_SUBSCR_LIST_SLICE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1047|       |    [BINARY_OP_SUBSCR_STR_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1048|       |    [BINARY_OP_SUBSCR_TUPLE_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1049|       |    [BINARY_OP_SUBSCR_USTR_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1050|       |    [BINARY_OP_SUBTRACT_FLOAT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1051|       |    [BINARY_OP_SUBTRACT_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1052|       |    [BINARY_SLICE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1053|       |    [BUILD_INTERPOLATION] = _TAIL_CALL_TRACE_RECORD,
  |  | 1054|       |    [BUILD_LIST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1055|       |    [BUILD_MAP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1056|       |    [BUILD_SET] = _TAIL_CALL_TRACE_RECORD,
  |  | 1057|       |    [BUILD_SLICE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1058|       |    [BUILD_STRING] = _TAIL_CALL_TRACE_RECORD,
  |  | 1059|       |    [BUILD_TEMPLATE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1060|       |    [BUILD_TUPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1061|       |    [CACHE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1062|       |    [CALL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1063|       |    [CALL_ALLOC_AND_ENTER_INIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1064|       |    [CALL_BOUND_METHOD_EXACT_ARGS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1065|       |    [CALL_BOUND_METHOD_GENERAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1066|       |    [CALL_BUILTIN_CLASS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1067|       |    [CALL_BUILTIN_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1068|       |    [CALL_BUILTIN_FAST_WITH_KEYWORDS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1069|       |    [CALL_BUILTIN_O] = _TAIL_CALL_TRACE_RECORD,
  |  | 1070|       |    [CALL_EX_NON_PY_GENERAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1071|       |    [CALL_EX_PY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1072|       |    [CALL_FUNCTION_EX] = _TAIL_CALL_TRACE_RECORD,
  |  | 1073|       |    [CALL_INTRINSIC_1] = _TAIL_CALL_TRACE_RECORD,
  |  | 1074|       |    [CALL_INTRINSIC_2] = _TAIL_CALL_TRACE_RECORD,
  |  | 1075|       |    [CALL_ISINSTANCE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1076|       |    [CALL_KW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1077|       |    [CALL_KW_BOUND_METHOD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1078|       |    [CALL_KW_NON_PY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1079|       |    [CALL_KW_PY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1080|       |    [CALL_LEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1081|       |    [CALL_LIST_APPEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1082|       |    [CALL_METHOD_DESCRIPTOR_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1083|       |    [CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1084|       |    [CALL_METHOD_DESCRIPTOR_NOARGS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1085|       |    [CALL_METHOD_DESCRIPTOR_O] = _TAIL_CALL_TRACE_RECORD,
  |  | 1086|       |    [CALL_NON_PY_GENERAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1087|       |    [CALL_PY_EXACT_ARGS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1088|       |    [CALL_PY_GENERAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1089|       |    [CALL_STR_1] = _TAIL_CALL_TRACE_RECORD,
  |  | 1090|       |    [CALL_TUPLE_1] = _TAIL_CALL_TRACE_RECORD,
  |  | 1091|       |    [CALL_TYPE_1] = _TAIL_CALL_TRACE_RECORD,
  |  | 1092|       |    [CHECK_EG_MATCH] = _TAIL_CALL_TRACE_RECORD,
  |  | 1093|       |    [CHECK_EXC_MATCH] = _TAIL_CALL_TRACE_RECORD,
  |  | 1094|       |    [CLEANUP_THROW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1095|       |    [COMPARE_OP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1096|       |    [COMPARE_OP_FLOAT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1097|       |    [COMPARE_OP_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1098|       |    [COMPARE_OP_STR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1099|       |    [CONTAINS_OP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1100|       |    [CONTAINS_OP_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1101|       |    [CONTAINS_OP_SET] = _TAIL_CALL_TRACE_RECORD,
  |  | 1102|       |    [CONVERT_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1103|       |    [COPY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1104|       |    [COPY_FREE_VARS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1105|       |    [DELETE_DEREF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1106|       |    [DELETE_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1107|       |    [DELETE_SUBSCR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1108|       |    [DICT_MERGE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1109|       |    [DICT_UPDATE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1110|       |    [END_ASYNC_FOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1111|       |    [END_FOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1112|       |    [END_SEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1113|       |    [ENTER_EXECUTOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1114|       |    [EXIT_INIT_CHECK] = _TAIL_CALL_TRACE_RECORD,
  |  | 1115|       |    [EXTENDED_ARG] = _TAIL_CALL_TRACE_RECORD,
  |  | 1116|       |    [FORMAT_SIMPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1117|       |    [FORMAT_WITH_SPEC] = _TAIL_CALL_TRACE_RECORD,
  |  | 1118|       |    [FOR_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1119|       |    [FOR_ITER_GEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1120|       |    [FOR_ITER_LIST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1121|       |    [FOR_ITER_RANGE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1122|       |    [FOR_ITER_TUPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1123|       |    [FOR_ITER_VIRTUAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1124|       |    [GET_AITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1125|       |    [GET_ANEXT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1126|       |    [GET_AWAITABLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1127|       |    [GET_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1128|       |    [GET_ITER_SELF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1129|       |    [GET_ITER_VIRTUAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1130|       |    [GET_LEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1131|       |    [IMPORT_FROM] = _TAIL_CALL_TRACE_RECORD,
  |  | 1132|       |    [IMPORT_NAME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1133|       |    [INSTRUMENTED_CALL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1134|       |    [INSTRUMENTED_CALL_FUNCTION_EX] = _TAIL_CALL_TRACE_RECORD,
  |  | 1135|       |    [INSTRUMENTED_CALL_KW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1136|       |    [INSTRUMENTED_END_ASYNC_FOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1137|       |    [INSTRUMENTED_END_FOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1138|       |    [INSTRUMENTED_END_SEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1139|       |    [INSTRUMENTED_FOR_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1140|       |    [INSTRUMENTED_INSTRUCTION] = _TAIL_CALL_TRACE_RECORD,
  |  | 1141|       |    [INSTRUMENTED_JUMP_BACKWARD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1142|       |    [INSTRUMENTED_JUMP_FORWARD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1143|       |    [INSTRUMENTED_LINE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1144|       |    [INSTRUMENTED_LOAD_SUPER_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1145|       |    [INSTRUMENTED_NOT_TAKEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1146|       |    [INSTRUMENTED_POP_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1147|       |    [INSTRUMENTED_POP_JUMP_IF_FALSE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1148|       |    [INSTRUMENTED_POP_JUMP_IF_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1149|       |    [INSTRUMENTED_POP_JUMP_IF_NOT_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1150|       |    [INSTRUMENTED_POP_JUMP_IF_TRUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1151|       |    [INSTRUMENTED_RESUME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1152|       |    [INSTRUMENTED_RETURN_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1153|       |    [INSTRUMENTED_YIELD_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1154|       |    [INTERPRETER_EXIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1155|       |    [IS_OP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1156|       |    [JUMP_BACKWARD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1157|       |    [JUMP_BACKWARD_JIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1158|       |    [JUMP_BACKWARD_NO_INTERRUPT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1159|       |    [JUMP_BACKWARD_NO_JIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1160|       |    [JUMP_FORWARD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1161|       |    [LIST_APPEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1162|       |    [LIST_EXTEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1163|       |    [LOAD_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1164|       |    [LOAD_ATTR_CLASS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1165|       |    [LOAD_ATTR_CLASS_WITH_METACLASS_CHECK] = _TAIL_CALL_TRACE_RECORD,
  |  | 1166|       |    [LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1167|       |    [LOAD_ATTR_INSTANCE_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1168|       |    [LOAD_ATTR_METHOD_LAZY_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1169|       |    [LOAD_ATTR_METHOD_NO_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1170|       |    [LOAD_ATTR_METHOD_WITH_VALUES] = _TAIL_CALL_TRACE_RECORD,
  |  | 1171|       |    [LOAD_ATTR_MODULE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1172|       |    [LOAD_ATTR_NONDESCRIPTOR_NO_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1173|       |    [LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES] = _TAIL_CALL_TRACE_RECORD,
  |  | 1174|       |    [LOAD_ATTR_PROPERTY] = _TAIL_CALL_TRACE_RECORD,
  |  | 1175|       |    [LOAD_ATTR_SLOT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1176|       |    [LOAD_ATTR_WITH_HINT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1177|       |    [LOAD_BUILD_CLASS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1178|       |    [LOAD_COMMON_CONSTANT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1179|       |    [LOAD_CONST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1180|       |    [LOAD_DEREF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1181|       |    [LOAD_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1182|       |    [LOAD_FAST_AND_CLEAR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1183|       |    [LOAD_FAST_BORROW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1184|       |    [LOAD_FAST_BORROW_LOAD_FAST_BORROW] = _TAIL_CALL_TRACE_RECORD,
  |  | 1185|       |    [LOAD_FAST_CHECK] = _TAIL_CALL_TRACE_RECORD,
  |  | 1186|       |    [LOAD_FAST_LOAD_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1187|       |    [LOAD_FROM_DICT_OR_DEREF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1188|       |    [LOAD_FROM_DICT_OR_GLOBALS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1189|       |    [LOAD_GLOBAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1190|       |    [LOAD_GLOBAL_BUILTIN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1191|       |    [LOAD_GLOBAL_MODULE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1192|       |    [LOAD_LOCALS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1193|       |    [LOAD_NAME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1194|       |    [LOAD_SMALL_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1195|       |    [LOAD_SPECIAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1196|       |    [LOAD_SUPER_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1197|       |    [LOAD_SUPER_ATTR_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1198|       |    [LOAD_SUPER_ATTR_METHOD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1199|       |    [MAKE_CELL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1200|       |    [MAKE_FUNCTION] = _TAIL_CALL_TRACE_RECORD,
  |  | 1201|       |    [MAP_ADD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1202|       |    [MATCH_CLASS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1203|       |    [MATCH_KEYS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1204|       |    [MATCH_MAPPING] = _TAIL_CALL_TRACE_RECORD,
  |  | 1205|       |    [MATCH_SEQUENCE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1206|       |    [NOP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1207|       |    [NOT_TAKEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1208|       |    [POP_EXCEPT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1209|       |    [POP_ITER] = _TAIL_CALL_TRACE_RECORD,
  |  | 1210|       |    [POP_JUMP_IF_FALSE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1211|       |    [POP_JUMP_IF_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1212|       |    [POP_JUMP_IF_NOT_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1213|       |    [POP_JUMP_IF_TRUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1214|       |    [POP_TOP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1215|       |    [PUSH_EXC_INFO] = _TAIL_CALL_TRACE_RECORD,
  |  | 1216|       |    [PUSH_NULL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1217|       |    [RAISE_VARARGS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1218|       |    [RERAISE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1219|       |    [RESERVED] = _TAIL_CALL_TRACE_RECORD,
  |  | 1220|       |    [RESUME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1221|       |    [RESUME_CHECK] = _TAIL_CALL_TRACE_RECORD,
  |  | 1222|       |    [RESUME_CHECK_JIT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1223|       |    [RETURN_GENERATOR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1224|       |    [RETURN_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1225|       |    [SEND] = _TAIL_CALL_TRACE_RECORD,
  |  | 1226|       |    [SEND_ASYNC_GEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1227|       |    [SEND_GEN] = _TAIL_CALL_TRACE_RECORD,
  |  | 1228|       |    [SEND_VIRTUAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1229|       |    [SETUP_ANNOTATIONS] = _TAIL_CALL_TRACE_RECORD,
  |  | 1230|       |    [SET_ADD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1231|       |    [SET_FUNCTION_ATTRIBUTE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1232|       |    [SET_UPDATE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1233|       |    [STORE_ATTR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1234|       |    [STORE_ATTR_INSTANCE_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1235|       |    [STORE_ATTR_SLOT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1236|       |    [STORE_ATTR_WITH_HINT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1237|       |    [STORE_DEREF] = _TAIL_CALL_TRACE_RECORD,
  |  | 1238|       |    [STORE_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1239|       |    [STORE_FAST_LOAD_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1240|       |    [STORE_FAST_STORE_FAST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1241|       |    [STORE_GLOBAL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1242|       |    [STORE_NAME] = _TAIL_CALL_TRACE_RECORD,
  |  | 1243|       |    [STORE_SLICE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1244|       |    [STORE_SUBSCR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1245|       |    [STORE_SUBSCR_DICT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1246|       |    [STORE_SUBSCR_LIST_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1247|       |    [SWAP] = _TAIL_CALL_TRACE_RECORD,
  |  | 1248|       |    [TO_BOOL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1249|       |    [TO_BOOL_ALWAYS_TRUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1250|       |    [TO_BOOL_BOOL] = _TAIL_CALL_TRACE_RECORD,
  |  | 1251|       |    [TO_BOOL_INT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1252|       |    [TO_BOOL_LIST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1253|       |    [TO_BOOL_NONE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1254|       |    [TO_BOOL_STR] = _TAIL_CALL_TRACE_RECORD,
  |  | 1255|       |    [TRACE_RECORD] = _TAIL_CALL_TRACE_RECORD,
  |  | 1256|       |    [UNARY_INVERT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1257|       |    [UNARY_NEGATIVE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1258|       |    [UNARY_NOT] = _TAIL_CALL_TRACE_RECORD,
  |  | 1259|       |    [UNPACK_EX] = _TAIL_CALL_TRACE_RECORD,
  |  | 1260|       |    [UNPACK_SEQUENCE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1261|       |    [UNPACK_SEQUENCE_LIST] = _TAIL_CALL_TRACE_RECORD,
  |  | 1262|       |    [UNPACK_SEQUENCE_TUPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1263|       |    [UNPACK_SEQUENCE_TWO_TUPLE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1264|       |    [WITH_EXCEPT_START] = _TAIL_CALL_TRACE_RECORD,
  |  | 1265|       |    [YIELD_VALUE] = _TAIL_CALL_TRACE_RECORD,
  |  | 1266|       |    [117] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1267|       |    [118] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1268|       |    [119] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1269|       |    [120] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1270|       |    [121] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1271|       |    [122] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1272|       |    [123] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1273|       |    [124] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1274|       |    [125] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1275|       |    [126] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1276|       |    [127] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1277|       |    [219] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1278|       |    [220] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1279|       |    [221] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1280|       |    [222] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1281|       |    [223] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1282|       |    [224] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1283|       |    [225] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1284|       |    [226] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1285|       |    [227] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1286|       |    [228] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1287|       |    [229] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1288|       |    [230] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1289|       |    [231] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1290|       |    [232] = _TAIL_CALL_UNKNOWN_OPCODE,
  |  | 1291|       |};
  |  | 1292|       |#endif /* _Py_TAIL_CALL_INTERP */
  ------------------
 1219|   207k|    void **opcode_targets = opcode_targets_table;
 1220|   207k|#endif
 1221|       |
 1222|       |#ifdef Py_STATS
 1223|       |    int lastopcode = 0;
 1224|       |#endif
 1225|   207k|#if !_Py_TAIL_CALL_INTERP
 1226|   207k|    uint8_t opcode;    /* Current opcode */
 1227|   207k|    int oparg;         /* Current opcode argument, if any */
 1228|   207k|    assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
  ------------------
  |  Branch (1228:5): [True: 0, False: 207k]
  |  Branch (1228:5): [True: 207k, False: 0]
  ------------------
 1229|       |#if !USE_COMPUTED_GOTOS
 1230|       |    uint8_t tracing_mode = 0;
 1231|       |    uint8_t dispatch_code;
 1232|       |#endif
 1233|   207k|#endif
 1234|   207k|    _PyEntryFrame entry;
 1235|       |
 1236|   207k|    if (_Py_EnterRecursiveCallTstate(tstate, "")) {
  ------------------
  |  Branch (1236:9): [True: 0, False: 207k]
  ------------------
 1237|      0|        assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (1237:9): [True: 0, False: 0]
  ------------------
 1238|      0|        _PyEval_FrameClearAndPop(tstate, frame);
 1239|      0|        return NULL;
 1240|      0|    }
 1241|       |
 1242|       |    /* Local "register" variables.
 1243|       |     * These are cached values from the frame and code object.  */
 1244|   207k|    _Py_CODEUNIT *next_instr;
 1245|   207k|    _PyStackRef *stack_pointer;
 1246|   207k|    entry.stack[0] = PyStackRef_NULL;
 1247|       |#ifdef Py_STACKREF_DEBUG
 1248|       |    entry.frame.f_funcobj = PyStackRef_None;
 1249|       |#elif defined(Py_DEBUG)
 1250|       |    /* Set these to invalid but identifiable values for debugging. */
 1251|       |    entry.frame.f_funcobj = (_PyStackRef){.bits = 0xaaa0};
 1252|       |    entry.frame.f_locals = (PyObject*)0xaaa1;
 1253|       |    entry.frame.frame_obj = (PyFrameObject*)0xaaa2;
 1254|       |    entry.frame.f_globals = (PyObject*)0xaaa3;
 1255|       |    entry.frame.f_builtins = (PyObject*)0xaaa4;
 1256|       |#endif
 1257|   207k|    entry.frame.f_executable = PyStackRef_None;
  ------------------
  |  |  485|   207k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|   207k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1258|   207k|    entry.frame.instr_ptr = (_Py_CODEUNIT *)_Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS + 1;
 1259|   207k|    entry.frame.stackpointer = entry.stack;
 1260|   207k|    entry.frame.owner = FRAME_OWNED_BY_INTERPRETER;
 1261|   207k|    entry.frame.visited = 0;
 1262|   207k|    entry.frame.return_offset = 0;
 1263|       |#ifdef Py_DEBUG
 1264|       |    entry.frame.lltrace = 0;
 1265|       |    entry.frame.stackpointer_valid = 1;
 1266|       |#endif
 1267|       |    /* Push frame */
 1268|   207k|    entry.frame.previous = tstate->current_frame;
 1269|   207k|    frame->previous = &entry.frame;
 1270|   207k|    tstate->current_frame = frame;
 1271|   207k|    entry.frame.localsplus[0] = PyStackRef_NULL;
 1272|       |#ifdef _Py_TIER2
 1273|       |    if (tstate->current_executor != NULL) {
 1274|       |        assert(Py_TYPE(tstate->current_executor) == &_PyUOpExecutor_Type);
 1275|       |        entry.frame.localsplus[0] = PyStackRef_FromPyObjectNew(tstate->current_executor);
 1276|       |        tstate->current_executor = NULL;
 1277|       |    }
 1278|       |#endif
 1279|       |
 1280|       |    /* support for generator.throw() */
 1281|   207k|    if (throwflag) {
  ------------------
  |  Branch (1281:9): [True: 0, False: 207k]
  ------------------
 1282|      0|        if (_Py_EnterRecursivePy(tstate)) {
  ------------------
  |  Branch (1282:13): [True: 0, False: 0]
  ------------------
 1283|      0|            goto early_exit;
 1284|      0|        }
 1285|       |#ifdef Py_GIL_DISABLED
 1286|       |        /* Load thread-local bytecode */
 1287|       |        if (frame->tlbc_index != ((_PyThreadStateImpl *)tstate)->tlbc_index) {
 1288|       |            _Py_CODEUNIT *bytecode =
 1289|       |                _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
 1290|       |            if (bytecode == NULL) {
 1291|       |                goto early_exit;
 1292|       |            }
 1293|       |            ptrdiff_t off = frame->instr_ptr - _PyFrame_GetBytecode(frame);
 1294|       |            frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
 1295|       |            frame->instr_ptr = bytecode + off;
 1296|       |        }
 1297|       |#endif
 1298|       |        /* Because this avoids the RESUME, we need to update instrumentation */
 1299|      0|        _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
 1300|      0|        next_instr = frame->instr_ptr;
 1301|      0|        monitor_throw(tstate, frame, next_instr);
 1302|      0|        stack_pointer = _PyFrame_GetStackPointer(frame);
 1303|      0|        _PyFrame_StackPointerInvalidate(frame);
 1304|       |#if _Py_TAIL_CALL_INTERP
 1305|       |#   if Py_STATS
 1306|       |        return _TAIL_CALL_error(frame, stack_pointer, tstate, next_instr, instruction_funcptr_handler_table, 0, lastopcode);
 1307|       |#   else
 1308|       |        return _TAIL_CALL_error(frame, stack_pointer, tstate, next_instr, instruction_funcptr_handler_table, 0);
 1309|       |#   endif
 1310|       |#else
 1311|      0|        goto error;
 1312|      0|#endif
 1313|      0|    }
 1314|       |
 1315|       |#if _Py_TAIL_CALL_INTERP
 1316|       |#   if Py_STATS
 1317|       |        return _TAIL_CALL_start_frame(frame, NULL, tstate, NULL, instruction_funcptr_handler_table, 0, lastopcode);
 1318|       |#   else
 1319|       |        return _TAIL_CALL_start_frame(frame, NULL, tstate, NULL, instruction_funcptr_handler_table, 0);
 1320|       |#   endif
 1321|       |#else
 1322|   207k|    goto start_frame;
 1323|   207k|#   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.61k|        TARGET(BINARY_OP) {
  |  |  ------------------
  |  |  |  |  132|  1.61k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |   22|       |            #if _Py_TAIL_CALL_INTERP
  |  |   23|       |            int opcode = BINARY_OP;
  |  |   24|       |            (void)(opcode);
  |  |   25|       |            #endif
  |  |   26|  1.61k|            frame->instr_ptr = next_instr;
  |  |   27|  1.61k|            next_instr += 6;
  |  |   28|  1.61k|            INSTRUCTION_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |   71|  1.61k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |   29|  1.64k|            PREDICTED_BINARY_OP:;
  |  |   30|  1.64k|            _Py_CODEUNIT* const this_instr = next_instr - 6;
  |  |   31|  1.64k|            (void)this_instr;
  |  |   32|  1.64k|            _PyStackRef lhs;
  |  |   33|  1.64k|            _PyStackRef rhs;
  |  |   34|  1.64k|            _PyStackRef res;
  |  |   35|  1.64k|            _PyStackRef l;
  |  |   36|  1.64k|            _PyStackRef r;
  |  |   37|  1.64k|            _PyStackRef value;
  |  |   38|       |            // _SPECIALIZE_BINARY_OP
  |  |   39|  1.64k|            {
  |  |   40|  1.64k|                rhs = stack_pointer[-1];
  |  |   41|  1.64k|                lhs = stack_pointer[-2];
  |  |   42|  1.64k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |   43|  1.64k|                (void)counter;
  |  |   44|  1.64k|                #if ENABLE_SPECIALIZATION
  |  |   45|  1.64k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  1.64k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 231, False: 1.41k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|    231|                    next_instr = this_instr;
  |  |   47|    231|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   48|    231|                    _PyFrame_StackPointerValidate(frame);
  |  |   49|    231|                    _Py_Specialize_BinaryOp(lhs, rhs, next_instr, oparg, LOCALS_ARRAY);
  |  |  ------------------
  |  |  |  |  284|    231|#define LOCALS_ARRAY    (frame->localsplus)
  |  |  ------------------
  |  |   50|    231|                    _PyFrame_StackPointerInvalidate(frame);
  |  |   51|    231|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    231|    { \
  |  |  |  |  217|    231|        opcode = next_instr->op.code; \
  |  |  |  |  218|    231|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    231|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    231|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    231|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    231|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    231|    }
  |  |  ------------------
  |  |   52|    231|                }
  |  |   53|  1.64k|                OPCODE_DEFERRED_INC(BINARY_OP);
  |  |  ------------------
  |  |  |  |   90|  1.64k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |   54|  1.64k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  1.64k|    do { \
  |  |  |  |  378|  1.64k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  1.64k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 1.64k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   55|  1.64k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |   56|  1.64k|                assert(NB_ADD <= oparg);
  |  |  ------------------
  |  |  |  Branch (56:17): [True: 1.41k, False: 231]
  |  |  ------------------
  |  |   57|  1.64k|                assert(oparg <= NB_OPARG_LAST);
  |  |  ------------------
  |  |  |  Branch (57:17): [True: 1.41k, False: 0]
  |  |  ------------------
  |  |   58|  1.41k|            }
  |  |   59|       |            /* Skip 4 cache entries */
  |  |   60|       |            // _BINARY_OP
  |  |   61|  1.41k|            {
  |  |   62|  1.41k|                PyObject *lhs_o = PyStackRef_AsPyObjectBorrow(lhs);
  |  |   63|  1.41k|                PyObject *rhs_o = PyStackRef_AsPyObjectBorrow(rhs);
  |  |   64|  1.41k|                assert(_PyEval_BinaryOps[oparg]);
  |  |  ------------------
  |  |  |  Branch (64:17): [True: 1.41k, False: 0]
  |  |  ------------------
  |  |   65|  1.41k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   66|  1.41k|                _PyFrame_StackPointerValidate(frame);
  |  |   67|  1.41k|                PyObject *res_o = _PyEval_BinaryOps[oparg](lhs_o, rhs_o);
  |  |   68|  1.41k|                _PyFrame_StackPointerInvalidate(frame);
  |  |   69|  1.41k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (69:21): [True: 31, False: 1.38k]
  |  |  ------------------
  |  |   70|     31|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     31|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |   71|      0|                }
  |  |   72|  1.38k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |   73|  1.38k|                l = lhs;
  |  |   74|  1.38k|                r = rhs;
  |  |   75|  1.38k|            }
  |  |   76|       |            // _POP_TOP
  |  |   77|      0|            {
  |  |   78|  1.38k|                value = r;
  |  |   79|  1.38k|                stack_pointer[-2] = res;
  |  |   80|  1.38k|                stack_pointer[-1] = l;
  |  |   81|  1.38k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (81:17): [True: 1.38k, False: 0]
  |  |  ------------------
  |  |   82|  1.38k|                _PyFrame_StackPointerValidate(frame);
  |  |   83|  1.38k|                PyStackRef_XCLOSE(value);
  |  |   84|  1.38k|                _PyFrame_StackPointerInvalidate(frame);
  |  |   85|  1.38k|            }
  |  |   86|       |            // _POP_TOP
  |  |   87|      0|            {
  |  |   88|  1.38k|                value = l;
  |  |   89|  1.38k|                stack_pointer += -1;
  |  |   90|  1.38k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.38k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |   91|  1.38k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   92|  1.38k|                _PyFrame_StackPointerValidate(frame);
  |  |   93|  1.38k|                PyStackRef_XCLOSE(value);
  |  |   94|  1.38k|                _PyFrame_StackPointerInvalidate(frame);
  |  |   95|  1.38k|            }
  |  |   96|  1.38k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.38k|    { \
  |  |  |  |  201|  1.38k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.38k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.38k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.38k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.38k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.38k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.38k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.38k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.38k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.38k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.38k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.38k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.38k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.38k|    }
  |  |  ------------------
  |  |   97|  1.38k|        }
  |  |   98|       |
  |  |   99|      0|        TARGET(BINARY_OP_ADD_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  100|       |            #if _Py_TAIL_CALL_INTERP
  |  |  101|       |            int opcode = BINARY_OP_ADD_FLOAT;
  |  |  102|       |            (void)(opcode);
  |  |  103|       |            #endif
  |  |  104|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  105|      0|            (void)this_instr;
  |  |  106|      0|            frame->instr_ptr = next_instr;
  |  |  107|      0|            next_instr += 6;
  |  |  108|      0|            INSTRUCTION_STATS(BINARY_OP_ADD_FLOAT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  109|      0|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  110|      0|            _PyStackRef value;
  |  |  111|      0|            _PyStackRef left;
  |  |  112|      0|            _PyStackRef right;
  |  |  113|      0|            _PyStackRef res;
  |  |  114|      0|            _PyStackRef l;
  |  |  115|      0|            _PyStackRef r;
  |  |  116|       |            // _GUARD_TOS_FLOAT
  |  |  117|      0|            {
  |  |  118|      0|                value = stack_pointer[-1];
  |  |  119|      0|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  120|      0|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (120:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  121|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  122|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (122:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  123|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  124|      0|                }
  |  |  125|      0|            }
  |  |  126|       |            // _GUARD_NOS_FLOAT
  |  |  127|      0|            {
  |  |  128|      0|                left = stack_pointer[-2];
  |  |  129|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  130|      0|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (130:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  131|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  132|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (132:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  133|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  134|      0|                }
  |  |  135|      0|            }
  |  |  136|       |            /* Skip 5 cache entries */
  |  |  137|       |            // _BINARY_OP_ADD_FLOAT
  |  |  138|      0|            {
  |  |  139|      0|                right = value;
  |  |  140|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  141|      0|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  142|      0|                assert(PyFloat_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (142:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  143|      0|                assert(PyFloat_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (143:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  145|      0|                double dres =
  |  |  146|      0|                ((PyFloatObject *)left_o)->ob_fval +
  |  |  147|      0|                ((PyFloatObject *)right_o)->ob_fval;
  |  |  148|      0|                PyObject *d = PyFloat_FromDouble(dres);
  |  |  149|      0|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (149:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  150|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  151|      0|                }
  |  |  152|      0|                res = PyStackRef_FromPyObjectSteal(d);
  |  |  153|      0|                l = left;
  |  |  154|      0|                r = right;
  |  |  155|      0|            }
  |  |  156|       |            // _POP_TOP_FLOAT
  |  |  157|      0|            {
  |  |  158|      0|                value = r;
  |  |  159|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (159:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  160|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  161|      0|            }
  |  |  162|       |            // _POP_TOP_FLOAT
  |  |  163|      0|            {
  |  |  164|      0|                value = l;
  |  |  165|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (165:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  166|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  167|      0|            }
  |  |  168|      0|            stack_pointer[-2] = res;
  |  |  169|      0|            stack_pointer += -1;
  |  |  170|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  171|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |  172|      0|        }
  |  |  173|       |
  |  |  174|    258|        TARGET(BINARY_OP_ADD_INT) {
  |  |  ------------------
  |  |  |  |  132|    258|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  175|       |            #if _Py_TAIL_CALL_INTERP
  |  |  176|       |            int opcode = BINARY_OP_ADD_INT;
  |  |  177|       |            (void)(opcode);
  |  |  178|       |            #endif
  |  |  179|    258|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  180|    258|            (void)this_instr;
  |  |  181|    258|            frame->instr_ptr = next_instr;
  |  |  182|    258|            next_instr += 6;
  |  |  183|    258|            INSTRUCTION_STATS(BINARY_OP_ADD_INT);
  |  |  ------------------
  |  |  |  |   71|    258|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  184|    258|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  185|    258|            _PyStackRef value;
  |  |  186|    258|            _PyStackRef left;
  |  |  187|    258|            _PyStackRef right;
  |  |  188|    258|            _PyStackRef res;
  |  |  189|    258|            _PyStackRef l;
  |  |  190|    258|            _PyStackRef r;
  |  |  191|       |            // _GUARD_TOS_INT
  |  |  192|    258|            {
  |  |  193|    258|                value = stack_pointer[-1];
  |  |  194|    258|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  195|    258|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (195:21): [True: 0, False: 258]
  |  |  ------------------
  |  |  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|    258|            }
  |  |  201|       |            // _GUARD_NOS_INT
  |  |  202|    258|            {
  |  |  203|    258|                left = stack_pointer[-2];
  |  |  204|    258|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  205|    258|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (205:21): [True: 3, False: 255]
  |  |  ------------------
  |  |  206|      3|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      3|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  207|      3|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (207:21): [True: 3, False: 0]
  |  |  ------------------
  |  |  208|      3|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      3|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  209|      0|                }
  |  |  210|    258|            }
  |  |  211|       |            /* Skip 5 cache entries */
  |  |  212|       |            // _BINARY_OP_ADD_INT
  |  |  213|    255|            {
  |  |  214|    255|                right = value;
  |  |  215|    255|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  216|    255|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  217|    255|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (217:17): [True: 255, False: 0]
  |  |  ------------------
  |  |  218|    255|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (218:17): [True: 255, False: 0]
  |  |  ------------------
  |  |  219|    255|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (219:17): [True: 255, False: 0]
  |  |  ------------------
  |  |  220|    255|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    255|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  221|    255|                res = _PyCompactLong_Add((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  222|    255|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|    255|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    255|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    255|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 255]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  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|    255|                l = left;
  |  |  228|    255|                r = right;
  |  |  229|    255|            }
  |  |  230|       |            // _POP_TOP_INT
  |  |  231|      0|            {
  |  |  232|    255|                value = r;
  |  |  233|    255|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (233:17): [True: 255, False: 0]
  |  |  ------------------
  |  |  234|    255|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  235|    255|            }
  |  |  236|       |            // _POP_TOP_INT
  |  |  237|      0|            {
  |  |  238|    255|                value = l;
  |  |  239|    255|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (239:17): [True: 255, False: 0]
  |  |  ------------------
  |  |  240|    255|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  241|    255|            }
  |  |  242|      0|            stack_pointer[-2] = res;
  |  |  243|    255|            stack_pointer += -1;
  |  |  244|    255|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    255|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  245|    255|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    255|    { \
  |  |  |  |  201|    255|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    255|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    255|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    255|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    255|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    255|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    255|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    255|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 255]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    255|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    255|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    255|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    255|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    255|    }
  |  |  ------------------
  |  |  246|    255|        }
  |  |  247|       |
  |  |  248|  7.30k|        TARGET(BINARY_OP_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|  7.30k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  249|       |            #if _Py_TAIL_CALL_INTERP
  |  |  250|       |            int opcode = BINARY_OP_ADD_UNICODE;
  |  |  251|       |            (void)(opcode);
  |  |  252|       |            #endif
  |  |  253|  7.30k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  254|  7.30k|            (void)this_instr;
  |  |  255|  7.30k|            frame->instr_ptr = next_instr;
  |  |  256|  7.30k|            next_instr += 6;
  |  |  257|  7.30k|            INSTRUCTION_STATS(BINARY_OP_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|  7.30k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  258|  7.30k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  259|  7.30k|            _PyStackRef value;
  |  |  260|  7.30k|            _PyStackRef nos;
  |  |  261|  7.30k|            _PyStackRef left;
  |  |  262|  7.30k|            _PyStackRef right;
  |  |  263|  7.30k|            _PyStackRef res;
  |  |  264|  7.30k|            _PyStackRef l;
  |  |  265|  7.30k|            _PyStackRef r;
  |  |  266|       |            // _GUARD_TOS_UNICODE
  |  |  267|  7.30k|            {
  |  |  268|  7.30k|                value = stack_pointer[-1];
  |  |  269|  7.30k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  270|  7.30k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  7.30k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  7.30k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (270:21): [True: 0, False: 7.30k]
  |  |  ------------------
  |  |  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|  7.30k|            }
  |  |  276|       |            // _GUARD_NOS_UNICODE
  |  |  277|  7.30k|            {
  |  |  278|  7.30k|                nos = stack_pointer[-2];
  |  |  279|  7.30k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  280|  7.30k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  7.30k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  7.30k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (280:21): [True: 0, False: 7.30k]
  |  |  ------------------
  |  |  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|  7.30k|            }
  |  |  286|       |            /* Skip 5 cache entries */
  |  |  287|       |            // _BINARY_OP_ADD_UNICODE
  |  |  288|  7.30k|            {
  |  |  289|  7.30k|                right = value;
  |  |  290|  7.30k|                left = nos;
  |  |  291|  7.30k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  292|  7.30k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  293|  7.30k|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (293:17): [True: 7.30k, False: 0]
  |  |  ------------------
  |  |  294|  7.30k|                assert(PyUnicode_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (294:17): [True: 7.30k, False: 0]
  |  |  ------------------
  |  |  295|  7.30k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  7.30k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  296|  7.30k|                PyObject *res_o = PyUnicode_Concat(left_o, right_o);
  |  |  297|  7.30k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (297:21): [True: 0, False: 7.30k]
  |  |  ------------------
  |  |  298|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  299|      0|                }
  |  |  300|  7.30k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  301|  7.30k|                l = left;
  |  |  302|  7.30k|                r = right;
  |  |  303|  7.30k|            }
  |  |  304|       |            // _POP_TOP_UNICODE
  |  |  305|      0|            {
  |  |  306|  7.30k|                value = r;
  |  |  307|  7.30k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (307:17): [True: 7.30k, False: 0]
  |  |  ------------------
  |  |  308|  7.30k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  309|  7.30k|            }
  |  |  310|       |            // _POP_TOP_UNICODE
  |  |  311|      0|            {
  |  |  312|  7.30k|                value = l;
  |  |  313|  7.30k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (313:17): [True: 7.30k, False: 0]
  |  |  ------------------
  |  |  314|  7.30k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  315|  7.30k|            }
  |  |  316|      0|            stack_pointer[-2] = res;
  |  |  317|  7.30k|            stack_pointer += -1;
  |  |  318|  7.30k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  7.30k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  319|  7.30k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.30k|    { \
  |  |  |  |  201|  7.30k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.30k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.30k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.30k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  7.30k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.30k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.30k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.30k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.30k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.30k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.30k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.30k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.30k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.30k|    }
  |  |  ------------------
  |  |  320|  7.30k|        }
  |  |  321|       |
  |  |  322|    389|        TARGET(BINARY_OP_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|    389|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  323|       |            #if _Py_TAIL_CALL_INTERP
  |  |  324|       |            int opcode = BINARY_OP_EXTEND;
  |  |  325|       |            (void)(opcode);
  |  |  326|       |            #endif
  |  |  327|    389|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  328|    389|            (void)this_instr;
  |  |  329|    389|            frame->instr_ptr = next_instr;
  |  |  330|    389|            next_instr += 6;
  |  |  331|    389|            INSTRUCTION_STATS(BINARY_OP_EXTEND);
  |  |  ------------------
  |  |  |  |   71|    389|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  332|    389|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  333|    389|            _PyStackRef left;
  |  |  334|    389|            _PyStackRef right;
  |  |  335|    389|            _PyStackRef res;
  |  |  336|    389|            _PyStackRef l;
  |  |  337|    389|            _PyStackRef r;
  |  |  338|    389|            _PyStackRef value;
  |  |  339|       |            /* Skip 1 cache entry */
  |  |  340|       |            // _GUARD_BINARY_OP_EXTEND
  |  |  341|    389|            {
  |  |  342|    389|                right = stack_pointer[-1];
  |  |  343|    389|                left = stack_pointer[-2];
  |  |  344|    389|                PyObject *descr = read_obj(&this_instr[2].cache);
  |  |  345|    389|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  346|    389|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  347|    389|                _PyBinaryOpSpecializationDescr *d = (_PyBinaryOpSpecializationDescr*)descr;
  |  |  348|    389|                assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5);
  |  |  ------------------
  |  |  |  Branch (348:17): [True: 389, Folded]
  |  |  ------------------
  |  |  349|    389|                assert(d != NULL);
  |  |  ------------------
  |  |  |  Branch (349:17): [True: 389, False: 0]
  |  |  ------------------
  |  |  350|    389|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  351|    389|                _PyFrame_StackPointerValidate(frame);
  |  |  352|    389|                int match = (d->guard != NULL)
  |  |  ------------------
  |  |  |  Branch (352:29): [True: 387, False: 2]
  |  |  ------------------
  |  |  353|    389|                ? d->guard(left_o, right_o)
  |  |  354|    389|            : (Py_TYPE(left_o) == d->lhs_type && Py_TYPE(right_o) == d->rhs_type);
  |  |  ------------------
  |  |  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           : (Py_TYPE(left_o) == d->lhs_type && Py_TYPE(right_o) == d->rhs_type);
  |  |  ------------------
  |  |  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (354:16): [True: 2, False: 0]
  |  |  |  Branch (354:50): [True: 2, False: 0]
  |  |  ------------------
  |  |  355|    389|                _PyFrame_StackPointerInvalidate(frame);
  |  |  356|    389|                if (!match) {
  |  |  ------------------
  |  |  |  Branch (356:21): [True: 0, False: 389]
  |  |  ------------------
  |  |  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|    389|            }
  |  |  362|       |            /* Skip -4 cache entry */
  |  |  363|       |            // _BINARY_OP_EXTEND
  |  |  364|    389|            {
  |  |  365|    389|                PyObject *descr = read_obj(&this_instr[2].cache);
  |  |  366|    389|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  367|    389|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  368|    389|                assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5);
  |  |  ------------------
  |  |  |  Branch (368:17): [True: 389, Folded]
  |  |  ------------------
  |  |  369|    389|                _PyBinaryOpSpecializationDescr *d = (_PyBinaryOpSpecializationDescr*)descr;
  |  |  370|    389|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    389|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  371|    389|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (371:17): [True: 389, False: 0]
  |  |  ------------------
  |  |  372|    389|                _PyFrame_StackPointerValidate(frame);
  |  |  373|    389|                PyObject *res_o = d->action(left_o, right_o);
  |  |  374|    389|                _PyFrame_StackPointerInvalidate(frame);
  |  |  375|    389|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (375:21): [True: 0, False: 389]
  |  |  ------------------
  |  |  376|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  377|      0|                }
  |  |  378|    389|                assert(d->result_type == NULL || Py_TYPE(res_o) == d->result_type);
  |  |  ------------------
  |  |  |  Branch (378:17): [True: 0, False: 389]
  |  |  |  Branch (378:17): [True: 389, False: 0]
  |  |  ------------------
  |  |  379|    389|                assert(!d->result_unique || Py_REFCNT(res_o) == 1 || _Py_IsImmortal(res_o));
  |  |  ------------------
  |  |  |  Branch (379:17): [True: 2, False: 387]
  |  |  |  Branch (379:17): [True: 123, False: 264]
  |  |  |  Branch (379:17): [True: 264, False: 0]
  |  |  ------------------
  |  |  380|    389|                assert(!PyFloat_CheckExact(res_o) || Py_REFCNT(res_o) == 1);
  |  |  ------------------
  |  |  |  Branch (380:17): [True: 389, False: 0]
  |  |  |  Branch (380:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  381|    389|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  382|    389|                l = left;
  |  |  383|    389|                r = right;
  |  |  384|    389|            }
  |  |  385|       |            // _POP_TOP
  |  |  386|      0|            {
  |  |  387|    389|                value = r;
  |  |  388|    389|                stack_pointer[-2] = res;
  |  |  389|    389|                stack_pointer[-1] = l;
  |  |  390|    389|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (390:17): [True: 389, False: 0]
  |  |  ------------------
  |  |  391|    389|                _PyFrame_StackPointerValidate(frame);
  |  |  392|    389|                PyStackRef_XCLOSE(value);
  |  |  393|    389|                _PyFrame_StackPointerInvalidate(frame);
  |  |  394|    389|            }
  |  |  395|       |            // _POP_TOP
  |  |  396|      0|            {
  |  |  397|    389|                value = l;
  |  |  398|    389|                stack_pointer += -1;
  |  |  399|    389|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    389|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  400|    389|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  401|    389|                _PyFrame_StackPointerValidate(frame);
  |  |  402|    389|                PyStackRef_XCLOSE(value);
  |  |  403|    389|                _PyFrame_StackPointerInvalidate(frame);
  |  |  404|    389|            }
  |  |  405|    389|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    389|    { \
  |  |  |  |  201|    389|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    389|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    389|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    389|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    389|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    389|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    389|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    389|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 389]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    389|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    389|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    389|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    389|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    389|    }
  |  |  ------------------
  |  |  406|    389|        }
  |  |  407|       |
  |  |  408|     42|        TARGET(BINARY_OP_INPLACE_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|     42|#  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|     42|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  414|     42|            (void)this_instr;
  |  |  415|     42|            frame->instr_ptr = next_instr;
  |  |  416|     42|            next_instr += 6;
  |  |  417|     42|            INSTRUCTION_STATS(BINARY_OP_INPLACE_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|     42|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  418|     42|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  419|     42|            _PyStackRef value;
  |  |  420|     42|            _PyStackRef nos;
  |  |  421|     42|            _PyStackRef left;
  |  |  422|     42|            _PyStackRef right;
  |  |  423|     42|            _PyStackRef res;
  |  |  424|       |            // _GUARD_TOS_UNICODE
  |  |  425|     42|            {
  |  |  426|     42|                value = stack_pointer[-1];
  |  |  427|     42|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  428|     42|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|     42|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     42|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (428:21): [True: 0, False: 42]
  |  |  ------------------
  |  |  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|     42|            }
  |  |  434|       |            // _GUARD_NOS_UNICODE
  |  |  435|     42|            {
  |  |  436|     42|                nos = stack_pointer[-2];
  |  |  437|     42|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  438|     42|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|     42|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     42|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (438:21): [True: 0, False: 42]
  |  |  ------------------
  |  |  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|     42|            }
  |  |  444|       |            /* Skip 5 cache entries */
  |  |  445|       |            // _BINARY_OP_INPLACE_ADD_UNICODE
  |  |  446|     42|            {
  |  |  447|     42|                right = value;
  |  |  448|     42|                left = nos;
  |  |  449|     42|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  450|     42|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (450:17): [True: 42, False: 0]
  |  |  ------------------
  |  |  451|     42|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(right)));
  |  |  ------------------
  |  |  |  Branch (451:17): [True: 42, False: 0]
  |  |  ------------------
  |  |  452|     42|                int next_oparg;
  |  |  453|     42|                #if TIER_ONE
  |  |  454|     42|                assert(next_instr->op.code == STORE_FAST);
  |  |  ------------------
  |  |  |  Branch (454:17): [True: 42, False: 0]
  |  |  ------------------
  |  |  455|     42|                next_oparg = next_instr->op.arg;
  |  |  456|       |                #else
  |  |  457|       |                next_oparg = (int)CURRENT_OPERAND0_16();
  |  |  458|       |                #endif
  |  |  459|     42|                _PyStackRef *target_local = &GETLOCAL(next_oparg);
  |  |  ------------------
  |  |  |  |  285|     42|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |  460|     42|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (460:17): [True: 42, False: 0]
  |  |  ------------------
  |  |  461|     42|                if (PyStackRef_AsPyObjectBorrow(*target_local) != left_o) {
  |  |  ------------------
  |  |  |  Branch (461:21): [True: 0, False: 42]
  |  |  ------------------
  |  |  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|     42|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     42|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  467|     42|                assert(Py_REFCNT(left_o) >= 2 || !PyStackRef_IsHeapSafe(left));
  |  |  ------------------
  |  |  |  Branch (467:17): [True: 38, False: 4]
  |  |  |  Branch (467:17): [True: 4, False: 0]
  |  |  ------------------
  |  |  468|     42|                PyObject *temp = PyStackRef_AsPyObjectSteal(*target_local);
  |  |  469|     42|                PyObject *right_o = PyStackRef_AsPyObjectSteal(right);
  |  |  470|     42|                PyStackRef_CLOSE_SPECIALIZED(left, _PyUnicode_ExactDealloc);
  |  |  471|     42|                stack_pointer += -2;
  |  |  472|     42|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     42|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  473|     42|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  474|     42|                _PyFrame_StackPointerValidate(frame);
  |  |  475|     42|                PyUnicode_Append(&temp, right_o);
  |  |  476|     42|                _PyFrame_StackPointerInvalidate(frame);
  |  |  477|     42|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (477:17): [True: 42, False: 0]
  |  |  ------------------
  |  |  478|     42|                _PyFrame_StackPointerValidate(frame);
  |  |  479|     42|                _Py_DECREF_SPECIALIZED(right_o, _PyUnicode_ExactDealloc);
  |  |  ------------------
  |  |  |  |   96|     42|    do { \
  |  |  |  |   97|     42|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|     42|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     42|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 18, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|     18|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|     18|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  100|     18|            break; \
  |  |  |  |  101|     18|        } \
  |  |  |  |  102|     42|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     24|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  103|     24|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (103:13): [True: 24, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  104|     24|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|     24|    do { \
  |  |  |  |  |  |  110|     24|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|     24|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|     24|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  105|     24|            destructor d = (destructor)(dealloc); \
  |  |  |  |  106|     24|            d(op); \
  |  |  |  |  107|     24|        } \
  |  |  |  |  108|     24|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (108:14): [Folded, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  480|     42|                _PyFrame_StackPointerInvalidate(frame);
  |  |  481|     42|                *target_local = PyStackRef_NULL;
  |  |  482|     42|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (482:21): [True: 0, False: 42]
  |  |  ------------------
  |  |  483|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  484|      0|                }
  |  |  485|     42|                res = PyStackRef_FromPyObjectSteal(temp);
  |  |  486|     42|            }
  |  |  487|      0|            stack_pointer[0] = res;
  |  |  488|     42|            stack_pointer += 1;
  |  |  489|     42|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     42|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  490|     42|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     42|    { \
  |  |  |  |  201|     42|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     42|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     42|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     42|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     42|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     42|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     42|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     42|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 42]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     42|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     42|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     42|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     42|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     42|    }
  |  |  ------------------
  |  |  491|     42|        }
  |  |  492|       |
  |  |  493|      0|        TARGET(BINARY_OP_MULTIPLY_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  494|       |            #if _Py_TAIL_CALL_INTERP
  |  |  495|       |            int opcode = BINARY_OP_MULTIPLY_FLOAT;
  |  |  496|       |            (void)(opcode);
  |  |  497|       |            #endif
  |  |  498|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  499|      0|            (void)this_instr;
  |  |  500|      0|            frame->instr_ptr = next_instr;
  |  |  501|      0|            next_instr += 6;
  |  |  502|      0|            INSTRUCTION_STATS(BINARY_OP_MULTIPLY_FLOAT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  503|      0|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  504|      0|            _PyStackRef value;
  |  |  505|      0|            _PyStackRef left;
  |  |  506|      0|            _PyStackRef right;
  |  |  507|      0|            _PyStackRef res;
  |  |  508|      0|            _PyStackRef l;
  |  |  509|      0|            _PyStackRef r;
  |  |  510|       |            // _GUARD_TOS_FLOAT
  |  |  511|      0|            {
  |  |  512|      0|                value = stack_pointer[-1];
  |  |  513|      0|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  514|      0|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (514:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  515|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  516|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (516:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  517|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  518|      0|                }
  |  |  519|      0|            }
  |  |  520|       |            // _GUARD_NOS_FLOAT
  |  |  521|      0|            {
  |  |  522|      0|                left = stack_pointer[-2];
  |  |  523|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  524|      0|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (524:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  525|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  526|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (526:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  527|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  528|      0|                }
  |  |  529|      0|            }
  |  |  530|       |            /* Skip 5 cache entries */
  |  |  531|       |            // _BINARY_OP_MULTIPLY_FLOAT
  |  |  532|      0|            {
  |  |  533|      0|                right = value;
  |  |  534|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  535|      0|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  536|      0|                assert(PyFloat_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (536:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  537|      0|                assert(PyFloat_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (537:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  538|      0|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  539|      0|                double dres =
  |  |  540|      0|                ((PyFloatObject *)left_o)->ob_fval *
  |  |  541|      0|                ((PyFloatObject *)right_o)->ob_fval;
  |  |  542|      0|                PyObject *d = PyFloat_FromDouble(dres);
  |  |  543|      0|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (543:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  544|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  545|      0|                }
  |  |  546|      0|                res = PyStackRef_FromPyObjectSteal(d);
  |  |  547|      0|                l = left;
  |  |  548|      0|                r = right;
  |  |  549|      0|            }
  |  |  550|       |            // _POP_TOP_FLOAT
  |  |  551|      0|            {
  |  |  552|      0|                value = r;
  |  |  553|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (553:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  555|      0|            }
  |  |  556|       |            // _POP_TOP_FLOAT
  |  |  557|      0|            {
  |  |  558|      0|                value = l;
  |  |  559|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (559:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  560|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  561|      0|            }
  |  |  562|      0|            stack_pointer[-2] = res;
  |  |  563|      0|            stack_pointer += -1;
  |  |  564|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  565|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |  566|      0|        }
  |  |  567|       |
  |  |  568|      8|        TARGET(BINARY_OP_MULTIPLY_INT) {
  |  |  ------------------
  |  |  |  |  132|      8|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  569|       |            #if _Py_TAIL_CALL_INTERP
  |  |  570|       |            int opcode = BINARY_OP_MULTIPLY_INT;
  |  |  571|       |            (void)(opcode);
  |  |  572|       |            #endif
  |  |  573|      8|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  574|      8|            (void)this_instr;
  |  |  575|      8|            frame->instr_ptr = next_instr;
  |  |  576|      8|            next_instr += 6;
  |  |  577|      8|            INSTRUCTION_STATS(BINARY_OP_MULTIPLY_INT);
  |  |  ------------------
  |  |  |  |   71|      8|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  578|      8|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  579|      8|            _PyStackRef value;
  |  |  580|      8|            _PyStackRef left;
  |  |  581|      8|            _PyStackRef right;
  |  |  582|      8|            _PyStackRef res;
  |  |  583|      8|            _PyStackRef l;
  |  |  584|      8|            _PyStackRef r;
  |  |  585|       |            // _GUARD_TOS_INT
  |  |  586|      8|            {
  |  |  587|      8|                value = stack_pointer[-1];
  |  |  588|      8|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  589|      8|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (589:21): [True: 0, False: 8]
  |  |  ------------------
  |  |  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|      8|            }
  |  |  595|       |            // _GUARD_NOS_INT
  |  |  596|      8|            {
  |  |  597|      8|                left = stack_pointer[-2];
  |  |  598|      8|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  599|      8|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (599:21): [True: 0, False: 8]
  |  |  ------------------
  |  |  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|      8|            }
  |  |  605|       |            /* Skip 5 cache entries */
  |  |  606|       |            // _BINARY_OP_MULTIPLY_INT
  |  |  607|      8|            {
  |  |  608|      8|                right = value;
  |  |  609|      8|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  610|      8|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  611|      8|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (611:17): [True: 8, False: 0]
  |  |  ------------------
  |  |  612|      8|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (612:17): [True: 8, False: 0]
  |  |  ------------------
  |  |  613|      8|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (613:17): [True: 8, False: 0]
  |  |  ------------------
  |  |  614|      8|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      8|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  615|      8|                res = _PyCompactLong_Multiply((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  616|      8|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|      8|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      8|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      8|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  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|      8|                l = left;
  |  |  622|      8|                r = right;
  |  |  623|      8|            }
  |  |  624|       |            // _POP_TOP_INT
  |  |  625|      0|            {
  |  |  626|      8|                value = r;
  |  |  627|      8|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (627:17): [True: 8, False: 0]
  |  |  ------------------
  |  |  628|      8|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  629|      8|            }
  |  |  630|       |            // _POP_TOP_INT
  |  |  631|      0|            {
  |  |  632|      8|                value = l;
  |  |  633|      8|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (633:17): [True: 8, False: 0]
  |  |  ------------------
  |  |  634|      8|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  635|      8|            }
  |  |  636|      0|            stack_pointer[-2] = res;
  |  |  637|      8|            stack_pointer += -1;
  |  |  638|      8|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      8|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  639|      8|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      8|    { \
  |  |  |  |  201|      8|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      8|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      8|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      8|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      8|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      8|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      8|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      8|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      8|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      8|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      8|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      8|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      8|    }
  |  |  ------------------
  |  |  640|      8|        }
  |  |  641|       |
  |  |  642|  2.23k|        TARGET(BINARY_OP_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|  2.23k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  643|       |            #if _Py_TAIL_CALL_INTERP
  |  |  644|       |            int opcode = BINARY_OP_SUBSCR_DICT;
  |  |  645|       |            (void)(opcode);
  |  |  646|       |            #endif
  |  |  647|  2.23k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  648|  2.23k|            (void)this_instr;
  |  |  649|  2.23k|            frame->instr_ptr = next_instr;
  |  |  650|  2.23k|            next_instr += 6;
  |  |  651|  2.23k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|  2.23k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  652|  2.23k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  653|  2.23k|            _PyStackRef nos;
  |  |  654|  2.23k|            _PyStackRef dict_st;
  |  |  655|  2.23k|            _PyStackRef sub_st;
  |  |  656|  2.23k|            _PyStackRef res;
  |  |  657|  2.23k|            _PyStackRef ds;
  |  |  658|  2.23k|            _PyStackRef ss;
  |  |  659|  2.23k|            _PyStackRef value;
  |  |  660|       |            // _GUARD_NOS_DICT_SUBSCRIPT
  |  |  661|  2.23k|            {
  |  |  662|  2.23k|                nos = stack_pointer[-2];
  |  |  663|  2.23k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  664|  2.23k|                if (!Py_TYPE(o)->tp_as_mapping) {
  |  |  ------------------
  |  |  |  |  213|  2.23k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (664:21): [True: 0, False: 2.23k]
  |  |  ------------------
  |  |  665|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  666|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (666:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  667|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  668|      0|                }
  |  |  669|  2.23k|                if (Py_TYPE(o)->tp_as_mapping->mp_subscript != _PyDict_Subscript) {
  |  |  ------------------
  |  |  |  |  213|  2.23k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (669:21): [True: 0, False: 2.23k]
  |  |  ------------------
  |  |  670|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  671|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (671:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  672|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  673|      0|                }
  |  |  674|  2.23k|            }
  |  |  675|       |            /* Skip 5 cache entries */
  |  |  676|       |            // _BINARY_OP_SUBSCR_DICT
  |  |  677|  2.23k|            {
  |  |  678|  2.23k|                sub_st = stack_pointer[-1];
  |  |  679|  2.23k|                dict_st = nos;
  |  |  680|  2.23k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  681|  2.23k|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |  682|  2.23k|                assert(Py_TYPE(dict)->tp_as_mapping->mp_subscript == _PyDict_Subscript);
  |  |  ------------------
  |  |  |  Branch (682:17): [True: 2.23k, False: 0]
  |  |  ------------------
  |  |  683|  2.23k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  2.23k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  684|  2.23k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  685|  2.23k|                _PyFrame_StackPointerValidate(frame);
  |  |  686|  2.23k|                PyObject *res_o = _PyDict_Subscript(dict, sub);
  |  |  687|  2.23k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  688|  2.23k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (688:21): [True: 981, False: 1.25k]
  |  |  ------------------
  |  |  689|    981|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    981|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  690|      0|                }
  |  |  691|  1.25k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  692|  1.25k|                ds = dict_st;
  |  |  693|  1.25k|                ss = sub_st;
  |  |  694|  1.25k|            }
  |  |  695|       |            // _POP_TOP
  |  |  696|      0|            {
  |  |  697|  1.25k|                value = ss;
  |  |  698|  1.25k|                stack_pointer[-2] = res;
  |  |  699|  1.25k|                stack_pointer[-1] = ds;
  |  |  700|  1.25k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (700:17): [True: 1.25k, False: 0]
  |  |  ------------------
  |  |  701|  1.25k|                _PyFrame_StackPointerValidate(frame);
  |  |  702|  1.25k|                PyStackRef_XCLOSE(value);
  |  |  703|  1.25k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  704|  1.25k|            }
  |  |  705|       |            // _POP_TOP
  |  |  706|      0|            {
  |  |  707|  1.25k|                value = ds;
  |  |  708|  1.25k|                stack_pointer += -1;
  |  |  709|  1.25k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.25k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  710|  1.25k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  711|  1.25k|                _PyFrame_StackPointerValidate(frame);
  |  |  712|  1.25k|                PyStackRef_XCLOSE(value);
  |  |  713|  1.25k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  714|  1.25k|            }
  |  |  715|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  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|    }
  |  |  ------------------
  |  |  716|  1.25k|        }
  |  |  717|       |
  |  |  718|     49|        TARGET(BINARY_OP_SUBSCR_GETITEM) {
  |  |  ------------------
  |  |  |  |  132|     49|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  719|       |            #if _Py_TAIL_CALL_INTERP
  |  |  720|       |            int opcode = BINARY_OP_SUBSCR_GETITEM;
  |  |  721|       |            (void)(opcode);
  |  |  722|       |            #endif
  |  |  723|     49|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  724|     49|            (void)this_instr;
  |  |  725|     49|            frame->instr_ptr = next_instr;
  |  |  726|     49|            next_instr += 6;
  |  |  727|     49|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_GETITEM);
  |  |  ------------------
  |  |  |  |   71|     49|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  728|     49|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  729|     49|            _PyStackRef container;
  |  |  730|     49|            _PyStackRef getitem;
  |  |  731|     49|            _PyStackRef sub;
  |  |  732|     49|            _PyStackRef new_frame;
  |  |  733|       |            /* Skip 5 cache entries */
  |  |  734|       |            // _CHECK_PEP_523
  |  |  735|     49|            {
  |  |  736|     49|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|     49|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  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|     49|            }
  |  |  742|       |            // _BINARY_OP_SUBSCR_CHECK_FUNC
  |  |  743|     49|            {
  |  |  744|     49|                container = stack_pointer[-2];
  |  |  745|     49|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(container));
  |  |  ------------------
  |  |  |  |  213|     49|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  746|     49|                if (!PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) {
  |  |  ------------------
  |  |  |  |  503|     49|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  |  |  ------------------
  |  |  |  Branch (746:21): [True: 0, False: 49]
  |  |  ------------------
  |  |  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|     49|                PyHeapTypeObject *ht = (PyHeapTypeObject *)tp;
  |  |  752|     49|                PyObject *getitem_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(ht->_spec_cache.getitem);
  |  |  ------------------
  |  |  |  |  152|     49|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  753|     49|                if (getitem_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (753:21): [True: 0, False: 49]
  |  |  ------------------
  |  |  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|     49|                assert(PyFunction_Check(getitem_o));
  |  |  ------------------
  |  |  |  Branch (758:17): [True: 49, False: 0]
  |  |  ------------------
  |  |  759|     49|                uint32_t cached_version = FT_ATOMIC_LOAD_UINT32_RELAXED(ht->_spec_cache.getitem_version);
  |  |  ------------------
  |  |  |  |  161|     49|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  760|     49|                if (((PyFunctionObject *)getitem_o)->func_version != cached_version) {
  |  |  ------------------
  |  |  |  Branch (760:21): [True: 0, False: 49]
  |  |  ------------------
  |  |  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|     49|                PyCodeObject *code = (PyCodeObject *)PyFunction_GET_CODE(getitem_o);
  |  |  ------------------
  |  |  |  |   93|     49|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  766|     49|                assert(code->co_argcount == 2);
  |  |  ------------------
  |  |  |  Branch (766:17): [True: 49, False: 0]
  |  |  ------------------
  |  |  767|     49|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (767:21): [True: 0, False: 49]
  |  |  ------------------
  |  |  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|     49|                getitem = PyStackRef_FromPyObjectNew(getitem_o);
  |  |  ------------------
  |  |  |  |  611|     49|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  773|     49|            }
  |  |  774|       |            // _BINARY_OP_SUBSCR_INIT_CALL
  |  |  775|      0|            {
  |  |  776|     49|                sub = stack_pointer[-1];
  |  |  777|     49|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     49|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  778|     49|                _PyInterpreterFrame* pushed_frame = _PyFrame_PushUnchecked(tstate, getitem, 2, frame);
  |  |  779|     49|                pushed_frame->localsplus[0] = container;
  |  |  780|     49|                pushed_frame->localsplus[1] = sub;
  |  |  781|     49|                frame->return_offset = 6u ;
  |  |  782|     49|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  |  783|     49|            }
  |  |  784|       |            // _PUSH_FRAME
  |  |  785|     49|            {
  |  |  786|     49|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (786:17): [True: 49, False: 0]
  |  |  ------------------
  |  |  787|     49|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  |  788|     49|                stack_pointer += -2;
  |  |  789|     49|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     49|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  790|     49|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  791|     49|                _PyFrame_StackPointerValidate(frame);
  |  |  792|     49|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (792:17): [True: 49, False: 0]
  |  |  |  Branch (792:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  793|     49|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|     49|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |  794|     49|                frame = tstate->current_frame = temp;
  |  |  795|     49|                tstate->py_recursion_remaining--;
  |  |  796|     49|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  797|     49|                _PyFrame_StackPointerInvalidate(frame);
  |  |  798|     49|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|     49|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|     49|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|     49|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|       |                #ifdef Py_DEBUG
  |  |  800|       |                assert(frame->previous->stackpointer_valid == 1);
  |  |  801|       |                #endif
  |  |  802|     49|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|     49|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |  803|     49|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|     49|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |  804|     49|            }
  |  |  805|     49|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     49|    { \
  |  |  |  |  201|     49|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     49|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     49|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     49|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     49|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     49|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     49|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     49|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 49]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     49|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     49|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     49|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     49|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     49|    }
  |  |  ------------------
  |  |  806|     49|        }
  |  |  807|       |
  |  |  808|    220|        TARGET(BINARY_OP_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|    220|#  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|    220|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  814|    220|            (void)this_instr;
  |  |  815|    220|            frame->instr_ptr = next_instr;
  |  |  816|    220|            next_instr += 6;
  |  |  817|    220|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|    220|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  818|    220|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  819|    220|            _PyStackRef value;
  |  |  820|    220|            _PyStackRef nos;
  |  |  821|    220|            _PyStackRef list_st;
  |  |  822|    220|            _PyStackRef sub_st;
  |  |  823|    220|            _PyStackRef res;
  |  |  824|    220|            _PyStackRef ls;
  |  |  825|    220|            _PyStackRef ss;
  |  |  826|       |            // _GUARD_TOS_INT
  |  |  827|    220|            {
  |  |  828|    220|                value = stack_pointer[-1];
  |  |  829|    220|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  830|    220|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (830:21): [True: 0, False: 220]
  |  |  ------------------
  |  |  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|    220|            }
  |  |  836|       |            // _GUARD_NOS_LIST
  |  |  837|    220|            {
  |  |  838|    220|                nos = stack_pointer[-2];
  |  |  839|    220|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  840|    220|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|    220|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    220|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    220|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    220|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (840:21): [True: 0, False: 220]
  |  |  ------------------
  |  |  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|    220|            }
  |  |  846|       |            /* Skip 5 cache entries */
  |  |  847|       |            // _BINARY_OP_SUBSCR_LIST_INT
  |  |  848|    220|            {
  |  |  849|    220|                sub_st = value;
  |  |  850|    220|                list_st = nos;
  |  |  851|    220|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  852|    220|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |  853|    220|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (853:17): [True: 220, False: 0]
  |  |  ------------------
  |  |  854|    220|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (854:17): [True: 220, False: 0]
  |  |  ------------------
  |  |  855|    220|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |  856|    220|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (856:21): [True: 0, False: 220]
  |  |  ------------------
  |  |  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|    220|                if (index < 0 || index >= PyList_GET_SIZE(list)) {
  |  |  ------------------
  |  |  |  |   38|    220|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    220|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    220|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (871:21): [True: 0, False: 220]
  |  |  |  Branch (871:34): [True: 20, False: 200]
  |  |  ------------------
  |  |  872|     20|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|     20|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  873|     20|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (873:21): [True: 20, False: 0]
  |  |  ------------------
  |  |  874|     20|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     20|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  875|      0|                }
  |  |  876|    200|                PyObject *res_o = PyList_GET_ITEM(list, index);
  |  |  ------------------
  |  |  |  |   40|    200|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|    200|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (876:35): [True: 200, False: 0]
  |  |  ------------------
  |  |  877|    200|                assert(res_o != NULL);
  |  |  ------------------
  |  |  |  Branch (877:17): [True: 200, False: 0]
  |  |  ------------------
  |  |  878|    200|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|    200|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  879|    200|                #endif
  |  |  880|    200|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    200|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  881|    200|                ls = list_st;
  |  |  882|    200|                ss = sub_st;
  |  |  883|    200|            }
  |  |  884|       |            // _POP_TOP_INT
  |  |  885|      0|            {
  |  |  886|    200|                value = ss;
  |  |  887|    200|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (887:17): [True: 200, False: 0]
  |  |  ------------------
  |  |  888|    200|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  889|    200|            }
  |  |  890|       |            // _POP_TOP
  |  |  891|      0|            {
  |  |  892|    200|                value = ls;
  |  |  893|    200|                stack_pointer[-2] = res;
  |  |  894|    200|                stack_pointer += -1;
  |  |  895|    200|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    200|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  896|    200|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  897|    200|                _PyFrame_StackPointerValidate(frame);
  |  |  898|    200|                PyStackRef_XCLOSE(value);
  |  |  899|    200|                _PyFrame_StackPointerInvalidate(frame);
  |  |  900|    200|            }
  |  |  901|    200|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    200|    { \
  |  |  |  |  201|    200|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    200|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    200|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    200|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    200|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    200|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    200|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    200|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 200]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    200|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    200|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    200|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    200|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    200|    }
  |  |  ------------------
  |  |  902|    200|        }
  |  |  903|       |
  |  |  904|     12|        TARGET(BINARY_OP_SUBSCR_LIST_SLICE) {
  |  |  ------------------
  |  |  |  |  132|     12|#  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|     12|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  910|     12|            (void)this_instr;
  |  |  911|     12|            frame->instr_ptr = next_instr;
  |  |  912|     12|            next_instr += 6;
  |  |  913|     12|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_LIST_SLICE);
  |  |  ------------------
  |  |  |  |   71|     12|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  914|     12|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  915|     12|            _PyStackRef tos;
  |  |  916|     12|            _PyStackRef nos;
  |  |  917|     12|            _PyStackRef list_st;
  |  |  918|     12|            _PyStackRef sub_st;
  |  |  919|     12|            _PyStackRef res;
  |  |  920|     12|            _PyStackRef ls;
  |  |  921|     12|            _PyStackRef ss;
  |  |  922|     12|            _PyStackRef value;
  |  |  923|       |            // _GUARD_TOS_SLICE
  |  |  924|     12|            {
  |  |  925|     12|                tos = stack_pointer[-1];
  |  |  926|     12|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |  927|     12|                if (!PySlice_Check(o)) {
  |  |  ------------------
  |  |  |  |   22|     12|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     12|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (927:21): [True: 0, False: 12]
  |  |  ------------------
  |  |  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|     12|            }
  |  |  933|       |            // _GUARD_NOS_LIST
  |  |  934|     12|            {
  |  |  935|     12|                nos = stack_pointer[-2];
  |  |  936|     12|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  937|     12|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|     12|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     12|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (937:21): [True: 0, False: 12]
  |  |  ------------------
  |  |  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|     12|            }
  |  |  943|       |            /* Skip 5 cache entries */
  |  |  944|       |            // _BINARY_OP_SUBSCR_LIST_SLICE
  |  |  945|     12|            {
  |  |  946|     12|                sub_st = tos;
  |  |  947|     12|                list_st = nos;
  |  |  948|     12|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  949|     12|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |  950|     12|                assert(PySlice_Check(sub));
  |  |  ------------------
  |  |  |  Branch (950:17): [True: 12, False: 0]
  |  |  ------------------
  |  |  951|     12|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (951:17): [True: 12, False: 0]
  |  |  ------------------
  |  |  952|     12|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  953|     12|                _PyFrame_StackPointerValidate(frame);
  |  |  954|     12|                PyObject *res_o = _PyList_SliceSubscript(list, sub);
  |  |  955|     12|                _PyFrame_StackPointerInvalidate(frame);
  |  |  956|     12|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     12|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  957|     12|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (957:21): [True: 0, False: 12]
  |  |  ------------------
  |  |  958|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  959|      0|                }
  |  |  960|     12|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  961|     12|                ls = list_st;
  |  |  962|     12|                ss = sub_st;
  |  |  963|     12|            }
  |  |  964|       |            // _POP_TOP
  |  |  965|      0|            {
  |  |  966|     12|                value = ss;
  |  |  967|     12|                stack_pointer[-2] = res;
  |  |  968|     12|                stack_pointer[-1] = ls;
  |  |  969|     12|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (969:17): [True: 12, False: 0]
  |  |  ------------------
  |  |  970|     12|                _PyFrame_StackPointerValidate(frame);
  |  |  971|     12|                PyStackRef_XCLOSE(value);
  |  |  972|     12|                _PyFrame_StackPointerInvalidate(frame);
  |  |  973|     12|            }
  |  |  974|       |            // _POP_TOP
  |  |  975|      0|            {
  |  |  976|     12|                value = ls;
  |  |  977|     12|                stack_pointer += -1;
  |  |  978|     12|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     12|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  979|     12|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  980|     12|                _PyFrame_StackPointerValidate(frame);
  |  |  981|     12|                PyStackRef_XCLOSE(value);
  |  |  982|     12|                _PyFrame_StackPointerInvalidate(frame);
  |  |  983|     12|            }
  |  |  984|     12|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     12|    { \
  |  |  |  |  201|     12|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     12|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     12|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     12|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     12|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     12|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     12|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     12|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 12]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     12|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     12|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     12|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     12|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     12|    }
  |  |  ------------------
  |  |  985|     12|        }
  |  |  986|       |
  |  |  987|  1.15k|        TARGET(BINARY_OP_SUBSCR_STR_INT) {
  |  |  ------------------
  |  |  |  |  132|  1.15k|#  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.15k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  993|  1.15k|            (void)this_instr;
  |  |  994|  1.15k|            frame->instr_ptr = next_instr;
  |  |  995|  1.15k|            next_instr += 6;
  |  |  996|  1.15k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_STR_INT);
  |  |  ------------------
  |  |  |  |   71|  1.15k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  997|  1.15k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  998|  1.15k|            _PyStackRef value;
  |  |  999|  1.15k|            _PyStackRef nos;
  |  | 1000|  1.15k|            _PyStackRef str_st;
  |  | 1001|  1.15k|            _PyStackRef sub_st;
  |  | 1002|  1.15k|            _PyStackRef res;
  |  | 1003|  1.15k|            _PyStackRef s;
  |  | 1004|  1.15k|            _PyStackRef i;
  |  | 1005|       |            // _GUARD_TOS_INT
  |  | 1006|  1.15k|            {
  |  | 1007|  1.15k|                value = stack_pointer[-1];
  |  | 1008|  1.15k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1009|  1.15k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1009:21): [True: 0, False: 1.15k]
  |  |  ------------------
  |  | 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.15k|            }
  |  | 1015|       |            // _GUARD_NOS_COMPACT_ASCII
  |  | 1016|  1.15k|            {
  |  | 1017|  1.15k|                nos = stack_pointer[-2];
  |  | 1018|  1.15k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1019|  1.15k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  1.15k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.15k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1019:21): [True: 0, False: 1.15k]
  |  |  ------------------
  |  | 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.15k|                if (!PyUnicode_IS_COMPACT_ASCII(o)) {
  |  |  ------------------
  |  |  |  |  242|  1.15k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1024:21): [True: 0, False: 1.15k]
  |  |  ------------------
  |  | 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.15k|            }
  |  | 1030|       |            /* Skip 5 cache entries */
  |  | 1031|       |            // _BINARY_OP_SUBSCR_STR_INT
  |  | 1032|  1.15k|            {
  |  | 1033|  1.15k|                sub_st = value;
  |  | 1034|  1.15k|                str_st = nos;
  |  | 1035|  1.15k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1036|  1.15k|                PyObject *str = PyStackRef_AsPyObjectBorrow(str_st);
  |  | 1037|  1.15k|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1037:17): [True: 1.15k, False: 0]
  |  |  ------------------
  |  | 1038|  1.15k|                assert(PyUnicode_CheckExact(str));
  |  |  ------------------
  |  |  |  Branch (1038:17): [True: 1.15k, False: 0]
  |  |  ------------------
  |  | 1039|  1.15k|                if (!_PyLong_IsNonNegativeCompact((PyLongObject*)sub)) {
  |  |  ------------------
  |  |  |  Branch (1039:21): [True: 0, False: 1.15k]
  |  |  ------------------
  |  | 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.15k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1045|  1.15k|                if (PyUnicode_GET_LENGTH(str) <= index) {
  |  |  ------------------
  |  |  |  |  300|  1.15k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1045:21): [True: 2, False: 1.15k]
  |  |  ------------------
  |  | 1046|      2|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      2|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1047|      2|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1047:21): [True: 2, False: 0]
  |  |  ------------------
  |  | 1048|      2|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      2|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1049|      0|                }
  |  | 1050|  1.15k|                uint8_t c = PyUnicode_1BYTE_DATA(str)[index];
  |  |  ------------------
  |  |  |  |  292|  1.15k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.15k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1051|  1.15k|                assert(c < 128);
  |  |  ------------------
  |  |  |  Branch (1051:17): [True: 1.15k, False: 0]
  |  |  ------------------
  |  | 1052|  1.15k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.15k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1053|  1.15k|                PyObject *res_o = (PyObject*)&_Py_SINGLETON(strings).ascii[c];
  |  |  ------------------
  |  |  |  |   18|  1.15k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.15k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1054|  1.15k|                s = str_st;
  |  | 1055|  1.15k|                i = sub_st;
  |  | 1056|  1.15k|                res = PyStackRef_FromPyObjectBorrow(res_o);
  |  | 1057|  1.15k|            }
  |  | 1058|       |            // _POP_TOP_INT
  |  | 1059|      0|            {
  |  | 1060|  1.15k|                value = i;
  |  | 1061|  1.15k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1061:17): [True: 1.15k, False: 0]
  |  |  ------------------
  |  | 1062|  1.15k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1063|  1.15k|            }
  |  | 1064|       |            // _POP_TOP_UNICODE
  |  | 1065|      0|            {
  |  | 1066|  1.15k|                value = s;
  |  | 1067|  1.15k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1067:17): [True: 1.15k, False: 0]
  |  |  ------------------
  |  | 1068|  1.15k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 1069|  1.15k|            }
  |  | 1070|      0|            stack_pointer[-2] = res;
  |  | 1071|  1.15k|            stack_pointer += -1;
  |  | 1072|  1.15k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.15k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1073|  1.15k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.15k|    { \
  |  |  |  |  201|  1.15k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.15k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.15k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.15k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.15k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.15k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.15k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.15k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.15k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.15k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.15k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.15k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.15k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.15k|    }
  |  |  ------------------
  |  | 1074|  1.15k|        }
  |  | 1075|       |
  |  | 1076|  2.04k|        TARGET(BINARY_OP_SUBSCR_TUPLE_INT) {
  |  |  ------------------
  |  |  |  |  132|  2.04k|#  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|  2.04k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1082|  2.04k|            (void)this_instr;
  |  | 1083|  2.04k|            frame->instr_ptr = next_instr;
  |  | 1084|  2.04k|            next_instr += 6;
  |  | 1085|  2.04k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_TUPLE_INT);
  |  |  ------------------
  |  |  |  |   71|  2.04k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1086|  2.04k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1087|  2.04k|            _PyStackRef value;
  |  | 1088|  2.04k|            _PyStackRef nos;
  |  | 1089|  2.04k|            _PyStackRef tuple_st;
  |  | 1090|  2.04k|            _PyStackRef sub_st;
  |  | 1091|  2.04k|            _PyStackRef res;
  |  | 1092|  2.04k|            _PyStackRef ts;
  |  | 1093|  2.04k|            _PyStackRef ss;
  |  | 1094|       |            // _GUARD_TOS_INT
  |  | 1095|  2.04k|            {
  |  | 1096|  2.04k|                value = stack_pointer[-1];
  |  | 1097|  2.04k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1098|  2.04k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1098:21): [True: 0, False: 2.04k]
  |  |  ------------------
  |  | 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|  2.04k|            }
  |  | 1104|       |            // _GUARD_NOS_TUPLE
  |  | 1105|  2.04k|            {
  |  | 1106|  2.04k|                nos = stack_pointer[-2];
  |  | 1107|  2.04k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1108|  2.04k|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|  2.04k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.04k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1108:21): [True: 0, False: 2.04k]
  |  |  ------------------
  |  | 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|  2.04k|            }
  |  | 1114|       |            // _GUARD_BINARY_OP_SUBSCR_TUPLE_INT_BOUNDS
  |  | 1115|  2.04k|            {
  |  | 1116|  2.04k|                sub_st = value;
  |  | 1117|  2.04k|                tuple_st = nos;
  |  | 1118|  2.04k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1119|  2.04k|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1120|  2.04k|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1120:17): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 1121|  2.04k|                assert(PyTuple_CheckExact(tuple));
  |  |  ------------------
  |  |  |  Branch (1121:17): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 1122|  2.04k|                if (!_PyLong_IsNonNegativeCompact((PyLongObject *)sub)) {
  |  |  ------------------
  |  |  |  Branch (1122:21): [True: 0, False: 2.04k]
  |  |  ------------------
  |  | 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|  2.04k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1128|  2.04k|                if (index >= PyTuple_GET_SIZE(tuple)) {
  |  |  ------------------
  |  |  |  |   27|  2.04k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_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 (1128:21): [True: 0, False: 2.04k]
  |  |  ------------------
  |  | 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|  2.04k|            }
  |  | 1134|       |            /* Skip 5 cache entries */
  |  | 1135|       |            // _BINARY_OP_SUBSCR_TUPLE_INT
  |  | 1136|  2.04k|            {
  |  | 1137|  2.04k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1138|  2.04k|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1139|  2.04k|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1139:17): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 1140|  2.04k|                assert(PyTuple_CheckExact(tuple));
  |  |  ------------------
  |  |  |  Branch (1140:17): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 1141|  2.04k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  2.04k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1142|  2.04k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1143|  2.04k|                PyObject *res_o = PyTuple_GET_ITEM(tuple, index);
  |  |  ------------------
  |  |  |  |   29|  2.04k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  2.04k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1143:35): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 1144|  2.04k|                assert(res_o != NULL);
  |  |  ------------------
  |  |  |  Branch (1144:17): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 1145|  2.04k|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  2.04k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1146|  2.04k|                ts = tuple_st;
  |  | 1147|  2.04k|                ss = sub_st;
  |  | 1148|  2.04k|            }
  |  | 1149|       |            // _POP_TOP_INT
  |  | 1150|      0|            {
  |  | 1151|  2.04k|                value = ss;
  |  | 1152|  2.04k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1152:17): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 1153|  2.04k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1154|  2.04k|            }
  |  | 1155|       |            // _POP_TOP
  |  | 1156|      0|            {
  |  | 1157|  2.04k|                value = ts;
  |  | 1158|  2.04k|                stack_pointer[-2] = res;
  |  | 1159|  2.04k|                stack_pointer += -1;
  |  | 1160|  2.04k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.04k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1161|  2.04k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1162|  2.04k|                _PyFrame_StackPointerValidate(frame);
  |  | 1163|  2.04k|                PyStackRef_XCLOSE(value);
  |  | 1164|  2.04k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1165|  2.04k|            }
  |  | 1166|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  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|    }
  |  |  ------------------
  |  | 1167|  2.04k|        }
  |  | 1168|       |
  |  | 1169|      0|        TARGET(BINARY_OP_SUBSCR_USTR_INT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1170|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1171|       |            int opcode = BINARY_OP_SUBSCR_USTR_INT;
  |  | 1172|       |            (void)(opcode);
  |  | 1173|       |            #endif
  |  | 1174|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1175|      0|            (void)this_instr;
  |  | 1176|      0|            frame->instr_ptr = next_instr;
  |  | 1177|      0|            next_instr += 6;
  |  | 1178|      0|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_USTR_INT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1179|      0|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1180|      0|            _PyStackRef value;
  |  | 1181|      0|            _PyStackRef nos;
  |  | 1182|      0|            _PyStackRef str_st;
  |  | 1183|      0|            _PyStackRef sub_st;
  |  | 1184|      0|            _PyStackRef res;
  |  | 1185|      0|            _PyStackRef s;
  |  | 1186|      0|            _PyStackRef i;
  |  | 1187|       |            // _GUARD_TOS_INT
  |  | 1188|      0|            {
  |  | 1189|      0|                value = stack_pointer[-1];
  |  | 1190|      0|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1191|      0|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1191:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1192|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1193|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1193:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1194|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1195|      0|                }
  |  | 1196|      0|            }
  |  | 1197|       |            // _GUARD_NOS_UNICODE
  |  | 1198|      0|            {
  |  | 1199|      0|                nos = stack_pointer[-2];
  |  | 1200|      0|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1201|      0|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1201:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1202|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1203|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1203:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1204|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1205|      0|                }
  |  | 1206|      0|            }
  |  | 1207|       |            /* Skip 5 cache entries */
  |  | 1208|       |            // _BINARY_OP_SUBSCR_USTR_INT
  |  | 1209|      0|            {
  |  | 1210|      0|                sub_st = value;
  |  | 1211|      0|                str_st = nos;
  |  | 1212|      0|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1213|      0|                PyObject *str = PyStackRef_AsPyObjectBorrow(str_st);
  |  | 1214|      0|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1214:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1215|      0|                assert(PyUnicode_CheckExact(str));
  |  |  ------------------
  |  |  |  Branch (1215:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1216|      0|                if (!_PyLong_IsNonNegativeCompact((PyLongObject*)sub)) {
  |  |  ------------------
  |  |  |  Branch (1216:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1217|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1218|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1218:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1219|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1220|      0|                }
  |  | 1221|      0|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1222|      0|                if (PyUnicode_GET_LENGTH(str) <= index) {
  |  |  ------------------
  |  |  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1222:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1223|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1224|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1224:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1225|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1226|      0|                }
  |  | 1227|      0|                Py_UCS4 c = PyUnicode_READ_CHAR(str, index);
  |  |  ------------------
  |  |  |  |  382|      0|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1228|      0|                if (Py_ARRAY_LENGTH(_Py_SINGLETON(strings).ascii) <= c) {
  |  |  ------------------
  |  |  |  |  232|      0|    (sizeof(array) / sizeof((array)[0]))
  |  |  ------------------
  |  |  |  Branch (1228:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1229|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1230|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1230:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1231|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1232|      0|                }
  |  | 1233|      0|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1234|      0|                PyObject *res_o = (PyObject*)&_Py_SINGLETON(strings).ascii[c];
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1235|      0|                s = str_st;
  |  | 1236|      0|                i = sub_st;
  |  | 1237|      0|                res = PyStackRef_FromPyObjectBorrow(res_o);
  |  | 1238|      0|            }
  |  | 1239|       |            // _POP_TOP_INT
  |  | 1240|      0|            {
  |  | 1241|      0|                value = i;
  |  | 1242|      0|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1242:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1243|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1244|      0|            }
  |  | 1245|       |            // _POP_TOP_UNICODE
  |  | 1246|      0|            {
  |  | 1247|      0|                value = s;
  |  | 1248|      0|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1248:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1249|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 1250|      0|            }
  |  | 1251|      0|            stack_pointer[-2] = res;
  |  | 1252|      0|            stack_pointer += -1;
  |  | 1253|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1254|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 1255|      0|        }
  |  | 1256|       |
  |  | 1257|      0|        TARGET(BINARY_OP_SUBTRACT_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1258|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1259|       |            int opcode = BINARY_OP_SUBTRACT_FLOAT;
  |  | 1260|       |            (void)(opcode);
  |  | 1261|       |            #endif
  |  | 1262|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1263|      0|            (void)this_instr;
  |  | 1264|      0|            frame->instr_ptr = next_instr;
  |  | 1265|      0|            next_instr += 6;
  |  | 1266|      0|            INSTRUCTION_STATS(BINARY_OP_SUBTRACT_FLOAT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1267|      0|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1268|      0|            _PyStackRef value;
  |  | 1269|      0|            _PyStackRef left;
  |  | 1270|      0|            _PyStackRef right;
  |  | 1271|      0|            _PyStackRef res;
  |  | 1272|      0|            _PyStackRef l;
  |  | 1273|      0|            _PyStackRef r;
  |  | 1274|       |            // _GUARD_TOS_FLOAT
  |  | 1275|      0|            {
  |  | 1276|      0|                value = stack_pointer[-1];
  |  | 1277|      0|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1278|      0|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1278:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1279|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1280|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1280:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1281|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1282|      0|                }
  |  | 1283|      0|            }
  |  | 1284|       |            // _GUARD_NOS_FLOAT
  |  | 1285|      0|            {
  |  | 1286|      0|                left = stack_pointer[-2];
  |  | 1287|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1288|      0|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1288:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1289|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1290|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1290:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1291|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1292|      0|                }
  |  | 1293|      0|            }
  |  | 1294|       |            /* Skip 5 cache entries */
  |  | 1295|       |            // _BINARY_OP_SUBTRACT_FLOAT
  |  | 1296|      0|            {
  |  | 1297|      0|                right = value;
  |  | 1298|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1299|      0|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 1300|      0|                assert(PyFloat_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (1300:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1301|      0|                assert(PyFloat_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (1301:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1302|      0|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1303|      0|                double dres =
  |  | 1304|      0|                ((PyFloatObject *)left_o)->ob_fval -
  |  | 1305|      0|                ((PyFloatObject *)right_o)->ob_fval;
  |  | 1306|      0|                PyObject *d = PyFloat_FromDouble(dres);
  |  | 1307|      0|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (1307:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1308|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1309|      0|                }
  |  | 1310|      0|                res = PyStackRef_FromPyObjectSteal(d);
  |  | 1311|      0|                l = left;
  |  | 1312|      0|                r = right;
  |  | 1313|      0|            }
  |  | 1314|       |            // _POP_TOP_FLOAT
  |  | 1315|      0|            {
  |  | 1316|      0|                value = r;
  |  | 1317|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1317:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1318|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 1319|      0|            }
  |  | 1320|       |            // _POP_TOP_FLOAT
  |  | 1321|      0|            {
  |  | 1322|      0|                value = l;
  |  | 1323|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1323:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1324|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 1325|      0|            }
  |  | 1326|      0|            stack_pointer[-2] = res;
  |  | 1327|      0|            stack_pointer += -1;
  |  | 1328|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1329|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 1330|      0|        }
  |  | 1331|       |
  |  | 1332|    539|        TARGET(BINARY_OP_SUBTRACT_INT) {
  |  |  ------------------
  |  |  |  |  132|    539|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1333|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1334|       |            int opcode = BINARY_OP_SUBTRACT_INT;
  |  | 1335|       |            (void)(opcode);
  |  | 1336|       |            #endif
  |  | 1337|    539|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1338|    539|            (void)this_instr;
  |  | 1339|    539|            frame->instr_ptr = next_instr;
  |  | 1340|    539|            next_instr += 6;
  |  | 1341|    539|            INSTRUCTION_STATS(BINARY_OP_SUBTRACT_INT);
  |  |  ------------------
  |  |  |  |   71|    539|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1342|    539|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1343|    539|            _PyStackRef value;
  |  | 1344|    539|            _PyStackRef left;
  |  | 1345|    539|            _PyStackRef right;
  |  | 1346|    539|            _PyStackRef res;
  |  | 1347|    539|            _PyStackRef l;
  |  | 1348|    539|            _PyStackRef r;
  |  | 1349|       |            // _GUARD_TOS_INT
  |  | 1350|    539|            {
  |  | 1351|    539|                value = stack_pointer[-1];
  |  | 1352|    539|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1353|    539|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1353:21): [True: 0, False: 539]
  |  |  ------------------
  |  | 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|    539|            }
  |  | 1359|       |            // _GUARD_NOS_INT
  |  | 1360|    539|            {
  |  | 1361|    539|                left = stack_pointer[-2];
  |  | 1362|    539|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1363|    539|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (1363:21): [True: 0, False: 539]
  |  |  ------------------
  |  | 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|    539|            }
  |  | 1369|       |            /* Skip 5 cache entries */
  |  | 1370|       |            // _BINARY_OP_SUBTRACT_INT
  |  | 1371|    539|            {
  |  | 1372|    539|                right = value;
  |  | 1373|    539|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1374|    539|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 1375|    539|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (1375:17): [True: 539, False: 0]
  |  |  ------------------
  |  | 1376|    539|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (1376:17): [True: 539, False: 0]
  |  |  ------------------
  |  | 1377|    539|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (1377:17): [True: 539, False: 0]
  |  |  ------------------
  |  | 1378|    539|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    539|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1379|    539|                res = _PyCompactLong_Subtract((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  | 1380|    539|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|    539|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    539|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    539|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 539]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    539|                l = left;
  |  | 1386|    539|                r = right;
  |  | 1387|    539|            }
  |  | 1388|       |            // _POP_TOP_INT
  |  | 1389|      0|            {
  |  | 1390|    539|                value = r;
  |  | 1391|    539|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1391:17): [True: 539, False: 0]
  |  |  ------------------
  |  | 1392|    539|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1393|    539|            }
  |  | 1394|       |            // _POP_TOP_INT
  |  | 1395|      0|            {
  |  | 1396|    539|                value = l;
  |  | 1397|    539|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1397:17): [True: 539, False: 0]
  |  |  ------------------
  |  | 1398|    539|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1399|    539|            }
  |  | 1400|      0|            stack_pointer[-2] = res;
  |  | 1401|    539|            stack_pointer += -1;
  |  | 1402|    539|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    539|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1403|    539|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    539|    { \
  |  |  |  |  201|    539|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    539|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    539|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    539|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    539|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    539|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    539|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    539|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 539]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    539|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    539|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    539|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    539|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    539|    }
  |  |  ------------------
  |  | 1404|    539|        }
  |  | 1405|       |
  |  | 1406|    313|        TARGET(BINARY_SLICE) {
  |  |  ------------------
  |  |  |  |  132|    313|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1407|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1408|       |            int opcode = BINARY_SLICE;
  |  | 1409|       |            (void)(opcode);
  |  | 1410|       |            #endif
  |  | 1411|    313|            frame->instr_ptr = next_instr;
  |  | 1412|    313|            next_instr += 1;
  |  | 1413|    313|            INSTRUCTION_STATS(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   71|    313|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1414|    313|            _PyStackRef container;
  |  | 1415|    313|            _PyStackRef start;
  |  | 1416|    313|            _PyStackRef stop;
  |  | 1417|    313|            _PyStackRef res;
  |  | 1418|       |            // _SPECIALIZE_BINARY_SLICE
  |  | 1419|    313|            {
  |  | 1420|    313|                #if ENABLE_SPECIALIZATION
  |  | 1421|    313|                OPCODE_DEFERRED_INC(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   90|    313|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1422|    313|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1423|    313|            }
  |  | 1424|       |            // _BINARY_SLICE
  |  | 1425|    313|            {
  |  | 1426|    313|                stop = stack_pointer[-1];
  |  | 1427|    313|                start = stack_pointer[-2];
  |  | 1428|    313|                container = stack_pointer[-3];
  |  | 1429|    313|                PyObject *container_o = PyStackRef_AsPyObjectBorrow(container);
  |  | 1430|    313|                PyObject *start_o = PyStackRef_AsPyObjectBorrow(start);
  |  | 1431|    313|                PyObject *stop_o = PyStackRef_AsPyObjectBorrow(stop);
  |  | 1432|    313|                PyObject *res_o;
  |  | 1433|    313|                if (PyList_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |   26|    313|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    313|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    313|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    313|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 1, False: 312]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1434|      1|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1435|      1|                    _PyFrame_StackPointerValidate(frame);
  |  | 1436|      1|                    res_o = _PyList_BinarySlice(container_o, start_o, stop_o);
  |  | 1437|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1438|      1|                }
  |  | 1439|    312|                else if (PyTuple_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |   28|    312|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    312|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    312|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    312|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 312]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    312|                else if (PyUnicode_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |  104|    312|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    312|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    312|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    312|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 288, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1446|    288|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1447|    288|                    _PyFrame_StackPointerValidate(frame);
  |  | 1448|    288|                    res_o = _PyUnicode_BinarySlice(container_o, start_o, stop_o);
  |  | 1449|    288|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1450|    288|                }
  |  | 1451|     24|                else {
  |  | 1452|     24|                    PyObject *slice = PySlice_New(start_o, stop_o, NULL);
  |  | 1453|     24|                    if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (1453:25): [True: 0, False: 24]
  |  |  ------------------
  |  | 1454|      0|                        res_o = NULL;
  |  | 1455|      0|                    }
  |  | 1456|     24|                    else {
  |  | 1457|     24|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1458|     24|                        _PyFrame_StackPointerValidate(frame);
  |  | 1459|     24|                        res_o = PyObject_GetItem(container_o, slice);
  |  | 1460|     24|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 1461|     24|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1461:25): [True: 24, False: 0]
  |  |  ------------------
  |  | 1462|     24|                        _PyFrame_StackPointerValidate(frame);
  |  | 1463|     24|                        Py_DECREF(slice);
  |  |  ------------------
  |  |  |  |   80|     24|    do { \
  |  |  |  |   81|     24|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     24|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     24|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     24|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     24|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     24|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 24, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|     24|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|     24|    do { \
  |  |  |  |  |  |  110|     24|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|     24|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|     24|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     24|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     24|            (*dealloc)(op); \
  |  |  |  |   91|     24|        } \
  |  |  |  |   92|     24|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1464|     24|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 1465|     24|                    }
  |  | 1466|     24|                }
  |  | 1467|    313|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1468|    313|                _PyFrame_StackPointerValidate(frame);
  |  | 1469|    313|                _PyStackRef tmp = stop;
  |  | 1470|    313|                stop = PyStackRef_NULL;
  |  | 1471|    313|                stack_pointer[-1] = stop;
  |  | 1472|    313|                PyStackRef_CLOSE(tmp);
  |  | 1473|    313|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1474|    313|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1474:17): [True: 313, False: 0]
  |  |  ------------------
  |  | 1475|    313|                _PyFrame_StackPointerValidate(frame);
  |  | 1476|    313|                tmp = start;
  |  | 1477|    313|                start = PyStackRef_NULL;
  |  | 1478|    313|                stack_pointer[-2] = start;
  |  | 1479|    313|                PyStackRef_CLOSE(tmp);
  |  | 1480|    313|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1481|    313|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1481:17): [True: 313, False: 0]
  |  |  ------------------
  |  | 1482|    313|                _PyFrame_StackPointerValidate(frame);
  |  | 1483|    313|                tmp = container;
  |  | 1484|    313|                container = PyStackRef_NULL;
  |  | 1485|    313|                stack_pointer[-3] = container;
  |  | 1486|    313|                PyStackRef_CLOSE(tmp);
  |  | 1487|    313|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1488|    313|                stack_pointer += -3;
  |  | 1489|    313|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    313|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1490|    313|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1490:21): [True: 0, False: 313]
  |  |  ------------------
  |  | 1491|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1492|      0|                }
  |  | 1493|    313|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1494|    313|            }
  |  | 1495|      0|            stack_pointer[0] = res;
  |  | 1496|    313|            stack_pointer += 1;
  |  | 1497|    313|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    313|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1498|    313|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    313|    { \
  |  |  |  |  201|    313|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    313|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    313|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    313|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    313|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    313|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    313|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    313|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 313]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    313|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    313|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    313|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    313|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    313|    }
  |  |  ------------------
  |  | 1499|    313|        }
  |  | 1500|       |
  |  | 1501|      0|        TARGET(BUILD_INTERPOLATION) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1502|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1503|       |            int opcode = BUILD_INTERPOLATION;
  |  | 1504|       |            (void)(opcode);
  |  | 1505|       |            #endif
  |  | 1506|      0|            frame->instr_ptr = next_instr;
  |  | 1507|      0|            next_instr += 1;
  |  | 1508|      0|            INSTRUCTION_STATS(BUILD_INTERPOLATION);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1509|      0|            _PyStackRef value;
  |  | 1510|      0|            _PyStackRef str;
  |  | 1511|      0|            _PyStackRef *format;
  |  | 1512|      0|            _PyStackRef interpolation;
  |  | 1513|      0|            format = &stack_pointer[-(oparg & 1)];
  |  | 1514|      0|            str = stack_pointer[-1 - (oparg & 1)];
  |  | 1515|      0|            value = stack_pointer[-2 - (oparg & 1)];
  |  | 1516|      0|            PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1517|      0|            PyObject *str_o = PyStackRef_AsPyObjectBorrow(str);
  |  | 1518|      0|            int conversion = oparg >> 2;
  |  | 1519|      0|            PyObject *format_o;
  |  | 1520|      0|            if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (1520:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1521|      0|                format_o = PyStackRef_AsPyObjectBorrow(format[0]);
  |  | 1522|      0|            }
  |  | 1523|      0|            else {
  |  | 1524|      0|                format_o = &_Py_STR(empty);
  |  |  ------------------
  |  |  |  |  953|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1525|      0|            }
  |  | 1526|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1527|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1528|      0|            PyObject *interpolation_o = _PyInterpolation_Build(value_o, str_o, conversion, format_o);
  |  | 1529|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1530|      0|            if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (1530:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1531|      0|                stack_pointer += -(oparg & 1);
  |  | 1532|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1533|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1534|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 1535|      0|                PyStackRef_CLOSE(format[0]);
  |  | 1536|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1537|      0|            }
  |  | 1538|      0|            else {
  |  | 1539|      0|                stack_pointer += -(oparg & 1);
  |  | 1540|      0|            }
  |  | 1541|      0|            stack_pointer += -1;
  |  | 1542|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1543|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1544|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1545|      0|            PyStackRef_CLOSE(str);
  |  | 1546|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1547|      0|            stack_pointer += -1;
  |  | 1548|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1549|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1550|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1551|      0|            PyStackRef_CLOSE(value);
  |  | 1552|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1553|      0|            if (interpolation_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1553:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1554|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1555|      0|            }
  |  | 1556|      0|            interpolation = PyStackRef_FromPyObjectSteal(interpolation_o);
  |  | 1557|      0|            stack_pointer[0] = interpolation;
  |  | 1558|      0|            stack_pointer += 1;
  |  | 1559|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1560|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 1561|      0|        }
  |  | 1562|       |
  |  | 1563|  7.00k|        TARGET(BUILD_LIST) {
  |  |  ------------------
  |  |  |  |  132|  7.00k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1564|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1565|       |            int opcode = BUILD_LIST;
  |  | 1566|       |            (void)(opcode);
  |  | 1567|       |            #endif
  |  | 1568|  7.00k|            frame->instr_ptr = next_instr;
  |  | 1569|  7.00k|            next_instr += 1;
  |  | 1570|  7.00k|            INSTRUCTION_STATS(BUILD_LIST);
  |  |  ------------------
  |  |  |  |   71|  7.00k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1571|  7.00k|            _PyStackRef *values;
  |  | 1572|  7.00k|            _PyStackRef list;
  |  | 1573|  7.00k|            values = &stack_pointer[-oparg];
  |  | 1574|  7.00k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1575|  7.00k|            _PyFrame_StackPointerValidate(frame);
  |  | 1576|  7.00k|            PyObject *list_o = _PyList_FromStackRefStealOnSuccess(values, oparg);
  |  | 1577|  7.00k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1578|  7.00k|            if (list_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1578:17): [True: 0, False: 7.00k]
  |  |  ------------------
  |  | 1579|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1580|      0|            }
  |  | 1581|  7.00k|            list = PyStackRef_FromPyObjectStealMortal(list_o);
  |  | 1582|  7.00k|            stack_pointer[-oparg] = list;
  |  | 1583|  7.00k|            stack_pointer += 1 - oparg;
  |  | 1584|  7.00k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  7.00k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1585|  7.00k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.00k|    { \
  |  |  |  |  201|  7.00k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.00k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.00k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.00k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  7.00k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.00k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.00k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.00k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.00k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.00k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.00k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.00k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.00k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.00k|    }
  |  |  ------------------
  |  | 1586|  7.00k|        }
  |  | 1587|       |
  |  | 1588|  1.71k|        TARGET(BUILD_MAP) {
  |  |  ------------------
  |  |  |  |  132|  1.71k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1589|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1590|       |            int opcode = BUILD_MAP;
  |  | 1591|       |            (void)(opcode);
  |  | 1592|       |            #endif
  |  | 1593|  1.71k|            frame->instr_ptr = next_instr;
  |  | 1594|  1.71k|            next_instr += 1;
  |  | 1595|  1.71k|            INSTRUCTION_STATS(BUILD_MAP);
  |  |  ------------------
  |  |  |  |   71|  1.71k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1596|  1.71k|            _PyStackRef *values;
  |  | 1597|  1.71k|            _PyStackRef map;
  |  | 1598|  1.71k|            values = &stack_pointer[-oparg*2];
  |  | 1599|  1.71k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1600|  1.71k|            _PyFrame_StackPointerValidate(frame);
  |  | 1601|  1.71k|            PyObject *map_o = _Py_BuildMap_StackRefSteal(values, oparg);
  |  | 1602|  1.71k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1603|  1.71k|            if (map_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1603:17): [True: 0, False: 1.71k]
  |  |  ------------------
  |  | 1604|      0|                stack_pointer += -oparg*2;
  |  | 1605|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1606|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1607|      0|            }
  |  | 1608|  1.71k|            map = PyStackRef_FromPyObjectStealMortal(map_o);
  |  | 1609|  1.71k|            stack_pointer[-oparg*2] = map;
  |  | 1610|  1.71k|            stack_pointer += 1 - oparg*2;
  |  | 1611|  1.71k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.71k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1612|  1.71k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.71k|    { \
  |  |  |  |  201|  1.71k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.71k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.71k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.71k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.71k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.71k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.71k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.71k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.71k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.71k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.71k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.71k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.71k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.71k|    }
  |  |  ------------------
  |  | 1613|  1.71k|        }
  |  | 1614|       |
  |  | 1615|     40|        TARGET(BUILD_SET) {
  |  |  ------------------
  |  |  |  |  132|     40|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1616|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1617|       |            int opcode = BUILD_SET;
  |  | 1618|       |            (void)(opcode);
  |  | 1619|       |            #endif
  |  | 1620|     40|            frame->instr_ptr = next_instr;
  |  | 1621|     40|            next_instr += 1;
  |  | 1622|     40|            INSTRUCTION_STATS(BUILD_SET);
  |  |  ------------------
  |  |  |  |   71|     40|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1623|     40|            _PyStackRef *values;
  |  | 1624|     40|            _PyStackRef set;
  |  | 1625|     40|            values = &stack_pointer[-oparg];
  |  | 1626|     40|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1627|     40|            _PyFrame_StackPointerValidate(frame);
  |  | 1628|     40|            PyObject *set_o = PySet_New(NULL);
  |  | 1629|     40|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1630|     40|            if (set_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1630:17): [True: 0, False: 40]
  |  |  ------------------
  |  | 1631|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1631:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1632|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 1633|      0|                _PyStackRef tmp;
  |  | 1634|      0|                for (int _i = oparg; --_i >= 0;) {
  |  |  ------------------
  |  |  |  Branch (1634:38): [True: 0, False: 0]
  |  |  ------------------
  |  | 1635|      0|                    tmp = values[_i];
  |  | 1636|      0|                    values[_i] = PyStackRef_NULL;
  |  | 1637|      0|                    PyStackRef_CLOSE(tmp);
  |  | 1638|      0|                }
  |  | 1639|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1640|      0|                stack_pointer += -oparg;
  |  | 1641|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1642|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1643|      0|            }
  |  | 1644|     40|            int err = 0;
  |  | 1645|    191|            for (Py_ssize_t i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (1645:36): [True: 151, False: 40]
  |  |  ------------------
  |  | 1646|    151|                _PyStackRef value = values[i];
  |  | 1647|    151|                values[i] = PyStackRef_NULL;
  |  | 1648|    151|                if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (1648:21): [True: 151, False: 0]
  |  |  ------------------
  |  | 1649|    151|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1649:21): [True: 151, False: 0]
  |  |  ------------------
  |  | 1650|    151|                    _PyFrame_StackPointerValidate(frame);
  |  | 1651|    151|                    err = _PySet_AddTakeRef((PySetObject *)set_o, PyStackRef_AsPyObjectSteal(value));
  |  | 1652|    151|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1653|    151|                }
  |  | 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|    151|            }
  |  | 1661|     40|            if (err) {
  |  |  ------------------
  |  |  |  Branch (1661:17): [True: 0, False: 40]
  |  |  ------------------
  |  | 1662|      0|                stack_pointer += -oparg;
  |  | 1663|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1664|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1665|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 1666|      0|                Py_DECREF(set_o);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1667|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1668|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1669|      0|            }
  |  | 1670|     40|            set = PyStackRef_FromPyObjectStealMortal(set_o);
  |  | 1671|     40|            stack_pointer[-oparg] = set;
  |  | 1672|     40|            stack_pointer += 1 - oparg;
  |  | 1673|     40|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     40|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1674|     40|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     40|    { \
  |  |  |  |  201|     40|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     40|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     40|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     40|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     40|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     40|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     40|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     40|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 40]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     40|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     40|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     40|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     40|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     40|    }
  |  |  ------------------
  |  | 1675|     40|        }
  |  | 1676|       |
  |  | 1677|     18|        TARGET(BUILD_SLICE) {
  |  |  ------------------
  |  |  |  |  132|     18|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1678|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1679|       |            int opcode = BUILD_SLICE;
  |  | 1680|       |            (void)(opcode);
  |  | 1681|       |            #endif
  |  | 1682|     18|            frame->instr_ptr = next_instr;
  |  | 1683|     18|            next_instr += 1;
  |  | 1684|     18|            INSTRUCTION_STATS(BUILD_SLICE);
  |  |  ------------------
  |  |  |  |   71|     18|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1685|     18|            _PyStackRef *args;
  |  | 1686|     18|            _PyStackRef slice;
  |  | 1687|     18|            args = &stack_pointer[-oparg];
  |  | 1688|     18|            PyObject *start_o = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 1689|     18|            PyObject *stop_o = PyStackRef_AsPyObjectBorrow(args[1]);
  |  | 1690|     18|            PyObject *step_o = oparg == 3 ? PyStackRef_AsPyObjectBorrow(args[2]) : NULL;
  |  |  ------------------
  |  |  |  Branch (1690:32): [True: 17, False: 1]
  |  |  ------------------
  |  | 1691|     18|            PyObject *slice_o = PySlice_New(start_o, stop_o, step_o);
  |  | 1692|     18|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1693|     18|            _PyFrame_StackPointerValidate(frame);
  |  | 1694|     18|            _PyStackRef tmp;
  |  | 1695|     71|            for (int _i = oparg; --_i >= 0;) {
  |  |  ------------------
  |  |  |  Branch (1695:34): [True: 53, False: 18]
  |  |  ------------------
  |  | 1696|     53|                tmp = args[_i];
  |  | 1697|     53|                args[_i] = PyStackRef_NULL;
  |  | 1698|     53|                PyStackRef_CLOSE(tmp);
  |  | 1699|     53|            }
  |  | 1700|     18|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1701|     18|            stack_pointer += -oparg;
  |  | 1702|     18|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     18|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1703|     18|            if (slice_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1703:17): [True: 0, False: 18]
  |  |  ------------------
  |  | 1704|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1705|      0|            }
  |  | 1706|     18|            slice = PyStackRef_FromPyObjectStealMortal(slice_o);
  |  | 1707|     18|            stack_pointer[0] = slice;
  |  | 1708|     18|            stack_pointer += 1;
  |  | 1709|     18|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     18|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1710|     18|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     18|    { \
  |  |  |  |  201|     18|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     18|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     18|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     18|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     18|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     18|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     18|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     18|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 18]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     18|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     18|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     18|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     18|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     18|    }
  |  |  ------------------
  |  | 1711|     18|        }
  |  | 1712|       |
  |  | 1713|    505|        TARGET(BUILD_STRING) {
  |  |  ------------------
  |  |  |  |  132|    505|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1714|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1715|       |            int opcode = BUILD_STRING;
  |  | 1716|       |            (void)(opcode);
  |  | 1717|       |            #endif
  |  | 1718|    505|            frame->instr_ptr = next_instr;
  |  | 1719|    505|            next_instr += 1;
  |  | 1720|    505|            INSTRUCTION_STATS(BUILD_STRING);
  |  |  ------------------
  |  |  |  |   71|    505|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1721|    505|            _PyStackRef *pieces;
  |  | 1722|    505|            _PyStackRef str;
  |  | 1723|    505|            pieces = &stack_pointer[-oparg];
  |  | 1724|    505|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1725|    505|            _PyFrame_StackPointerValidate(frame);
  |  | 1726|    505|            PyObject *str_o = _Py_BuildString_StackRefSteal(pieces, oparg);
  |  | 1727|    505|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1728|    505|            if (str_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1728:17): [True: 0, False: 505]
  |  |  ------------------
  |  | 1729|      0|                stack_pointer += -oparg;
  |  | 1730|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1731|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1732|      0|            }
  |  | 1733|    505|            str = PyStackRef_FromPyObjectSteal(str_o);
  |  | 1734|    505|            stack_pointer[-oparg] = str;
  |  | 1735|    505|            stack_pointer += 1 - oparg;
  |  | 1736|    505|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    505|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1737|    505|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    505|    { \
  |  |  |  |  201|    505|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    505|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    505|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    505|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    505|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    505|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    505|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    505|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 505]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    505|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    505|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    505|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    505|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    505|    }
  |  |  ------------------
  |  | 1738|    505|        }
  |  | 1739|       |
  |  | 1740|      0|        TARGET(BUILD_TEMPLATE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1741|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1742|       |            int opcode = BUILD_TEMPLATE;
  |  | 1743|       |            (void)(opcode);
  |  | 1744|       |            #endif
  |  | 1745|      0|            frame->instr_ptr = next_instr;
  |  | 1746|      0|            next_instr += 1;
  |  | 1747|      0|            INSTRUCTION_STATS(BUILD_TEMPLATE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1748|      0|            _PyStackRef strings;
  |  | 1749|      0|            _PyStackRef interpolations;
  |  | 1750|      0|            _PyStackRef template;
  |  | 1751|      0|            interpolations = stack_pointer[-1];
  |  | 1752|      0|            strings = stack_pointer[-2];
  |  | 1753|      0|            PyObject *strings_o = PyStackRef_AsPyObjectBorrow(strings);
  |  | 1754|      0|            PyObject *interpolations_o = PyStackRef_AsPyObjectBorrow(interpolations);
  |  | 1755|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1756|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1757|      0|            PyObject *template_o = _PyTemplate_Build(strings_o, interpolations_o);
  |  | 1758|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1759|      0|            stack_pointer += -1;
  |  | 1760|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1761|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1762|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1763|      0|            PyStackRef_CLOSE(interpolations);
  |  | 1764|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1765|      0|            stack_pointer += -1;
  |  | 1766|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1767|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1768|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1769|      0|            PyStackRef_CLOSE(strings);
  |  | 1770|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1771|      0|            if (template_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1771:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 1772|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1773|      0|            }
  |  | 1774|      0|            template = PyStackRef_FromPyObjectSteal(template_o);
  |  | 1775|      0|            stack_pointer[0] = template;
  |  | 1776|      0|            stack_pointer += 1;
  |  | 1777|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1778|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 1779|      0|        }
  |  | 1780|       |
  |  | 1781|  2.64k|        TARGET(BUILD_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  2.64k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1782|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1783|       |            int opcode = BUILD_TUPLE;
  |  | 1784|       |            (void)(opcode);
  |  | 1785|       |            #endif
  |  | 1786|  2.64k|            frame->instr_ptr = next_instr;
  |  | 1787|  2.64k|            next_instr += 1;
  |  | 1788|  2.64k|            INSTRUCTION_STATS(BUILD_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  2.64k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1789|  2.64k|            _PyStackRef *values;
  |  | 1790|  2.64k|            _PyStackRef tup;
  |  | 1791|  2.64k|            values = &stack_pointer[-oparg];
  |  | 1792|  2.64k|            PyObject *tup_o = _PyTuple_FromStackRefStealOnSuccess(values, oparg);
  |  | 1793|  2.64k|            if (tup_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1793:17): [True: 0, False: 2.64k]
  |  |  ------------------
  |  | 1794|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1795|      0|            }
  |  | 1796|  2.64k|            tup = PyStackRef_FromPyObjectStealMortal(tup_o);
  |  | 1797|  2.64k|            stack_pointer[-oparg] = tup;
  |  | 1798|  2.64k|            stack_pointer += 1 - oparg;
  |  | 1799|  2.64k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.64k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1800|  2.64k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.64k|    { \
  |  |  |  |  201|  2.64k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.64k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.64k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.64k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.64k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.64k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.64k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.64k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.64k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.64k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.64k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.64k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.64k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.64k|    }
  |  |  ------------------
  |  | 1801|  2.64k|        }
  |  | 1802|       |
  |  | 1803|      0|        TARGET(CACHE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1804|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1805|       |            int opcode = CACHE;
  |  | 1806|       |            (void)(opcode);
  |  | 1807|       |            #endif
  |  | 1808|      0|            frame->instr_ptr = next_instr;
  |  | 1809|      0|            next_instr += 1;
  |  | 1810|      0|            INSTRUCTION_STATS(CACHE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1811|      0|            assert(0 && "Executing a cache.");
  |  |  ------------------
  |  |  |  Branch (1811:13): [Folded, False: 0]
  |  |  |  Branch (1811:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1812|      0|            Py_FatalError("Executing a cache.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  | 1813|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded - Ignored]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 1814|      0|        }
  |  | 1815|       |
  |  | 1816|  3.72k|        TARGET(CALL) {
  |  |  ------------------
  |  |  |  |  132|  3.72k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1817|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1818|       |            int opcode = CALL;
  |  | 1819|       |            (void)(opcode);
  |  | 1820|       |            #endif
  |  | 1821|  3.72k|            frame->instr_ptr = next_instr;
  |  | 1822|  3.72k|            next_instr += 4;
  |  | 1823|  3.72k|            INSTRUCTION_STATS(CALL);
  |  |  ------------------
  |  |  |  |   71|  3.72k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1824|  6.31k|            PREDICTED_CALL:;
  |  | 1825|  6.31k|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 1826|  6.31k|            (void)this_instr;
  |  | 1827|  6.31k|            opcode = CALL;
  |  |  ------------------
  |  |  |  |   63|  6.31k|#define CALL                                    50
  |  |  ------------------
  |  | 1828|  6.31k|            _PyStackRef callable;
  |  | 1829|  6.31k|            _PyStackRef self_or_null;
  |  | 1830|  6.31k|            _PyStackRef *args;
  |  | 1831|  6.31k|            _PyStackRef res;
  |  | 1832|       |            // _SPECIALIZE_CALL
  |  | 1833|  6.31k|            {
  |  | 1834|  6.31k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1835|  6.31k|                callable = stack_pointer[-2 - oparg];
  |  | 1836|  6.31k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 1837|  6.31k|                (void)counter;
  |  | 1838|  6.31k|                #if ENABLE_SPECIALIZATION
  |  | 1839|  6.31k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  6.31k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 961, False: 5.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1840|    961|                    next_instr = this_instr;
  |  | 1841|    961|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1842|    961|                    _PyFrame_StackPointerValidate(frame);
  |  | 1843|    961|                    _Py_Specialize_Call(callable, self_or_null, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  482|    961|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    961|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    961|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1844|    961|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1845|    961|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    961|    { \
  |  |  |  |  217|    961|        opcode = next_instr->op.code; \
  |  |  |  |  218|    961|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    961|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    961|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    961|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    961|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    961|    }
  |  |  ------------------
  |  | 1846|    961|                }
  |  | 1847|  6.31k|                OPCODE_DEFERRED_INC(CALL);
  |  |  ------------------
  |  |  |  |   90|  6.31k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1848|  6.31k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  6.31k|    do { \
  |  |  |  |  378|  6.31k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  6.31k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 6.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1849|  6.31k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1850|  6.31k|            }
  |  | 1851|       |            /* Skip 2 cache entries */
  |  | 1852|       |            // _MAYBE_EXPAND_METHOD
  |  | 1853|  6.31k|            {
  |  | 1854|  6.31k|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    600|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    600|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    600|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 600, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1854:21): [True: 600, False: 5.71k]
  |  |  ------------------
  |  | 1855|    600|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1856|    600|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 1857|    600|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1858|    600|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 1859|    600|                    _PyStackRef temp = callable;
  |  | 1860|    600|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1861|    600|                    stack_pointer[-2 - oparg] = callable;
  |  | 1862|    600|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1863|    600|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1864|    600|                    _PyFrame_StackPointerValidate(frame);
  |  | 1865|    600|                    PyStackRef_CLOSE(temp);
  |  | 1866|    600|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1867|    600|                }
  |  | 1868|  6.31k|            }
  |  | 1869|       |            // _DO_CALL
  |  | 1870|  6.31k|            {
  |  | 1871|  6.31k|                args = &stack_pointer[-oparg];
  |  | 1872|  6.31k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1873|  6.31k|                int total_args = oparg;
  |  | 1874|  6.31k|                _PyStackRef *arguments = args;
  |  | 1875|  6.31k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  6.31k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  6.31k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  6.31k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1875:21): [True: 3.12k, False: 3.19k]
  |  |  ------------------
  |  | 1876|  3.12k|                    arguments--;
  |  | 1877|  3.12k|                    total_args++;
  |  | 1878|  3.12k|                }
  |  | 1879|  6.31k|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|  6.31k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1879:21): [True: 2.04k, False: 4.26k]
  |  |  ------------------
  |  | 1880|  2.04k|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|  8.36k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (1880:21): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 1881|  2.04k|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (1881:21): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 1882|  2.04k|                {
  |  | 1883|  2.04k|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  2.04k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1884|  2.04k|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|  2.04k|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                   PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1884:40): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 1885|  2.04k|                    stack_pointer[-2 - oparg] = callable;
  |  | 1886|  2.04k|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1887|  2.04k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1888|  2.04k|                    _PyFrame_StackPointerValidate(frame);
  |  | 1889|  2.04k|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 1890|  2.04k|                        tstate, callable, locals,
  |  | 1891|  2.04k|                        arguments, total_args, NULL, frame
  |  | 1892|  2.04k|                    );
  |  | 1893|  2.04k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1894|  2.04k|                    stack_pointer += -2 - oparg;
  |  | 1895|  2.04k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.04k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1896|  2.04k|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (1896:25): [True: 0, False: 2.04k]
  |  |  ------------------
  |  | 1897|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1898|      0|                    }
  |  | 1899|  2.04k|                    frame->return_offset = 4u ;
  |  | 1900|  2.04k|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|  2.04k|    do {                                                         \
  |  |  |  |  224|  2.04k|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|  2.04k|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|  2.04k|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|  2.04k|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|  2.04k|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|  2.04k|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|  2.04k|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|  2.04k|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  2.04k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1900:21): [True: 2.04k, False: 0]
  |  |  |  Branch (1900:21): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 1901|  2.04k|                }
  |  | 1902|  4.26k|                stack_pointer[-2 - oparg] = callable;
  |  | 1903|  4.26k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 1904|  4.26k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1905|  4.26k|                _PyFrame_StackPointerValidate(frame);
  |  | 1906|  4.26k|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 1907|  4.26k|                    callable,
  |  | 1908|  4.26k|                    arguments,
  |  | 1909|  4.26k|                    total_args,
  |  | 1910|  4.26k|                    PyStackRef_NULL,
  |  | 1911|  4.26k|                    opcode == INSTRUMENTED_CALL,
  |  |  ------------------
  |  |  |  |  237|  4.26k|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 1912|  4.26k|                    frame,
  |  | 1913|  4.26k|                    this_instr,
  |  | 1914|  4.26k|                    tstate);
  |  | 1915|  4.26k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1916|  4.26k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1916:21): [True: 29, False: 4.23k]
  |  |  ------------------
  |  | 1917|     29|                    stack_pointer += -2 - oparg;
  |  | 1918|     29|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     29|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1919|     29|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     29|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1920|      0|                }
  |  | 1921|  4.23k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1922|  4.23k|            }
  |  | 1923|       |            // _CHECK_PERIODIC_AT_END
  |  | 1924|      0|            {
  |  | 1925|  4.23k|                stack_pointer[-2 - oparg] = res;
  |  | 1926|  4.23k|                stack_pointer += -1 - oparg;
  |  | 1927|  4.23k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.23k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1928|  4.23k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1929|  4.23k|                _PyFrame_StackPointerValidate(frame);
  |  | 1930|  4.23k|                int err = check_periodics_at_end(tstate, frame);
  |  | 1931|  4.23k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1932|  4.23k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (1932:21): [True: 0, False: 4.23k]
  |  |  ------------------
  |  | 1933|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1934|      0|                }
  |  | 1935|  4.23k|            }
  |  | 1936|  4.23k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.23k|    { \
  |  |  |  |  201|  4.23k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.23k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.23k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.23k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.23k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.23k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.23k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.23k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.23k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.23k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.23k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.23k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.23k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.23k|    }
  |  |  ------------------
  |  | 1937|  4.23k|        }
  |  | 1938|       |
  |  | 1939|  1.09k|        TARGET(CALL_ALLOC_AND_ENTER_INIT) {
  |  |  ------------------
  |  |  |  |  132|  1.09k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1940|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1941|       |            int opcode = CALL_ALLOC_AND_ENTER_INIT;
  |  | 1942|       |            (void)(opcode);
  |  | 1943|       |            #endif
  |  | 1944|  1.09k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1945|  1.09k|            (void)this_instr;
  |  | 1946|  1.09k|            frame->instr_ptr = next_instr;
  |  | 1947|  1.09k|            next_instr += 4;
  |  | 1948|  1.09k|            INSTRUCTION_STATS(CALL_ALLOC_AND_ENTER_INIT);
  |  |  ------------------
  |  |  |  |   71|  1.09k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1949|  1.09k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 1950|  1.09k|            _PyStackRef callable;
  |  | 1951|  1.09k|            _PyStackRef self_or_null;
  |  | 1952|  1.09k|            _PyStackRef init;
  |  | 1953|  1.09k|            _PyStackRef self;
  |  | 1954|  1.09k|            _PyStackRef *args;
  |  | 1955|  1.09k|            _PyStackRef init_frame;
  |  | 1956|  1.09k|            _PyStackRef new_frame;
  |  | 1957|       |            /* Skip 1 cache entry */
  |  | 1958|       |            // _CHECK_PEP_523
  |  | 1959|  1.09k|            {
  |  | 1960|  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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1961|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1962|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (1962:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1963|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1964|      0|                }
  |  | 1965|  1.09k|            }
  |  | 1966|       |            // _CHECK_OBJECT
  |  | 1967|  1.09k|            {
  |  | 1968|  1.09k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1969|  1.09k|                callable = stack_pointer[-2 - oparg];
  |  | 1970|  1.09k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 1971|  1.09k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1972|  1.09k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  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 (1972:21): [True: 0, False: 1.09k]
  |  |  ------------------
  |  | 1973|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1974|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (1974:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1975|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1976|      0|                }
  |  | 1977|  1.09k|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|  1.09k|#  define PyType_Check(op) PyType_Check(_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 (1977:21): [True: 0, False: 1.09k]
  |  |  ------------------
  |  | 1978|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1979|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (1979:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1980|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1981|      0|                }
  |  | 1982|  1.09k|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 1983|  1.09k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  161|  1.09k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (1983:21): [True: 8, False: 1.08k]
  |  |  ------------------
  |  | 1984|      8|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      8|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1985|      8|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (1985:21): [True: 8, False: 0]
  |  |  ------------------
  |  | 1986|      8|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      8|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1987|      0|                }
  |  | 1988|  1.09k|            }
  |  | 1989|       |            // _CHECK_RECURSION_REMAINING
  |  | 1990|  1.08k|            {
  |  | 1991|  1.08k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (1991:21): [True: 0, False: 1.08k]
  |  |  ------------------
  |  | 1992|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1993|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (1993:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1994|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1995|      0|                }
  |  | 1996|  1.08k|            }
  |  | 1997|       |            // _ALLOCATE_OBJECT
  |  | 1998|  1.08k|            {
  |  | 1999|  1.08k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2000|  1.08k|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (2000:17): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 2001|  1.08k|                assert(PyType_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (2001:17): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 2002|  1.08k|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 2003|  1.08k|                assert(tp->tp_new == PyBaseObject_Type.tp_new);
  |  |  ------------------
  |  |  |  Branch (2003:17): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 2004|  1.08k|                assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
  |  |  ------------------
  |  |  |  Branch (2004:17): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 2005|  1.08k|                assert(tp->tp_alloc == PyType_GenericAlloc);
  |  |  ------------------
  |  |  |  Branch (2005:17): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 2006|  1.08k|                PyHeapTypeObject *cls = (PyHeapTypeObject *)callable_o;
  |  | 2007|  1.08k|                PyFunctionObject *init_func = (PyFunctionObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(cls->_spec_cache.init);
  |  |  ------------------
  |  |  |  |  152|  1.08k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 2008|  1.08k|                PyCodeObject *code = (PyCodeObject *)init_func->func_code;
  |  | 2009|  1.08k|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize + _Py_InitCleanup.co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (2009:21): [True: 0, False: 1.08k]
  |  |  ------------------
  |  | 2010|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2011|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2011:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2012|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2013|      0|                }
  |  | 2014|  1.08k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.08k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2015|  1.08k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2016|  1.08k|                _PyFrame_StackPointerValidate(frame);
  |  | 2017|  1.08k|                PyObject *self_o = PyType_GenericAlloc(tp, 0);
  |  | 2018|  1.08k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2019|  1.08k|                if (self_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2019:21): [True: 0, False: 1.08k]
  |  |  ------------------
  |  | 2020|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2021|      0|                }
  |  | 2022|  1.08k|                self_or_null = PyStackRef_FromPyObjectSteal(self_o);
  |  | 2023|  1.08k|                _PyStackRef temp = callable;
  |  | 2024|  1.08k|                callable = PyStackRef_FromPyObjectNew(init_func);
  |  |  ------------------
  |  |  |  |  611|  1.08k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2025|  1.08k|                stack_pointer[-2 - oparg] = callable;
  |  | 2026|  1.08k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2027|  1.08k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2027:17): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 2028|  1.08k|                _PyFrame_StackPointerValidate(frame);
  |  | 2029|  1.08k|                PyStackRef_CLOSE(temp);
  |  | 2030|  1.08k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2031|  1.08k|            }
  |  | 2032|       |            // _CREATE_INIT_FRAME
  |  | 2033|      0|            {
  |  | 2034|  1.08k|                args = &stack_pointer[-oparg];
  |  | 2035|  1.08k|                self = self_or_null;
  |  | 2036|  1.08k|                init = callable;
  |  | 2037|  1.08k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2037:17): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 2038|  1.08k|                _PyFrame_StackPointerValidate(frame);
  |  | 2039|  1.08k|                _PyInterpreterFrame *shim = _PyFrame_PushTrampolineUnchecked(
  |  | 2040|  1.08k|                    tstate, (PyCodeObject *)&_Py_InitCleanup, 1, frame);
  |  | 2041|  1.08k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2042|  1.08k|                assert(_PyFrame_GetBytecode(shim)[0].op.code == EXIT_INIT_CHECK);
  |  |  ------------------
  |  |  |  Branch (2042:17): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 2043|  1.08k|                assert(_PyFrame_GetBytecode(shim)[1].op.code == RETURN_VALUE);
  |  |  ------------------
  |  |  |  Branch (2043:17): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 2044|  1.08k|                shim->localsplus[0] = PyStackRef_DUP(self);
  |  | 2045|  1.08k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2045:17): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 2046|  1.08k|                _PyFrame_StackPointerValidate(frame);
  |  | 2047|  1.08k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 2048|  1.08k|                    tstate, init, NULL, args-1, oparg+1, NULL, shim);
  |  | 2049|  1.08k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2050|  1.08k|                stack_pointer += -2 - oparg;
  |  | 2051|  1.08k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.08k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2052|  1.08k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (2052:21): [True: 0, False: 1.08k]
  |  |  ------------------
  |  | 2053|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2054|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2055|      0|                    _PyEval_FrameClearAndPop(tstate, shim);
  |  | 2056|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2057|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2058|      0|                }
  |  | 2059|  1.08k|                frame->return_offset = 1 + INLINE_CACHE_ENTRIES_CALL;
  |  |  ------------------
  |  |  |  |  129|  1.08k|#define INLINE_CACHE_ENTRIES_CALL CACHE_ENTRIES(_PyCallCache)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.08k|#define CACHE_ENTRIES(cache) (sizeof(cache)/sizeof(_Py_CODEUNIT))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2060|  1.08k|                tstate->py_recursion_remaining--;
  |  | 2061|  1.08k|                init_frame = PyStackRef_Wrap(temp);
  |  | 2062|  1.08k|            }
  |  | 2063|       |            // _PUSH_FRAME
  |  | 2064|      0|            {
  |  | 2065|  1.08k|                new_frame = init_frame;
  |  | 2066|  1.08k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2066:17): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 2067|  1.08k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2068|  1.08k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2069|  1.08k|                _PyFrame_StackPointerValidate(frame);
  |  | 2070|  1.08k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2070:17): [True: 0, False: 1.08k]
  |  |  |  Branch (2070:17): [True: 1.08k, False: 0]
  |  |  ------------------
  |  | 2071|  1.08k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  1.08k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2072|  1.08k|                frame = tstate->current_frame = temp;
  |  | 2073|  1.08k|                tstate->py_recursion_remaining--;
  |  | 2074|  1.08k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2075|  1.08k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2076|  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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2077|       |                #ifdef Py_DEBUG
  |  | 2078|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2079|       |                #endif
  |  | 2080|  1.08k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  1.08k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2081|  1.08k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  1.08k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2082|  1.08k|            }
  |  | 2083|  1.08k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.08k|    { \
  |  |  |  |  201|  1.08k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.08k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.08k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.08k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.08k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.08k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.08k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.08k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.08k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.08k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.08k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.08k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.08k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.08k|    }
  |  |  ------------------
  |  | 2084|  1.08k|        }
  |  | 2085|       |
  |  | 2086|  1.96k|        TARGET(CALL_BOUND_METHOD_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|  1.96k|#  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|  1.96k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2092|  1.96k|            (void)this_instr;
  |  | 2093|  1.96k|            frame->instr_ptr = next_instr;
  |  | 2094|  1.96k|            next_instr += 4;
  |  | 2095|  1.96k|            INSTRUCTION_STATS(CALL_BOUND_METHOD_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|  1.96k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2096|  1.96k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2097|  1.96k|            _PyStackRef callable;
  |  | 2098|  1.96k|            _PyStackRef null;
  |  | 2099|  1.96k|            _PyStackRef self_or_null;
  |  | 2100|  1.96k|            _PyStackRef *args;
  |  | 2101|  1.96k|            _PyStackRef new_frame;
  |  | 2102|       |            /* Skip 1 cache entry */
  |  | 2103|       |            // _CHECK_PEP_523
  |  | 2104|  1.96k|            {
  |  | 2105|  1.96k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  1.96k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 1.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  1.96k|            }
  |  | 2111|       |            // _CHECK_CALL_BOUND_METHOD_EXACT_ARGS
  |  | 2112|  1.96k|            {
  |  | 2113|  1.96k|                null = stack_pointer[-1 - oparg];
  |  | 2114|  1.96k|                callable = stack_pointer[-2 - oparg];
  |  | 2115|  1.96k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  1.96k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.96k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.96k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2115:21): [True: 0, False: 1.96k]
  |  |  ------------------
  |  | 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|  1.96k|                if (Py_TYPE(PyStackRef_AsPyObjectBorrow(callable)) != &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|  1.96k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2120:21): [True: 0, False: 1.96k]
  |  |  ------------------
  |  | 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|  1.96k|            }
  |  | 2126|       |            // _INIT_CALL_BOUND_METHOD_EXACT_ARGS
  |  | 2127|  1.96k|            {
  |  | 2128|  1.96k|                self_or_null = null;
  |  | 2129|  1.96k|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (2129:17): [True: 1.96k, False: 0]
  |  |  ------------------
  |  | 2130|  1.96k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2131|  1.96k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.96k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2132|  1.96k|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  611|  1.96k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2133|  1.96k|                _PyStackRef temp = callable;
  |  | 2134|  1.96k|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  611|  1.96k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2135|  1.96k|                stack_pointer[-2 - oparg] = callable;
  |  | 2136|  1.96k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2137|  1.96k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2138|  1.96k|                _PyFrame_StackPointerValidate(frame);
  |  | 2139|  1.96k|                PyStackRef_CLOSE(temp);
  |  | 2140|  1.96k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2141|  1.96k|            }
  |  | 2142|       |            // flush
  |  | 2143|       |            // _CHECK_FUNCTION_VERSION
  |  | 2144|      0|            {
  |  | 2145|  1.96k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 2146|  1.96k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2147|  1.96k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  1.96k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.96k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2147:21): [True: 0, False: 1.96k]
  |  |  ------------------
  |  | 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|  1.96k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2153|  1.96k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (2153:21): [True: 560, False: 1.40k]
  |  |  ------------------
  |  | 2154|    560|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    560|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2155|    560|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2155:21): [True: 560, False: 0]
  |  |  ------------------
  |  | 2156|    560|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    560|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2157|      0|                }
  |  | 2158|  1.96k|            }
  |  | 2159|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 2160|  1.40k|            {
  |  | 2161|  1.40k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2162|  1.40k|                assert(PyFunction_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (2162:17): [True: 1.40k, False: 0]
  |  |  ------------------
  |  | 2163|  1.40k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2164|  1.40k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 2165|  1.40k|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  482|  1.40k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.40k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.40k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2165:21): [True: 0, False: 1.40k]
  |  |  ------------------
  |  | 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|  1.40k|            }
  |  | 2171|       |            // _CHECK_STACK_SPACE
  |  | 2172|  1.40k|            {
  |  | 2173|  1.40k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2174|  1.40k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2175|  1.40k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 2176|  1.40k|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (2176:21): [True: 0, False: 1.40k]
  |  |  ------------------
  |  | 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|  1.40k|            }
  |  | 2182|       |            // _CHECK_RECURSION_REMAINING
  |  | 2183|  1.40k|            {
  |  | 2184|  1.40k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (2184:21): [True: 0, False: 1.40k]
  |  |  ------------------
  |  | 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|  1.40k|            }
  |  | 2190|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 2191|  1.40k|            {
  |  | 2192|  1.40k|                args = &stack_pointer[-oparg];
  |  | 2193|  1.40k|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|  1.40k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.40k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.40k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2194|  1.40k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.40k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2195|  1.40k|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 2196|  1.40k|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 2197|  1.40k|                pushed_frame->localsplus[0] = self_or_null;
  |  | 2198|  4.27k|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (2198:33): [True: 2.87k, False: 1.40k]
  |  |  ------------------
  |  | 2199|  2.87k|                    first_non_self_local[i] = args[i];
  |  | 2200|  2.87k|                }
  |  | 2201|  1.40k|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 2202|  1.40k|            }
  |  | 2203|       |            // _SAVE_RETURN_OFFSET
  |  | 2204|  1.40k|            {
  |  | 2205|  1.40k|                #if TIER_ONE
  |  | 2206|  1.40k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2207|  1.40k|                #endif
  |  | 2208|       |                #if TIER_TWO
  |  | 2209|       |                frame->return_offset = oparg;
  |  | 2210|       |                #endif
  |  | 2211|  1.40k|            }
  |  | 2212|       |            // _PUSH_FRAME
  |  | 2213|  1.40k|            {
  |  | 2214|  1.40k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2214:17): [True: 1.40k, False: 0]
  |  |  ------------------
  |  | 2215|  1.40k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2216|  1.40k|                stack_pointer += -2 - oparg;
  |  | 2217|  1.40k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.40k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2218|  1.40k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2219|  1.40k|                _PyFrame_StackPointerValidate(frame);
  |  | 2220|  1.40k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2220:17): [True: 1.40k, False: 0]
  |  |  |  Branch (2220:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2221|  1.40k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  1.40k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2222|  1.40k|                frame = tstate->current_frame = temp;
  |  | 2223|  1.40k|                tstate->py_recursion_remaining--;
  |  | 2224|  1.40k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2225|  1.40k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2226|  1.40k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  1.40k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  1.40k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  1.40k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 1.40k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2227|       |                #ifdef Py_DEBUG
  |  | 2228|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2229|       |                #endif
  |  | 2230|  1.40k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  1.40k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2231|  1.40k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  1.40k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2232|  1.40k|            }
  |  | 2233|  1.40k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.40k|    { \
  |  |  |  |  201|  1.40k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.40k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.40k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.40k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.40k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.40k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.40k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.40k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.40k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.40k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.40k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.40k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.40k|    }
  |  |  ------------------
  |  | 2234|  1.40k|        }
  |  | 2235|       |
  |  | 2236|      4|        TARGET(CALL_BOUND_METHOD_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2237|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2238|       |            int opcode = CALL_BOUND_METHOD_GENERAL;
  |  | 2239|       |            (void)(opcode);
  |  | 2240|       |            #endif
  |  | 2241|      4|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2242|      4|            (void)this_instr;
  |  | 2243|      4|            frame->instr_ptr = next_instr;
  |  | 2244|      4|            next_instr += 4;
  |  | 2245|      4|            INSTRUCTION_STATS(CALL_BOUND_METHOD_GENERAL);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2246|      4|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2247|      4|            _PyStackRef callable;
  |  | 2248|      4|            _PyStackRef null;
  |  | 2249|      4|            _PyStackRef self_or_null;
  |  | 2250|      4|            _PyStackRef *args;
  |  | 2251|      4|            _PyStackRef new_frame;
  |  | 2252|       |            /* Skip 1 cache entry */
  |  | 2253|       |            // _CHECK_PEP_523
  |  | 2254|      4|            {
  |  | 2255|      4|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|      4|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2256|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2257|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2257:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2258|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2259|      0|                }
  |  | 2260|      4|            }
  |  | 2261|       |            // _CHECK_METHOD_VERSION
  |  | 2262|      4|            {
  |  | 2263|      4|                null = stack_pointer[-1 - oparg];
  |  | 2264|      4|                callable = stack_pointer[-2 - oparg];
  |  | 2265|      4|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 2266|      4|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2267|      4|                if (Py_TYPE(callable_o) != &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2267:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 2268|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2269|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2269:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2270|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2271|      0|                }
  |  | 2272|      4|                PyObject *func = ((PyMethodObject *)callable_o)->im_func;
  |  | 2273|      4|                if (!PyFunction_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|      4|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      4|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2273:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 2274|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2275|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2275:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2276|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2277|      0|                }
  |  | 2278|      4|                if (((PyFunctionObject *)func)->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (2278:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 2279|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2280|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2280:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2281|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2282|      0|                }
  |  | 2283|      4|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|      4|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      4|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      4|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2283:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 2284|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2285|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2285:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2286|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2287|      0|                }
  |  | 2288|      4|            }
  |  | 2289|       |            // _EXPAND_METHOD
  |  | 2290|      4|            {
  |  | 2291|      4|                self_or_null = null;
  |  | 2292|      4|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2293|      4|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (2293:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2294|      4|                assert(Py_TYPE(callable_o) == &PyMethod_Type);
  |  |  ------------------
  |  |  |  Branch (2294:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2295|      4|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  611|      4|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2296|      4|                _PyStackRef temp = callable;
  |  | 2297|      4|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  611|      4|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2298|      4|                assert(PyStackRef_FunctionCheck(callable));
  |  |  ------------------
  |  |  |  Branch (2298:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2299|      4|                stack_pointer[-2 - oparg] = callable;
  |  | 2300|      4|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2301|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2302|      4|                _PyFrame_StackPointerValidate(frame);
  |  | 2303|      4|                PyStackRef_CLOSE(temp);
  |  | 2304|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2305|      4|            }
  |  | 2306|       |            // flush
  |  | 2307|       |            // _CHECK_RECURSION_REMAINING
  |  | 2308|      0|            {
  |  | 2309|      4|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (2309:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 2310|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2311|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2311:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2312|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2313|      0|                }
  |  | 2314|      4|            }
  |  | 2315|       |            // _PY_FRAME_GENERAL
  |  | 2316|      4|            {
  |  | 2317|      4|                args = &stack_pointer[-oparg];
  |  | 2318|      4|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2319|      4|                int total_args = oparg;
  |  | 2320|      4|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      4|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      4|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      4|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2320:21): [True: 4, False: 0]
  |  |  ------------------
  |  | 2321|      4|                    args--;
  |  | 2322|      4|                    total_args++;
  |  | 2323|      4|                }
  |  | 2324|      4|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (2324:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2325|      4|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|      4|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2326|      4|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|      4|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2326:36): [True: 4, False: 0]
  |  |  ------------------
  |  | 2327|      4|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2327:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2328|      4|                _PyFrame_StackPointerValidate(frame);
  |  | 2329|      4|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 2330|      4|                    tstate, callable, locals,
  |  | 2331|      4|                    args, total_args, NULL, frame
  |  | 2332|      4|                );
  |  | 2333|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2334|      4|                stack_pointer += -2 - oparg;
  |  | 2335|      4|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2336|      4|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (2336:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 2337|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2338|      0|                }
  |  | 2339|      4|                new_frame = PyStackRef_Wrap(temp);
  |  | 2340|      4|            }
  |  | 2341|       |            // _SAVE_RETURN_OFFSET
  |  | 2342|      0|            {
  |  | 2343|      4|                #if TIER_ONE
  |  | 2344|      4|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2345|      4|                #endif
  |  | 2346|       |                #if TIER_TWO
  |  | 2347|       |                frame->return_offset = oparg;
  |  | 2348|       |                #endif
  |  | 2349|      4|            }
  |  | 2350|       |            // _PUSH_FRAME
  |  | 2351|      4|            {
  |  | 2352|      4|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2352:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 2353|      4|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2354|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2355|      4|                _PyFrame_StackPointerValidate(frame);
  |  | 2356|      4|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2356:17): [True: 4, False: 0]
  |  |  |  Branch (2356:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2357|      4|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      4|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2358|      4|                frame = tstate->current_frame = temp;
  |  | 2359|      4|                tstate->py_recursion_remaining--;
  |  | 2360|      4|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2361|      4|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2362|      4|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|      4|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      4|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2363|       |                #ifdef Py_DEBUG
  |  | 2364|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2365|       |                #endif
  |  | 2366|      4|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      4|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2367|      4|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      4|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2368|      4|            }
  |  | 2369|      4|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      4|    { \
  |  |  |  |  201|      4|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      4|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      4|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      4|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      4|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      4|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      4|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      4|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      4|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      4|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      4|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      4|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      4|    }
  |  |  ------------------
  |  | 2370|      4|        }
  |  | 2371|       |
  |  | 2372|  1.67k|        TARGET(CALL_BUILTIN_CLASS) {
  |  |  ------------------
  |  |  |  |  132|  1.67k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2373|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2374|       |            int opcode = CALL_BUILTIN_CLASS;
  |  | 2375|       |            (void)(opcode);
  |  | 2376|       |            #endif
  |  | 2377|  1.67k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2378|  1.67k|            (void)this_instr;
  |  | 2379|  1.67k|            frame->instr_ptr = next_instr;
  |  | 2380|  1.67k|            next_instr += 4;
  |  | 2381|  1.67k|            INSTRUCTION_STATS(CALL_BUILTIN_CLASS);
  |  |  ------------------
  |  |  |  |   71|  1.67k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2382|  1.67k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2383|  1.67k|            _PyStackRef callable;
  |  | 2384|  1.67k|            _PyStackRef self_or_null;
  |  | 2385|  1.67k|            _PyStackRef *args;
  |  | 2386|  1.67k|            _PyStackRef value;
  |  | 2387|       |            /* Skip 1 cache entry */
  |  | 2388|       |            /* Skip 2 cache entries */
  |  | 2389|       |            // _GUARD_CALLABLE_BUILTIN_CLASS
  |  | 2390|  1.67k|            {
  |  | 2391|  1.67k|                callable = stack_pointer[-2 - oparg];
  |  | 2392|  1.67k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2393|  1.67k|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|  1.67k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2393:21): [True: 0, False: 1.67k]
  |  |  ------------------
  |  | 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|  1.67k|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 2399|  1.67k|                if (tp->tp_vectorcall == NULL) {
  |  |  ------------------
  |  |  |  Branch (2399:21): [True: 0, False: 1.67k]
  |  |  ------------------
  |  | 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|  1.67k|            }
  |  | 2405|       |            // _CALL_BUILTIN_CLASS
  |  | 2406|  1.67k|            {
  |  | 2407|  1.67k|                args = &stack_pointer[-oparg];
  |  | 2408|  1.67k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2409|  1.67k|                int total_args = oparg;
  |  | 2410|  1.67k|                _PyStackRef *arguments = args;
  |  | 2411|  1.67k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.67k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.67k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.67k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2411:21): [True: 0, False: 1.67k]
  |  |  ------------------
  |  | 2412|      0|                    arguments--;
  |  | 2413|      0|                    total_args++;
  |  | 2414|      0|                }
  |  | 2415|  1.67k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.67k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2416|  1.67k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2417|  1.67k|                _PyFrame_StackPointerValidate(frame);
  |  | 2418|  1.67k|                PyObject *res_o = _Py_CallBuiltinClass_StackRef(
  |  | 2419|  1.67k|                    callable,
  |  | 2420|  1.67k|                    arguments,
  |  | 2421|  1.67k|                    total_args);
  |  | 2422|  1.67k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2423|  1.67k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2423:21): [True: 0, False: 1.67k]
  |  |  ------------------
  |  | 2424|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2425|      0|                }
  |  | 2426|  1.67k|                _PyStackRef temp = callable;
  |  | 2427|  1.67k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2428|  1.67k|                stack_pointer[-2 - oparg] = callable;
  |  | 2429|  1.67k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2429:17): [True: 1.67k, False: 0]
  |  |  ------------------
  |  | 2430|  1.67k|                _PyFrame_StackPointerValidate(frame);
  |  | 2431|  1.67k|                PyStackRef_CLOSE(temp);
  |  | 2432|  1.67k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2433|  1.67k|            }
  |  | 2434|       |            // _POP_TOP_OPARG
  |  | 2435|      0|            {
  |  | 2436|  1.67k|                args = &stack_pointer[-oparg];
  |  | 2437|  1.67k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2437:17): [True: 1.67k, False: 0]
  |  |  ------------------
  |  | 2438|  1.67k|                _PyFrame_StackPointerValidate(frame);
  |  | 2439|  1.67k|                _PyStackRef_CloseStack(args, oparg);
  |  | 2440|  1.67k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2441|  1.67k|            }
  |  | 2442|       |            // _POP_TOP
  |  | 2443|      0|            {
  |  | 2444|  1.67k|                value = self_or_null;
  |  | 2445|  1.67k|                stack_pointer += -1 - oparg;
  |  | 2446|  1.67k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.67k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2447|  1.67k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2448|  1.67k|                _PyFrame_StackPointerValidate(frame);
  |  | 2449|  1.67k|                PyStackRef_XCLOSE(value);
  |  | 2450|  1.67k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2451|  1.67k|            }
  |  | 2452|       |            // _CHECK_PERIODIC_AT_END
  |  | 2453|  1.67k|            {
  |  | 2454|  1.67k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2454:17): [True: 1.67k, False: 0]
  |  |  ------------------
  |  | 2455|  1.67k|                _PyFrame_StackPointerValidate(frame);
  |  | 2456|  1.67k|                int err = check_periodics_at_end(tstate, frame);
  |  | 2457|  1.67k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2458|  1.67k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2458:21): [True: 0, False: 1.67k]
  |  |  ------------------
  |  | 2459|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2460|      0|                }
  |  | 2461|  1.67k|            }
  |  | 2462|  1.67k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.67k|    { \
  |  |  |  |  201|  1.67k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.67k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.67k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.67k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.67k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.67k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.67k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.67k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.67k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.67k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.67k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.67k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.67k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.67k|    }
  |  |  ------------------
  |  | 2463|  1.67k|        }
  |  | 2464|       |
  |  | 2465|   207k|        TARGET(CALL_BUILTIN_FAST) {
  |  |  ------------------
  |  |  |  |  132|   207k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2466|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2467|       |            int opcode = CALL_BUILTIN_FAST;
  |  | 2468|       |            (void)(opcode);
  |  | 2469|       |            #endif
  |  | 2470|   207k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2471|   207k|            (void)this_instr;
  |  | 2472|   207k|            frame->instr_ptr = next_instr;
  |  | 2473|   207k|            next_instr += 4;
  |  | 2474|   207k|            INSTRUCTION_STATS(CALL_BUILTIN_FAST);
  |  |  ------------------
  |  |  |  |   71|   207k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2475|   207k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2476|   207k|            _PyStackRef callable;
  |  | 2477|   207k|            _PyStackRef self_or_null;
  |  | 2478|   207k|            _PyStackRef *args;
  |  | 2479|   207k|            _PyStackRef value;
  |  | 2480|       |            /* Skip 1 cache entry */
  |  | 2481|       |            /* Skip 2 cache entries */
  |  | 2482|       |            // _GUARD_CALLABLE_BUILTIN_FAST
  |  | 2483|   207k|            {
  |  | 2484|   207k|                callable = stack_pointer[-2 - oparg];
  |  | 2485|   207k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2486|   207k|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|   207k|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   207k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2486:21): [True: 0, False: 207k]
  |  |  ------------------
  |  | 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|   207k|                if ((PyCFunction_GET_FLAGS(callable_o) &
  |  |  ------------------
  |  |  |  |   57|   207k|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2491:21): [True: 0, False: 207k]
  |  |  ------------------
  |  | 2492|   207k|                     _Py_METH_CALL_FLAGS) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |   17|   207k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|   207k|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|   207k|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|   207k|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|   207k|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|   207k|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|   207k|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   207k|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                    _Py_METH_CALL_FLAGS) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|   207k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  | 2493|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2494|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2494:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2495|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2496|      0|                }
  |  | 2497|   207k|            }
  |  | 2498|       |            // _CALL_BUILTIN_FAST
  |  | 2499|   207k|            {
  |  | 2500|   207k|                args = &stack_pointer[-oparg];
  |  | 2501|   207k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2502|   207k|                int total_args = oparg;
  |  | 2503|   207k|                _PyStackRef *arguments = args;
  |  | 2504|   207k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   207k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   207k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   207k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2504:21): [True: 0, False: 207k]
  |  |  ------------------
  |  | 2505|      0|                    arguments--;
  |  | 2506|      0|                    total_args++;
  |  | 2507|      0|                }
  |  | 2508|   207k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   207k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2509|   207k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2510|   207k|                _PyFrame_StackPointerValidate(frame);
  |  | 2511|   207k|                PyObject *res_o = _Py_BuiltinCallFast_StackRef(
  |  | 2512|   207k|                    callable,
  |  | 2513|   207k|                    arguments,
  |  | 2514|   207k|                    total_args
  |  | 2515|   207k|                );
  |  | 2516|   207k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2517|   207k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2517:21): [True: 444, False: 206k]
  |  |  ------------------
  |  | 2518|    444|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    444|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2519|      0|                }
  |  | 2520|   206k|                _PyStackRef temp = callable;
  |  | 2521|   206k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2522|   206k|                stack_pointer[-2 - oparg] = callable;
  |  | 2523|   206k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2523:17): [True: 206k, False: 0]
  |  |  ------------------
  |  | 2524|   206k|                _PyFrame_StackPointerValidate(frame);
  |  | 2525|   206k|                PyStackRef_CLOSE(temp);
  |  | 2526|   206k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2527|   206k|            }
  |  | 2528|       |            // _POP_TOP_OPARG
  |  | 2529|      0|            {
  |  | 2530|   206k|                args = &stack_pointer[-oparg];
  |  | 2531|   206k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2531:17): [True: 206k, False: 0]
  |  |  ------------------
  |  | 2532|   206k|                _PyFrame_StackPointerValidate(frame);
  |  | 2533|   206k|                _PyStackRef_CloseStack(args, oparg);
  |  | 2534|   206k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2535|   206k|            }
  |  | 2536|       |            // _POP_TOP
  |  | 2537|      0|            {
  |  | 2538|   206k|                value = self_or_null;
  |  | 2539|   206k|                stack_pointer += -1 - oparg;
  |  | 2540|   206k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   206k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2541|   206k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2542|   206k|                _PyFrame_StackPointerValidate(frame);
  |  | 2543|   206k|                PyStackRef_XCLOSE(value);
  |  | 2544|   206k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2545|   206k|            }
  |  | 2546|       |            // _CHECK_PERIODIC_AT_END
  |  | 2547|   206k|            {
  |  | 2548|   206k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2548:17): [True: 206k, False: 0]
  |  |  ------------------
  |  | 2549|   206k|                _PyFrame_StackPointerValidate(frame);
  |  | 2550|   206k|                int err = check_periodics_at_end(tstate, frame);
  |  | 2551|   206k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2552|   206k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2552:21): [True: 0, False: 206k]
  |  |  ------------------
  |  | 2553|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2554|      0|                }
  |  | 2555|   206k|            }
  |  | 2556|   206k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   206k|    { \
  |  |  |  |  201|   206k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   206k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   206k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   206k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   206k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   206k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   206k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   206k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 206k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   206k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   206k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   206k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   206k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   206k|    }
  |  |  ------------------
  |  | 2557|   206k|        }
  |  | 2558|       |
  |  | 2559|  3.20k|        TARGET(CALL_BUILTIN_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|  3.20k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2560|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2561|       |            int opcode = CALL_BUILTIN_FAST_WITH_KEYWORDS;
  |  | 2562|       |            (void)(opcode);
  |  | 2563|       |            #endif
  |  | 2564|  3.20k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2565|  3.20k|            (void)this_instr;
  |  | 2566|  3.20k|            frame->instr_ptr = next_instr;
  |  | 2567|  3.20k|            next_instr += 4;
  |  | 2568|  3.20k|            INSTRUCTION_STATS(CALL_BUILTIN_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|  3.20k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2569|  3.20k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2570|  3.20k|            _PyStackRef callable;
  |  | 2571|  3.20k|            _PyStackRef self_or_null;
  |  | 2572|  3.20k|            _PyStackRef *args;
  |  | 2573|  3.20k|            _PyStackRef value;
  |  | 2574|       |            /* Skip 1 cache entry */
  |  | 2575|       |            /* Skip 2 cache entries */
  |  | 2576|       |            // _GUARD_CALLABLE_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2577|  3.20k|            {
  |  | 2578|  3.20k|                callable = stack_pointer[-2 - oparg];
  |  | 2579|  3.20k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2580|  3.20k|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  3.20k|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  3.20k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2580:21): [True: 0, False: 3.20k]
  |  |  ------------------
  |  | 2581|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2582|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2582:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2583|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2584|      0|                }
  |  | 2585|  3.20k|                if ((PyCFunction_GET_FLAGS(callable_o) &
  |  |  ------------------
  |  |  |  |   57|  3.20k|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2585:21): [True: 0, False: 3.20k]
  |  |  ------------------
  |  | 2586|  3.20k|                     _Py_METH_CALL_FLAGS) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   17|  3.20k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|  3.20k|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|  3.20k|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  3.20k|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|  3.20k|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|  3.20k|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|  3.20k|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.20k|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                    _Py_METH_CALL_FLAGS) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|  3.20k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                                    _Py_METH_CALL_FLAGS) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|  3.20k|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  | 2587|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2588|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2588:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2589|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2590|      0|                }
  |  | 2591|  3.20k|            }
  |  | 2592|       |            // _CALL_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2593|  3.20k|            {
  |  | 2594|  3.20k|                args = &stack_pointer[-oparg];
  |  | 2595|  3.20k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2596|  3.20k|                int total_args = oparg;
  |  | 2597|  3.20k|                _PyStackRef *arguments = args;
  |  | 2598|  3.20k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  3.20k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  3.20k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.20k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2598:21): [True: 0, False: 3.20k]
  |  |  ------------------
  |  | 2599|      0|                    arguments--;
  |  | 2600|      0|                    total_args++;
  |  | 2601|      0|                }
  |  | 2602|  3.20k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  3.20k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2603|  3.20k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2604|  3.20k|                _PyFrame_StackPointerValidate(frame);
  |  | 2605|  3.20k|                PyObject *res_o = _Py_BuiltinCallFastWithKeywords_StackRef(callable, arguments, total_args);
  |  | 2606|  3.20k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2607|  3.20k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2607:21): [True: 40, False: 3.16k]
  |  |  ------------------
  |  | 2608|     40|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     40|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2609|      0|                }
  |  | 2610|  3.16k|                _PyStackRef temp = callable;
  |  | 2611|  3.16k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2612|  3.16k|                stack_pointer[-2 - oparg] = callable;
  |  | 2613|  3.16k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2613:17): [True: 3.16k, False: 0]
  |  |  ------------------
  |  | 2614|  3.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 2615|  3.16k|                PyStackRef_CLOSE(temp);
  |  | 2616|  3.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2617|  3.16k|            }
  |  | 2618|       |            // _POP_TOP_OPARG
  |  | 2619|      0|            {
  |  | 2620|  3.16k|                args = &stack_pointer[-oparg];
  |  | 2621|  3.16k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2621:17): [True: 3.16k, False: 0]
  |  |  ------------------
  |  | 2622|  3.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 2623|  3.16k|                _PyStackRef_CloseStack(args, oparg);
  |  | 2624|  3.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2625|  3.16k|            }
  |  | 2626|       |            // _POP_TOP
  |  | 2627|      0|            {
  |  | 2628|  3.16k|                value = self_or_null;
  |  | 2629|  3.16k|                stack_pointer += -1 - oparg;
  |  | 2630|  3.16k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.16k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2631|  3.16k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2632|  3.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 2633|  3.16k|                PyStackRef_XCLOSE(value);
  |  | 2634|  3.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2635|  3.16k|            }
  |  | 2636|       |            // _CHECK_PERIODIC_AT_END
  |  | 2637|  3.16k|            {
  |  | 2638|  3.16k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2638:17): [True: 3.16k, False: 0]
  |  |  ------------------
  |  | 2639|  3.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 2640|  3.16k|                int err = check_periodics_at_end(tstate, frame);
  |  | 2641|  3.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2642|  3.16k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2642:21): [True: 0, False: 3.16k]
  |  |  ------------------
  |  | 2643|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2644|      0|                }
  |  | 2645|  3.16k|            }
  |  | 2646|  3.16k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.16k|    { \
  |  |  |  |  201|  3.16k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.16k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.16k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.16k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.16k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.16k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.16k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.16k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.16k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.16k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.16k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.16k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.16k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.16k|    }
  |  |  ------------------
  |  | 2647|  3.16k|        }
  |  | 2648|       |
  |  | 2649|    776|        TARGET(CALL_BUILTIN_O) {
  |  |  ------------------
  |  |  |  |  132|    776|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2650|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2651|       |            int opcode = CALL_BUILTIN_O;
  |  | 2652|       |            (void)(opcode);
  |  | 2653|       |            #endif
  |  | 2654|    776|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2655|    776|            (void)this_instr;
  |  | 2656|    776|            frame->instr_ptr = next_instr;
  |  | 2657|    776|            next_instr += 4;
  |  | 2658|    776|            INSTRUCTION_STATS(CALL_BUILTIN_O);
  |  |  ------------------
  |  |  |  |   71|    776|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2659|    776|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2660|    776|            _PyStackRef callable;
  |  | 2661|    776|            _PyStackRef self_or_null;
  |  | 2662|    776|            _PyStackRef *args;
  |  | 2663|    776|            _PyStackRef res;
  |  | 2664|    776|            _PyStackRef c;
  |  | 2665|    776|            _PyStackRef s;
  |  | 2666|    776|            _PyStackRef value;
  |  | 2667|       |            /* Skip 1 cache entry */
  |  | 2668|       |            /* Skip 2 cache entries */
  |  | 2669|       |            // _GUARD_CALLABLE_BUILTIN_O
  |  | 2670|    776|            {
  |  | 2671|    776|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2672|    776|                callable = stack_pointer[-2 - oparg];
  |  | 2673|    776|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2674|    776|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|    776|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    776|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    776|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    776|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2674:21): [True: 0, False: 776]
  |  |  ------------------
  |  | 2675|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2676|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2676:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2677|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2678|      0|                }
  |  | 2679|    776|                if ((PyCFunction_GET_FLAGS(callable_o) &
  |  |  ------------------
  |  |  |  |   57|    776|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    776|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    776|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2679:21): [True: 0, False: 776]
  |  |  ------------------
  |  | 2680|    776|                     _Py_METH_CALL_FLAGS) != METH_O) {
  |  |  ------------------
  |  |  |  |   17|    776|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|    776|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|    776|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|    776|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|    776|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|    776|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|    776|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    776|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                    _Py_METH_CALL_FLAGS) != METH_O) {
  |  |  ------------------
  |  |  |  |   99|    776|#define METH_O        0x0008
  |  |  ------------------
  |  | 2681|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2682|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2682:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2683|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2684|      0|                }
  |  | 2685|    776|                int total_args = oparg;
  |  | 2686|    776|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    776|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    776|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    776|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2686:21): [True: 0, False: 776]
  |  |  ------------------
  |  | 2687|      0|                    total_args++;
  |  | 2688|      0|                }
  |  | 2689|    776|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (2689:21): [True: 0, False: 776]
  |  |  ------------------
  |  | 2690|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2691|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2691:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2692|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2693|      0|                }
  |  | 2694|    776|            }
  |  | 2695|       |            // _CHECK_RECURSION_LIMIT
  |  | 2696|    776|            {
  |  | 2697|    776|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (2697:21): [True: 0, False: 776]
  |  |  ------------------
  |  | 2698|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2699|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2699:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2700|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2701|      0|                }
  |  | 2702|    776|            }
  |  | 2703|       |            // _CALL_BUILTIN_O
  |  | 2704|    776|            {
  |  | 2705|    776|                args = &stack_pointer[-oparg];
  |  | 2706|    776|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2707|    776|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    776|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    776|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    776|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2707:21): [True: 0, False: 776]
  |  |  ------------------
  |  | 2708|      0|                    args--;
  |  | 2709|      0|                }
  |  | 2710|    776|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    776|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2711|    776|                PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  |  |  ------------------
  |  |  |  |   43|    776|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    776|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    776|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2712|    776|                _PyStackRef arg = args[0];
  |  | 2713|    776|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2714|    776|                _PyFrame_StackPointerValidate(frame);
  |  | 2715|    776|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, PyCFunction_GET_SELF(callable_o), PyStackRef_AsPyObjectBorrow(arg));
  |  |  ------------------
  |  |  |  |   61|    776|    (meth)((self), (args))
  |  |  ------------------
  |  | 2716|    776|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2717|    776|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 2718|    776|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (2718:17): [True: 776, False: 0]
  |  |  ------------------
  |  | 2719|    776|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2719:21): [True: 2, False: 774]
  |  |  ------------------
  |  | 2720|      2|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2721|      0|                }
  |  | 2722|    774|                c = callable;
  |  | 2723|    774|                s = args[0];
  |  | 2724|    774|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2725|    774|            }
  |  | 2726|       |            // _POP_TOP
  |  | 2727|      0|            {
  |  | 2728|    774|                value = s;
  |  | 2729|    774|                stack_pointer[-2 - oparg] = res;
  |  | 2730|    774|                stack_pointer[-1 - oparg] = c;
  |  | 2731|    774|                stack_pointer += -oparg;
  |  | 2732|    774|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    774|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2733|    774|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2734|    774|                _PyFrame_StackPointerValidate(frame);
  |  | 2735|    774|                PyStackRef_XCLOSE(value);
  |  | 2736|    774|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2737|    774|            }
  |  | 2738|       |            // _POP_TOP
  |  | 2739|    774|            {
  |  | 2740|    774|                value = c;
  |  | 2741|    774|                stack_pointer += -1;
  |  | 2742|    774|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    774|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2743|    774|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2744|    774|                _PyFrame_StackPointerValidate(frame);
  |  | 2745|    774|                PyStackRef_XCLOSE(value);
  |  | 2746|    774|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2747|    774|            }
  |  | 2748|       |            // _CHECK_PERIODIC_AT_END
  |  | 2749|    774|            {
  |  | 2750|    774|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2750:17): [True: 774, False: 0]
  |  |  ------------------
  |  | 2751|    774|                _PyFrame_StackPointerValidate(frame);
  |  | 2752|    774|                int err = check_periodics_at_end(tstate, frame);
  |  | 2753|    774|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2754|    774|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2754:21): [True: 0, False: 774]
  |  |  ------------------
  |  | 2755|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2756|      0|                }
  |  | 2757|    774|            }
  |  | 2758|    774|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    774|    { \
  |  |  |  |  201|    774|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    774|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    774|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    774|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    774|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    774|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    774|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    774|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 774]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    774|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    774|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    774|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    774|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    774|    }
  |  |  ------------------
  |  | 2759|    774|        }
  |  | 2760|       |
  |  | 2761|    771|        TARGET(CALL_EX_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|    771|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2762|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2763|       |            int opcode = CALL_EX_NON_PY_GENERAL;
  |  | 2764|       |            (void)(opcode);
  |  | 2765|       |            #endif
  |  | 2766|    771|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2767|    771|            (void)this_instr;
  |  | 2768|    771|            frame->instr_ptr = next_instr;
  |  | 2769|    771|            next_instr += 2;
  |  | 2770|    771|            INSTRUCTION_STATS(CALL_EX_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|    771|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2771|    771|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2772|    771|            _PyStackRef func_st;
  |  | 2773|    771|            _PyStackRef func;
  |  | 2774|    771|            _PyStackRef callargs;
  |  | 2775|    771|            _PyStackRef null;
  |  | 2776|    771|            _PyStackRef callargs_st;
  |  | 2777|    771|            _PyStackRef kwargs_st;
  |  | 2778|    771|            _PyStackRef result;
  |  | 2779|       |            /* Skip 1 cache entry */
  |  | 2780|       |            // _CHECK_IS_NOT_PY_CALLABLE_EX
  |  | 2781|    771|            {
  |  | 2782|    771|                func_st = stack_pointer[-4];
  |  | 2783|    771|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2784|    771|                if (Py_TYPE(func) == &PyFunction_Type && ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  |  213|    771|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    771|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    771|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2784:21): [True: 0, False: 771]
  |  |  |  Branch (2784:58): [True: 0, False: 0]
  |  |  ------------------
  |  | 2785|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2786|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2786:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2787|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2788|      0|                }
  |  | 2789|    771|            }
  |  | 2790|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2791|    771|            {
  |  | 2792|    771|                callargs = stack_pointer[-2];
  |  | 2793|    771|                func = func_st;
  |  | 2794|    771|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2795|    771|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|    771|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    771|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    771|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    771|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2795:21): [True: 0, False: 771]
  |  |  ------------------
  |  | 2796|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2797|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2798|      0|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 2799|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2800|      0|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (2800:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2801|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2802|      0|                    }
  |  | 2803|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2803:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2804|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2805|      0|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 2806|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2807|      0|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2807:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2808|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2809|      0|                    }
  |  | 2810|      0|                    _PyStackRef temp = callargs;
  |  | 2811|      0|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 2812|      0|                    stack_pointer[-2] = callargs;
  |  | 2813|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2813:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2814|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2815|      0|                    PyStackRef_CLOSE(temp);
  |  | 2816|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2817|      0|                }
  |  | 2818|    771|            }
  |  | 2819|       |            // _CALL_FUNCTION_EX_NON_PY_GENERAL
  |  | 2820|    771|            {
  |  | 2821|    771|                kwargs_st = stack_pointer[-1];
  |  | 2822|    771|                callargs_st = callargs;
  |  | 2823|    771|                null = stack_pointer[-3];
  |  | 2824|    771|                func_st = func;
  |  | 2825|    771|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2826|    771|                PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 2827|    771|                (void)null;
  |  | 2828|    771|                assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (2828:17): [True: 771, False: 0]
  |  |  ------------------
  |  | 2829|    771|                PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 2830|    771|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (2830:17): [True: 32, False: 739]
  |  |  |  Branch (2830:17): [True: 739, False: 0]
  |  |  ------------------
  |  | 2831|    771|                stack_pointer[-2] = callargs_st;
  |  | 2832|    771|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2833|    771|                _PyFrame_StackPointerValidate(frame);
  |  | 2834|    771|                PyObject *result_o = PyObject_Call(func, callargs, kwargs);
  |  | 2835|    771|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2836|    771|                stack_pointer += -1;
  |  | 2837|    771|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    771|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2838|    771|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2839|    771|                _PyFrame_StackPointerValidate(frame);
  |  | 2840|    771|                PyStackRef_XCLOSE(kwargs_st);
  |  | 2841|    771|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2842|    771|                stack_pointer += -1;
  |  | 2843|    771|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    771|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2844|    771|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2845|    771|                _PyFrame_StackPointerValidate(frame);
  |  | 2846|    771|                PyStackRef_CLOSE(callargs_st);
  |  | 2847|    771|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2848|    771|                stack_pointer += -2;
  |  | 2849|    771|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    771|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2850|    771|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2851|    771|                _PyFrame_StackPointerValidate(frame);
  |  | 2852|    771|                PyStackRef_CLOSE(func_st);
  |  | 2853|    771|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2854|    771|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2854:21): [True: 0, False: 771]
  |  |  ------------------
  |  | 2855|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2856|      0|                }
  |  | 2857|    771|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 2858|    771|            }
  |  | 2859|       |            // _CHECK_PERIODIC_AT_END
  |  | 2860|      0|            {
  |  | 2861|    771|                stack_pointer[0] = result;
  |  | 2862|    771|                stack_pointer += 1;
  |  | 2863|    771|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    771|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2864|    771|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2865|    771|                _PyFrame_StackPointerValidate(frame);
  |  | 2866|    771|                int err = check_periodics_at_end(tstate, frame);
  |  | 2867|    771|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2868|    771|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2868:21): [True: 0, False: 771]
  |  |  ------------------
  |  | 2869|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2870|      0|                }
  |  | 2871|    771|            }
  |  | 2872|    771|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    771|    { \
  |  |  |  |  201|    771|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    771|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    771|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    771|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    771|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    771|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    771|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    771|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 771]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    771|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    771|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    771|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    771|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    771|    }
  |  |  ------------------
  |  | 2873|    771|        }
  |  | 2874|       |
  |  | 2875|    102|        TARGET(CALL_EX_PY) {
  |  |  ------------------
  |  |  |  |  132|    102|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2876|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2877|       |            int opcode = CALL_EX_PY;
  |  | 2878|       |            (void)(opcode);
  |  | 2879|       |            #endif
  |  | 2880|    102|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2881|    102|            (void)this_instr;
  |  | 2882|    102|            frame->instr_ptr = next_instr;
  |  | 2883|    102|            next_instr += 2;
  |  | 2884|    102|            INSTRUCTION_STATS(CALL_EX_PY);
  |  |  ------------------
  |  |  |  |   71|    102|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2885|    102|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2886|    102|            _PyStackRef func;
  |  | 2887|    102|            _PyStackRef callargs;
  |  | 2888|    102|            _PyStackRef func_st;
  |  | 2889|    102|            _PyStackRef callargs_st;
  |  | 2890|    102|            _PyStackRef kwargs_st;
  |  | 2891|    102|            _PyStackRef ex_frame;
  |  | 2892|    102|            _PyStackRef new_frame;
  |  | 2893|       |            /* Skip 1 cache entry */
  |  | 2894|       |            // _CHECK_PEP_523
  |  | 2895|    102|            {
  |  | 2896|    102|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    102|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 102]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2897|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2898|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2898:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2899|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2900|      0|                }
  |  | 2901|    102|            }
  |  | 2902|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2903|    102|            {
  |  | 2904|    102|                callargs = stack_pointer[-2];
  |  | 2905|    102|                func = stack_pointer[-4];
  |  | 2906|    102|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2907|    102|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|    102|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    102|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2907:21): [True: 0, False: 102]
  |  |  ------------------
  |  | 2908|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2909|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2910|      0|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 2911|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2912|      0|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (2912:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2913|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2914|      0|                    }
  |  | 2915|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2915:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2916|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2917|      0|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 2918|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2919|      0|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2919:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2920|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2921|      0|                    }
  |  | 2922|      0|                    _PyStackRef temp = callargs;
  |  | 2923|      0|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 2924|      0|                    stack_pointer[-2] = callargs;
  |  | 2925|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2925:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2926|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 2927|      0|                    PyStackRef_CLOSE(temp);
  |  | 2928|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2929|      0|                }
  |  | 2930|    102|            }
  |  | 2931|       |            // _CHECK_IS_PY_CALLABLE_EX
  |  | 2932|    102|            {
  |  | 2933|    102|                func_st = func;
  |  | 2934|    102|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2935|    102|                if (Py_TYPE(func) != &PyFunction_Type) {
  |  |  ------------------
  |  |  |  |  213|    102|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2935:21): [True: 0, False: 102]
  |  |  ------------------
  |  | 2936|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2937|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2937:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2938|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2939|      0|                }
  |  | 2940|    102|                if (((PyFunctionObject *)func)->vectorcall != _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (2940:21): [True: 0, False: 102]
  |  |  ------------------
  |  | 2941|      0|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2942|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  |  ------------------
  |  |  |  Branch (2942:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2943|      0|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2944|      0|                }
  |  | 2945|    102|            }
  |  | 2946|       |            // _PY_FRAME_EX
  |  | 2947|    102|            {
  |  | 2948|    102|                kwargs_st = stack_pointer[-1];
  |  | 2949|    102|                callargs_st = callargs;
  |  | 2950|    102|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2951|    102|                PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 2952|    102|                assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (2952:17): [True: 102, False: 0]
  |  |  ------------------
  |  | 2953|    102|                assert(Py_TYPE(func) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (2953:17): [True: 102, False: 0]
  |  |  ------------------
  |  | 2954|    102|                assert(((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall);
  |  |  ------------------
  |  |  |  Branch (2954:17): [True: 102, False: 0]
  |  |  ------------------
  |  | 2955|    102|                PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|    102|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    102|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    102|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 9, False: 93]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2956|    102|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (2956:17): [True: 9, False: 93]
  |  |  |  Branch (2956:17): [True: 93, False: 0]
  |  |  ------------------
  |  | 2957|    102|                Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   27|    102|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2958|    102|                int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|    102|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2959|    102|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  122|    102|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2959:36): [True: 102, False: 0]
  |  |  ------------------
  |  | 2960|    102|                stack_pointer += -3;
  |  | 2961|    102|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    102|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2962|    102|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2963|    102|                _PyFrame_StackPointerValidate(frame);
  |  | 2964|    102|                _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 2965|    102|                    tstate, func_st, locals,
  |  | 2966|    102|                    nargs, callargs, kwargs, frame);
  |  | 2967|    102|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2968|    102|                stack_pointer += -1;
  |  | 2969|    102|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    102|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2970|    102|                if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (2970:21): [True: 0, False: 102]
  |  |  ------------------
  |  | 2971|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2972|      0|                }
  |  | 2973|    102|                ex_frame = PyStackRef_Wrap(new_frame);
  |  | 2974|    102|            }
  |  | 2975|       |            // _SAVE_RETURN_OFFSET
  |  | 2976|      0|            {
  |  | 2977|    102|                #if TIER_ONE
  |  | 2978|    102|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2979|    102|                #endif
  |  | 2980|       |                #if TIER_TWO
  |  | 2981|       |                frame->return_offset = oparg;
  |  | 2982|       |                #endif
  |  | 2983|    102|            }
  |  | 2984|       |            // _PUSH_FRAME
  |  | 2985|    102|            {
  |  | 2986|    102|                new_frame = ex_frame;
  |  | 2987|    102|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2987:17): [True: 102, False: 0]
  |  |  ------------------
  |  | 2988|    102|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2989|    102|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2990|    102|                _PyFrame_StackPointerValidate(frame);
  |  | 2991|    102|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2991:17): [True: 102, False: 0]
  |  |  |  Branch (2991:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2992|    102|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    102|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2993|    102|                frame = tstate->current_frame = temp;
  |  | 2994|    102|                tstate->py_recursion_remaining--;
  |  | 2995|    102|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2996|    102|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2997|    102|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    102|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    102|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    102|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 102]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2998|       |                #ifdef Py_DEBUG
  |  | 2999|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 3000|       |                #endif
  |  | 3001|    102|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    102|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3002|    102|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    102|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3003|    102|            }
  |  | 3004|    102|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    102|    { \
  |  |  |  |  201|    102|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    102|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    102|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    102|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    102|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    102|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    102|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    102|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 102]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    102|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    102|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    102|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    102|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    102|    }
  |  |  ------------------
  |  | 3005|    102|        }
  |  | 3006|       |
  |  | 3007|     44|        TARGET(CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  132|     44|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3008|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3009|       |            int opcode = CALL_FUNCTION_EX;
  |  | 3010|       |            (void)(opcode);
  |  | 3011|       |            #endif
  |  | 3012|     44|            frame->instr_ptr = next_instr;
  |  | 3013|     44|            next_instr += 2;
  |  | 3014|     44|            INSTRUCTION_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   71|     44|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3015|     44|            PREDICTED_CALL_FUNCTION_EX:;
  |  | 3016|     44|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 3017|     44|            (void)this_instr;
  |  | 3018|     44|            opcode = CALL_FUNCTION_EX;
  |  |  ------------------
  |  |  |  |   17|     44|#define CALL_FUNCTION_EX                         4
  |  |  ------------------
  |  | 3019|     44|            _PyStackRef func;
  |  | 3020|     44|            _PyStackRef callargs;
  |  | 3021|     44|            _PyStackRef func_st;
  |  | 3022|     44|            _PyStackRef null;
  |  | 3023|     44|            _PyStackRef callargs_st;
  |  | 3024|     44|            _PyStackRef kwargs_st;
  |  | 3025|     44|            _PyStackRef result;
  |  | 3026|       |            // _SPECIALIZE_CALL_FUNCTION_EX
  |  | 3027|     44|            {
  |  | 3028|     44|                func = stack_pointer[-4];
  |  | 3029|     44|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 3030|     44|                (void)counter;
  |  | 3031|     44|                #if ENABLE_SPECIALIZATION
  |  | 3032|     44|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|     44|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 17, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3033|     17|                    next_instr = this_instr;
  |  | 3034|     17|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3035|     17|                    _PyFrame_StackPointerValidate(frame);
  |  | 3036|     17|                    _Py_Specialize_CallFunctionEx(func, next_instr);
  |  | 3037|     17|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3038|     17|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     17|    { \
  |  |  |  |  217|     17|        opcode = next_instr->op.code; \
  |  |  |  |  218|     17|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     17|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     17|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     17|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     17|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     17|    }
  |  |  ------------------
  |  | 3039|     17|                }
  |  | 3040|     44|                OPCODE_DEFERRED_INC(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   90|     44|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 3041|     44|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|     44|    do { \
  |  |  |  |  378|     44|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|     44|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3042|     44|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 3043|     44|            }
  |  | 3044|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 3045|     44|            {
  |  | 3046|     44|                callargs = stack_pointer[-2];
  |  | 3047|     44|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 3048|     44|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|     44|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     44|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3048:21): [True: 2, False: 42]
  |  |  ------------------
  |  | 3049|      2|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3050|      2|                    _PyFrame_StackPointerValidate(frame);
  |  | 3051|      2|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 3052|      2|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3053|      2|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (3053:25): [True: 0, False: 2]
  |  |  ------------------
  |  | 3054|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3055|      0|                    }
  |  | 3056|      2|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3056:21): [True: 2, False: 0]
  |  |  ------------------
  |  | 3057|      2|                    _PyFrame_StackPointerValidate(frame);
  |  | 3058|      2|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 3059|      2|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3060|      2|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3060:25): [True: 0, False: 2]
  |  |  ------------------
  |  | 3061|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3062|      0|                    }
  |  | 3063|      2|                    _PyStackRef temp = callargs;
  |  | 3064|      2|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 3065|      2|                    stack_pointer[-2] = callargs;
  |  | 3066|      2|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3066:21): [True: 2, False: 0]
  |  |  ------------------
  |  | 3067|      2|                    _PyFrame_StackPointerValidate(frame);
  |  | 3068|      2|                    PyStackRef_CLOSE(temp);
  |  | 3069|      2|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3070|      2|                }
  |  | 3071|     44|            }
  |  | 3072|       |            // _DO_CALL_FUNCTION_EX
  |  | 3073|     44|            {
  |  | 3074|     44|                kwargs_st = stack_pointer[-1];
  |  | 3075|     44|                callargs_st = callargs;
  |  | 3076|     44|                null = stack_pointer[-3];
  |  | 3077|     44|                func_st = func;
  |  | 3078|     44|                (void)null;
  |  | 3079|     44|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 3080|     44|                EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_FUNCTION_EX, func);
  |  |  ------------------
  |  |  |  |   80|     44|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  |  |  ------------------
  |  | 3081|     44|                PyObject *result_o;
  |  | 3082|     44|                assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (3082:17): [True: 27, False: 17]
  |  |  ------------------
  |  | 3083|     27|                if (opcode == INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  239|     27|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  |  |  Branch (3083:21): [True: 0, False: 27]
  |  |  ------------------
  |  | 3084|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 3085|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 3086|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3086:21): [True: 0, False: 0]
  |  |  |  Branch (3086:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3087|      0|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3087:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3088|      0|                    PyObject *arg = PyTuple_GET_SIZE(callargs) > 0 ?
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3088:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 3089|      0|                    PyTuple_GET_ITEM(callargs, 0) : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3089:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3090|      0|                    stack_pointer[-2] = callargs_st;
  |  | 3091|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3092|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3093|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 3094|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 3095|      0|                        frame, this_instr, func, arg);
  |  | 3096|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3097|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (3097:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 3098|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3099|      0|                    }
  |  | 3100|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3100:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3101|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3102|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 3103|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3104|      0|                    if (!PyFunction_Check(func) && !PyMethod_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|      0|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   if (!PyFunction_Check(func) && !PyMethod_Check(func)) {
  |  |  ------------------
  |  |  |  |   22|      0|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3104:25): [True: 0, False: 0]
  |  |  |  Branch (3104:52): [True: 0, False: 0]
  |  |  ------------------
  |  | 3105|      0|                        if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3105:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3106|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3106:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3107|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 3108|      0|                            _Py_call_instrumentation_exc2(
  |  | 3109|      0|                                tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 3110|      0|                                frame, this_instr, func, arg);
  |  | 3111|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 3112|      0|                        }
  |  | 3113|      0|                        else {
  |  | 3114|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3114:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3115|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 3116|      0|                            int err = _Py_call_instrumentation_2args(
  |  | 3117|      0|                                tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 3118|      0|                                frame, this_instr, func, arg);
  |  | 3119|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 3120|      0|                            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (3120:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 3121|      0|                                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3121:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 3122|      0|                                _PyFrame_StackPointerValidate(frame);
  |  | 3123|      0|                                Py_CLEAR(result_o);
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3124|      0|                                _PyFrame_StackPointerInvalidate(frame);
  |  | 3125|      0|                            }
  |  | 3126|      0|                        }
  |  | 3127|      0|                    }
  |  | 3128|      0|                }
  |  | 3129|     27|                else {
  |  | 3130|     27|                    if (Py_TYPE(func) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3130:25): [True: 13, False: 14]
  |  |  ------------------
  |  | 3131|     13|                        !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|     40|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (3131:25): [True: 13, False: 0]
  |  |  ------------------
  |  | 3132|     13|                        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (3132:25): [True: 13, False: 0]
  |  |  ------------------
  |  | 3133|     13|                        PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 3134|     13|                        assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3134:25): [True: 13, False: 0]
  |  |  ------------------
  |  | 3135|     13|                        PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|     13|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     13|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     13|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 9, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3136|     13|                        assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3136:25): [True: 9, False: 4]
  |  |  |  Branch (3136:25): [True: 4, False: 0]
  |  |  ------------------
  |  | 3137|     13|                        Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   27|     13|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3138|     13|                        int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|     13|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3139|     13|                        PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  122|     13|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                       PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3139:44): [True: 13, False: 0]
  |  |  ------------------
  |  | 3140|     13|                        stack_pointer += -2;
  |  | 3141|     13|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     13|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3142|     13|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3143|     13|                        _PyFrame_StackPointerValidate(frame);
  |  | 3144|     13|                        _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 3145|     13|                            tstate, func_st, locals,
  |  | 3146|     13|                            nargs, callargs, kwargs, frame);
  |  | 3147|     13|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 3148|     13|                        stack_pointer += -2;
  |  | 3149|     13|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     13|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3150|     13|                        if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3150:29): [True: 0, False: 13]
  |  |  ------------------
  |  | 3151|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3152|      0|                        }
  |  | 3153|     13|                        assert( 2u == 1 + INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  Branch (3153:25): [True: 13, Folded]
  |  |  ------------------
  |  | 3154|     13|                        frame->return_offset = 2u ;
  |  | 3155|     13|                        DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|     13|    do {                                                         \
  |  |  |  |  224|     13|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|     13|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|     13|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|     13|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|     13|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|     13|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|     13|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|     13|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|     13|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3155:25): [True: 13, False: 0]
  |  |  |  Branch (3155:25): [True: 13, False: 0]
  |  |  ------------------
  |  | 3156|     13|                    }
  |  | 3157|     14|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 3158|     14|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3158:21): [True: 14, False: 0]
  |  |  ------------------
  |  | 3159|     14|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 3160|     14|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3160:21): [True: 8, False: 6]
  |  |  |  Branch (3160:21): [True: 6, False: 0]
  |  |  ------------------
  |  | 3161|     14|                    stack_pointer[-2] = callargs_st;
  |  | 3162|     14|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3163|     14|                    _PyFrame_StackPointerValidate(frame);
  |  | 3164|     14|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 3165|     14|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3166|     14|                }
  |  | 3167|     14|                stack_pointer += -1;
  |  | 3168|     14|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     14|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3169|     14|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3170|     14|                _PyFrame_StackPointerValidate(frame);
  |  | 3171|     14|                PyStackRef_XCLOSE(kwargs_st);
  |  | 3172|     14|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3173|     14|                stack_pointer += -1;
  |  | 3174|     14|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     14|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3175|     14|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3176|     14|                _PyFrame_StackPointerValidate(frame);
  |  | 3177|     14|                PyStackRef_CLOSE(callargs_st);
  |  | 3178|     14|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3179|     14|                stack_pointer += -2;
  |  | 3180|     14|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     14|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3181|     14|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3182|     14|                _PyFrame_StackPointerValidate(frame);
  |  | 3183|     14|                PyStackRef_CLOSE(func_st);
  |  | 3184|     14|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3185|     14|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3185:21): [True: 0, False: 14]
  |  |  ------------------
  |  | 3186|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3187|      0|                }
  |  | 3188|     14|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 3189|     14|            }
  |  | 3190|       |            // _CHECK_PERIODIC_AT_END
  |  | 3191|      0|            {
  |  | 3192|     14|                stack_pointer[0] = result;
  |  | 3193|     14|                stack_pointer += 1;
  |  | 3194|     14|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     14|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3195|     14|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3196|     14|                _PyFrame_StackPointerValidate(frame);
  |  | 3197|     14|                int err = check_periodics_at_end(tstate, frame);
  |  | 3198|     14|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3199|     14|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3199:21): [True: 0, False: 14]
  |  |  ------------------
  |  | 3200|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3201|      0|                }
  |  | 3202|     14|            }
  |  | 3203|     14|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     14|    { \
  |  |  |  |  201|     14|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     14|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     14|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     14|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     14|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     14|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     14|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     14|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     14|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     14|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     14|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     14|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     14|    }
  |  |  ------------------
  |  | 3204|     14|        }
  |  | 3205|       |
  |  | 3206|    203|        TARGET(CALL_INTRINSIC_1) {
  |  |  ------------------
  |  |  |  |  132|    203|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3207|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3208|       |            int opcode = CALL_INTRINSIC_1;
  |  | 3209|       |            (void)(opcode);
  |  | 3210|       |            #endif
  |  | 3211|    203|            frame->instr_ptr = next_instr;
  |  | 3212|    203|            next_instr += 1;
  |  | 3213|    203|            INSTRUCTION_STATS(CALL_INTRINSIC_1);
  |  |  ------------------
  |  |  |  |   71|    203|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3214|    203|            _PyStackRef value;
  |  | 3215|    203|            _PyStackRef res;
  |  | 3216|    203|            _PyStackRef v;
  |  | 3217|       |            // _CALL_INTRINSIC_1
  |  | 3218|    203|            {
  |  | 3219|    203|                value = stack_pointer[-1];
  |  | 3220|    203|                assert(oparg <= MAX_INTRINSIC_1);
  |  |  ------------------
  |  |  |  Branch (3220:17): [True: 203, False: 0]
  |  |  ------------------
  |  | 3221|    203|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3222|    203|                _PyFrame_StackPointerValidate(frame);
  |  | 3223|    203|                PyObject *res_o = _PyIntrinsics_UnaryFunctions[oparg].func(tstate, PyStackRef_AsPyObjectBorrow(value));
  |  | 3224|    203|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3225|    203|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3225:21): [True: 0, False: 203]
  |  |  ------------------
  |  | 3226|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3227|      0|                }
  |  | 3228|    203|                v = value;
  |  | 3229|    203|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3230|    203|            }
  |  | 3231|       |            // _POP_TOP
  |  | 3232|      0|            {
  |  | 3233|    203|                value = v;
  |  | 3234|    203|                stack_pointer[-1] = res;
  |  | 3235|    203|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3235:17): [True: 203, False: 0]
  |  |  ------------------
  |  | 3236|    203|                _PyFrame_StackPointerValidate(frame);
  |  | 3237|    203|                PyStackRef_XCLOSE(value);
  |  | 3238|    203|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3239|    203|            }
  |  | 3240|    203|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    203|    { \
  |  |  |  |  201|    203|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    203|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    203|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    203|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    203|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    203|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    203|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    203|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 203]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    203|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    203|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    203|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    203|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    203|    }
  |  |  ------------------
  |  | 3241|    203|        }
  |  | 3242|       |
  |  | 3243|      0|        TARGET(CALL_INTRINSIC_2) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3244|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3245|       |            int opcode = CALL_INTRINSIC_2;
  |  | 3246|       |            (void)(opcode);
  |  | 3247|       |            #endif
  |  | 3248|      0|            frame->instr_ptr = next_instr;
  |  | 3249|      0|            next_instr += 1;
  |  | 3250|      0|            INSTRUCTION_STATS(CALL_INTRINSIC_2);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3251|      0|            _PyStackRef value2_st;
  |  | 3252|      0|            _PyStackRef value1_st;
  |  | 3253|      0|            _PyStackRef res;
  |  | 3254|      0|            _PyStackRef vs1;
  |  | 3255|      0|            _PyStackRef vs2;
  |  | 3256|      0|            _PyStackRef value;
  |  | 3257|       |            // _CALL_INTRINSIC_2
  |  | 3258|      0|            {
  |  | 3259|      0|                value1_st = stack_pointer[-1];
  |  | 3260|      0|                value2_st = stack_pointer[-2];
  |  | 3261|      0|                assert(oparg <= MAX_INTRINSIC_2);
  |  |  ------------------
  |  |  |  Branch (3261:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3262|      0|                PyObject *value1 = PyStackRef_AsPyObjectBorrow(value1_st);
  |  | 3263|      0|                PyObject *value2 = PyStackRef_AsPyObjectBorrow(value2_st);
  |  | 3264|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3265|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3266|      0|                PyObject *res_o = _PyIntrinsics_BinaryFunctions[oparg].func(tstate, value2, value1);
  |  | 3267|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3268|      0|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3268:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3269|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3270|      0|                }
  |  | 3271|      0|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3272|      0|                vs1 = value1_st;
  |  | 3273|      0|                vs2 = value2_st;
  |  | 3274|      0|            }
  |  | 3275|       |            // _POP_TOP
  |  | 3276|      0|            {
  |  | 3277|      0|                value = vs2;
  |  | 3278|      0|                stack_pointer[-2] = res;
  |  | 3279|      0|                stack_pointer[-1] = vs1;
  |  | 3280|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3280:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3281|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3282|      0|                PyStackRef_XCLOSE(value);
  |  | 3283|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3284|      0|            }
  |  | 3285|       |            // _POP_TOP
  |  | 3286|      0|            {
  |  | 3287|      0|                value = vs1;
  |  | 3288|      0|                stack_pointer += -1;
  |  | 3289|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3290|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3291|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3292|      0|                PyStackRef_XCLOSE(value);
  |  | 3293|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3294|      0|            }
  |  | 3295|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 3296|      0|        }
  |  | 3297|       |
  |  | 3298|  1.65k|        TARGET(CALL_ISINSTANCE) {
  |  |  ------------------
  |  |  |  |  132|  1.65k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3299|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3300|       |            int opcode = CALL_ISINSTANCE;
  |  | 3301|       |            (void)(opcode);
  |  | 3302|       |            #endif
  |  | 3303|  1.65k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3304|  1.65k|            (void)this_instr;
  |  | 3305|  1.65k|            frame->instr_ptr = next_instr;
  |  | 3306|  1.65k|            next_instr += 4;
  |  | 3307|  1.65k|            INSTRUCTION_STATS(CALL_ISINSTANCE);
  |  |  ------------------
  |  |  |  |   71|  1.65k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3308|  1.65k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3309|  1.65k|            _PyStackRef null;
  |  | 3310|  1.65k|            _PyStackRef callable;
  |  | 3311|  1.65k|            _PyStackRef instance;
  |  | 3312|  1.65k|            _PyStackRef cls;
  |  | 3313|  1.65k|            _PyStackRef res;
  |  | 3314|       |            /* Skip 1 cache entry */
  |  | 3315|       |            /* Skip 2 cache entries */
  |  | 3316|       |            // _GUARD_THIRD_NULL
  |  | 3317|  1.65k|            {
  |  | 3318|  1.65k|                null = stack_pointer[-3];
  |  | 3319|  1.65k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  1.65k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.65k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.65k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3319:21): [True: 0, False: 1.65k]
  |  |  ------------------
  |  | 3320|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3321|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3321:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3322|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3323|      0|                }
  |  | 3324|  1.65k|            }
  |  | 3325|       |            // _GUARD_CALLABLE_ISINSTANCE
  |  | 3326|  1.65k|            {
  |  | 3327|  1.65k|                callable = stack_pointer[-4];
  |  | 3328|  1.65k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3329|  1.65k|                PyInterpreterState *interp = tstate->interp;
  |  | 3330|  1.65k|                if (callable_o != interp->callable_cache.isinstance) {
  |  |  ------------------
  |  |  |  Branch (3330:21): [True: 0, False: 1.65k]
  |  |  ------------------
  |  | 3331|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3332|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3332:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3333|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3334|      0|                }
  |  | 3335|  1.65k|            }
  |  | 3336|       |            // _CALL_ISINSTANCE
  |  | 3337|  1.65k|            {
  |  | 3338|  1.65k|                cls = stack_pointer[-1];
  |  | 3339|  1.65k|                instance = stack_pointer[-2];
  |  | 3340|  1.65k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.65k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3341|  1.65k|                PyObject *inst_o = PyStackRef_AsPyObjectBorrow(instance);
  |  | 3342|  1.65k|                PyObject *cls_o = PyStackRef_AsPyObjectBorrow(cls);
  |  | 3343|  1.65k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3344|  1.65k|                _PyFrame_StackPointerValidate(frame);
  |  | 3345|  1.65k|                int retval = PyObject_IsInstance(inst_o, cls_o);
  |  | 3346|  1.65k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3347|  1.65k|                if (retval < 0) {
  |  |  ------------------
  |  |  |  Branch (3347:21): [True: 0, False: 1.65k]
  |  |  ------------------
  |  | 3348|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3349|      0|                }
  |  | 3350|  1.65k|                (void)null;
  |  | 3351|  1.65k|                stack_pointer += -1;
  |  | 3352|  1.65k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.65k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3353|  1.65k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3354|  1.65k|                _PyFrame_StackPointerValidate(frame);
  |  | 3355|  1.65k|                PyStackRef_CLOSE(cls);
  |  | 3356|  1.65k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3357|  1.65k|                stack_pointer += -1;
  |  | 3358|  1.65k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.65k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3359|  1.65k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3360|  1.65k|                _PyFrame_StackPointerValidate(frame);
  |  | 3361|  1.65k|                PyStackRef_CLOSE(instance);
  |  | 3362|  1.65k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3363|  1.65k|                stack_pointer += -2;
  |  | 3364|  1.65k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.65k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3365|  1.65k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3366|  1.65k|                _PyFrame_StackPointerValidate(frame);
  |  | 3367|  1.65k|                PyStackRef_CLOSE(callable);
  |  | 3368|  1.65k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3369|  1.65k|                res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    906|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    906|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.41k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    752|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3369:23): [True: 906, False: 752]
  |  |  ------------------
  |  | 3370|  1.65k|                assert((!PyStackRef_IsNull(res)) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (3370:17): [True: 1.65k, False: 0]
  |  |  ------------------
  |  | 3371|  1.65k|            }
  |  | 3372|  1.65k|            stack_pointer[0] = res;
  |  | 3373|  1.65k|            stack_pointer += 1;
  |  | 3374|  1.65k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.65k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3375|  1.65k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.65k|    { \
  |  |  |  |  201|  1.65k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.65k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.65k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.65k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.65k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.65k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.65k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.65k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.65k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.65k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.65k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.65k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.65k|    }
  |  |  ------------------
  |  | 3376|  1.65k|        }
  |  | 3377|       |
  |  | 3378|    183|        TARGET(CALL_KW) {
  |  |  ------------------
  |  |  |  |  132|    183|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3379|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3380|       |            int opcode = CALL_KW;
  |  | 3381|       |            (void)(opcode);
  |  | 3382|       |            #endif
  |  | 3383|    183|            frame->instr_ptr = next_instr;
  |  | 3384|    183|            next_instr += 4;
  |  | 3385|    183|            INSTRUCTION_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |   71|    183|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3386|    183|            PREDICTED_CALL_KW:;
  |  | 3387|    183|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 3388|    183|            (void)this_instr;
  |  | 3389|    183|            opcode = CALL_KW;
  |  |  ------------------
  |  |  |  |   66|    183|#define CALL_KW                                 53
  |  |  ------------------
  |  | 3390|    183|            _PyStackRef callable;
  |  | 3391|    183|            _PyStackRef self_or_null;
  |  | 3392|    183|            _PyStackRef *args;
  |  | 3393|    183|            _PyStackRef kwnames;
  |  | 3394|    183|            _PyStackRef res;
  |  | 3395|       |            // _SPECIALIZE_CALL_KW
  |  | 3396|    183|            {
  |  | 3397|    183|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3398|    183|                callable = stack_pointer[-3 - oparg];
  |  | 3399|    183|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 3400|    183|                (void)counter;
  |  | 3401|    183|                #if ENABLE_SPECIALIZATION
  |  | 3402|    183|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    183|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 52, False: 131]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3403|     52|                    next_instr = this_instr;
  |  | 3404|     52|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3405|     52|                    _PyFrame_StackPointerValidate(frame);
  |  | 3406|     52|                    _Py_Specialize_CallKw(callable, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  482|     52|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     52|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     52|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3407|     52|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3408|     52|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     52|    { \
  |  |  |  |  217|     52|        opcode = next_instr->op.code; \
  |  |  |  |  218|     52|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     52|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     52|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     52|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     52|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     52|    }
  |  |  ------------------
  |  | 3409|     52|                }
  |  | 3410|    183|                OPCODE_DEFERRED_INC(CALL_KW);
  |  |  ------------------
  |  |  |  |   90|    183|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 3411|    183|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    183|    do { \
  |  |  |  |  378|    183|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    183|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 183]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3412|    183|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 3413|    183|            }
  |  | 3414|       |            /* Skip 2 cache entries */
  |  | 3415|       |            // _MAYBE_EXPAND_METHOD_KW
  |  | 3416|    183|            {
  |  | 3417|    183|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3417:21): [True: 0, False: 183]
  |  |  ------------------
  |  | 3418|      0|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3419|      0|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 3420|      0|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3421|      0|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 3422|      0|                    _PyStackRef temp = callable;
  |  | 3423|      0|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3424|      0|                    stack_pointer[-3 - oparg] = callable;
  |  | 3425|      0|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 3426|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3427|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3428|      0|                    PyStackRef_CLOSE(temp);
  |  | 3429|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3430|      0|                }
  |  | 3431|    183|            }
  |  | 3432|       |            // _DO_CALL_KW
  |  | 3433|    183|            {
  |  | 3434|    183|                kwnames = stack_pointer[-1];
  |  | 3435|    183|                args = &stack_pointer[-1 - oparg];
  |  | 3436|    183|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3437|    183|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3438|    183|                int total_args = oparg;
  |  | 3439|    183|                _PyStackRef *arguments = args;
  |  | 3440|    183|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    183|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    183|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    183|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3440:21): [True: 4, False: 179]
  |  |  ------------------
  |  | 3441|      4|                    arguments--;
  |  | 3442|      4|                    total_args++;
  |  | 3443|      4|                }
  |  | 3444|    183|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|    183|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    183|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    183|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3445|    183|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|    183|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    183|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    183|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3445:21): [True: 17, False: 166]
  |  |  ------------------
  |  | 3446|     17|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|    200|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (3446:21): [True: 17, False: 0]
  |  |  ------------------
  |  | 3447|     17|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (3447:21): [True: 17, False: 0]
  |  |  ------------------
  |  | 3448|     17|                {
  |  | 3449|     17|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3450|     17|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|     17|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                   PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3450:40): [True: 17, False: 0]
  |  |  ------------------
  |  | 3451|     17|                    stack_pointer[-3 - oparg] = callable;
  |  | 3452|     17|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 3453|     17|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3454|     17|                    _PyFrame_StackPointerValidate(frame);
  |  | 3455|     17|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 3456|     17|                        tstate, callable, locals,
  |  | 3457|     17|                        arguments, positional_args, kwnames_o, frame
  |  | 3458|     17|                    );
  |  | 3459|     17|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3460|     17|                    stack_pointer += -3 - oparg;
  |  | 3461|     17|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     17|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3462|     17|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3463|     17|                    _PyFrame_StackPointerValidate(frame);
  |  | 3464|     17|                    PyStackRef_CLOSE(kwnames);
  |  | 3465|     17|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3466|     17|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3466:25): [True: 0, False: 17]
  |  |  ------------------
  |  | 3467|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3468|      0|                    }
  |  | 3469|     17|                    assert( 4u == 1 + INLINE_CACHE_ENTRIES_CALL_KW);
  |  |  ------------------
  |  |  |  Branch (3469:21): [True: 17, Folded]
  |  |  ------------------
  |  | 3470|     17|                    frame->return_offset = 4u ;
  |  | 3471|     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 (3471:21): [True: 17, False: 0]
  |  |  |  Branch (3471:21): [True: 17, False: 0]
  |  |  ------------------
  |  | 3472|     17|                }
  |  | 3473|    166|                stack_pointer[-3 - oparg] = callable;
  |  | 3474|    166|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 3475|    166|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3476|    166|                _PyFrame_StackPointerValidate(frame);
  |  | 3477|    166|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 3478|    166|                    callable,
  |  | 3479|    166|                    arguments,
  |  | 3480|    166|                    total_args,
  |  | 3481|    166|                    kwnames,
  |  | 3482|    166|                    opcode == INSTRUMENTED_CALL_KW,
  |  |  ------------------
  |  |  |  |  238|    166|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 3483|    166|                    frame,
  |  | 3484|    166|                    this_instr,
  |  | 3485|    166|                    tstate);
  |  | 3486|    166|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3487|    166|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3487:21): [True: 0, False: 166]
  |  |  ------------------
  |  | 3488|      0|                    stack_pointer += -3 - oparg;
  |  | 3489|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3490|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3491|      0|                }
  |  | 3492|    166|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3493|    166|            }
  |  | 3494|      0|            stack_pointer[-3 - oparg] = res;
  |  | 3495|    166|            stack_pointer += -2 - oparg;
  |  | 3496|    166|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    166|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3497|    166|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    166|    { \
  |  |  |  |  201|    166|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    166|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    166|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    166|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    166|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    166|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    166|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    166|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 166]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    166|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    166|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    166|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    166|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    166|    }
  |  |  ------------------
  |  | 3498|    166|        }
  |  | 3499|       |
  |  | 3500|      0|        TARGET(CALL_KW_BOUND_METHOD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3501|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3502|       |            int opcode = CALL_KW_BOUND_METHOD;
  |  | 3503|       |            (void)(opcode);
  |  | 3504|       |            #endif
  |  | 3505|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3506|      0|            (void)this_instr;
  |  | 3507|      0|            frame->instr_ptr = next_instr;
  |  | 3508|      0|            next_instr += 4;
  |  | 3509|      0|            INSTRUCTION_STATS(CALL_KW_BOUND_METHOD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3510|      0|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3511|      0|            _PyStackRef callable;
  |  | 3512|      0|            _PyStackRef null;
  |  | 3513|      0|            _PyStackRef self_or_null;
  |  | 3514|      0|            _PyStackRef *args;
  |  | 3515|      0|            _PyStackRef kwnames;
  |  | 3516|      0|            _PyStackRef new_frame;
  |  | 3517|       |            /* Skip 1 cache entry */
  |  | 3518|       |            // _CHECK_PEP_523
  |  | 3519|      0|            {
  |  | 3520|      0|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3521|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3522|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3522:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3523|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3524|      0|                }
  |  | 3525|      0|            }
  |  | 3526|       |            // _CHECK_METHOD_VERSION_KW
  |  | 3527|      0|            {
  |  | 3528|      0|                null = stack_pointer[-2 - oparg];
  |  | 3529|      0|                callable = stack_pointer[-3 - oparg];
  |  | 3530|      0|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 3531|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3532|      0|                if (Py_TYPE(callable_o) != &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3532:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3533|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3534|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3534:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3535|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3536|      0|                }
  |  | 3537|      0|                PyObject *func = ((PyMethodObject *)callable_o)->im_func;
  |  | 3538|      0|                if (!PyFunction_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|      0|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3538:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3539|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3540|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3540:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3541|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3542|      0|                }
  |  | 3543|      0|                if (((PyFunctionObject *)func)->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (3543:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3544|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3545|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3545:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3546|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3547|      0|                }
  |  | 3548|      0|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3548:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3549|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3550|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3550:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3551|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3552|      0|                }
  |  | 3553|      0|            }
  |  | 3554|       |            // _EXPAND_METHOD_KW
  |  | 3555|      0|            {
  |  | 3556|      0|                self_or_null = null;
  |  | 3557|      0|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (3557:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3558|      0|                _PyStackRef callable_s = callable;
  |  | 3559|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3560|      0|                assert(Py_TYPE(callable_o) == &PyMethod_Type);
  |  |  ------------------
  |  |  |  Branch (3560:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3561|      0|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3562|      0|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3563|      0|                assert(PyStackRef_FunctionCheck(callable));
  |  |  ------------------
  |  |  |  Branch (3563:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3564|      0|                stack_pointer[-3 - oparg] = callable;
  |  | 3565|      0|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 3566|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3567|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3568|      0|                PyStackRef_CLOSE(callable_s);
  |  | 3569|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3570|      0|            }
  |  | 3571|       |            // flush
  |  | 3572|       |            // _PY_FRAME_KW
  |  | 3573|      0|            {
  |  | 3574|      0|                kwnames = stack_pointer[-1];
  |  | 3575|      0|                args = &stack_pointer[-1 - oparg];
  |  | 3576|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3577|      0|                int total_args = oparg;
  |  | 3578|      0|                _PyStackRef *arguments = args;
  |  | 3579|      0|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3579:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3580|      0|                    arguments--;
  |  | 3581|      0|                    total_args++;
  |  | 3582|      0|                }
  |  | 3583|      0|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3584|      0|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3585|      0|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (3585:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3586|      0|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|      0|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3587|      0|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|      0|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3587:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 3588|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3588:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3589|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3590|      0|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 3591|      0|                    tstate, callable, locals,
  |  | 3592|      0|                    arguments, positional_args, kwnames_o, frame
  |  | 3593|      0|                );
  |  | 3594|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3595|      0|                stack_pointer += -1;
  |  | 3596|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3597|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3598|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3599|      0|                PyStackRef_CLOSE(kwnames);
  |  | 3600|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3601|      0|                stack_pointer += -2 - oparg;
  |  | 3602|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3603|      0|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (3603:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3604|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3605|      0|                }
  |  | 3606|      0|                new_frame = PyStackRef_Wrap(temp);
  |  | 3607|      0|            }
  |  | 3608|       |            // _SAVE_RETURN_OFFSET
  |  | 3609|      0|            {
  |  | 3610|      0|                #if TIER_ONE
  |  | 3611|      0|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 3612|      0|                #endif
  |  | 3613|       |                #if TIER_TWO
  |  | 3614|       |                frame->return_offset = oparg;
  |  | 3615|       |                #endif
  |  | 3616|      0|            }
  |  | 3617|       |            // _PUSH_FRAME
  |  | 3618|      0|            {
  |  | 3619|      0|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (3619:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3620|      0|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 3621|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3622|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 3623|      0|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (3623:17): [True: 0, False: 0]
  |  |  |  Branch (3623:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3624|      0|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 3625|      0|                frame = tstate->current_frame = temp;
  |  | 3626|      0|                tstate->py_recursion_remaining--;
  |  | 3627|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3628|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3629|      0|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3630|       |                #ifdef Py_DEBUG
  |  | 3631|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 3632|       |                #endif
  |  | 3633|      0|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      0|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3634|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3635|      0|            }
  |  | 3636|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 3637|      0|        }
  |  | 3638|       |
  |  | 3639|  1.11k|        TARGET(CALL_KW_NON_PY) {
  |  |  ------------------
  |  |  |  |  132|  1.11k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3640|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3641|       |            int opcode = CALL_KW_NON_PY;
  |  | 3642|       |            (void)(opcode);
  |  | 3643|       |            #endif
  |  | 3644|  1.11k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3645|  1.11k|            (void)this_instr;
  |  | 3646|  1.11k|            frame->instr_ptr = next_instr;
  |  | 3647|  1.11k|            next_instr += 4;
  |  | 3648|  1.11k|            INSTRUCTION_STATS(CALL_KW_NON_PY);
  |  |  ------------------
  |  |  |  |   71|  1.11k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3649|  1.11k|            opcode = CALL_KW_NON_PY;
  |  |  ------------------
  |  |  |  |  157|  1.11k|#define CALL_KW_NON_PY                         155
  |  |  ------------------
  |  | 3650|  1.11k|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3651|  1.11k|            _PyStackRef callable;
  |  | 3652|  1.11k|            _PyStackRef self_or_null;
  |  | 3653|  1.11k|            _PyStackRef *args;
  |  | 3654|  1.11k|            _PyStackRef kwnames;
  |  | 3655|  1.11k|            _PyStackRef res;
  |  | 3656|       |            /* Skip 1 cache entry */
  |  | 3657|       |            /* Skip 2 cache entries */
  |  | 3658|       |            // _CHECK_IS_NOT_PY_CALLABLE_KW
  |  | 3659|  1.11k|            {
  |  | 3660|  1.11k|                callable = stack_pointer[-3 - oparg];
  |  | 3661|  1.11k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3662|  1.11k|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  1.11k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.11k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 1.11k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3663|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3664|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3664:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3665|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3666|      0|                }
  |  | 3667|  1.11k|                if (Py_TYPE(callable_o) == &PyMethod_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3667:21): [True: 0, False: 1.11k]
  |  |  ------------------
  |  | 3668|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3669|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3669:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3670|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3671|      0|                }
  |  | 3672|  1.11k|            }
  |  | 3673|       |            // _CALL_KW_NON_PY
  |  | 3674|  1.11k|            {
  |  | 3675|  1.11k|                kwnames = stack_pointer[-1];
  |  | 3676|  1.11k|                args = &stack_pointer[-1 - oparg];
  |  | 3677|  1.11k|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3678|  1.11k|                #if TIER_ONE
  |  | 3679|  1.11k|                assert(opcode != INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  Branch (3679:17): [True: 1.11k, False: 0]
  |  |  ------------------
  |  | 3680|  1.11k|                #endif
  |  | 3681|  1.11k|                int total_args = oparg;
  |  | 3682|  1.11k|                _PyStackRef *arguments = args;
  |  | 3683|  1.11k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.11k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.11k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.11k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3683:21): [True: 0, False: 1.11k]
  |  |  ------------------
  |  | 3684|      0|                    arguments--;
  |  | 3685|      0|                    total_args++;
  |  | 3686|      0|                }
  |  | 3687|  1.11k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3688|  1.11k|                _PyFrame_StackPointerValidate(frame);
  |  | 3689|  1.11k|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 3690|  1.11k|                    callable,
  |  | 3691|  1.11k|                    arguments,
  |  | 3692|  1.11k|                    total_args,
  |  | 3693|  1.11k|                    kwnames);
  |  | 3694|  1.11k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3695|  1.11k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3695:21): [True: 317, False: 801]
  |  |  ------------------
  |  | 3696|    317|                    stack_pointer += -3 - oparg;
  |  | 3697|    317|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    317|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3698|    317|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    317|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3699|      0|                }
  |  | 3700|    801|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3701|    801|            }
  |  | 3702|       |            // _CHECK_PERIODIC_AT_END
  |  | 3703|      0|            {
  |  | 3704|    801|                stack_pointer[-3 - oparg] = res;
  |  | 3705|    801|                stack_pointer += -2 - oparg;
  |  | 3706|    801|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    801|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3707|    801|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3708|    801|                _PyFrame_StackPointerValidate(frame);
  |  | 3709|    801|                int err = check_periodics_at_end(tstate, frame);
  |  | 3710|    801|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3711|    801|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3711:21): [True: 0, False: 801]
  |  |  ------------------
  |  | 3712|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3713|      0|                }
  |  | 3714|    801|            }
  |  | 3715|    801|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    801|    { \
  |  |  |  |  201|    801|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    801|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    801|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    801|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    801|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    801|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    801|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    801|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 801]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    801|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    801|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    801|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    801|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    801|    }
  |  |  ------------------
  |  | 3716|    801|        }
  |  | 3717|       |
  |  | 3718|  4.03k|        TARGET(CALL_KW_PY) {
  |  |  ------------------
  |  |  |  |  132|  4.03k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3719|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3720|       |            int opcode = CALL_KW_PY;
  |  | 3721|       |            (void)(opcode);
  |  | 3722|       |            #endif
  |  | 3723|  4.03k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3724|  4.03k|            (void)this_instr;
  |  | 3725|  4.03k|            frame->instr_ptr = next_instr;
  |  | 3726|  4.03k|            next_instr += 4;
  |  | 3727|  4.03k|            INSTRUCTION_STATS(CALL_KW_PY);
  |  |  ------------------
  |  |  |  |   71|  4.03k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3728|  4.03k|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3729|  4.03k|            _PyStackRef callable;
  |  | 3730|  4.03k|            _PyStackRef self_or_null;
  |  | 3731|  4.03k|            _PyStackRef *args;
  |  | 3732|  4.03k|            _PyStackRef kwnames;
  |  | 3733|  4.03k|            _PyStackRef new_frame;
  |  | 3734|       |            /* Skip 1 cache entry */
  |  | 3735|       |            // _CHECK_PEP_523
  |  | 3736|  4.03k|            {
  |  | 3737|  4.03k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  4.03k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 4.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3738|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3739|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3739:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3740|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3741|      0|                }
  |  | 3742|  4.03k|            }
  |  | 3743|       |            // _CHECK_FUNCTION_VERSION_KW
  |  | 3744|  4.03k|            {
  |  | 3745|  4.03k|                callable = stack_pointer[-3 - oparg];
  |  | 3746|  4.03k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 3747|  4.03k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3748|  4.03k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  4.03k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  4.03k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3748:21): [True: 0, False: 4.03k]
  |  |  ------------------
  |  | 3749|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3750|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3750:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3751|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3752|      0|                }
  |  | 3753|  4.03k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 3754|  4.03k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (3754:21): [True: 0, False: 4.03k]
  |  |  ------------------
  |  | 3755|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3756|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3756:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3757|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3758|      0|                }
  |  | 3759|  4.03k|            }
  |  | 3760|       |            // _CHECK_RECURSION_REMAINING
  |  | 3761|  4.03k|            {
  |  | 3762|  4.03k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (3762:21): [True: 0, False: 4.03k]
  |  |  ------------------
  |  | 3763|      0|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3764|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  |  ------------------
  |  |  |  Branch (3764:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3765|      0|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3766|      0|                }
  |  | 3767|  4.03k|            }
  |  | 3768|       |            // _PY_FRAME_KW
  |  | 3769|  4.03k|            {
  |  | 3770|  4.03k|                kwnames = stack_pointer[-1];
  |  | 3771|  4.03k|                args = &stack_pointer[-1 - oparg];
  |  | 3772|  4.03k|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3773|  4.03k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3774|  4.03k|                int total_args = oparg;
  |  | 3775|  4.03k|                _PyStackRef *arguments = args;
  |  | 3776|  4.03k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  4.03k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  4.03k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  4.03k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3776:21): [True: 0, False: 4.03k]
  |  |  ------------------
  |  | 3777|      0|                    arguments--;
  |  | 3778|      0|                    total_args++;
  |  | 3779|      0|                }
  |  | 3780|  4.03k|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3781|  4.03k|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|  4.03k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3782|  4.03k|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (3782:17): [True: 4.03k, False: 0]
  |  |  ------------------
  |  | 3783|  4.03k|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  4.03k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3784|  4.03k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|  4.03k|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3784:36): [True: 4.03k, False: 0]
  |  |  ------------------
  |  | 3785|  4.03k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3786|  4.03k|                _PyFrame_StackPointerValidate(frame);
  |  | 3787|  4.03k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 3788|  4.03k|                    tstate, callable, locals,
  |  | 3789|  4.03k|                    arguments, positional_args, kwnames_o, frame
  |  | 3790|  4.03k|                );
  |  | 3791|  4.03k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3792|  4.03k|                stack_pointer += -1;
  |  | 3793|  4.03k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.03k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3794|  4.03k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3795|  4.03k|                _PyFrame_StackPointerValidate(frame);
  |  | 3796|  4.03k|                PyStackRef_CLOSE(kwnames);
  |  | 3797|  4.03k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3798|  4.03k|                stack_pointer += -2 - oparg;
  |  | 3799|  4.03k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.03k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3800|  4.03k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (3800:21): [True: 0, False: 4.03k]
  |  |  ------------------
  |  | 3801|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3802|      0|                }
  |  | 3803|  4.03k|                new_frame = PyStackRef_Wrap(temp);
  |  | 3804|  4.03k|            }
  |  | 3805|       |            // _SAVE_RETURN_OFFSET
  |  | 3806|      0|            {
  |  | 3807|  4.03k|                #if TIER_ONE
  |  | 3808|  4.03k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 3809|  4.03k|                #endif
  |  | 3810|       |                #if TIER_TWO
  |  | 3811|       |                frame->return_offset = oparg;
  |  | 3812|       |                #endif
  |  | 3813|  4.03k|            }
  |  | 3814|       |            // _PUSH_FRAME
  |  | 3815|  4.03k|            {
  |  | 3816|  4.03k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (3816:17): [True: 4.03k, False: 0]
  |  |  ------------------
  |  | 3817|  4.03k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 3818|  4.03k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3819|  4.03k|                _PyFrame_StackPointerValidate(frame);
  |  | 3820|  4.03k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (3820:17): [True: 4.03k, False: 0]
  |  |  |  Branch (3820:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|  4.03k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  4.03k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 3822|  4.03k|                frame = tstate->current_frame = temp;
  |  | 3823|  4.03k|                tstate->py_recursion_remaining--;
  |  | 3824|  4.03k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3825|  4.03k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3826|  4.03k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  4.03k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  4.03k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  4.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 4.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3827|       |                #ifdef Py_DEBUG
  |  | 3828|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 3829|       |                #endif
  |  | 3830|  4.03k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  4.03k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3831|  4.03k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  4.03k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3832|  4.03k|            }
  |  | 3833|  4.03k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.03k|    { \
  |  |  |  |  201|  4.03k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.03k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.03k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.03k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.03k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.03k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.03k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.03k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.03k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.03k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.03k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.03k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.03k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.03k|    }
  |  |  ------------------
  |  | 3834|  4.03k|        }
  |  | 3835|       |
  |  | 3836|  3.45k|        TARGET(CALL_LEN) {
  |  |  ------------------
  |  |  |  |  132|  3.45k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3837|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3838|       |            int opcode = CALL_LEN;
  |  | 3839|       |            (void)(opcode);
  |  | 3840|       |            #endif
  |  | 3841|  3.45k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3842|  3.45k|            (void)this_instr;
  |  | 3843|  3.45k|            frame->instr_ptr = next_instr;
  |  | 3844|  3.45k|            next_instr += 4;
  |  | 3845|  3.45k|            INSTRUCTION_STATS(CALL_LEN);
  |  |  ------------------
  |  |  |  |   71|  3.45k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3846|  3.45k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3847|  3.45k|            _PyStackRef null;
  |  | 3848|  3.45k|            _PyStackRef callable;
  |  | 3849|  3.45k|            _PyStackRef arg;
  |  | 3850|  3.45k|            _PyStackRef res;
  |  | 3851|  3.45k|            _PyStackRef a;
  |  | 3852|  3.45k|            _PyStackRef c;
  |  | 3853|  3.45k|            _PyStackRef value;
  |  | 3854|       |            /* Skip 1 cache entry */
  |  | 3855|       |            /* Skip 2 cache entries */
  |  | 3856|       |            // _GUARD_NOS_NULL
  |  | 3857|  3.45k|            {
  |  | 3858|  3.45k|                null = stack_pointer[-2];
  |  | 3859|  3.45k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  3.45k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  3.45k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.45k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3859:21): [True: 0, False: 3.45k]
  |  |  ------------------
  |  | 3860|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3861|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3861:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3862|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3863|      0|                }
  |  | 3864|  3.45k|            }
  |  | 3865|       |            // _GUARD_CALLABLE_LEN
  |  | 3866|  3.45k|            {
  |  | 3867|  3.45k|                callable = stack_pointer[-3];
  |  | 3868|  3.45k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3869|  3.45k|                PyInterpreterState *interp = tstate->interp;
  |  | 3870|  3.45k|                if (callable_o != interp->callable_cache.len) {
  |  |  ------------------
  |  |  |  Branch (3870:21): [True: 0, False: 3.45k]
  |  |  ------------------
  |  | 3871|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3872|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3872:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3873|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3874|      0|                }
  |  | 3875|  3.45k|            }
  |  | 3876|       |            // _CALL_LEN
  |  | 3877|  3.45k|            {
  |  | 3878|  3.45k|                arg = stack_pointer[-1];
  |  | 3879|  3.45k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  3.45k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3880|  3.45k|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 3881|  3.45k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3882|  3.45k|                _PyFrame_StackPointerValidate(frame);
  |  | 3883|  3.45k|                Py_ssize_t len_i = PyObject_Length(arg_o);
  |  |  ------------------
  |  |  |  |  353|  3.45k|#define PyObject_Length PyObject_Size
  |  |  ------------------
  |  | 3884|  3.45k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3885|  3.45k|                if (len_i < 0) {
  |  |  ------------------
  |  |  |  Branch (3885:21): [True: 0, False: 3.45k]
  |  |  ------------------
  |  | 3886|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3887|      0|                }
  |  | 3888|  3.45k|                PyObject *res_o = PyLong_FromSsize_t(len_i);
  |  | 3889|  3.45k|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (3889:17): [True: 3.45k, False: 0]
  |  |  ------------------
  |  | 3890|  3.45k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3890:21): [True: 0, False: 3.45k]
  |  |  ------------------
  |  | 3891|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3892|      0|                }
  |  | 3893|  3.45k|                a = arg;
  |  | 3894|  3.45k|                c = callable;
  |  | 3895|  3.45k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3896|  3.45k|            }
  |  | 3897|       |            // _POP_TOP
  |  | 3898|      0|            {
  |  | 3899|  3.45k|                value = c;
  |  | 3900|  3.45k|                stack_pointer[-3] = res;
  |  | 3901|  3.45k|                stack_pointer[-2] = a;
  |  | 3902|  3.45k|                stack_pointer += -1;
  |  | 3903|  3.45k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.45k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3904|  3.45k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3905|  3.45k|                _PyFrame_StackPointerValidate(frame);
  |  | 3906|  3.45k|                PyStackRef_XCLOSE(value);
  |  | 3907|  3.45k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3908|  3.45k|            }
  |  | 3909|       |            // _POP_TOP
  |  | 3910|  3.45k|            {
  |  | 3911|  3.45k|                value = a;
  |  | 3912|  3.45k|                stack_pointer += -1;
  |  | 3913|  3.45k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.45k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3914|  3.45k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3915|  3.45k|                _PyFrame_StackPointerValidate(frame);
  |  | 3916|  3.45k|                PyStackRef_XCLOSE(value);
  |  | 3917|  3.45k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3918|  3.45k|            }
  |  | 3919|  3.45k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.45k|    { \
  |  |  |  |  201|  3.45k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.45k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.45k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.45k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.45k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.45k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.45k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.45k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.45k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.45k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.45k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.45k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.45k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.45k|    }
  |  |  ------------------
  |  | 3920|  3.45k|        }
  |  | 3921|       |
  |  | 3922|    681|        TARGET(CALL_LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|    681|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3923|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3924|       |            int opcode = CALL_LIST_APPEND;
  |  | 3925|       |            (void)(opcode);
  |  | 3926|       |            #endif
  |  | 3927|    681|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3928|    681|            (void)this_instr;
  |  | 3929|    681|            frame->instr_ptr = next_instr;
  |  | 3930|    681|            next_instr += 4;
  |  | 3931|    681|            INSTRUCTION_STATS(CALL_LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|    681|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3932|    681|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3933|    681|            _PyStackRef callable;
  |  | 3934|    681|            _PyStackRef nos;
  |  | 3935|    681|            _PyStackRef self;
  |  | 3936|    681|            _PyStackRef arg;
  |  | 3937|    681|            _PyStackRef none;
  |  | 3938|    681|            _PyStackRef c;
  |  | 3939|    681|            _PyStackRef s;
  |  | 3940|    681|            _PyStackRef value;
  |  | 3941|       |            /* Skip 1 cache entry */
  |  | 3942|       |            /* Skip 2 cache entries */
  |  | 3943|       |            // _GUARD_CALLABLE_LIST_APPEND
  |  | 3944|    681|            {
  |  | 3945|    681|                callable = stack_pointer[-3];
  |  | 3946|    681|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3947|    681|                PyInterpreterState *interp = tstate->interp;
  |  | 3948|    681|                if (callable_o != interp->callable_cache.list_append) {
  |  |  ------------------
  |  |  |  Branch (3948:21): [True: 0, False: 681]
  |  |  ------------------
  |  | 3949|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3950|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3950:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3951|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3952|      0|                }
  |  | 3953|    681|            }
  |  | 3954|       |            // _GUARD_NOS_NOT_NULL
  |  | 3955|    681|            {
  |  | 3956|    681|                nos = stack_pointer[-2];
  |  | 3957|    681|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  482|    681|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    681|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    681|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 681]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3958|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3959|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3959:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3960|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3961|      0|                }
  |  | 3962|    681|            }
  |  | 3963|       |            // _GUARD_NOS_LIST
  |  | 3964|    681|            {
  |  | 3965|    681|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 3966|    681|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|    681|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    681|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    681|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    681|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3966:21): [True: 0, False: 681]
  |  |  ------------------
  |  | 3967|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3968|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3968:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3969|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3970|      0|                }
  |  | 3971|    681|            }
  |  | 3972|       |            // _CALL_LIST_APPEND
  |  | 3973|    681|            {
  |  | 3974|    681|                arg = stack_pointer[-1];
  |  | 3975|    681|                self = nos;
  |  | 3976|    681|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (3976:17): [True: 681, False: 0]
  |  |  ------------------
  |  | 3977|    681|                PyObject *self_o = PyStackRef_AsPyObjectBorrow(self);
  |  | 3978|    681|                if (!LOCK_OBJECT(self_o)) {
  |  |  ------------------
  |  |  |  |  322|    681|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (3978:21): [Folded, False: 681]
  |  |  ------------------
  |  | 3979|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3980|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3980:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3981|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3982|      0|                }
  |  | 3983|    681|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    681|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3984|    681|                int err = _PyList_AppendTakeRef((PyListObject *)self_o, PyStackRef_AsPyObjectSteal(arg));
  |  | 3985|    681|                UNLOCK_OBJECT(self_o);
  |  |  ------------------
  |  |  |  |  323|    681|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  | 3986|    681|                if (err) {
  |  |  ------------------
  |  |  |  Branch (3986:21): [True: 0, False: 681]
  |  |  ------------------
  |  | 3987|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3988|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3989|      0|                    _PyStackRef tmp = self;
  |  | 3990|      0|                    self = PyStackRef_NULL;
  |  | 3991|      0|                    stack_pointer[-2] = self;
  |  | 3992|      0|                    PyStackRef_CLOSE(tmp);
  |  | 3993|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3994|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3994:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3995|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3996|      0|                    tmp = callable;
  |  | 3997|      0|                    callable = PyStackRef_NULL;
  |  | 3998|      0|                    stack_pointer[-3] = callable;
  |  | 3999|      0|                    PyStackRef_CLOSE(tmp);
  |  | 4000|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 4001|      0|                    stack_pointer += -3;
  |  | 4002|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4003|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4004|      0|                }
  |  | 4005|    681|                c = callable;
  |  | 4006|    681|                s = self;
  |  | 4007|    681|                none = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|    681|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    681|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4008|    681|            }
  |  | 4009|       |            // _POP_TOP
  |  | 4010|      0|            {
  |  | 4011|    681|                value = s;
  |  | 4012|    681|                stack_pointer[-3] = none;
  |  | 4013|    681|                stack_pointer[-2] = c;
  |  | 4014|    681|                stack_pointer += -1;
  |  | 4015|    681|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    681|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4016|    681|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4017|    681|                _PyFrame_StackPointerValidate(frame);
  |  | 4018|    681|                PyStackRef_XCLOSE(value);
  |  | 4019|    681|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4020|    681|            }
  |  | 4021|       |            // _POP_TOP
  |  | 4022|    681|            {
  |  | 4023|    681|                value = c;
  |  | 4024|    681|                stack_pointer += -1;
  |  | 4025|    681|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    681|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4026|    681|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4027|    681|                _PyFrame_StackPointerValidate(frame);
  |  | 4028|    681|                PyStackRef_XCLOSE(value);
  |  | 4029|    681|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4030|    681|            }
  |  | 4031|    681|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    681|    { \
  |  |  |  |  201|    681|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    681|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    681|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    681|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    681|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    681|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    681|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    681|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 681]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    681|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    681|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    681|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    681|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    681|    }
  |  |  ------------------
  |  | 4032|    681|        }
  |  | 4033|       |
  |  | 4034|  14.0k|        TARGET(CALL_METHOD_DESCRIPTOR_FAST) {
  |  |  ------------------
  |  |  |  |  132|  14.0k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4035|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4036|       |            int opcode = CALL_METHOD_DESCRIPTOR_FAST;
  |  | 4037|       |            (void)(opcode);
  |  | 4038|       |            #endif
  |  | 4039|  14.0k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4040|  14.0k|            (void)this_instr;
  |  | 4041|  14.0k|            frame->instr_ptr = next_instr;
  |  | 4042|  14.0k|            next_instr += 4;
  |  | 4043|  14.0k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST);
  |  |  ------------------
  |  |  |  |   71|  14.0k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4044|  14.0k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4045|  14.0k|            _PyStackRef callable;
  |  | 4046|  14.0k|            _PyStackRef self_or_null;
  |  | 4047|  14.0k|            _PyStackRef *args;
  |  | 4048|  14.0k|            _PyStackRef value;
  |  | 4049|       |            /* Skip 1 cache entry */
  |  | 4050|       |            /* Skip 2 cache entries */
  |  | 4051|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST
  |  | 4052|  14.0k|            {
  |  | 4053|  14.0k|                args = &stack_pointer[-oparg];
  |  | 4054|  14.0k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4055|  14.0k|                callable = stack_pointer[-2 - oparg];
  |  | 4056|  14.0k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4057|  14.0k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4058|  14.0k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  14.0k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4058:21): [True: 0, False: 14.0k]
  |  |  ------------------
  |  | 4059|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4060|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4060:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4061|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4062|      0|                }
  |  | 4063|  14.0k|                if ((method->d_method->ml_flags & _Py_METH_CALL_FLAGS) !=
  |  |  ------------------
  |  |  |  |   17|  14.0k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|  14.0k|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|  14.0k|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  14.0k|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|  14.0k|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|  14.0k|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|  14.0k|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  14.0k|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4063:21): [True: 0, False: 14.0k]
  |  |  ------------------
  |  | 4064|  14.0k|                    METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|  14.0k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  | 4065|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4066|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4066:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4067|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4068|      0|                }
  |  | 4069|  14.0k|                int total_args = oparg;
  |  | 4070|  14.0k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  14.0k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  14.0k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  14.0k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4070:21): [True: 14.0k, False: 0]
  |  |  ------------------
  |  | 4071|  14.0k|                    total_args++;
  |  | 4072|  14.0k|                }
  |  | 4073|  14.0k|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (4073:21): [True: 0, False: 14.0k]
  |  |  ------------------
  |  | 4074|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4075|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4075:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4076|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4077|      0|                }
  |  | 4078|  14.0k|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4079|  14.0k|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|  14.0k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  14.0k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  14.0k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 14.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4080|  14.0k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  14.0k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4080:21): [True: 118, False: 13.8k]
  |  |  ------------------
  |  | 4081|    118|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    118|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4082|    118|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4082:21): [True: 118, False: 0]
  |  |  ------------------
  |  | 4083|    118|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    118|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4084|      0|                }
  |  | 4085|  14.0k|            }
  |  | 4086|       |            // _CALL_METHOD_DESCRIPTOR_FAST
  |  | 4087|  13.8k|            {
  |  | 4088|  13.8k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4089|  13.8k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4090|  13.8k|                int total_args = oparg;
  |  | 4091|  13.8k|                _PyStackRef *arguments = args;
  |  | 4092|  13.8k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  13.8k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  13.8k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  13.8k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4092:21): [True: 13.8k, False: 0]
  |  |  ------------------
  |  | 4093|  13.8k|                    arguments--;
  |  | 4094|  13.8k|                    total_args++;
  |  | 4095|  13.8k|                }
  |  | 4096|  13.8k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4097|  13.8k|                assert(self != NULL);
  |  |  ------------------
  |  |  |  Branch (4097:17): [True: 13.8k, False: 0]
  |  |  ------------------
  |  | 4098|  13.8k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  13.8k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4099|  13.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4100|  13.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4101|  13.8k|                PyCFunctionFast cfunc = _PyCFunctionFast_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   58|  13.8k|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  13.8k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4102|  13.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4103|  13.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4103:17): [True: 13.8k, False: 0]
  |  |  ------------------
  |  | 4104|  13.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4105|  13.8k|                PyObject *res_o = _PyCallMethodDescriptorFast_StackRef(
  |  | 4106|  13.8k|                    callable,
  |  | 4107|  13.8k|                    cfunc,
  |  | 4108|  13.8k|                    self,
  |  | 4109|  13.8k|                    arguments,
  |  | 4110|  13.8k|                    total_args
  |  | 4111|  13.8k|                );
  |  | 4112|  13.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4113|  13.8k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4113:21): [True: 0, False: 13.8k]
  |  |  ------------------
  |  | 4114|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4115|      0|                }
  |  | 4116|  13.8k|                _PyStackRef temp = callable;
  |  | 4117|  13.8k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4118|  13.8k|                stack_pointer[-2 - oparg] = callable;
  |  | 4119|  13.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4119:17): [True: 13.8k, False: 0]
  |  |  ------------------
  |  | 4120|  13.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4121|  13.8k|                PyStackRef_CLOSE(temp);
  |  | 4122|  13.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4123|  13.8k|            }
  |  | 4124|       |            // _POP_TOP_OPARG
  |  | 4125|      0|            {
  |  | 4126|  13.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4126:17): [True: 13.8k, False: 0]
  |  |  ------------------
  |  | 4127|  13.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4128|  13.8k|                _PyStackRef_CloseStack(args, oparg);
  |  | 4129|  13.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4130|  13.8k|            }
  |  | 4131|       |            // _POP_TOP
  |  | 4132|      0|            {
  |  | 4133|  13.8k|                value = self_or_null;
  |  | 4134|  13.8k|                stack_pointer += -1 - oparg;
  |  | 4135|  13.8k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  13.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4136|  13.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4137|  13.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4138|  13.8k|                PyStackRef_XCLOSE(value);
  |  | 4139|  13.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4140|  13.8k|            }
  |  | 4141|       |            // _CHECK_PERIODIC_AT_END
  |  | 4142|  13.8k|            {
  |  | 4143|  13.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4143:17): [True: 13.8k, False: 0]
  |  |  ------------------
  |  | 4144|  13.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4145|  13.8k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4146|  13.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4147|  13.8k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4147:21): [True: 0, False: 13.8k]
  |  |  ------------------
  |  | 4148|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4149|      0|                }
  |  | 4150|  13.8k|            }
  |  | 4151|  13.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  13.8k|    { \
  |  |  |  |  201|  13.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  13.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  13.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  13.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  13.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  13.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  13.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  13.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 13.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  13.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  13.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  13.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  13.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  13.8k|    }
  |  |  ------------------
  |  | 4152|  13.8k|        }
  |  | 4153|       |
  |  | 4154|    933|        TARGET(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|    933|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4155|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4156|       |            int opcode = CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS;
  |  | 4157|       |            (void)(opcode);
  |  | 4158|       |            #endif
  |  | 4159|    933|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4160|    933|            (void)this_instr;
  |  | 4161|    933|            frame->instr_ptr = next_instr;
  |  | 4162|    933|            next_instr += 4;
  |  | 4163|    933|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|    933|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4164|    933|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4165|    933|            _PyStackRef callable;
  |  | 4166|    933|            _PyStackRef self_or_null;
  |  | 4167|    933|            _PyStackRef *args;
  |  | 4168|    933|            _PyStackRef value;
  |  | 4169|       |            /* Skip 1 cache entry */
  |  | 4170|       |            /* Skip 2 cache entries */
  |  | 4171|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 4172|    933|            {
  |  | 4173|    933|                args = &stack_pointer[-oparg];
  |  | 4174|    933|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4175|    933|                callable = stack_pointer[-2 - oparg];
  |  | 4176|    933|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4177|    933|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4178|    933|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|    933|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4178:21): [True: 0, False: 933]
  |  |  ------------------
  |  | 4179|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4180|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4180:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4181|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4182|      0|                }
  |  | 4183|    933|                if ((method->d_method->ml_flags & _Py_METH_CALL_FLAGS) !=
  |  |  ------------------
  |  |  |  |   17|    933|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|    933|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|    933|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|    933|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|    933|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|    933|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|    933|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    933|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4183:21): [True: 0, False: 933]
  |  |  ------------------
  |  | 4184|    933|                    (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|    933|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                                   (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|    933|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  | 4185|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4186|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4186:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4187|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4188|      0|                }
  |  | 4189|    933|                int total_args = oparg;
  |  | 4190|    933|                _PyStackRef *arguments = args;
  |  | 4191|    933|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    933|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    933|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    933|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4191:21): [True: 933, False: 0]
  |  |  ------------------
  |  | 4192|    933|                    arguments--;
  |  | 4193|    933|                    total_args++;
  |  | 4194|    933|                }
  |  | 4195|    933|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (4195:21): [True: 0, False: 933]
  |  |  ------------------
  |  | 4196|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4197|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4197:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4198|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4199|      0|                }
  |  | 4200|    933|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4201|    933|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|    933|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4201:21): [True: 0, False: 933]
  |  |  ------------------
  |  | 4202|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4203|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4203:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4204|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4205|      0|                }
  |  | 4206|    933|            }
  |  | 4207|       |            // _CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 4208|    933|            {
  |  | 4209|    933|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4210|    933|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4211|    933|                int total_args = oparg;
  |  | 4212|    933|                _PyStackRef *arguments = args;
  |  | 4213|    933|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    933|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    933|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    933|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4213:21): [True: 933, False: 0]
  |  |  ------------------
  |  | 4214|    933|                    arguments--;
  |  | 4215|    933|                    total_args++;
  |  | 4216|    933|                }
  |  | 4217|    933|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4218|    933|                assert(self != NULL);
  |  |  ------------------
  |  |  |  Branch (4218:17): [True: 933, False: 0]
  |  |  ------------------
  |  | 4219|    933|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    933|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4220|    933|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4221|    933|                _PyFrame_StackPointerValidate(frame);
  |  | 4222|    933|                PyCFunctionFastWithKeywords cfunc = _PyCFunctionFastWithKeywords_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   62|    933|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    933|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4223|    933|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4224|    933|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4224:17): [True: 933, False: 0]
  |  |  ------------------
  |  | 4225|    933|                _PyFrame_StackPointerValidate(frame);
  |  | 4226|    933|                PyObject *res_o = _PyCallMethodDescriptorFastWithKeywords_StackRef(
  |  | 4227|    933|                    callable,
  |  | 4228|    933|                    cfunc,
  |  | 4229|    933|                    self,
  |  | 4230|    933|                    arguments,
  |  | 4231|    933|                    total_args
  |  | 4232|    933|                );
  |  | 4233|    933|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4234|    933|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4234:21): [True: 0, False: 933]
  |  |  ------------------
  |  | 4235|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4236|      0|                }
  |  | 4237|    933|                _PyStackRef temp = callable;
  |  | 4238|    933|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4239|    933|                stack_pointer[-2 - oparg] = callable;
  |  | 4240|    933|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4240:17): [True: 933, False: 0]
  |  |  ------------------
  |  | 4241|    933|                _PyFrame_StackPointerValidate(frame);
  |  | 4242|    933|                PyStackRef_CLOSE(temp);
  |  | 4243|    933|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4244|    933|            }
  |  | 4245|       |            // _POP_TOP_OPARG
  |  | 4246|      0|            {
  |  | 4247|    933|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4247:17): [True: 933, False: 0]
  |  |  ------------------
  |  | 4248|    933|                _PyFrame_StackPointerValidate(frame);
  |  | 4249|    933|                _PyStackRef_CloseStack(args, oparg);
  |  | 4250|    933|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4251|    933|            }
  |  | 4252|       |            // _POP_TOP
  |  | 4253|      0|            {
  |  | 4254|    933|                value = self_or_null;
  |  | 4255|    933|                stack_pointer += -1 - oparg;
  |  | 4256|    933|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    933|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4257|    933|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4258|    933|                _PyFrame_StackPointerValidate(frame);
  |  | 4259|    933|                PyStackRef_XCLOSE(value);
  |  | 4260|    933|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4261|    933|            }
  |  | 4262|       |            // _CHECK_PERIODIC_AT_END
  |  | 4263|    933|            {
  |  | 4264|    933|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4264:17): [True: 933, False: 0]
  |  |  ------------------
  |  | 4265|    933|                _PyFrame_StackPointerValidate(frame);
  |  | 4266|    933|                int err = check_periodics_at_end(tstate, frame);
  |  | 4267|    933|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4268|    933|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4268:21): [True: 0, False: 933]
  |  |  ------------------
  |  | 4269|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4270|      0|                }
  |  | 4271|    933|            }
  |  | 4272|    933|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    933|    { \
  |  |  |  |  201|    933|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    933|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    933|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    933|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    933|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    933|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    933|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    933|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 933]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    933|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    933|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    933|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    933|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    933|    }
  |  |  ------------------
  |  | 4273|    933|        }
  |  | 4274|       |
  |  | 4275|  1.63k|        TARGET(CALL_METHOD_DESCRIPTOR_NOARGS) {
  |  |  ------------------
  |  |  |  |  132|  1.63k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4276|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4277|       |            int opcode = CALL_METHOD_DESCRIPTOR_NOARGS;
  |  | 4278|       |            (void)(opcode);
  |  | 4279|       |            #endif
  |  | 4280|  1.63k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4281|  1.63k|            (void)this_instr;
  |  | 4282|  1.63k|            frame->instr_ptr = next_instr;
  |  | 4283|  1.63k|            next_instr += 4;
  |  | 4284|  1.63k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_NOARGS);
  |  |  ------------------
  |  |  |  |   71|  1.63k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4285|  1.63k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4286|  1.63k|            _PyStackRef callable;
  |  | 4287|  1.63k|            _PyStackRef self_or_null;
  |  | 4288|  1.63k|            _PyStackRef *args;
  |  | 4289|  1.63k|            _PyStackRef res;
  |  | 4290|  1.63k|            _PyStackRef c;
  |  | 4291|  1.63k|            _PyStackRef s;
  |  | 4292|  1.63k|            _PyStackRef value;
  |  | 4293|       |            /* Skip 1 cache entry */
  |  | 4294|       |            /* Skip 2 cache entries */
  |  | 4295|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_NOARGS
  |  | 4296|  1.63k|            {
  |  | 4297|  1.63k|                args = &stack_pointer[-oparg];
  |  | 4298|  1.63k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4299|  1.63k|                callable = stack_pointer[-2 - oparg];
  |  | 4300|  1.63k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4301|  1.63k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4302|  1.63k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  1.63k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4302:21): [True: 0, False: 1.63k]
  |  |  ------------------
  |  | 4303|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4304|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4304:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4305|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4306|      0|                }
  |  | 4307|  1.63k|                if ((method->d_method->ml_flags & _Py_METH_CALL_FLAGS) !=
  |  |  ------------------
  |  |  |  |   17|  1.63k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|  1.63k|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|  1.63k|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  1.63k|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|  1.63k|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|  1.63k|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|  1.63k|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.63k|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4307:21): [True: 0, False: 1.63k]
  |  |  ------------------
  |  | 4308|  1.63k|                    METH_NOARGS) {
  |  |  ------------------
  |  |  |  |   98|  1.63k|#define METH_NOARGS   0x0004
  |  |  ------------------
  |  | 4309|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4310|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4310:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4311|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4312|      0|                }
  |  | 4313|  1.63k|                int total_args = oparg;
  |  | 4314|  1.63k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.63k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.63k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.63k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4314:21): [True: 1.63k, False: 0]
  |  |  ------------------
  |  | 4315|  1.63k|                    total_args++;
  |  | 4316|  1.63k|                }
  |  | 4317|  1.63k|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (4317:21): [True: 0, False: 1.63k]
  |  |  ------------------
  |  | 4318|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4319|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4319:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4320|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4321|      0|                }
  |  | 4322|  1.63k|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4323|  1.63k|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|  1.63k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.63k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.63k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.63k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4324|  1.63k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  1.63k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4324:21): [True: 100, False: 1.53k]
  |  |  ------------------
  |  | 4325|    100|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    100|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4326|    100|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4326:21): [True: 100, False: 0]
  |  |  ------------------
  |  | 4327|    100|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    100|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4328|      0|                }
  |  | 4329|  1.63k|            }
  |  | 4330|       |            // _CHECK_RECURSION_LIMIT
  |  | 4331|  1.53k|            {
  |  | 4332|  1.53k|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4332:21): [True: 0, False: 1.53k]
  |  |  ------------------
  |  | 4333|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4334|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4334:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4335|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4336|      0|                }
  |  | 4337|  1.53k|            }
  |  | 4338|       |            // _CALL_METHOD_DESCRIPTOR_NOARGS
  |  | 4339|  1.53k|            {
  |  | 4340|  1.53k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4341|  1.53k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4342|  1.53k|                assert(oparg == 1 || !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (4342:17): [True: 0, False: 1.53k]
  |  |  |  Branch (4342:17): [True: 1.53k, False: 0]
  |  |  ------------------
  |  | 4343|  1.53k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.53k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.53k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.53k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4343:21): [True: 1.53k, False: 0]
  |  |  ------------------
  |  | 4344|  1.53k|                    args--;
  |  | 4345|  1.53k|                }
  |  | 4346|  1.53k|                _PyStackRef self_stackref = args[0];
  |  | 4347|  1.53k|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_stackref);
  |  | 4348|  1.53k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.53k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4349|  1.53k|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4350|  1.53k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4351|  1.53k|                _PyFrame_StackPointerValidate(frame);
  |  | 4352|  1.53k|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, NULL);
  |  |  ------------------
  |  |  |  |   61|  1.53k|    (meth)((self), (args))
  |  |  ------------------
  |  | 4353|  1.53k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4354|  1.53k|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4355|  1.53k|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (4355:17): [True: 1.53k, False: 0]
  |  |  ------------------
  |  | 4356|  1.53k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4356:21): [True: 0, False: 1.53k]
  |  |  ------------------
  |  | 4357|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4358|      0|                }
  |  | 4359|  1.53k|                c = callable;
  |  | 4360|  1.53k|                s = args[0];
  |  | 4361|  1.53k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4362|  1.53k|            }
  |  | 4363|       |            // _POP_TOP
  |  | 4364|      0|            {
  |  | 4365|  1.53k|                value = s;
  |  | 4366|  1.53k|                stack_pointer[-2 - oparg] = res;
  |  | 4367|  1.53k|                stack_pointer[-1 - oparg] = c;
  |  | 4368|  1.53k|                stack_pointer += -oparg;
  |  | 4369|  1.53k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.53k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4370|  1.53k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4371|  1.53k|                _PyFrame_StackPointerValidate(frame);
  |  | 4372|  1.53k|                PyStackRef_XCLOSE(value);
  |  | 4373|  1.53k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4374|  1.53k|            }
  |  | 4375|       |            // _POP_TOP
  |  | 4376|  1.53k|            {
  |  | 4377|  1.53k|                value = c;
  |  | 4378|  1.53k|                stack_pointer += -1;
  |  | 4379|  1.53k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.53k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4380|  1.53k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4381|  1.53k|                _PyFrame_StackPointerValidate(frame);
  |  | 4382|  1.53k|                PyStackRef_XCLOSE(value);
  |  | 4383|  1.53k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4384|  1.53k|            }
  |  | 4385|       |            // _CHECK_PERIODIC_AT_END
  |  | 4386|  1.53k|            {
  |  | 4387|  1.53k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4387:17): [True: 1.53k, False: 0]
  |  |  ------------------
  |  | 4388|  1.53k|                _PyFrame_StackPointerValidate(frame);
  |  | 4389|  1.53k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4390|  1.53k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4391|  1.53k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4391:21): [True: 0, False: 1.53k]
  |  |  ------------------
  |  | 4392|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4393|      0|                }
  |  | 4394|  1.53k|            }
  |  | 4395|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  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|    }
  |  |  ------------------
  |  | 4396|  1.53k|        }
  |  | 4397|       |
  |  | 4398|  6.77k|        TARGET(CALL_METHOD_DESCRIPTOR_O) {
  |  |  ------------------
  |  |  |  |  132|  6.77k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4399|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4400|       |            int opcode = CALL_METHOD_DESCRIPTOR_O;
  |  | 4401|       |            (void)(opcode);
  |  | 4402|       |            #endif
  |  | 4403|  6.77k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4404|  6.77k|            (void)this_instr;
  |  | 4405|  6.77k|            frame->instr_ptr = next_instr;
  |  | 4406|  6.77k|            next_instr += 4;
  |  | 4407|  6.77k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_O);
  |  |  ------------------
  |  |  |  |   71|  6.77k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4408|  6.77k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4409|  6.77k|            _PyStackRef callable;
  |  | 4410|  6.77k|            _PyStackRef self_or_null;
  |  | 4411|  6.77k|            _PyStackRef *args;
  |  | 4412|  6.77k|            _PyStackRef res;
  |  | 4413|  6.77k|            _PyStackRef c;
  |  | 4414|  6.77k|            _PyStackRef s;
  |  | 4415|  6.77k|            _PyStackRef a;
  |  | 4416|  6.77k|            _PyStackRef value;
  |  | 4417|       |            /* Skip 1 cache entry */
  |  | 4418|       |            /* Skip 2 cache entries */
  |  | 4419|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_O
  |  | 4420|  6.77k|            {
  |  | 4421|  6.77k|                args = &stack_pointer[-oparg];
  |  | 4422|  6.77k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4423|  6.77k|                callable = stack_pointer[-2 - oparg];
  |  | 4424|  6.77k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4425|  6.77k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4426|  6.77k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  6.77k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4426:21): [True: 0, False: 6.77k]
  |  |  ------------------
  |  | 4427|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4428|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4428:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4429|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4430|      0|                }
  |  | 4431|  6.77k|                if ((method->d_method->ml_flags & _Py_METH_CALL_FLAGS) !=
  |  |  ------------------
  |  |  |  |   17|  6.77k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|  6.77k|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|  6.77k|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  6.77k|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|  6.77k|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|  6.77k|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|  6.77k|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.77k|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4431:21): [True: 0, False: 6.77k]
  |  |  ------------------
  |  | 4432|  6.77k|                    METH_O) {
  |  |  ------------------
  |  |  |  |   99|  6.77k|#define METH_O        0x0008
  |  |  ------------------
  |  | 4433|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4434|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4434:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4435|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4436|      0|                }
  |  | 4437|  6.77k|                int total_args = oparg;
  |  | 4438|  6.77k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  6.77k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  6.77k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  6.77k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4438:21): [True: 6.77k, False: 0]
  |  |  ------------------
  |  | 4439|  6.77k|                    total_args++;
  |  | 4440|  6.77k|                }
  |  | 4441|  6.77k|                if (total_args != 2) {
  |  |  ------------------
  |  |  |  Branch (4441:21): [True: 0, False: 6.77k]
  |  |  ------------------
  |  | 4442|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4443|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4443:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4444|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4445|      0|                }
  |  | 4446|  6.77k|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4447|  6.77k|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|  6.77k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  6.77k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  6.77k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 6.77k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4448|  6.77k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  6.77k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4448:21): [True: 1.01k, False: 5.75k]
  |  |  ------------------
  |  | 4449|  1.01k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|  1.01k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4450|  1.01k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4450:21): [True: 1.01k, False: 0]
  |  |  ------------------
  |  | 4451|  1.01k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  1.01k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4452|      0|                }
  |  | 4453|  6.77k|            }
  |  | 4454|       |            // _CHECK_RECURSION_LIMIT
  |  | 4455|  5.75k|            {
  |  | 4456|  5.75k|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4456:21): [True: 0, False: 5.75k]
  |  |  ------------------
  |  | 4457|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4458|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4458:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4459|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4460|      0|                }
  |  | 4461|  5.75k|            }
  |  | 4462|       |            // _CALL_METHOD_DESCRIPTOR_O
  |  | 4463|  5.75k|            {
  |  | 4464|  5.75k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4465|  5.75k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4466|  5.75k|                _PyStackRef *arguments = args;
  |  | 4467|  5.75k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  5.75k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  5.75k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  5.75k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4467:21): [True: 5.75k, False: 0]
  |  |  ------------------
  |  | 4468|  5.75k|                    arguments--;
  |  | 4469|  5.75k|                }
  |  | 4470|  5.75k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  5.75k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4471|  5.75k|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4472|  5.75k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4473|  5.75k|                PyObject *arg = PyStackRef_AsPyObjectBorrow(arguments[1]);
  |  | 4474|  5.75k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4475|  5.75k|                _PyFrame_StackPointerValidate(frame);
  |  | 4476|  5.75k|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, arg);
  |  |  ------------------
  |  |  |  |   61|  5.75k|    (meth)((self), (args))
  |  |  ------------------
  |  | 4477|  5.75k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4478|  5.75k|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4479|  5.75k|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (4479:17): [True: 5.75k, False: 0]
  |  |  ------------------
  |  | 4480|  5.75k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4480:21): [True: 0, False: 5.75k]
  |  |  ------------------
  |  | 4481|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4482|      0|                }
  |  | 4483|  5.75k|                c = callable;
  |  | 4484|  5.75k|                s = arguments[0];
  |  | 4485|  5.75k|                a = arguments[1];
  |  | 4486|  5.75k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4487|  5.75k|            }
  |  | 4488|       |            // _POP_TOP
  |  | 4489|      0|            {
  |  | 4490|  5.75k|                value = a;
  |  | 4491|  5.75k|                stack_pointer[-2 - oparg] = res;
  |  | 4492|  5.75k|                stack_pointer[-1 - oparg] = c;
  |  | 4493|  5.75k|                stack_pointer[-oparg] = s;
  |  | 4494|  5.75k|                stack_pointer += 1 - oparg;
  |  | 4495|  5.75k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.75k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4496|  5.75k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4497|  5.75k|                _PyFrame_StackPointerValidate(frame);
  |  | 4498|  5.75k|                PyStackRef_XCLOSE(value);
  |  | 4499|  5.75k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4500|  5.75k|            }
  |  | 4501|       |            // _POP_TOP
  |  | 4502|  5.75k|            {
  |  | 4503|  5.75k|                value = s;
  |  | 4504|  5.75k|                stack_pointer += -1;
  |  | 4505|  5.75k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.75k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4506|  5.75k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4507|  5.75k|                _PyFrame_StackPointerValidate(frame);
  |  | 4508|  5.75k|                PyStackRef_XCLOSE(value);
  |  | 4509|  5.75k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4510|  5.75k|            }
  |  | 4511|       |            // _POP_TOP
  |  | 4512|  5.75k|            {
  |  | 4513|  5.75k|                value = c;
  |  | 4514|  5.75k|                stack_pointer += -1;
  |  | 4515|  5.75k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.75k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4516|  5.75k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4517|  5.75k|                _PyFrame_StackPointerValidate(frame);
  |  | 4518|  5.75k|                PyStackRef_XCLOSE(value);
  |  | 4519|  5.75k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4520|  5.75k|            }
  |  | 4521|       |            // _CHECK_PERIODIC_AT_END
  |  | 4522|  5.75k|            {
  |  | 4523|  5.75k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4523:17): [True: 5.75k, False: 0]
  |  |  ------------------
  |  | 4524|  5.75k|                _PyFrame_StackPointerValidate(frame);
  |  | 4525|  5.75k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4526|  5.75k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4527|  5.75k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4527:21): [True: 0, False: 5.75k]
  |  |  ------------------
  |  | 4528|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4529|      0|                }
  |  | 4530|  5.75k|            }
  |  | 4531|  5.75k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.75k|    { \
  |  |  |  |  201|  5.75k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.75k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.75k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.75k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  5.75k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.75k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.75k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.75k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.75k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.75k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.75k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.75k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.75k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.75k|    }
  |  |  ------------------
  |  | 4532|  5.75k|        }
  |  | 4533|       |
  |  | 4534|  10.9k|        TARGET(CALL_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  10.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4535|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4536|       |            int opcode = CALL_NON_PY_GENERAL;
  |  | 4537|       |            (void)(opcode);
  |  | 4538|       |            #endif
  |  | 4539|  10.9k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4540|  10.9k|            (void)this_instr;
  |  | 4541|  10.9k|            frame->instr_ptr = next_instr;
  |  | 4542|  10.9k|            next_instr += 4;
  |  | 4543|  10.9k|            INSTRUCTION_STATS(CALL_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  10.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4544|  10.9k|            opcode = CALL_NON_PY_GENERAL;
  |  |  ------------------
  |  |  |  |  165|  10.9k|#define CALL_NON_PY_GENERAL                    163
  |  |  ------------------
  |  | 4545|  10.9k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4546|  10.9k|            _PyStackRef callable;
  |  | 4547|  10.9k|            _PyStackRef self_or_null;
  |  | 4548|  10.9k|            _PyStackRef *args;
  |  | 4549|  10.9k|            _PyStackRef res;
  |  | 4550|       |            /* Skip 1 cache entry */
  |  | 4551|       |            /* Skip 2 cache entries */
  |  | 4552|       |            // _CHECK_IS_NOT_PY_CALLABLE
  |  | 4553|  10.9k|            {
  |  | 4554|  10.9k|                callable = stack_pointer[-2 - oparg];
  |  | 4555|  10.9k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4556|  10.9k|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  10.9k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  10.9k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  10.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 10.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4557|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4558|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4558:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4559|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4560|      0|                }
  |  | 4561|  10.9k|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|  10.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4561:21): [True: 0, False: 10.9k]
  |  |  ------------------
  |  | 4562|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4563|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4563:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4564|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4565|      0|                }
  |  | 4566|  10.9k|            }
  |  | 4567|       |            // _CALL_NON_PY_GENERAL
  |  | 4568|  10.9k|            {
  |  | 4569|  10.9k|                args = &stack_pointer[-oparg];
  |  | 4570|  10.9k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4571|  10.9k|                #if TIER_ONE
  |  | 4572|  10.9k|                assert(opcode != INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  Branch (4572:17): [True: 10.9k, False: 0]
  |  |  ------------------
  |  | 4573|  10.9k|                #endif
  |  | 4574|  10.9k|                int total_args = oparg;
  |  | 4575|  10.9k|                _PyStackRef *arguments = args;
  |  | 4576|  10.9k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  10.9k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  10.9k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  10.9k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4576:21): [True: 622, False: 10.3k]
  |  |  ------------------
  |  | 4577|    622|                    arguments--;
  |  | 4578|    622|                    total_args++;
  |  | 4579|    622|                }
  |  | 4580|  10.9k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4581|  10.9k|                _PyFrame_StackPointerValidate(frame);
  |  | 4582|  10.9k|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 4583|  10.9k|                    callable,
  |  | 4584|  10.9k|                    arguments,
  |  | 4585|  10.9k|                    total_args,
  |  | 4586|  10.9k|                    PyStackRef_NULL);
  |  | 4587|  10.9k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4588|  10.9k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4588:21): [True: 0, False: 10.9k]
  |  |  ------------------
  |  | 4589|      0|                    stack_pointer += -2 - oparg;
  |  | 4590|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4591|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4592|      0|                }
  |  | 4593|  10.9k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4594|  10.9k|            }
  |  | 4595|       |            // _CHECK_PERIODIC_AT_END
  |  | 4596|      0|            {
  |  | 4597|  10.9k|                stack_pointer[-2 - oparg] = res;
  |  | 4598|  10.9k|                stack_pointer += -1 - oparg;
  |  | 4599|  10.9k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  10.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4600|  10.9k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4601|  10.9k|                _PyFrame_StackPointerValidate(frame);
  |  | 4602|  10.9k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4603|  10.9k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4604|  10.9k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4604:21): [True: 0, False: 10.9k]
  |  |  ------------------
  |  | 4605|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4606|      0|                }
  |  | 4607|  10.9k|            }
  |  | 4608|  10.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.9k|    { \
  |  |  |  |  201|  10.9k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  10.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  10.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  10.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  10.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  10.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  10.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  10.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 10.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.9k|    }
  |  |  ------------------
  |  | 4609|  10.9k|        }
  |  | 4610|       |
  |  | 4611|  11.9k|        TARGET(CALL_PY_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|  11.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4612|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4613|       |            int opcode = CALL_PY_EXACT_ARGS;
  |  | 4614|       |            (void)(opcode);
  |  | 4615|       |            #endif
  |  | 4616|  11.9k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4617|  11.9k|            (void)this_instr;
  |  | 4618|  11.9k|            frame->instr_ptr = next_instr;
  |  | 4619|  11.9k|            next_instr += 4;
  |  | 4620|  11.9k|            INSTRUCTION_STATS(CALL_PY_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|  11.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4621|  11.9k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4622|  11.9k|            _PyStackRef callable;
  |  | 4623|  11.9k|            _PyStackRef self_or_null;
  |  | 4624|  11.9k|            _PyStackRef *args;
  |  | 4625|  11.9k|            _PyStackRef new_frame;
  |  | 4626|       |            /* Skip 1 cache entry */
  |  | 4627|       |            // _CHECK_PEP_523
  |  | 4628|  11.9k|            {
  |  | 4629|  11.9k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  11.9k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 11.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4630|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4631|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4631:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4632|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4633|      0|                }
  |  | 4634|  11.9k|            }
  |  | 4635|       |            // _CHECK_FUNCTION_VERSION
  |  | 4636|  11.9k|            {
  |  | 4637|  11.9k|                callable = stack_pointer[-2 - oparg];
  |  | 4638|  11.9k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4639|  11.9k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4640|  11.9k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  11.9k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  11.9k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  11.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  11.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4640:21): [True: 511, False: 11.4k]
  |  |  ------------------
  |  | 4641|    511|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    511|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4642|    511|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4642:21): [True: 511, False: 0]
  |  |  ------------------
  |  | 4643|    511|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    511|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4644|      0|                }
  |  | 4645|  11.4k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4646|  11.4k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4646:21): [True: 275, False: 11.1k]
  |  |  ------------------
  |  | 4647|    275|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    275|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4648|    275|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4648:21): [True: 275, False: 0]
  |  |  ------------------
  |  | 4649|    275|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    275|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4650|      0|                }
  |  | 4651|  11.4k|            }
  |  | 4652|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 4653|  11.1k|            {
  |  | 4654|  11.1k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4655|  11.1k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4656|  11.1k|                assert(PyFunction_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (4656:17): [True: 11.1k, False: 0]
  |  |  ------------------
  |  | 4657|  11.1k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4658|  11.1k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4659|  11.1k|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  482|  11.1k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  11.1k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  11.1k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4659:21): [True: 0, False: 11.1k]
  |  |  ------------------
  |  | 4660|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4661|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4661:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4662|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4663|      0|                }
  |  | 4664|  11.1k|            }
  |  | 4665|       |            // _CHECK_STACK_SPACE
  |  | 4666|  11.1k|            {
  |  | 4667|  11.1k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4668|  11.1k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4669|  11.1k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4670|  11.1k|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (4670:21): [True: 0, False: 11.1k]
  |  |  ------------------
  |  | 4671|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4672|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4672:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4673|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4674|      0|                }
  |  | 4675|  11.1k|            }
  |  | 4676|       |            // _CHECK_RECURSION_REMAINING
  |  | 4677|  11.1k|            {
  |  | 4678|  11.1k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4678:21): [True: 0, False: 11.1k]
  |  |  ------------------
  |  | 4679|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4680|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4680:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4681|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4682|      0|                }
  |  | 4683|  11.1k|            }
  |  | 4684|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 4685|  11.1k|            {
  |  | 4686|  11.1k|                args = &stack_pointer[-oparg];
  |  | 4687|  11.1k|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|  11.1k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  11.1k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  11.1k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4688|  11.1k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  11.1k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4689|  11.1k|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 4690|  11.1k|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 4691|  11.1k|                pushed_frame->localsplus[0] = self_or_null;
  |  | 4692|  24.3k|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (4692:33): [True: 13.2k, False: 11.1k]
  |  |  ------------------
  |  | 4693|  13.2k|                    first_non_self_local[i] = args[i];
  |  | 4694|  13.2k|                }
  |  | 4695|  11.1k|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 4696|  11.1k|            }
  |  | 4697|       |            // _SAVE_RETURN_OFFSET
  |  | 4698|  11.1k|            {
  |  | 4699|  11.1k|                #if TIER_ONE
  |  | 4700|  11.1k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4701|  11.1k|                #endif
  |  | 4702|       |                #if TIER_TWO
  |  | 4703|       |                frame->return_offset = oparg;
  |  | 4704|       |                #endif
  |  | 4705|  11.1k|            }
  |  | 4706|       |            // _PUSH_FRAME
  |  | 4707|  11.1k|            {
  |  | 4708|  11.1k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (4708:17): [True: 11.1k, False: 0]
  |  |  ------------------
  |  | 4709|  11.1k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4710|  11.1k|                stack_pointer += -2 - oparg;
  |  | 4711|  11.1k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  11.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4712|  11.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4713|  11.1k|                _PyFrame_StackPointerValidate(frame);
  |  | 4714|  11.1k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (4714:17): [True: 11.1k, False: 0]
  |  |  |  Branch (4714:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4715|  11.1k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  11.1k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4716|  11.1k|                frame = tstate->current_frame = temp;
  |  | 4717|  11.1k|                tstate->py_recursion_remaining--;
  |  | 4718|  11.1k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4719|  11.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4720|  11.1k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  11.1k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  11.1k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  11.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 11.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4721|       |                #ifdef Py_DEBUG
  |  | 4722|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 4723|       |                #endif
  |  | 4724|  11.1k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  11.1k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4725|  11.1k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  11.1k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4726|  11.1k|            }
  |  | 4727|  11.1k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.1k|    { \
  |  |  |  |  201|  11.1k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  11.1k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  11.1k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  11.1k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  11.1k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  11.1k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  11.1k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  11.1k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 11.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  11.1k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.1k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  11.1k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  11.1k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  11.1k|    }
  |  |  ------------------
  |  | 4728|  11.1k|        }
  |  | 4729|       |
  |  | 4730|  5.82k|        TARGET(CALL_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  5.82k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4731|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4732|       |            int opcode = CALL_PY_GENERAL;
  |  | 4733|       |            (void)(opcode);
  |  | 4734|       |            #endif
  |  | 4735|  5.82k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4736|  5.82k|            (void)this_instr;
  |  | 4737|  5.82k|            frame->instr_ptr = next_instr;
  |  | 4738|  5.82k|            next_instr += 4;
  |  | 4739|  5.82k|            INSTRUCTION_STATS(CALL_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  5.82k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4740|  5.82k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4741|  5.82k|            _PyStackRef callable;
  |  | 4742|  5.82k|            _PyStackRef self_or_null;
  |  | 4743|  5.82k|            _PyStackRef *args;
  |  | 4744|  5.82k|            _PyStackRef new_frame;
  |  | 4745|       |            /* Skip 1 cache entry */
  |  | 4746|       |            // _CHECK_PEP_523
  |  | 4747|  5.82k|            {
  |  | 4748|  5.82k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  5.82k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 5.82k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4749|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4750|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4750:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4751|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4752|      0|                }
  |  | 4753|  5.82k|            }
  |  | 4754|       |            // _CHECK_FUNCTION_VERSION
  |  | 4755|  5.82k|            {
  |  | 4756|  5.82k|                callable = stack_pointer[-2 - oparg];
  |  | 4757|  5.82k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4758|  5.82k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4759|  5.82k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  5.82k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  5.82k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4759:21): [True: 0, False: 5.82k]
  |  |  ------------------
  |  | 4760|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4761|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4761:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4762|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4763|      0|                }
  |  | 4764|  5.82k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4765|  5.82k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4765:21): [True: 0, False: 5.82k]
  |  |  ------------------
  |  | 4766|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4767|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4767:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4768|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4769|      0|                }
  |  | 4770|  5.82k|            }
  |  | 4771|       |            // _CHECK_RECURSION_REMAINING
  |  | 4772|  5.82k|            {
  |  | 4773|  5.82k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4773:21): [True: 0, False: 5.82k]
  |  |  ------------------
  |  | 4774|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4775|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4775:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4776|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4777|      0|                }
  |  | 4778|  5.82k|            }
  |  | 4779|       |            // _PY_FRAME_GENERAL
  |  | 4780|  5.82k|            {
  |  | 4781|  5.82k|                args = &stack_pointer[-oparg];
  |  | 4782|  5.82k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4783|  5.82k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4784|  5.82k|                int total_args = oparg;
  |  | 4785|  5.82k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  5.82k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  5.82k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  5.82k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4785:21): [True: 593, False: 5.23k]
  |  |  ------------------
  |  | 4786|    593|                    args--;
  |  | 4787|    593|                    total_args++;
  |  | 4788|    593|                }
  |  | 4789|  5.82k|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (4789:17): [True: 5.82k, False: 0]
  |  |  ------------------
  |  | 4790|  5.82k|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  5.82k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4791|  5.82k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|  5.82k|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                               PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4791:36): [True: 5.82k, False: 0]
  |  |  ------------------
  |  | 4792|  5.82k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4793|  5.82k|                _PyFrame_StackPointerValidate(frame);
  |  | 4794|  5.82k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 4795|  5.82k|                    tstate, callable, locals,
  |  | 4796|  5.82k|                    args, total_args, NULL, frame
  |  | 4797|  5.82k|                );
  |  | 4798|  5.82k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4799|  5.82k|                stack_pointer += -2 - oparg;
  |  | 4800|  5.82k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.82k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4801|  5.82k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (4801:21): [True: 0, False: 5.82k]
  |  |  ------------------
  |  | 4802|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4803|      0|                }
  |  | 4804|  5.82k|                new_frame = PyStackRef_Wrap(temp);
  |  | 4805|  5.82k|            }
  |  | 4806|       |            // _SAVE_RETURN_OFFSET
  |  | 4807|      0|            {
  |  | 4808|  5.82k|                #if TIER_ONE
  |  | 4809|  5.82k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4810|  5.82k|                #endif
  |  | 4811|       |                #if TIER_TWO
  |  | 4812|       |                frame->return_offset = oparg;
  |  | 4813|       |                #endif
  |  | 4814|  5.82k|            }
  |  | 4815|       |            // _PUSH_FRAME
  |  | 4816|  5.82k|            {
  |  | 4817|  5.82k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (4817:17): [True: 5.82k, False: 0]
  |  |  ------------------
  |  | 4818|  5.82k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4819|  5.82k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4820|  5.82k|                _PyFrame_StackPointerValidate(frame);
  |  | 4821|  5.82k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (4821:17): [True: 5.82k, False: 0]
  |  |  |  Branch (4821:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4822|  5.82k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  5.82k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4823|  5.82k|                frame = tstate->current_frame = temp;
  |  | 4824|  5.82k|                tstate->py_recursion_remaining--;
  |  | 4825|  5.82k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4826|  5.82k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4827|  5.82k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  5.82k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  5.82k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  5.82k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 5.82k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4828|       |                #ifdef Py_DEBUG
  |  | 4829|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 4830|       |                #endif
  |  | 4831|  5.82k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  5.82k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4832|  5.82k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  5.82k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4833|  5.82k|            }
  |  | 4834|  5.82k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.82k|    { \
  |  |  |  |  201|  5.82k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.82k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.82k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.82k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  5.82k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.82k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.82k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.82k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.82k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.82k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.82k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.82k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.82k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.82k|    }
  |  |  ------------------
  |  | 4835|  5.82k|        }
  |  | 4836|       |
  |  | 4837|    186|        TARGET(CALL_STR_1) {
  |  |  ------------------
  |  |  |  |  132|    186|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4838|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4839|       |            int opcode = CALL_STR_1;
  |  | 4840|       |            (void)(opcode);
  |  | 4841|       |            #endif
  |  | 4842|    186|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4843|    186|            (void)this_instr;
  |  | 4844|    186|            frame->instr_ptr = next_instr;
  |  | 4845|    186|            next_instr += 4;
  |  | 4846|    186|            INSTRUCTION_STATS(CALL_STR_1);
  |  |  ------------------
  |  |  |  |   71|    186|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4847|    186|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4848|    186|            _PyStackRef null;
  |  | 4849|    186|            _PyStackRef callable;
  |  | 4850|    186|            _PyStackRef arg;
  |  | 4851|    186|            _PyStackRef res;
  |  | 4852|    186|            _PyStackRef a;
  |  | 4853|    186|            _PyStackRef value;
  |  | 4854|       |            /* Skip 1 cache entry */
  |  | 4855|       |            /* Skip 2 cache entries */
  |  | 4856|       |            // _GUARD_NOS_NULL
  |  | 4857|    186|            {
  |  | 4858|    186|                null = stack_pointer[-2];
  |  | 4859|    186|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|    186|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    186|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    186|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4859:21): [True: 0, False: 186]
  |  |  ------------------
  |  | 4860|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4861|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4861:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4862|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4863|      0|                }
  |  | 4864|    186|            }
  |  | 4865|       |            // _GUARD_CALLABLE_STR_1
  |  | 4866|    186|            {
  |  | 4867|    186|                callable = stack_pointer[-3];
  |  | 4868|    186|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4869|    186|                if (callable_o != (PyObject *)&PyUnicode_Type) {
  |  |  ------------------
  |  |  |  Branch (4869:21): [True: 0, False: 186]
  |  |  ------------------
  |  | 4870|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4871|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4871:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4872|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4873|      0|                }
  |  | 4874|    186|            }
  |  | 4875|       |            // _CALL_STR_1
  |  | 4876|    186|            {
  |  | 4877|    186|                arg = stack_pointer[-1];
  |  | 4878|    186|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4879|    186|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (4879:17): [True: 186, False: 0]
  |  |  ------------------
  |  | 4880|    186|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    186|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4881|    186|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4882|    186|                _PyFrame_StackPointerValidate(frame);
  |  | 4883|    186|                PyObject *res_o = PyObject_Str(arg_o);
  |  | 4884|    186|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4885|    186|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4885:21): [True: 0, False: 186]
  |  |  ------------------
  |  | 4886|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4887|      0|                }
  |  | 4888|    186|                a = arg;
  |  | 4889|    186|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4890|    186|            }
  |  | 4891|       |            // _POP_TOP
  |  | 4892|      0|            {
  |  | 4893|    186|                value = a;
  |  | 4894|    186|                stack_pointer[-3] = res;
  |  | 4895|    186|                stack_pointer += -2;
  |  | 4896|    186|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    186|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4897|    186|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4898|    186|                _PyFrame_StackPointerValidate(frame);
  |  | 4899|    186|                PyStackRef_XCLOSE(value);
  |  | 4900|    186|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4901|    186|            }
  |  | 4902|       |            // _CHECK_PERIODIC_AT_END
  |  | 4903|    186|            {
  |  | 4904|    186|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4904:17): [True: 186, False: 0]
  |  |  ------------------
  |  | 4905|    186|                _PyFrame_StackPointerValidate(frame);
  |  | 4906|    186|                int err = check_periodics_at_end(tstate, frame);
  |  | 4907|    186|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4908|    186|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4908:21): [True: 0, False: 186]
  |  |  ------------------
  |  | 4909|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4910|      0|                }
  |  | 4911|    186|            }
  |  | 4912|    186|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    186|    { \
  |  |  |  |  201|    186|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    186|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    186|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    186|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    186|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    186|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    186|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    186|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 186]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    186|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    186|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    186|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    186|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    186|    }
  |  |  ------------------
  |  | 4913|    186|        }
  |  | 4914|       |
  |  | 4915|      2|        TARGET(CALL_TUPLE_1) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4916|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4917|       |            int opcode = CALL_TUPLE_1;
  |  | 4918|       |            (void)(opcode);
  |  | 4919|       |            #endif
  |  | 4920|      2|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4921|      2|            (void)this_instr;
  |  | 4922|      2|            frame->instr_ptr = next_instr;
  |  | 4923|      2|            next_instr += 4;
  |  | 4924|      2|            INSTRUCTION_STATS(CALL_TUPLE_1);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4925|      2|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4926|      2|            _PyStackRef null;
  |  | 4927|      2|            _PyStackRef callable;
  |  | 4928|      2|            _PyStackRef arg;
  |  | 4929|      2|            _PyStackRef res;
  |  | 4930|      2|            _PyStackRef a;
  |  | 4931|      2|            _PyStackRef value;
  |  | 4932|       |            /* Skip 1 cache entry */
  |  | 4933|       |            /* Skip 2 cache entries */
  |  | 4934|       |            // _GUARD_NOS_NULL
  |  | 4935|      2|            {
  |  | 4936|      2|                null = stack_pointer[-2];
  |  | 4937|      2|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  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 (4937:21): [True: 0, False: 2]
  |  |  ------------------
  |  | 4938|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4939|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4939:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4940|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4941|      0|                }
  |  | 4942|      2|            }
  |  | 4943|       |            // _GUARD_CALLABLE_TUPLE_1
  |  | 4944|      2|            {
  |  | 4945|      2|                callable = stack_pointer[-3];
  |  | 4946|      2|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4947|      2|                if (callable_o != (PyObject *)&PyTuple_Type) {
  |  |  ------------------
  |  |  |  Branch (4947:21): [True: 0, False: 2]
  |  |  ------------------
  |  | 4948|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4949|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4949:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4950|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4951|      0|                }
  |  | 4952|      2|            }
  |  | 4953|       |            // _CALL_TUPLE_1
  |  | 4954|      2|            {
  |  | 4955|      2|                arg = stack_pointer[-1];
  |  | 4956|      2|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4957|      2|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (4957:17): [True: 2, False: 0]
  |  |  ------------------
  |  | 4958|      2|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|      2|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4959|      2|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4960|      2|                _PyFrame_StackPointerValidate(frame);
  |  | 4961|      2|                PyObject *res_o = PySequence_Tuple(arg_o);
  |  | 4962|      2|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4963|      2|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4963:21): [True: 0, False: 2]
  |  |  ------------------
  |  | 4964|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4965|      0|                }
  |  | 4966|      2|                a = arg;
  |  | 4967|      2|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4968|      2|            }
  |  | 4969|       |            // _POP_TOP
  |  | 4970|      0|            {
  |  | 4971|      2|                value = a;
  |  | 4972|      2|                stack_pointer[-3] = res;
  |  | 4973|      2|                stack_pointer += -2;
  |  | 4974|      2|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      2|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4975|      2|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4976|      2|                _PyFrame_StackPointerValidate(frame);
  |  | 4977|      2|                PyStackRef_XCLOSE(value);
  |  | 4978|      2|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4979|      2|            }
  |  | 4980|       |            // _CHECK_PERIODIC_AT_END
  |  | 4981|      2|            {
  |  | 4982|      2|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4982:17): [True: 2, False: 0]
  |  |  ------------------
  |  | 4983|      2|                _PyFrame_StackPointerValidate(frame);
  |  | 4984|      2|                int err = check_periodics_at_end(tstate, frame);
  |  | 4985|      2|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4986|      2|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4986:21): [True: 0, False: 2]
  |  |  ------------------
  |  | 4987|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4988|      0|                }
  |  | 4989|      2|            }
  |  | 4990|      2|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      2|    { \
  |  |  |  |  201|      2|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      2|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      2|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      2|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      2|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      2|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      2|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      2|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      2|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      2|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      2|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      2|    }
  |  |  ------------------
  |  | 4991|      2|        }
  |  | 4992|       |
  |  | 4993|    152|        TARGET(CALL_TYPE_1) {
  |  |  ------------------
  |  |  |  |  132|    152|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4994|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4995|       |            int opcode = CALL_TYPE_1;
  |  | 4996|       |            (void)(opcode);
  |  | 4997|       |            #endif
  |  | 4998|    152|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4999|    152|            (void)this_instr;
  |  | 5000|    152|            frame->instr_ptr = next_instr;
  |  | 5001|    152|            next_instr += 4;
  |  | 5002|    152|            INSTRUCTION_STATS(CALL_TYPE_1);
  |  |  ------------------
  |  |  |  |   71|    152|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5003|    152|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 5004|    152|            _PyStackRef null;
  |  | 5005|    152|            _PyStackRef callable;
  |  | 5006|    152|            _PyStackRef arg;
  |  | 5007|    152|            _PyStackRef res;
  |  | 5008|    152|            _PyStackRef a;
  |  | 5009|    152|            _PyStackRef value;
  |  | 5010|       |            /* Skip 1 cache entry */
  |  | 5011|       |            /* Skip 2 cache entries */
  |  | 5012|       |            // _GUARD_NOS_NULL
  |  | 5013|    152|            {
  |  | 5014|    152|                null = stack_pointer[-2];
  |  | 5015|    152|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|    152|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    152|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    152|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5015:21): [True: 0, False: 152]
  |  |  ------------------
  |  | 5016|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5017|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (5017:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5018|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5019|      0|                }
  |  | 5020|    152|            }
  |  | 5021|       |            // _GUARD_CALLABLE_TYPE_1
  |  | 5022|    152|            {
  |  | 5023|    152|                callable = stack_pointer[-3];
  |  | 5024|    152|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 5025|    152|                if (callable_o != (PyObject *)&PyType_Type) {
  |  |  ------------------
  |  |  |  Branch (5025:21): [True: 0, False: 152]
  |  |  ------------------
  |  | 5026|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5027|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (5027:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5028|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5029|      0|                }
  |  | 5030|    152|            }
  |  | 5031|       |            // _CALL_TYPE_1
  |  | 5032|    152|            {
  |  | 5033|    152|                arg = stack_pointer[-1];
  |  | 5034|    152|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 5035|    152|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (5035:17): [True: 152, False: 0]
  |  |  ------------------
  |  | 5036|    152|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    152|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5037|    152|                a = arg;
  |  | 5038|    152|                res = PyStackRef_FromPyObjectNew(Py_TYPE(arg_o));
  |  |  ------------------
  |  |  |  |  611|    152|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5039|    152|            }
  |  | 5040|       |            // _POP_TOP
  |  | 5041|      0|            {
  |  | 5042|    152|                value = a;
  |  | 5043|    152|                stack_pointer[-3] = res;
  |  | 5044|    152|                stack_pointer += -2;
  |  | 5045|    152|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    152|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5046|    152|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5047|    152|                _PyFrame_StackPointerValidate(frame);
  |  | 5048|    152|                PyStackRef_XCLOSE(value);
  |  | 5049|    152|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5050|    152|            }
  |  | 5051|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    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|    }
  |  |  ------------------
  |  | 5052|    152|        }
  |  | 5053|       |
  |  | 5054|      0|        TARGET(CHECK_EG_MATCH) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5055|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5056|       |            int opcode = CHECK_EG_MATCH;
  |  | 5057|       |            (void)(opcode);
  |  | 5058|       |            #endif
  |  | 5059|      0|            frame->instr_ptr = next_instr;
  |  | 5060|      0|            next_instr += 1;
  |  | 5061|      0|            INSTRUCTION_STATS(CHECK_EG_MATCH);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5062|      0|            _PyStackRef exc_value_st;
  |  | 5063|      0|            _PyStackRef match_type_st;
  |  | 5064|      0|            _PyStackRef rest;
  |  | 5065|      0|            _PyStackRef match;
  |  | 5066|      0|            match_type_st = stack_pointer[-1];
  |  | 5067|      0|            exc_value_st = stack_pointer[-2];
  |  | 5068|      0|            PyObject *exc_value = PyStackRef_AsPyObjectBorrow(exc_value_st);
  |  | 5069|      0|            PyObject *match_type = PyStackRef_AsPyObjectBorrow(match_type_st);
  |  | 5070|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5071|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5072|      0|            int err = _PyEval_CheckExceptStarTypeValid(tstate, match_type);
  |  | 5073|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5074|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5074:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5075|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5075:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5076|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5077|      0|                _PyStackRef tmp = match_type_st;
  |  | 5078|      0|                match_type_st = PyStackRef_NULL;
  |  | 5079|      0|                stack_pointer[-1] = match_type_st;
  |  | 5080|      0|                PyStackRef_CLOSE(tmp);
  |  | 5081|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5082|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5082:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5083|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5084|      0|                tmp = exc_value_st;
  |  | 5085|      0|                exc_value_st = PyStackRef_NULL;
  |  | 5086|      0|                stack_pointer[-2] = exc_value_st;
  |  | 5087|      0|                PyStackRef_CLOSE(tmp);
  |  | 5088|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5089|      0|                stack_pointer += -2;
  |  | 5090|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5091|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5092|      0|            }
  |  | 5093|      0|            PyObject *match_o = NULL;
  |  | 5094|      0|            PyObject *rest_o = NULL;
  |  | 5095|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5095:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5096|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5097|      0|            int res = _PyEval_ExceptionGroupMatch(frame, exc_value, match_type,
  |  | 5098|      0|                &match_o, &rest_o);
  |  | 5099|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5100|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5100:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5101|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5102|      0|            _PyStackRef tmp = match_type_st;
  |  | 5103|      0|            match_type_st = PyStackRef_NULL;
  |  | 5104|      0|            stack_pointer[-1] = match_type_st;
  |  | 5105|      0|            PyStackRef_CLOSE(tmp);
  |  | 5106|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5107|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5107:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5108|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5109|      0|            tmp = exc_value_st;
  |  | 5110|      0|            exc_value_st = PyStackRef_NULL;
  |  | 5111|      0|            stack_pointer[-2] = exc_value_st;
  |  | 5112|      0|            PyStackRef_CLOSE(tmp);
  |  | 5113|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5114|      0|            stack_pointer += -2;
  |  | 5115|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5116|      0|            if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5116:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5117|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5118|      0|            }
  |  | 5119|      0|            assert((match_o == NULL) == (rest_o == NULL));
  |  |  ------------------
  |  |  |  Branch (5119:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5120|      0|            if (match_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5120:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5121|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5122|      0|            }
  |  | 5123|      0|            if (!Py_IsNone(match_o)) {
  |  |  ------------------
  |  |  |  |  621|      0|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  |  |  ------------------
  |  |  |  |  |  |  187|      0|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5123:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5124|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5125|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5126|      0|                PyErr_SetHandledException(match_o);
  |  | 5127|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5128|      0|            }
  |  | 5129|      0|            rest = PyStackRef_FromPyObjectSteal(rest_o);
  |  | 5130|      0|            match = PyStackRef_FromPyObjectSteal(match_o);
  |  | 5131|      0|            stack_pointer[0] = rest;
  |  | 5132|      0|            stack_pointer[1] = match;
  |  | 5133|      0|            stack_pointer += 2;
  |  | 5134|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5135|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 5136|      0|        }
  |  | 5137|       |
  |  | 5138|  2.26k|        TARGET(CHECK_EXC_MATCH) {
  |  |  ------------------
  |  |  |  |  132|  2.26k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5139|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5140|       |            int opcode = CHECK_EXC_MATCH;
  |  | 5141|       |            (void)(opcode);
  |  | 5142|       |            #endif
  |  | 5143|  2.26k|            frame->instr_ptr = next_instr;
  |  | 5144|  2.26k|            next_instr += 1;
  |  | 5145|  2.26k|            INSTRUCTION_STATS(CHECK_EXC_MATCH);
  |  |  ------------------
  |  |  |  |   71|  2.26k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5146|  2.26k|            _PyStackRef left;
  |  | 5147|  2.26k|            _PyStackRef right;
  |  | 5148|  2.26k|            _PyStackRef b;
  |  | 5149|  2.26k|            right = stack_pointer[-1];
  |  | 5150|  2.26k|            left = stack_pointer[-2];
  |  | 5151|  2.26k|            PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5152|  2.26k|            PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5153|  2.26k|            assert(PyExceptionInstance_Check(left_o));
  |  |  ------------------
  |  |  |  Branch (5153:13): [True: 2.26k, False: 0]
  |  |  ------------------
  |  | 5154|  2.26k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5155|  2.26k|            _PyFrame_StackPointerValidate(frame);
  |  | 5156|  2.26k|            int err = _PyEval_CheckExceptTypeValid(tstate, right_o);
  |  | 5157|  2.26k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5158|  2.26k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5158:17): [True: 0, False: 2.26k]
  |  |  ------------------
  |  | 5159|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5160|      0|            }
  |  | 5161|  2.26k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5161:13): [True: 2.26k, False: 0]
  |  |  ------------------
  |  | 5162|  2.26k|            _PyFrame_StackPointerValidate(frame);
  |  | 5163|  2.26k|            int res = PyErr_GivenExceptionMatches(left_o, right_o);
  |  | 5164|  2.26k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5165|  2.26k|            stack_pointer += -1;
  |  | 5166|  2.26k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.26k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5167|  2.26k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5168|  2.26k|            _PyFrame_StackPointerValidate(frame);
  |  | 5169|  2.26k|            PyStackRef_CLOSE(right);
  |  | 5170|  2.26k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5171|  2.26k|            b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  2.25k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.25k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.26k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      6|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5171:17): [True: 2.25k, False: 6]
  |  |  ------------------
  |  | 5172|  2.26k|            stack_pointer[0] = b;
  |  | 5173|  2.26k|            stack_pointer += 1;
  |  | 5174|  2.26k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.26k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5175|  2.26k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.26k|    { \
  |  |  |  |  201|  2.26k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.26k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.26k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.26k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.26k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.26k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.26k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.26k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.26k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.26k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.26k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.26k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.26k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.26k|    }
  |  |  ------------------
  |  | 5176|  2.26k|        }
  |  | 5177|       |
  |  | 5178|      0|        TARGET(CLEANUP_THROW) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5179|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5180|       |            int opcode = CLEANUP_THROW;
  |  | 5181|       |            (void)(opcode);
  |  | 5182|       |            #endif
  |  | 5183|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5184|      0|            (void)this_instr;
  |  | 5185|      0|            frame->instr_ptr = next_instr;
  |  | 5186|      0|            next_instr += 1;
  |  | 5187|      0|            INSTRUCTION_STATS(CLEANUP_THROW);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5188|      0|            _PyStackRef sub_iter;
  |  | 5189|      0|            _PyStackRef null_in;
  |  | 5190|      0|            _PyStackRef last_sent_val;
  |  | 5191|      0|            _PyStackRef exc_value_st;
  |  | 5192|      0|            _PyStackRef none;
  |  | 5193|      0|            _PyStackRef null_out;
  |  | 5194|      0|            _PyStackRef value;
  |  | 5195|      0|            exc_value_st = stack_pointer[-1];
  |  | 5196|      0|            last_sent_val = stack_pointer[-2];
  |  | 5197|      0|            null_in = stack_pointer[-3];
  |  | 5198|      0|            sub_iter = stack_pointer[-4];
  |  | 5199|      0|            PyObject *exc_value = PyStackRef_AsPyObjectBorrow(exc_value_st);
  |  | 5200|      0|            #if !_Py_TAIL_CALL_INTERP
  |  | 5201|      0|            assert(throwflag);
  |  |  ------------------
  |  |  |  Branch (5201:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5202|      0|            #endif
  |  | 5203|      0|            assert(exc_value && PyExceptionInstance_Check(exc_value));
  |  |  ------------------
  |  |  |  Branch (5203:13): [True: 0, False: 0]
  |  |  |  Branch (5203:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5204|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5205|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5206|      0|            int matches = PyErr_GivenExceptionMatches(exc_value, PyExc_StopIteration);
  |  | 5207|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5208|      0|            if (matches) {
  |  |  ------------------
  |  |  |  Branch (5208:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5209|      0|                value = PyStackRef_FromPyObjectNew(((PyStopIterationObject *)exc_value)->value);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5210|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5210:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5211|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5212|      0|                _PyStackRef tmp = sub_iter;
  |  | 5213|      0|                sub_iter = value;
  |  | 5214|      0|                stack_pointer[-4] = sub_iter;
  |  | 5215|      0|                PyStackRef_CLOSE(tmp);
  |  | 5216|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5217|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5217:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5218|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5219|      0|                tmp = exc_value_st;
  |  | 5220|      0|                exc_value_st = PyStackRef_NULL;
  |  | 5221|      0|                stack_pointer[-1] = exc_value_st;
  |  | 5222|      0|                PyStackRef_CLOSE(tmp);
  |  | 5223|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5224|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5224:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5225|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5226|      0|                tmp = last_sent_val;
  |  | 5227|      0|                last_sent_val = PyStackRef_NULL;
  |  | 5228|      0|                stack_pointer[-2] = last_sent_val;
  |  | 5229|      0|                PyStackRef_CLOSE(tmp);
  |  | 5230|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5231|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5231:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5232|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5233|      0|                tmp = null_in;
  |  | 5234|      0|                null_in = PyStackRef_NULL;
  |  | 5235|      0|                stack_pointer[-3] = null_in;
  |  | 5236|      0|                PyStackRef_XCLOSE(tmp);
  |  | 5237|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5238|      0|                stack_pointer += -4;
  |  | 5239|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5240|      0|                null_out = null_in;
  |  | 5241|      0|                none = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|      0|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5242|      0|            }
  |  | 5243|      0|            else {
  |  | 5244|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5244:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5245|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5246|      0|                _PyErr_SetRaisedException(tstate, Py_NewRef(exc_value));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5247|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5248|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5248:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5249|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5250|      0|                monitor_reraise(tstate, frame, this_instr);
  |  | 5251|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5252|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5252:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5253|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5254|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5255|      0|            }
  |  | 5256|      0|            stack_pointer[0] = none;
  |  | 5257|      0|            stack_pointer[1] = null_out;
  |  | 5258|      0|            stack_pointer[2] = value;
  |  | 5259|      0|            stack_pointer += 3;
  |  | 5260|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5261|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 5262|      0|        }
  |  | 5263|       |
  |  | 5264|  1.70k|        TARGET(COMPARE_OP) {
  |  |  ------------------
  |  |  |  |  132|  1.70k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5265|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5266|       |            int opcode = COMPARE_OP;
  |  | 5267|       |            (void)(opcode);
  |  | 5268|       |            #endif
  |  | 5269|  1.70k|            frame->instr_ptr = next_instr;
  |  | 5270|  1.70k|            next_instr += 2;
  |  | 5271|  1.70k|            INSTRUCTION_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   71|  1.70k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5272|  1.71k|            PREDICTED_COMPARE_OP:;
  |  | 5273|  1.71k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5274|  1.71k|            (void)this_instr;
  |  | 5275|  1.71k|            _PyStackRef left;
  |  | 5276|  1.71k|            _PyStackRef right;
  |  | 5277|  1.71k|            _PyStackRef res;
  |  | 5278|       |            // _SPECIALIZE_COMPARE_OP
  |  | 5279|  1.71k|            {
  |  | 5280|  1.71k|                right = stack_pointer[-1];
  |  | 5281|  1.71k|                left = stack_pointer[-2];
  |  | 5282|  1.71k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5283|  1.71k|                (void)counter;
  |  | 5284|  1.71k|                #if ENABLE_SPECIALIZATION
  |  | 5285|  1.71k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  1.71k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 141, False: 1.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5286|    141|                    next_instr = this_instr;
  |  | 5287|    141|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5288|    141|                    _PyFrame_StackPointerValidate(frame);
  |  | 5289|    141|                    _Py_Specialize_CompareOp(left, right, next_instr, oparg);
  |  | 5290|    141|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5291|    141|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    141|    { \
  |  |  |  |  217|    141|        opcode = next_instr->op.code; \
  |  |  |  |  218|    141|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    141|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    141|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    141|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    141|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    141|    }
  |  |  ------------------
  |  | 5292|    141|                }
  |  | 5293|  1.71k|                OPCODE_DEFERRED_INC(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   90|  1.71k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5294|  1.71k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  1.71k|    do { \
  |  |  |  |  378|  1.71k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  1.71k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 1.71k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5295|  1.71k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5296|  1.71k|            }
  |  | 5297|       |            // _COMPARE_OP
  |  | 5298|  1.71k|            {
  |  | 5299|  1.71k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5300|  1.71k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5301|  1.71k|                assert((oparg >> 5) <= Py_GE);
  |  |  ------------------
  |  |  |  Branch (5301:17): [True: 1.57k, False: 141]
  |  |  ------------------
  |  | 5302|  1.57k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5303|  1.57k|                _PyFrame_StackPointerValidate(frame);
  |  | 5304|  1.57k|                PyObject *res_o = PyObject_RichCompare(left_o, right_o, oparg >> 5);
  |  | 5305|  1.57k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5306|  1.57k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5306:17): [True: 1.57k, False: 0]
  |  |  ------------------
  |  | 5307|  1.57k|                _PyFrame_StackPointerValidate(frame);
  |  | 5308|  1.57k|                _PyStackRef tmp = right;
  |  | 5309|  1.57k|                right = PyStackRef_NULL;
  |  | 5310|  1.57k|                stack_pointer[-1] = right;
  |  | 5311|  1.57k|                PyStackRef_CLOSE(tmp);
  |  | 5312|  1.57k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5313|  1.57k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5313:17): [True: 1.57k, False: 0]
  |  |  ------------------
  |  | 5314|  1.57k|                _PyFrame_StackPointerValidate(frame);
  |  | 5315|  1.57k|                tmp = left;
  |  | 5316|  1.57k|                left = PyStackRef_NULL;
  |  | 5317|  1.57k|                stack_pointer[-2] = left;
  |  | 5318|  1.57k|                PyStackRef_CLOSE(tmp);
  |  | 5319|  1.57k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5320|  1.57k|                stack_pointer += -2;
  |  | 5321|  1.57k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.57k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5322|  1.57k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5322:21): [True: 0, False: 1.57k]
  |  |  ------------------
  |  | 5323|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5324|      0|                }
  |  | 5325|  1.57k|                if (oparg & 16) {
  |  |  ------------------
  |  |  |  Branch (5325:21): [True: 1.55k, False: 23]
  |  |  ------------------
  |  | 5326|  1.55k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5327|  1.55k|                    _PyFrame_StackPointerValidate(frame);
  |  | 5328|  1.55k|                    int res_bool = PyObject_IsTrue(res_o);
  |  | 5329|  1.55k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5330|  1.55k|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5330:21): [True: 1.55k, False: 0]
  |  |  ------------------
  |  | 5331|  1.55k|                    _PyFrame_StackPointerValidate(frame);
  |  | 5332|  1.55k|                    Py_DECREF(res_o);
  |  |  ------------------
  |  |  |  |   80|  1.55k|    do { \
  |  |  |  |   81|  1.55k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  1.55k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  1.55k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 1.55k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|  1.55k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|  1.55k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|  1.55k|            break; \
  |  |  |  |   85|  1.55k|        } \
  |  |  |  |   86|  1.55k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5333|  1.55k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5334|  1.55k|                    if (res_bool < 0) {
  |  |  ------------------
  |  |  |  Branch (5334:25): [True: 0, False: 1.55k]
  |  |  ------------------
  |  | 5335|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5336|      0|                    }
  |  | 5337|  1.55k|                    res = res_bool ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    589|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    589|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   res = res_bool ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.51k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    962|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5337:27): [True: 589, False: 962]
  |  |  ------------------
  |  | 5338|  1.55k|                }
  |  | 5339|     23|                else {
  |  | 5340|     23|                    res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 5341|     23|                }
  |  | 5342|  1.57k|            }
  |  | 5343|  1.57k|            stack_pointer[0] = res;
  |  | 5344|  1.57k|            stack_pointer += 1;
  |  | 5345|  1.57k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.57k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5346|  1.57k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.57k|    { \
  |  |  |  |  201|  1.57k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.57k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.57k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.57k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.57k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.57k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.57k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.57k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.57k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.57k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.57k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.57k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.57k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.57k|    }
  |  |  ------------------
  |  | 5347|  1.57k|        }
  |  | 5348|       |
  |  | 5349|    426|        TARGET(COMPARE_OP_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|    426|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5350|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5351|       |            int opcode = COMPARE_OP_FLOAT;
  |  | 5352|       |            (void)(opcode);
  |  | 5353|       |            #endif
  |  | 5354|    426|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5355|    426|            (void)this_instr;
  |  | 5356|    426|            frame->instr_ptr = next_instr;
  |  | 5357|    426|            next_instr += 2;
  |  | 5358|    426|            INSTRUCTION_STATS(COMPARE_OP_FLOAT);
  |  |  ------------------
  |  |  |  |   71|    426|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5359|    426|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5360|    426|            _PyStackRef value;
  |  | 5361|    426|            _PyStackRef left;
  |  | 5362|    426|            _PyStackRef right;
  |  | 5363|    426|            _PyStackRef res;
  |  | 5364|    426|            _PyStackRef l;
  |  | 5365|    426|            _PyStackRef r;
  |  | 5366|       |            // _GUARD_TOS_FLOAT
  |  | 5367|    426|            {
  |  | 5368|    426|                value = stack_pointer[-1];
  |  | 5369|    426|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5370|    426|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|    426|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    426|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5370:21): [True: 3, False: 423]
  |  |  ------------------
  |  | 5371|      3|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      3|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5372|      3|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5372:21): [True: 3, False: 0]
  |  |  ------------------
  |  | 5373|      3|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      3|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5374|      0|                }
  |  | 5375|    426|            }
  |  | 5376|       |            // _GUARD_NOS_FLOAT
  |  | 5377|    423|            {
  |  | 5378|    423|                left = stack_pointer[-2];
  |  | 5379|    423|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5380|    423|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|    423|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    423|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    423|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    423|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5380:21): [True: 0, False: 423]
  |  |  ------------------
  |  | 5381|      0|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5382|      0|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5382:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5383|      0|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5384|      0|                }
  |  | 5385|    423|            }
  |  | 5386|       |            /* Skip 1 cache entry */
  |  | 5387|       |            // _COMPARE_OP_FLOAT
  |  | 5388|    423|            {
  |  | 5389|    423|                right = value;
  |  | 5390|    423|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5391|    423|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5392|    423|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    423|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5393|    423|                double dleft = PyFloat_AS_DOUBLE(left_o);
  |  |  ------------------
  |  |  |  |   18|    423|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    423|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    423|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5394|    423|                double dright = PyFloat_AS_DOUBLE(right_o);
  |  |  ------------------
  |  |  |  |   18|    423|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    423|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    423|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5395|    423|                int sign_ish = COMPARISON_BIT(dleft, dright);
  |  |  ------------------
  |  |  |  |  523|    423|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5396|    423|                l = left;
  |  | 5397|    423|                r = right;
  |  | 5398|    423|                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|    846|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    423|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5398:23): [True: 0, False: 423]
  |  |  ------------------
  |  | 5399|    423|            }
  |  | 5400|       |            // _POP_TOP_FLOAT
  |  | 5401|    423|            {
  |  | 5402|    423|                value = r;
  |  | 5403|    423|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5403:17): [True: 423, False: 0]
  |  |  ------------------
  |  | 5404|    423|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5405|    423|            }
  |  | 5406|       |            // _POP_TOP_FLOAT
  |  | 5407|      0|            {
  |  | 5408|    423|                value = l;
  |  | 5409|    423|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5409:17): [True: 423, False: 0]
  |  |  ------------------
  |  | 5410|    423|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5411|    423|            }
  |  | 5412|      0|            stack_pointer[-2] = res;
  |  | 5413|    423|            stack_pointer += -1;
  |  | 5414|    423|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    423|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5415|    423|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    423|    { \
  |  |  |  |  201|    423|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    423|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    423|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    423|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    423|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    423|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    423|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    423|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 423]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    423|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    423|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    423|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    423|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    423|    }
  |  |  ------------------
  |  | 5416|    423|        }
  |  | 5417|       |
  |  | 5418|  6.44k|        TARGET(COMPARE_OP_INT) {
  |  |  ------------------
  |  |  |  |  132|  6.44k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5419|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5420|       |            int opcode = COMPARE_OP_INT;
  |  | 5421|       |            (void)(opcode);
  |  | 5422|       |            #endif
  |  | 5423|  6.44k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5424|  6.44k|            (void)this_instr;
  |  | 5425|  6.44k|            frame->instr_ptr = next_instr;
  |  | 5426|  6.44k|            next_instr += 2;
  |  | 5427|  6.44k|            INSTRUCTION_STATS(COMPARE_OP_INT);
  |  |  ------------------
  |  |  |  |   71|  6.44k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5428|  6.44k|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5429|  6.44k|            _PyStackRef value;
  |  | 5430|  6.44k|            _PyStackRef left;
  |  | 5431|  6.44k|            _PyStackRef right;
  |  | 5432|  6.44k|            _PyStackRef res;
  |  | 5433|  6.44k|            _PyStackRef l;
  |  | 5434|  6.44k|            _PyStackRef r;
  |  | 5435|       |            // _GUARD_TOS_INT
  |  | 5436|  6.44k|            {
  |  | 5437|  6.44k|                value = stack_pointer[-1];
  |  | 5438|  6.44k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5439|  6.44k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (5439:21): [True: 0, False: 6.44k]
  |  |  ------------------
  |  | 5440|      0|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5441|      0|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5441:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5442|      0|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5443|      0|                }
  |  | 5444|  6.44k|            }
  |  | 5445|       |            // _GUARD_NOS_INT
  |  | 5446|  6.44k|            {
  |  | 5447|  6.44k|                left = stack_pointer[-2];
  |  | 5448|  6.44k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5449|  6.44k|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (5449:21): [True: 0, False: 6.44k]
  |  |  ------------------
  |  | 5450|      0|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5451|      0|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5451:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5452|      0|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5453|      0|                }
  |  | 5454|  6.44k|            }
  |  | 5455|       |            /* Skip 1 cache entry */
  |  | 5456|       |            // _COMPARE_OP_INT
  |  | 5457|  6.44k|            {
  |  | 5458|  6.44k|                right = value;
  |  | 5459|  6.44k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5460|  6.44k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5461|  6.44k|                assert(_PyLong_IsCompact((PyLongObject *)left_o));
  |  |  ------------------
  |  |  |  Branch (5461:17): [True: 6.44k, False: 0]
  |  |  ------------------
  |  | 5462|  6.44k|                assert(_PyLong_IsCompact((PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (5462:17): [True: 6.44k, False: 0]
  |  |  ------------------
  |  | 5463|  6.44k|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  6.44k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5464|  6.44k|                assert(_PyLong_DigitCount((PyLongObject *)left_o) <= 1 &&
  |  |  ------------------
  |  |  |  Branch (5464:17): [True: 6.44k, False: 0]
  |  |  |  Branch (5464:17): [True: 6.44k, False: 0]
  |  |  ------------------
  |  | 5465|  6.44k|                   _PyLong_DigitCount((PyLongObject *)right_o) <= 1);
  |  | 5466|  6.44k|                Py_ssize_t ileft = _PyLong_CompactValue((PyLongObject *)left_o);
  |  | 5467|  6.44k|                Py_ssize_t iright = _PyLong_CompactValue((PyLongObject *)right_o);
  |  | 5468|  6.44k|                int sign_ish = COMPARISON_BIT(ileft, iright);
  |  |  ------------------
  |  |  |  |  523|  6.44k|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5469|  6.44k|                l = left;
  |  | 5470|  6.44k|                r = right;
  |  | 5471|  6.44k|                res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  1.27k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.27k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  11.6k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.16k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5471:24): [True: 1.27k, False: 5.16k]
  |  |  ------------------
  |  | 5472|  6.44k|            }
  |  | 5473|       |            // _POP_TOP_INT
  |  | 5474|      0|            {
  |  | 5475|  6.44k|                value = r;
  |  | 5476|  6.44k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5476:17): [True: 6.44k, False: 0]
  |  |  ------------------
  |  | 5477|  6.44k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5478|  6.44k|            }
  |  | 5479|       |            // _POP_TOP_INT
  |  | 5480|      0|            {
  |  | 5481|  6.44k|                value = l;
  |  | 5482|  6.44k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5482:17): [True: 6.44k, False: 0]
  |  |  ------------------
  |  | 5483|  6.44k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5484|  6.44k|            }
  |  | 5485|      0|            stack_pointer[-2] = res;
  |  | 5486|  6.44k|            stack_pointer += -1;
  |  | 5487|  6.44k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  6.44k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5488|  6.44k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.44k|    { \
  |  |  |  |  201|  6.44k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.44k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.44k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.44k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  6.44k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.44k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.44k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.44k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 6.44k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.44k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.44k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.44k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.44k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.44k|    }
  |  |  ------------------
  |  | 5489|  6.44k|        }
  |  | 5490|       |
  |  | 5491|  2.40k|        TARGET(COMPARE_OP_STR) {
  |  |  ------------------
  |  |  |  |  132|  2.40k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5492|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5493|       |            int opcode = COMPARE_OP_STR;
  |  | 5494|       |            (void)(opcode);
  |  | 5495|       |            #endif
  |  | 5496|  2.40k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5497|  2.40k|            (void)this_instr;
  |  | 5498|  2.40k|            frame->instr_ptr = next_instr;
  |  | 5499|  2.40k|            next_instr += 2;
  |  | 5500|  2.40k|            INSTRUCTION_STATS(COMPARE_OP_STR);
  |  |  ------------------
  |  |  |  |   71|  2.40k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5501|  2.40k|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5502|  2.40k|            _PyStackRef value;
  |  | 5503|  2.40k|            _PyStackRef nos;
  |  | 5504|  2.40k|            _PyStackRef left;
  |  | 5505|  2.40k|            _PyStackRef right;
  |  | 5506|  2.40k|            _PyStackRef res;
  |  | 5507|  2.40k|            _PyStackRef l;
  |  | 5508|  2.40k|            _PyStackRef r;
  |  | 5509|       |            // _GUARD_TOS_UNICODE
  |  | 5510|  2.40k|            {
  |  | 5511|  2.40k|                value = stack_pointer[-1];
  |  | 5512|  2.40k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5513|  2.40k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  2.40k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.40k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5513:21): [True: 3, False: 2.40k]
  |  |  ------------------
  |  | 5514|      3|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      3|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5515|      3|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5515:21): [True: 3, False: 0]
  |  |  ------------------
  |  | 5516|      3|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      3|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5517|      0|                }
  |  | 5518|  2.40k|            }
  |  | 5519|       |            // _GUARD_NOS_UNICODE
  |  | 5520|  2.40k|            {
  |  | 5521|  2.40k|                nos = stack_pointer[-2];
  |  | 5522|  2.40k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 5523|  2.40k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  2.40k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.40k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5523:21): [True: 0, False: 2.40k]
  |  |  ------------------
  |  | 5524|      0|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5525|      0|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5525:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5526|      0|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5527|      0|                }
  |  | 5528|  2.40k|            }
  |  | 5529|       |            /* Skip 1 cache entry */
  |  | 5530|       |            // _COMPARE_OP_STR
  |  | 5531|  2.40k|            {
  |  | 5532|  2.40k|                right = value;
  |  | 5533|  2.40k|                left = nos;
  |  | 5534|  2.40k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5535|  2.40k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5536|  2.40k|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  2.40k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5537|  2.40k|                int eq = _PyUnicode_Equal(left_o, right_o);
  |  | 5538|  2.40k|                assert((oparg >> 5) == Py_EQ || (oparg >> 5) == Py_NE);
  |  |  ------------------
  |  |  |  Branch (5538:17): [True: 1.20k, False: 1.20k]
  |  |  |  Branch (5538:17): [True: 1.20k, False: 0]
  |  |  ------------------
  |  | 5539|  2.40k|                l = left;
  |  | 5540|  2.40k|                r = right;
  |  | 5541|  2.40k|                assert(eq == 0 || eq == 1);
  |  |  ------------------
  |  |  |  Branch (5541:17): [True: 1.73k, False: 667]
  |  |  |  Branch (5541:17): [True: 667, False: 0]
  |  |  ------------------
  |  | 5542|  2.40k|                assert((oparg & 0xf) == COMPARISON_NOT_EQUALS || (oparg & 0xf) == COMPARISON_EQUALS);
  |  |  ------------------
  |  |  |  Branch (5542:17): [True: 1.20k, False: 1.20k]
  |  |  |  Branch (5542:17): [True: 1.20k, False: 0]
  |  |  ------------------
  |  | 5543|  2.40k|                assert(COMPARISON_NOT_EQUALS + 1 == COMPARISON_EQUALS);
  |  |  ------------------
  |  |  |  Branch (5543:17): [True: 2.40k, Folded]
  |  |  ------------------
  |  | 5544|  2.40k|                res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  538|  2.40k|#define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  532|  2.40k|#define COMPARISON_UNORDERED 1
  |  |  |  |  ------------------
  |  |  |  |               #define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  534|  2.40k|#define COMPARISON_LESS_THAN 2
  |  |  |  |  ------------------
  |  |  |  |               #define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  535|  2.40k|#define COMPARISON_GREATER_THAN 4
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  1.28k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.28k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  3.52k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.12k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5544:23): [True: 1.28k, False: 1.12k]
  |  |  ------------------
  |  | 5545|  2.40k|            }
  |  | 5546|       |            // _POP_TOP_UNICODE
  |  | 5547|      0|            {
  |  | 5548|  2.40k|                value = r;
  |  | 5549|  2.40k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5549:17): [True: 2.40k, False: 0]
  |  |  ------------------
  |  | 5550|  2.40k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5551|  2.40k|            }
  |  | 5552|       |            // _POP_TOP_UNICODE
  |  | 5553|      0|            {
  |  | 5554|  2.40k|                value = l;
  |  | 5555|  2.40k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5555:17): [True: 2.40k, False: 0]
  |  |  ------------------
  |  | 5556|  2.40k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5557|  2.40k|            }
  |  | 5558|      0|            stack_pointer[-2] = res;
  |  | 5559|  2.40k|            stack_pointer += -1;
  |  | 5560|  2.40k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.40k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5561|  2.40k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.40k|    { \
  |  |  |  |  201|  2.40k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.40k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.40k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.40k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.40k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.40k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.40k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.40k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.40k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.40k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.40k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.40k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.40k|    }
  |  |  ------------------
  |  | 5562|  2.40k|        }
  |  | 5563|       |
  |  | 5564|  1.23k|        TARGET(CONTAINS_OP) {
  |  |  ------------------
  |  |  |  |  132|  1.23k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5565|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5566|       |            int opcode = CONTAINS_OP;
  |  | 5567|       |            (void)(opcode);
  |  | 5568|       |            #endif
  |  | 5569|  1.23k|            frame->instr_ptr = next_instr;
  |  | 5570|  1.23k|            next_instr += 2;
  |  | 5571|  1.23k|            INSTRUCTION_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   71|  1.23k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5572|  1.23k|            PREDICTED_CONTAINS_OP:;
  |  | 5573|  1.23k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5574|  1.23k|            (void)this_instr;
  |  | 5575|  1.23k|            _PyStackRef right;
  |  | 5576|  1.23k|            _PyStackRef left;
  |  | 5577|  1.23k|            _PyStackRef b;
  |  | 5578|  1.23k|            _PyStackRef l;
  |  | 5579|  1.23k|            _PyStackRef r;
  |  | 5580|  1.23k|            _PyStackRef value;
  |  | 5581|       |            // _SPECIALIZE_CONTAINS_OP
  |  | 5582|  1.23k|            {
  |  | 5583|  1.23k|                right = stack_pointer[-1];
  |  | 5584|  1.23k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5585|  1.23k|                (void)counter;
  |  | 5586|  1.23k|                #if ENABLE_SPECIALIZATION
  |  | 5587|  1.23k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  1.23k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 107, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5588|    107|                    next_instr = this_instr;
  |  | 5589|    107|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5590|    107|                    _PyFrame_StackPointerValidate(frame);
  |  | 5591|    107|                    _Py_Specialize_ContainsOp(right, next_instr);
  |  | 5592|    107|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5593|    107|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    107|    { \
  |  |  |  |  217|    107|        opcode = next_instr->op.code; \
  |  |  |  |  218|    107|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    107|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    107|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    107|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    107|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    107|    }
  |  |  ------------------
  |  | 5594|    107|                }
  |  | 5595|  1.23k|                OPCODE_DEFERRED_INC(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   90|  1.23k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5596|  1.23k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  1.23k|    do { \
  |  |  |  |  378|  1.23k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  1.23k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 1.23k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5597|  1.23k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5598|  1.23k|            }
  |  | 5599|       |            // _CONTAINS_OP
  |  | 5600|  1.23k|            {
  |  | 5601|  1.23k|                left = stack_pointer[-2];
  |  | 5602|  1.23k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5603|  1.23k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5604|  1.23k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5605|  1.23k|                _PyFrame_StackPointerValidate(frame);
  |  | 5606|  1.23k|                int res = PySequence_Contains(right_o, left_o);
  |  | 5607|  1.23k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5608|  1.23k|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5608:21): [True: 0, False: 1.23k]
  |  |  ------------------
  |  | 5609|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5610|      0|                }
  |  | 5611|  1.23k|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    325|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    325|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.14k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    910|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5611:21): [True: 325, False: 910]
  |  |  ------------------
  |  | 5612|  1.23k|                l = left;
  |  | 5613|  1.23k|                r = right;
  |  | 5614|  1.23k|            }
  |  | 5615|       |            // _POP_TOP
  |  | 5616|      0|            {
  |  | 5617|  1.23k|                value = r;
  |  | 5618|  1.23k|                stack_pointer[-2] = b;
  |  | 5619|  1.23k|                stack_pointer[-1] = l;
  |  | 5620|  1.23k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5620:17): [True: 1.12k, False: 107]
  |  |  ------------------
  |  | 5621|  1.12k|                _PyFrame_StackPointerValidate(frame);
  |  | 5622|  1.12k|                PyStackRef_XCLOSE(value);
  |  | 5623|  1.12k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5624|  1.12k|            }
  |  | 5625|       |            // _POP_TOP
  |  | 5626|      0|            {
  |  | 5627|  1.12k|                value = l;
  |  | 5628|  1.12k|                stack_pointer += -1;
  |  | 5629|  1.12k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.12k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5630|  1.12k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5631|  1.12k|                _PyFrame_StackPointerValidate(frame);
  |  | 5632|  1.12k|                PyStackRef_XCLOSE(value);
  |  | 5633|  1.12k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5634|  1.12k|            }
  |  | 5635|  1.12k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.12k|    { \
  |  |  |  |  201|  1.12k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.12k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.12k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.12k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.12k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.12k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.12k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.12k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.12k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.12k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.12k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.12k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.12k|    }
  |  |  ------------------
  |  | 5636|  1.12k|        }
  |  | 5637|       |
  |  | 5638|  1.29k|        TARGET(CONTAINS_OP_DICT) {
  |  |  ------------------
  |  |  |  |  132|  1.29k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5639|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5640|       |            int opcode = CONTAINS_OP_DICT;
  |  | 5641|       |            (void)(opcode);
  |  | 5642|       |            #endif
  |  | 5643|  1.29k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5644|  1.29k|            (void)this_instr;
  |  | 5645|  1.29k|            frame->instr_ptr = next_instr;
  |  | 5646|  1.29k|            next_instr += 2;
  |  | 5647|  1.29k|            INSTRUCTION_STATS(CONTAINS_OP_DICT);
  |  |  ------------------
  |  |  |  |   71|  1.29k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5648|  1.29k|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5649|  1.29k|            _PyStackRef tos;
  |  | 5650|  1.29k|            _PyStackRef left;
  |  | 5651|  1.29k|            _PyStackRef right;
  |  | 5652|  1.29k|            _PyStackRef b;
  |  | 5653|  1.29k|            _PyStackRef l;
  |  | 5654|  1.29k|            _PyStackRef r;
  |  | 5655|  1.29k|            _PyStackRef value;
  |  | 5656|       |            // _GUARD_TOS_ANY_DICT
  |  | 5657|  1.29k|            {
  |  | 5658|  1.29k|                tos = stack_pointer[-1];
  |  | 5659|  1.29k|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5660|  1.29k|                if (!PyAnyDict_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   41|  1.29k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  1.29k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   65|  2.58k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  1.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  1.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (65:5): [True: 1.29k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5661|      0|                    UPDATE_MISS_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5662|      0|                    assert(_PyOpcode_Deopt[opcode] == (CONTAINS_OP));
  |  |  ------------------
  |  |  |  Branch (5662:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5663|      0|                    JUMP_TO_PREDICTED(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5664|      0|                }
  |  | 5665|  1.29k|            }
  |  | 5666|       |            /* Skip 1 cache entry */
  |  | 5667|       |            // _CONTAINS_OP_DICT
  |  | 5668|  1.29k|            {
  |  | 5669|  1.29k|                right = tos;
  |  | 5670|  1.29k|                left = stack_pointer[-2];
  |  | 5671|  1.29k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5672|  1.29k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5673|  1.29k|                assert(PyAnyDict_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (5673:17): [True: 1.29k, False: 0]
  |  |  |  Branch (5673:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5674|  1.29k|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.29k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5675|  1.29k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5676|  1.29k|                _PyFrame_StackPointerValidate(frame);
  |  | 5677|  1.29k|                int res = PyDict_Contains(right_o, left_o);
  |  | 5678|  1.29k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5679|  1.29k|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5679:21): [True: 0, False: 1.29k]
  |  |  ------------------
  |  | 5680|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5681|      0|                }
  |  | 5682|  1.29k|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    157|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    157|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.43k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.13k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5682:21): [True: 157, False: 1.13k]
  |  |  ------------------
  |  | 5683|  1.29k|                l = left;
  |  | 5684|  1.29k|                r = right;
  |  | 5685|  1.29k|            }
  |  | 5686|       |            // _POP_TOP
  |  | 5687|      0|            {
  |  | 5688|  1.29k|                value = r;
  |  | 5689|  1.29k|                stack_pointer[-2] = b;
  |  | 5690|  1.29k|                stack_pointer[-1] = l;
  |  | 5691|  1.29k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5691:17): [True: 1.29k, False: 0]
  |  |  ------------------
  |  | 5692|  1.29k|                _PyFrame_StackPointerValidate(frame);
  |  | 5693|  1.29k|                PyStackRef_XCLOSE(value);
  |  | 5694|  1.29k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5695|  1.29k|            }
  |  | 5696|       |            // _POP_TOP
  |  | 5697|      0|            {
  |  | 5698|  1.29k|                value = l;
  |  | 5699|  1.29k|                stack_pointer += -1;
  |  | 5700|  1.29k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.29k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5701|  1.29k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5702|  1.29k|                _PyFrame_StackPointerValidate(frame);
  |  | 5703|  1.29k|                PyStackRef_XCLOSE(value);
  |  | 5704|  1.29k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5705|  1.29k|            }
  |  | 5706|  1.29k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.29k|    { \
  |  |  |  |  201|  1.29k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.29k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.29k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.29k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.29k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.29k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.29k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.29k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.29k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.29k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.29k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.29k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.29k|    }
  |  |  ------------------
  |  | 5707|  1.29k|        }
  |  | 5708|       |
  |  | 5709|  3.92k|        TARGET(CONTAINS_OP_SET) {
  |  |  ------------------
  |  |  |  |  132|  3.92k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5710|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5711|       |            int opcode = CONTAINS_OP_SET;
  |  | 5712|       |            (void)(opcode);
  |  | 5713|       |            #endif
  |  | 5714|  3.92k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5715|  3.92k|            (void)this_instr;
  |  | 5716|  3.92k|            frame->instr_ptr = next_instr;
  |  | 5717|  3.92k|            next_instr += 2;
  |  | 5718|  3.92k|            INSTRUCTION_STATS(CONTAINS_OP_SET);
  |  |  ------------------
  |  |  |  |   71|  3.92k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5719|  3.92k|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5720|  3.92k|            _PyStackRef tos;
  |  | 5721|  3.92k|            _PyStackRef left;
  |  | 5722|  3.92k|            _PyStackRef right;
  |  | 5723|  3.92k|            _PyStackRef b;
  |  | 5724|  3.92k|            _PyStackRef l;
  |  | 5725|  3.92k|            _PyStackRef r;
  |  | 5726|  3.92k|            _PyStackRef value;
  |  | 5727|       |            // _GUARD_TOS_ANY_SET
  |  | 5728|  3.92k|            {
  |  | 5729|  3.92k|                tos = stack_pointer[-1];
  |  | 5730|  3.92k|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5731|  3.92k|                if (!PyAnySet_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   29|  3.92k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  7.84k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 3.82k, False: 95]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     95|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 95, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5732|      0|                    UPDATE_MISS_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5733|      0|                    assert(_PyOpcode_Deopt[opcode] == (CONTAINS_OP));
  |  |  ------------------
  |  |  |  Branch (5733:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5734|      0|                    JUMP_TO_PREDICTED(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5735|      0|                }
  |  | 5736|  3.92k|            }
  |  | 5737|       |            /* Skip 1 cache entry */
  |  | 5738|       |            // _CONTAINS_OP_SET
  |  | 5739|  3.92k|            {
  |  | 5740|  3.92k|                right = tos;
  |  | 5741|  3.92k|                left = stack_pointer[-2];
  |  | 5742|  3.92k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5743|  3.92k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5744|  3.92k|                assert(PyAnySet_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (5744:17): [True: 3.82k, False: 95]
  |  |  |  Branch (5744:17): [True: 95, False: 0]
  |  |  ------------------
  |  | 5745|  3.92k|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  3.92k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5746|  3.92k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5747|  3.92k|                _PyFrame_StackPointerValidate(frame);
  |  | 5748|  3.92k|                int res = _PySet_Contains((PySetObject *)right_o, left_o);
  |  | 5749|  3.92k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5750|  3.92k|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5750:21): [True: 0, False: 3.92k]
  |  |  ------------------
  |  | 5751|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5752|      0|                }
  |  | 5753|  3.92k|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    164|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    164|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  7.68k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.75k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5753:21): [True: 164, False: 3.75k]
  |  |  ------------------
  |  | 5754|  3.92k|                l = left;
  |  | 5755|  3.92k|                r = right;
  |  | 5756|  3.92k|            }
  |  | 5757|       |            // _POP_TOP
  |  | 5758|      0|            {
  |  | 5759|  3.92k|                value = r;
  |  | 5760|  3.92k|                stack_pointer[-2] = b;
  |  | 5761|  3.92k|                stack_pointer[-1] = l;
  |  | 5762|  3.92k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5762:17): [True: 3.92k, False: 0]
  |  |  ------------------
  |  | 5763|  3.92k|                _PyFrame_StackPointerValidate(frame);
  |  | 5764|  3.92k|                PyStackRef_XCLOSE(value);
  |  | 5765|  3.92k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5766|  3.92k|            }
  |  | 5767|       |            // _POP_TOP
  |  | 5768|      0|            {
  |  | 5769|  3.92k|                value = l;
  |  | 5770|  3.92k|                stack_pointer += -1;
  |  | 5771|  3.92k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.92k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5772|  3.92k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5773|  3.92k|                _PyFrame_StackPointerValidate(frame);
  |  | 5774|  3.92k|                PyStackRef_XCLOSE(value);
  |  | 5775|  3.92k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5776|  3.92k|            }
  |  | 5777|  3.92k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.92k|    { \
  |  |  |  |  201|  3.92k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.92k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.92k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.92k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.92k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.92k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.92k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.92k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.92k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.92k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.92k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.92k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.92k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.92k|    }
  |  |  ------------------
  |  | 5778|  3.92k|        }
  |  | 5779|       |
  |  | 5780|    435|        TARGET(CONVERT_VALUE) {
  |  |  ------------------
  |  |  |  |  132|    435|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5781|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5782|       |            int opcode = CONVERT_VALUE;
  |  | 5783|       |            (void)(opcode);
  |  | 5784|       |            #endif
  |  | 5785|    435|            frame->instr_ptr = next_instr;
  |  | 5786|    435|            next_instr += 1;
  |  | 5787|    435|            INSTRUCTION_STATS(CONVERT_VALUE);
  |  |  ------------------
  |  |  |  |   71|    435|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5788|    435|            _PyStackRef value;
  |  | 5789|    435|            _PyStackRef result;
  |  | 5790|    435|            value = stack_pointer[-1];
  |  | 5791|    435|            conversion_func conv_fn;
  |  | 5792|    435|            assert(oparg >= FVC_STR && oparg <= FVC_ASCII);
  |  |  ------------------
  |  |  |  Branch (5792:13): [True: 435, False: 0]
  |  |  |  Branch (5792:13): [True: 435, False: 0]
  |  |  ------------------
  |  | 5793|    435|            conv_fn = _PyEval_ConversionFuncs[oparg];
  |  | 5794|    435|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5795|    435|            _PyFrame_StackPointerValidate(frame);
  |  | 5796|    435|            PyObject *result_o = conv_fn(PyStackRef_AsPyObjectBorrow(value));
  |  | 5797|    435|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5798|    435|            stack_pointer += -1;
  |  | 5799|    435|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    435|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5800|    435|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5801|    435|            _PyFrame_StackPointerValidate(frame);
  |  | 5802|    435|            PyStackRef_CLOSE(value);
  |  | 5803|    435|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5804|    435|            if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5804:17): [True: 0, False: 435]
  |  |  ------------------
  |  | 5805|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5806|      0|            }
  |  | 5807|    435|            result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 5808|    435|            stack_pointer[0] = result;
  |  | 5809|    435|            stack_pointer += 1;
  |  | 5810|    435|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    435|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5811|    435|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    435|    { \
  |  |  |  |  201|    435|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    435|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    435|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    435|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    435|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    435|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    435|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    435|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 435]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    435|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    435|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    435|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    435|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    435|    }
  |  |  ------------------
  |  | 5812|    435|        }
  |  | 5813|       |
  |  | 5814|  5.42k|        TARGET(COPY) {
  |  |  ------------------
  |  |  |  |  132|  5.42k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5815|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5816|       |            int opcode = COPY;
  |  | 5817|       |            (void)(opcode);
  |  | 5818|       |            #endif
  |  | 5819|  5.42k|            frame->instr_ptr = next_instr;
  |  | 5820|  5.42k|            next_instr += 1;
  |  | 5821|  5.42k|            INSTRUCTION_STATS(COPY);
  |  |  ------------------
  |  |  |  |   71|  5.42k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5822|  5.42k|            _PyStackRef bottom;
  |  | 5823|  5.42k|            _PyStackRef top;
  |  | 5824|  5.42k|            bottom = stack_pointer[-1 - (oparg-1)];
  |  | 5825|  5.42k|            top = PyStackRef_DUP(bottom);
  |  | 5826|  5.42k|            stack_pointer[0] = top;
  |  | 5827|  5.42k|            stack_pointer += 1;
  |  | 5828|  5.42k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.42k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5829|  5.42k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.42k|    { \
  |  |  |  |  201|  5.42k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.42k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.42k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.42k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  5.42k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.42k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.42k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.42k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.42k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.42k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.42k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.42k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.42k|    }
  |  |  ------------------
  |  | 5830|  5.42k|        }
  |  | 5831|       |
  |  | 5832|  5.42k|        TARGET(COPY_FREE_VARS) {
  |  |  ------------------
  |  |  |  |  132|  2.50k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5833|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5834|       |            int opcode = COPY_FREE_VARS;
  |  | 5835|       |            (void)(opcode);
  |  | 5836|       |            #endif
  |  | 5837|  2.50k|            frame->instr_ptr = next_instr;
  |  | 5838|  2.50k|            next_instr += 1;
  |  | 5839|  2.50k|            INSTRUCTION_STATS(COPY_FREE_VARS);
  |  |  ------------------
  |  |  |  |   71|  2.50k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5840|  2.50k|            PyCodeObject *co = _PyFrame_GetCode(frame);
  |  | 5841|  2.50k|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  |  ------------------
  |  |  |  Branch (5841:13): [True: 2.50k, False: 0]
  |  |  ------------------
  |  | 5842|  2.50k|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  | 5843|  2.50k|            PyObject *closure = func->func_closure;
  |  | 5844|  2.50k|            assert(oparg == co->co_nfreevars);
  |  |  ------------------
  |  |  |  Branch (5844:13): [True: 2.50k, False: 0]
  |  |  ------------------
  |  | 5845|  2.50k|            int offset = co->co_nlocalsplus - oparg;
  |  | 5846|  5.36k|            for (int i = 0; i < oparg; ++i) {
  |  |  ------------------
  |  |  |  Branch (5846:29): [True: 2.86k, False: 2.50k]
  |  |  ------------------
  |  | 5847|  2.86k|                PyObject *o = PyTuple_GET_ITEM(closure, i);
  |  |  ------------------
  |  |  |  |   29|  2.86k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  2.86k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5847:31): [True: 2.86k, False: 0]
  |  |  ------------------
  |  | 5848|  2.86k|                frame->localsplus[offset + i] = PyStackRef_FromPyObjectNew(o);
  |  |  ------------------
  |  |  |  |  611|  2.86k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5849|  2.86k|            }
  |  | 5850|  2.50k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.50k|    { \
  |  |  |  |  201|  2.50k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.50k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.50k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.50k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.50k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.50k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.50k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.50k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.50k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.50k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.50k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.50k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.50k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.50k|    }
  |  |  ------------------
  |  | 5851|  2.50k|        }
  |  | 5852|       |
  |  | 5853|      0|        TARGET(DELETE_DEREF) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5854|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5855|       |            int opcode = DELETE_DEREF;
  |  | 5856|       |            (void)(opcode);
  |  | 5857|       |            #endif
  |  | 5858|      0|            frame->instr_ptr = next_instr;
  |  | 5859|      0|            next_instr += 1;
  |  | 5860|      0|            INSTRUCTION_STATS(DELETE_DEREF);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5861|      0|            PyObject *cell = PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|      0|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5862|      0|            PyObject *oldobj = PyCell_SwapTakeRef((PyCellObject *)cell, NULL);
  |  | 5863|      0|            if (oldobj == NULL) {
  |  |  ------------------
  |  |  |  Branch (5863:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5864|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5865|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5866|      0|                _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 5867|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5868|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5869|      0|            }
  |  | 5870|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5871|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5872|      0|            Py_DECREF(oldobj);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5873|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5874|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 5875|      0|        }
  |  | 5876|       |
  |  | 5877|      4|        TARGET(DELETE_FAST) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5878|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5879|       |            int opcode = DELETE_FAST;
  |  | 5880|       |            (void)(opcode);
  |  | 5881|       |            #endif
  |  | 5882|      4|            frame->instr_ptr = next_instr;
  |  | 5883|      4|            next_instr += 1;
  |  | 5884|      4|            INSTRUCTION_STATS(DELETE_FAST);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5885|      4|            _PyStackRef v = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|      4|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5886|      4|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|      4|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      4|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      4|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5887|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5888|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5889|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_UnboundLocalError,
  |  | 5890|      0|                    UNBOUNDLOCAL_ERROR_MSG,
  |  |  ------------------
  |  |  |  |  401|      0|    "cannot access local variable '%s' where it is not associated with a value"
  |  |  ------------------
  |  | 5891|      0|                    PyTuple_GetItem(_PyFrame_GetCode(frame)->co_localsplusnames, oparg)
  |  | 5892|      0|                );
  |  | 5893|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5894|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5895|      0|            }
  |  | 5896|      4|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|      4|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5897|      4|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  285|      4|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5898|      4|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5899|      4|            _PyFrame_StackPointerValidate(frame);
  |  | 5900|      4|            PyStackRef_XCLOSE(tmp);
  |  | 5901|      4|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5902|      4|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      4|    { \
  |  |  |  |  201|      4|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      4|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      4|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      4|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      4|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      4|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      4|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      4|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      4|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      4|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      4|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      4|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      4|    }
  |  |  ------------------
  |  | 5903|      4|        }
  |  | 5904|       |
  |  | 5905|    470|        TARGET(DELETE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|    470|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5906|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5907|       |            int opcode = DELETE_SUBSCR;
  |  | 5908|       |            (void)(opcode);
  |  | 5909|       |            #endif
  |  | 5910|    470|            frame->instr_ptr = next_instr;
  |  | 5911|    470|            next_instr += 1;
  |  | 5912|    470|            INSTRUCTION_STATS(DELETE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|    470|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5913|    470|            _PyStackRef container;
  |  | 5914|    470|            _PyStackRef sub;
  |  | 5915|    470|            sub = stack_pointer[-1];
  |  | 5916|    470|            container = stack_pointer[-2];
  |  | 5917|    470|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5918|    470|            _PyFrame_StackPointerValidate(frame);
  |  | 5919|    470|            int err = PyObject_DelItem(PyStackRef_AsPyObjectBorrow(container),
  |  | 5920|    470|                                       PyStackRef_AsPyObjectBorrow(sub));
  |  | 5921|    470|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5922|    470|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5922:13): [True: 470, False: 0]
  |  |  ------------------
  |  | 5923|    470|            _PyFrame_StackPointerValidate(frame);
  |  | 5924|    470|            _PyStackRef tmp = sub;
  |  | 5925|    470|            sub = PyStackRef_NULL;
  |  | 5926|    470|            stack_pointer[-1] = sub;
  |  | 5927|    470|            PyStackRef_CLOSE(tmp);
  |  | 5928|    470|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5929|    470|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5929:13): [True: 470, False: 0]
  |  |  ------------------
  |  | 5930|    470|            _PyFrame_StackPointerValidate(frame);
  |  | 5931|    470|            tmp = container;
  |  | 5932|    470|            container = PyStackRef_NULL;
  |  | 5933|    470|            stack_pointer[-2] = container;
  |  | 5934|    470|            PyStackRef_CLOSE(tmp);
  |  | 5935|    470|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5936|    470|            stack_pointer += -2;
  |  | 5937|    470|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    470|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5938|    470|            if (err) {
  |  |  ------------------
  |  |  |  Branch (5938:17): [True: 0, False: 470]
  |  |  ------------------
  |  | 5939|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5940|      0|            }
  |  | 5941|    470|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    470|    { \
  |  |  |  |  201|    470|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    470|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    470|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    470|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    470|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    470|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    470|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    470|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 470]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    470|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    470|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    470|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    470|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    470|    }
  |  |  ------------------
  |  | 5942|    470|        }
  |  | 5943|       |
  |  | 5944|    842|        TARGET(DICT_MERGE) {
  |  |  ------------------
  |  |  |  |  132|    842|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5945|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5946|       |            int opcode = DICT_MERGE;
  |  | 5947|       |            (void)(opcode);
  |  | 5948|       |            #endif
  |  | 5949|    842|            frame->instr_ptr = next_instr;
  |  | 5950|    842|            next_instr += 1;
  |  | 5951|    842|            INSTRUCTION_STATS(DICT_MERGE);
  |  |  ------------------
  |  |  |  |   71|    842|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5952|    842|            _PyStackRef callable;
  |  | 5953|    842|            _PyStackRef dict;
  |  | 5954|    842|            _PyStackRef update;
  |  | 5955|    842|            _PyStackRef u;
  |  | 5956|    842|            _PyStackRef value;
  |  | 5957|       |            // _DICT_MERGE
  |  | 5958|    842|            {
  |  | 5959|    842|                update = stack_pointer[-1];
  |  | 5960|    842|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 5961|    842|                callable = stack_pointer[-5 - (oparg - 1)];
  |  | 5962|    842|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 5963|    842|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 5964|    842|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 5965|    842|                PyObject *dupkey = NULL;
  |  | 5966|    842|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5967|    842|                _PyFrame_StackPointerValidate(frame);
  |  | 5968|    842|                int err = _PyDict_MergeUniq(dict_o, update_o, &dupkey);
  |  | 5969|    842|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5970|    842|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5970:21): [True: 0, False: 842]
  |  |  ------------------
  |  | 5971|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5971:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5972|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 5973|      0|                    _PyEval_FormatKwargsError(tstate, callable_o, update_o, dupkey);
  |  | 5974|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5975|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5975:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5976|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 5977|      0|                    Py_XDECREF(dupkey);
  |  |  ------------------
  |  |  |  |   69|      0|    do { \
  |  |  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|      0|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   72|      0|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|      0|        } \
  |  |  |  |   74|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5978|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5979|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5980|      0|                }
  |  | 5981|    842|                u = update;
  |  | 5982|    842|            }
  |  | 5983|       |            // _POP_TOP
  |  | 5984|      0|            {
  |  | 5985|    842|                value = u;
  |  | 5986|    842|                stack_pointer += -1;
  |  | 5987|    842|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    842|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5988|    842|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5989|    842|                _PyFrame_StackPointerValidate(frame);
  |  | 5990|    842|                PyStackRef_XCLOSE(value);
  |  | 5991|    842|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5992|    842|            }
  |  | 5993|    842|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    842|    { \
  |  |  |  |  201|    842|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    842|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    842|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    842|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    842|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    842|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    842|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    842|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 842]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    842|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    842|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    842|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    842|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    842|    }
  |  |  ------------------
  |  | 5994|    842|        }
  |  | 5995|       |
  |  | 5996|    419|        TARGET(DICT_UPDATE) {
  |  |  ------------------
  |  |  |  |  132|    419|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5997|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5998|       |            int opcode = DICT_UPDATE;
  |  | 5999|       |            (void)(opcode);
  |  | 6000|       |            #endif
  |  | 6001|    419|            frame->instr_ptr = next_instr;
  |  | 6002|    419|            next_instr += 1;
  |  | 6003|    419|            INSTRUCTION_STATS(DICT_UPDATE);
  |  |  ------------------
  |  |  |  |   71|    419|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6004|    419|            _PyStackRef dict;
  |  | 6005|    419|            _PyStackRef update;
  |  | 6006|    419|            _PyStackRef upd;
  |  | 6007|    419|            _PyStackRef value;
  |  | 6008|       |            // _DICT_UPDATE
  |  | 6009|    419|            {
  |  | 6010|    419|                update = stack_pointer[-1];
  |  | 6011|    419|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 6012|    419|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 6013|    419|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 6014|    419|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6015|    419|                _PyFrame_StackPointerValidate(frame);
  |  | 6016|    419|                int err = PyDict_Update(dict_o, update_o);
  |  | 6017|    419|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6018|    419|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (6018:21): [True: 0, False: 419]
  |  |  ------------------
  |  | 6019|      0|                    int matches = _PyErr_ExceptionMatches(tstate, PyExc_AttributeError);
  |  | 6020|      0|                    if (matches) {
  |  |  ------------------
  |  |  |  Branch (6020:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 6021|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6021:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 6022|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 6023|      0|                        PyObject *exc = _PyErr_GetRaisedException(tstate);
  |  | 6024|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 6025|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6025:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 6026|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 6027|      0|                        int has_keys = PyObject_HasAttrWithError(update_o, &_Py_ID(keys));
  |  |  ------------------
  |  |  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6028|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 6029|      0|                        if (has_keys == 0) {
  |  |  ------------------
  |  |  |  Branch (6029:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6030|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6030:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6031|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 6032|      0|                            _PyErr_Format(tstate, PyExc_TypeError,
  |  | 6033|      0|                                      "'%T' object is not a mapping",
  |  | 6034|      0|                                      update_o);
  |  | 6035|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 6036|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6036:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6037|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 6038|      0|                            Py_DECREF(exc);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6039|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 6040|      0|                        }
  |  | 6041|      0|                        else {
  |  | 6042|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6042:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 6043|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 6044|      0|                            _PyErr_ChainExceptions1(exc);
  |  | 6045|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 6046|      0|                        }
  |  | 6047|      0|                    }
  |  | 6048|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6049|      0|                }
  |  | 6050|    419|                upd = update;
  |  | 6051|    419|            }
  |  | 6052|       |            // _POP_TOP
  |  | 6053|      0|            {
  |  | 6054|    419|                value = upd;
  |  | 6055|    419|                stack_pointer += -1;
  |  | 6056|    419|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    419|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6057|    419|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6058|    419|                _PyFrame_StackPointerValidate(frame);
  |  | 6059|    419|                PyStackRef_XCLOSE(value);
  |  | 6060|    419|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6061|    419|            }
  |  | 6062|    419|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    419|    { \
  |  |  |  |  201|    419|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    419|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    419|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    419|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    419|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    419|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    419|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    419|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 419]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    419|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    419|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    419|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    419|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    419|    }
  |  |  ------------------
  |  | 6063|    419|        }
  |  | 6064|       |
  |  | 6065|      0|        TARGET(END_ASYNC_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6066|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6067|       |            int opcode = END_ASYNC_FOR;
  |  | 6068|       |            (void)(opcode);
  |  | 6069|       |            #endif
  |  | 6070|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6071|      0|            (void)this_instr;
  |  | 6072|      0|            frame->instr_ptr = next_instr;
  |  | 6073|      0|            next_instr += 1;
  |  | 6074|      0|            INSTRUCTION_STATS(END_ASYNC_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6075|      0|            _PyStackRef awaitable_st;
  |  | 6076|      0|            _PyStackRef exc_st;
  |  | 6077|      0|            exc_st = stack_pointer[-1];
  |  | 6078|      0|            awaitable_st = stack_pointer[-2];
  |  | 6079|      0|            JUMPBY(0);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6080|      0|            (void)oparg;
  |  | 6081|      0|            PyObject *exc = PyStackRef_AsPyObjectBorrow(exc_st);
  |  | 6082|      0|            assert(exc && PyExceptionInstance_Check(exc));
  |  |  ------------------
  |  |  |  Branch (6082:13): [True: 0, False: 0]
  |  |  |  Branch (6082:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 6083|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6084|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6085|      0|            int matches = PyErr_GivenExceptionMatches(exc, PyExc_StopAsyncIteration);
  |  | 6086|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6087|      0|            if (matches) {
  |  |  ------------------
  |  |  |  Branch (6087:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6088|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6088:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6089|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6090|      0|                _PyStackRef tmp = exc_st;
  |  | 6091|      0|                exc_st = PyStackRef_NULL;
  |  | 6092|      0|                stack_pointer[-1] = exc_st;
  |  | 6093|      0|                PyStackRef_CLOSE(tmp);
  |  | 6094|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6095|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6095:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6096|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6097|      0|                tmp = awaitable_st;
  |  | 6098|      0|                awaitable_st = PyStackRef_NULL;
  |  | 6099|      0|                stack_pointer[-2] = awaitable_st;
  |  | 6100|      0|                PyStackRef_CLOSE(tmp);
  |  | 6101|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6102|      0|                stack_pointer += -2;
  |  | 6103|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6104|      0|            }
  |  | 6105|      0|            else {
  |  | 6106|      0|                Py_INCREF(exc);
  |  |  ------------------
  |  |  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6107|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6107:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6108|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6109|      0|                _PyErr_SetRaisedException(tstate, exc);
  |  | 6110|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6111|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6111:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6112|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6113|      0|                monitor_reraise(tstate, frame, this_instr);
  |  | 6114|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6115|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6115:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6116|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6117|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6118|      0|            }
  |  | 6119|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6120|      0|        }
  |  | 6121|       |
  |  | 6122|     42|        TARGET(END_FOR) {
  |  |  ------------------
  |  |  |  |  132|     42|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6123|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6124|       |            int opcode = END_FOR;
  |  | 6125|       |            (void)(opcode);
  |  | 6126|       |            #endif
  |  | 6127|     42|            next_instr += 1;
  |  | 6128|     42|            INSTRUCTION_STATS(END_FOR);
  |  |  ------------------
  |  |  |  |   71|     42|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6129|     42|            _PyStackRef value;
  |  | 6130|     42|            value = stack_pointer[-1];
  |  | 6131|     42|            stack_pointer += -1;
  |  | 6132|     42|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     42|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6133|     42|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6134|     42|            _PyFrame_StackPointerValidate(frame);
  |  | 6135|     42|            PyStackRef_CLOSE(value);
  |  | 6136|     42|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6137|     42|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     42|    { \
  |  |  |  |  201|     42|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     42|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     42|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     42|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     42|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     42|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     42|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     42|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 42]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     42|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     42|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     42|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     42|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     42|    }
  |  |  ------------------
  |  | 6138|     42|        }
  |  | 6139|       |
  |  | 6140|     42|        TARGET(END_SEND) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6141|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6142|       |            int opcode = END_SEND;
  |  | 6143|       |            (void)(opcode);
  |  | 6144|       |            #endif
  |  | 6145|      2|            frame->instr_ptr = next_instr;
  |  | 6146|      2|            next_instr += 1;
  |  | 6147|      2|            INSTRUCTION_STATS(END_SEND);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6148|      2|            _PyStackRef receiver;
  |  | 6149|      2|            _PyStackRef index_or_null;
  |  | 6150|      2|            _PyStackRef value;
  |  | 6151|      2|            _PyStackRef val;
  |  | 6152|      2|            value = stack_pointer[-1];
  |  | 6153|      2|            index_or_null = stack_pointer[-2];
  |  | 6154|      2|            receiver = stack_pointer[-3];
  |  | 6155|      2|            val = value;
  |  | 6156|      2|            (void)index_or_null;
  |  | 6157|      2|            stack_pointer[-3] = val;
  |  | 6158|      2|            stack_pointer += -2;
  |  | 6159|      2|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      2|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6160|      2|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6161|      2|            _PyFrame_StackPointerValidate(frame);
  |  | 6162|      2|            PyStackRef_CLOSE(receiver);
  |  | 6163|      2|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6164|      2|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      2|    { \
  |  |  |  |  201|      2|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      2|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      2|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      2|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      2|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      2|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      2|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      2|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      2|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      2|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      2|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      2|    }
  |  |  ------------------
  |  | 6165|      2|        }
  |  | 6166|       |
  |  | 6167|      2|        TARGET(ENTER_EXECUTOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6168|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6169|       |            int opcode = ENTER_EXECUTOR;
  |  | 6170|       |            (void)(opcode);
  |  | 6171|       |            #endif
  |  | 6172|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6173|      0|            (void)this_instr;
  |  | 6174|      0|            frame->instr_ptr = next_instr;
  |  | 6175|      0|            next_instr += 1;
  |  | 6176|      0|            INSTRUCTION_STATS(ENTER_EXECUTOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6177|      0|            opcode = ENTER_EXECUTOR;
  |  |  ------------------
  |  |  |  |  242|      0|#define ENTER_EXECUTOR                         254
  |  |  ------------------
  |  | 6178|       |            #ifdef _Py_TIER2
  |  | 6179|       |            PyCodeObject *code = _PyFrame_GetCode(frame);
  |  | 6180|       |            _PyExecutorObject *executor = code->co_executors->executors[oparg & 255];
  |  | 6181|       |            if (IS_JIT_TRACING()) {
  |  | 6182|       |                int og_opcode = executor->vm_data.opcode;
  |  | 6183|       |                int og_oparg = (oparg & ~255) | executor->vm_data.oparg;
  |  | 6184|       |                next_instr = this_instr;
  |  | 6185|       |                if (_PyJit_EnterExecutorShouldStopTracing(og_opcode)) {
  |  | 6186|       |                    if (_PyOpcode_Caches[_PyOpcode_Deopt[og_opcode]]) {
  |  | 6187|       |                        PAUSE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 6188|       |                    }
  |  | 6189|       |                    opcode = og_opcode;
  |  | 6190|       |                    oparg = og_oparg;
  |  | 6191|       |                    DISPATCH_GOTO_NON_TRACING();
  |  | 6192|       |                }
  |  | 6193|       |                JUMP_TO_LABEL(stop_tracing);
  |  | 6194|       |            }
  |  | 6195|       |            assert(executor->vm_data.index == INSTR_OFFSET() - 1);
  |  | 6196|       |            assert(executor->vm_data.code == code);
  |  | 6197|       |            assert(executor->vm_data.valid);
  |  | 6198|       |            assert(tstate->current_executor == NULL);
  |  | 6199|       |            uintptr_t iversion = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(code->_co_instrumentation_version);
  |  | 6200|       |            if (_Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) != iversion) {
  |  | 6201|       |                opcode = executor->vm_data.opcode;
  |  | 6202|       |                oparg = (oparg & ~255) | executor->vm_data.oparg;
  |  | 6203|       |                next_instr = this_instr;
  |  | 6204|       |                if (_PyOpcode_Caches[_PyOpcode_Deopt[opcode]]) {
  |  | 6205|       |                    PAUSE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 6206|       |                }
  |  | 6207|       |                DISPATCH_GOTO();
  |  | 6208|       |            }
  |  | 6209|       |            assert(executor != tstate->interp->cold_executor);
  |  | 6210|       |            tstate->jit_exit = NULL;
  |  | 6211|       |            TIER1_TO_TIER2(executor);
  |  | 6212|       |            #else
  |  | 6213|      0|            Py_FatalError("ENTER_EXECUTOR is not supported in this build");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  | 6214|      0|            #endif /* _Py_TIER2 */
  |  | 6215|      0|        }
  |  | 6216|       |
  |  | 6217|  1.08k|        TARGET(EXIT_INIT_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  1.08k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6218|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6219|       |            int opcode = EXIT_INIT_CHECK;
  |  | 6220|       |            (void)(opcode);
  |  | 6221|       |            #endif
  |  | 6222|  1.08k|            frame->instr_ptr = next_instr;
  |  | 6223|  1.08k|            next_instr += 1;
  |  | 6224|  1.08k|            INSTRUCTION_STATS(EXIT_INIT_CHECK);
  |  |  ------------------
  |  |  |  |   71|  1.08k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6225|  1.08k|            _PyStackRef should_be_none;
  |  | 6226|  1.08k|            should_be_none = stack_pointer[-1];
  |  | 6227|  1.08k|            if (!PyStackRef_IsNone(should_be_none)) {
  |  |  ------------------
  |  |  |  |  495|  1.08k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.08k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6227:17): [True: 0, False: 1.08k]
  |  |  ------------------
  |  | 6228|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6229|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6230|      0|                PyErr_Format(PyExc_TypeError,
  |  | 6231|      0|                             "__init__() should return None, not '%.200s'",
  |  | 6232|      0|                             Py_TYPE(PyStackRef_AsPyObjectBorrow(should_be_none))->tp_name);
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6233|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6234|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6235|      0|            }
  |  | 6236|  1.08k|            stack_pointer += -1;
  |  | 6237|  1.08k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.08k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6238|  1.08k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.08k|    { \
  |  |  |  |  201|  1.08k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.08k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.08k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.08k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.08k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.08k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.08k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.08k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.08k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.08k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.08k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.08k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.08k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.08k|    }
  |  |  ------------------
  |  | 6239|  1.08k|        }
  |  | 6240|       |
  |  | 6241|  2.24k|        TARGET(EXTENDED_ARG) {
  |  |  ------------------
  |  |  |  |  132|  2.24k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6242|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6243|       |            int opcode = EXTENDED_ARG;
  |  | 6244|       |            (void)(opcode);
  |  | 6245|       |            #endif
  |  | 6246|  2.24k|            frame->instr_ptr = next_instr;
  |  | 6247|  2.24k|            next_instr += 1;
  |  | 6248|  2.24k|            INSTRUCTION_STATS(EXTENDED_ARG);
  |  |  ------------------
  |  |  |  |   71|  2.24k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6249|  2.24k|            opcode = EXTENDED_ARG;
  |  |  ------------------
  |  |  |  |   77|  2.24k|#define EXTENDED_ARG                            64
  |  |  ------------------
  |  | 6250|  2.24k|            assert(oparg);
  |  |  ------------------
  |  |  |  Branch (6250:13): [True: 2.24k, False: 0]
  |  |  ------------------
  |  | 6251|  2.24k|            opcode = next_instr->op.code;
  |  | 6252|  2.24k|            oparg = oparg << 8 | next_instr->op.arg;
  |  | 6253|  2.24k|            PRE_DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  176|  2.24k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  ------------------
  |  | 6254|  2.24k|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|  2.24k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 6255|  2.24k|        }
  |  | 6256|       |
  |  | 6257|    918|        TARGET(FORMAT_SIMPLE) {
  |  |  ------------------
  |  |  |  |  132|    918|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6258|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6259|       |            int opcode = FORMAT_SIMPLE;
  |  | 6260|       |            (void)(opcode);
  |  | 6261|       |            #endif
  |  | 6262|    918|            frame->instr_ptr = next_instr;
  |  | 6263|    918|            next_instr += 1;
  |  | 6264|    918|            INSTRUCTION_STATS(FORMAT_SIMPLE);
  |  |  ------------------
  |  |  |  |   71|    918|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6265|    918|            _PyStackRef value;
  |  | 6266|    918|            _PyStackRef res;
  |  | 6267|    918|            value = stack_pointer[-1];
  |  | 6268|    918|            PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 6269|    918|            if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|    918|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    918|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    918|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    918|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6269:17): [True: 26, False: 892]
  |  |  ------------------
  |  | 6270|     26|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6271|     26|                _PyFrame_StackPointerValidate(frame);
  |  | 6272|     26|                PyObject *res_o = PyObject_Format(value_o, NULL);
  |  | 6273|     26|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6274|     26|                stack_pointer += -1;
  |  | 6275|     26|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     26|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6276|     26|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6277|     26|                _PyFrame_StackPointerValidate(frame);
  |  | 6278|     26|                PyStackRef_CLOSE(value);
  |  | 6279|     26|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6280|     26|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6280:21): [True: 0, False: 26]
  |  |  ------------------
  |  | 6281|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6282|      0|                }
  |  | 6283|     26|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6284|     26|            }
  |  | 6285|    892|            else {
  |  | 6286|    892|                res = value;
  |  | 6287|    892|                stack_pointer += -1;
  |  | 6288|    892|            }
  |  | 6289|    918|            stack_pointer[0] = res;
  |  | 6290|    918|            stack_pointer += 1;
  |  | 6291|    918|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    918|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6292|    918|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    918|    { \
  |  |  |  |  201|    918|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    918|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    918|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    918|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    918|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    918|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    918|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    918|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 918]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    918|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    918|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    918|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    918|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    918|    }
  |  |  ------------------
  |  | 6293|    918|        }
  |  | 6294|       |
  |  | 6295|      0|        TARGET(FORMAT_WITH_SPEC) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6296|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6297|       |            int opcode = FORMAT_WITH_SPEC;
  |  | 6298|       |            (void)(opcode);
  |  | 6299|       |            #endif
  |  | 6300|      0|            frame->instr_ptr = next_instr;
  |  | 6301|      0|            next_instr += 1;
  |  | 6302|      0|            INSTRUCTION_STATS(FORMAT_WITH_SPEC);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6303|      0|            _PyStackRef value;
  |  | 6304|      0|            _PyStackRef fmt_spec;
  |  | 6305|      0|            _PyStackRef res;
  |  | 6306|      0|            fmt_spec = stack_pointer[-1];
  |  | 6307|      0|            value = stack_pointer[-2];
  |  | 6308|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6309|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6310|      0|            PyObject *res_o = PyObject_Format(PyStackRef_AsPyObjectBorrow(value), PyStackRef_AsPyObjectBorrow(fmt_spec));
  |  | 6311|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6312|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6312:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 6313|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6314|      0|            _PyStackRef tmp = fmt_spec;
  |  | 6315|      0|            fmt_spec = PyStackRef_NULL;
  |  | 6316|      0|            stack_pointer[-1] = fmt_spec;
  |  | 6317|      0|            PyStackRef_CLOSE(tmp);
  |  | 6318|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6319|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6319:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 6320|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6321|      0|            tmp = value;
  |  | 6322|      0|            value = PyStackRef_NULL;
  |  | 6323|      0|            stack_pointer[-2] = value;
  |  | 6324|      0|            PyStackRef_CLOSE(tmp);
  |  | 6325|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6326|      0|            stack_pointer += -2;
  |  | 6327|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6328|      0|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6328:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6329|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6330|      0|            }
  |  | 6331|      0|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6332|      0|            stack_pointer[0] = res;
  |  | 6333|      0|            stack_pointer += 1;
  |  | 6334|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6335|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6336|      0|        }
  |  | 6337|       |
  |  | 6338|    614|        TARGET(FOR_ITER) {
  |  |  ------------------
  |  |  |  |  132|    614|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6339|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6340|       |            int opcode = FOR_ITER;
  |  | 6341|       |            (void)(opcode);
  |  | 6342|       |            #endif
  |  | 6343|    614|            frame->instr_ptr = next_instr;
  |  | 6344|    614|            next_instr += 2;
  |  | 6345|    614|            INSTRUCTION_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |   71|    614|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6346|    674|            PREDICTED_FOR_ITER:;
  |  | 6347|    674|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6348|    674|            (void)this_instr;
  |  | 6349|    674|            _PyStackRef iter;
  |  | 6350|    674|            _PyStackRef null_or_index;
  |  | 6351|    674|            _PyStackRef next;
  |  | 6352|       |            // _SPECIALIZE_FOR_ITER
  |  | 6353|    674|            {
  |  | 6354|    674|                null_or_index = stack_pointer[-1];
  |  | 6355|    674|                iter = stack_pointer[-2];
  |  | 6356|    674|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6357|    674|                (void)counter;
  |  | 6358|    674|                #if ENABLE_SPECIALIZATION
  |  | 6359|    674|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    674|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 140, False: 534]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6360|    140|                    next_instr = this_instr;
  |  | 6361|    140|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6362|    140|                    _PyFrame_StackPointerValidate(frame);
  |  | 6363|    140|                    _Py_Specialize_ForIter(iter, null_or_index, next_instr, oparg);
  |  | 6364|    140|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 6365|    140|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    140|    { \
  |  |  |  |  217|    140|        opcode = next_instr->op.code; \
  |  |  |  |  218|    140|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    140|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    140|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    140|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    140|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    140|    }
  |  |  ------------------
  |  | 6366|    140|                }
  |  | 6367|    674|                OPCODE_DEFERRED_INC(FOR_ITER);
  |  |  ------------------
  |  |  |  |   90|    674|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6368|    674|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    674|    do { \
  |  |  |  |  378|    674|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    674|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 674]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6369|    674|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6370|    674|            }
  |  | 6371|       |            // _FOR_ITER
  |  | 6372|    674|            {
  |  | 6373|    674|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6374|    674|                _PyFrame_StackPointerValidate(frame);
  |  | 6375|    674|                _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, iter, &null_or_index);
  |  | 6376|    674|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6377|    674|                if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (6377:21): [True: 98, False: 576]
  |  |  ------------------
  |  | 6378|     98|                    if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (6378:25): [True: 0, False: 98]
  |  |  ------------------
  |  | 6379|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6380|      0|                    }
  |  | 6381|     98|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|     98|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6382|     98|                    stack_pointer[-1] = null_or_index;
  |  | 6383|     98|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     98|    { \
  |  |  |  |  201|     98|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     98|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     98|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     98|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     98|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     98|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     98|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     98|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 98]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     98|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     98|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     98|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     98|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     98|    }
  |  |  ------------------
  |  | 6384|     98|                }
  |  | 6385|    674|                next = item;
  |  | 6386|    674|            }
  |  | 6387|      0|            stack_pointer[-1] = null_or_index;
  |  | 6388|    674|            stack_pointer[0] = next;
  |  | 6389|    674|            stack_pointer += 1;
  |  | 6390|    674|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    674|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6391|    674|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    674|    { \
  |  |  |  |  201|    674|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    674|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    674|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    674|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    674|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    674|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    674|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    674|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 674]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    674|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    674|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    674|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    674|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    674|    }
  |  |  ------------------
  |  | 6392|    674|        }
  |  | 6393|       |
  |  | 6394|     77|        TARGET(FOR_ITER_GEN) {
  |  |  ------------------
  |  |  |  |  132|     77|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6395|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6396|       |            int opcode = FOR_ITER_GEN;
  |  | 6397|       |            (void)(opcode);
  |  | 6398|       |            #endif
  |  | 6399|     77|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6400|     77|            (void)this_instr;
  |  | 6401|     77|            frame->instr_ptr = next_instr;
  |  | 6402|     77|            next_instr += 2;
  |  | 6403|     77|            INSTRUCTION_STATS(FOR_ITER_GEN);
  |  |  ------------------
  |  |  |  |   71|     77|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6404|     77|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6405|     77|            _PyStackRef iter;
  |  | 6406|     77|            _PyStackRef gen_frame;
  |  | 6407|     77|            _PyStackRef new_frame;
  |  | 6408|       |            /* Skip 1 cache entry */
  |  | 6409|       |            // _CHECK_PEP_523
  |  | 6410|     77|            {
  |  | 6411|     77|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|     77|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 77]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6412|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6413|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6413:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6414|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6415|      0|                }
  |  | 6416|     77|            }
  |  | 6417|       |            // _FOR_ITER_GEN_FRAME
  |  | 6418|     77|            {
  |  | 6419|     77|                iter = stack_pointer[-2];
  |  | 6420|     77|                PyGenObject *gen = (PyGenObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6421|     77|                if (Py_TYPE(gen) != &PyGen_Type) {
  |  |  ------------------
  |  |  |  |  213|     77|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6421:21): [True: 0, False: 77]
  |  |  ------------------
  |  | 6422|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6423|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6423:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6424|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6425|      0|                }
  |  | 6426|     77|                if (!gen_try_set_executing((PyGenObject *)gen)) {
  |  |  ------------------
  |  |  |  Branch (6426:21): [True: 0, False: 77]
  |  |  ------------------
  |  | 6427|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6428|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6428:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6429|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6430|      0|                }
  |  | 6431|     77|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|     77|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6432|     77|                _PyInterpreterFrame *pushed_frame = &gen->gi_iframe;
  |  | 6433|     77|                _PyFrame_StackPush(pushed_frame, PyStackRef_None);
  |  |  ------------------
  |  |  |  |  485|     77|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     77|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6434|     77|                gen->gi_exc_state.previous_item = tstate->exc_info;
  |  | 6435|     77|                tstate->exc_info = &gen->gi_exc_state;
  |  | 6436|     77|                pushed_frame->previous = frame;
  |  | 6437|     77|                frame->return_offset = (uint16_t)( 2u + oparg);
  |  | 6438|     77|                gen_frame = PyStackRef_Wrap(pushed_frame);
  |  | 6439|     77|            }
  |  | 6440|       |            // _PUSH_FRAME
  |  | 6441|      0|            {
  |  | 6442|     77|                new_frame = gen_frame;
  |  | 6443|     77|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (6443:17): [True: 77, False: 0]
  |  |  ------------------
  |  | 6444|     77|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 6445|     77|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6446|     77|                _PyFrame_StackPointerValidate(frame);
  |  | 6447|     77|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (6447:17): [True: 77, False: 0]
  |  |  |  Branch (6447:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6448|     77|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|     77|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 6449|     77|                frame = tstate->current_frame = temp;
  |  | 6450|     77|                tstate->py_recursion_remaining--;
  |  | 6451|     77|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6452|     77|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6453|     77|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|     77|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|     77|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|     77|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 77]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6454|       |                #ifdef Py_DEBUG
  |  | 6455|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 6456|       |                #endif
  |  | 6457|     77|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|     77|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 6458|     77|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|     77|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 6459|     77|            }
  |  | 6460|     77|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     77|    { \
  |  |  |  |  201|     77|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     77|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     77|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     77|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     77|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     77|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     77|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     77|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 77]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     77|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     77|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     77|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     77|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     77|    }
  |  |  ------------------
  |  | 6461|     77|        }
  |  | 6462|       |
  |  | 6463|  8.39k|        TARGET(FOR_ITER_LIST) {
  |  |  ------------------
  |  |  |  |  132|  8.39k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6464|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6465|       |            int opcode = FOR_ITER_LIST;
  |  | 6466|       |            (void)(opcode);
  |  | 6467|       |            #endif
  |  | 6468|  8.39k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6469|  8.39k|            (void)this_instr;
  |  | 6470|  8.39k|            frame->instr_ptr = next_instr;
  |  | 6471|  8.39k|            next_instr += 2;
  |  | 6472|  8.39k|            INSTRUCTION_STATS(FOR_ITER_LIST);
  |  |  ------------------
  |  |  |  |   71|  8.39k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6473|  8.39k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6474|  8.39k|            _PyStackRef iter;
  |  | 6475|  8.39k|            _PyStackRef null_or_index;
  |  | 6476|  8.39k|            _PyStackRef next;
  |  | 6477|       |            /* Skip 1 cache entry */
  |  | 6478|       |            // _ITER_CHECK_LIST
  |  | 6479|  8.39k|            {
  |  | 6480|  8.39k|                null_or_index = stack_pointer[-1];
  |  | 6481|  8.39k|                iter = stack_pointer[-2];
  |  | 6482|  8.39k|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6483|  8.39k|                if (Py_TYPE(iter_o) != &PyList_Type) {
  |  |  ------------------
  |  |  |  |  213|  8.39k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6483:21): [True: 52, False: 8.33k]
  |  |  ------------------
  |  | 6484|     52|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|     52|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6485|     52|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6485:21): [True: 52, False: 0]
  |  |  ------------------
  |  | 6486|     52|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|     52|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6487|      0|                }
  |  | 6488|  8.39k|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  |  ------------------
  |  |  |  Branch (6488:17): [True: 8.33k, False: 0]
  |  |  ------------------
  |  | 6489|       |                #ifdef Py_GIL_DISABLED
  |  | 6490|       |                if (!_Py_IsOwnedByCurrentThread(iter_o) && !_PyObject_GC_IS_SHARED(iter_o)) {
  |  | 6491|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6492|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6493|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6494|       |                }
  |  | 6495|       |                #endif
  |  | 6496|  8.33k|            }
  |  | 6497|       |            // _ITER_JUMP_LIST
  |  | 6498|  8.33k|            {
  |  | 6499|       |                #ifdef Py_GIL_DISABLED
  |  | 6500|       |
  |  | 6501|       |                #else
  |  | 6502|  8.33k|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6503|  8.33k|                assert(Py_TYPE(list_o) == &PyList_Type);
  |  |  ------------------
  |  |  |  Branch (6503:17): [True: 8.33k, False: 0]
  |  |  ------------------
  |  | 6504|  8.33k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  8.33k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6505|  8.33k|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyList_GET_SIZE(list_o)) {
  |  |  ------------------
  |  |  |  |   38|  8.33k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6505:21): [True: 1.48k, False: 6.85k]
  |  |  ------------------
  |  | 6506|  1.48k|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6507|  1.48k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|  1.48k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6508|  1.48k|                    stack_pointer[-1] = null_or_index;
  |  | 6509|  1.48k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.48k|    { \
  |  |  |  |  201|  1.48k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.48k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.48k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.48k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.48k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.48k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.48k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.48k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.48k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.48k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.48k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.48k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.48k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.48k|    }
  |  |  ------------------
  |  | 6510|  1.48k|                }
  |  | 6511|  8.33k|                #endif
  |  | 6512|  8.33k|            }
  |  | 6513|       |            // _ITER_NEXT_LIST
  |  | 6514|      0|            {
  |  | 6515|  8.33k|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6516|  8.33k|                assert(PyList_CheckExact(list_o));
  |  |  ------------------
  |  |  |  Branch (6516:17): [True: 6.85k, False: 1.48k]
  |  |  ------------------
  |  | 6517|       |                #ifdef Py_GIL_DISABLED
  |  | 6518|       |                assert(_Py_IsOwnedByCurrentThread(list_o) ||
  |  | 6519|       |                  _PyObject_GC_IS_SHARED(list_o));
  |  | 6520|       |                STAT_INC(FOR_ITER, hit);
  |  | 6521|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6522|       |                _PyFrame_StackPointerValidate(frame);
  |  | 6523|       |                int result = _PyList_GetItemRefNoLock((PyListObject *)list_o, PyStackRef_UntagInt(null_or_index), &next);
  |  | 6524|       |                _PyFrame_StackPointerInvalidate(frame);
  |  | 6525|       |                if (result < 0) {
  |  | 6526|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6527|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6528|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6529|       |                }
  |  | 6530|       |                if (result == 0) {
  |  | 6531|       |                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6532|       |                    JUMPBY(oparg + 1);
  |  | 6533|       |                    stack_pointer[-1] = null_or_index;
  |  | 6534|       |                    DISPATCH();
  |  | 6535|       |                }
  |  | 6536|       |                #else
  |  | 6537|  6.85k|                next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, PyStackRef_UntagInt(null_or_index)));
  |  |  ------------------
  |  |  |  |  611|  6.85k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 6.85k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6538|      0|                #endif
  |  | 6539|      0|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6540|  6.85k|            }
  |  | 6541|      0|            stack_pointer[-1] = null_or_index;
  |  | 6542|  6.85k|            stack_pointer[0] = next;
  |  | 6543|  6.85k|            stack_pointer += 1;
  |  | 6544|  6.85k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  6.85k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6545|  6.85k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.85k|    { \
  |  |  |  |  201|  6.85k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.85k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.85k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.85k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  6.85k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.85k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.85k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.85k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 6.85k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.85k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.85k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.85k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.85k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.85k|    }
  |  |  ------------------
  |  | 6546|  6.85k|        }
  |  | 6547|       |
  |  | 6548|  4.89k|        TARGET(FOR_ITER_RANGE) {
  |  |  ------------------
  |  |  |  |  132|  4.89k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6549|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6550|       |            int opcode = FOR_ITER_RANGE;
  |  | 6551|       |            (void)(opcode);
  |  | 6552|       |            #endif
  |  | 6553|  4.89k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6554|  4.89k|            (void)this_instr;
  |  | 6555|  4.89k|            frame->instr_ptr = next_instr;
  |  | 6556|  4.89k|            next_instr += 2;
  |  | 6557|  4.89k|            INSTRUCTION_STATS(FOR_ITER_RANGE);
  |  |  ------------------
  |  |  |  |   71|  4.89k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6558|  4.89k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6559|  4.89k|            _PyStackRef iter;
  |  | 6560|  4.89k|            _PyStackRef next;
  |  | 6561|       |            /* Skip 1 cache entry */
  |  | 6562|       |            // _ITER_CHECK_RANGE
  |  | 6563|  4.89k|            {
  |  | 6564|  4.89k|                iter = stack_pointer[-2];
  |  | 6565|  4.89k|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6566|  4.89k|                if (Py_TYPE(r) != &PyRangeIter_Type) {
  |  |  ------------------
  |  |  |  |  213|  4.89k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6566:21): [True: 0, False: 4.89k]
  |  |  ------------------
  |  | 6567|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6568|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6568:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6569|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6570|      0|                }
  |  | 6571|       |                #ifdef Py_GIL_DISABLED
  |  | 6572|       |                if (!_PyObject_IsUniquelyReferenced((PyObject *)r)) {
  |  | 6573|       |                    UPDATE_MISS_STATS(FOR_ITER);
  |  | 6574|       |                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6575|       |                    JUMP_TO_PREDICTED(FOR_ITER);
  |  | 6576|       |                }
  |  | 6577|       |                #endif
  |  | 6578|  4.89k|            }
  |  | 6579|       |            // _ITER_JUMP_RANGE
  |  | 6580|  4.89k|            {
  |  | 6581|  4.89k|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6582|  4.89k|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  |  ------------------
  |  |  |  Branch (6582:17): [True: 4.89k, False: 0]
  |  |  ------------------
  |  | 6583|       |                #ifdef Py_GIL_DISABLED
  |  | 6584|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6585|       |                #endif
  |  | 6586|  4.89k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  4.89k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6587|  4.89k|                if (r->len <= 0) {
  |  |  ------------------
  |  |  |  Branch (6587:21): [True: 500, False: 4.39k]
  |  |  ------------------
  |  | 6588|    500|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|    500|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6589|    500|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    500|    { \
  |  |  |  |  201|    500|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    500|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    500|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    500|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    500|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    500|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    500|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    500|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 500]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    500|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    500|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    500|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    500|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    500|    }
  |  |  ------------------
  |  | 6590|    500|                }
  |  | 6591|  4.89k|            }
  |  | 6592|       |            // _ITER_NEXT_RANGE
  |  | 6593|      0|            {
  |  | 6594|  4.89k|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6595|  4.89k|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  |  ------------------
  |  |  |  Branch (6595:17): [True: 4.39k, False: 500]
  |  |  ------------------
  |  | 6596|       |                #ifdef Py_GIL_DISABLED
  |  | 6597|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6598|       |                #endif
  |  | 6599|  4.89k|                assert(r->len > 0);
  |  |  ------------------
  |  |  |  Branch (6599:17): [True: 4.39k, False: 0]
  |  |  ------------------
  |  | 6600|  4.39k|                long value = r->start;
  |  | 6601|  4.39k|                r->start = value + r->step;
  |  | 6602|  4.39k|                r->len--;
  |  | 6603|  4.39k|                PyObject *res = PyLong_FromLong(value);
  |  | 6604|  4.39k|                if (res == NULL) {
  |  |  ------------------
  |  |  |  Branch (6604:21): [True: 0, False: 4.39k]
  |  |  ------------------
  |  | 6605|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6606|      0|                }
  |  | 6607|  4.39k|                next = PyStackRef_FromPyObjectSteal(res);
  |  | 6608|  4.39k|            }
  |  | 6609|      0|            stack_pointer[0] = next;
  |  | 6610|  4.39k|            stack_pointer += 1;
  |  | 6611|  4.39k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.39k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6612|  4.39k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.39k|    { \
  |  |  |  |  201|  4.39k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.39k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.39k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.39k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.39k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.39k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.39k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.39k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.39k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.39k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.39k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.39k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.39k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.39k|    }
  |  |  ------------------
  |  | 6613|  4.39k|        }
  |  | 6614|       |
  |  | 6615|  11.3k|        TARGET(FOR_ITER_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  11.3k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6616|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6617|       |            int opcode = FOR_ITER_TUPLE;
  |  | 6618|       |            (void)(opcode);
  |  | 6619|       |            #endif
  |  | 6620|  11.3k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6621|  11.3k|            (void)this_instr;
  |  | 6622|  11.3k|            frame->instr_ptr = next_instr;
  |  | 6623|  11.3k|            next_instr += 2;
  |  | 6624|  11.3k|            INSTRUCTION_STATS(FOR_ITER_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  11.3k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6625|  11.3k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6626|  11.3k|            _PyStackRef iter;
  |  | 6627|  11.3k|            _PyStackRef null_or_index;
  |  | 6628|  11.3k|            _PyStackRef next;
  |  | 6629|       |            /* Skip 1 cache entry */
  |  | 6630|       |            // _ITER_CHECK_TUPLE
  |  | 6631|  11.3k|            {
  |  | 6632|  11.3k|                null_or_index = stack_pointer[-1];
  |  | 6633|  11.3k|                iter = stack_pointer[-2];
  |  | 6634|  11.3k|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6635|  11.3k|                if (Py_TYPE(iter_o) != &PyTuple_Type) {
  |  |  ------------------
  |  |  |  |  213|  11.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6635:21): [True: 8, False: 11.2k]
  |  |  ------------------
  |  | 6636|      8|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      8|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6637|      8|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6637:21): [True: 8, False: 0]
  |  |  ------------------
  |  | 6638|      8|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      8|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6639|      0|                }
  |  | 6640|  11.3k|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  |  ------------------
  |  |  |  Branch (6640:17): [True: 11.2k, False: 0]
  |  |  ------------------
  |  | 6641|  11.2k|            }
  |  | 6642|       |            // _ITER_JUMP_TUPLE
  |  | 6643|  11.2k|            {
  |  | 6644|  11.2k|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6645|  11.2k|                (void)tuple_o;
  |  | 6646|  11.2k|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  |  ------------------
  |  |  |  Branch (6646:17): [True: 11.2k, False: 0]
  |  |  ------------------
  |  | 6647|  11.2k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  11.2k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6648|  11.2k|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyTuple_GET_SIZE(tuple_o)) {
  |  |  ------------------
  |  |  |  |   27|  11.2k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6648:21): [True: 3.65k, False: 7.63k]
  |  |  ------------------
  |  | 6649|  3.65k|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6650|  3.65k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|  3.65k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6651|  3.65k|                    stack_pointer[-1] = null_or_index;
  |  | 6652|  3.65k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.65k|    { \
  |  |  |  |  201|  3.65k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.65k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.65k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.65k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.65k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.65k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.65k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.65k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.65k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.65k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.65k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.65k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.65k|    }
  |  |  ------------------
  |  | 6653|  3.65k|                }
  |  | 6654|  11.2k|            }
  |  | 6655|       |            // _ITER_NEXT_TUPLE
  |  | 6656|      0|            {
  |  | 6657|  11.2k|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6658|  11.2k|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  |  ------------------
  |  |  |  Branch (6658:17): [True: 7.63k, False: 3.65k]
  |  |  ------------------
  |  | 6659|  7.63k|                uintptr_t i = PyStackRef_UntagInt(null_or_index);
  |  | 6660|  7.63k|                assert((size_t)i < (size_t)PyTuple_GET_SIZE(tuple_o));
  |  |  ------------------
  |  |  |  Branch (6660:17): [True: 7.63k, False: 0]
  |  |  ------------------
  |  | 6661|  7.63k|                next = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(tuple_o, i));
  |  |  ------------------
  |  |  |  |  611|  7.63k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 7.63k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6662|      0|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6663|  7.63k|            }
  |  | 6664|      0|            stack_pointer[-1] = null_or_index;
  |  | 6665|  7.63k|            stack_pointer[0] = next;
  |  | 6666|  7.63k|            stack_pointer += 1;
  |  | 6667|  7.63k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  7.63k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6668|  7.63k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.63k|    { \
  |  |  |  |  201|  7.63k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.63k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.63k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.63k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  7.63k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.63k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.63k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.63k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.63k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.63k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.63k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.63k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.63k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.63k|    }
  |  |  ------------------
  |  | 6669|  7.63k|        }
  |  | 6670|       |
  |  | 6671|    218|        TARGET(FOR_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|    218|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6672|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6673|       |            int opcode = FOR_ITER_VIRTUAL;
  |  | 6674|       |            (void)(opcode);
  |  | 6675|       |            #endif
  |  | 6676|    218|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6677|    218|            (void)this_instr;
  |  | 6678|    218|            frame->instr_ptr = next_instr;
  |  | 6679|    218|            next_instr += 2;
  |  | 6680|    218|            INSTRUCTION_STATS(FOR_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|    218|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6681|    218|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6682|    218|            _PyStackRef null_or_index;
  |  | 6683|    218|            _PyStackRef iter;
  |  | 6684|    218|            _PyStackRef next;
  |  | 6685|       |            /* Skip 1 cache entry */
  |  | 6686|       |            // _GUARD_TOS_NOT_NULL
  |  | 6687|    218|            {
  |  | 6688|    218|                null_or_index = stack_pointer[-1];
  |  | 6689|    218|                if (PyStackRef_IsNull(null_or_index)) {
  |  |  ------------------
  |  |  |  |  482|    218|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    218|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    218|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 218]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6690|      0|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6691|      0|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6691:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6692|      0|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6693|      0|                }
  |  | 6694|    218|            }
  |  | 6695|       |            // _FOR_ITER_VIRTUAL
  |  | 6696|    218|            {
  |  | 6697|    218|                iter = stack_pointer[-2];
  |  | 6698|    218|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6699|    218|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  | 6700|    218|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6701|    218|                _PyFrame_StackPointerValidate(frame);
  |  | 6702|    218|                _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, index);
  |  |  ------------------
  |  |  |  |  213|    218|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    218|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    218|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6703|    218|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6704|    218|                PyObject *next_o = next_index.object;
  |  | 6705|    218|                index = next_index.index;
  |  | 6706|    218|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6706:21): [True: 100, False: 118]
  |  |  ------------------
  |  | 6707|    100|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (6707:25): [True: 0, False: 100]
  |  |  ------------------
  |  | 6708|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6709|      0|                    }
  |  | 6710|    100|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|    100|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6711|    100|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    100|    { \
  |  |  |  |  201|    100|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    100|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    100|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    100|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    100|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    100|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    100|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    100|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 100]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    100|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    100|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    100|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    100|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    100|    }
  |  |  ------------------
  |  | 6712|    100|                }
  |  | 6713|    218|                null_or_index = PyStackRef_TagInt(index);
  |  | 6714|    218|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  | 6715|    218|            }
  |  | 6716|      0|            stack_pointer[-1] = null_or_index;
  |  | 6717|    218|            stack_pointer[0] = next;
  |  | 6718|    218|            stack_pointer += 1;
  |  | 6719|    218|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    218|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6720|    218|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    218|    { \
  |  |  |  |  201|    218|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    218|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    218|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    218|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    218|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    218|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    218|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    218|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 218]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    218|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    218|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    218|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    218|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    218|    }
  |  |  ------------------
  |  | 6721|    218|        }
  |  | 6722|       |
  |  | 6723|      0|        TARGET(GET_AITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6724|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6725|       |            int opcode = GET_AITER;
  |  | 6726|       |            (void)(opcode);
  |  | 6727|       |            #endif
  |  | 6728|      0|            frame->instr_ptr = next_instr;
  |  | 6729|      0|            next_instr += 1;
  |  | 6730|      0|            INSTRUCTION_STATS(GET_AITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6731|      0|            _PyStackRef obj;
  |  | 6732|      0|            _PyStackRef iter;
  |  | 6733|      0|            obj = stack_pointer[-1];
  |  | 6734|      0|            unaryfunc getter = NULL;
  |  | 6735|      0|            PyObject *obj_o = PyStackRef_AsPyObjectBorrow(obj);
  |  | 6736|      0|            PyObject *iter_o;
  |  | 6737|      0|            PyTypeObject *type = Py_TYPE(obj_o);
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6738|      0|            if (type->tp_as_async != NULL) {
  |  |  ------------------
  |  |  |  Branch (6738:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6739|      0|                getter = type->tp_as_async->am_aiter;
  |  | 6740|      0|            }
  |  | 6741|      0|            if (getter == NULL) {
  |  |  ------------------
  |  |  |  Branch (6741:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6742|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6743|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6744|      0|                _PyErr_Format(tstate, PyExc_TypeError,
  |  | 6745|      0|                              "'async for' requires an object with "
  |  | 6746|      0|                              "__aiter__ method, got %.100s",
  |  | 6747|      0|                              type->tp_name);
  |  | 6748|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6749|      0|                stack_pointer += -1;
  |  | 6750|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6751|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6752|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6753|      0|                PyStackRef_CLOSE(obj);
  |  | 6754|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6755|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6756|      0|            }
  |  | 6757|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6758|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6759|      0|            iter_o = (*getter)(obj_o);
  |  | 6760|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6761|      0|            stack_pointer += -1;
  |  | 6762|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6763|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6764|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6765|      0|            PyStackRef_CLOSE(obj);
  |  | 6766|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6767|      0|            if (iter_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6767:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6768|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6769|      0|            }
  |  | 6770|      0|            if (Py_TYPE(iter_o)->tp_as_async == NULL ||
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6770:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6771|      0|                Py_TYPE(iter_o)->tp_as_async->am_anext == NULL) {
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6771:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6772|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6772:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6773|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6774|      0|                _PyErr_Format(tstate, PyExc_TypeError,
  |  | 6775|      0|                              "'async for' received an object from __aiter__ "
  |  | 6776|      0|                              "that does not implement __anext__: %.100s",
  |  | 6777|      0|                              Py_TYPE(iter_o)->tp_name);
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6778|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6779|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6779:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6780|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 6781|      0|                Py_DECREF(iter_o);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6782|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6783|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6784|      0|            }
  |  | 6785|      0|            iter = PyStackRef_FromPyObjectSteal(iter_o);
  |  | 6786|      0|            stack_pointer[0] = iter;
  |  | 6787|      0|            stack_pointer += 1;
  |  | 6788|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6789|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6790|      0|        }
  |  | 6791|       |
  |  | 6792|      0|        TARGET(GET_ANEXT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6793|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6794|       |            int opcode = GET_ANEXT;
  |  | 6795|       |            (void)(opcode);
  |  | 6796|       |            #endif
  |  | 6797|      0|            frame->instr_ptr = next_instr;
  |  | 6798|      0|            next_instr += 1;
  |  | 6799|      0|            INSTRUCTION_STATS(GET_ANEXT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6800|      0|            _PyStackRef aiter;
  |  | 6801|      0|            _PyStackRef awaitable;
  |  | 6802|      0|            _PyStackRef null;
  |  | 6803|      0|            _PyStackRef none;
  |  | 6804|      0|            aiter = stack_pointer[-1];
  |  | 6805|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6806|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6807|      0|            PyObject *awaitable_o = _PyEval_GetANext(PyStackRef_AsPyObjectBorrow(aiter));
  |  | 6808|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6809|      0|            if (awaitable_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6809:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6810|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6811|      0|            }
  |  | 6812|      0|            awaitable = PyStackRef_FromPyObjectSteal(awaitable_o);
  |  | 6813|      0|            null = PyStackRef_NULL;
  |  | 6814|      0|            none = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|      0|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6815|      0|            stack_pointer[0] = awaitable;
  |  | 6816|      0|            stack_pointer[1] = null;
  |  | 6817|      0|            stack_pointer[2] = none;
  |  | 6818|      0|            stack_pointer += 3;
  |  | 6819|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6820|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6821|      0|        }
  |  | 6822|       |
  |  | 6823|      0|        TARGET(GET_AWAITABLE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6824|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6825|       |            int opcode = GET_AWAITABLE;
  |  | 6826|       |            (void)(opcode);
  |  | 6827|       |            #endif
  |  | 6828|      0|            frame->instr_ptr = next_instr;
  |  | 6829|      0|            next_instr += 1;
  |  | 6830|      0|            INSTRUCTION_STATS(GET_AWAITABLE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6831|      0|            _PyStackRef iterable;
  |  | 6832|      0|            _PyStackRef iter;
  |  | 6833|      0|            _PyStackRef null;
  |  | 6834|      0|            _PyStackRef none;
  |  | 6835|      0|            iterable = stack_pointer[-1];
  |  | 6836|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6837|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6838|      0|            PyObject *iter_o = _PyEval_GetAwaitable(PyStackRef_AsPyObjectBorrow(iterable), oparg);
  |  | 6839|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6840|      0|            stack_pointer += -1;
  |  | 6841|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6842|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6843|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6844|      0|            PyStackRef_CLOSE(iterable);
  |  | 6845|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6846|      0|            if (iter_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6846:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6847|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6848|      0|            }
  |  | 6849|      0|            iter = PyStackRef_FromPyObjectSteal(iter_o);
  |  | 6850|      0|            null = PyStackRef_NULL;
  |  | 6851|      0|            none = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|      0|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6852|      0|            stack_pointer[0] = iter;
  |  | 6853|      0|            stack_pointer[1] = null;
  |  | 6854|      0|            stack_pointer[2] = none;
  |  | 6855|      0|            stack_pointer += 3;
  |  | 6856|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6857|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 6858|      0|        }
  |  | 6859|       |
  |  | 6860|    735|        TARGET(GET_ITER) {
  |  |  ------------------
  |  |  |  |  132|    735|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6861|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6862|       |            int opcode = GET_ITER;
  |  | 6863|       |            (void)(opcode);
  |  | 6864|       |            #endif
  |  | 6865|    735|            frame->instr_ptr = next_instr;
  |  | 6866|    735|            next_instr += 2;
  |  | 6867|    735|            INSTRUCTION_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |   71|    735|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6868|    755|            PREDICTED_GET_ITER:;
  |  | 6869|    755|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6870|    755|            (void)this_instr;
  |  | 6871|    755|            _PyStackRef iterable;
  |  | 6872|    755|            _PyStackRef iter;
  |  | 6873|    755|            _PyStackRef index_or_null;
  |  | 6874|       |            // _SPECIALIZE_GET_ITER
  |  | 6875|    755|            {
  |  | 6876|    755|                iterable = stack_pointer[-1];
  |  | 6877|    755|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6878|    755|                (void)counter;
  |  | 6879|    755|                #if ENABLE_SPECIALIZATION
  |  | 6880|    755|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    755|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 84, False: 671]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6881|     84|                    next_instr = this_instr;
  |  | 6882|     84|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6883|     84|                    _PyFrame_StackPointerValidate(frame);
  |  | 6884|     84|                    _Py_Specialize_GetIter(iterable, next_instr);
  |  | 6885|     84|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 6886|     84|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     84|    { \
  |  |  |  |  217|     84|        opcode = next_instr->op.code; \
  |  |  |  |  218|     84|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     84|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     84|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     84|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     84|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     84|    }
  |  |  ------------------
  |  | 6887|     84|                }
  |  | 6888|    755|                OPCODE_DEFERRED_INC(GET_ITER);
  |  |  ------------------
  |  |  |  |   90|    755|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6889|    755|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    755|    do { \
  |  |  |  |  378|    755|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    755|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 755]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6890|    755|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6891|    755|            }
  |  | 6892|       |            // _GET_ITER
  |  | 6893|    755|            {
  |  | 6894|    755|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6895|    755|                _PyFrame_StackPointerValidate(frame);
  |  | 6896|    755|                _PyStackRef result = _PyEval_GetIter(iterable, &index_or_null, oparg);
  |  | 6897|    755|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6898|    755|                if (PyStackRef_IsError(result)) {
  |  |  ------------------
  |  |  |  Branch (6898:21): [True: 0, False: 755]
  |  |  ------------------
  |  | 6899|      0|                    JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6900|      0|                }
  |  | 6901|    755|                iter = result;
  |  | 6902|    755|            }
  |  | 6903|      0|            stack_pointer[-1] = iter;
  |  | 6904|    755|            stack_pointer[0] = index_or_null;
  |  | 6905|    755|            stack_pointer += 1;
  |  | 6906|    755|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    755|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6907|    755|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    755|    { \
  |  |  |  |  201|    755|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    755|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    755|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    755|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    755|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    755|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    755|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    755|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 755]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    755|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    755|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    755|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    755|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    755|    }
  |  |  ------------------
  |  | 6908|    755|        }
  |  | 6909|       |
  |  | 6910|     57|        TARGET(GET_ITER_SELF) {
  |  |  ------------------
  |  |  |  |  132|     57|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6911|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6912|       |            int opcode = GET_ITER_SELF;
  |  | 6913|       |            (void)(opcode);
  |  | 6914|       |            #endif
  |  | 6915|     57|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6916|     57|            (void)this_instr;
  |  | 6917|     57|            frame->instr_ptr = next_instr;
  |  | 6918|     57|            next_instr += 2;
  |  | 6919|     57|            INSTRUCTION_STATS(GET_ITER_SELF);
  |  |  ------------------
  |  |  |  |   71|     57|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6920|     57|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6921|     57|            _PyStackRef iterable;
  |  | 6922|     57|            _PyStackRef res;
  |  | 6923|       |            /* Skip 1 cache entry */
  |  | 6924|       |            // _GUARD_ITERATOR
  |  | 6925|     57|            {
  |  | 6926|     57|                iterable = stack_pointer[-1];
  |  | 6927|     57|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|     57|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     57|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     57|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6928|     57|                if (tp->tp_iter != PyObject_SelfIter) {
  |  |  ------------------
  |  |  |  Branch (6928:21): [True: 0, False: 57]
  |  |  ------------------
  |  | 6929|      0|                    UPDATE_MISS_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6930|      0|                    assert(_PyOpcode_Deopt[opcode] == (GET_ITER));
  |  |  ------------------
  |  |  |  Branch (6930:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6931|      0|                    JUMP_TO_PREDICTED(GET_ITER);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6932|      0|                }
  |  | 6933|     57|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|     57|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6934|     57|            }
  |  | 6935|       |            // _PUSH_NULL
  |  | 6936|      0|            {
  |  | 6937|     57|                res = PyStackRef_NULL;
  |  | 6938|     57|            }
  |  | 6939|     57|            stack_pointer[0] = res;
  |  | 6940|     57|            stack_pointer += 1;
  |  | 6941|     57|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     57|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6942|     57|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     57|    { \
  |  |  |  |  201|     57|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     57|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     57|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     57|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     57|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     57|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     57|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     57|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 57]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     57|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     57|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     57|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     57|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     57|    }
  |  |  ------------------
  |  | 6943|     57|        }
  |  | 6944|       |
  |  | 6945|  5.81k|        TARGET(GET_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|  5.81k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6946|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6947|       |            int opcode = GET_ITER_VIRTUAL;
  |  | 6948|       |            (void)(opcode);
  |  | 6949|       |            #endif
  |  | 6950|  5.81k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6951|  5.81k|            (void)this_instr;
  |  | 6952|  5.81k|            frame->instr_ptr = next_instr;
  |  | 6953|  5.81k|            next_instr += 2;
  |  | 6954|  5.81k|            INSTRUCTION_STATS(GET_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|  5.81k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6955|  5.81k|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6956|  5.81k|            _PyStackRef iterable;
  |  | 6957|  5.81k|            _PyStackRef zero;
  |  | 6958|       |            /* Skip 1 cache entry */
  |  | 6959|       |            // _GUARD_ITER_VIRTUAL
  |  | 6960|  5.81k|            {
  |  | 6961|  5.81k|                iterable = stack_pointer[-1];
  |  | 6962|  5.81k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|  5.81k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6963|  5.81k|                if (tp->_tp_iteritem == NULL) {
  |  |  ------------------
  |  |  |  Branch (6963:21): [True: 20, False: 5.79k]
  |  |  ------------------
  |  | 6964|     20|                    UPDATE_MISS_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |  299|     20|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6965|     20|                    assert(_PyOpcode_Deopt[opcode] == (GET_ITER));
  |  |  ------------------
  |  |  |  Branch (6965:21): [True: 20, False: 0]
  |  |  ------------------
  |  | 6966|     20|                    JUMP_TO_PREDICTED(GET_ITER);
  |  |  ------------------
  |  |  |  |  136|     20|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6967|      0|                }
  |  | 6968|  5.79k|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  5.79k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6969|  5.79k|            }
  |  | 6970|       |            // _PUSH_TAGGED_ZERO
  |  | 6971|      0|            {
  |  | 6972|  5.79k|                zero = PyStackRef_TagInt(0);
  |  | 6973|  5.79k|            }
  |  | 6974|  5.79k|            stack_pointer[0] = zero;
  |  | 6975|  5.79k|            stack_pointer += 1;
  |  | 6976|  5.79k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.79k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6977|  5.79k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.79k|    { \
  |  |  |  |  201|  5.79k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.79k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.79k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.79k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  5.79k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.79k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.79k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.79k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.79k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.79k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.79k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.79k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.79k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.79k|    }
  |  |  ------------------
  |  | 6978|  5.79k|        }
  |  | 6979|       |
  |  | 6980|      0|        TARGET(GET_LEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6981|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6982|       |            int opcode = GET_LEN;
  |  | 6983|       |            (void)(opcode);
  |  | 6984|       |            #endif
  |  | 6985|      0|            frame->instr_ptr = next_instr;
  |  | 6986|      0|            next_instr += 1;
  |  | 6987|      0|            INSTRUCTION_STATS(GET_LEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6988|      0|            _PyStackRef obj;
  |  | 6989|      0|            _PyStackRef len;
  |  | 6990|      0|            obj = stack_pointer[-1];
  |  | 6991|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6992|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 6993|      0|            Py_ssize_t len_i = PyObject_Length(PyStackRef_AsPyObjectBorrow(obj));
  |  |  ------------------
  |  |  |  |  353|      0|#define PyObject_Length PyObject_Size
  |  |  ------------------
  |  | 6994|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6995|      0|            if (len_i < 0) {
  |  |  ------------------
  |  |  |  Branch (6995:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6996|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6997|      0|            }
  |  | 6998|      0|            PyObject *len_o = PyLong_FromSsize_t(len_i);
  |  | 6999|      0|            if (len_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6999:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7000|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7001|      0|            }
  |  | 7002|      0|            len = PyStackRef_FromPyObjectSteal(len_o);
  |  | 7003|      0|            stack_pointer[0] = len;
  |  | 7004|      0|            stack_pointer += 1;
  |  | 7005|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7006|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7007|      0|        }
  |  | 7008|       |
  |  | 7009|    259|        TARGET(IMPORT_FROM) {
  |  |  ------------------
  |  |  |  |  132|    259|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7010|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7011|       |            int opcode = IMPORT_FROM;
  |  | 7012|       |            (void)(opcode);
  |  | 7013|       |            #endif
  |  | 7014|    259|            frame->instr_ptr = next_instr;
  |  | 7015|    259|            next_instr += 1;
  |  | 7016|    259|            INSTRUCTION_STATS(IMPORT_FROM);
  |  |  ------------------
  |  |  |  |   71|    259|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7017|    259|            _PyStackRef from;
  |  | 7018|    259|            _PyStackRef res;
  |  | 7019|    259|            from = stack_pointer[-1];
  |  | 7020|    259|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|    259|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    259|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    259|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    259|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7020:30): [True: 259, False: 0]
  |  |  ------------------
  |  | 7021|      0|            PyObject *res_o;
  |  | 7022|    259|            if (PyLazyImport_CheckExact(PyStackRef_AsPyObjectBorrow(from))) {
  |  |  ------------------
  |  |  |  |   15|    259|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    259|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    259|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    259|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 2, False: 257]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7023|      2|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7024|      2|                _PyFrame_StackPointerValidate(frame);
  |  | 7025|      2|                res_o = _PyEval_LazyImportFrom(
  |  | 7026|      2|                    tstate, frame, PyStackRef_AsPyObjectBorrow(from), name);
  |  | 7027|      2|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7028|      2|            }
  |  | 7029|    257|            else {
  |  | 7030|    257|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7031|    257|                _PyFrame_StackPointerValidate(frame);
  |  | 7032|    257|                res_o = _PyEval_ImportFrom(
  |  | 7033|    257|                    tstate, PyStackRef_AsPyObjectBorrow(from), name);
  |  | 7034|    257|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7035|    257|            }
  |  | 7036|    259|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7036:17): [True: 1, False: 258]
  |  |  ------------------
  |  | 7037|      1|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      1|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7038|      0|            }
  |  | 7039|    258|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7040|    258|            stack_pointer[0] = res;
  |  | 7041|    258|            stack_pointer += 1;
  |  | 7042|    258|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    258|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7043|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    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|    }
  |  |  ------------------
  |  | 7044|    258|        }
  |  | 7045|       |
  |  | 7046|    351|        TARGET(IMPORT_NAME) {
  |  |  ------------------
  |  |  |  |  132|    351|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7047|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7048|       |            int opcode = IMPORT_NAME;
  |  | 7049|       |            (void)(opcode);
  |  | 7050|       |            #endif
  |  | 7051|    351|            frame->instr_ptr = next_instr;
  |  | 7052|    351|            next_instr += 1;
  |  | 7053|    351|            INSTRUCTION_STATS(IMPORT_NAME);
  |  |  ------------------
  |  |  |  |   71|    351|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7054|    351|            _PyStackRef level;
  |  | 7055|    351|            _PyStackRef fromlist;
  |  | 7056|    351|            _PyStackRef res;
  |  | 7057|    351|            fromlist = stack_pointer[-1];
  |  | 7058|    351|            level = stack_pointer[-2];
  |  | 7059|    351|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|    351|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    351|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    351|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    351|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7059:30): [True: 351, False: 0]
  |  |  ------------------
  |  | 7060|      0|            PyObject *res_o;
  |  | 7061|    351|            if (!(oparg & 0x02)) {
  |  |  ------------------
  |  |  |  Branch (7061:17): [True: 244, False: 107]
  |  |  ------------------
  |  | 7062|    244|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7063|    244|                _PyFrame_StackPointerValidate(frame);
  |  | 7064|    244|                res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  327|    244|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|    244|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 7065|    244|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  328|    244|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 7066|    244|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 7067|    244|                    PyStackRef_AsPyObjectBorrow(level),
  |  | 7068|    244|                    oparg & 0x01);
  |  | 7069|    244|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7070|    244|            }
  |  | 7071|    107|            else {
  |  | 7072|    107|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7073|    107|                _PyFrame_StackPointerValidate(frame);
  |  | 7074|    107|                res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  327|    107|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|    107|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 7075|    107|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  328|    107|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 7076|    107|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 7077|    107|                    PyStackRef_AsPyObjectBorrow(level));
  |  | 7078|    107|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7079|    107|            }
  |  | 7080|    351|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7080:13): [True: 351, False: 0]
  |  |  ------------------
  |  | 7081|    351|            _PyFrame_StackPointerValidate(frame);
  |  | 7082|    351|            _PyStackRef tmp = fromlist;
  |  | 7083|    351|            fromlist = PyStackRef_NULL;
  |  | 7084|    351|            stack_pointer[-1] = fromlist;
  |  | 7085|    351|            PyStackRef_CLOSE(tmp);
  |  | 7086|    351|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7087|    351|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7087:13): [True: 351, False: 0]
  |  |  ------------------
  |  | 7088|    351|            _PyFrame_StackPointerValidate(frame);
  |  | 7089|    351|            tmp = level;
  |  | 7090|    351|            level = PyStackRef_NULL;
  |  | 7091|    351|            stack_pointer[-2] = level;
  |  | 7092|    351|            PyStackRef_CLOSE(tmp);
  |  | 7093|    351|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7094|    351|            stack_pointer += -2;
  |  | 7095|    351|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    351|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7096|    351|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7096:17): [True: 4, False: 347]
  |  |  ------------------
  |  | 7097|      4|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      4|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7098|      0|            }
  |  | 7099|    347|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7100|    347|            stack_pointer[0] = res;
  |  | 7101|    347|            stack_pointer += 1;
  |  | 7102|    347|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    347|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7103|    347|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    347|    { \
  |  |  |  |  201|    347|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    347|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    347|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    347|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    347|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    347|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    347|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    347|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 347]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    347|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    347|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    347|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    347|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    347|    }
  |  |  ------------------
  |  | 7104|    347|        }
  |  | 7105|       |
  |  | 7106|      0|        TARGET(INSTRUMENTED_CALL) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7107|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7108|       |            int opcode = INSTRUMENTED_CALL;
  |  | 7109|       |            (void)(opcode);
  |  | 7110|       |            #endif
  |  | 7111|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7112|      0|            (void)this_instr;
  |  | 7113|      0|            frame->instr_ptr = next_instr;
  |  | 7114|      0|            next_instr += 4;
  |  | 7115|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7116|      0|            opcode = INSTRUMENTED_CALL;
  |  |  ------------------
  |  |  |  |  237|      0|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 7117|      0|            _PyStackRef callable;
  |  | 7118|      0|            _PyStackRef self_or_null;
  |  | 7119|      0|            _PyStackRef func;
  |  | 7120|      0|            _PyStackRef maybe_self;
  |  | 7121|      0|            _PyStackRef *args;
  |  | 7122|      0|            _PyStackRef res;
  |  | 7123|       |            /* Skip 3 cache entries */
  |  | 7124|       |            // _MAYBE_EXPAND_METHOD
  |  | 7125|      0|            {
  |  | 7126|      0|                self_or_null = stack_pointer[-1 - oparg];
  |  | 7127|      0|                callable = stack_pointer[-2 - oparg];
  |  | 7128|      0|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7128:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7129|      0|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7130|      0|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 7131|      0|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7132|      0|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 7133|      0|                    _PyStackRef temp = callable;
  |  | 7134|      0|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7135|      0|                    stack_pointer[-2 - oparg] = callable;
  |  | 7136|      0|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 7137|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7138|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7139|      0|                    PyStackRef_CLOSE(temp);
  |  | 7140|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7141|      0|                }
  |  | 7142|      0|            }
  |  | 7143|       |            // _MONITOR_CALL
  |  | 7144|      0|            {
  |  | 7145|      0|                args = &stack_pointer[-oparg];
  |  | 7146|      0|                maybe_self = self_or_null;
  |  | 7147|      0|                func = callable;
  |  | 7148|      0|                int is_meth = !PyStackRef_IsNull(maybe_self);
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7149|      0|                PyObject *function = PyStackRef_AsPyObjectBorrow(func);
  |  | 7150|      0|                PyObject *arg0;
  |  | 7151|      0|                if (is_meth) {
  |  |  ------------------
  |  |  |  Branch (7151:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7152|      0|                    arg0 = PyStackRef_AsPyObjectBorrow(maybe_self);
  |  | 7153|      0|                }
  |  | 7154|      0|                else if (oparg) {
  |  |  ------------------
  |  |  |  Branch (7154:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 7155|      0|                    arg0 = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 7156|      0|                }
  |  | 7157|      0|                else {
  |  | 7158|      0|                    arg0 = &_PyInstrumentation_MISSING;
  |  | 7159|      0|                }
  |  | 7160|      0|                stack_pointer[-2 - oparg] = func;
  |  | 7161|      0|                stack_pointer[-1 - oparg] = maybe_self;
  |  | 7162|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7163|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7164|      0|                int err = _Py_call_instrumentation_2args(
  |  | 7165|      0|                    tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7166|      0|                    frame, this_instr, function, arg0
  |  | 7167|      0|                );
  |  | 7168|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7169|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7169:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7170|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7171|      0|                }
  |  | 7172|      0|            }
  |  | 7173|       |            // _DO_CALL
  |  | 7174|      0|            {
  |  | 7175|      0|                args = &stack_pointer[-oparg];
  |  | 7176|      0|                self_or_null = stack_pointer[-1 - oparg];
  |  | 7177|      0|                callable = stack_pointer[-2 - oparg];
  |  | 7178|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7179|      0|                int total_args = oparg;
  |  | 7180|      0|                _PyStackRef *arguments = args;
  |  | 7181|      0|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7181:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7182|      0|                    arguments--;
  |  | 7183|      0|                    total_args++;
  |  | 7184|      0|                }
  |  | 7185|      0|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7185:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7186|      0|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (7186:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7187|      0|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (7187:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7188|      0|                {
  |  | 7189|      0|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|      0|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7190|      0|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|      0|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                   PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7190:40): [True: 0, False: 0]
  |  |  ------------------
  |  | 7191|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7191:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7192|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7193|      0|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 7194|      0|                        tstate, callable, locals,
  |  | 7195|      0|                        arguments, total_args, NULL, frame
  |  | 7196|      0|                    );
  |  | 7197|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7198|      0|                    stack_pointer += -2 - oparg;
  |  | 7199|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7200|      0|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (7200:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7201|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7202|      0|                    }
  |  | 7203|      0|                    frame->return_offset = 4u ;
  |  | 7204|      0|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|      0|    do {                                                         \
  |  |  |  |  224|      0|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      0|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      0|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|      0|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|      0|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|      0|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|      0|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7204:21): [True: 0, False: 0]
  |  |  |  Branch (7204:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7205|      0|                }
  |  | 7206|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7206:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7207|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7208|      0|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 7209|      0|                    callable,
  |  | 7210|      0|                    arguments,
  |  | 7211|      0|                    total_args,
  |  | 7212|      0|                    PyStackRef_NULL,
  |  | 7213|      0|                    opcode == INSTRUMENTED_CALL,
  |  |  ------------------
  |  |  |  |  237|      0|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 7214|      0|                    frame,
  |  | 7215|      0|                    this_instr,
  |  | 7216|      0|                    tstate);
  |  | 7217|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7218|      0|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7218:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7219|      0|                    stack_pointer += -2 - oparg;
  |  | 7220|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7221|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7222|      0|                }
  |  | 7223|      0|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7224|      0|            }
  |  | 7225|       |            // _CHECK_PERIODIC_AT_END
  |  | 7226|      0|            {
  |  | 7227|      0|                stack_pointer[-2 - oparg] = res;
  |  | 7228|      0|                stack_pointer += -1 - oparg;
  |  | 7229|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7230|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7231|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7232|      0|                int err = check_periodics_at_end(tstate, frame);
  |  | 7233|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7234|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7234:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7235|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7236|      0|                }
  |  | 7237|      0|            }
  |  | 7238|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7239|      0|        }
  |  | 7240|       |
  |  | 7241|      0|        TARGET(INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7242|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7243|       |            int opcode = INSTRUMENTED_CALL_FUNCTION_EX;
  |  | 7244|       |            (void)(opcode);
  |  | 7245|       |            #endif
  |  | 7246|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7247|      0|            (void)this_instr;
  |  | 7248|      0|            frame->instr_ptr = next_instr;
  |  | 7249|      0|            next_instr += 2;
  |  | 7250|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7251|      0|            opcode = INSTRUMENTED_CALL_FUNCTION_EX;
  |  |  ------------------
  |  |  |  |  239|      0|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  | 7252|      0|            _PyStackRef func;
  |  | 7253|      0|            _PyStackRef callargs;
  |  | 7254|      0|            _PyStackRef func_st;
  |  | 7255|      0|            _PyStackRef null;
  |  | 7256|      0|            _PyStackRef callargs_st;
  |  | 7257|      0|            _PyStackRef kwargs_st;
  |  | 7258|      0|            _PyStackRef result;
  |  | 7259|       |            /* Skip 1 cache entry */
  |  | 7260|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 7261|      0|            {
  |  | 7262|      0|                callargs = stack_pointer[-2];
  |  | 7263|      0|                func = stack_pointer[-4];
  |  | 7264|      0|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 7265|      0|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7265:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7266|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7267|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7268|      0|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 7269|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7270|      0|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (7270:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7271|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7272|      0|                    }
  |  | 7273|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7273:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7274|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7275|      0|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 7276|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7277|      0|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7277:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7278|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7279|      0|                    }
  |  | 7280|      0|                    _PyStackRef temp = callargs;
  |  | 7281|      0|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 7282|      0|                    stack_pointer[-2] = callargs;
  |  | 7283|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7283:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7284|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7285|      0|                    PyStackRef_CLOSE(temp);
  |  | 7286|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7287|      0|                }
  |  | 7288|      0|            }
  |  | 7289|       |            // _DO_CALL_FUNCTION_EX
  |  | 7290|      0|            {
  |  | 7291|      0|                kwargs_st = stack_pointer[-1];
  |  | 7292|      0|                callargs_st = callargs;
  |  | 7293|      0|                null = stack_pointer[-3];
  |  | 7294|      0|                func_st = func;
  |  | 7295|      0|                (void)null;
  |  | 7296|      0|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 7297|      0|                EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_FUNCTION_EX, func);
  |  |  ------------------
  |  |  |  |   80|      0|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  |  |  ------------------
  |  | 7298|      0|                PyObject *result_o;
  |  | 7299|      0|                assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (7299:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7300|      0|                if (opcode == INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  239|      0|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  |  |  Branch (7300:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7301|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 7302|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 7303|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (7303:21): [True: 0, False: 0]
  |  |  |  Branch (7303:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7304|      0|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (7304:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7305|      0|                    PyObject *arg = PyTuple_GET_SIZE(callargs) > 0 ?
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7305:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 7306|      0|                    PyTuple_GET_ITEM(callargs, 0) : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7306:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7307|      0|                    stack_pointer[-2] = callargs_st;
  |  | 7308|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7309|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7310|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 7311|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7312|      0|                        frame, this_instr, func, arg);
  |  | 7313|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7314|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (7314:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7315|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7316|      0|                    }
  |  | 7317|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7317:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7318|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7319|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 7320|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7321|      0|                    if (!PyFunction_Check(func) && !PyMethod_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|      0|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   if (!PyFunction_Check(func) && !PyMethod_Check(func)) {
  |  |  ------------------
  |  |  |  |   22|      0|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7321:25): [True: 0, False: 0]
  |  |  |  Branch (7321:52): [True: 0, False: 0]
  |  |  ------------------
  |  | 7322|      0|                        if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7322:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7323|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7323:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7324|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 7325|      0|                            _Py_call_instrumentation_exc2(
  |  | 7326|      0|                                tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 7327|      0|                                frame, this_instr, func, arg);
  |  | 7328|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 7329|      0|                        }
  |  | 7330|      0|                        else {
  |  | 7331|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7331:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7332|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 7333|      0|                            int err = _Py_call_instrumentation_2args(
  |  | 7334|      0|                                tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 7335|      0|                                frame, this_instr, func, arg);
  |  | 7336|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 7337|      0|                            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (7337:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 7338|      0|                                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7338:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 7339|      0|                                _PyFrame_StackPointerValidate(frame);
  |  | 7340|      0|                                Py_CLEAR(result_o);
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7341|      0|                                _PyFrame_StackPointerInvalidate(frame);
  |  | 7342|      0|                            }
  |  | 7343|      0|                        }
  |  | 7344|      0|                    }
  |  | 7345|      0|                }
  |  | 7346|      0|                else {
  |  | 7347|      0|                    if (Py_TYPE(func) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7347:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7348|      0|                        !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (7348:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7349|      0|                        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (7349:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7350|      0|                        PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 7351|      0|                        assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (7351:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7352|      0|                        PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7353|      0|                        assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (7353:25): [True: 0, False: 0]
  |  |  |  Branch (7353:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7354|      0|                        Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7355|      0|                        int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|      0|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7356|      0|                        PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  122|      0|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                       PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7356:44): [True: 0, False: 0]
  |  |  ------------------
  |  | 7357|      0|                        stack_pointer += -2;
  |  | 7358|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7359|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7360|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7361|      0|                        _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 7362|      0|                            tstate, func_st, locals,
  |  | 7363|      0|                            nargs, callargs, kwargs, frame);
  |  | 7364|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7365|      0|                        stack_pointer += -2;
  |  | 7366|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7367|      0|                        if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (7367:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7368|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7369|      0|                        }
  |  | 7370|      0|                        assert( 2u == 1 + INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  Branch (7370:25): [True: 0, Folded]
  |  |  ------------------
  |  | 7371|      0|                        frame->return_offset = 2u ;
  |  | 7372|      0|                        DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|      0|    do {                                                         \
  |  |  |  |  224|      0|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      0|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      0|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|      0|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|      0|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|      0|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|      0|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7372:25): [True: 0, False: 0]
  |  |  |  Branch (7372:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7373|      0|                    }
  |  | 7374|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 7375|      0|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (7375:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7376|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 7377|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (7377:21): [True: 0, False: 0]
  |  |  |  Branch (7377:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7378|      0|                    stack_pointer[-2] = callargs_st;
  |  | 7379|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7380|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7381|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 7382|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7383|      0|                }
  |  | 7384|      0|                stack_pointer += -1;
  |  | 7385|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7386|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7387|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7388|      0|                PyStackRef_XCLOSE(kwargs_st);
  |  | 7389|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7390|      0|                stack_pointer += -1;
  |  | 7391|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7392|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7393|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7394|      0|                PyStackRef_CLOSE(callargs_st);
  |  | 7395|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7396|      0|                stack_pointer += -2;
  |  | 7397|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7398|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7399|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7400|      0|                PyStackRef_CLOSE(func_st);
  |  | 7401|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7402|      0|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7402:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7403|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7404|      0|                }
  |  | 7405|      0|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 7406|      0|            }
  |  | 7407|       |            // _CHECK_PERIODIC_AT_END
  |  | 7408|      0|            {
  |  | 7409|      0|                stack_pointer[0] = result;
  |  | 7410|      0|                stack_pointer += 1;
  |  | 7411|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7412|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7413|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7414|      0|                int err = check_periodics_at_end(tstate, frame);
  |  | 7415|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7416|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7416:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7417|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7418|      0|                }
  |  | 7419|      0|            }
  |  | 7420|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7421|      0|        }
  |  | 7422|       |
  |  | 7423|      0|        TARGET(INSTRUMENTED_CALL_KW) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7424|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7425|       |            int opcode = INSTRUMENTED_CALL_KW;
  |  | 7426|       |            (void)(opcode);
  |  | 7427|       |            #endif
  |  | 7428|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7429|      0|            (void)this_instr;
  |  | 7430|      0|            frame->instr_ptr = next_instr;
  |  | 7431|      0|            next_instr += 4;
  |  | 7432|      0|            INSTRUCTION_STATS(INSTRUMENTED_CALL_KW);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7433|      0|            opcode = INSTRUMENTED_CALL_KW;
  |  |  ------------------
  |  |  |  |  238|      0|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 7434|      0|            _PyStackRef callable;
  |  | 7435|      0|            _PyStackRef self_or_null;
  |  | 7436|      0|            _PyStackRef *args;
  |  | 7437|      0|            _PyStackRef kwnames;
  |  | 7438|      0|            _PyStackRef res;
  |  | 7439|       |            /* Skip 1 cache entry */
  |  | 7440|       |            /* Skip 2 cache entries */
  |  | 7441|       |            // _MAYBE_EXPAND_METHOD_KW
  |  | 7442|      0|            {
  |  | 7443|      0|                self_or_null = stack_pointer[-2 - oparg];
  |  | 7444|      0|                callable = stack_pointer[-3 - oparg];
  |  | 7445|      0|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7445:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7446|      0|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7447|      0|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 7448|      0|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7449|      0|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 7450|      0|                    _PyStackRef temp = callable;
  |  | 7451|      0|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7452|      0|                    stack_pointer[-3 - oparg] = callable;
  |  | 7453|      0|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 7454|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7455|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7456|      0|                    PyStackRef_CLOSE(temp);
  |  | 7457|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7458|      0|                }
  |  | 7459|      0|            }
  |  | 7460|       |            // _MONITOR_CALL_KW
  |  | 7461|      0|            {
  |  | 7462|      0|                args = &stack_pointer[-1 - oparg];
  |  | 7463|      0|                int is_meth = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7464|      0|                PyObject *arg;
  |  | 7465|      0|                if (is_meth) {
  |  |  ------------------
  |  |  |  Branch (7465:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7466|      0|                    arg = PyStackRef_AsPyObjectBorrow(self_or_null);
  |  | 7467|      0|                }
  |  | 7468|      0|                else if (args) {
  |  |  ------------------
  |  |  |  Branch (7468:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 7469|      0|                    arg = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 7470|      0|                }
  |  | 7471|      0|                else {
  |  | 7472|      0|                    arg = &_PyInstrumentation_MISSING;
  |  | 7473|      0|                }
  |  | 7474|      0|                PyObject *function = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7475|      0|                stack_pointer[-3 - oparg] = callable;
  |  | 7476|      0|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 7477|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7478|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7479|      0|                int err = _Py_call_instrumentation_2args(
  |  | 7480|      0|                    tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7481|      0|                    frame, this_instr, function, arg);
  |  | 7482|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7483|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7483:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7484|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7485|      0|                }
  |  | 7486|      0|            }
  |  | 7487|       |            // _DO_CALL_KW
  |  | 7488|      0|            {
  |  | 7489|      0|                kwnames = stack_pointer[-1];
  |  | 7490|      0|                args = &stack_pointer[-1 - oparg];
  |  | 7491|      0|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 7492|      0|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 7493|      0|                int total_args = oparg;
  |  | 7494|      0|                _PyStackRef *arguments = args;
  |  | 7495|      0|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7495:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7496|      0|                    arguments--;
  |  | 7497|      0|                    total_args++;
  |  | 7498|      0|                }
  |  | 7499|      0|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7500|      0|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7500:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7501|      0|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (7501:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7502|      0|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (7502:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7503|      0|                {
  |  | 7504|      0|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|      0|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7505|      0|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|      0|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                   PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7505:40): [True: 0, False: 0]
  |  |  ------------------
  |  | 7506|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7506:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7507|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7508|      0|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 7509|      0|                        tstate, callable, locals,
  |  | 7510|      0|                        arguments, positional_args, kwnames_o, frame
  |  | 7511|      0|                    );
  |  | 7512|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7513|      0|                    stack_pointer += -3 - oparg;
  |  | 7514|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7515|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7516|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7517|      0|                    PyStackRef_CLOSE(kwnames);
  |  | 7518|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7519|      0|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (7519:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7520|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7521|      0|                    }
  |  | 7522|      0|                    assert( 4u == 1 + INLINE_CACHE_ENTRIES_CALL_KW);
  |  |  ------------------
  |  |  |  Branch (7522:21): [True: 0, Folded]
  |  |  ------------------
  |  | 7523|      0|                    frame->return_offset = 4u ;
  |  | 7524|      0|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|      0|    do {                                                         \
  |  |  |  |  224|      0|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      0|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      0|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|      0|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|      0|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|      0|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|      0|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7524:21): [True: 0, False: 0]
  |  |  |  Branch (7524:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7525|      0|                }
  |  | 7526|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7526:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7527|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7528|      0|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 7529|      0|                    callable,
  |  | 7530|      0|                    arguments,
  |  | 7531|      0|                    total_args,
  |  | 7532|      0|                    kwnames,
  |  | 7533|      0|                    opcode == INSTRUMENTED_CALL_KW,
  |  |  ------------------
  |  |  |  |  238|      0|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 7534|      0|                    frame,
  |  | 7535|      0|                    this_instr,
  |  | 7536|      0|                    tstate);
  |  | 7537|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7538|      0|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7538:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7539|      0|                    stack_pointer += -3 - oparg;
  |  | 7540|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7541|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7542|      0|                }
  |  | 7543|      0|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7544|      0|            }
  |  | 7545|      0|            stack_pointer[-3 - oparg] = res;
  |  | 7546|      0|            stack_pointer += -2 - oparg;
  |  | 7547|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7548|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7549|      0|        }
  |  | 7550|       |
  |  | 7551|      0|        TARGET(INSTRUMENTED_END_ASYNC_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7552|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7553|       |            int opcode = INSTRUMENTED_END_ASYNC_FOR;
  |  | 7554|       |            (void)(opcode);
  |  | 7555|       |            #endif
  |  | 7556|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7557|      0|            (void)this_instr;
  |  | 7558|      0|            frame->instr_ptr = next_instr;
  |  | 7559|      0|            next_instr += 1;
  |  | 7560|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_ASYNC_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7561|      0|            _PyStackRef awaitable_st;
  |  | 7562|      0|            _PyStackRef exc_st;
  |  | 7563|       |            // _MONITOR_END_ASYNC_FOR
  |  | 7564|      0|            {
  |  | 7565|      0|                assert((next_instr-oparg)->op.code == END_SEND || (next_instr-oparg)->op.code >= MIN_INSTRUMENTED_OPCODE);
  |  |  ------------------
  |  |  |  Branch (7565:17): [True: 0, False: 0]
  |  |  |  Branch (7565:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7566|      0|                INSTRUMENTED_JUMP(next_instr-oparg, this_instr+1, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7567|      0|            }
  |  | 7568|       |            // _END_ASYNC_FOR
  |  | 7569|      0|            {
  |  | 7570|      0|                exc_st = stack_pointer[-1];
  |  | 7571|      0|                awaitable_st = stack_pointer[-2];
  |  | 7572|      0|                JUMPBY(0);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 7573|      0|                (void)oparg;
  |  | 7574|      0|                PyObject *exc = PyStackRef_AsPyObjectBorrow(exc_st);
  |  | 7575|      0|                assert(exc && PyExceptionInstance_Check(exc));
  |  |  ------------------
  |  |  |  Branch (7575:17): [True: 0, False: 0]
  |  |  |  Branch (7575:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7576|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7577|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7578|      0|                int matches = PyErr_GivenExceptionMatches(exc, PyExc_StopAsyncIteration);
  |  | 7579|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7580|      0|                if (matches) {
  |  |  ------------------
  |  |  |  Branch (7580:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7581|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7581:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7582|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7583|      0|                    _PyStackRef tmp = exc_st;
  |  | 7584|      0|                    exc_st = PyStackRef_NULL;
  |  | 7585|      0|                    stack_pointer[-1] = exc_st;
  |  | 7586|      0|                    PyStackRef_CLOSE(tmp);
  |  | 7587|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7588|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7588:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7589|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7590|      0|                    tmp = awaitable_st;
  |  | 7591|      0|                    awaitable_st = PyStackRef_NULL;
  |  | 7592|      0|                    stack_pointer[-2] = awaitable_st;
  |  | 7593|      0|                    PyStackRef_CLOSE(tmp);
  |  | 7594|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7595|      0|                    stack_pointer += -2;
  |  | 7596|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7597|      0|                }
  |  | 7598|      0|                else {
  |  | 7599|      0|                    Py_INCREF(exc);
  |  |  ------------------
  |  |  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7600|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7600:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7601|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7602|      0|                    _PyErr_SetRaisedException(tstate, exc);
  |  | 7603|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7604|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7604:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7605|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7606|      0|                    monitor_reraise(tstate, frame, this_instr);
  |  | 7607|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7608|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7608:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7609|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7610|      0|                    JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7611|      0|                }
  |  | 7612|      0|            }
  |  | 7613|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7614|      0|        }
  |  | 7615|       |
  |  | 7616|      0|        TARGET(INSTRUMENTED_END_FOR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7617|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7618|       |            int opcode = INSTRUMENTED_END_FOR;
  |  | 7619|       |            (void)(opcode);
  |  | 7620|       |            #endif
  |  | 7621|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7622|      0|            (void)this_instr;
  |  | 7623|      0|            next_instr += 1;
  |  | 7624|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_FOR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7625|      0|            _PyStackRef receiver;
  |  | 7626|      0|            _PyStackRef value;
  |  | 7627|      0|            value = stack_pointer[-1];
  |  | 7628|      0|            receiver = stack_pointer[-3];
  |  | 7629|      0|            if (PyStackRef_GenCheck(receiver)) {
  |  |  ------------------
  |  |  |  Branch (7629:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7630|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7631|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7632|      0|                int err = monitor_stop_iteration(tstate, frame, this_instr, PyStackRef_AsPyObjectBorrow(value));
  |  | 7633|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7634|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7634:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7635|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7636|      0|                }
  |  | 7637|      0|            }
  |  | 7638|      0|            stack_pointer += -1;
  |  | 7639|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7640|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7641|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7642|      0|            PyStackRef_CLOSE(value);
  |  | 7643|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7644|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7645|      0|        }
  |  | 7646|       |
  |  | 7647|      0|        TARGET(INSTRUMENTED_END_SEND) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7648|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7649|       |            int opcode = INSTRUMENTED_END_SEND;
  |  | 7650|       |            (void)(opcode);
  |  | 7651|       |            #endif
  |  | 7652|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7653|      0|            (void)this_instr;
  |  | 7654|      0|            frame->instr_ptr = next_instr;
  |  | 7655|      0|            next_instr += 1;
  |  | 7656|      0|            INSTRUCTION_STATS(INSTRUMENTED_END_SEND);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7657|      0|            _PyStackRef receiver;
  |  | 7658|      0|            _PyStackRef index_or_null;
  |  | 7659|      0|            _PyStackRef value;
  |  | 7660|      0|            _PyStackRef val;
  |  | 7661|      0|            value = stack_pointer[-1];
  |  | 7662|      0|            index_or_null = stack_pointer[-2];
  |  | 7663|      0|            receiver = stack_pointer[-3];
  |  | 7664|      0|            PyObject *receiver_o = PyStackRef_AsPyObjectBorrow(receiver);
  |  | 7665|      0|            if (PyGen_Check(receiver_o) || PyCoro_CheckExact(receiver_o)) {
  |  |  ------------------
  |  |  |  |   16|      0|#define PyGen_Check(op) PyObject_TypeCheck((op), &PyGen_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           if (PyGen_Check(receiver_o) || PyCoro_CheckExact(receiver_o)) {
  |  |  ------------------
  |  |  |  |   31|      0|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7666|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7667|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7668|      0|                int err = monitor_stop_iteration(tstate, frame, this_instr, PyStackRef_AsPyObjectBorrow(value));
  |  | 7669|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7670|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (7670:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7671|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7672|      0|                }
  |  | 7673|      0|            }
  |  | 7674|      0|            val = value;
  |  | 7675|      0|            (void)index_or_null;
  |  | 7676|      0|            stack_pointer[-3] = val;
  |  | 7677|      0|            stack_pointer += -2;
  |  | 7678|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7679|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7680|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7681|      0|            PyStackRef_CLOSE(receiver);
  |  | 7682|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7683|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7684|      0|        }
  |  | 7685|       |
  |  | 7686|      0|        TARGET(INSTRUMENTED_FOR_ITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7687|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7688|       |            int opcode = INSTRUMENTED_FOR_ITER;
  |  | 7689|       |            (void)(opcode);
  |  | 7690|       |            #endif
  |  | 7691|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7692|      0|            (void)this_instr;
  |  | 7693|      0|            frame->instr_ptr = next_instr;
  |  | 7694|      0|            next_instr += 2;
  |  | 7695|      0|            INSTRUCTION_STATS(INSTRUMENTED_FOR_ITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7696|      0|            _PyStackRef iter;
  |  | 7697|      0|            _PyStackRef null_or_index;
  |  | 7698|      0|            _PyStackRef next;
  |  | 7699|       |            /* Skip 1 cache entry */
  |  | 7700|      0|            null_or_index = stack_pointer[-1];
  |  | 7701|      0|            iter = stack_pointer[-2];
  |  | 7702|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7703|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7704|      0|            _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, iter, &null_or_index);
  |  | 7705|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7706|      0|            if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (7706:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7707|      0|                if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (7707:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7708|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7709|      0|                }
  |  | 7710|      0|                JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 7711|      0|                stack_pointer[-1] = null_or_index;
  |  | 7712|      0|                DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7713|      0|            }
  |  | 7714|      0|            next = item;
  |  | 7715|      0|            INSTRUMENTED_JUMP(this_instr, next_instr, PY_MONITORING_EVENT_BRANCH_LEFT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7716|      0|            stack_pointer[-1] = null_or_index;
  |  | 7717|      0|            stack_pointer[0] = next;
  |  | 7718|      0|            stack_pointer += 1;
  |  | 7719|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7720|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7721|      0|        }
  |  | 7722|       |
  |  | 7723|      0|        TARGET(INSTRUMENTED_INSTRUCTION) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7724|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7725|       |            int opcode = INSTRUMENTED_INSTRUCTION;
  |  | 7726|       |            (void)(opcode);
  |  | 7727|       |            #endif
  |  | 7728|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7729|      0|            (void)this_instr;
  |  | 7730|      0|            frame->instr_ptr = next_instr;
  |  | 7731|      0|            next_instr += 1;
  |  | 7732|      0|            INSTRUCTION_STATS(INSTRUMENTED_INSTRUCTION);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7733|      0|            opcode = INSTRUMENTED_INSTRUCTION;
  |  |  ------------------
  |  |  |  |  225|      0|#define INSTRUMENTED_INSTRUCTION               237
  |  |  ------------------
  |  | 7734|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7735|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 7736|      0|            int next_opcode = _Py_call_instrumentation_instruction(
  |  | 7737|      0|                tstate, frame, this_instr);
  |  | 7738|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7739|      0|            if (next_opcode < 0) {
  |  |  ------------------
  |  |  |  Branch (7739:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7740|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7741|      0|            }
  |  | 7742|      0|            next_instr = this_instr;
  |  | 7743|      0|            if (_PyOpcode_Caches[next_opcode]) {
  |  |  ------------------
  |  |  |  Branch (7743:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7744|      0|                PAUSE_ADAPTIVE_COUNTER(next_instr[1].counter);
  |  |  ------------------
  |  |  |  |  382|      0|    do { \
  |  |  |  |  383|      0|        (COUNTER) = pause_backoff_counter((COUNTER)); \
  |  |  |  |  384|      0|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (384:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7745|      0|            }
  |  | 7746|      0|            assert(next_opcode > 0 && next_opcode < 256);
  |  |  ------------------
  |  |  |  Branch (7746:13): [True: 0, False: 0]
  |  |  |  Branch (7746:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 7747|      0|            opcode = next_opcode;
  |  | 7748|      0|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 7749|      0|        }
  |  | 7750|       |
  |  | 7751|      0|        TARGET(INSTRUMENTED_JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7752|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7753|       |            int opcode = INSTRUMENTED_JUMP_BACKWARD;
  |  | 7754|       |            (void)(opcode);
  |  | 7755|       |            #endif
  |  | 7756|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7757|      0|            (void)this_instr;
  |  | 7758|      0|            frame->instr_ptr = next_instr;
  |  | 7759|      0|            next_instr += 2;
  |  | 7760|      0|            INSTRUCTION_STATS(INSTRUMENTED_JUMP_BACKWARD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7761|       |            /* Skip 1 cache entry */
  |  | 7762|       |            // _CHECK_PERIODIC
  |  | 7763|      0|            {
  |  | 7764|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7765|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7766|      0|                int err = check_periodics(tstate);
  |  | 7767|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7768|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (7768:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7769|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7770|      0|                }
  |  | 7771|      0|            }
  |  | 7772|       |            // _MONITOR_JUMP_BACKWARD
  |  | 7773|      0|            {
  |  | 7774|      0|                INSTRUMENTED_JUMP(this_instr, next_instr - oparg, PY_MONITORING_EVENT_JUMP);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7775|      0|            }
  |  | 7776|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7777|      0|        }
  |  | 7778|       |
  |  | 7779|      0|        TARGET(INSTRUMENTED_JUMP_FORWARD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7780|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7781|       |            int opcode = INSTRUMENTED_JUMP_FORWARD;
  |  | 7782|       |            (void)(opcode);
  |  | 7783|       |            #endif
  |  | 7784|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7785|      0|            (void)this_instr;
  |  | 7786|      0|            frame->instr_ptr = next_instr;
  |  | 7787|      0|            next_instr += 1;
  |  | 7788|      0|            INSTRUCTION_STATS(INSTRUMENTED_JUMP_FORWARD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7789|      0|            INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_JUMP);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7790|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7791|      0|        }
  |  | 7792|       |
  |  | 7793|      0|        TARGET(INSTRUMENTED_LINE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7794|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7795|       |            int opcode = INSTRUMENTED_LINE;
  |  | 7796|       |            (void)(opcode);
  |  | 7797|       |            #endif
  |  | 7798|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 7799|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7800|      0|            (void)this_instr;
  |  | 7801|      0|            frame->instr_ptr = next_instr;
  |  | 7802|      0|            next_instr += 1;
  |  | 7803|      0|            INSTRUCTION_STATS(INSTRUMENTED_LINE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7804|      0|            opcode = INSTRUMENTED_LINE;
  |  |  ------------------
  |  |  |  |  241|      0|#define INSTRUMENTED_LINE                      253
  |  |  ------------------
  |  | 7805|      0|            int original_opcode = 0;
  |  | 7806|      0|            if (tstate->tracing) {
  |  |  ------------------
  |  |  |  Branch (7806:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7807|      0|                PyCodeObject *code = _PyFrame_GetCode(frame);
  |  | 7808|      0|                int index = (int)(this_instr - _PyFrame_GetBytecode(frame));
  |  | 7809|      0|                original_opcode = code->_co_monitoring->lines->data[index*code->_co_monitoring->lines->bytes_per_entry];
  |  | 7810|      0|                next_instr = this_instr;
  |  | 7811|      0|            } else {
  |  | 7812|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7813|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7814|      0|                original_opcode = _Py_call_instrumentation_line(
  |  | 7815|      0|                    tstate, frame, this_instr, prev_instr);
  |  | 7816|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7817|       |                // Explicit stack reload
  |  | 7818|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7819|      0|                _PyFrame_StackAssertInvalid(frame);
  |  | 7820|      0|                if (original_opcode < 0) {
  |  |  ------------------
  |  |  |  Branch (7820:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7821|      0|                    next_instr = this_instr+1;
  |  | 7822|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7823|      0|                }
  |  | 7824|      0|                next_instr = frame->instr_ptr;
  |  | 7825|      0|                if (next_instr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (7825:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7826|      0|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7827|      0|                }
  |  | 7828|      0|            }
  |  | 7829|      0|            if (_PyOpcode_Caches[original_opcode]) {
  |  |  ------------------
  |  |  |  Branch (7829:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7830|      0|                _PyBinaryOpCache *cache = (_PyBinaryOpCache *)(next_instr+1);
  |  | 7831|      0|                PAUSE_ADAPTIVE_COUNTER(cache->counter);
  |  |  ------------------
  |  |  |  |  382|      0|    do { \
  |  |  |  |  383|      0|        (COUNTER) = pause_backoff_counter((COUNTER)); \
  |  |  |  |  384|      0|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (384:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7832|      0|            }
  |  | 7833|      0|            opcode = original_opcode;
  |  | 7834|      0|            PRE_DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  ------------------
  |  | 7835|      0|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 7836|      0|        }
  |  | 7837|       |
  |  | 7838|      0|        TARGET(INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7839|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7840|       |            int opcode = INSTRUMENTED_LOAD_SUPER_ATTR;
  |  | 7841|       |            (void)(opcode);
  |  | 7842|       |            #endif
  |  | 7843|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7844|      0|            (void)this_instr;
  |  | 7845|      0|            frame->instr_ptr = next_instr;
  |  | 7846|      0|            next_instr += 2;
  |  | 7847|      0|            INSTRUCTION_STATS(INSTRUMENTED_LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7848|      0|            opcode = INSTRUMENTED_LOAD_SUPER_ATTR;
  |  |  ------------------
  |  |  |  |  236|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  | 7849|      0|            _PyStackRef global_super_st;
  |  | 7850|      0|            _PyStackRef class_st;
  |  | 7851|      0|            _PyStackRef self_st;
  |  | 7852|      0|            _PyStackRef attr;
  |  | 7853|      0|            _PyStackRef *null;
  |  | 7854|       |            /* Skip 1 cache entry */
  |  | 7855|       |            // _LOAD_SUPER_ATTR
  |  | 7856|      0|            {
  |  | 7857|      0|                self_st = stack_pointer[-1];
  |  | 7858|      0|                class_st = stack_pointer[-2];
  |  | 7859|      0|                global_super_st = stack_pointer[-3];
  |  | 7860|      0|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  | 7861|      0|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  | 7862|      0|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  | 7863|      0|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (7863:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7864|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (7864:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 7865|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7866|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7867|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 7868|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 7869|      0|                        frame, this_instr, global_super, arg);
  |  | 7870|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7871|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (7871:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7872|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7872:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7873|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7874|      0|                        _PyStackRef tmp = self_st;
  |  | 7875|      0|                        self_st = PyStackRef_NULL;
  |  | 7876|      0|                        stack_pointer[-1] = self_st;
  |  | 7877|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7878|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7879|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7879:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7880|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7881|      0|                        tmp = class_st;
  |  | 7882|      0|                        class_st = PyStackRef_NULL;
  |  | 7883|      0|                        stack_pointer[-2] = class_st;
  |  | 7884|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7885|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7886|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7886:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7887|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7888|      0|                        tmp = global_super_st;
  |  | 7889|      0|                        global_super_st = PyStackRef_NULL;
  |  | 7890|      0|                        stack_pointer[-3] = global_super_st;
  |  | 7891|      0|                        PyStackRef_CLOSE(tmp);
  |  | 7892|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7893|      0|                        stack_pointer += -3;
  |  | 7894|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7895|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7896|      0|                    }
  |  | 7897|      0|                }
  |  | 7898|      0|                PyObject *super;
  |  | 7899|      0|                {
  |  | 7900|      0|                    PyObject *stack[] = {class, self};
  |  | 7901|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7902|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 7903|      0|                    super = PyObject_Vectorcall(global_super, stack, oparg & 2, NULL);
  |  | 7904|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 7905|      0|                }
  |  | 7906|      0|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|      0|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (7906:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7907|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (7907:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 7908|      0|                    if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (7908:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7909|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7909:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7910|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7911|      0|                        _Py_call_instrumentation_exc2(
  |  | 7912|      0|                            tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 7913|      0|                            frame, this_instr, global_super, arg);
  |  | 7914|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7915|      0|                    }
  |  | 7916|      0|                    else {
  |  | 7917|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7917:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 7918|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 7919|      0|                        int err = _Py_call_instrumentation_2args(
  |  | 7920|      0|                            tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 7921|      0|                            frame, this_instr, global_super, arg);
  |  | 7922|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 7923|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (7923:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7924|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7924:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 7925|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 7926|      0|                            Py_CLEAR(super);
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7927|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 7928|      0|                        }
  |  | 7929|      0|                    }
  |  | 7930|      0|                }
  |  | 7931|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7932|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7933|      0|                _PyStackRef tmp = self_st;
  |  | 7934|      0|                self_st = PyStackRef_NULL;
  |  | 7935|      0|                stack_pointer[-1] = self_st;
  |  | 7936|      0|                PyStackRef_CLOSE(tmp);
  |  | 7937|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7938|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7938:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7939|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7940|      0|                tmp = class_st;
  |  | 7941|      0|                class_st = PyStackRef_NULL;
  |  | 7942|      0|                stack_pointer[-2] = class_st;
  |  | 7943|      0|                PyStackRef_CLOSE(tmp);
  |  | 7944|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7945|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7945:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7946|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7947|      0|                tmp = global_super_st;
  |  | 7948|      0|                global_super_st = PyStackRef_NULL;
  |  | 7949|      0|                stack_pointer[-3] = global_super_st;
  |  | 7950|      0|                PyStackRef_CLOSE(tmp);
  |  | 7951|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7952|      0|                stack_pointer += -3;
  |  | 7953|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7954|      0|                if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (7954:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7955|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7956|      0|                }
  |  | 7957|      0|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|      0|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7957:34): [True: 0, False: 0]
  |  |  ------------------
  |  | 7958|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7959|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7960|      0|                PyObject *attr_o = PyObject_GetAttr(super, name);
  |  | 7961|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7962|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7962:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 7963|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 7964|      0|                Py_DECREF(super);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7965|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7966|      0|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7966:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7967|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7968|      0|                }
  |  | 7969|      0|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  | 7970|      0|            }
  |  | 7971|       |            // _PUSH_NULL_CONDITIONAL
  |  | 7972|      0|            {
  |  | 7973|      0|                null = &stack_pointer[1];
  |  | 7974|      0|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (7974:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 7975|      0|                    null[0] = PyStackRef_NULL;
  |  | 7976|      0|                }
  |  | 7977|      0|            }
  |  | 7978|      0|            stack_pointer[0] = attr;
  |  | 7979|      0|            stack_pointer += 1 + (oparg & 1);
  |  | 7980|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7981|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7982|      0|        }
  |  | 7983|       |
  |  | 7984|      0|        TARGET(INSTRUMENTED_NOT_TAKEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7985|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7986|       |            int opcode = INSTRUMENTED_NOT_TAKEN;
  |  | 7987|       |            (void)(opcode);
  |  | 7988|       |            #endif
  |  | 7989|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 7990|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 7991|      0|            (void)this_instr;
  |  | 7992|      0|            frame->instr_ptr = next_instr;
  |  | 7993|      0|            next_instr += 1;
  |  | 7994|      0|            INSTRUCTION_STATS(INSTRUMENTED_NOT_TAKEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7995|      0|            (void)this_instr;
  |  | 7996|      0|            INSTRUMENTED_JUMP(prev_instr, next_instr, PY_MONITORING_EVENT_BRANCH_LEFT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7997|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 7998|      0|        }
  |  | 7999|       |
  |  | 8000|      0|        TARGET(INSTRUMENTED_POP_ITER) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8001|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8002|       |            int opcode = INSTRUMENTED_POP_ITER;
  |  | 8003|       |            (void)(opcode);
  |  | 8004|       |            #endif
  |  | 8005|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  | 8006|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8007|      0|            (void)this_instr;
  |  | 8008|      0|            frame->instr_ptr = next_instr;
  |  | 8009|      0|            next_instr += 1;
  |  | 8010|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_ITER);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8011|      0|            _PyStackRef iter;
  |  | 8012|      0|            _PyStackRef index_or_null;
  |  | 8013|      0|            index_or_null = stack_pointer[-1];
  |  | 8014|      0|            iter = stack_pointer[-2];
  |  | 8015|      0|            (void)index_or_null;
  |  | 8016|      0|            INSTRUMENTED_JUMP(prev_instr, this_instr+1, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8017|      0|            stack_pointer += -2;
  |  | 8018|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8019|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8020|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 8021|      0|            PyStackRef_CLOSE(iter);
  |  | 8022|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 8023|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8024|      0|        }
  |  | 8025|       |
  |  | 8026|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_FALSE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8027|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8028|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_FALSE;
  |  | 8029|       |            (void)(opcode);
  |  | 8030|       |            #endif
  |  | 8031|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8032|      0|            (void)this_instr;
  |  | 8033|      0|            frame->instr_ptr = next_instr;
  |  | 8034|      0|            next_instr += 2;
  |  | 8035|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_FALSE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8036|      0|            _PyStackRef cond;
  |  | 8037|       |            /* Skip 1 cache entry */
  |  | 8038|      0|            cond = stack_pointer[-1];
  |  | 8039|      0|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (8039:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 8040|      0|            int jump = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|      0|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8041|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8042|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8042:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8043|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8044|      0|            }
  |  | 8045|      0|            stack_pointer += -1;
  |  | 8046|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8047|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8048|      0|        }
  |  | 8049|       |
  |  | 8050|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_NONE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8051|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8052|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_NONE;
  |  | 8053|       |            (void)(opcode);
  |  | 8054|       |            #endif
  |  | 8055|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8056|      0|            (void)this_instr;
  |  | 8057|      0|            frame->instr_ptr = next_instr;
  |  | 8058|      0|            next_instr += 2;
  |  | 8059|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_NONE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8060|      0|            _PyStackRef value;
  |  | 8061|       |            /* Skip 1 cache entry */
  |  | 8062|      0|            value = stack_pointer[-1];
  |  | 8063|      0|            int jump = PyStackRef_IsNone(value);
  |  |  ------------------
  |  |  |  |  495|      0|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8064|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8065|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8065:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8066|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8067|      0|            }
  |  | 8068|      0|            else {
  |  | 8069|      0|                stack_pointer += -1;
  |  | 8070|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8071|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8072|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8073|      0|                PyStackRef_CLOSE(value);
  |  | 8074|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8075|      0|                stack_pointer += 1;
  |  | 8076|      0|            }
  |  | 8077|      0|            stack_pointer += -1;
  |  | 8078|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8079|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8080|      0|        }
  |  | 8081|       |
  |  | 8082|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_NOT_NONE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8083|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8084|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_NOT_NONE;
  |  | 8085|       |            (void)(opcode);
  |  | 8086|       |            #endif
  |  | 8087|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8088|      0|            (void)this_instr;
  |  | 8089|      0|            frame->instr_ptr = next_instr;
  |  | 8090|      0|            next_instr += 2;
  |  | 8091|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_NOT_NONE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8092|      0|            _PyStackRef value;
  |  | 8093|       |            /* Skip 1 cache entry */
  |  | 8094|      0|            value = stack_pointer[-1];
  |  | 8095|      0|            int jump = !PyStackRef_IsNone(value);
  |  |  ------------------
  |  |  |  |  495|      0|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8096|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8097|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8097:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8098|      0|                stack_pointer += -1;
  |  | 8099|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8100|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8101|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8102|      0|                PyStackRef_CLOSE(value);
  |  | 8103|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8104|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8105|      0|            }
  |  | 8106|      0|            else {
  |  | 8107|      0|                stack_pointer += -1;
  |  | 8108|      0|            }
  |  | 8109|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8110|      0|        }
  |  | 8111|       |
  |  | 8112|      0|        TARGET(INSTRUMENTED_POP_JUMP_IF_TRUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8113|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8114|       |            int opcode = INSTRUMENTED_POP_JUMP_IF_TRUE;
  |  | 8115|       |            (void)(opcode);
  |  | 8116|       |            #endif
  |  | 8117|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8118|      0|            (void)this_instr;
  |  | 8119|      0|            frame->instr_ptr = next_instr;
  |  | 8120|      0|            next_instr += 2;
  |  | 8121|      0|            INSTRUCTION_STATS(INSTRUMENTED_POP_JUMP_IF_TRUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8122|      0|            _PyStackRef cond;
  |  | 8123|       |            /* Skip 1 cache entry */
  |  | 8124|      0|            cond = stack_pointer[-1];
  |  | 8125|      0|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (8125:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 8126|      0|            int jump = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|      0|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8127|      0|            RECORD_BRANCH_TAKEN(this_instr[1].cache, jump);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      0|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  | 8128|      0|            if (jump) {
  |  |  ------------------
  |  |  |  Branch (8128:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8129|      0|                INSTRUMENTED_JUMP(this_instr, next_instr + oparg, PY_MONITORING_EVENT_BRANCH_RIGHT);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8130|      0|            }
  |  | 8131|      0|            stack_pointer += -1;
  |  | 8132|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8133|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8134|      0|        }
  |  | 8135|       |
  |  | 8136|      0|        TARGET(INSTRUMENTED_RESUME) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8137|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8138|       |            int opcode = INSTRUMENTED_RESUME;
  |  | 8139|       |            (void)(opcode);
  |  | 8140|       |            #endif
  |  | 8141|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8142|      0|            (void)this_instr;
  |  | 8143|      0|            frame->instr_ptr = next_instr;
  |  | 8144|      0|            next_instr += 2;
  |  | 8145|      0|            INSTRUCTION_STATS(INSTRUMENTED_RESUME);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8146|       |            /* Skip 1 cache entry */
  |  | 8147|       |            // _LOAD_BYTECODE
  |  | 8148|      0|            {
  |  | 8149|       |                #ifdef Py_GIL_DISABLED
  |  | 8150|       |                if (frame->tlbc_index !=
  |  | 8151|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  | 8152|       |                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8153|       |                    _PyFrame_StackPointerValidate(frame);
  |  | 8154|       |                    _Py_CODEUNIT *bytecode =
  |  | 8155|       |                    _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
  |  | 8156|       |                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8157|       |                    if (bytecode == NULL) {
  |  | 8158|       |                        JUMP_TO_LABEL(error);
  |  | 8159|       |                    }
  |  | 8160|       |                    ptrdiff_t off = this_instr - _PyFrame_GetBytecode(frame);
  |  | 8161|       |                    frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
  |  | 8162|       |                    frame->instr_ptr = bytecode + off;
  |  | 8163|       |                    next_instr = frame->instr_ptr;
  |  | 8164|       |                    DISPATCH();
  |  | 8165|       |                }
  |  | 8166|       |                #endif
  |  | 8167|      0|            }
  |  | 8168|       |            // _MAYBE_INSTRUMENT
  |  | 8169|      0|            {
  |  | 8170|       |                #ifdef Py_GIL_DISABLED
  |  | 8171|       |
  |  | 8172|       |                int check_instrumentation = 1;
  |  | 8173|       |                #else
  |  | 8174|      0|                int check_instrumentation = (tstate->tracing == 0);
  |  | 8175|      0|                #endif
  |  | 8176|      0|                if (check_instrumentation) {
  |  |  ------------------
  |  |  |  Branch (8176:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8177|      0|                    uintptr_t global_version = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & ~_PY_EVAL_EVENTS_MASK;
  |  |  ------------------
  |  |  |  |  356|      0|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  355|      0|#define _PY_EVAL_EVENTS_BITS 8
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8178|      0|                    uintptr_t code_version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  154|      0|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 8179|      0|                    if (code_version != global_version) {
  |  |  ------------------
  |  |  |  Branch (8179:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8180|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8181|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 8182|      0|                        int err = _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
  |  | 8183|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 8184|      0|                        if (err) {
  |  |  ------------------
  |  |  |  Branch (8184:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 8185|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8186|      0|                        }
  |  | 8187|      0|                        next_instr = this_instr;
  |  | 8188|      0|                        DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8189|      0|                    }
  |  | 8190|      0|                }
  |  | 8191|      0|            }
  |  | 8192|       |            // _CHECK_PERIODIC_IF_NOT_YIELD_FROM
  |  | 8193|      0|            {
  |  | 8194|      0|                if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   94|      0|#define RESUME_OPARG_LOCATION_MASK 0x7
  |  |  ------------------
  |  |                               if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   90|      0|#define RESUME_AFTER_YIELD_FROM 2
  |  |  ------------------
  |  |  |  Branch (8194:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8195|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8196|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 8197|      0|                    int err = check_periodics(tstate);
  |  | 8198|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8199|      0|                    if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8199:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8200|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8201|      0|                    }
  |  | 8202|      0|                }
  |  | 8203|      0|            }
  |  | 8204|       |            // _MONITOR_RESUME
  |  | 8205|      0|            {
  |  | 8206|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8207|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8208|      0|                int err = _Py_call_instrumentation(
  |  | 8209|      0|                    tstate, oparg == 0 ? PY_MONITORING_EVENT_PY_START : PY_MONITORING_EVENT_PY_RESUME, frame, this_instr);
  |  |  ------------------
  |  |  |  |   14|      0|#define PY_MONITORING_EVENT_PY_START 0
  |  |  ------------------
  |  |                                   tstate, oparg == 0 ? PY_MONITORING_EVENT_PY_START : PY_MONITORING_EVENT_PY_RESUME, frame, this_instr);
  |  |  ------------------
  |  |  |  |   15|      0|#define PY_MONITORING_EVENT_PY_RESUME 1
  |  |  ------------------
  |  |  |  Branch (8209:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 8210|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8211|       |                // Explicit stack reload
  |  | 8212|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8213|      0|                _PyFrame_StackAssertInvalid(frame);
  |  | 8214|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (8214:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8215|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8216|      0|                }
  |  | 8217|      0|                if (frame->instr_ptr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (8217:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8218|      0|                    next_instr = frame->instr_ptr;
  |  | 8219|      0|                }
  |  | 8220|      0|            }
  |  | 8221|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8222|      0|        }
  |  | 8223|       |
  |  | 8224|      0|        TARGET(INSTRUMENTED_RETURN_VALUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8225|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8226|       |            int opcode = INSTRUMENTED_RETURN_VALUE;
  |  | 8227|       |            (void)(opcode);
  |  | 8228|       |            #endif
  |  | 8229|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8230|      0|            (void)this_instr;
  |  | 8231|      0|            frame->instr_ptr = next_instr;
  |  | 8232|      0|            next_instr += 1;
  |  | 8233|      0|            INSTRUCTION_STATS(INSTRUMENTED_RETURN_VALUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8234|      0|            _PyStackRef val;
  |  | 8235|      0|            _PyStackRef value;
  |  | 8236|      0|            _PyStackRef retval;
  |  | 8237|      0|            _PyStackRef res;
  |  | 8238|       |            // _RETURN_VALUE_EVENT
  |  | 8239|      0|            {
  |  | 8240|      0|                val = stack_pointer[-1];
  |  | 8241|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8242|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8243|      0|                int err = _Py_call_instrumentation_arg(
  |  | 8244|      0|                    tstate, PY_MONITORING_EVENT_PY_RETURN,
  |  |  ------------------
  |  |  |  |   16|      0|#define PY_MONITORING_EVENT_PY_RETURN 2
  |  |  ------------------
  |  | 8245|      0|                    frame, this_instr, PyStackRef_AsPyObjectBorrow(val));
  |  | 8246|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8247|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (8247:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8248|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8249|      0|                }
  |  | 8250|      0|            }
  |  | 8251|       |            // _MAKE_HEAP_SAFE
  |  | 8252|      0|            {
  |  | 8253|      0|                value = val;
  |  | 8254|      0|                value = PyStackRef_MakeHeapSafe(value);
  |  | 8255|      0|            }
  |  | 8256|       |            // _RETURN_VALUE
  |  | 8257|      0|            {
  |  | 8258|      0|                retval = value;
  |  | 8259|      0|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (8259:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8260|      0|                _PyStackRef temp = retval;
  |  | 8261|      0|                stack_pointer += -1;
  |  | 8262|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8263|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8264|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8265|      0|                assert(STACK_LEVEL() == 0);
  |  |  ------------------
  |  |  |  Branch (8265:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8266|      0|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|      0|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  | 8267|      0|                _Py_LeaveRecursiveCallPy(tstate);
  |  | 8268|      0|                _PyInterpreterFrame *dying = frame;
  |  | 8269|      0|                frame = tstate->current_frame = dying->previous;
  |  | 8270|      0|                _PyEval_FrameClearAndPop(tstate, dying);
  |  | 8271|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8272|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8273|      0|                LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  441|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8274|      0|                res = temp;
  |  | 8275|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8276|      0|            }
  |  | 8277|      0|            stack_pointer[0] = res;
  |  | 8278|      0|            stack_pointer += 1;
  |  | 8279|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8280|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8281|      0|        }
  |  | 8282|       |
  |  | 8283|      0|        TARGET(INSTRUMENTED_YIELD_VALUE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8284|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8285|       |            int opcode = INSTRUMENTED_YIELD_VALUE;
  |  | 8286|       |            (void)(opcode);
  |  | 8287|       |            #endif
  |  | 8288|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8289|      0|            (void)this_instr;
  |  | 8290|      0|            frame->instr_ptr = next_instr;
  |  | 8291|      0|            next_instr += 1;
  |  | 8292|      0|            INSTRUCTION_STATS(INSTRUMENTED_YIELD_VALUE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8293|      0|            opcode = INSTRUMENTED_YIELD_VALUE;
  |  |  ------------------
  |  |  |  |  234|      0|#define INSTRUMENTED_YIELD_VALUE               246
  |  |  ------------------
  |  | 8294|      0|            _PyStackRef val;
  |  | 8295|      0|            _PyStackRef value;
  |  | 8296|      0|            _PyStackRef retval;
  |  | 8297|       |            // _YIELD_VALUE_EVENT
  |  | 8298|      0|            {
  |  | 8299|      0|                val = stack_pointer[-1];
  |  | 8300|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8301|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8302|      0|                int err = _Py_call_instrumentation_arg(
  |  | 8303|      0|                    tstate, PY_MONITORING_EVENT_PY_YIELD,
  |  |  ------------------
  |  |  |  |   17|      0|#define PY_MONITORING_EVENT_PY_YIELD 3
  |  |  ------------------
  |  | 8304|      0|                    frame, this_instr, PyStackRef_AsPyObjectBorrow(val));
  |  | 8305|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8306|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (8306:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8307|       |                    // Explicit stack reload
  |  | 8308|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8309|      0|                    _PyFrame_StackAssertInvalid(frame);
  |  | 8310|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8311|      0|                }
  |  | 8312|      0|                if (frame->instr_ptr != this_instr) {
  |  |  ------------------
  |  |  |  Branch (8312:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8313|       |                    // Explicit stack reload
  |  | 8314|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8315|      0|                    _PyFrame_StackAssertInvalid(frame);
  |  | 8316|      0|                    next_instr = frame->instr_ptr;
  |  | 8317|      0|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8318|      0|                }
  |  | 8319|      0|            }
  |  | 8320|       |            // _MAKE_HEAP_SAFE
  |  | 8321|      0|            {
  |  | 8322|      0|                value = val;
  |  | 8323|      0|                value = PyStackRef_MakeHeapSafe(value);
  |  | 8324|      0|            }
  |  | 8325|       |            // _YIELD_VALUE
  |  | 8326|      0|            {
  |  | 8327|      0|                retval = value;
  |  | 8328|      0|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (8328:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8329|      0|                frame->instr_ptr++;
  |  | 8330|      0|                PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
  |  | 8331|      0|                assert(FRAME_SUSPENDED_YIELD_FROM == FRAME_SUSPENDED + 1);
  |  |  ------------------
  |  |  |  Branch (8331:17): [True: 0, Folded]
  |  |  ------------------
  |  | 8332|      0|                assert(oparg == 0 || oparg == 1);
  |  |  ------------------
  |  |  |  Branch (8332:17): [True: 0, False: 0]
  |  |  |  Branch (8332:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8333|      0|                _PyStackRef temp = retval;
  |  | 8334|      0|                stack_pointer += -1;
  |  | 8335|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8336|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8337|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8338|      0|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|      0|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  | 8339|      0|                tstate->exc_info = gen->gi_exc_state.previous_item;
  |  | 8340|      0|                gen->gi_exc_state.previous_item = NULL;
  |  | 8341|      0|                _Py_LeaveRecursiveCallPy(tstate);
  |  | 8342|      0|                _PyInterpreterFrame *gen_frame = frame;
  |  | 8343|      0|                _PyThreadState_UpdateLastProfiledFrame(tstate, gen_frame, gen_frame->previous);
  |  |  ------------------
  |  |  |  |  326|      0|    do { \
  |  |  |  |  327|      0|        PyThreadState *tstate_ = (tstate); \
  |  |  |  |  328|      0|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  |  |  329|      0|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (329:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  |  |  332|      0|        } \
  |  |  |  |  333|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (333:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8344|      0|                frame = tstate->current_frame = frame->previous;
  |  | 8345|      0|                gen_frame->previous = NULL;
  |  | 8346|      0|                ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_YIELD;
  |  | 8347|      0|                FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_SUSPENDED + oparg);
  |  |  ------------------
  |  |  |  |  169|      0|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  | 8348|      0|                assert(INLINE_CACHE_ENTRIES_SEND == INLINE_CACHE_ENTRIES_FOR_ITER);
  |  |  ------------------
  |  |  |  Branch (8348:17): [True: 0, Folded]
  |  |  ------------------
  |  | 8349|       |                #if TIER_ONE && defined(Py_DEBUG)
  |  | 8350|       |                if (!PyStackRef_IsNone(frame->f_executable)) {
  |  | 8351|       |                    Py_ssize_t i = frame->instr_ptr - _PyFrame_GetBytecode(frame);
  |  | 8352|       |                    assert(i >= 0 && i <= INT_MAX);
  |  | 8353|       |                    int opcode = _Py_GetBaseCodeUnit(_PyFrame_GetCode(frame), (int)i).op.code;
  |  | 8354|       |                    assert(opcode == SEND || opcode == FOR_ITER);
  |  | 8355|       |                }
  |  | 8356|       |                #endif
  |  | 8357|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8358|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8359|      0|                LOAD_IP(1 + INLINE_CACHE_ENTRIES_SEND);
  |  |  ------------------
  |  |  |  |  441|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8360|      0|                value = temp;
  |  | 8361|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8362|      0|            }
  |  | 8363|      0|            stack_pointer[0] = value;
  |  | 8364|      0|            stack_pointer += 1;
  |  | 8365|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8366|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8367|      0|        }
  |  | 8368|       |
  |  | 8369|   207k|        TARGET(INTERPRETER_EXIT) {
  |  |  ------------------
  |  |  |  |  132|   207k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8370|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8371|       |            int opcode = INTERPRETER_EXIT;
  |  | 8372|       |            (void)(opcode);
  |  | 8373|       |            #endif
  |  | 8374|   207k|            frame->instr_ptr = next_instr;
  |  | 8375|   207k|            next_instr += 1;
  |  | 8376|   207k|            INSTRUCTION_STATS(INTERPRETER_EXIT);
  |  |  ------------------
  |  |  |  |   71|   207k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8377|   207k|            _PyStackRef retval;
  |  | 8378|   207k|            retval = stack_pointer[-1];
  |  | 8379|   207k|            assert(frame->owner == FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (8379:13): [True: 207k, False: 0]
  |  |  ------------------
  |  | 8380|   207k|            assert(_PyFrame_IsIncomplete(frame));
  |  |  ------------------
  |  |  |  Branch (8380:13): [True: 207k, False: 0]
  |  |  ------------------
  |  | 8381|   207k|            tstate->current_frame = frame->previous;
  |  | 8382|   207k|            assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (8382:13): [True: 207k, False: 0]
  |  |  ------------------
  |  | 8383|   207k|            PyObject *result = PyStackRef_AsPyObjectSteal(retval);
  |  | 8384|   207k|            #if !_Py_TAIL_CALL_INTERP
  |  | 8385|   207k|            assert(frame == &entry.frame);
  |  |  ------------------
  |  |  |  Branch (8385:13): [True: 207k, False: 0]
  |  |  ------------------
  |  | 8386|   207k|            #endif
  |  | 8387|       |            #ifdef _Py_TIER2
  |  | 8388|       |            _PyStackRef executor = frame->localsplus[0];
  |  | 8389|       |            assert(tstate->current_executor == NULL);
  |  | 8390|       |            if (!PyStackRef_IsNull(executor)) {
  |  | 8391|       |                assert(PyStackRef_TYPE(executor) == &_PyUOpExecutor_Type);
  |  | 8392|       |                tstate->current_executor = PyStackRef_AsPyObjectBorrow(executor);
  |  | 8393|       |                stack_pointer += -1;
  |  | 8394|       |                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  | 8395|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8396|       |                _PyFrame_StackPointerValidate(frame);
  |  | 8397|       |                PyStackRef_CLOSE(executor);
  |  | 8398|       |                _PyFrame_StackPointerInvalidate(frame);
  |  | 8399|       |                stack_pointer += 1;
  |  | 8400|       |            }
  |  | 8401|       |            #endif
  |  | 8402|   207k|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|   207k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8403|   207k|            return result;
  |  | 8404|   207k|        }
  |  | 8405|       |
  |  | 8406|  4.05k|        TARGET(IS_OP) {
  |  |  ------------------
  |  |  |  |  132|  4.05k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8407|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8408|       |            int opcode = IS_OP;
  |  | 8409|       |            (void)(opcode);
  |  | 8410|       |            #endif
  |  | 8411|  4.05k|            frame->instr_ptr = next_instr;
  |  | 8412|  4.05k|            next_instr += 1;
  |  | 8413|  4.05k|            INSTRUCTION_STATS(IS_OP);
  |  |  ------------------
  |  |  |  |   71|  4.05k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8414|  4.05k|            _PyStackRef left;
  |  | 8415|  4.05k|            _PyStackRef right;
  |  | 8416|  4.05k|            _PyStackRef b;
  |  | 8417|  4.05k|            _PyStackRef l;
  |  | 8418|  4.05k|            _PyStackRef r;
  |  | 8419|  4.05k|            _PyStackRef value;
  |  | 8420|       |            // _IS_OP
  |  | 8421|  4.05k|            {
  |  | 8422|  4.05k|                right = stack_pointer[-1];
  |  | 8423|  4.05k|                left = stack_pointer[-2];
  |  | 8424|  4.05k|                int res = Py_Is(PyStackRef_AsPyObjectBorrow(left), PyStackRef_AsPyObjectBorrow(right)) ^ oparg;
  |  |  ------------------
  |  |  |  |  187|  4.05k|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  | 8425|  4.05k|                b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  2.02k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.02k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  6.08k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.02k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8425:21): [True: 2.02k, False: 2.02k]
  |  |  ------------------
  |  | 8426|  4.05k|                l = left;
  |  | 8427|  4.05k|                r = right;
  |  | 8428|  4.05k|            }
  |  | 8429|       |            // _POP_TOP
  |  | 8430|  4.05k|            {
  |  | 8431|  4.05k|                value = r;
  |  | 8432|  4.05k|                stack_pointer[-2] = b;
  |  | 8433|  4.05k|                stack_pointer[-1] = l;
  |  | 8434|  4.05k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8435|  4.05k|                _PyFrame_StackPointerValidate(frame);
  |  | 8436|  4.05k|                PyStackRef_XCLOSE(value);
  |  | 8437|  4.05k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8438|  4.05k|            }
  |  | 8439|       |            // _POP_TOP
  |  | 8440|  4.05k|            {
  |  | 8441|  4.05k|                value = l;
  |  | 8442|  4.05k|                stack_pointer += -1;
  |  | 8443|  4.05k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.05k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8444|  4.05k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8445|  4.05k|                _PyFrame_StackPointerValidate(frame);
  |  | 8446|  4.05k|                PyStackRef_XCLOSE(value);
  |  | 8447|  4.05k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8448|  4.05k|            }
  |  | 8449|  4.05k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.05k|    { \
  |  |  |  |  201|  4.05k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.05k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.05k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.05k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.05k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.05k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.05k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.05k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.05k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.05k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.05k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.05k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.05k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.05k|    }
  |  |  ------------------
  |  | 8450|  4.05k|        }
  |  | 8451|       |
  |  | 8452|  4.05k|        TARGET(JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |  132|    169|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8453|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8454|       |            int opcode = JUMP_BACKWARD;
  |  | 8455|       |            (void)(opcode);
  |  | 8456|       |            #endif
  |  | 8457|    169|            frame->instr_ptr = next_instr;
  |  | 8458|    169|            next_instr += 2;
  |  | 8459|    169|            INSTRUCTION_STATS(JUMP_BACKWARD);
  |  |  ------------------
  |  |  |  |   71|    169|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8460|    169|            PREDICTED_JUMP_BACKWARD:;
  |  | 8461|    169|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 8462|    169|            (void)this_instr;
  |  | 8463|       |            /* Skip 1 cache entry */
  |  | 8464|       |            // _SPECIALIZE_JUMP_BACKWARD
  |  | 8465|    169|            {
  |  | 8466|    169|                #if ENABLE_SPECIALIZATION
  |  | 8467|    169|                if (this_instr->op.code == JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |   84|    169|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (8467:21): [True: 169, False: 0]
  |  |  ------------------
  |  | 8468|    169|                    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|    338|#define JUMP_BACKWARD_NO_JIT                   182
  |  |  ------------------
  |  |  |  Branch (8468:39): [True: 0, False: 169]
  |  |  ------------------
  |  | 8469|    169|                    FT_ATOMIC_STORE_UINT8_RELAXED(this_instr->op.code, desired);
  |  |  ------------------
  |  |  |  |  173|    169|#define FT_ATOMIC_STORE_UINT8_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  |  | 8470|    169|                    next_instr = this_instr;
  |  | 8471|    169|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    169|    { \
  |  |  |  |  217|    169|        opcode = next_instr->op.code; \
  |  |  |  |  218|    169|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    169|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    169|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    169|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    169|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    169|    }
  |  |  ------------------
  |  | 8472|    169|                }
  |  | 8473|    169|                #endif
  |  | 8474|    169|            }
  |  | 8475|       |            // _CHECK_PERIODIC
  |  | 8476|    169|            {
  |  | 8477|    169|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8478|    169|                _PyFrame_StackPointerValidate(frame);
  |  | 8479|    169|                int err = check_periodics(tstate);
  |  | 8480|    169|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8481|    169|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8481:21): [True: 0, False: 169]
  |  |  ------------------
  |  | 8482|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8483|      0|                }
  |  | 8484|    169|            }
  |  | 8485|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8486|    169|            {
  |  | 8487|    169|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8487:17): [True: 0, False: 169]
  |  |  ------------------
  |  | 8488|      0|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8489|      0|            }
  |  | 8490|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8491|      0|        }
  |  | 8492|       |
  |  | 8493|      0|        TARGET(JUMP_BACKWARD_JIT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8494|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8495|       |            int opcode = JUMP_BACKWARD_JIT;
  |  | 8496|       |            (void)(opcode);
  |  | 8497|       |            #endif
  |  | 8498|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8499|      0|            (void)this_instr;
  |  | 8500|      0|            frame->instr_ptr = next_instr;
  |  | 8501|      0|            next_instr += 2;
  |  | 8502|      0|            INSTRUCTION_STATS(JUMP_BACKWARD_JIT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8503|      0|            static_assert(1 == 1, "incorrect cache size");
  |  | 8504|       |            /* Skip 1 cache entry */
  |  | 8505|       |            // _CHECK_PERIODIC
  |  | 8506|      0|            {
  |  | 8507|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8508|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8509|      0|                int err = check_periodics(tstate);
  |  | 8510|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8511|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8511:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8512|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8513|      0|                }
  |  | 8514|      0|            }
  |  | 8515|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8516|      0|            {
  |  | 8517|      0|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8517:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8518|      0|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8519|      0|            }
  |  | 8520|       |            // _JIT
  |  | 8521|      0|            {
  |  | 8522|       |                #ifdef _Py_TIER2
  |  | 8523|       |                bool is_resume = this_instr->op.code == RESUME_CHECK_JIT;
  |  | 8524|       |                _Py_BackoffCounter counter = this_instr[1].counter;
  |  | 8525|       |                if ((backoff_counter_triggers(counter) &&
  |  | 8526|       |                        !IS_JIT_TRACING() &&
  |  | 8527|       |                        (this_instr->op.code == JUMP_BACKWARD_JIT || is_resume)) &&
  |  | 8528|       |                    next_instr->op.code != ENTER_EXECUTOR) {
  |  | 8529|       |                    _Py_CODEUNIT *insert_exec_at = this_instr;
  |  | 8530|       |                    for (int tmp = oparg; tmp > 255; tmp >>= 8) {
  |  | 8531|       |                        insert_exec_at--;
  |  | 8532|       |                    }
  |  | 8533|       |                    int succ = _PyJit_TryInitializeTracing(tstate, frame, this_instr, insert_exec_at,
  |  | 8534|       |                        is_resume ? insert_exec_at : next_instr, stack_pointer, 0, NULL, oparg, NULL);
  |  | 8535|       |                    if (succ) {
  |  | 8536|       |                        ENTER_TRACING();
  |  | 8537|       |                    }
  |  | 8538|       |                    else {
  |  | 8539|       |                        this_instr[1].counter = restart_backoff_counter(counter);
  |  | 8540|       |                    }
  |  | 8541|       |                }
  |  | 8542|       |                else {
  |  | 8543|       |                    ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 8544|       |                }
  |  | 8545|       |                #endif
  |  | 8546|      0|            }
  |  | 8547|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8548|      0|        }
  |  | 8549|       |
  |  | 8550|  1.38k|        TARGET(JUMP_BACKWARD_NO_INTERRUPT) {
  |  |  ------------------
  |  |  |  |  132|  1.38k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8551|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8552|       |            int opcode = JUMP_BACKWARD_NO_INTERRUPT;
  |  | 8553|       |            (void)(opcode);
  |  | 8554|       |            #endif
  |  | 8555|  1.38k|            frame->instr_ptr = next_instr;
  |  | 8556|  1.38k|            next_instr += 1;
  |  | 8557|  1.38k|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_INTERRUPT);
  |  |  ------------------
  |  |  |  |   71|  1.38k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8558|  1.38k|            assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8558:13): [True: 1.38k, False: 0]
  |  |  ------------------
  |  | 8559|  1.38k|            JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|  1.38k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8560|  1.38k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.38k|    { \
  |  |  |  |  201|  1.38k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.38k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.38k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.38k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.38k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.38k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.38k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.38k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.38k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.38k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.38k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.38k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.38k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.38k|    }
  |  |  ------------------
  |  | 8561|  1.38k|        }
  |  | 8562|       |
  |  | 8563|  18.8k|        TARGET(JUMP_BACKWARD_NO_JIT) {
  |  |  ------------------
  |  |  |  |  132|  18.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8564|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8565|       |            int opcode = JUMP_BACKWARD_NO_JIT;
  |  | 8566|       |            (void)(opcode);
  |  | 8567|       |            #endif
  |  | 8568|  18.8k|            frame->instr_ptr = next_instr;
  |  | 8569|  18.8k|            next_instr += 2;
  |  | 8570|  18.8k|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_JIT);
  |  |  ------------------
  |  |  |  |   71|  18.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8571|  18.8k|            static_assert(1 == 1, "incorrect cache size");
  |  | 8572|       |            /* Skip 1 cache entry */
  |  | 8573|       |            // _CHECK_PERIODIC
  |  | 8574|  18.8k|            {
  |  | 8575|  18.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8576|  18.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 8577|  18.8k|                int err = check_periodics(tstate);
  |  | 8578|  18.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8579|  18.8k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8579:21): [True: 0, False: 18.8k]
  |  |  ------------------
  |  | 8580|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8581|      0|                }
  |  | 8582|  18.8k|            }
  |  | 8583|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8584|  18.8k|            {
  |  | 8585|  18.8k|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8585:17): [True: 18.8k, False: 0]
  |  |  ------------------
  |  | 8586|  18.8k|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|  18.8k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8587|  18.8k|            }
  |  | 8588|  18.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  18.8k|    { \
  |  |  |  |  201|  18.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  18.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  18.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  18.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  18.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  18.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  18.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  18.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 18.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  18.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  18.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  18.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  18.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  18.8k|    }
  |  |  ------------------
  |  | 8589|  18.8k|        }
  |  | 8590|       |
  |  | 8591|  1.07k|        TARGET(JUMP_FORWARD) {
  |  |  ------------------
  |  |  |  |  132|  1.07k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8592|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8593|       |            int opcode = JUMP_FORWARD;
  |  | 8594|       |            (void)(opcode);
  |  | 8595|       |            #endif
  |  | 8596|  1.07k|            frame->instr_ptr = next_instr;
  |  | 8597|  1.07k|            next_instr += 1;
  |  | 8598|  1.07k|            INSTRUCTION_STATS(JUMP_FORWARD);
  |  |  ------------------
  |  |  |  |   71|  1.07k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8599|  1.07k|            JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|  1.07k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8600|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  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|    }
  |  |  ------------------
  |  | 8601|  1.07k|        }
  |  | 8602|       |
  |  | 8603|  14.8k|        TARGET(LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|  14.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8604|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8605|       |            int opcode = LIST_APPEND;
  |  | 8606|       |            (void)(opcode);
  |  | 8607|       |            #endif
  |  | 8608|  14.8k|            frame->instr_ptr = next_instr;
  |  | 8609|  14.8k|            next_instr += 1;
  |  | 8610|  14.8k|            INSTRUCTION_STATS(LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|  14.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8611|  14.8k|            _PyStackRef list;
  |  | 8612|  14.8k|            _PyStackRef v;
  |  | 8613|  14.8k|            v = stack_pointer[-1];
  |  | 8614|  14.8k|            list = stack_pointer[-2 - (oparg-1)];
  |  | 8615|  14.8k|            int err = _PyList_AppendTakeRef((PyListObject *)PyStackRef_AsPyObjectBorrow(list),
  |  | 8616|  14.8k|                PyStackRef_AsPyObjectSteal(v));
  |  | 8617|  14.8k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (8617:17): [True: 0, False: 14.8k]
  |  |  ------------------
  |  | 8618|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8619|      0|            }
  |  | 8620|  14.8k|            stack_pointer += -1;
  |  | 8621|  14.8k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  14.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8622|  14.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  14.8k|    { \
  |  |  |  |  201|  14.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  14.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  14.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  14.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  14.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  14.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  14.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  14.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 14.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  14.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  14.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  14.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  14.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  14.8k|    }
  |  |  ------------------
  |  | 8623|  14.8k|        }
  |  | 8624|       |
  |  | 8625|    206|        TARGET(LIST_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|    206|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8626|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8627|       |            int opcode = LIST_EXTEND;
  |  | 8628|       |            (void)(opcode);
  |  | 8629|       |            #endif
  |  | 8630|    206|            frame->instr_ptr = next_instr;
  |  | 8631|    206|            next_instr += 1;
  |  | 8632|    206|            INSTRUCTION_STATS(LIST_EXTEND);
  |  |  ------------------
  |  |  |  |   71|    206|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8633|    206|            _PyStackRef list_st;
  |  | 8634|    206|            _PyStackRef iterable_st;
  |  | 8635|    206|            _PyStackRef i;
  |  | 8636|    206|            _PyStackRef value;
  |  | 8637|       |            // _LIST_EXTEND
  |  | 8638|    206|            {
  |  | 8639|    206|                iterable_st = stack_pointer[-1];
  |  | 8640|    206|                list_st = stack_pointer[-2 - (oparg-1)];
  |  | 8641|    206|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  | 8642|    206|                PyObject *iterable = PyStackRef_AsPyObjectBorrow(iterable_st);
  |  | 8643|    206|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8644|    206|                _PyFrame_StackPointerValidate(frame);
  |  | 8645|    206|                PyObject *none_val = _PyList_Extend((PyListObject *)list, iterable);
  |  | 8646|    206|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8647|    206|                if (none_val == NULL) {
  |  |  ------------------
  |  |  |  Branch (8647:21): [True: 0, False: 206]
  |  |  ------------------
  |  | 8648|      0|                    int matches = _PyErr_ExceptionMatches(tstate, PyExc_TypeError);
  |  | 8649|      0|                    if (matches &&
  |  |  ------------------
  |  |  |  Branch (8649:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8650|      0|                        (Py_TYPE(iterable)->tp_iter == NULL && !PySequence_Check(iterable)))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8650:26): [True: 0, False: 0]
  |  |  |  Branch (8650:64): [True: 0, False: 0]
  |  |  ------------------
  |  | 8651|      0|                    {
  |  | 8652|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (8652:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8653|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 8654|      0|                        _PyErr_Clear(tstate);
  |  | 8655|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 8656|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (8656:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8657|      0|                        _PyFrame_StackPointerValidate(frame);
  |  | 8658|      0|                        _PyErr_Format(tstate, PyExc_TypeError,
  |  | 8659|      0|                                  "Value after * must be an iterable, not %.200s",
  |  | 8660|      0|                                  Py_TYPE(iterable)->tp_name);
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8661|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 8662|      0|                    }
  |  | 8663|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8664|      0|                }
  |  | 8665|    206|                assert(Py_IsNone(none_val));
  |  |  ------------------
  |  |  |  Branch (8665:17): [True: 206, False: 0]
  |  |  ------------------
  |  | 8666|    206|                i = iterable_st;
  |  | 8667|    206|            }
  |  | 8668|       |            // _POP_TOP
  |  | 8669|      0|            {
  |  | 8670|    206|                value = i;
  |  | 8671|    206|                stack_pointer += -1;
  |  | 8672|    206|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    206|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8673|    206|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8674|    206|                _PyFrame_StackPointerValidate(frame);
  |  | 8675|    206|                PyStackRef_XCLOSE(value);
  |  | 8676|    206|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8677|    206|            }
  |  | 8678|    206|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    206|    { \
  |  |  |  |  201|    206|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    206|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    206|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    206|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    206|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    206|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    206|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    206|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 206]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    206|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    206|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    206|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    206|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    206|    }
  |  |  ------------------
  |  | 8679|    206|        }
  |  | 8680|       |
  |  | 8681|  8.01k|        TARGET(LOAD_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  8.01k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8682|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8683|       |            int opcode = LOAD_ATTR;
  |  | 8684|       |            (void)(opcode);
  |  | 8685|       |            #endif
  |  | 8686|  8.01k|            frame->instr_ptr = next_instr;
  |  | 8687|  8.01k|            next_instr += 10;
  |  | 8688|  8.01k|            INSTRUCTION_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   71|  8.01k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8689|  11.4k|            PREDICTED_LOAD_ATTR:;
  |  | 8690|  11.4k|            _Py_CODEUNIT* const this_instr = next_instr - 10;
  |  | 8691|  11.4k|            (void)this_instr;
  |  | 8692|  11.4k|            _PyStackRef owner;
  |  | 8693|  11.4k|            _PyStackRef attr;
  |  | 8694|  11.4k|            _PyStackRef *self_or_null;
  |  | 8695|       |            // _SPECIALIZE_LOAD_ATTR
  |  | 8696|  11.4k|            {
  |  | 8697|  11.4k|                owner = stack_pointer[-1];
  |  | 8698|  11.4k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 8699|  11.4k|                (void)counter;
  |  | 8700|  11.4k|                #if ENABLE_SPECIALIZATION
  |  | 8701|  11.4k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  11.4k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 968, False: 10.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8702|    968|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|    968|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    968|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    968|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    968|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8702:38): [True: 968, False: 0]
  |  |  ------------------
  |  | 8703|      0|                    next_instr = this_instr;
  |  | 8704|    968|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8705|    968|                    _PyFrame_StackPointerValidate(frame);
  |  | 8706|    968|                    _Py_Specialize_LoadAttr(owner, next_instr, name);
  |  | 8707|    968|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8708|    968|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    968|    { \
  |  |  |  |  217|    968|        opcode = next_instr->op.code; \
  |  |  |  |  218|    968|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    968|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    968|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    968|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    968|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    968|    }
  |  |  ------------------
  |  | 8709|    968|                }
  |  | 8710|  11.4k|                OPCODE_DEFERRED_INC(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   90|  11.4k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 8711|  11.4k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  11.4k|    do { \
  |  |  |  |  378|  11.4k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  11.4k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 11.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8712|  11.4k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 8713|  11.4k|            }
  |  | 8714|       |            /* Skip 8 cache entries */
  |  | 8715|       |            // _LOAD_ATTR
  |  | 8716|      0|            {
  |  | 8717|  11.4k|                self_or_null = &stack_pointer[0];
  |  | 8718|  11.4k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 1);
  |  |  ------------------
  |  |  |  |  236|  11.4k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  11.4k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  11.4k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8718:34): [True: 10.4k, False: 968]
  |  |  ------------------
  |  | 8719|  10.4k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8719:21): [True: 2.27k, False: 8.18k]
  |  |  ------------------
  |  | 8720|  2.27k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8721|  2.27k|                    _PyFrame_StackPointerValidate(frame);
  |  | 8722|  2.27k|                    attr = _Py_LoadAttr_StackRefSteal(tstate, owner, name, self_or_null);
  |  | 8723|  2.27k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8724|  2.27k|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  482|  2.27k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.27k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.27k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 153, False: 2.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8725|    153|                        JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|    153|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8726|      0|                    }
  |  | 8727|  2.27k|                }
  |  | 8728|  8.18k|                else {
  |  | 8729|  8.18k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8730|  8.18k|                    _PyFrame_StackPointerValidate(frame);
  |  | 8731|  8.18k|                    attr = _PyObject_GetAttrStackRef(PyStackRef_AsPyObjectBorrow(owner), name);
  |  | 8732|  8.18k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8733|  8.18k|                    stack_pointer[-1] = attr;
  |  | 8734|  8.18k|                    stack_pointer += (oparg&1);
  |  | 8735|  8.18k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  8.18k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8736|  8.18k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8737|  8.18k|                    _PyFrame_StackPointerValidate(frame);
  |  | 8738|  8.18k|                    PyStackRef_CLOSE(owner);
  |  | 8739|  8.18k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8740|  8.18k|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  482|  8.18k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  8.18k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  8.18k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 394, False: 7.78k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8741|    394|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    394|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8742|      0|                    }
  |  | 8743|  7.78k|                    stack_pointer += -(oparg&1);
  |  | 8744|  7.78k|                }
  |  | 8745|  10.4k|            }
  |  | 8746|  9.91k|            stack_pointer[-1] = attr;
  |  | 8747|  9.91k|            stack_pointer += (oparg&1);
  |  | 8748|  9.91k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  9.91k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8749|  9.91k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.91k|    { \
  |  |  |  |  201|  9.91k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  9.91k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  9.91k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  9.91k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  9.91k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.91k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  9.91k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  9.91k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 9.91k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.91k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.91k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.91k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.91k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.91k|    }
  |  |  ------------------
  |  | 8750|  9.91k|        }
  |  | 8751|       |
  |  | 8752|    329|        TARGET(LOAD_ATTR_CLASS) {
  |  |  ------------------
  |  |  |  |  132|    329|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8753|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8754|       |            int opcode = LOAD_ATTR_CLASS;
  |  | 8755|       |            (void)(opcode);
  |  | 8756|       |            #endif
  |  | 8757|    329|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8758|    329|            (void)this_instr;
  |  | 8759|    329|            frame->instr_ptr = next_instr;
  |  | 8760|    329|            next_instr += 10;
  |  | 8761|    329|            INSTRUCTION_STATS(LOAD_ATTR_CLASS);
  |  |  ------------------
  |  |  |  |   71|    329|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8762|    329|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8763|    329|            _PyStackRef owner;
  |  | 8764|    329|            _PyStackRef attr;
  |  | 8765|    329|            _PyStackRef *null;
  |  | 8766|       |            /* Skip 1 cache entry */
  |  | 8767|       |            // _CHECK_ATTR_CLASS
  |  | 8768|    329|            {
  |  | 8769|    329|                owner = stack_pointer[-1];
  |  | 8770|    329|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8771|    329|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8772|    329|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|    329|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    329|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    329|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8772:21): [True: 0, False: 329]
  |  |  ------------------
  |  | 8773|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8774|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8774:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8775|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8776|      0|                }
  |  | 8777|    329|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8777:17): [True: 329, False: 0]
  |  |  ------------------
  |  | 8778|    329|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    329|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8778:21): [True: 2, False: 327]
  |  |  ------------------
  |  | 8779|      2|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      2|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8780|      2|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8780:21): [True: 2, False: 0]
  |  |  ------------------
  |  | 8781|      2|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      2|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8782|      0|                }
  |  | 8783|    329|            }
  |  | 8784|       |            /* Skip 2 cache entries */
  |  | 8785|       |            // _LOAD_ATTR_CLASS
  |  | 8786|    327|            {
  |  | 8787|    327|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8788|    327|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    327|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8789|    327|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (8789:17): [True: 327, False: 0]
  |  |  ------------------
  |  | 8790|    327|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|    327|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    327|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    327|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8791|    327|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8792|    327|                _PyFrame_StackPointerValidate(frame);
  |  | 8793|    327|                _PyStackRef tmp = owner;
  |  | 8794|    327|                owner = attr;
  |  | 8795|    327|                stack_pointer[-1] = owner;
  |  | 8796|    327|                PyStackRef_CLOSE(tmp);
  |  | 8797|    327|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8798|    327|            }
  |  | 8799|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8800|      0|            {
  |  | 8801|    327|                null = &stack_pointer[0];
  |  | 8802|    327|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8802:21): [True: 208, False: 119]
  |  |  ------------------
  |  | 8803|    208|                    null[0] = PyStackRef_NULL;
  |  | 8804|    208|                }
  |  | 8805|    327|            }
  |  | 8806|    327|            stack_pointer += (oparg & 1);
  |  | 8807|    327|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    327|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8808|    327|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    327|    { \
  |  |  |  |  201|    327|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    327|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    327|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    327|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    327|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    327|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    327|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    327|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 327]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    327|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    327|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    327|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    327|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    327|    }
  |  |  ------------------
  |  | 8809|    327|        }
  |  | 8810|       |
  |  | 8811|    142|        TARGET(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK) {
  |  |  ------------------
  |  |  |  |  132|    142|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8812|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8813|       |            int opcode = LOAD_ATTR_CLASS_WITH_METACLASS_CHECK;
  |  | 8814|       |            (void)(opcode);
  |  | 8815|       |            #endif
  |  | 8816|    142|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8817|    142|            (void)this_instr;
  |  | 8818|    142|            frame->instr_ptr = next_instr;
  |  | 8819|    142|            next_instr += 10;
  |  | 8820|    142|            INSTRUCTION_STATS(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK);
  |  |  ------------------
  |  |  |  |   71|    142|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8821|    142|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8822|    142|            _PyStackRef owner;
  |  | 8823|    142|            _PyStackRef attr;
  |  | 8824|    142|            _PyStackRef *null;
  |  | 8825|       |            /* Skip 1 cache entry */
  |  | 8826|       |            // _GUARD_TYPE_VERSION
  |  | 8827|    142|            {
  |  | 8828|    142|                owner = stack_pointer[-1];
  |  | 8829|    142|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8830|    142|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8831|    142|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8831:17): [True: 142, False: 0]
  |  |  ------------------
  |  | 8832|    142|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    142|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8832:21): [True: 0, False: 142]
  |  |  ------------------
  |  | 8833|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8834|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8834:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8835|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8836|      0|                }
  |  | 8837|    142|            }
  |  | 8838|       |            // _CHECK_ATTR_CLASS
  |  | 8839|    142|            {
  |  | 8840|    142|                uint32_t type_version = read_u32(&this_instr[4].cache);
  |  | 8841|    142|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8842|    142|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|    142|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8842:21): [True: 0, False: 142]
  |  |  ------------------
  |  | 8843|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8844|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8844:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8845|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8846|      0|                }
  |  | 8847|    142|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8847:17): [True: 142, False: 0]
  |  |  ------------------
  |  | 8848|    142|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    142|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8848:21): [True: 103, False: 39]
  |  |  ------------------
  |  | 8849|    103|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    103|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8850|    103|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8850:21): [True: 103, False: 0]
  |  |  ------------------
  |  | 8851|    103|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    103|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8852|      0|                }
  |  | 8853|    142|            }
  |  | 8854|       |            // _LOAD_ATTR_CLASS
  |  | 8855|     39|            {
  |  | 8856|     39|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8857|     39|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     39|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8858|     39|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (8858:17): [True: 39, False: 0]
  |  |  ------------------
  |  | 8859|     39|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     39|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     39|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8860|     39|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8861|     39|                _PyFrame_StackPointerValidate(frame);
  |  | 8862|     39|                _PyStackRef tmp = owner;
  |  | 8863|     39|                owner = attr;
  |  | 8864|     39|                stack_pointer[-1] = owner;
  |  | 8865|     39|                PyStackRef_CLOSE(tmp);
  |  | 8866|     39|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8867|     39|            }
  |  | 8868|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8869|      0|            {
  |  | 8870|     39|                null = &stack_pointer[0];
  |  | 8871|     39|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8871:21): [True: 0, False: 39]
  |  |  ------------------
  |  | 8872|      0|                    null[0] = PyStackRef_NULL;
  |  | 8873|      0|                }
  |  | 8874|     39|            }
  |  | 8875|     39|            stack_pointer += (oparg & 1);
  |  | 8876|     39|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     39|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8877|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     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|    }
  |  |  ------------------
  |  | 8878|     39|        }
  |  | 8879|       |
  |  | 8880|      0|        TARGET(LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8881|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8882|       |            int opcode = LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN;
  |  | 8883|       |            (void)(opcode);
  |  | 8884|       |            #endif
  |  | 8885|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8886|      0|            (void)this_instr;
  |  | 8887|      0|            frame->instr_ptr = next_instr;
  |  | 8888|      0|            next_instr += 10;
  |  | 8889|      0|            INSTRUCTION_STATS(LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8890|      0|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8891|      0|            _PyStackRef owner;
  |  | 8892|      0|            _PyStackRef new_frame;
  |  | 8893|       |            /* Skip 1 cache entry */
  |  | 8894|       |            // _GUARD_TYPE_VERSION
  |  | 8895|      0|            {
  |  | 8896|      0|                owner = stack_pointer[-1];
  |  | 8897|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8898|      0|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8899|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8899:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8900|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8900:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8901|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8902|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8902:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8903|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8904|      0|                }
  |  | 8905|      0|            }
  |  | 8906|       |            // _CHECK_PEP_523
  |  | 8907|      0|            {
  |  | 8908|      0|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8909|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8910|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8910:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8911|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8912|      0|                }
  |  | 8913|      0|            }
  |  | 8914|       |            // _LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN_FRAME
  |  | 8915|      0|            {
  |  | 8916|      0|                uint32_t func_version = read_u32(&this_instr[4].cache);
  |  | 8917|      0|                PyObject *getattribute = read_obj(&this_instr[6].cache);
  |  | 8918|      0|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (8918:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8919|      0|                assert(Py_IS_TYPE(getattribute, &PyFunction_Type));
  |  |  ------------------
  |  |  |  Branch (8919:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8920|      0|                PyFunctionObject *f = (PyFunctionObject *)getattribute;
  |  | 8921|      0|                assert(func_version != 0);
  |  |  ------------------
  |  |  |  Branch (8921:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8922|      0|                if (f->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (8922:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8923|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8924|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8924:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8925|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8926|      0|                }
  |  | 8927|      0|                PyCodeObject *code = (PyCodeObject *)f->func_code;
  |  | 8928|      0|                assert(code->co_argcount == 2);
  |  |  ------------------
  |  |  |  Branch (8928:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8929|      0|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (8929:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8930|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8931|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (8931:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8932|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8933|      0|                }
  |  | 8934|      0|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8935|      0|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 1);
  |  |  ------------------
  |  |  |  |  236|      0|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8935:34): [True: 0, False: 0]
  |  |  ------------------
  |  | 8936|      0|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(
  |  | 8937|      0|                    tstate, PyStackRef_FromPyObjectNew(f), 2, frame);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8938|      0|                pushed_frame->localsplus[0] = owner;
  |  | 8939|      0|                pushed_frame->localsplus[1] = PyStackRef_FromPyObjectNew(name);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8940|      0|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 8941|      0|            }
  |  | 8942|       |            // _SAVE_RETURN_OFFSET
  |  | 8943|      0|            {
  |  | 8944|      0|                #if TIER_ONE
  |  | 8945|      0|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 8946|      0|                #endif
  |  | 8947|       |                #if TIER_TWO
  |  | 8948|       |                frame->return_offset = oparg;
  |  | 8949|       |                #endif
  |  | 8950|      0|            }
  |  | 8951|       |            // _PUSH_FRAME
  |  | 8952|      0|            {
  |  | 8953|      0|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (8953:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8954|      0|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 8955|      0|                stack_pointer += -1;
  |  | 8956|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8957|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8958|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 8959|      0|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (8959:17): [True: 0, False: 0]
  |  |  |  Branch (8959:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 8960|      0|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 8961|      0|                frame = tstate->current_frame = temp;
  |  | 8962|      0|                tstate->py_recursion_remaining--;
  |  | 8963|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8964|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8965|      0|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8966|       |                #ifdef Py_DEBUG
  |  | 8967|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 8968|       |                #endif
  |  | 8969|      0|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      0|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 8970|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8971|      0|            }
  |  | 8972|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 8973|      0|        }
  |  | 8974|       |
  |  | 8975|  19.9k|        TARGET(LOAD_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  19.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8976|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8977|       |            int opcode = LOAD_ATTR_INSTANCE_VALUE;
  |  | 8978|       |            (void)(opcode);
  |  | 8979|       |            #endif
  |  | 8980|  19.9k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8981|  19.9k|            (void)this_instr;
  |  | 8982|  19.9k|            frame->instr_ptr = next_instr;
  |  | 8983|  19.9k|            next_instr += 10;
  |  | 8984|  19.9k|            INSTRUCTION_STATS(LOAD_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|  19.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8985|  19.9k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8986|  19.9k|            _PyStackRef owner;
  |  | 8987|  19.9k|            _PyStackRef attr;
  |  | 8988|  19.9k|            _PyStackRef o;
  |  | 8989|  19.9k|            _PyStackRef value;
  |  | 8990|  19.9k|            _PyStackRef *null;
  |  | 8991|       |            /* Skip 1 cache entry */
  |  | 8992|       |            // _GUARD_TYPE_VERSION
  |  | 8993|  19.9k|            {
  |  | 8994|  19.9k|                owner = stack_pointer[-1];
  |  | 8995|  19.9k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8996|  19.9k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  19.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8997|  19.9k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8997:17): [True: 19.9k, False: 0]
  |  |  ------------------
  |  | 8998|  19.9k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|  19.9k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8998:21): [True: 502, False: 19.4k]
  |  |  ------------------
  |  | 8999|    502|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    502|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9000|    502|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9000:21): [True: 502, False: 0]
  |  |  ------------------
  |  | 9001|    502|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    502|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9002|      0|                }
  |  | 9003|  19.9k|            }
  |  | 9004|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9005|  19.4k|            {
  |  | 9006|  19.4k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9007|  19.4k|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9007:17): [True: 19.4k, False: 0]
  |  |  ------------------
  |  | 9008|  19.4k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9008:17): [True: 19.4k, False: 0]
  |  |  ------------------
  |  | 9009|  19.4k|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  156|  19.4k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9009:21): [True: 0, False: 19.4k]
  |  |  ------------------
  |  | 9010|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9011|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9011:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9012|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9013|      0|                }
  |  | 9014|  19.4k|            }
  |  | 9015|       |            // _LOAD_ATTR_INSTANCE_VALUE
  |  | 9016|  19.4k|            {
  |  | 9017|  19.4k|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  | 9018|  19.4k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9019|  19.4k|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  | 9020|  19.4k|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(*value_ptr);
  |  |  ------------------
  |  |  |  |  152|  19.4k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9021|  19.4k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9021:21): [True: 0, False: 19.4k]
  |  |  ------------------
  |  | 9022|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9023|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9023:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9024|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9025|      0|                }
  |  | 9026|       |                #ifdef Py_GIL_DISABLED
  |  | 9027|       |                int increfed = _Py_TryIncrefCompareStackRef(value_ptr, attr_o, &attr);
  |  | 9028|       |                if (!increfed) {
  |  | 9029|       |                    if (true) {
  |  | 9030|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9031|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9032|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9033|       |                    }
  |  | 9034|       |                }
  |  | 9035|       |                #else
  |  | 9036|  19.4k|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  19.4k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9037|  19.4k|                #endif
  |  | 9038|  19.4k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  19.4k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9039|  19.4k|                o = owner;
  |  | 9040|  19.4k|            }
  |  | 9041|       |            // _POP_TOP
  |  | 9042|      0|            {
  |  | 9043|  19.4k|                value = o;
  |  | 9044|  19.4k|                stack_pointer[-1] = attr;
  |  | 9045|  19.4k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9046|  19.4k|                _PyFrame_StackPointerValidate(frame);
  |  | 9047|  19.4k|                PyStackRef_XCLOSE(value);
  |  | 9048|  19.4k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9049|  19.4k|            }
  |  | 9050|       |            /* Skip 5 cache entries */
  |  | 9051|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9052|  19.4k|            {
  |  | 9053|  19.4k|                null = &stack_pointer[0];
  |  | 9054|  19.4k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9054:21): [True: 503, False: 18.9k]
  |  |  ------------------
  |  | 9055|    503|                    null[0] = PyStackRef_NULL;
  |  | 9056|    503|                }
  |  | 9057|  19.4k|            }
  |  | 9058|  19.4k|            stack_pointer += (oparg & 1);
  |  | 9059|  19.4k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  19.4k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9060|  19.4k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  19.4k|    { \
  |  |  |  |  201|  19.4k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  19.4k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  19.4k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  19.4k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  19.4k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  19.4k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  19.4k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  19.4k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 19.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  19.4k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  19.4k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  19.4k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  19.4k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  19.4k|    }
  |  |  ------------------
  |  | 9061|  19.4k|        }
  |  | 9062|       |
  |  | 9063|     93|        TARGET(LOAD_ATTR_METHOD_LAZY_DICT) {
  |  |  ------------------
  |  |  |  |  132|     93|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9064|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9065|       |            int opcode = LOAD_ATTR_METHOD_LAZY_DICT;
  |  | 9066|       |            (void)(opcode);
  |  | 9067|       |            #endif
  |  | 9068|     93|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9069|     93|            (void)this_instr;
  |  | 9070|     93|            frame->instr_ptr = next_instr;
  |  | 9071|     93|            next_instr += 10;
  |  | 9072|     93|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_LAZY_DICT);
  |  |  ------------------
  |  |  |  |   71|     93|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9073|     93|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9074|     93|            _PyStackRef owner;
  |  | 9075|     93|            _PyStackRef attr;
  |  | 9076|     93|            _PyStackRef self;
  |  | 9077|       |            /* Skip 1 cache entry */
  |  | 9078|       |            // _GUARD_TYPE_VERSION
  |  | 9079|     93|            {
  |  | 9080|     93|                owner = stack_pointer[-1];
  |  | 9081|     93|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9082|     93|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|     93|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9083|     93|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9083:17): [True: 93, False: 0]
  |  |  ------------------
  |  | 9084|     93|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|     93|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9084:21): [True: 0, False: 93]
  |  |  ------------------
  |  | 9085|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9086|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9086:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9087|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9088|      0|                }
  |  | 9089|     93|            }
  |  | 9090|       |            // _CHECK_ATTR_METHOD_LAZY_DICT
  |  | 9091|     93|            {
  |  | 9092|     93|                uint16_t dictoffset = read_u16(&this_instr[4].cache);
  |  | 9093|     93|                char *ptr = ((char *)PyStackRef_AsPyObjectBorrow(owner)) + MANAGED_DICT_OFFSET + dictoffset;
  |  |  ------------------
  |  |  |  |  910|     93|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  |  |  ------------------
  |  | 9094|     93|                PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*(PyObject **)ptr);
  |  |  ------------------
  |  |  |  |  152|     93|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9095|     93|                if (dict != NULL) {
  |  |  ------------------
  |  |  |  Branch (9095:21): [True: 0, False: 93]
  |  |  ------------------
  |  | 9096|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9097|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9097:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9098|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9099|      0|                }
  |  | 9100|     93|            }
  |  | 9101|       |            /* Skip 1 cache entry */
  |  | 9102|       |            // _LOAD_ATTR_METHOD_LAZY_DICT
  |  | 9103|     93|            {
  |  | 9104|     93|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9105|     93|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9105:17): [True: 93, False: 0]
  |  |  ------------------
  |  | 9106|     93|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     93|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9107|     93|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9107:17): [True: 93, False: 0]
  |  |  ------------------
  |  | 9108|     93|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9108:17): [True: 93, False: 0]
  |  |  ------------------
  |  | 9109|     93|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     93|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9110|     93|                self = owner;
  |  | 9111|     93|            }
  |  | 9112|      0|            stack_pointer[-1] = attr;
  |  | 9113|     93|            stack_pointer[0] = self;
  |  | 9114|     93|            stack_pointer += 1;
  |  | 9115|     93|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     93|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9116|     93|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     93|    { \
  |  |  |  |  201|     93|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     93|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     93|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     93|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     93|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     93|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     93|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     93|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 93]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     93|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     93|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     93|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     93|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     93|    }
  |  |  ------------------
  |  | 9117|     93|        }
  |  | 9118|       |
  |  | 9119|  21.7k|        TARGET(LOAD_ATTR_METHOD_NO_DICT) {
  |  |  ------------------
  |  |  |  |  132|  21.7k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9120|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9121|       |            int opcode = LOAD_ATTR_METHOD_NO_DICT;
  |  | 9122|       |            (void)(opcode);
  |  | 9123|       |            #endif
  |  | 9124|  21.7k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9125|  21.7k|            (void)this_instr;
  |  | 9126|  21.7k|            frame->instr_ptr = next_instr;
  |  | 9127|  21.7k|            next_instr += 10;
  |  | 9128|  21.7k|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_NO_DICT);
  |  |  ------------------
  |  |  |  |   71|  21.7k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9129|  21.7k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9130|  21.7k|            _PyStackRef owner;
  |  | 9131|  21.7k|            _PyStackRef attr;
  |  | 9132|  21.7k|            _PyStackRef self;
  |  | 9133|       |            /* Skip 1 cache entry */
  |  | 9134|       |            // _GUARD_TYPE_VERSION
  |  | 9135|  21.7k|            {
  |  | 9136|  21.7k|                owner = stack_pointer[-1];
  |  | 9137|  21.7k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9138|  21.7k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  21.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  21.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  21.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9139|  21.7k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9139:17): [True: 21.7k, False: 0]
  |  |  ------------------
  |  | 9140|  21.7k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|  21.7k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9140:21): [True: 0, False: 21.7k]
  |  |  ------------------
  |  | 9141|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9142|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9142:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9143|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9144|      0|                }
  |  | 9145|  21.7k|            }
  |  | 9146|       |            /* Skip 2 cache entries */
  |  | 9147|       |            // _LOAD_ATTR_METHOD_NO_DICT
  |  | 9148|  21.7k|            {
  |  | 9149|  21.7k|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9150|  21.7k|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9150:17): [True: 21.7k, False: 0]
  |  |  ------------------
  |  | 9151|  21.7k|                assert(Py_TYPE(PyStackRef_AsPyObjectBorrow(owner))->tp_dictoffset == 0);
  |  |  ------------------
  |  |  |  Branch (9151:17): [True: 21.7k, False: 0]
  |  |  ------------------
  |  | 9152|  21.7k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  21.7k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9153|  21.7k|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9153:17): [True: 21.7k, False: 0]
  |  |  ------------------
  |  | 9154|  21.7k|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9154:17): [True: 21.7k, False: 0]
  |  |  ------------------
  |  | 9155|  21.7k|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  21.7k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  21.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  21.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9156|  21.7k|                self = owner;
  |  | 9157|  21.7k|            }
  |  | 9158|      0|            stack_pointer[-1] = attr;
  |  | 9159|  21.7k|            stack_pointer[0] = self;
  |  | 9160|  21.7k|            stack_pointer += 1;
  |  | 9161|  21.7k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  21.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9162|  21.7k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  21.7k|    { \
  |  |  |  |  201|  21.7k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  21.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  21.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  21.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  21.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  21.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  21.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  21.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 21.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  21.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  21.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  21.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  21.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  21.7k|    }
  |  |  ------------------
  |  | 9163|  21.7k|        }
  |  | 9164|       |
  |  | 9165|  2.74k|        TARGET(LOAD_ATTR_METHOD_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|  2.74k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9166|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9167|       |            int opcode = LOAD_ATTR_METHOD_WITH_VALUES;
  |  | 9168|       |            (void)(opcode);
  |  | 9169|       |            #endif
  |  | 9170|  2.74k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9171|  2.74k|            (void)this_instr;
  |  | 9172|  2.74k|            frame->instr_ptr = next_instr;
  |  | 9173|  2.74k|            next_instr += 10;
  |  | 9174|  2.74k|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|  2.74k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9175|  2.74k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9176|  2.74k|            _PyStackRef owner;
  |  | 9177|  2.74k|            _PyStackRef attr;
  |  | 9178|  2.74k|            _PyStackRef self;
  |  | 9179|       |            /* Skip 1 cache entry */
  |  | 9180|       |            // _GUARD_TYPE_VERSION
  |  | 9181|  2.74k|            {
  |  | 9182|  2.74k|                owner = stack_pointer[-1];
  |  | 9183|  2.74k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9184|  2.74k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  2.74k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9185|  2.74k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9185:17): [True: 2.74k, False: 0]
  |  |  ------------------
  |  | 9186|  2.74k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|  2.74k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9186:21): [True: 25, False: 2.71k]
  |  |  ------------------
  |  | 9187|     25|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|     25|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9188|     25|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9188:21): [True: 25, False: 0]
  |  |  ------------------
  |  | 9189|     25|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|     25|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9190|      0|                }
  |  | 9191|  2.74k|            }
  |  | 9192|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9193|  2.71k|            {
  |  | 9194|  2.71k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9195|  2.71k|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9195:17): [True: 2.71k, False: 0]
  |  |  ------------------
  |  | 9196|  2.71k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9196:17): [True: 2.71k, False: 0]
  |  |  ------------------
  |  | 9197|  2.71k|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  156|  2.71k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9197:21): [True: 0, False: 2.71k]
  |  |  ------------------
  |  | 9198|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9199|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9199:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9200|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9201|      0|                }
  |  | 9202|  2.71k|            }
  |  | 9203|       |            /* Skip 2 cache entries */
  |  | 9204|       |            // _LOAD_ATTR_METHOD_WITH_VALUES
  |  | 9205|  2.71k|            {
  |  | 9206|  2.71k|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9207|  2.71k|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9207:17): [True: 2.71k, False: 0]
  |  |  ------------------
  |  | 9208|  2.71k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  2.71k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9209|  2.71k|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9209:17): [True: 2.71k, False: 0]
  |  |  ------------------
  |  | 9210|  2.71k|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9210:17): [True: 2.71k, False: 0]
  |  |  ------------------
  |  | 9211|  2.71k|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  2.71k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9212|  2.71k|                self = owner;
  |  | 9213|  2.71k|            }
  |  | 9214|      0|            stack_pointer[-1] = attr;
  |  | 9215|  2.71k|            stack_pointer[0] = self;
  |  | 9216|  2.71k|            stack_pointer += 1;
  |  | 9217|  2.71k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.71k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9218|  2.71k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.71k|    { \
  |  |  |  |  201|  2.71k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.71k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.71k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.71k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.71k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.71k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.71k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.71k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.71k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.71k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.71k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.71k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.71k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.71k|    }
  |  |  ------------------
  |  | 9219|  2.71k|        }
  |  | 9220|       |
  |  | 9221|   226k|        TARGET(LOAD_ATTR_MODULE) {
  |  |  ------------------
  |  |  |  |  132|   226k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9222|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9223|       |            int opcode = LOAD_ATTR_MODULE;
  |  | 9224|       |            (void)(opcode);
  |  | 9225|       |            #endif
  |  | 9226|   226k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9227|   226k|            (void)this_instr;
  |  | 9228|   226k|            frame->instr_ptr = next_instr;
  |  | 9229|   226k|            next_instr += 10;
  |  | 9230|   226k|            INSTRUCTION_STATS(LOAD_ATTR_MODULE);
  |  |  ------------------
  |  |  |  |   71|   226k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9231|   226k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9232|   226k|            _PyStackRef owner;
  |  | 9233|   226k|            _PyStackRef attr;
  |  | 9234|   226k|            _PyStackRef o;
  |  | 9235|   226k|            _PyStackRef value;
  |  | 9236|   226k|            _PyStackRef *null;
  |  | 9237|       |            /* Skip 1 cache entry */
  |  | 9238|       |            // _LOAD_ATTR_MODULE
  |  | 9239|   226k|            {
  |  | 9240|   226k|                owner = stack_pointer[-1];
  |  | 9241|   226k|                uint32_t dict_version = read_u32(&this_instr[2].cache);
  |  | 9242|   226k|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9243|   226k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9244|   226k|                if (!PyModule_CheckExact(owner_o)) {
  |  |  ------------------
  |  |  |  |   13|   226k|#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   226k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   226k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   226k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9244:21): [True: 343, False: 226k]
  |  |  ------------------
  |  | 9245|    343|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    343|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9246|    343|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9246:21): [True: 343, False: 0]
  |  |  ------------------
  |  | 9247|    343|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    343|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9248|      0|                }
  |  | 9249|   226k|                PyDictObject *dict = (PyDictObject *)((PyModuleObject *)owner_o)->md_dict;
  |  | 9250|   226k|                assert(dict != NULL);
  |  |  ------------------
  |  |  |  Branch (9250:17): [True: 226k, False: 0]
  |  |  ------------------
  |  | 9251|   226k|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  152|   226k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9252|   226k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != dict_version) {
  |  |  ------------------
  |  |  |  |  161|   226k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9252:21): [True: 2.27k, False: 224k]
  |  |  ------------------
  |  | 9253|  2.27k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|  2.27k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9254|  2.27k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9254:21): [True: 2.27k, False: 0]
  |  |  ------------------
  |  | 9255|  2.27k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  2.27k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9256|      0|                }
  |  | 9257|   226k|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (9257:17): [True: 224k, False: 0]
  |  |  ------------------
  |  | 9258|   224k|                assert(index < FT_ATOMIC_LOAD_SSIZE_RELAXED(keys->dk_nentries));
  |  |  ------------------
  |  |  |  Branch (9258:17): [True: 224k, False: 0]
  |  |  ------------------
  |  | 9259|   224k|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(keys) + index;
  |  | 9260|   224k|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_CONSUME(ep->me_value);
  |  |  ------------------
  |  |  |  |  153|   224k|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  | 9261|   224k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9261:21): [True: 0, False: 224k]
  |  |  ------------------
  |  | 9262|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9263|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9263:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9264|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9265|      0|                }
  |  | 9266|       |                #ifdef Py_GIL_DISABLED
  |  | 9267|       |                int increfed = _Py_TryIncrefCompareStackRef(&ep->me_value, attr_o, &attr);
  |  | 9268|       |                if (!increfed) {
  |  | 9269|       |                    if (true) {
  |  | 9270|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9271|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9272|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9273|       |                    }
  |  | 9274|       |                }
  |  | 9275|       |                #else
  |  | 9276|   224k|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|   224k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   224k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   224k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9277|   224k|                #endif
  |  | 9278|   224k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   224k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9279|   224k|                o = owner;
  |  | 9280|   224k|            }
  |  | 9281|       |            // _POP_TOP
  |  | 9282|      0|            {
  |  | 9283|   224k|                value = o;
  |  | 9284|   224k|                stack_pointer[-1] = attr;
  |  | 9285|   224k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9286|   224k|                _PyFrame_StackPointerValidate(frame);
  |  | 9287|   224k|                PyStackRef_XCLOSE(value);
  |  | 9288|   224k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9289|   224k|            }
  |  | 9290|       |            /* Skip 5 cache entries */
  |  | 9291|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9292|   224k|            {
  |  | 9293|   224k|                null = &stack_pointer[0];
  |  | 9294|   224k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9294:21): [True: 12.6k, False: 211k]
  |  |  ------------------
  |  | 9295|  12.6k|                    null[0] = PyStackRef_NULL;
  |  | 9296|  12.6k|                }
  |  | 9297|   224k|            }
  |  | 9298|   224k|            stack_pointer += (oparg & 1);
  |  | 9299|   224k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   224k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9300|   224k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   224k|    { \
  |  |  |  |  201|   224k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   224k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   224k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   224k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   224k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   224k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   224k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   224k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 224k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   224k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   224k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   224k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   224k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   224k|    }
  |  |  ------------------
  |  | 9301|   224k|        }
  |  | 9302|       |
  |  | 9303|     15|        TARGET(LOAD_ATTR_NONDESCRIPTOR_NO_DICT) {
  |  |  ------------------
  |  |  |  |  132|     15|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9304|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9305|       |            int opcode = LOAD_ATTR_NONDESCRIPTOR_NO_DICT;
  |  | 9306|       |            (void)(opcode);
  |  | 9307|       |            #endif
  |  | 9308|     15|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9309|     15|            (void)this_instr;
  |  | 9310|     15|            frame->instr_ptr = next_instr;
  |  | 9311|     15|            next_instr += 10;
  |  | 9312|     15|            INSTRUCTION_STATS(LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  |  |  ------------------
  |  |  |  |   71|     15|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9313|     15|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9314|     15|            _PyStackRef owner;
  |  | 9315|     15|            _PyStackRef attr;
  |  | 9316|       |            /* Skip 1 cache entry */
  |  | 9317|       |            // _GUARD_TYPE_VERSION
  |  | 9318|     15|            {
  |  | 9319|     15|                owner = stack_pointer[-1];
  |  | 9320|     15|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9321|     15|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|     15|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9322|     15|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9322:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9323|     15|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|     15|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9323:21): [True: 0, False: 15]
  |  |  ------------------
  |  | 9324|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9325|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9325:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9326|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9327|      0|                }
  |  | 9328|     15|            }
  |  | 9329|       |            /* Skip 2 cache entries */
  |  | 9330|       |            // _LOAD_ATTR_NONDESCRIPTOR_NO_DICT
  |  | 9331|     15|            {
  |  | 9332|     15|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9333|     15|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9333:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9334|     15|                assert(Py_TYPE(PyStackRef_AsPyObjectBorrow(owner))->tp_dictoffset == 0);
  |  |  ------------------
  |  |  |  Branch (9334:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9335|     15|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     15|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9336|     15|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9336:17): [True: 15, False: 0]
  |  |  ------------------
  |  | 9337|     15|                stack_pointer += -1;
  |  | 9338|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9339|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9340|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 9341|     15|                PyStackRef_CLOSE(owner);
  |  | 9342|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9343|     15|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     15|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9344|     15|            }
  |  | 9345|      0|            stack_pointer[0] = attr;
  |  | 9346|     15|            stack_pointer += 1;
  |  | 9347|     15|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9348|     15|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     15|    { \
  |  |  |  |  201|     15|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     15|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     15|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     15|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     15|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     15|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     15|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     15|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     15|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     15|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     15|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     15|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     15|    }
  |  |  ------------------
  |  | 9349|     15|        }
  |  | 9350|       |
  |  | 9351|     58|        TARGET(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|     58|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9352|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9353|       |            int opcode = LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES;
  |  | 9354|       |            (void)(opcode);
  |  | 9355|       |            #endif
  |  | 9356|     58|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9357|     58|            (void)this_instr;
  |  | 9358|     58|            frame->instr_ptr = next_instr;
  |  | 9359|     58|            next_instr += 10;
  |  | 9360|     58|            INSTRUCTION_STATS(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|     58|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9361|     58|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9362|     58|            _PyStackRef owner;
  |  | 9363|     58|            _PyStackRef attr;
  |  | 9364|       |            /* Skip 1 cache entry */
  |  | 9365|       |            // _GUARD_TYPE_VERSION
  |  | 9366|     58|            {
  |  | 9367|     58|                owner = stack_pointer[-1];
  |  | 9368|     58|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9369|     58|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9370|     58|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9370:17): [True: 58, False: 0]
  |  |  ------------------
  |  | 9371|     58|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|     58|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9371:21): [True: 0, False: 58]
  |  |  ------------------
  |  | 9372|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9373|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9373:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9374|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9375|      0|                }
  |  | 9376|     58|            }
  |  | 9377|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9378|     58|            {
  |  | 9379|     58|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9380|     58|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9380:17): [True: 58, False: 0]
  |  |  ------------------
  |  | 9381|     58|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9381:17): [True: 58, False: 0]
  |  |  ------------------
  |  | 9382|     58|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  156|     58|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9382:21): [True: 0, False: 58]
  |  |  ------------------
  |  | 9383|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9384|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9384:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9385|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9386|      0|                }
  |  | 9387|     58|            }
  |  | 9388|       |            /* Skip 2 cache entries */
  |  | 9389|       |            // _LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES
  |  | 9390|     58|            {
  |  | 9391|     58|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9392|     58|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9392:17): [True: 58, False: 0]
  |  |  ------------------
  |  | 9393|     58|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     58|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9394|     58|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9394:17): [True: 58, False: 0]
  |  |  ------------------
  |  | 9395|     58|                stack_pointer += -1;
  |  | 9396|     58|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     58|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9397|     58|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9398|     58|                _PyFrame_StackPointerValidate(frame);
  |  | 9399|     58|                PyStackRef_CLOSE(owner);
  |  | 9400|     58|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9401|     58|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     58|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9402|     58|            }
  |  | 9403|      0|            stack_pointer[0] = attr;
  |  | 9404|     58|            stack_pointer += 1;
  |  | 9405|     58|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     58|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9406|     58|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     58|    { \
  |  |  |  |  201|     58|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     58|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     58|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     58|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     58|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     58|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     58|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     58|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 58]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     58|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     58|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     58|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     58|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     58|    }
  |  |  ------------------
  |  | 9407|     58|        }
  |  | 9408|       |
  |  | 9409|    334|        TARGET(LOAD_ATTR_PROPERTY) {
  |  |  ------------------
  |  |  |  |  132|    334|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9410|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9411|       |            int opcode = LOAD_ATTR_PROPERTY;
  |  | 9412|       |            (void)(opcode);
  |  | 9413|       |            #endif
  |  | 9414|    334|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9415|    334|            (void)this_instr;
  |  | 9416|    334|            frame->instr_ptr = next_instr;
  |  | 9417|    334|            next_instr += 10;
  |  | 9418|    334|            INSTRUCTION_STATS(LOAD_ATTR_PROPERTY);
  |  |  ------------------
  |  |  |  |   71|    334|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9419|    334|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9420|    334|            _PyStackRef owner;
  |  | 9421|    334|            _PyStackRef new_frame;
  |  | 9422|       |            /* Skip 1 cache entry */
  |  | 9423|       |            // _GUARD_TYPE_VERSION
  |  | 9424|    334|            {
  |  | 9425|    334|                owner = stack_pointer[-1];
  |  | 9426|    334|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9427|    334|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|    334|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    334|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    334|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9428|    334|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9428:17): [True: 334, False: 0]
  |  |  ------------------
  |  | 9429|    334|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    334|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9429:21): [True: 156, False: 178]
  |  |  ------------------
  |  | 9430|    156|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    156|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9431|    156|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9431:21): [True: 156, False: 0]
  |  |  ------------------
  |  | 9432|    156|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    156|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9433|      0|                }
  |  | 9434|    334|            }
  |  | 9435|       |            // _CHECK_PEP_523
  |  | 9436|    178|            {
  |  | 9437|    178|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    178|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 178]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9438|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9439|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9439:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9440|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9441|      0|                }
  |  | 9442|    178|            }
  |  | 9443|       |            // _LOAD_ATTR_PROPERTY_FRAME
  |  | 9444|    178|            {
  |  | 9445|    178|                uint32_t func_version = read_u32(&this_instr[4].cache);
  |  | 9446|    178|                PyObject *fget = read_obj(&this_instr[6].cache);
  |  | 9447|    178|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9447:17): [True: 178, False: 0]
  |  |  ------------------
  |  | 9448|    178|                assert(Py_IS_TYPE(fget, &PyFunction_Type));
  |  |  ------------------
  |  |  |  Branch (9448:17): [True: 178, False: 0]
  |  |  ------------------
  |  | 9449|    178|                PyFunctionObject *f = (PyFunctionObject *)fget;
  |  | 9450|    178|                if (f->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (9450:21): [True: 0, False: 178]
  |  |  ------------------
  |  | 9451|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9452|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9452:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9453|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9454|      0|                }
  |  | 9455|    178|                PyCodeObject *code = (PyCodeObject *)f->func_code;
  |  | 9456|    178|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (9456:21): [True: 0, False: 178]
  |  |  ------------------
  |  | 9457|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9458|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9458:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9459|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9460|      0|                }
  |  | 9461|    178|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    178|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9462|    178|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, PyStackRef_FromPyObjectNew(fget), 1, frame);
  |  |  ------------------
  |  |  |  |  611|    178|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    178|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9463|    178|                pushed_frame->localsplus[0] = owner;
  |  | 9464|    178|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 9465|    178|            }
  |  | 9466|       |            // _SAVE_RETURN_OFFSET
  |  | 9467|      0|            {
  |  | 9468|    178|                #if TIER_ONE
  |  | 9469|    178|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 9470|    178|                #endif
  |  | 9471|       |                #if TIER_TWO
  |  | 9472|       |                frame->return_offset = oparg;
  |  | 9473|       |                #endif
  |  | 9474|    178|            }
  |  | 9475|       |            // _PUSH_FRAME
  |  | 9476|    178|            {
  |  | 9477|    178|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (9477:17): [True: 178, False: 0]
  |  |  ------------------
  |  | 9478|    178|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 9479|    178|                stack_pointer += -1;
  |  | 9480|    178|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    178|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9481|    178|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9482|    178|                _PyFrame_StackPointerValidate(frame);
  |  | 9483|    178|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (9483:17): [True: 178, False: 0]
  |  |  |  Branch (9483:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9484|    178|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    178|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 9485|    178|                frame = tstate->current_frame = temp;
  |  | 9486|    178|                tstate->py_recursion_remaining--;
  |  | 9487|    178|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9488|    178|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9489|    178|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    178|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    178|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    178|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 178]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9490|       |                #ifdef Py_DEBUG
  |  | 9491|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 9492|       |                #endif
  |  | 9493|    178|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    178|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 9494|    178|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    178|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 9495|    178|            }
  |  | 9496|    178|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    178|    { \
  |  |  |  |  201|    178|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    178|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    178|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    178|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    178|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    178|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    178|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    178|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 178]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    178|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    178|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    178|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    178|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    178|    }
  |  |  ------------------
  |  | 9497|    178|        }
  |  | 9498|       |
  |  | 9499|  5.03k|        TARGET(LOAD_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|  5.03k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9500|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9501|       |            int opcode = LOAD_ATTR_SLOT;
  |  | 9502|       |            (void)(opcode);
  |  | 9503|       |            #endif
  |  | 9504|  5.03k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9505|  5.03k|            (void)this_instr;
  |  | 9506|  5.03k|            frame->instr_ptr = next_instr;
  |  | 9507|  5.03k|            next_instr += 10;
  |  | 9508|  5.03k|            INSTRUCTION_STATS(LOAD_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|  5.03k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9509|  5.03k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9510|  5.03k|            _PyStackRef owner;
  |  | 9511|  5.03k|            _PyStackRef attr;
  |  | 9512|  5.03k|            _PyStackRef o;
  |  | 9513|  5.03k|            _PyStackRef value;
  |  | 9514|  5.03k|            _PyStackRef *null;
  |  | 9515|       |            /* Skip 1 cache entry */
  |  | 9516|       |            // _GUARD_TYPE_VERSION
  |  | 9517|  5.03k|            {
  |  | 9518|  5.03k|                owner = stack_pointer[-1];
  |  | 9519|  5.03k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9520|  5.03k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  5.03k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9521|  5.03k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9521:17): [True: 5.03k, False: 0]
  |  |  ------------------
  |  | 9522|  5.03k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|  5.03k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9522:21): [True: 5, False: 5.03k]
  |  |  ------------------
  |  | 9523|      5|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      5|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9524|      5|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9524:21): [True: 5, False: 0]
  |  |  ------------------
  |  | 9525|      5|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      5|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9526|      0|                }
  |  | 9527|  5.03k|            }
  |  | 9528|       |            // _LOAD_ATTR_SLOT
  |  | 9529|  5.03k|            {
  |  | 9530|  5.03k|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9531|  5.03k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9532|  5.03k|                PyObject **addr = (PyObject **)((char *)owner_o + index);
  |  | 9533|  5.03k|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR(*addr);
  |  |  ------------------
  |  |  |  |  147|  5.03k|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9534|  5.03k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9534:21): [True: 0, False: 5.03k]
  |  |  ------------------
  |  | 9535|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9536|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9536:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9537|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9538|      0|                }
  |  | 9539|       |                #ifdef Py_GIL_DISABLED
  |  | 9540|       |                int increfed = _Py_TryIncrefCompareStackRef(addr, attr_o, &attr);
  |  | 9541|       |                if (!increfed) {
  |  | 9542|       |                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9543|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9544|       |                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9545|       |                }
  |  | 9546|       |                #else
  |  | 9547|  5.03k|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  5.03k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9548|  5.03k|                #endif
  |  | 9549|  5.03k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  5.03k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9550|  5.03k|                o = owner;
  |  | 9551|  5.03k|            }
  |  | 9552|       |            // _POP_TOP
  |  | 9553|      0|            {
  |  | 9554|  5.03k|                value = o;
  |  | 9555|  5.03k|                stack_pointer[-1] = attr;
  |  | 9556|  5.03k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9557|  5.03k|                _PyFrame_StackPointerValidate(frame);
  |  | 9558|  5.03k|                PyStackRef_XCLOSE(value);
  |  | 9559|  5.03k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9560|  5.03k|            }
  |  | 9561|       |            /* Skip 5 cache entries */
  |  | 9562|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9563|  5.03k|            {
  |  | 9564|  5.03k|                null = &stack_pointer[0];
  |  | 9565|  5.03k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9565:21): [True: 0, False: 5.03k]
  |  |  ------------------
  |  | 9566|      0|                    null[0] = PyStackRef_NULL;
  |  | 9567|      0|                }
  |  | 9568|  5.03k|            }
  |  | 9569|  5.03k|            stack_pointer += (oparg & 1);
  |  | 9570|  5.03k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.03k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9571|  5.03k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.03k|    { \
  |  |  |  |  201|  5.03k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.03k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.03k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.03k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  5.03k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.03k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.03k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.03k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.03k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.03k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.03k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.03k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.03k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.03k|    }
  |  |  ------------------
  |  | 9572|  5.03k|        }
  |  | 9573|       |
  |  | 9574|      0|        TARGET(LOAD_ATTR_WITH_HINT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9575|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9576|       |            int opcode = LOAD_ATTR_WITH_HINT;
  |  | 9577|       |            (void)(opcode);
  |  | 9578|       |            #endif
  |  | 9579|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9580|      0|            (void)this_instr;
  |  | 9581|      0|            frame->instr_ptr = next_instr;
  |  | 9582|      0|            next_instr += 10;
  |  | 9583|      0|            INSTRUCTION_STATS(LOAD_ATTR_WITH_HINT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9584|      0|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9585|      0|            _PyStackRef owner;
  |  | 9586|      0|            _PyStackRef attr;
  |  | 9587|      0|            _PyStackRef o;
  |  | 9588|      0|            _PyStackRef value;
  |  | 9589|      0|            _PyStackRef *null;
  |  | 9590|       |            /* Skip 1 cache entry */
  |  | 9591|       |            // _GUARD_TYPE_VERSION
  |  | 9592|      0|            {
  |  | 9593|      0|                owner = stack_pointer[-1];
  |  | 9594|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9595|      0|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9596|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9596:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9597|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9597:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9598|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9599|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9599:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9600|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9601|      0|                }
  |  | 9602|      0|            }
  |  | 9603|       |            // _LOAD_ATTR_WITH_HINT
  |  | 9604|      0|            {
  |  | 9605|      0|                uint16_t hint = read_u16(&this_instr[4].cache);
  |  | 9606|      0|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9607|      0|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  |  |  ------------------
  |  |  |  Branch (9607:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9608|      0|                PyDictObject *dict = _PyObject_GetManagedDict(owner_o);
  |  | 9609|      0|                if (dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (9609:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9610|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9611|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9611:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9612|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9613|      0|                }
  |  | 9614|      0|                PyDictKeysObject *dk = FT_ATOMIC_LOAD_PTR(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  147|      0|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9615|      0|                assert(PyDict_CheckExact((PyObject *)dict));
  |  |  ------------------
  |  |  |  Branch (9615:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9616|       |                #ifdef Py_GIL_DISABLED
  |  | 9617|       |                if (!_Py_IsOwnedByCurrentThread((PyObject *)dict) && !_PyObject_GC_IS_SHARED(dict)) {
  |  | 9618|       |                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9619|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9620|       |                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9621|       |                }
  |  | 9622|       |                #endif
  |  | 9623|      0|                PyObject *attr_o;
  |  | 9624|      0|                if (hint >= (size_t)FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_nentries)) {
  |  |  ------------------
  |  |  |  |  151|      0|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9624:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9625|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9625:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9626|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9627|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9627:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9628|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9629|      0|                    }
  |  | 9630|      0|                }
  |  | 9631|      0|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|      0|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9631:34): [True: 0, False: 0]
  |  |  ------------------
  |  | 9632|      0|                if (dk->dk_kind != DICT_KEYS_UNICODE) {
  |  |  ------------------
  |  |  |  Branch (9632:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9633|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9633:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9634|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9635|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9635:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9636|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9637|      0|                    }
  |  | 9638|      0|                }
  |  | 9639|      0|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(dk) + hint;
  |  | 9640|      0|                if (FT_ATOMIC_LOAD_PTR_RELAXED(ep->me_key) != name) {
  |  |  ------------------
  |  |  |  |  155|      0|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9640:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9641|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9641:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9642|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9643|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9643:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9644|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9645|      0|                    }
  |  | 9646|      0|                }
  |  | 9647|      0|                attr_o = FT_ATOMIC_LOAD_PTR(ep->me_value);
  |  |  ------------------
  |  |  |  |  147|      0|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9648|      0|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9648:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9649|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9649:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9650|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9651|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9651:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9652|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9653|      0|                    }
  |  | 9654|      0|                }
  |  | 9655|      0|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9656|       |                #ifdef Py_GIL_DISABLED
  |  | 9657|       |                int increfed = _Py_TryIncrefCompareStackRef(&ep->me_value, attr_o, &attr);
  |  | 9658|       |                if (!increfed) {
  |  | 9659|       |                    if (true) {
  |  | 9660|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9661|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9662|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9663|       |                    }
  |  | 9664|       |                }
  |  | 9665|       |                #else
  |  | 9666|      0|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9667|      0|                #endif
  |  | 9668|      0|                o = owner;
  |  | 9669|      0|            }
  |  | 9670|       |            // _POP_TOP
  |  | 9671|      0|            {
  |  | 9672|      0|                value = o;
  |  | 9673|      0|                stack_pointer[-1] = attr;
  |  | 9674|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9675|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9676|      0|                PyStackRef_XCLOSE(value);
  |  | 9677|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9678|      0|            }
  |  | 9679|       |            /* Skip 5 cache entries */
  |  | 9680|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9681|      0|            {
  |  | 9682|      0|                null = &stack_pointer[0];
  |  | 9683|      0|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9683:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9684|      0|                    null[0] = PyStackRef_NULL;
  |  | 9685|      0|                }
  |  | 9686|      0|            }
  |  | 9687|      0|            stack_pointer += (oparg & 1);
  |  | 9688|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9689|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 9690|      0|        }
  |  | 9691|       |
  |  | 9692|    776|        TARGET(LOAD_BUILD_CLASS) {
  |  |  ------------------
  |  |  |  |  132|    776|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9693|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9694|       |            int opcode = LOAD_BUILD_CLASS;
  |  | 9695|       |            (void)(opcode);
  |  | 9696|       |            #endif
  |  | 9697|    776|            frame->instr_ptr = next_instr;
  |  | 9698|    776|            next_instr += 1;
  |  | 9699|    776|            INSTRUCTION_STATS(LOAD_BUILD_CLASS);
  |  |  ------------------
  |  |  |  |   71|    776|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9700|    776|            _PyStackRef bc;
  |  | 9701|    776|            int err;
  |  | 9702|    776|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9703|    776|            _PyFrame_StackPointerValidate(frame);
  |  | 9704|    776|            PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  327|    776|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                           PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  951|    776|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    776|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    776|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9705|    776|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9706|    776|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9706:17): [True: 0, False: 776]
  |  |  ------------------
  |  | 9707|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9708|      0|            }
  |  | 9709|    776|            if (bc_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9709:17): [True: 0, False: 776]
  |  |  ------------------
  |  | 9710|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9710:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9711|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9712|      0|                _PyErr_SetString(tstate, PyExc_NameError,
  |  | 9713|      0|                                 "__build_class__ not found");
  |  | 9714|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9715|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9716|      0|            }
  |  | 9717|    776|            bc = PyStackRef_FromPyObjectSteal(bc_o);
  |  | 9718|    776|            stack_pointer[0] = bc;
  |  | 9719|    776|            stack_pointer += 1;
  |  | 9720|    776|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    776|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9721|    776|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    776|    { \
  |  |  |  |  201|    776|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    776|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    776|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    776|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    776|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    776|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    776|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    776|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 776]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    776|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    776|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    776|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    776|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    776|    }
  |  |  ------------------
  |  | 9722|    776|        }
  |  | 9723|       |
  |  | 9724|   244k|        TARGET(LOAD_COMMON_CONSTANT) {
  |  |  ------------------
  |  |  |  |  132|   244k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9725|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9726|       |            int opcode = LOAD_COMMON_CONSTANT;
  |  | 9727|       |            (void)(opcode);
  |  | 9728|       |            #endif
  |  | 9729|   244k|            frame->instr_ptr = next_instr;
  |  | 9730|   244k|            next_instr += 1;
  |  | 9731|   244k|            INSTRUCTION_STATS(LOAD_COMMON_CONSTANT);
  |  |  ------------------
  |  |  |  |   71|   244k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9732|   244k|            _PyStackRef value;
  |  | 9733|   244k|            assert(oparg < NUM_COMMON_CONSTANTS);
  |  |  ------------------
  |  |  |  Branch (9733:13): [True: 244k, False: 0]
  |  |  ------------------
  |  | 9734|   244k|            value = PyStackRef_DupImmortal(tstate->interp->common_consts[oparg]);
  |  | 9735|   244k|            stack_pointer[0] = value;
  |  | 9736|   244k|            stack_pointer += 1;
  |  | 9737|   244k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   244k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9738|   244k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   244k|    { \
  |  |  |  |  201|   244k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   244k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   244k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   244k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   244k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   244k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   244k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   244k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 244k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   244k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   244k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   244k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   244k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   244k|    }
  |  |  ------------------
  |  | 9739|   244k|        }
  |  | 9740|       |
  |  | 9741|  40.4k|        TARGET(LOAD_CONST) {
  |  |  ------------------
  |  |  |  |  132|  40.4k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9742|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9743|       |            int opcode = LOAD_CONST;
  |  | 9744|       |            (void)(opcode);
  |  | 9745|       |            #endif
  |  | 9746|  40.4k|            frame->instr_ptr = next_instr;
  |  | 9747|  40.4k|            next_instr += 1;
  |  | 9748|  40.4k|            INSTRUCTION_STATS(LOAD_CONST);
  |  |  ------------------
  |  |  |  |   71|  40.4k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9749|  40.4k|            _PyStackRef value;
  |  | 9750|  40.4k|            PyObject *obj = GETITEM(FRAME_CO_CONSTS, oparg);
  |  |  ------------------
  |  |  |  |  236|  40.4k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  40.4k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  40.4k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  40.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9750:29): [True: 40.4k, False: 0]
  |  |  ------------------
  |  | 9751|      0|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  | 9752|  40.4k|            stack_pointer[0] = value;
  |  | 9753|  40.4k|            stack_pointer += 1;
  |  | 9754|  40.4k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  40.4k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9755|  40.4k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  40.4k|    { \
  |  |  |  |  201|  40.4k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  40.4k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  40.4k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  40.4k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  40.4k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  40.4k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  40.4k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  40.4k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 40.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  40.4k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  40.4k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  40.4k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  40.4k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  40.4k|    }
  |  |  ------------------
  |  | 9756|  40.4k|        }
  |  | 9757|       |
  |  | 9758|  2.67k|        TARGET(LOAD_DEREF) {
  |  |  ------------------
  |  |  |  |  132|  2.67k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9759|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9760|       |            int opcode = LOAD_DEREF;
  |  | 9761|       |            (void)(opcode);
  |  | 9762|       |            #endif
  |  | 9763|  2.67k|            frame->instr_ptr = next_instr;
  |  | 9764|  2.67k|            next_instr += 1;
  |  | 9765|  2.67k|            INSTRUCTION_STATS(LOAD_DEREF);
  |  |  ------------------
  |  |  |  |   71|  2.67k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9766|  2.67k|            _PyStackRef value;
  |  | 9767|  2.67k|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  2.67k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9768|  2.67k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9769|  2.67k|            _PyFrame_StackPointerValidate(frame);
  |  | 9770|  2.67k|            value = _PyCell_GetStackRef(cell);
  |  | 9771|  2.67k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9772|  2.67k|            if (PyStackRef_IsNull(value)) {
  |  |  ------------------
  |  |  |  |  482|  2.67k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.67k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.67k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 2.67k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9773|      0|                stack_pointer[0] = value;
  |  | 9774|      0|                stack_pointer += 1;
  |  | 9775|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9776|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9777|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9778|      0|                _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 9779|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9780|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9781|      0|            }
  |  | 9782|  2.67k|            stack_pointer[0] = value;
  |  | 9783|  2.67k|            stack_pointer += 1;
  |  | 9784|  2.67k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.67k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9785|  2.67k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.67k|    { \
  |  |  |  |  201|  2.67k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.67k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.67k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.67k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.67k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.67k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.67k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.67k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.67k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.67k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.67k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.67k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.67k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.67k|    }
  |  |  ------------------
  |  | 9786|  2.67k|        }
  |  | 9787|       |
  |  | 9788|  7.68k|        TARGET(LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  7.68k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9789|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9790|       |            int opcode = LOAD_FAST;
  |  | 9791|       |            (void)(opcode);
  |  | 9792|       |            #endif
  |  | 9793|  7.68k|            frame->instr_ptr = next_instr;
  |  | 9794|  7.68k|            next_instr += 1;
  |  | 9795|  7.68k|            INSTRUCTION_STATS(LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  7.68k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9796|  7.68k|            _PyStackRef value;
  |  | 9797|  7.68k|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  |  ------------------
  |  |  |  Branch (9797:13): [True: 7.68k, False: 0]
  |  |  ------------------
  |  | 9798|  7.68k|            value = PyStackRef_DUP(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  7.68k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9799|  7.68k|            stack_pointer[0] = value;
  |  | 9800|  7.68k|            stack_pointer += 1;
  |  | 9801|  7.68k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  7.68k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9802|  7.68k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.68k|    { \
  |  |  |  |  201|  7.68k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.68k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.68k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.68k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  7.68k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.68k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.68k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.68k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.68k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.68k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.68k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.68k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.68k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.68k|    }
  |  |  ------------------
  |  | 9803|  7.68k|        }
  |  | 9804|       |
  |  | 9805|  3.52k|        TARGET(LOAD_FAST_AND_CLEAR) {
  |  |  ------------------
  |  |  |  |  132|  3.52k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9806|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9807|       |            int opcode = LOAD_FAST_AND_CLEAR;
  |  | 9808|       |            (void)(opcode);
  |  | 9809|       |            #endif
  |  | 9810|  3.52k|            frame->instr_ptr = next_instr;
  |  | 9811|  3.52k|            next_instr += 1;
  |  | 9812|  3.52k|            INSTRUCTION_STATS(LOAD_FAST_AND_CLEAR);
  |  |  ------------------
  |  |  |  |   71|  3.52k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9813|  3.52k|            _PyStackRef value;
  |  | 9814|  3.52k|            value = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  3.52k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9815|  3.52k|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  285|  3.52k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9816|  3.52k|            stack_pointer[0] = value;
  |  | 9817|  3.52k|            stack_pointer += 1;
  |  | 9818|  3.52k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.52k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9819|  3.52k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.52k|    { \
  |  |  |  |  201|  3.52k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.52k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.52k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.52k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.52k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.52k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.52k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.52k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.52k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.52k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.52k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.52k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.52k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.52k|    }
  |  |  ------------------
  |  | 9820|  3.52k|        }
  |  | 9821|       |
  |  | 9822|   131k|        TARGET(LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|   131k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9823|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9824|       |            int opcode = LOAD_FAST_BORROW;
  |  | 9825|       |            (void)(opcode);
  |  | 9826|       |            #endif
  |  | 9827|   131k|            frame->instr_ptr = next_instr;
  |  | 9828|   131k|            next_instr += 1;
  |  | 9829|   131k|            INSTRUCTION_STATS(LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|   131k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9830|   131k|            _PyStackRef value;
  |  | 9831|   131k|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  |  ------------------
  |  |  |  Branch (9831:13): [True: 131k, False: 0]
  |  |  ------------------
  |  | 9832|   131k|            value = PyStackRef_Borrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|   131k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9833|   131k|            stack_pointer[0] = value;
  |  | 9834|   131k|            stack_pointer += 1;
  |  | 9835|   131k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   131k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9836|   131k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   131k|    { \
  |  |  |  |  201|   131k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   131k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   131k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   131k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   131k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   131k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   131k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   131k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 131k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   131k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   131k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   131k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   131k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   131k|    }
  |  |  ------------------
  |  | 9837|   131k|        }
  |  | 9838|       |
  |  | 9839|   231k|        TARGET(LOAD_FAST_BORROW_LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|   231k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9840|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9841|       |            int opcode = LOAD_FAST_BORROW_LOAD_FAST_BORROW;
  |  | 9842|       |            (void)(opcode);
  |  | 9843|       |            #endif
  |  | 9844|   231k|            frame->instr_ptr = next_instr;
  |  | 9845|   231k|            next_instr += 1;
  |  | 9846|   231k|            INSTRUCTION_STATS(LOAD_FAST_BORROW_LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|   231k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9847|   231k|            _PyStackRef value1;
  |  | 9848|   231k|            _PyStackRef value2;
  |  | 9849|   231k|            uint32_t oparg1 = oparg >> 4;
  |  | 9850|   231k|            uint32_t oparg2 = oparg & 15;
  |  | 9851|   231k|            value1 = PyStackRef_Borrow(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  285|   231k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9852|   231k|            value2 = PyStackRef_Borrow(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|   231k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9853|   231k|            stack_pointer[0] = value1;
  |  | 9854|   231k|            stack_pointer[1] = value2;
  |  | 9855|   231k|            stack_pointer += 2;
  |  | 9856|   231k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   231k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9857|   231k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   231k|    { \
  |  |  |  |  201|   231k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   231k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   231k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   231k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   231k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   231k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   231k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   231k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 231k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   231k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   231k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   231k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   231k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   231k|    }
  |  |  ------------------
  |  | 9858|   231k|        }
  |  | 9859|       |
  |  | 9860|   231k|        TARGET(LOAD_FAST_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  1.65k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9861|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9862|       |            int opcode = LOAD_FAST_CHECK;
  |  | 9863|       |            (void)(opcode);
  |  | 9864|       |            #endif
  |  | 9865|  1.65k|            frame->instr_ptr = next_instr;
  |  | 9866|  1.65k|            next_instr += 1;
  |  | 9867|  1.65k|            INSTRUCTION_STATS(LOAD_FAST_CHECK);
  |  |  ------------------
  |  |  |  |   71|  1.65k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9868|  1.65k|            _PyStackRef value;
  |  | 9869|  1.65k|            _PyStackRef value_s = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  1.65k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9870|  1.65k|            if (PyStackRef_IsNull(value_s)) {
  |  |  ------------------
  |  |  |  |  482|  1.65k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.65k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.65k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.65k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9871|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9872|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9873|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_UnboundLocalError,
  |  | 9874|      0|                    UNBOUNDLOCAL_ERROR_MSG,
  |  |  ------------------
  |  |  |  |  401|      0|    "cannot access local variable '%s' where it is not associated with a value"
  |  |  ------------------
  |  | 9875|      0|                    PyTuple_GetItem(_PyFrame_GetCode(frame)->co_localsplusnames, oparg)
  |  | 9876|      0|                );
  |  | 9877|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9878|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9879|      0|            }
  |  | 9880|  1.65k|            value = PyStackRef_DUP(value_s);
  |  | 9881|  1.65k|            stack_pointer[0] = value;
  |  | 9882|  1.65k|            stack_pointer += 1;
  |  | 9883|  1.65k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.65k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9884|  1.65k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.65k|    { \
  |  |  |  |  201|  1.65k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.65k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.65k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.65k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.65k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.65k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.65k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.65k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.65k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.65k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.65k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.65k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.65k|    }
  |  |  ------------------
  |  | 9885|  1.65k|        }
  |  | 9886|       |
  |  | 9887|     19|        TARGET(LOAD_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|     19|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9888|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9889|       |            int opcode = LOAD_FAST_LOAD_FAST;
  |  | 9890|       |            (void)(opcode);
  |  | 9891|       |            #endif
  |  | 9892|     19|            frame->instr_ptr = next_instr;
  |  | 9893|     19|            next_instr += 1;
  |  | 9894|     19|            INSTRUCTION_STATS(LOAD_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|     19|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9895|     19|            _PyStackRef value1;
  |  | 9896|     19|            _PyStackRef value2;
  |  | 9897|     19|            uint32_t oparg1 = oparg >> 4;
  |  | 9898|     19|            uint32_t oparg2 = oparg & 15;
  |  | 9899|     19|            value1 = PyStackRef_DUP(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  285|     19|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9900|     19|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|     19|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9901|     19|            stack_pointer[0] = value1;
  |  | 9902|     19|            stack_pointer[1] = value2;
  |  | 9903|     19|            stack_pointer += 2;
  |  | 9904|     19|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     19|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9905|     19|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     19|    { \
  |  |  |  |  201|     19|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     19|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     19|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     19|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     19|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     19|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     19|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     19|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 19]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     19|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     19|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     19|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     19|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     19|    }
  |  |  ------------------
  |  | 9906|     19|        }
  |  | 9907|       |
  |  | 9908|     19|        TARGET(LOAD_FROM_DICT_OR_DEREF) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9909|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9910|       |            int opcode = LOAD_FROM_DICT_OR_DEREF;
  |  | 9911|       |            (void)(opcode);
  |  | 9912|       |            #endif
  |  | 9913|      0|            frame->instr_ptr = next_instr;
  |  | 9914|      0|            next_instr += 1;
  |  | 9915|      0|            INSTRUCTION_STATS(LOAD_FROM_DICT_OR_DEREF);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9916|      0|            _PyStackRef class_dict_st;
  |  | 9917|      0|            _PyStackRef value;
  |  | 9918|      0|            class_dict_st = stack_pointer[-1];
  |  | 9919|      0|            PyObject *name;
  |  | 9920|      0|            PyObject *class_dict = PyStackRef_AsPyObjectBorrow(class_dict_st);
  |  | 9921|      0|            assert(class_dict);
  |  |  ------------------
  |  |  |  Branch (9921:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 9922|      0|            assert(oparg >= 0 && oparg < _PyFrame_GetCode(frame)->co_nlocalsplus);
  |  |  ------------------
  |  |  |  Branch (9922:13): [True: 0, False: 0]
  |  |  |  Branch (9922:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 9923|      0|            name = PyTuple_GET_ITEM(_PyFrame_GetCode(frame)->co_localsplusnames, oparg);
  |  |  ------------------
  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9923:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 9924|      0|            int err;
  |  | 9925|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9926|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9927|      0|            PyObject* value_o = _PyMapping_GetOptionalItem2(class_dict, name, &err);
  |  | 9928|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9929|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9929:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9930|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9931|      0|            }
  |  | 9932|      0|            if (!value_o) {
  |  |  ------------------
  |  |  |  Branch (9932:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9933|      0|                PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|      0|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9934|      0|                value_o = PyCell_GetRef(cell);
  |  | 9935|      0|                if (value_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9935:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9936|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9936:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9937|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 9938|      0|                    _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 9939|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 9940|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9941|      0|                }
  |  | 9942|      0|            }
  |  | 9943|      0|            else if (PyLazyImport_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   15|      0|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9944|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9944:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9945|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9946|      0|                Py_SETREF(value_o, _PyLazyImport_Reify(
  |  |  ------------------
  |  |  |  |  545|      0|    do { \
  |  |  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  550|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9947|      0|                              tstate, value_o, name, class_dict));
  |  | 9948|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9949|      0|                if (value_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9949:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9950|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9951|      0|                }
  |  | 9952|      0|            }
  |  | 9953|      0|            stack_pointer += -1;
  |  | 9954|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9955|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9956|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9957|      0|            PyStackRef_CLOSE(class_dict_st);
  |  | 9958|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9959|      0|            value = PyStackRef_FromPyObjectSteal(value_o);
  |  | 9960|      0|            stack_pointer[0] = value;
  |  | 9961|      0|            stack_pointer += 1;
  |  | 9962|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9963|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  | 9964|      0|        }
  |  | 9965|       |
  |  | 9966|      0|        TARGET(LOAD_FROM_DICT_OR_GLOBALS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9967|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9968|       |            int opcode = LOAD_FROM_DICT_OR_GLOBALS;
  |  | 9969|       |            (void)(opcode);
  |  | 9970|       |            #endif
  |  | 9971|      0|            frame->instr_ptr = next_instr;
  |  | 9972|      0|            next_instr += 1;
  |  | 9973|      0|            INSTRUCTION_STATS(LOAD_FROM_DICT_OR_GLOBALS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9974|      0|            _PyStackRef mod_or_class_dict;
  |  | 9975|      0|            _PyStackRef v;
  |  | 9976|      0|            mod_or_class_dict = stack_pointer[-1];
  |  | 9977|      0|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|      0|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9977:30): [True: 0, False: 0]
  |  |  ------------------
  |  | 9978|      0|            PyObject *namespace = PyStackRef_AsPyObjectBorrow(mod_or_class_dict);
  |  | 9979|      0|            int err;
  |  | 9980|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9981|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9982|      0|            PyObject *v_o = _PyMapping_GetOptionalItem2(namespace, name, &err);
  |  | 9983|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9984|      0|            if (v_o != NULL && PyLazyImport_CheckExact(v_o)) {
  |  |  ------------------
  |  |  |  |   15|      0|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9984:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9985|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (9985:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9986|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9987|      0|                Py_SETREF(v_o, _PyLazyImport_Reify(tstate, v_o, name, namespace));
  |  |  ------------------
  |  |  |  |  545|      0|    do { \
  |  |  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  550|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9988|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9989|      0|                if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9989:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9990|      0|                    err = -1;
  |  | 9991|      0|                }
  |  | 9992|      0|            }
  |  | 9993|      0|            stack_pointer += -1;
  |  | 9994|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9995|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9996|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 9997|      0|            PyStackRef_CLOSE(mod_or_class_dict);
  |  | 9998|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9999|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9999:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10000|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10001|      0|            }
  |  |10002|      0|            if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10002:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10003|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10003:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10004|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10005|      0|                _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, &v);
  |  |  ------------------
  |  |  |  |  326|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                               _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, &v);
  |  |  ------------------
  |  |  |  |  327|      0|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10006|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10007|      0|                if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10008|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10009|      0|                }
  |  |10010|      0|            }
  |  |10011|      0|            else {
  |  |10012|      0|                v = PyStackRef_FromPyObjectSteal(v_o);
  |  |10013|      0|            }
  |  |10014|      0|            stack_pointer[0] = v;
  |  |10015|      0|            stack_pointer += 1;
  |  |10016|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10017|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10018|      0|        }
  |  |10019|       |
  |  |10020|  3.21k|        TARGET(LOAD_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|  3.21k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10021|       |            #if _Py_TAIL_CALL_INTERP
  |  |10022|       |            int opcode = LOAD_GLOBAL;
  |  |10023|       |            (void)(opcode);
  |  |10024|       |            #endif
  |  |10025|  3.21k|            frame->instr_ptr = next_instr;
  |  |10026|  3.21k|            next_instr += 5;
  |  |10027|  3.21k|            INSTRUCTION_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|  3.21k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10028|  14.6k|            PREDICTED_LOAD_GLOBAL:;
  |  |10029|  14.6k|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  |10030|  14.6k|            (void)this_instr;
  |  |10031|  14.6k|            _PyStackRef *res;
  |  |10032|  14.6k|            _PyStackRef *null;
  |  |10033|       |            // _SPECIALIZE_LOAD_GLOBAL
  |  |10034|  14.6k|            {
  |  |10035|  14.6k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |10036|  14.6k|                (void)counter;
  |  |10037|  14.6k|                #if ENABLE_SPECIALIZATION
  |  |10038|  14.6k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  14.6k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1.34k, False: 13.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10039|  1.34k|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|  1.34k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.34k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.34k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10039:38): [True: 1.34k, False: 0]
  |  |  ------------------
  |  |10040|      0|                    next_instr = this_instr;
  |  |10041|  1.34k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10042|  1.34k|                    _PyFrame_StackPointerValidate(frame);
  |  |10043|  1.34k|                    _Py_Specialize_LoadGlobal(GLOBALS(), BUILTINS(), next_instr, name);
  |  |  ------------------
  |  |  |  |  326|  1.34k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                                   _Py_Specialize_LoadGlobal(GLOBALS(), BUILTINS(), next_instr, name);
  |  |  ------------------
  |  |  |  |  327|  1.34k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10044|  1.34k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10045|  1.34k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.34k|    { \
  |  |  |  |  217|  1.34k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.34k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.34k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.34k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.34k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.34k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.34k|    }
  |  |  ------------------
  |  |10046|  1.34k|                }
  |  |10047|  14.6k|                OPCODE_DEFERRED_INC(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   90|  14.6k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |10048|  14.6k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  14.6k|    do { \
  |  |  |  |  378|  14.6k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  14.6k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 14.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10049|  14.6k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |10050|  14.6k|            }
  |  |10051|       |            /* Skip 1 cache entry */
  |  |10052|       |            /* Skip 1 cache entry */
  |  |10053|       |            /* Skip 1 cache entry */
  |  |10054|       |            // _LOAD_GLOBAL
  |  |10055|      0|            {
  |  |10056|  14.6k|                res = &stack_pointer[0];
  |  |10057|  14.6k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|  14.6k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  14.6k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  14.6k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10057:34): [True: 13.3k, False: 1.34k]
  |  |  ------------------
  |  |10058|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10059|  13.3k|                _PyFrame_StackPointerValidate(frame);
  |  |10060|  13.3k|                _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  326|  13.3k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                               _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  327|  13.3k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10061|  13.3k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10062|  13.3k|                if (PyStackRef_IsNull(*res)) {
  |  |  ------------------
  |  |  |  |  482|  13.3k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  13.3k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  13.3k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 13.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10063|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10064|      0|                }
  |  |10065|  13.3k|            }
  |  |10066|       |            // _PUSH_NULL_CONDITIONAL
  |  |10067|  13.3k|            {
  |  |10068|  13.3k|                null = &stack_pointer[1];
  |  |10069|  13.3k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10069:21): [True: 5.92k, False: 7.40k]
  |  |  ------------------
  |  |10070|  5.92k|                    null[0] = PyStackRef_NULL;
  |  |10071|  5.92k|                }
  |  |10072|  13.3k|            }
  |  |10073|  13.3k|            stack_pointer += 1 + (oparg & 1);
  |  |10074|  13.3k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  13.3k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10075|  13.3k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  13.3k|    { \
  |  |  |  |  201|  13.3k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  13.3k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  13.3k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  13.3k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  13.3k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  13.3k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  13.3k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  13.3k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 13.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  13.3k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  13.3k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  13.3k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  13.3k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  13.3k|    }
  |  |  ------------------
  |  |10076|  13.3k|        }
  |  |10077|       |
  |  |10078|  17.8k|        TARGET(LOAD_GLOBAL_BUILTIN) {
  |  |  ------------------
  |  |  |  |  132|  17.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10079|       |            #if _Py_TAIL_CALL_INTERP
  |  |10080|       |            int opcode = LOAD_GLOBAL_BUILTIN;
  |  |10081|       |            (void)(opcode);
  |  |10082|       |            #endif
  |  |10083|  17.8k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10084|  17.8k|            (void)this_instr;
  |  |10085|  17.8k|            frame->instr_ptr = next_instr;
  |  |10086|  17.8k|            next_instr += 5;
  |  |10087|  17.8k|            INSTRUCTION_STATS(LOAD_GLOBAL_BUILTIN);
  |  |  ------------------
  |  |  |  |   71|  17.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10088|  17.8k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  |10089|  17.8k|            _PyStackRef res;
  |  |10090|  17.8k|            _PyStackRef *null;
  |  |10091|       |            /* Skip 1 cache entry */
  |  |10092|       |            // _GUARD_GLOBALS_VERSION
  |  |10093|  17.8k|            {
  |  |10094|  17.8k|                uint16_t version = read_u16(&this_instr[2].cache);
  |  |10095|  17.8k|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  326|  17.8k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10096|  17.8k|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  17.8k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  17.8k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  17.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  17.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10096:21): [True: 0, False: 17.8k]
  |  |  ------------------
  |  |10097|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10098|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10098:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10099|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10100|      0|                }
  |  |10101|  17.8k|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  152|  17.8k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10102|  17.8k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  161|  17.8k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10102:21): [True: 4.01k, False: 13.8k]
  |  |  ------------------
  |  |10103|  4.01k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  4.01k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10104|  4.01k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10104:21): [True: 4.01k, False: 0]
  |  |  ------------------
  |  |10105|  4.01k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  4.01k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10106|      0|                }
  |  |10107|  17.8k|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10107:17): [True: 13.8k, False: 0]
  |  |  ------------------
  |  |10108|  13.8k|            }
  |  |10109|       |            // _LOAD_GLOBAL_BUILTINS
  |  |10110|  13.8k|            {
  |  |10111|  13.8k|                uint16_t version = read_u16(&this_instr[3].cache);
  |  |10112|  13.8k|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |10113|  13.8k|                PyDictObject *dict = (PyDictObject *)BUILTINS();
  |  |  ------------------
  |  |  |  |  327|  13.8k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10114|  13.8k|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  13.8k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  13.8k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  13.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  13.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10114:21): [True: 0, False: 13.8k]
  |  |  ------------------
  |  |10115|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10116|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10116:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10117|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10118|      0|                }
  |  |10119|  13.8k|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  152|  13.8k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10120|  13.8k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  161|  13.8k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10120:21): [True: 2.14k, False: 11.7k]
  |  |  ------------------
  |  |10121|  2.14k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  2.14k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10122|  2.14k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10122:21): [True: 2.14k, False: 0]
  |  |  ------------------
  |  |10123|  2.14k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  2.14k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10124|      0|                }
  |  |10125|  13.8k|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10125:17): [True: 11.7k, False: 0]
  |  |  ------------------
  |  |10126|  11.7k|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  |10127|  11.7k|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_CONSUME(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  153|  11.7k|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  |10128|  11.7k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10128:21): [True: 0, False: 11.7k]
  |  |  ------------------
  |  |10129|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10130|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10130:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10131|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10132|      0|                }
  |  |10133|       |                #ifdef Py_GIL_DISABLED
  |  |10134|       |                int increfed = _Py_TryIncrefCompareStackRef(&entries[index].me_value, res_o, &res);
  |  |10135|       |                if (!increfed) {
  |  |10136|       |                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |10137|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |10138|       |                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |10139|       |                }
  |  |10140|       |                #else
  |  |10141|  11.7k|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  11.7k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10142|  11.7k|                #endif
  |  |10143|  11.7k|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|  11.7k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10144|  11.7k|            }
  |  |10145|       |            // _PUSH_NULL_CONDITIONAL
  |  |10146|      0|            {
  |  |10147|  11.7k|                null = &stack_pointer[1];
  |  |10148|  11.7k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10148:21): [True: 7.99k, False: 3.74k]
  |  |  ------------------
  |  |10149|  7.99k|                    null[0] = PyStackRef_NULL;
  |  |10150|  7.99k|                }
  |  |10151|  11.7k|            }
  |  |10152|  11.7k|            stack_pointer[0] = res;
  |  |10153|  11.7k|            stack_pointer += 1 + (oparg & 1);
  |  |10154|  11.7k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  11.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10155|  11.7k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.7k|    { \
  |  |  |  |  201|  11.7k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  11.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  11.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  11.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  11.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  11.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  11.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  11.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 11.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  11.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  11.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  11.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  11.7k|    }
  |  |  ------------------
  |  |10156|  11.7k|        }
  |  |10157|       |
  |  |10158|   266k|        TARGET(LOAD_GLOBAL_MODULE) {
  |  |  ------------------
  |  |  |  |  132|   266k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10159|       |            #if _Py_TAIL_CALL_INTERP
  |  |10160|       |            int opcode = LOAD_GLOBAL_MODULE;
  |  |10161|       |            (void)(opcode);
  |  |10162|       |            #endif
  |  |10163|   266k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10164|   266k|            (void)this_instr;
  |  |10165|   266k|            frame->instr_ptr = next_instr;
  |  |10166|   266k|            next_instr += 5;
  |  |10167|   266k|            INSTRUCTION_STATS(LOAD_GLOBAL_MODULE);
  |  |  ------------------
  |  |  |  |   71|   266k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10168|   266k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  |10169|   266k|            _PyStackRef res;
  |  |10170|   266k|            _PyStackRef *null;
  |  |10171|       |            /* Skip 1 cache entry */
  |  |10172|       |            // _NOP
  |  |10173|   266k|            {
  |  |10174|   266k|            }
  |  |10175|       |            // _LOAD_GLOBAL_MODULE
  |  |10176|   266k|            {
  |  |10177|   266k|                uint16_t version = read_u16(&this_instr[2].cache);
  |  |10178|   266k|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |10179|   266k|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  326|   266k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10180|   266k|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|   266k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   266k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   266k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   266k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10180:21): [True: 0, False: 266k]
  |  |  ------------------
  |  |10181|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10182|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10182:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10183|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10184|      0|                }
  |  |10185|   266k|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  152|   266k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10186|   266k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  161|   266k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10186:21): [True: 5.29k, False: 261k]
  |  |  ------------------
  |  |10187|  5.29k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  5.29k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10188|  5.29k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10188:21): [True: 5.29k, False: 0]
  |  |  ------------------
  |  |10189|  5.29k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  5.29k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10190|      0|                }
  |  |10191|   266k|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10191:17): [True: 261k, False: 0]
  |  |  ------------------
  |  |10192|   261k|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  |10193|   261k|                assert(index < DK_SIZE(keys));
  |  |  ------------------
  |  |  |  Branch (10193:17): [True: 261k, False: 0]
  |  |  ------------------
  |  |10194|   261k|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_CONSUME(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  153|   261k|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  |10195|   261k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10195:21): [True: 0, False: 261k]
  |  |  ------------------
  |  |10196|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10197|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10197:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10198|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10199|      0|                }
  |  |10200|       |                #ifdef Py_GIL_DISABLED
  |  |10201|       |                int increfed = _Py_TryIncrefCompareStackRef(&entries[index].me_value, res_o, &res);
  |  |10202|       |                if (!increfed) {
  |  |10203|       |                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |10204|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |10205|       |                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |10206|       |                }
  |  |10207|       |                #else
  |  |10208|   261k|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|   261k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   261k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   261k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10209|   261k|                #endif
  |  |10210|   261k|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|   261k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10211|   261k|            }
  |  |10212|       |            // _PUSH_NULL_CONDITIONAL
  |  |10213|      0|            {
  |  |10214|   261k|                null = &stack_pointer[1];
  |  |10215|   261k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10215:21): [True: 13.6k, False: 247k]
  |  |  ------------------
  |  |10216|  13.6k|                    null[0] = PyStackRef_NULL;
  |  |10217|  13.6k|                }
  |  |10218|   261k|            }
  |  |10219|   261k|            stack_pointer[0] = res;
  |  |10220|   261k|            stack_pointer += 1 + (oparg & 1);
  |  |10221|   261k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   261k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10222|   261k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   261k|    { \
  |  |  |  |  201|   261k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   261k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   261k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   261k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   261k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   261k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   261k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   261k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 261k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   261k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   261k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   261k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   261k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   261k|    }
  |  |  ------------------
  |  |10223|   261k|        }
  |  |10224|       |
  |  |10225|    585|        TARGET(LOAD_LOCALS) {
  |  |  ------------------
  |  |  |  |  132|    585|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10226|       |            #if _Py_TAIL_CALL_INTERP
  |  |10227|       |            int opcode = LOAD_LOCALS;
  |  |10228|       |            (void)(opcode);
  |  |10229|       |            #endif
  |  |10230|    585|            frame->instr_ptr = next_instr;
  |  |10231|    585|            next_instr += 1;
  |  |10232|    585|            INSTRUCTION_STATS(LOAD_LOCALS);
  |  |  ------------------
  |  |  |  |   71|    585|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10233|    585|            _PyStackRef locals;
  |  |10234|    585|            PyObject *l = LOCALS();
  |  |  ------------------
  |  |  |  |  328|    585|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |10235|    585|            if (l == NULL) {
  |  |  ------------------
  |  |  |  Branch (10235:17): [True: 0, False: 585]
  |  |  ------------------
  |  |10236|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10237|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10238|      0|                _PyErr_SetString(tstate, PyExc_SystemError,
  |  |10239|      0|                                 "no locals found");
  |  |10240|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10241|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10242|      0|            }
  |  |10243|    585|            locals = PyStackRef_FromPyObjectNew(l);
  |  |  ------------------
  |  |  |  |  611|    585|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    585|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    585|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10244|    585|            stack_pointer[0] = locals;
  |  |10245|    585|            stack_pointer += 1;
  |  |10246|    585|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    585|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10247|    585|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    585|    { \
  |  |  |  |  201|    585|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    585|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    585|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    585|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    585|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    585|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    585|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    585|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 585]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    585|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    585|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    585|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    585|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    585|    }
  |  |  ------------------
  |  |10248|    585|        }
  |  |10249|       |
  |  |10250|  3.95k|        TARGET(LOAD_NAME) {
  |  |  ------------------
  |  |  |  |  132|  3.95k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10251|       |            #if _Py_TAIL_CALL_INTERP
  |  |10252|       |            int opcode = LOAD_NAME;
  |  |10253|       |            (void)(opcode);
  |  |10254|       |            #endif
  |  |10255|  3.95k|            frame->instr_ptr = next_instr;
  |  |10256|  3.95k|            next_instr += 1;
  |  |10257|  3.95k|            INSTRUCTION_STATS(LOAD_NAME);
  |  |  ------------------
  |  |  |  |   71|  3.95k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10258|  3.95k|            _PyStackRef v;
  |  |10259|  3.95k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  3.95k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  3.95k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  3.95k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10259:30): [True: 3.95k, False: 0]
  |  |  ------------------
  |  |10260|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10261|  3.95k|            _PyFrame_StackPointerValidate(frame);
  |  |10262|  3.95k|            PyObject *v_o = _PyEval_LoadName(tstate, frame, name);
  |  |10263|  3.95k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10264|  3.95k|            if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10264:17): [True: 0, False: 3.95k]
  |  |  ------------------
  |  |10265|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10266|      0|            }
  |  |10267|  3.95k|            v = PyStackRef_FromPyObjectSteal(v_o);
  |  |10268|  3.95k|            stack_pointer[0] = v;
  |  |10269|  3.95k|            stack_pointer += 1;
  |  |10270|  3.95k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.95k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10271|  3.95k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.95k|    { \
  |  |  |  |  201|  3.95k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.95k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.95k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.95k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.95k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.95k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.95k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.95k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.95k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.95k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.95k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.95k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.95k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.95k|    }
  |  |  ------------------
  |  |10272|  3.95k|        }
  |  |10273|       |
  |  |10274|  21.8k|        TARGET(LOAD_SMALL_INT) {
  |  |  ------------------
  |  |  |  |  132|  21.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10275|       |            #if _Py_TAIL_CALL_INTERP
  |  |10276|       |            int opcode = LOAD_SMALL_INT;
  |  |10277|       |            (void)(opcode);
  |  |10278|       |            #endif
  |  |10279|  21.8k|            frame->instr_ptr = next_instr;
  |  |10280|  21.8k|            next_instr += 1;
  |  |10281|  21.8k|            INSTRUCTION_STATS(LOAD_SMALL_INT);
  |  |  ------------------
  |  |  |  |   71|  21.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10282|  21.8k|            _PyStackRef value;
  |  |10283|  21.8k|            assert(oparg < _PY_NSMALLPOSINTS);
  |  |  ------------------
  |  |  |  Branch (10283:13): [True: 21.8k, False: 0]
  |  |  ------------------
  |  |10284|  21.8k|            PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   59|  21.8k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  21.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  21.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   98|  21.8k|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  |10285|  21.8k|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  |10286|  21.8k|            stack_pointer[0] = value;
  |  |10287|  21.8k|            stack_pointer += 1;
  |  |10288|  21.8k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  21.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10289|  21.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  21.8k|    { \
  |  |  |  |  201|  21.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  21.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  21.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  21.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  21.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  21.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  21.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  21.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 21.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  21.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  21.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  21.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  21.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  21.8k|    }
  |  |  ------------------
  |  |10290|  21.8k|        }
  |  |10291|       |
  |  |10292|  5.88k|        TARGET(LOAD_SPECIAL) {
  |  |  ------------------
  |  |  |  |  132|  5.88k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10293|       |            #if _Py_TAIL_CALL_INTERP
  |  |10294|       |            int opcode = LOAD_SPECIAL;
  |  |10295|       |            (void)(opcode);
  |  |10296|       |            #endif
  |  |10297|  5.88k|            frame->instr_ptr = next_instr;
  |  |10298|  5.88k|            next_instr += 1;
  |  |10299|  5.88k|            INSTRUCTION_STATS(LOAD_SPECIAL);
  |  |  ------------------
  |  |  |  |   71|  5.88k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10300|  5.88k|            _PyStackRef self;
  |  |10301|  5.88k|            _PyStackRef *method_and_self;
  |  |10302|       |            // _INSERT_NULL
  |  |10303|  5.88k|            {
  |  |10304|  5.88k|                self = stack_pointer[-1];
  |  |10305|  5.88k|                method_and_self = &stack_pointer[-1];
  |  |10306|  5.88k|                method_and_self[1] = self;
  |  |10307|  5.88k|                method_and_self[0] = PyStackRef_NULL;
  |  |10308|  5.88k|            }
  |  |10309|       |            // _LOAD_SPECIAL
  |  |10310|  5.88k|            {
  |  |10311|  5.88k|                method_and_self = &stack_pointer[-1];
  |  |10312|  5.88k|                PyObject *name = _Py_SpecialMethods[oparg].name;
  |  |10313|  5.88k|                stack_pointer += 1;
  |  |10314|  5.88k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.88k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10315|  5.88k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10316|  5.88k|                _PyFrame_StackPointerValidate(frame);
  |  |10317|  5.88k|                int err = _PyObject_LookupSpecialMethod(name, &method_and_self[0],
  |  |10318|  5.88k|                    &method_and_self[1]);
  |  |10319|  5.88k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10320|  5.88k|                if (err <= 0) {
  |  |  ------------------
  |  |  |  Branch (10320:21): [True: 0, False: 5.88k]
  |  |  ------------------
  |  |10321|      0|                    if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (10321:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10322|      0|                        PyObject *owner = PyStackRef_AsPyObjectBorrow(method_and_self[1]);
  |  |10323|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10323:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10324|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10325|      0|                        const char *errfmt = _PyEval_SpecialMethodCanSuggest(owner, oparg)
  |  |  ------------------
  |  |  |  Branch (10325:46): [True: 0, False: 0]
  |  |  ------------------
  |  |10326|      0|                        ? _Py_SpecialMethods[oparg].error_suggestion
  |  |10327|      0|                    : _Py_SpecialMethods[oparg].error;
  |  |10328|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10329|      0|                        assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (10329:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10330|      0|                        assert(errfmt != NULL);
  |  |  ------------------
  |  |  |  Branch (10330:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10331|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10331:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10332|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10333|      0|                        _PyErr_Format(tstate, PyExc_TypeError, errfmt, owner);
  |  |10334|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10335|      0|                    }
  |  |10336|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10337|      0|                }
  |  |10338|  5.88k|            }
  |  |10339|  5.88k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.88k|    { \
  |  |  |  |  201|  5.88k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.88k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.88k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.88k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  5.88k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.88k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.88k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.88k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.88k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.88k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.88k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.88k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.88k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.88k|    }
  |  |  ------------------
  |  |10340|  5.88k|        }
  |  |10341|       |
  |  |10342|     28|        TARGET(LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  132|     28|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10343|       |            #if _Py_TAIL_CALL_INTERP
  |  |10344|       |            int opcode = LOAD_SUPER_ATTR;
  |  |10345|       |            (void)(opcode);
  |  |10346|       |            #endif
  |  |10347|     28|            frame->instr_ptr = next_instr;
  |  |10348|     28|            next_instr += 2;
  |  |10349|     28|            INSTRUCTION_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   71|     28|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10350|     28|            PREDICTED_LOAD_SUPER_ATTR:;
  |  |10351|     28|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |10352|     28|            (void)this_instr;
  |  |10353|     28|            opcode = LOAD_SUPER_ATTR;
  |  |  ------------------
  |  |  |  |  105|     28|#define LOAD_SUPER_ATTR                         92
  |  |  ------------------
  |  |10354|     28|            _PyStackRef global_super_st;
  |  |10355|     28|            _PyStackRef class_st;
  |  |10356|     28|            _PyStackRef self_st;
  |  |10357|     28|            _PyStackRef attr;
  |  |10358|     28|            _PyStackRef *null;
  |  |10359|       |            // _SPECIALIZE_LOAD_SUPER_ATTR
  |  |10360|     28|            {
  |  |10361|     28|                class_st = stack_pointer[-2];
  |  |10362|     28|                global_super_st = stack_pointer[-3];
  |  |10363|     28|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |10364|     28|                (void)counter;
  |  |10365|     28|                #if ENABLE_SPECIALIZATION
  |  |10366|     28|                int load_method = oparg & 1;
  |  |10367|     28|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|     28|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 13, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10368|     13|                    next_instr = this_instr;
  |  |10369|     13|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10370|     13|                    _PyFrame_StackPointerValidate(frame);
  |  |10371|     13|                    _Py_Specialize_LoadSuperAttr(global_super_st, class_st, next_instr, load_method);
  |  |10372|     13|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10373|     13|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     13|    { \
  |  |  |  |  217|     13|        opcode = next_instr->op.code; \
  |  |  |  |  218|     13|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     13|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     13|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     13|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     13|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     13|    }
  |  |  ------------------
  |  |10374|     13|                }
  |  |10375|     28|                OPCODE_DEFERRED_INC(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   90|     28|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |10376|     28|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|     28|    do { \
  |  |  |  |  378|     28|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|     28|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10377|     28|                #endif  /* ENABLE_SPECIALIZATION */
  |  |10378|     28|            }
  |  |10379|       |            // _LOAD_SUPER_ATTR
  |  |10380|     28|            {
  |  |10381|     28|                self_st = stack_pointer[-1];
  |  |10382|     28|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10383|     28|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10384|     28|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10385|     28|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|     28|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (10385:21): [True: 0, False: 28]
  |  |  ------------------
  |  |10386|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (10386:37): [True: 0, False: 0]
  |  |  ------------------
  |  |10387|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10388|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |10389|      0|                    int err = _Py_call_instrumentation_2args(
  |  |10390|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  |10391|      0|                        frame, this_instr, global_super, arg);
  |  |10392|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10393|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (10393:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10394|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10394:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10395|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10396|      0|                        _PyStackRef tmp = self_st;
  |  |10397|      0|                        self_st = PyStackRef_NULL;
  |  |10398|      0|                        stack_pointer[-1] = self_st;
  |  |10399|      0|                        PyStackRef_CLOSE(tmp);
  |  |10400|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10401|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10401:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10402|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10403|      0|                        tmp = class_st;
  |  |10404|      0|                        class_st = PyStackRef_NULL;
  |  |10405|      0|                        stack_pointer[-2] = class_st;
  |  |10406|      0|                        PyStackRef_CLOSE(tmp);
  |  |10407|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10408|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10408:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10409|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10410|      0|                        tmp = global_super_st;
  |  |10411|      0|                        global_super_st = PyStackRef_NULL;
  |  |10412|      0|                        stack_pointer[-3] = global_super_st;
  |  |10413|      0|                        PyStackRef_CLOSE(tmp);
  |  |10414|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10415|      0|                        stack_pointer += -3;
  |  |10416|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10417|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10418|      0|                    }
  |  |10419|      0|                }
  |  |10420|     28|                PyObject *super;
  |  |10421|     28|                {
  |  |10422|     28|                    PyObject *stack[] = {class, self};
  |  |10423|     28|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10424|     28|                    _PyFrame_StackPointerValidate(frame);
  |  |10425|     28|                    super = PyObject_Vectorcall(global_super, stack, oparg & 2, NULL);
  |  |10426|     28|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10427|     28|                }
  |  |10428|     28|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|     28|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (10428:21): [True: 0, False: 28]
  |  |  ------------------
  |  |10429|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (10429:37): [True: 0, False: 0]
  |  |  ------------------
  |  |10430|      0|                    if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (10430:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10431|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10431:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10432|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10433|      0|                        _Py_call_instrumentation_exc2(
  |  |10434|      0|                            tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  |10435|      0|                            frame, this_instr, global_super, arg);
  |  |10436|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10437|      0|                    }
  |  |10438|      0|                    else {
  |  |10439|      0|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10439:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10440|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |10441|      0|                        int err = _Py_call_instrumentation_2args(
  |  |10442|      0|                            tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  |10443|      0|                            frame, this_instr, global_super, arg);
  |  |10444|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |10445|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (10445:29): [True: 0, False: 0]
  |  |  ------------------
  |  |10446|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10446:29): [True: 0, False: 0]
  |  |  ------------------
  |  |10447|      0|                            _PyFrame_StackPointerValidate(frame);
  |  |10448|      0|                            Py_CLEAR(super);
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10449|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  |10450|      0|                        }
  |  |10451|      0|                    }
  |  |10452|      0|                }
  |  |10453|     28|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10453:17): [True: 15, False: 13]
  |  |  ------------------
  |  |10454|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10455|     15|                _PyStackRef tmp = self_st;
  |  |10456|     15|                self_st = PyStackRef_NULL;
  |  |10457|     15|                stack_pointer[-1] = self_st;
  |  |10458|     15|                PyStackRef_CLOSE(tmp);
  |  |10459|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10460|     15|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10460:17): [True: 15, False: 0]
  |  |  ------------------
  |  |10461|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10462|     15|                tmp = class_st;
  |  |10463|     15|                class_st = PyStackRef_NULL;
  |  |10464|     15|                stack_pointer[-2] = class_st;
  |  |10465|     15|                PyStackRef_CLOSE(tmp);
  |  |10466|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10467|     15|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10467:17): [True: 15, False: 0]
  |  |  ------------------
  |  |10468|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10469|     15|                tmp = global_super_st;
  |  |10470|     15|                global_super_st = PyStackRef_NULL;
  |  |10471|     15|                stack_pointer[-3] = global_super_st;
  |  |10472|     15|                PyStackRef_CLOSE(tmp);
  |  |10473|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10474|     15|                stack_pointer += -3;
  |  |10475|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10476|     15|                if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (10476:21): [True: 0, False: 15]
  |  |  ------------------
  |  |10477|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10478|      0|                }
  |  |10479|     15|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|     15|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|     15|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|     15|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10479:34): [True: 15, False: 0]
  |  |  ------------------
  |  |10480|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10481|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10482|     15|                PyObject *attr_o = PyObject_GetAttr(super, name);
  |  |10483|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10484|     15|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10484:17): [True: 15, False: 0]
  |  |  ------------------
  |  |10485|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10486|     15|                Py_DECREF(super);
  |  |  ------------------
  |  |  |  |   80|     15|    do { \
  |  |  |  |   81|     15|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     15|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     15|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     15|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     15|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     15|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 15, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|     15|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|     15|    do { \
  |  |  |  |  |  |  110|     15|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|     15|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|     15|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     15|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|     15|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     15|            (*dealloc)(op); \
  |  |  |  |   91|     15|        } \
  |  |  |  |   92|     15|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10487|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10488|     15|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10488:21): [True: 0, False: 15]
  |  |  ------------------
  |  |10489|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10490|      0|                }
  |  |10491|     15|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10492|     15|            }
  |  |10493|       |            // _PUSH_NULL_CONDITIONAL
  |  |10494|      0|            {
  |  |10495|     15|                null = &stack_pointer[1];
  |  |10496|     15|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10496:21): [True: 9, False: 6]
  |  |  ------------------
  |  |10497|      9|                    null[0] = PyStackRef_NULL;
  |  |10498|      9|                }
  |  |10499|     15|            }
  |  |10500|     15|            stack_pointer[0] = attr;
  |  |10501|     15|            stack_pointer += 1 + (oparg & 1);
  |  |10502|     15|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10503|     15|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     15|    { \
  |  |  |  |  201|     15|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     15|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     15|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     15|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     15|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     15|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     15|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     15|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     15|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     15|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     15|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     15|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     15|    }
  |  |  ------------------
  |  |10504|     15|        }
  |  |10505|       |
  |  |10506|     78|        TARGET(LOAD_SUPER_ATTR_ATTR) {
  |  |  ------------------
  |  |  |  |  132|     78|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10507|       |            #if _Py_TAIL_CALL_INTERP
  |  |10508|       |            int opcode = LOAD_SUPER_ATTR_ATTR;
  |  |10509|       |            (void)(opcode);
  |  |10510|       |            #endif
  |  |10511|     78|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10512|     78|            (void)this_instr;
  |  |10513|     78|            frame->instr_ptr = next_instr;
  |  |10514|     78|            next_instr += 2;
  |  |10515|     78|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_ATTR);
  |  |  ------------------
  |  |  |  |   71|     78|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10516|     78|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10517|     78|            _PyStackRef global_super_st;
  |  |10518|     78|            _PyStackRef class_st;
  |  |10519|     78|            _PyStackRef self_st;
  |  |10520|     78|            _PyStackRef attr_st;
  |  |10521|       |            /* Skip 1 cache entry */
  |  |10522|     78|            self_st = stack_pointer[-1];
  |  |10523|     78|            class_st = stack_pointer[-2];
  |  |10524|     78|            global_super_st = stack_pointer[-3];
  |  |10525|     78|            PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10526|     78|            PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10527|     78|            PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10528|     78|            assert(!(oparg & 1));
  |  |  ------------------
  |  |  |  Branch (10528:13): [True: 78, False: 0]
  |  |  ------------------
  |  |10529|     78|            if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10529:17): [True: 0, False: 78]
  |  |  ------------------
  |  |10530|      0|                UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10531|      0|                assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10531:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10532|      0|                JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10533|      0|            }
  |  |10534|     78|            if (!PyType_Check(class)) {
  |  |  ------------------
  |  |  |  |  766|     78|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10534:17): [True: 0, False: 78]
  |  |  ------------------
  |  |10535|      0|                UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10536|      0|                assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10536:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10537|      0|                JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10538|      0|            }
  |  |10539|     78|            STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     78|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10540|     78|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|     78|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|     78|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|     78|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10540:30): [True: 78, False: 0]
  |  |  ------------------
  |  |10541|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10542|     78|            _PyFrame_StackPointerValidate(frame);
  |  |10543|     78|            PyObject *attr = _PySuper_Lookup((PyTypeObject *)class, self, name, NULL);
  |  |10544|     78|            _PyFrame_StackPointerInvalidate(frame);
  |  |10545|     78|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10545:13): [True: 78, False: 0]
  |  |  ------------------
  |  |10546|     78|            _PyFrame_StackPointerValidate(frame);
  |  |10547|     78|            _PyStackRef tmp = self_st;
  |  |10548|     78|            self_st = PyStackRef_NULL;
  |  |10549|     78|            stack_pointer[-1] = self_st;
  |  |10550|     78|            PyStackRef_CLOSE(tmp);
  |  |10551|     78|            _PyFrame_StackPointerInvalidate(frame);
  |  |10552|     78|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10552:13): [True: 78, False: 0]
  |  |  ------------------
  |  |10553|     78|            _PyFrame_StackPointerValidate(frame);
  |  |10554|     78|            tmp = class_st;
  |  |10555|     78|            class_st = PyStackRef_NULL;
  |  |10556|     78|            stack_pointer[-2] = class_st;
  |  |10557|     78|            PyStackRef_CLOSE(tmp);
  |  |10558|     78|            _PyFrame_StackPointerInvalidate(frame);
  |  |10559|     78|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10559:13): [True: 78, False: 0]
  |  |  ------------------
  |  |10560|     78|            _PyFrame_StackPointerValidate(frame);
  |  |10561|     78|            tmp = global_super_st;
  |  |10562|     78|            global_super_st = PyStackRef_NULL;
  |  |10563|     78|            stack_pointer[-3] = global_super_st;
  |  |10564|     78|            PyStackRef_CLOSE(tmp);
  |  |10565|     78|            _PyFrame_StackPointerInvalidate(frame);
  |  |10566|     78|            stack_pointer += -3;
  |  |10567|     78|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     78|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10568|     78|            if (attr == NULL) {
  |  |  ------------------
  |  |  |  Branch (10568:17): [True: 0, False: 78]
  |  |  ------------------
  |  |10569|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10570|      0|            }
  |  |10571|     78|            attr_st = PyStackRef_FromPyObjectSteal(attr);
  |  |10572|     78|            stack_pointer[0] = attr_st;
  |  |10573|     78|            stack_pointer += 1;
  |  |10574|     78|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     78|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10575|     78|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     78|    { \
  |  |  |  |  201|     78|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     78|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     78|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     78|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     78|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     78|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     78|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     78|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 78]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     78|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     78|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     78|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     78|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     78|    }
  |  |  ------------------
  |  |10576|     78|        }
  |  |10577|       |
  |  |10578|  1.30k|        TARGET(LOAD_SUPER_ATTR_METHOD) {
  |  |  ------------------
  |  |  |  |  132|  1.30k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10579|       |            #if _Py_TAIL_CALL_INTERP
  |  |10580|       |            int opcode = LOAD_SUPER_ATTR_METHOD;
  |  |10581|       |            (void)(opcode);
  |  |10582|       |            #endif
  |  |10583|  1.30k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10584|  1.30k|            (void)this_instr;
  |  |10585|  1.30k|            frame->instr_ptr = next_instr;
  |  |10586|  1.30k|            next_instr += 2;
  |  |10587|  1.30k|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_METHOD);
  |  |  ------------------
  |  |  |  |   71|  1.30k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10588|  1.30k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10589|  1.30k|            _PyStackRef global_super_st;
  |  |10590|  1.30k|            _PyStackRef class_st;
  |  |10591|  1.30k|            _PyStackRef self_st;
  |  |10592|  1.30k|            _PyStackRef attr;
  |  |10593|  1.30k|            _PyStackRef self_or_null;
  |  |10594|       |            /* Skip 1 cache entry */
  |  |10595|       |            // _GUARD_LOAD_SUPER_ATTR_METHOD
  |  |10596|  1.30k|            {
  |  |10597|  1.30k|                class_st = stack_pointer[-2];
  |  |10598|  1.30k|                global_super_st = stack_pointer[-3];
  |  |10599|  1.30k|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10600|  1.30k|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10601|  1.30k|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (10601:17): [True: 1.30k, False: 0]
  |  |  ------------------
  |  |10602|  1.30k|                if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10602:21): [True: 0, False: 1.30k]
  |  |  ------------------
  |  |10603|      0|                    UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10604|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10604:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10605|      0|                    JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10606|      0|                }
  |  |10607|  1.30k|                if (!PyType_Check(class)) {
  |  |  ------------------
  |  |  |  |  766|  1.30k|#  define PyType_Check(op) PyType_Check(_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 (10607:21): [True: 0, False: 1.30k]
  |  |  ------------------
  |  |10608|      0|                    UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10609|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |  ------------------
  |  |  |  Branch (10609:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10610|      0|                    JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10611|      0|                }
  |  |10612|  1.30k|            }
  |  |10613|       |            // _LOAD_SUPER_ATTR_METHOD
  |  |10614|  1.30k|            {
  |  |10615|  1.30k|                self_st = stack_pointer[-1];
  |  |10616|  1.30k|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10617|  1.30k|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10618|  1.30k|                STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  1.30k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10619|  1.30k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|  1.30k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.30k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.30k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10619:34): [True: 1.30k, False: 0]
  |  |  ------------------
  |  |10620|      0|                PyTypeObject *cls = (PyTypeObject *)class;
  |  |10621|  1.30k|                int method_found = 0;
  |  |10622|  1.30k|                PyObject *attr_o;
  |  |10623|  1.30k|                {
  |  |10624|  1.30k|                    int *method_found_ptr = &method_found;
  |  |10625|  1.30k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10626|  1.30k|                    _PyFrame_StackPointerValidate(frame);
  |  |10627|  1.30k|                    attr_o = _PySuper_Lookup(cls, self, name,
  |  |10628|  1.30k|                        Py_TYPE(self)->tp_getattro == PyObject_GenericGetAttr ? method_found_ptr : NULL);
  |  |  ------------------
  |  |  |  |  213|  1.30k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10628:25): [True: 590, False: 717]
  |  |  ------------------
  |  |10629|  1.30k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10630|  1.30k|                }
  |  |10631|  1.30k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10631:21): [True: 0, False: 1.30k]
  |  |  ------------------
  |  |10632|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10633|      0|                }
  |  |10634|  1.30k|                if (method_found) {
  |  |  ------------------
  |  |  |  Branch (10634:21): [True: 590, False: 717]
  |  |  ------------------
  |  |10635|    590|                    self_or_null = self_st;
  |  |10636|    717|                } else {
  |  |10637|    717|                    stack_pointer += -1;
  |  |10638|    717|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    717|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10639|    717|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10640|    717|                    _PyFrame_StackPointerValidate(frame);
  |  |10641|    717|                    PyStackRef_CLOSE(self_st);
  |  |10642|    717|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10643|    717|                    self_or_null = PyStackRef_NULL;
  |  |10644|    717|                    stack_pointer += 1;
  |  |10645|    717|                }
  |  |10646|  1.30k|                stack_pointer += -1;
  |  |10647|  1.30k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.30k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10648|  1.30k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10649|  1.30k|                _PyFrame_StackPointerValidate(frame);
  |  |10650|  1.30k|                _PyStackRef tmp = global_super_st;
  |  |10651|  1.30k|                global_super_st = self_or_null;
  |  |10652|  1.30k|                stack_pointer[-2] = global_super_st;
  |  |10653|  1.30k|                PyStackRef_CLOSE(tmp);
  |  |10654|  1.30k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10655|  1.30k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10655:17): [True: 1.30k, False: 0]
  |  |  ------------------
  |  |10656|  1.30k|                _PyFrame_StackPointerValidate(frame);
  |  |10657|  1.30k|                tmp = class_st;
  |  |10658|  1.30k|                class_st = PyStackRef_NULL;
  |  |10659|  1.30k|                stack_pointer[-1] = class_st;
  |  |10660|  1.30k|                PyStackRef_CLOSE(tmp);
  |  |10661|  1.30k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10662|  1.30k|                stack_pointer += -2;
  |  |10663|  1.30k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.30k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10664|  1.30k|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10665|  1.30k|            }
  |  |10666|      0|            stack_pointer[0] = attr;
  |  |10667|  1.30k|            stack_pointer[1] = self_or_null;
  |  |10668|  1.30k|            stack_pointer += 2;
  |  |10669|  1.30k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.30k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10670|  1.30k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.30k|    { \
  |  |  |  |  201|  1.30k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.30k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.30k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.30k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.30k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.30k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.30k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.30k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.30k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.30k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.30k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.30k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.30k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.30k|    }
  |  |  ------------------
  |  |10671|  1.30k|        }
  |  |10672|       |
  |  |10673|    981|        TARGET(MAKE_CELL) {
  |  |  ------------------
  |  |  |  |  132|    981|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10674|       |            #if _Py_TAIL_CALL_INTERP
  |  |10675|       |            int opcode = MAKE_CELL;
  |  |10676|       |            (void)(opcode);
  |  |10677|       |            #endif
  |  |10678|    981|            frame->instr_ptr = next_instr;
  |  |10679|    981|            next_instr += 1;
  |  |10680|    981|            INSTRUCTION_STATS(MAKE_CELL);
  |  |  ------------------
  |  |  |  |   71|    981|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10681|    981|            PyObject *initial = PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|    981|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10682|    981|            PyObject *cell = PyCell_New(initial);
  |  |10683|    981|            if (cell == NULL) {
  |  |  ------------------
  |  |  |  Branch (10683:17): [True: 0, False: 981]
  |  |  ------------------
  |  |10684|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10685|      0|            }
  |  |10686|    981|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|    981|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10687|    981|            GETLOCAL(oparg) = PyStackRef_FromPyObjectSteal(cell);
  |  |  ------------------
  |  |  |  |  285|    981|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10688|    981|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10689|    981|            _PyFrame_StackPointerValidate(frame);
  |  |10690|    981|            PyStackRef_XCLOSE(tmp);
  |  |10691|    981|            _PyFrame_StackPointerInvalidate(frame);
  |  |10692|    981|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    981|    { \
  |  |  |  |  201|    981|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    981|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    981|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    981|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    981|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    981|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    981|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    981|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 981]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    981|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    981|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    981|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    981|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    981|    }
  |  |  ------------------
  |  |10693|    981|        }
  |  |10694|       |
  |  |10695|  3.98k|        TARGET(MAKE_FUNCTION) {
  |  |  ------------------
  |  |  |  |  132|  3.98k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10696|       |            #if _Py_TAIL_CALL_INTERP
  |  |10697|       |            int opcode = MAKE_FUNCTION;
  |  |10698|       |            (void)(opcode);
  |  |10699|       |            #endif
  |  |10700|  3.98k|            frame->instr_ptr = next_instr;
  |  |10701|  3.98k|            next_instr += 1;
  |  |10702|  3.98k|            INSTRUCTION_STATS(MAKE_FUNCTION);
  |  |  ------------------
  |  |  |  |   71|  3.98k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10703|  3.98k|            _PyStackRef codeobj_st;
  |  |10704|  3.98k|            _PyStackRef func;
  |  |10705|  3.98k|            _PyStackRef co;
  |  |10706|  3.98k|            _PyStackRef value;
  |  |10707|       |            // _MAKE_FUNCTION
  |  |10708|  3.98k|            {
  |  |10709|  3.98k|                codeobj_st = stack_pointer[-1];
  |  |10710|  3.98k|                PyObject *codeobj = PyStackRef_AsPyObjectBorrow(codeobj_st);
  |  |10711|  3.98k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10712|  3.98k|                _PyFrame_StackPointerValidate(frame);
  |  |10713|  3.98k|                PyFunctionObject *func_obj = (PyFunctionObject *)
  |  |10714|  3.98k|                PyFunction_New(codeobj, GLOBALS());
  |  |  ------------------
  |  |  |  |  326|  3.98k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10715|  3.98k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10716|  3.98k|                if (func_obj == NULL) {
  |  |  ------------------
  |  |  |  Branch (10716:21): [True: 0, False: 3.98k]
  |  |  ------------------
  |  |10717|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10718|      0|                }
  |  |10719|  3.98k|                co = codeobj_st;
  |  |10720|  3.98k|                _PyFunction_SetVersion(
  |  |10721|  3.98k|                                   func_obj, ((PyCodeObject *)codeobj)->co_version);
  |  |10722|  3.98k|                func = PyStackRef_FromPyObjectSteal((PyObject *)func_obj);
  |  |10723|  3.98k|            }
  |  |10724|       |            // _POP_TOP
  |  |10725|      0|            {
  |  |10726|  3.98k|                value = co;
  |  |10727|  3.98k|                stack_pointer[-1] = func;
  |  |10728|  3.98k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10728:17): [True: 3.98k, False: 0]
  |  |  ------------------
  |  |10729|  3.98k|                _PyFrame_StackPointerValidate(frame);
  |  |10730|  3.98k|                PyStackRef_XCLOSE(value);
  |  |10731|  3.98k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10732|  3.98k|            }
  |  |10733|  3.98k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.98k|    { \
  |  |  |  |  201|  3.98k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.98k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.98k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.98k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.98k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.98k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.98k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.98k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.98k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.98k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.98k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.98k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.98k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.98k|    }
  |  |  ------------------
  |  |10734|  3.98k|        }
  |  |10735|       |
  |  |10736|  11.6k|        TARGET(MAP_ADD) {
  |  |  ------------------
  |  |  |  |  132|  11.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10737|       |            #if _Py_TAIL_CALL_INTERP
  |  |10738|       |            int opcode = MAP_ADD;
  |  |10739|       |            (void)(opcode);
  |  |10740|       |            #endif
  |  |10741|  11.6k|            frame->instr_ptr = next_instr;
  |  |10742|  11.6k|            next_instr += 1;
  |  |10743|  11.6k|            INSTRUCTION_STATS(MAP_ADD);
  |  |  ------------------
  |  |  |  |   71|  11.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10744|  11.6k|            _PyStackRef dict_st;
  |  |10745|  11.6k|            _PyStackRef key;
  |  |10746|  11.6k|            _PyStackRef value;
  |  |10747|  11.6k|            value = stack_pointer[-1];
  |  |10748|  11.6k|            key = stack_pointer[-2];
  |  |10749|  11.6k|            dict_st = stack_pointer[-3 - (oparg - 1)];
  |  |10750|  11.6k|            PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |10751|  11.6k|            assert(PyDict_CheckExact(dict));
  |  |  ------------------
  |  |  |  Branch (10751:13): [True: 11.6k, False: 0]
  |  |  ------------------
  |  |10752|  11.6k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10753|  11.6k|            _PyFrame_StackPointerValidate(frame);
  |  |10754|  11.6k|            int err = _PyDict_SetItem_Take2(
  |  |10755|  11.6k|                (PyDictObject *)dict,
  |  |10756|  11.6k|                PyStackRef_AsPyObjectSteal(key),
  |  |10757|  11.6k|                PyStackRef_AsPyObjectSteal(value)
  |  |10758|  11.6k|            );
  |  |10759|  11.6k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10760|  11.6k|            if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (10760:17): [True: 0, False: 11.6k]
  |  |  ------------------
  |  |10761|      0|                JUMP_TO_LABEL(pop_2_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10762|      0|            }
  |  |10763|  11.6k|            stack_pointer += -2;
  |  |10764|  11.6k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  11.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10765|  11.6k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.6k|    { \
  |  |  |  |  201|  11.6k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  11.6k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  11.6k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  11.6k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  11.6k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  11.6k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  11.6k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  11.6k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 11.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  11.6k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.6k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  11.6k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  11.6k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  11.6k|    }
  |  |  ------------------
  |  |10766|  11.6k|        }
  |  |10767|       |
  |  |10768|      0|        TARGET(MATCH_CLASS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10769|       |            #if _Py_TAIL_CALL_INTERP
  |  |10770|       |            int opcode = MATCH_CLASS;
  |  |10771|       |            (void)(opcode);
  |  |10772|       |            #endif
  |  |10773|      0|            frame->instr_ptr = next_instr;
  |  |10774|      0|            next_instr += 1;
  |  |10775|      0|            INSTRUCTION_STATS(MATCH_CLASS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10776|      0|            _PyStackRef subject;
  |  |10777|      0|            _PyStackRef type;
  |  |10778|      0|            _PyStackRef names;
  |  |10779|      0|            _PyStackRef attrs;
  |  |10780|      0|            _PyStackRef s;
  |  |10781|      0|            _PyStackRef tp;
  |  |10782|      0|            _PyStackRef n;
  |  |10783|      0|            _PyStackRef value;
  |  |10784|       |            // _MATCH_CLASS
  |  |10785|      0|            {
  |  |10786|      0|                names = stack_pointer[-1];
  |  |10787|      0|                type = stack_pointer[-2];
  |  |10788|      0|                subject = stack_pointer[-3];
  |  |10789|      0|                assert(PyTuple_CheckExact(PyStackRef_AsPyObjectBorrow(names)));
  |  |  ------------------
  |  |  |  Branch (10789:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10790|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10791|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10792|      0|                PyObject *attrs_o = _PyEval_MatchClass(tstate,
  |  |10793|      0|                    PyStackRef_AsPyObjectBorrow(subject),
  |  |10794|      0|                    PyStackRef_AsPyObjectBorrow(type), oparg,
  |  |10795|      0|                    PyStackRef_AsPyObjectBorrow(names));
  |  |10796|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10797|      0|                if (attrs_o) {
  |  |  ------------------
  |  |  |  Branch (10797:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10798|      0|                    assert(PyTuple_CheckExact(attrs_o));
  |  |  ------------------
  |  |  |  Branch (10798:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10799|      0|                    attrs = PyStackRef_FromPyObjectSteal(attrs_o);
  |  |10800|      0|                }
  |  |10801|      0|                else {
  |  |10802|      0|                    if (_PyErr_Occurred(tstate)) {
  |  |  ------------------
  |  |  |  Branch (10802:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10803|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10804|      0|                    }
  |  |10805|      0|                    attrs = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|      0|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10806|      0|                }
  |  |10807|      0|                s = subject;
  |  |10808|      0|                tp = type;
  |  |10809|      0|                n = names;
  |  |10810|      0|            }
  |  |10811|       |            // _POP_TOP
  |  |10812|      0|            {
  |  |10813|      0|                value = n;
  |  |10814|      0|                stack_pointer[-3] = attrs;
  |  |10815|      0|                stack_pointer[-2] = s;
  |  |10816|      0|                stack_pointer[-1] = tp;
  |  |10817|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10817:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10818|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10819|      0|                PyStackRef_XCLOSE(value);
  |  |10820|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10821|      0|            }
  |  |10822|       |            // _POP_TOP
  |  |10823|      0|            {
  |  |10824|      0|                value = tp;
  |  |10825|      0|                stack_pointer += -1;
  |  |10826|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10827|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10828|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10829|      0|                PyStackRef_XCLOSE(value);
  |  |10830|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10831|      0|            }
  |  |10832|       |            // _POP_TOP
  |  |10833|      0|            {
  |  |10834|      0|                value = s;
  |  |10835|      0|                stack_pointer += -1;
  |  |10836|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10837|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10838|      0|                _PyFrame_StackPointerValidate(frame);
  |  |10839|      0|                PyStackRef_XCLOSE(value);
  |  |10840|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10841|      0|            }
  |  |10842|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10843|      0|        }
  |  |10844|       |
  |  |10845|      0|        TARGET(MATCH_KEYS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10846|       |            #if _Py_TAIL_CALL_INTERP
  |  |10847|       |            int opcode = MATCH_KEYS;
  |  |10848|       |            (void)(opcode);
  |  |10849|       |            #endif
  |  |10850|      0|            frame->instr_ptr = next_instr;
  |  |10851|      0|            next_instr += 1;
  |  |10852|      0|            INSTRUCTION_STATS(MATCH_KEYS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10853|      0|            _PyStackRef subject;
  |  |10854|      0|            _PyStackRef keys;
  |  |10855|      0|            _PyStackRef values_or_none;
  |  |10856|      0|            keys = stack_pointer[-1];
  |  |10857|      0|            subject = stack_pointer[-2];
  |  |10858|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10859|      0|            _PyFrame_StackPointerValidate(frame);
  |  |10860|      0|            PyObject *values_or_none_o = _PyEval_MatchKeys(tstate,
  |  |10861|      0|                PyStackRef_AsPyObjectBorrow(subject), PyStackRef_AsPyObjectBorrow(keys));
  |  |10862|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |10863|      0|            if (values_or_none_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10863:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10864|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10865|      0|            }
  |  |10866|      0|            values_or_none = PyStackRef_FromPyObjectSteal(values_or_none_o);
  |  |10867|      0|            stack_pointer[0] = values_or_none;
  |  |10868|      0|            stack_pointer += 1;
  |  |10869|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10870|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10871|      0|        }
  |  |10872|       |
  |  |10873|      0|        TARGET(MATCH_MAPPING) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10874|       |            #if _Py_TAIL_CALL_INTERP
  |  |10875|       |            int opcode = MATCH_MAPPING;
  |  |10876|       |            (void)(opcode);
  |  |10877|       |            #endif
  |  |10878|      0|            frame->instr_ptr = next_instr;
  |  |10879|      0|            next_instr += 1;
  |  |10880|      0|            INSTRUCTION_STATS(MATCH_MAPPING);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10881|      0|            _PyStackRef subject;
  |  |10882|      0|            _PyStackRef res;
  |  |10883|      0|            subject = stack_pointer[-1];
  |  |10884|      0|            int match = PyStackRef_TYPE(subject)->tp_flags & Py_TPFLAGS_MAPPING;
  |  |  ------------------
  |  |  |  |  492|      0|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  |  |10885|      0|            res = match ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|      0|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           res = match ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|      0|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10885:19): [True: 0, False: 0]
  |  |  ------------------
  |  |10886|      0|            stack_pointer[0] = res;
  |  |10887|      0|            stack_pointer += 1;
  |  |10888|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10889|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10890|      0|        }
  |  |10891|       |
  |  |10892|      0|        TARGET(MATCH_SEQUENCE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10893|       |            #if _Py_TAIL_CALL_INTERP
  |  |10894|       |            int opcode = MATCH_SEQUENCE;
  |  |10895|       |            (void)(opcode);
  |  |10896|       |            #endif
  |  |10897|      0|            frame->instr_ptr = next_instr;
  |  |10898|      0|            next_instr += 1;
  |  |10899|      0|            INSTRUCTION_STATS(MATCH_SEQUENCE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10900|      0|            _PyStackRef subject;
  |  |10901|      0|            _PyStackRef res;
  |  |10902|      0|            subject = stack_pointer[-1];
  |  |10903|      0|            int match = PyStackRef_TYPE(subject)->tp_flags & Py_TPFLAGS_SEQUENCE;
  |  |  ------------------
  |  |  |  |  490|      0|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |10904|      0|            res = match ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|      0|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           res = match ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|      0|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10904:19): [True: 0, False: 0]
  |  |  ------------------
  |  |10905|      0|            stack_pointer[0] = res;
  |  |10906|      0|            stack_pointer += 1;
  |  |10907|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10908|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10909|      0|        }
  |  |10910|       |
  |  |10911|  15.9k|        TARGET(NOP) {
  |  |  ------------------
  |  |  |  |  132|  15.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10912|       |            #if _Py_TAIL_CALL_INTERP
  |  |10913|       |            int opcode = NOP;
  |  |10914|       |            (void)(opcode);
  |  |10915|       |            #endif
  |  |10916|  15.9k|            frame->instr_ptr = next_instr;
  |  |10917|  15.9k|            next_instr += 1;
  |  |10918|  15.9k|            INSTRUCTION_STATS(NOP);
  |  |  ------------------
  |  |  |  |   71|  15.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10919|  15.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  15.9k|    { \
  |  |  |  |  201|  15.9k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  15.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  15.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  15.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  15.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  15.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  15.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  15.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 15.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  15.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  15.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  15.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  15.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  15.9k|    }
  |  |  ------------------
  |  |10920|  15.9k|        }
  |  |10921|       |
  |  |10922|  15.9k|        TARGET(NOT_TAKEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10923|       |            #if _Py_TAIL_CALL_INTERP
  |  |10924|       |            int opcode = NOT_TAKEN;
  |  |10925|       |            (void)(opcode);
  |  |10926|       |            #endif
  |  |10927|      0|            frame->instr_ptr = next_instr;
  |  |10928|      0|            next_instr += 1;
  |  |10929|      0|            INSTRUCTION_STATS(NOT_TAKEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10930|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |10931|      0|        }
  |  |10932|       |
  |  |10933|  2.58k|        TARGET(POP_EXCEPT) {
  |  |  ------------------
  |  |  |  |  132|  2.58k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10934|       |            #if _Py_TAIL_CALL_INTERP
  |  |10935|       |            int opcode = POP_EXCEPT;
  |  |10936|       |            (void)(opcode);
  |  |10937|       |            #endif
  |  |10938|  2.58k|            frame->instr_ptr = next_instr;
  |  |10939|  2.58k|            next_instr += 1;
  |  |10940|  2.58k|            INSTRUCTION_STATS(POP_EXCEPT);
  |  |  ------------------
  |  |  |  |   71|  2.58k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10941|  2.58k|            _PyStackRef exc_value;
  |  |10942|  2.58k|            exc_value = stack_pointer[-1];
  |  |10943|  2.58k|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |10944|  2.58k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10945|  2.58k|            _PyFrame_StackPointerValidate(frame);
  |  |10946|  2.58k|            Py_XSETREF(exc_info->exc_value,
  |  |  ------------------
  |  |  |  |  576|  2.58k|    do { \
  |  |  |  |  577|  2.58k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|  2.58k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  578|  2.58k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|  2.58k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  579|  5.16k|        *_tmp_dst_ptr = (src); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (579:26): [True: 2.56k, False: 19]
  |  |  |  |  ------------------
  |  |  |  |  580|  2.58k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|  2.58k|    do { \
  |  |  |  |  |  |   70|  2.58k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   71|  2.58k|        if (xop != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (71:13): [True: 2.58k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   72|  2.58k|            Py_DECREF(xop); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|  2.58k|    do { \
  |  |  |  |  |  |  |  |   81|  2.58k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  2.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  2.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|  2.58k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  137|  2.58k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  171|  2.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   37|  2.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 2.58k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |  |  |   86|  2.58k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   20|  2.58k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   87|  2.58k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (87:13): [True: 2.25k, False: 331]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|  2.25k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  109|  2.25k|    do { \
  |  |  |  |  |  |  |  |  |  |  110|  2.25k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  |  |  111|  2.25k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 2.25k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  |  |  115|  2.25k|    } while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 2.25k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   89|  2.25k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  213|  2.25k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  171|  2.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   37|  2.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   90|  2.25k|            (*dealloc)(op); \
  |  |  |  |  |  |  |  |   91|  2.25k|        } \
  |  |  |  |  |  |  |  |   92|  2.58k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 2.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   73|  2.58k|        } \
  |  |  |  |  |  |   74|  2.58k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (74:14): [Folded, False: 2.58k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|  2.58k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (581:14): [Folded, False: 2.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10947|  2.58k|                       PyStackRef_IsNone(exc_value)
  |  |10948|  2.58k|                       ? NULL : PyStackRef_AsPyObjectSteal(exc_value));
  |  |10949|  2.58k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10950|  2.58k|            stack_pointer += -1;
  |  |10951|  2.58k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.58k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10952|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  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|    }
  |  |  ------------------
  |  |10953|  2.58k|        }
  |  |10954|       |
  |  |10955|  5.89k|        TARGET(POP_ITER) {
  |  |  ------------------
  |  |  |  |  132|  5.89k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10956|       |            #if _Py_TAIL_CALL_INTERP
  |  |10957|       |            int opcode = POP_ITER;
  |  |10958|       |            (void)(opcode);
  |  |10959|       |            #endif
  |  |10960|  5.89k|            frame->instr_ptr = next_instr;
  |  |10961|  5.89k|            next_instr += 1;
  |  |10962|  5.89k|            INSTRUCTION_STATS(POP_ITER);
  |  |  ------------------
  |  |  |  |   71|  5.89k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10963|  5.89k|            _PyStackRef iter;
  |  |10964|  5.89k|            _PyStackRef index_or_null;
  |  |10965|  5.89k|            index_or_null = stack_pointer[-1];
  |  |10966|  5.89k|            iter = stack_pointer[-2];
  |  |10967|  5.89k|            (void)index_or_null;
  |  |10968|  5.89k|            stack_pointer += -2;
  |  |10969|  5.89k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.89k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10970|  5.89k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10971|  5.89k|            _PyFrame_StackPointerValidate(frame);
  |  |10972|  5.89k|            PyStackRef_CLOSE(iter);
  |  |10973|  5.89k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10974|  5.89k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.89k|    { \
  |  |  |  |  201|  5.89k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.89k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.89k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.89k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  5.89k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.89k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.89k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.89k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.89k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.89k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.89k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.89k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.89k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.89k|    }
  |  |  ------------------
  |  |10975|  5.89k|        }
  |  |10976|       |
  |  |10977|  25.3k|        TARGET(POP_JUMP_IF_FALSE) {
  |  |  ------------------
  |  |  |  |  132|  25.3k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10978|       |            #if _Py_TAIL_CALL_INTERP
  |  |10979|       |            int opcode = POP_JUMP_IF_FALSE;
  |  |10980|       |            (void)(opcode);
  |  |10981|       |            #endif
  |  |10982|  25.3k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10983|  25.3k|            (void)this_instr;
  |  |10984|  25.3k|            frame->instr_ptr = next_instr;
  |  |10985|  25.3k|            next_instr += 2;
  |  |10986|  25.3k|            INSTRUCTION_STATS(POP_JUMP_IF_FALSE);
  |  |  ------------------
  |  |  |  |   71|  25.3k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10987|  25.3k|            _PyStackRef cond;
  |  |10988|       |            /* Skip 1 cache entry */
  |  |10989|  25.3k|            cond = stack_pointer[-1];
  |  |10990|  25.3k|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (10990:13): [True: 25.3k, False: 0]
  |  |  ------------------
  |  |10991|  25.3k|            int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|  25.3k|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  25.3k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10992|  25.3k|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|  25.3k|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  25.3k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|  25.3k|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |10993|  25.3k|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  50.7k|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 17.6k, False: 7.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10994|  25.3k|            stack_pointer += -1;
  |  |10995|  25.3k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  25.3k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10996|  25.3k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  25.3k|    { \
  |  |  |  |  201|  25.3k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  25.3k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  25.3k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  25.3k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  25.3k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  25.3k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  25.3k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  25.3k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 25.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  25.3k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  25.3k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  25.3k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  25.3k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  25.3k|    }
  |  |  ------------------
  |  |10997|  25.3k|        }
  |  |10998|       |
  |  |10999|  3.09k|        TARGET(POP_JUMP_IF_NONE) {
  |  |  ------------------
  |  |  |  |  132|  3.09k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11000|       |            #if _Py_TAIL_CALL_INTERP
  |  |11001|       |            int opcode = POP_JUMP_IF_NONE;
  |  |11002|       |            (void)(opcode);
  |  |11003|       |            #endif
  |  |11004|  3.09k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11005|  3.09k|            (void)this_instr;
  |  |11006|  3.09k|            frame->instr_ptr = next_instr;
  |  |11007|  3.09k|            next_instr += 2;
  |  |11008|  3.09k|            INSTRUCTION_STATS(POP_JUMP_IF_NONE);
  |  |  ------------------
  |  |  |  |   71|  3.09k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11009|  3.09k|            _PyStackRef value;
  |  |11010|  3.09k|            _PyStackRef b;
  |  |11011|  3.09k|            _PyStackRef cond;
  |  |11012|       |            /* Skip 1 cache entry */
  |  |11013|       |            // _IS_NONE
  |  |11014|  3.09k|            {
  |  |11015|  3.09k|                value = stack_pointer[-1];
  |  |11016|  3.09k|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|  3.09k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.09k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 1.97k, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11017|  1.97k|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  1.97k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.97k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11018|  1.97k|                }
  |  |11019|  1.12k|                else {
  |  |11020|  1.12k|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  1.12k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.12k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11021|  1.12k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11022|  1.12k|                    _PyFrame_StackPointerValidate(frame);
  |  |11023|  1.12k|                    _PyStackRef tmp = value;
  |  |11024|  1.12k|                    value = b;
  |  |11025|  1.12k|                    stack_pointer[-1] = value;
  |  |11026|  1.12k|                    PyStackRef_CLOSE(tmp);
  |  |11027|  1.12k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11028|  1.12k|                }
  |  |11029|  3.09k|            }
  |  |11030|       |            // _POP_JUMP_IF_TRUE
  |  |11031|  3.09k|            {
  |  |11032|  3.09k|                cond = b;
  |  |11033|  3.09k|                assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11033:17): [True: 3.09k, False: 0]
  |  |  ------------------
  |  |11034|  3.09k|                int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|  3.09k|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.09k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11035|  3.09k|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|  3.09k|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  3.09k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|  3.09k|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11036|  3.09k|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  6.19k|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 1.97k, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11037|  3.09k|            }
  |  |11038|      0|            stack_pointer += -1;
  |  |11039|  3.09k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.09k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11040|  3.09k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.09k|    { \
  |  |  |  |  201|  3.09k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.09k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.09k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.09k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.09k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.09k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.09k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.09k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.09k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.09k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.09k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.09k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.09k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.09k|    }
  |  |  ------------------
  |  |11041|  3.09k|        }
  |  |11042|       |
  |  |11043|  9.35k|        TARGET(POP_JUMP_IF_NOT_NONE) {
  |  |  ------------------
  |  |  |  |  132|  9.35k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11044|       |            #if _Py_TAIL_CALL_INTERP
  |  |11045|       |            int opcode = POP_JUMP_IF_NOT_NONE;
  |  |11046|       |            (void)(opcode);
  |  |11047|       |            #endif
  |  |11048|  9.35k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11049|  9.35k|            (void)this_instr;
  |  |11050|  9.35k|            frame->instr_ptr = next_instr;
  |  |11051|  9.35k|            next_instr += 2;
  |  |11052|  9.35k|            INSTRUCTION_STATS(POP_JUMP_IF_NOT_NONE);
  |  |  ------------------
  |  |  |  |   71|  9.35k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11053|  9.35k|            _PyStackRef value;
  |  |11054|  9.35k|            _PyStackRef b;
  |  |11055|  9.35k|            _PyStackRef cond;
  |  |11056|       |            /* Skip 1 cache entry */
  |  |11057|       |            // _IS_NONE
  |  |11058|  9.35k|            {
  |  |11059|  9.35k|                value = stack_pointer[-1];
  |  |11060|  9.35k|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|  9.35k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  9.35k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 5.13k, False: 4.22k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11061|  5.13k|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  5.13k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.13k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11062|  5.13k|                }
  |  |11063|  4.22k|                else {
  |  |11064|  4.22k|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  4.22k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.22k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11065|  4.22k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11066|  4.22k|                    _PyFrame_StackPointerValidate(frame);
  |  |11067|  4.22k|                    _PyStackRef tmp = value;
  |  |11068|  4.22k|                    value = b;
  |  |11069|  4.22k|                    stack_pointer[-1] = value;
  |  |11070|  4.22k|                    PyStackRef_CLOSE(tmp);
  |  |11071|  4.22k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11072|  4.22k|                }
  |  |11073|  9.35k|            }
  |  |11074|       |            // _POP_JUMP_IF_FALSE
  |  |11075|  9.35k|            {
  |  |11076|  9.35k|                cond = b;
  |  |11077|  9.35k|                assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11077:17): [True: 9.35k, False: 0]
  |  |  ------------------
  |  |11078|  9.35k|                int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|  9.35k|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  9.35k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11079|  9.35k|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|  9.35k|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  9.35k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|  9.35k|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11080|  9.35k|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  18.7k|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 4.22k, False: 5.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11081|  9.35k|            }
  |  |11082|      0|            stack_pointer += -1;
  |  |11083|  9.35k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  9.35k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11084|  9.35k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.35k|    { \
  |  |  |  |  201|  9.35k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  9.35k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  9.35k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  9.35k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  9.35k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.35k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  9.35k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  9.35k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 9.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.35k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.35k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.35k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.35k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.35k|    }
  |  |  ------------------
  |  |11085|  9.35k|        }
  |  |11086|       |
  |  |11087|  19.0k|        TARGET(POP_JUMP_IF_TRUE) {
  |  |  ------------------
  |  |  |  |  132|  19.0k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11088|       |            #if _Py_TAIL_CALL_INTERP
  |  |11089|       |            int opcode = POP_JUMP_IF_TRUE;
  |  |11090|       |            (void)(opcode);
  |  |11091|       |            #endif
  |  |11092|  19.0k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11093|  19.0k|            (void)this_instr;
  |  |11094|  19.0k|            frame->instr_ptr = next_instr;
  |  |11095|  19.0k|            next_instr += 2;
  |  |11096|  19.0k|            INSTRUCTION_STATS(POP_JUMP_IF_TRUE);
  |  |  ------------------
  |  |  |  |   71|  19.0k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11097|  19.0k|            _PyStackRef cond;
  |  |11098|       |            /* Skip 1 cache entry */
  |  |11099|  19.0k|            cond = stack_pointer[-1];
  |  |11100|  19.0k|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11100:13): [True: 19.0k, False: 0]
  |  |  ------------------
  |  |11101|  19.0k|            int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|  19.0k|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  19.0k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11102|  19.0k|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|  19.0k|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  19.0k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|  19.0k|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11103|  19.0k|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  38.0k|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 13.0k, False: 6.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11104|  19.0k|            stack_pointer += -1;
  |  |11105|  19.0k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  19.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11106|  19.0k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  19.0k|    { \
  |  |  |  |  201|  19.0k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  19.0k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  19.0k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  19.0k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  19.0k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  19.0k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  19.0k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  19.0k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 19.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  19.0k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  19.0k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  19.0k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  19.0k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  19.0k|    }
  |  |  ------------------
  |  |11107|  19.0k|        }
  |  |11108|       |
  |  |11109|  27.0k|        TARGET(POP_TOP) {
  |  |  ------------------
  |  |  |  |  132|  27.0k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11110|       |            #if _Py_TAIL_CALL_INTERP
  |  |11111|       |            int opcode = POP_TOP;
  |  |11112|       |            (void)(opcode);
  |  |11113|       |            #endif
  |  |11114|  27.0k|            frame->instr_ptr = next_instr;
  |  |11115|  27.0k|            next_instr += 1;
  |  |11116|  27.0k|            INSTRUCTION_STATS(POP_TOP);
  |  |  ------------------
  |  |  |  |   71|  27.0k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11117|  27.0k|            _PyStackRef value;
  |  |11118|  27.0k|            value = stack_pointer[-1];
  |  |11119|  27.0k|            stack_pointer += -1;
  |  |11120|  27.0k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  27.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11121|  27.0k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11122|  27.0k|            _PyFrame_StackPointerValidate(frame);
  |  |11123|  27.0k|            PyStackRef_XCLOSE(value);
  |  |11124|  27.0k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11125|  27.0k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  27.0k|    { \
  |  |  |  |  201|  27.0k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  27.0k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  27.0k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  27.0k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  27.0k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  27.0k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  27.0k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  27.0k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 27.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  27.0k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  27.0k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  27.0k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  27.0k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  27.0k|    }
  |  |  ------------------
  |  |11126|  27.0k|        }
  |  |11127|       |
  |  |11128|  27.0k|        TARGET(PUSH_EXC_INFO) {
  |  |  ------------------
  |  |  |  |  132|  2.58k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11129|       |            #if _Py_TAIL_CALL_INTERP
  |  |11130|       |            int opcode = PUSH_EXC_INFO;
  |  |11131|       |            (void)(opcode);
  |  |11132|       |            #endif
  |  |11133|  2.58k|            frame->instr_ptr = next_instr;
  |  |11134|  2.58k|            next_instr += 1;
  |  |11135|  2.58k|            INSTRUCTION_STATS(PUSH_EXC_INFO);
  |  |  ------------------
  |  |  |  |   71|  2.58k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11136|  2.58k|            _PyStackRef exc;
  |  |11137|  2.58k|            _PyStackRef prev_exc;
  |  |11138|  2.58k|            _PyStackRef new_exc;
  |  |11139|  2.58k|            exc = stack_pointer[-1];
  |  |11140|  2.58k|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |11141|  2.58k|            if (exc_info->exc_value != NULL) {
  |  |  ------------------
  |  |  |  Branch (11141:17): [True: 19, False: 2.56k]
  |  |  ------------------
  |  |11142|     19|                prev_exc = PyStackRef_FromPyObjectSteal(exc_info->exc_value);
  |  |11143|     19|            }
  |  |11144|  2.56k|            else {
  |  |11145|  2.56k|                prev_exc = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|  2.56k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.56k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11146|  2.56k|            }
  |  |11147|  2.58k|            assert(PyStackRef_ExceptionInstanceCheck(exc));
  |  |  ------------------
  |  |  |  Branch (11147:13): [True: 2.58k, False: 0]
  |  |  ------------------
  |  |11148|  2.58k|            exc_info->exc_value = PyStackRef_AsPyObjectNew(exc);
  |  |  ------------------
  |  |  |  |  757|  2.58k|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  647|  2.58k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11149|  2.58k|            new_exc = exc;
  |  |11150|  2.58k|            stack_pointer[-1] = prev_exc;
  |  |11151|  2.58k|            stack_pointer[0] = new_exc;
  |  |11152|  2.58k|            stack_pointer += 1;
  |  |11153|  2.58k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.58k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11154|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  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|    }
  |  |  ------------------
  |  |11155|  2.58k|        }
  |  |11156|       |
  |  |11157|   207k|        TARGET(PUSH_NULL) {
  |  |  ------------------
  |  |  |  |  132|   207k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11158|       |            #if _Py_TAIL_CALL_INTERP
  |  |11159|       |            int opcode = PUSH_NULL;
  |  |11160|       |            (void)(opcode);
  |  |11161|       |            #endif
  |  |11162|   207k|            frame->instr_ptr = next_instr;
  |  |11163|   207k|            next_instr += 1;
  |  |11164|   207k|            INSTRUCTION_STATS(PUSH_NULL);
  |  |  ------------------
  |  |  |  |   71|   207k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11165|   207k|            _PyStackRef res;
  |  |11166|   207k|            res = PyStackRef_NULL;
  |  |11167|   207k|            stack_pointer[0] = res;
  |  |11168|   207k|            stack_pointer += 1;
  |  |11169|   207k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   207k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11170|   207k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   207k|    { \
  |  |  |  |  201|   207k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   207k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   207k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   207k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   207k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   207k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   207k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   207k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 207k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   207k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   207k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   207k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   207k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   207k|    }
  |  |  ------------------
  |  |11171|   207k|        }
  |  |11172|       |
  |  |11173|   207k|        TARGET(RAISE_VARARGS) {
  |  |  ------------------
  |  |  |  |  132|    350|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11174|       |            #if _Py_TAIL_CALL_INTERP
  |  |11175|       |            int opcode = RAISE_VARARGS;
  |  |11176|       |            (void)(opcode);
  |  |11177|       |            #endif
  |  |11178|    350|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11179|    350|            (void)this_instr;
  |  |11180|    350|            frame->instr_ptr = next_instr;
  |  |11181|    350|            next_instr += 1;
  |  |11182|    350|            INSTRUCTION_STATS(RAISE_VARARGS);
  |  |  ------------------
  |  |  |  |   71|    350|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11183|    350|            _PyStackRef *args;
  |  |11184|    350|            args = &stack_pointer[-oparg];
  |  |11185|    350|            assert(oparg < 3);
  |  |  ------------------
  |  |  |  Branch (11185:13): [True: 350, False: 0]
  |  |  ------------------
  |  |11186|    350|            PyObject *cause = oparg == 2 ? PyStackRef_AsPyObjectSteal(args[1]) : NULL;
  |  |  ------------------
  |  |  |  Branch (11186:31): [True: 0, False: 350]
  |  |  ------------------
  |  |11187|    350|            PyObject *exc = oparg > 0 ? PyStackRef_AsPyObjectSteal(args[0]) : NULL;
  |  |  ------------------
  |  |  |  Branch (11187:29): [True: 350, False: 0]
  |  |  ------------------
  |  |11188|    350|            stack_pointer += -oparg;
  |  |11189|    350|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    350|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11190|    350|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11191|    350|            _PyFrame_StackPointerValidate(frame);
  |  |11192|    350|            int err = do_raise(tstate, exc, cause);
  |  |11193|    350|            _PyFrame_StackPointerInvalidate(frame);
  |  |11194|    350|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11194:17): [True: 0, False: 350]
  |  |  ------------------
  |  |11195|      0|                assert(oparg == 0);
  |  |  ------------------
  |  |  |  Branch (11195:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11196|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11196:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11197|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11198|      0|                monitor_reraise(tstate, frame, this_instr);
  |  |11199|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11200|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11200:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11201|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11202|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11203|      0|            }
  |  |11204|    350|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    350|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11205|      0|        }
  |  |11206|       |
  |  |11207|    652|        TARGET(RERAISE) {
  |  |  ------------------
  |  |  |  |  132|    652|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11208|       |            #if _Py_TAIL_CALL_INTERP
  |  |11209|       |            int opcode = RERAISE;
  |  |11210|       |            (void)(opcode);
  |  |11211|       |            #endif
  |  |11212|    652|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11213|    652|            (void)this_instr;
  |  |11214|    652|            frame->instr_ptr = next_instr;
  |  |11215|    652|            next_instr += 1;
  |  |11216|    652|            INSTRUCTION_STATS(RERAISE);
  |  |  ------------------
  |  |  |  |   71|    652|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11217|    652|            _PyStackRef *values;
  |  |11218|    652|            _PyStackRef exc_st;
  |  |11219|    652|            exc_st = stack_pointer[-1];
  |  |11220|    652|            values = &stack_pointer[-1 - oparg];
  |  |11221|    652|            PyObject *exc = PyStackRef_AsPyObjectSteal(exc_st);
  |  |11222|    652|            assert(oparg >= 0 && oparg <= 2);
  |  |  ------------------
  |  |  |  Branch (11222:13): [True: 652, False: 0]
  |  |  |  Branch (11222:13): [True: 652, False: 0]
  |  |  ------------------
  |  |11223|    652|            if (oparg) {
  |  |  ------------------
  |  |  |  Branch (11223:17): [True: 327, False: 325]
  |  |  ------------------
  |  |11224|    327|                frame->instr_ptr = _PyFrame_GetBytecode(frame) + PyStackRef_UntagInt(values[0]);
  |  |11225|    327|            }
  |  |11226|    652|            assert(exc && PyExceptionInstance_Check(exc));
  |  |  ------------------
  |  |  |  Branch (11226:13): [True: 652, False: 0]
  |  |  |  Branch (11226:13): [True: 652, False: 0]
  |  |  ------------------
  |  |11227|    652|            stack_pointer += -1;
  |  |11228|    652|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    652|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11229|    652|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11230|    652|            _PyFrame_StackPointerValidate(frame);
  |  |11231|    652|            _PyErr_SetRaisedException(tstate, exc);
  |  |11232|    652|            _PyFrame_StackPointerInvalidate(frame);
  |  |11233|    652|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11233:13): [True: 652, False: 0]
  |  |  ------------------
  |  |11234|    652|            _PyFrame_StackPointerValidate(frame);
  |  |11235|    652|            monitor_reraise(tstate, frame, this_instr);
  |  |11236|    652|            _PyFrame_StackPointerInvalidate(frame);
  |  |11237|    652|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11237:13): [True: 652, False: 0]
  |  |  ------------------
  |  |11238|    652|            _PyFrame_StackPointerValidate(frame);
  |  |11239|    652|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|    652|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11240|      0|        }
  |  |11241|       |
  |  |11242|      0|        TARGET(RESERVED) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11243|       |            #if _Py_TAIL_CALL_INTERP
  |  |11244|       |            int opcode = RESERVED;
  |  |11245|       |            (void)(opcode);
  |  |11246|       |            #endif
  |  |11247|      0|            frame->instr_ptr = next_instr;
  |  |11248|      0|            next_instr += 1;
  |  |11249|      0|            INSTRUCTION_STATS(RESERVED);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11250|      0|            assert(0 && "Executing RESERVED instruction.");
  |  |  ------------------
  |  |  |  Branch (11250:13): [Folded, False: 0]
  |  |  |  Branch (11250:13): [True: 0, False: 0]
  |  |  ------------------
  |  |11251|      0|            Py_FatalError("Executing RESERVED instruction.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |11252|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded - Ignored]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11253|      0|        }
  |  |11254|       |
  |  |11255|  6.02k|        TARGET(RESUME) {
  |  |  ------------------
  |  |  |  |  132|  6.02k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11256|       |            #if _Py_TAIL_CALL_INTERP
  |  |11257|       |            int opcode = RESUME;
  |  |11258|       |            (void)(opcode);
  |  |11259|       |            #endif
  |  |11260|  6.02k|            frame->instr_ptr = next_instr;
  |  |11261|  6.02k|            next_instr += 2;
  |  |11262|  6.02k|            INSTRUCTION_STATS(RESUME);
  |  |  ------------------
  |  |  |  |   71|  6.02k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11263|  10.7k|            PREDICTED_RESUME:;
  |  |11264|  10.7k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |11265|  10.7k|            (void)this_instr;
  |  |11266|       |            // _LOAD_BYTECODE
  |  |11267|  10.7k|            {
  |  |11268|       |                #ifdef Py_GIL_DISABLED
  |  |11269|       |                if (frame->tlbc_index !=
  |  |11270|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |11271|       |                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11272|       |                    _PyFrame_StackPointerValidate(frame);
  |  |11273|       |                    _Py_CODEUNIT *bytecode =
  |  |11274|       |                    _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
  |  |11275|       |                    _PyFrame_StackPointerInvalidate(frame);
  |  |11276|       |                    if (bytecode == NULL) {
  |  |11277|       |                        JUMP_TO_LABEL(error);
  |  |11278|       |                    }
  |  |11279|       |                    ptrdiff_t off = this_instr - _PyFrame_GetBytecode(frame);
  |  |11280|       |                    frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
  |  |11281|       |                    frame->instr_ptr = bytecode + off;
  |  |11282|       |                    next_instr = frame->instr_ptr;
  |  |11283|       |                    DISPATCH();
  |  |11284|       |                }
  |  |11285|       |                #endif
  |  |11286|  10.7k|            }
  |  |11287|       |            // _MAYBE_INSTRUMENT
  |  |11288|  10.7k|            {
  |  |11289|       |                #ifdef Py_GIL_DISABLED
  |  |11290|       |
  |  |11291|       |                int check_instrumentation = 1;
  |  |11292|       |                #else
  |  |11293|  10.7k|                int check_instrumentation = (tstate->tracing == 0);
  |  |11294|  10.7k|                #endif
  |  |11295|  10.7k|                if (check_instrumentation) {
  |  |  ------------------
  |  |  |  Branch (11295:21): [True: 10.7k, False: 0]
  |  |  ------------------
  |  |11296|  10.7k|                    uintptr_t global_version = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & ~_PY_EVAL_EVENTS_MASK;
  |  |  ------------------
  |  |  |  |  356|  10.7k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  355|  10.7k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11297|  10.7k|                    uintptr_t code_version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  154|  10.7k|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11298|  10.7k|                    if (code_version != global_version) {
  |  |  ------------------
  |  |  |  Branch (11298:25): [True: 0, False: 10.7k]
  |  |  ------------------
  |  |11299|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11300|      0|                        _PyFrame_StackPointerValidate(frame);
  |  |11301|      0|                        int err = _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
  |  |11302|      0|                        _PyFrame_StackPointerInvalidate(frame);
  |  |11303|      0|                        if (err) {
  |  |  ------------------
  |  |  |  Branch (11303:29): [True: 0, False: 0]
  |  |  ------------------
  |  |11304|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11305|      0|                        }
  |  |11306|      0|                        next_instr = this_instr;
  |  |11307|      0|                        DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11308|      0|                    }
  |  |11309|  10.7k|                }
  |  |11310|  10.7k|            }
  |  |11311|       |            // _QUICKEN_RESUME
  |  |11312|  10.7k|            {
  |  |11313|  10.7k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11314|  10.7k|                (void)counter;
  |  |11315|  10.7k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11316|  10.7k|                _PyFrame_StackPointerValidate(frame);
  |  |11317|  10.7k|                _Py_Specialize_Resume(this_instr, tstate, frame);
  |  |11318|  10.7k|                _PyFrame_StackPointerInvalidate(frame);
  |  |11319|  10.7k|            }
  |  |11320|       |            // _CHECK_PERIODIC_IF_NOT_YIELD_FROM
  |  |11321|  10.7k|            {
  |  |11322|  10.7k|                if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   94|  10.7k|#define RESUME_OPARG_LOCATION_MASK 0x7
  |  |  ------------------
  |  |                               if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   90|  10.7k|#define RESUME_AFTER_YIELD_FROM 2
  |  |  ------------------
  |  |  |  Branch (11322:21): [True: 10.7k, False: 18]
  |  |  ------------------
  |  |11323|  10.7k|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11323:21): [True: 10.7k, False: 0]
  |  |  ------------------
  |  |11324|  10.7k|                    _PyFrame_StackPointerValidate(frame);
  |  |11325|  10.7k|                    int err = check_periodics(tstate);
  |  |11326|  10.7k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11327|  10.7k|                    if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (11327:25): [True: 0, False: 10.7k]
  |  |  ------------------
  |  |11328|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11329|      0|                    }
  |  |11330|  10.7k|                }
  |  |11331|  10.7k|            }
  |  |11332|  10.7k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.7k|    { \
  |  |  |  |  201|  10.7k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  10.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  10.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  10.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  10.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  10.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  10.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  10.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 10.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.7k|    }
  |  |  ------------------
  |  |11333|  10.7k|        }
  |  |11334|       |
  |  |11335|   227k|        TARGET(RESUME_CHECK) {
  |  |  ------------------
  |  |  |  |  132|   227k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11336|       |            #if _Py_TAIL_CALL_INTERP
  |  |11337|       |            int opcode = RESUME_CHECK;
  |  |11338|       |            (void)(opcode);
  |  |11339|       |            #endif
  |  |11340|   227k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11341|   227k|            (void)this_instr;
  |  |11342|   227k|            frame->instr_ptr = next_instr;
  |  |11343|   227k|            next_instr += 2;
  |  |11344|   227k|            INSTRUCTION_STATS(RESUME_CHECK);
  |  |  ------------------
  |  |  |  |   71|   227k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11345|   227k|            static_assert(1 == 1, "incorrect cache size");
  |  |11346|       |            /* Skip 1 cache entry */
  |  |11347|       |            #if defined(__EMSCRIPTEN__)
  |  |11348|       |            if (_Py_emscripten_signal_clock == 0) {
  |  |11349|       |                UPDATE_MISS_STATS(RESUME);
  |  |11350|       |                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |11351|       |                JUMP_TO_PREDICTED(RESUME);
  |  |11352|       |            }
  |  |11353|       |            _Py_emscripten_signal_clock -= Py_EMSCRIPTEN_SIGNAL_HANDLING;
  |  |11354|       |            #endif
  |  |11355|   227k|            uintptr_t eval_breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  |  |11356|   227k|            uintptr_t version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  154|   227k|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11357|   227k|            assert((version & _PY_EVAL_EVENTS_MASK) == 0);
  |  |  ------------------
  |  |  |  Branch (11357:13): [True: 227k, False: 0]
  |  |  ------------------
  |  |11358|   227k|            if (eval_breaker != version) {
  |  |  ------------------
  |  |  |  Branch (11358:17): [True: 4.73k, False: 222k]
  |  |  ------------------
  |  |11359|  4.73k|                UPDATE_MISS_STATS(RESUME);
  |  |  ------------------
  |  |  |  |  299|  4.73k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11360|  4.73k|                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |  ------------------
  |  |  |  Branch (11360:17): [True: 4.73k, False: 0]
  |  |  ------------------
  |  |11361|  4.73k|                JUMP_TO_PREDICTED(RESUME);
  |  |  ------------------
  |  |  |  |  136|  4.73k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11362|      0|            }
  |  |11363|       |            #ifdef Py_GIL_DISABLED
  |  |11364|       |            if (frame->tlbc_index !=
  |  |11365|       |                ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |11366|       |                UPDATE_MISS_STATS(RESUME);
  |  |11367|       |                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |11368|       |                JUMP_TO_PREDICTED(RESUME);
  |  |11369|       |            }
  |  |11370|       |            #endif
  |  |11371|   222k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   222k|    { \
  |  |  |  |  201|   222k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   222k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   222k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   222k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   222k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   222k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   222k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   222k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 222k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   222k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   222k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   222k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   222k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   222k|    }
  |  |  ------------------
  |  |11372|   222k|        }
  |  |11373|       |
  |  |11374|      0|        TARGET(RESUME_CHECK_JIT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11375|       |            #if _Py_TAIL_CALL_INTERP
  |  |11376|       |            int opcode = RESUME_CHECK_JIT;
  |  |11377|       |            (void)(opcode);
  |  |11378|       |            #endif
  |  |11379|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11380|      0|            (void)this_instr;
  |  |11381|      0|            frame->instr_ptr = next_instr;
  |  |11382|      0|            next_instr += 2;
  |  |11383|      0|            INSTRUCTION_STATS(RESUME_CHECK_JIT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11384|      0|            static_assert(1 == 1, "incorrect cache size");
  |  |11385|       |            /* Skip 1 cache entry */
  |  |11386|       |            // _RESUME_CHECK
  |  |11387|      0|            {
  |  |11388|       |                #if defined(__EMSCRIPTEN__)
  |  |11389|       |                if (_Py_emscripten_signal_clock == 0) {
  |  |11390|       |                    UPDATE_MISS_STATS(RESUME);
  |  |11391|       |                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |11392|       |                    JUMP_TO_PREDICTED(RESUME);
  |  |11393|       |                }
  |  |11394|       |                _Py_emscripten_signal_clock -= Py_EMSCRIPTEN_SIGNAL_HANDLING;
  |  |11395|       |                #endif
  |  |11396|      0|                uintptr_t eval_breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  |  |11397|      0|                uintptr_t version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  154|      0|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11398|      0|                assert((version & _PY_EVAL_EVENTS_MASK) == 0);
  |  |  ------------------
  |  |  |  Branch (11398:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11399|      0|                if (eval_breaker != version) {
  |  |  ------------------
  |  |  |  Branch (11399:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11400|      0|                    UPDATE_MISS_STATS(RESUME);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11401|      0|                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |  ------------------
  |  |  |  Branch (11401:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11402|      0|                    JUMP_TO_PREDICTED(RESUME);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11403|      0|                }
  |  |11404|       |                #ifdef Py_GIL_DISABLED
  |  |11405|       |                if (frame->tlbc_index !=
  |  |11406|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |11407|       |                    UPDATE_MISS_STATS(RESUME);
  |  |11408|       |                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |11409|       |                    JUMP_TO_PREDICTED(RESUME);
  |  |11410|       |                }
  |  |11411|       |                #endif
  |  |11412|      0|            }
  |  |11413|       |            // _JIT
  |  |11414|      0|            {
  |  |11415|       |                #ifdef _Py_TIER2
  |  |11416|       |                bool is_resume = this_instr->op.code == RESUME_CHECK_JIT;
  |  |11417|       |                _Py_BackoffCounter counter = this_instr[1].counter;
  |  |11418|       |                if ((backoff_counter_triggers(counter) &&
  |  |11419|       |                        !IS_JIT_TRACING() &&
  |  |11420|       |                        (this_instr->op.code == JUMP_BACKWARD_JIT || is_resume)) &&
  |  |11421|       |                    next_instr->op.code != ENTER_EXECUTOR) {
  |  |11422|       |                    _Py_CODEUNIT *insert_exec_at = this_instr;
  |  |11423|       |                    for (int tmp = oparg; tmp > 255; tmp >>= 8) {
  |  |11424|       |                        insert_exec_at--;
  |  |11425|       |                    }
  |  |11426|       |                    int succ = _PyJit_TryInitializeTracing(tstate, frame, this_instr, insert_exec_at,
  |  |11427|       |                        is_resume ? insert_exec_at : next_instr, stack_pointer, 0, NULL, oparg, NULL);
  |  |11428|       |                    if (succ) {
  |  |11429|       |                        ENTER_TRACING();
  |  |11430|       |                    }
  |  |11431|       |                    else {
  |  |11432|       |                        this_instr[1].counter = restart_backoff_counter(counter);
  |  |11433|       |                    }
  |  |11434|       |                }
  |  |11435|       |                else {
  |  |11436|       |                    ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |11437|       |                }
  |  |11438|       |                #endif
  |  |11439|      0|            }
  |  |11440|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11441|      0|        }
  |  |11442|       |
  |  |11443|    194|        TARGET(RETURN_GENERATOR) {
  |  |  ------------------
  |  |  |  |  132|    194|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11444|       |            #if _Py_TAIL_CALL_INTERP
  |  |11445|       |            int opcode = RETURN_GENERATOR;
  |  |11446|       |            (void)(opcode);
  |  |11447|       |            #endif
  |  |11448|    194|            frame->instr_ptr = next_instr;
  |  |11449|    194|            next_instr += 1;
  |  |11450|    194|            INSTRUCTION_STATS(RETURN_GENERATOR);
  |  |  ------------------
  |  |  |  |   71|    194|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11451|    194|            _PyStackRef res;
  |  |11452|    194|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  |  ------------------
  |  |  |  Branch (11452:13): [True: 194, False: 0]
  |  |  ------------------
  |  |11453|    194|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  |11454|    194|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11455|    194|            _PyFrame_StackPointerValidate(frame);
  |  |11456|    194|            PyGenObject *gen = (PyGenObject *)_Py_MakeCoro(func);
  |  |11457|    194|            _PyFrame_StackPointerInvalidate(frame);
  |  |11458|    194|            if (gen == NULL) {
  |  |  ------------------
  |  |  |  Branch (11458:17): [True: 0, False: 194]
  |  |  ------------------
  |  |11459|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11460|      0|            }
  |  |11461|    194|            assert(STACK_LEVEL() <= 2);
  |  |  ------------------
  |  |  |  Branch (11461:13): [True: 194, False: 0]
  |  |  ------------------
  |  |11462|    194|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11462:13): [True: 194, False: 0]
  |  |  ------------------
  |  |11463|    194|            _PyFrame_StackPointerValidate(frame);
  |  |11464|    194|            _PyInterpreterFrame *gen_frame = &gen->gi_iframe;
  |  |11465|    194|            frame->instr_ptr++;
  |  |11466|    194|            _PyFrame_Copy(frame, gen_frame);
  |  |11467|    194|            assert(frame->frame_obj == NULL);
  |  |  ------------------
  |  |  |  Branch (11467:13): [True: 194, False: 0]
  |  |  ------------------
  |  |11468|    194|            gen->gi_frame_state = FRAME_CREATED;
  |  |11469|    194|            gen_frame->owner = FRAME_OWNED_BY_GENERATOR;
  |  |11470|    194|            _Py_LeaveRecursiveCallPy(tstate);
  |  |11471|    194|            _PyInterpreterFrame *prev = frame->previous;
  |  |11472|    194|            _PyThreadState_UpdateLastProfiledFrame(tstate, frame, prev);
  |  |  ------------------
  |  |  |  |  326|    194|    do { \
  |  |  |  |  327|    194|        PyThreadState *tstate_ = (tstate); \
  |  |  |  |  328|    194|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  |  |  329|    194|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (329:13): [True: 0, False: 194]
  |  |  |  |  ------------------
  |  |  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  |  |  332|      0|        } \
  |  |  |  |  333|    194|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (333:14): [Folded, False: 194]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11473|    194|            _PyThreadState_PopFrame(tstate, frame);
  |  |11474|    194|            frame = tstate->current_frame = prev;
  |  |11475|    194|            LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  441|    194|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    194|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    194|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 194]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11476|    194|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11477|    194|            _PyFrame_StackPointerInvalidate(frame);
  |  |11478|    194|            res = PyStackRef_FromPyObjectStealMortal((PyObject *)gen);
  |  |11479|    194|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    194|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11480|    194|            stack_pointer[0] = res;
  |  |11481|    194|            stack_pointer += 1;
  |  |11482|    194|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    194|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11483|    194|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    194|    { \
  |  |  |  |  201|    194|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    194|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    194|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    194|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    194|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    194|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    194|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    194|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 194]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    194|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    194|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    194|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    194|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    194|    }
  |  |  ------------------
  |  |11484|    194|        }
  |  |11485|       |
  |  |11486|   233k|        TARGET(RETURN_VALUE) {
  |  |  ------------------
  |  |  |  |  132|   233k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11487|       |            #if _Py_TAIL_CALL_INTERP
  |  |11488|       |            int opcode = RETURN_VALUE;
  |  |11489|       |            (void)(opcode);
  |  |11490|       |            #endif
  |  |11491|   233k|            frame->instr_ptr = next_instr;
  |  |11492|   233k|            next_instr += 1;
  |  |11493|   233k|            INSTRUCTION_STATS(RETURN_VALUE);
  |  |  ------------------
  |  |  |  |   71|   233k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11494|   233k|            _PyStackRef value;
  |  |11495|   233k|            _PyStackRef retval;
  |  |11496|   233k|            _PyStackRef res;
  |  |11497|       |            // _MAKE_HEAP_SAFE
  |  |11498|   233k|            {
  |  |11499|   233k|                value = stack_pointer[-1];
  |  |11500|   233k|                value = PyStackRef_MakeHeapSafe(value);
  |  |11501|   233k|            }
  |  |11502|       |            // _RETURN_VALUE
  |  |11503|   233k|            {
  |  |11504|   233k|                retval = value;
  |  |11505|   233k|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (11505:17): [True: 233k, False: 0]
  |  |  ------------------
  |  |11506|   233k|                _PyStackRef temp = retval;
  |  |11507|   233k|                stack_pointer += -1;
  |  |11508|   233k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   233k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11509|   233k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11510|   233k|                _PyFrame_StackPointerValidate(frame);
  |  |11511|   233k|                assert(STACK_LEVEL() == 0);
  |  |  ------------------
  |  |  |  Branch (11511:17): [True: 233k, False: 0]
  |  |  ------------------
  |  |11512|   233k|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|   233k|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |11513|   233k|                _Py_LeaveRecursiveCallPy(tstate);
  |  |11514|   233k|                _PyInterpreterFrame *dying = frame;
  |  |11515|   233k|                frame = tstate->current_frame = dying->previous;
  |  |11516|   233k|                _PyEval_FrameClearAndPop(tstate, dying);
  |  |11517|   233k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11518|   233k|                _PyFrame_StackPointerInvalidate(frame);
  |  |11519|   233k|                LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  441|   233k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|   233k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|   233k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 233k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11520|   233k|                res = temp;
  |  |11521|   233k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|   233k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11522|   233k|            }
  |  |11523|      0|            stack_pointer[0] = res;
  |  |11524|   233k|            stack_pointer += 1;
  |  |11525|   233k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   233k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11526|   233k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   233k|    { \
  |  |  |  |  201|   233k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   233k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   233k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   233k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   233k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   233k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   233k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   233k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 233k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   233k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   233k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   233k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   233k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   233k|    }
  |  |  ------------------
  |  |11527|   233k|        }
  |  |11528|       |
  |  |11529|      2|        TARGET(SEND) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11530|       |            #if _Py_TAIL_CALL_INTERP
  |  |11531|       |            int opcode = SEND;
  |  |11532|       |            (void)(opcode);
  |  |11533|       |            #endif
  |  |11534|      2|            frame->instr_ptr = next_instr;
  |  |11535|      2|            next_instr += 2;
  |  |11536|      2|            INSTRUCTION_STATS(SEND);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11537|      2|            PREDICTED_SEND:;
  |  |11538|      2|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |11539|      2|            (void)this_instr;
  |  |11540|      2|            _PyStackRef receiver;
  |  |11541|      2|            _PyStackRef null_or_index;
  |  |11542|      2|            _PyStackRef v;
  |  |11543|      2|            _PyStackRef retval;
  |  |11544|       |            // _SPECIALIZE_SEND
  |  |11545|      2|            {
  |  |11546|      2|                receiver = stack_pointer[-3];
  |  |11547|      2|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11548|      2|                (void)counter;
  |  |11549|      2|                #if ENABLE_SPECIALIZATION
  |  |11550|      2|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|      2|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11551|      1|                    next_instr = this_instr;
  |  |11552|      1|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11553|      1|                    _PyFrame_StackPointerValidate(frame);
  |  |11554|      1|                    _Py_Specialize_Send(receiver, next_instr);
  |  |11555|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11556|      1|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|      1|    { \
  |  |  |  |  217|      1|        opcode = next_instr->op.code; \
  |  |  |  |  218|      1|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      1|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|      1|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|      1|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|      1|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|      1|    }
  |  |  ------------------
  |  |11557|      1|                }
  |  |11558|      2|                OPCODE_DEFERRED_INC(SEND);
  |  |  ------------------
  |  |  |  |   90|      2|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |11559|      2|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|      2|    do { \
  |  |  |  |  378|      2|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|      2|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11560|      2|                #endif  /* ENABLE_SPECIALIZATION */
  |  |11561|      2|            }
  |  |11562|       |            // _SEND
  |  |11563|      2|            {
  |  |11564|      2|                v = stack_pointer[-1];
  |  |11565|      2|                null_or_index = stack_pointer[-2];
  |  |11566|      2|                PyObject *receiver_o = PyStackRef_AsPyObjectBorrow(receiver);
  |  |11567|      2|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (11567:17): [True: 1, False: 1]
  |  |  ------------------
  |  |11568|      1|                if (!IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|      2|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (11568:21): [True: 1, False: 0]
  |  |  ------------------
  |  |11569|      1|                    (Py_TYPE(receiver_o) == &PyGen_Type || Py_TYPE(receiver_o) == &PyCoro_Type) &&
  |  |  ------------------
  |  |  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   (Py_TYPE(receiver_o) == &PyGen_Type || Py_TYPE(receiver_o) == &PyCoro_Type) &&
  |  |  ------------------
  |  |  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11569:22): [True: 0, False: 1]
  |  |  |  Branch (11569:60): [True: 0, False: 1]
  |  |  ------------------
  |  |11570|      0|                    gen_try_set_executing((PyGenObject *)receiver_o))
  |  |  ------------------
  |  |  |  Branch (11570:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11571|      0|                {
  |  |11572|      0|                    PyGenObject *gen = (PyGenObject *)receiver_o;
  |  |11573|      0|                    _PyInterpreterFrame *gen_frame = &gen->gi_iframe;
  |  |11574|      0|                    _PyFrame_StackPush(gen_frame, PyStackRef_MakeHeapSafe(v));
  |  |11575|      0|                    stack_pointer += -1;
  |  |11576|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11577|      0|                    gen->gi_exc_state.previous_item = tstate->exc_info;
  |  |11578|      0|                    tstate->exc_info = &gen->gi_exc_state;
  |  |11579|      0|                    assert( 2u + oparg <= UINT16_MAX);
  |  |  ------------------
  |  |  |  Branch (11579:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11580|      0|                    frame->return_offset = (uint16_t)( 2u + oparg);
  |  |11581|      0|                    assert(gen_frame->previous == NULL);
  |  |  ------------------
  |  |  |  Branch (11581:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11582|      0|                    gen_frame->previous = frame;
  |  |11583|      0|                    DISPATCH_INLINED(gen_frame);
  |  |  ------------------
  |  |  |  |  223|      0|    do {                                                         \
  |  |  |  |  224|      0|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|      0|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|      0|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|      0|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|      0|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|      0|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|      0|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11583:21): [True: 0, False: 0]
  |  |  |  Branch (11583:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11584|      0|                }
  |  |11585|      1|                if (!PyStackRef_IsNull(null_or_index) && PyStackRef_IsNone(v)) {
  |  |  ------------------
  |  |  |  |  482|      2|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      1|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      1|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (!PyStackRef_IsNull(null_or_index) && PyStackRef_IsNone(v)) {
  |  |  ------------------
  |  |  |  |  495|      1|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      1|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11585:21): [True: 1, False: 0]
  |  |  ------------------
  |  |11586|      1|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11587|      1|                    _PyFrame_StackPointerValidate(frame);
  |  |11588|      1|                    _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, receiver, &null_or_index);
  |  |11589|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11590|      1|                    if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (11590:25): [True: 0, False: 1]
  |  |  ------------------
  |  |11591|      0|                        if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (11591:29): [True: 0, False: 0]
  |  |  ------------------
  |  |11592|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11593|      0|                        }
  |  |11594|      0|                        JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11595|      0|                        stack_pointer[-2] = null_or_index;
  |  |11596|      0|                        DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11597|      0|                    }
  |  |11598|      1|                    retval = item;
  |  |11599|      1|                }
  |  |11600|      0|                else {
  |  |11601|      0|                    PyObject *v_o = PyStackRef_AsPyObjectBorrow(v);
  |  |11602|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11603|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |11604|      0|                    PySendResultPair res = _PyIter_Send(receiver_o, v_o);
  |  |11605|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11606|      0|                    if (res.kind == PYGEN_ERROR) {
  |  |  ------------------
  |  |  |  Branch (11606:25): [True: 0, False: 0]
  |  |  ------------------
  |  |11607|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11608|      0|                    }
  |  |11609|      0|                    stack_pointer += -1;
  |  |11610|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11611|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11612|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |11613|      0|                    PyStackRef_CLOSE(v);
  |  |11614|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11615|      0|                    retval = PyStackRef_FromPyObjectSteal(res.object);
  |  |11616|      0|                    if (res.kind == PYGEN_RETURN) {
  |  |  ------------------
  |  |  |  Branch (11616:25): [True: 0, False: 0]
  |  |  ------------------
  |  |11617|      0|                        JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11618|      0|                    }
  |  |11619|      0|                    stack_pointer += 1;
  |  |11620|      0|                }
  |  |11621|      1|            }
  |  |11622|      1|            stack_pointer[-2] = null_or_index;
  |  |11623|      1|            stack_pointer[-1] = retval;
  |  |11624|      1|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      1|    { \
  |  |  |  |  201|      1|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      1|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      1|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      1|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      1|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      1|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      1|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      1|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      1|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      1|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      1|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      1|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      1|    }
  |  |  ------------------
  |  |11625|      1|        }
  |  |11626|       |
  |  |11627|      0|        TARGET(SEND_ASYNC_GEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11628|       |            #if _Py_TAIL_CALL_INTERP
  |  |11629|       |            int opcode = SEND_ASYNC_GEN;
  |  |11630|       |            (void)(opcode);
  |  |11631|       |            #endif
  |  |11632|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11633|      0|            (void)this_instr;
  |  |11634|      0|            frame->instr_ptr = next_instr;
  |  |11635|      0|            next_instr += 2;
  |  |11636|      0|            INSTRUCTION_STATS(SEND_ASYNC_GEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11637|      0|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11638|      0|            _PyStackRef iter;
  |  |11639|      0|            _PyStackRef null_in;
  |  |11640|      0|            _PyStackRef v;
  |  |11641|      0|            _PyStackRef asend;
  |  |11642|      0|            _PyStackRef null_out;
  |  |11643|      0|            _PyStackRef retval;
  |  |11644|       |            /* Skip 1 cache entry */
  |  |11645|       |            // _GUARD_3OS_ASYNC_GEN_ASEND
  |  |11646|      0|            {
  |  |11647|      0|                iter = stack_pointer[-3];
  |  |11648|      0|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11649|      0|                if (!PyAsyncGenASend_CheckExact(iter_o)) {
  |  |  ------------------
  |  |  |  |   48|      0|#define PyAsyncGenASend_CheckExact(op) Py_IS_TYPE((op), &_PyAsyncGenASend_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11649:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11650|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11651|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11651:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11652|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11653|      0|                }
  |  |11654|      0|            }
  |  |11655|       |            // _SEND_ASYNC_GEN
  |  |11656|      0|            {
  |  |11657|      0|                v = stack_pointer[-1];
  |  |11658|      0|                null_in = stack_pointer[-2];
  |  |11659|      0|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11660|      0|                assert(PyAsyncGenASend_CheckExact(iter_o));
  |  |  ------------------
  |  |  |  Branch (11660:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11661|      0|                PyObject *val = PyStackRef_AsPyObjectBorrow(v);
  |  |11662|      0|                PyObject *retval_o;
  |  |11663|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11664|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11665|      0|                PySendResult what = _PyAsyncGenASend_Send(iter_o, val, &retval_o);
  |  |11666|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11667|      0|                if (what == PYGEN_ERROR) {
  |  |  ------------------
  |  |  |  Branch (11667:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11668|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11669|      0|                }
  |  |11670|      0|                stack_pointer += -1;
  |  |11671|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11672|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11673|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11674|      0|                PyStackRef_CLOSE(v);
  |  |11675|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11676|      0|                asend = iter;
  |  |11677|      0|                null_out = null_in;
  |  |11678|      0|                retval = PyStackRef_FromPyObjectSteal(retval_o);
  |  |11679|      0|                if (what == PYGEN_RETURN) {
  |  |  ------------------
  |  |  |  Branch (11679:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11680|      0|                    JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11681|      0|                }
  |  |11682|      0|            }
  |  |11683|      0|            stack_pointer[-2] = asend;
  |  |11684|      0|            stack_pointer[-1] = null_out;
  |  |11685|      0|            stack_pointer[0] = retval;
  |  |11686|      0|            stack_pointer += 1;
  |  |11687|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11688|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11689|      0|        }
  |  |11690|       |
  |  |11691|      0|        TARGET(SEND_GEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11692|       |            #if _Py_TAIL_CALL_INTERP
  |  |11693|       |            int opcode = SEND_GEN;
  |  |11694|       |            (void)(opcode);
  |  |11695|       |            #endif
  |  |11696|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11697|      0|            (void)this_instr;
  |  |11698|      0|            frame->instr_ptr = next_instr;
  |  |11699|      0|            next_instr += 2;
  |  |11700|      0|            INSTRUCTION_STATS(SEND_GEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11701|      0|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11702|      0|            _PyStackRef receiver;
  |  |11703|      0|            _PyStackRef v;
  |  |11704|      0|            _PyStackRef gen_frame;
  |  |11705|      0|            _PyStackRef new_frame;
  |  |11706|       |            /* Skip 1 cache entry */
  |  |11707|       |            // _CHECK_PEP_523
  |  |11708|      0|            {
  |  |11709|      0|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11710|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11711|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11711:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11712|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11713|      0|                }
  |  |11714|      0|            }
  |  |11715|       |            // _SEND_GEN_FRAME
  |  |11716|      0|            {
  |  |11717|      0|                v = stack_pointer[-1];
  |  |11718|      0|                receiver = stack_pointer[-3];
  |  |11719|      0|                PyGenObject *gen = (PyGenObject *)PyStackRef_AsPyObjectBorrow(receiver);
  |  |11720|      0|                if (Py_TYPE(gen) != &PyGen_Type && Py_TYPE(gen) != &PyCoro_Type) {
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (Py_TYPE(gen) != &PyGen_Type && Py_TYPE(gen) != &PyCoro_Type) {
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11720:21): [True: 0, False: 0]
  |  |  |  Branch (11720:52): [True: 0, False: 0]
  |  |  ------------------
  |  |11721|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11722|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11722:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11723|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11724|      0|                }
  |  |11725|      0|                if (!gen_try_set_executing((PyGenObject *)gen)) {
  |  |  ------------------
  |  |  |  Branch (11725:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11726|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11727|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11727:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11728|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11729|      0|                }
  |  |11730|      0|                STAT_INC(SEND, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |11731|      0|                _PyInterpreterFrame *pushed_frame = &gen->gi_iframe;
  |  |11732|      0|                _PyFrame_StackPush(pushed_frame, PyStackRef_MakeHeapSafe(v));
  |  |11733|      0|                gen->gi_exc_state.previous_item = tstate->exc_info;
  |  |11734|      0|                tstate->exc_info = &gen->gi_exc_state;
  |  |11735|      0|                assert( 2u + oparg <= UINT16_MAX);
  |  |  ------------------
  |  |  |  Branch (11735:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11736|      0|                frame->return_offset = (uint16_t)( 2u + oparg);
  |  |11737|      0|                pushed_frame->previous = frame;
  |  |11738|      0|                gen_frame = PyStackRef_Wrap(pushed_frame);
  |  |11739|      0|            }
  |  |11740|       |            // _PUSH_FRAME
  |  |11741|      0|            {
  |  |11742|      0|                new_frame = gen_frame;
  |  |11743|      0|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (11743:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11744|      0|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  |11745|      0|                stack_pointer += -1;
  |  |11746|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11747|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11748|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11749|      0|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (11749:17): [True: 0, False: 0]
  |  |  |  Branch (11749:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11750|      0|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |11751|      0|                frame = tstate->current_frame = temp;
  |  |11752|      0|                tstate->py_recursion_remaining--;
  |  |11753|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11754|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11755|      0|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11756|       |                #ifdef Py_DEBUG
  |  |11757|       |                assert(frame->previous->stackpointer_valid == 1);
  |  |11758|       |                #endif
  |  |11759|      0|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|      0|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |11760|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11761|      0|            }
  |  |11762|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11763|      0|        }
  |  |11764|       |
  |  |11765|     12|        TARGET(SEND_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|     12|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11766|       |            #if _Py_TAIL_CALL_INTERP
  |  |11767|       |            int opcode = SEND_VIRTUAL;
  |  |11768|       |            (void)(opcode);
  |  |11769|       |            #endif
  |  |11770|     12|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11771|     12|            (void)this_instr;
  |  |11772|     12|            frame->instr_ptr = next_instr;
  |  |11773|     12|            next_instr += 2;
  |  |11774|     12|            INSTRUCTION_STATS(SEND_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|     12|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11775|     12|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11776|     12|            _PyStackRef val;
  |  |11777|     12|            _PyStackRef nos;
  |  |11778|     12|            _PyStackRef iter;
  |  |11779|     12|            _PyStackRef null_or_index;
  |  |11780|     12|            _PyStackRef none;
  |  |11781|     12|            _PyStackRef next;
  |  |11782|       |            /* Skip 1 cache entry */
  |  |11783|       |            // _GUARD_TOS_IS_NONE
  |  |11784|     12|            {
  |  |11785|     12|                val = stack_pointer[-1];
  |  |11786|     12|                if (!PyStackRef_IsNone(val)) {
  |  |  ------------------
  |  |  |  |  495|     12|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     12|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11786:21): [True: 0, False: 12]
  |  |  ------------------
  |  |11787|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11788|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11788:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11789|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11790|      0|                }
  |  |11791|     12|            }
  |  |11792|       |            // _GUARD_NOS_NOT_NULL
  |  |11793|     12|            {
  |  |11794|     12|                nos = stack_pointer[-2];
  |  |11795|     12|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  482|     12|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     12|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     12|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11796|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11797|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |  ------------------
  |  |  |  Branch (11797:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11798|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11799|      0|                }
  |  |11800|     12|            }
  |  |11801|       |            // _SEND_VIRTUAL
  |  |11802|     12|            {
  |  |11803|     12|                none = val;
  |  |11804|     12|                null_or_index = nos;
  |  |11805|     12|                iter = stack_pointer[-3];
  |  |11806|     12|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11807|     12|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  |11808|     12|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11809|     12|                _PyFrame_StackPointerValidate(frame);
  |  |11810|     12|                _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, index);
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11811|     12|                _PyFrame_StackPointerInvalidate(frame);
  |  |11812|     12|                PyObject *next_o = next_index.object;
  |  |11813|     12|                index = next_index.index;
  |  |11814|     12|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (11814:21): [True: 2, False: 10]
  |  |  ------------------
  |  |11815|      2|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (11815:25): [True: 0, False: 2]
  |  |  ------------------
  |  |11816|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11817|      0|                    }
  |  |11818|      2|                    next = none;
  |  |11819|      2|                    JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      2|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11820|      2|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      2|    { \
  |  |  |  |  201|      2|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      2|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      2|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      2|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      2|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      2|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      2|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      2|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      2|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      2|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      2|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      2|    }
  |  |  ------------------
  |  |11821|      2|                }
  |  |11822|     12|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  |11823|     12|                null_or_index = PyStackRef_TagInt(index);
  |  |11824|     12|            }
  |  |11825|      0|            stack_pointer[-2] = null_or_index;
  |  |11826|     12|            stack_pointer[-1] = next;
  |  |11827|     12|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     12|    { \
  |  |  |  |  201|     12|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     12|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     12|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     12|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     12|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     12|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     12|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     12|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 12]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     12|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     12|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     12|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     12|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     12|    }
  |  |  ------------------
  |  |11828|     12|        }
  |  |11829|       |
  |  |11830|      0|        TARGET(SETUP_ANNOTATIONS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11831|       |            #if _Py_TAIL_CALL_INTERP
  |  |11832|       |            int opcode = SETUP_ANNOTATIONS;
  |  |11833|       |            (void)(opcode);
  |  |11834|       |            #endif
  |  |11835|      0|            frame->instr_ptr = next_instr;
  |  |11836|      0|            next_instr += 1;
  |  |11837|      0|            INSTRUCTION_STATS(SETUP_ANNOTATIONS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11838|      0|            if (LOCALS() == NULL) {
  |  |  ------------------
  |  |  |  |  328|      0|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |  |  Branch (11838:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11839|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11840|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11841|      0|                _PyErr_Format(tstate, PyExc_SystemError,
  |  |11842|      0|                              "no locals found when setting up annotations");
  |  |11843|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11844|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11845|      0|            }
  |  |11846|      0|            int err;
  |  |11847|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11848|      0|            _PyFrame_StackPointerValidate(frame);
  |  |11849|      0|            PyObject* ann_dict = _PyMapping_GetOptionalItem2(LOCALS(), &_Py_ID(__annotations__), &err);
  |  |  ------------------
  |  |  |  |  328|      0|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |                           PyObject* ann_dict = _PyMapping_GetOptionalItem2(LOCALS(), &_Py_ID(__annotations__), &err);
  |  |  ------------------
  |  |  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11850|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |11851|      0|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (11851:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11852|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11853|      0|            }
  |  |11854|      0|            if (ann_dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (11854:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11855|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11855:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11856|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11857|      0|                ann_dict = PyDict_New();
  |  |11858|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11859|      0|                if (ann_dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (11859:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11860|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11861|      0|                }
  |  |11862|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11862:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11863|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11864|      0|                err = PyObject_SetItem(LOCALS(), &_Py_ID(__annotations__),
  |  |  ------------------
  |  |  |  |  328|      0|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |                               err = PyObject_SetItem(LOCALS(), &_Py_ID(__annotations__),
  |  |  ------------------
  |  |  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11865|      0|                                       ann_dict);
  |  |11866|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11867|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11867:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11868|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11869|      0|                Py_DECREF(ann_dict);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11870|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11871|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (11871:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11872|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11873|      0|                }
  |  |11874|      0|            }
  |  |11875|      0|            else {
  |  |11876|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11876:17): [True: 0, False: 0]
  |  |  ------------------
  |  |11877|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11878|      0|                Py_DECREF(ann_dict);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11879|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11880|      0|            }
  |  |11881|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11882|      0|        }
  |  |11883|       |
  |  |11884|      2|        TARGET(SET_ADD) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11885|       |            #if _Py_TAIL_CALL_INTERP
  |  |11886|       |            int opcode = SET_ADD;
  |  |11887|       |            (void)(opcode);
  |  |11888|       |            #endif
  |  |11889|      2|            frame->instr_ptr = next_instr;
  |  |11890|      2|            next_instr += 1;
  |  |11891|      2|            INSTRUCTION_STATS(SET_ADD);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11892|      2|            _PyStackRef set;
  |  |11893|      2|            _PyStackRef v;
  |  |11894|      2|            v = stack_pointer[-1];
  |  |11895|      2|            set = stack_pointer[-2 - (oparg-1)];
  |  |11896|      2|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11897|      2|            _PyFrame_StackPointerValidate(frame);
  |  |11898|      2|            int err = _PySet_AddTakeRef((PySetObject *)PyStackRef_AsPyObjectBorrow(set),
  |  |11899|      2|                                        PyStackRef_AsPyObjectSteal(v));
  |  |11900|      2|            _PyFrame_StackPointerInvalidate(frame);
  |  |11901|      2|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11901:17): [True: 0, False: 2]
  |  |  ------------------
  |  |11902|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11903|      0|            }
  |  |11904|      2|            stack_pointer += -1;
  |  |11905|      2|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      2|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11906|      2|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      2|    { \
  |  |  |  |  201|      2|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      2|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      2|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      2|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      2|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      2|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      2|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      2|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      2|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      2|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      2|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      2|    }
  |  |  ------------------
  |  |11907|      2|        }
  |  |11908|       |
  |  |11909|  2.09k|        TARGET(SET_FUNCTION_ATTRIBUTE) {
  |  |  ------------------
  |  |  |  |  132|  2.09k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11910|       |            #if _Py_TAIL_CALL_INTERP
  |  |11911|       |            int opcode = SET_FUNCTION_ATTRIBUTE;
  |  |11912|       |            (void)(opcode);
  |  |11913|       |            #endif
  |  |11914|  2.09k|            frame->instr_ptr = next_instr;
  |  |11915|  2.09k|            next_instr += 1;
  |  |11916|  2.09k|            INSTRUCTION_STATS(SET_FUNCTION_ATTRIBUTE);
  |  |  ------------------
  |  |  |  |   71|  2.09k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11917|  2.09k|            _PyStackRef attr_st;
  |  |11918|  2.09k|            _PyStackRef func_in;
  |  |11919|  2.09k|            _PyStackRef func_out;
  |  |11920|  2.09k|            func_in = stack_pointer[-1];
  |  |11921|  2.09k|            attr_st = stack_pointer[-2];
  |  |11922|  2.09k|            PyObject *func = PyStackRef_AsPyObjectBorrow(func_in);
  |  |11923|  2.09k|            PyObject *attr = PyStackRef_AsPyObjectSteal(attr_st);
  |  |11924|  2.09k|            func_out = func_in;
  |  |11925|  2.09k|            assert(PyFunction_Check(func));
  |  |  ------------------
  |  |  |  Branch (11925:13): [True: 2.09k, False: 0]
  |  |  ------------------
  |  |11926|  2.09k|            size_t offset = _Py_FunctionAttributeOffsets[oparg];
  |  |11927|  2.09k|            assert(offset != 0);
  |  |  ------------------
  |  |  |  Branch (11927:13): [True: 2.09k, False: 0]
  |  |  ------------------
  |  |11928|  2.09k|            PyObject **ptr = (PyObject **)(((char *)func) + offset);
  |  |11929|  2.09k|            assert(*ptr == NULL);
  |  |  ------------------
  |  |  |  Branch (11929:13): [True: 2.09k, False: 0]
  |  |  ------------------
  |  |11930|  2.09k|            *ptr = attr;
  |  |11931|  2.09k|            stack_pointer[-2] = func_out;
  |  |11932|  2.09k|            stack_pointer += -1;
  |  |11933|  2.09k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.09k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11934|  2.09k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.09k|    { \
  |  |  |  |  201|  2.09k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.09k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.09k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.09k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.09k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.09k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.09k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.09k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.09k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.09k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.09k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.09k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.09k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.09k|    }
  |  |  ------------------
  |  |11935|  2.09k|        }
  |  |11936|       |
  |  |11937|      0|        TARGET(SET_UPDATE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11938|       |            #if _Py_TAIL_CALL_INTERP
  |  |11939|       |            int opcode = SET_UPDATE;
  |  |11940|       |            (void)(opcode);
  |  |11941|       |            #endif
  |  |11942|      0|            frame->instr_ptr = next_instr;
  |  |11943|      0|            next_instr += 1;
  |  |11944|      0|            INSTRUCTION_STATS(SET_UPDATE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11945|      0|            _PyStackRef set;
  |  |11946|      0|            _PyStackRef iterable;
  |  |11947|      0|            _PyStackRef i;
  |  |11948|      0|            _PyStackRef value;
  |  |11949|       |            // _SET_UPDATE
  |  |11950|      0|            {
  |  |11951|      0|                iterable = stack_pointer[-1];
  |  |11952|      0|                set = stack_pointer[-2 - (oparg-1)];
  |  |11953|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11954|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11955|      0|                int err = _PySet_Update(PyStackRef_AsPyObjectBorrow(set),
  |  |11956|      0|                                    PyStackRef_AsPyObjectBorrow(iterable));
  |  |11957|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11958|      0|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (11958:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11959|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11960|      0|                }
  |  |11961|      0|                i = iterable;
  |  |11962|      0|            }
  |  |11963|       |            // _POP_TOP
  |  |11964|      0|            {
  |  |11965|      0|                value = i;
  |  |11966|      0|                stack_pointer += -1;
  |  |11967|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11968|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11969|      0|                _PyFrame_StackPointerValidate(frame);
  |  |11970|      0|                PyStackRef_XCLOSE(value);
  |  |11971|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |11972|      0|            }
  |  |11973|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |11974|      0|        }
  |  |11975|       |
  |  |11976|  2.87k|        TARGET(STORE_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  2.87k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11977|       |            #if _Py_TAIL_CALL_INTERP
  |  |11978|       |            int opcode = STORE_ATTR;
  |  |11979|       |            (void)(opcode);
  |  |11980|       |            #endif
  |  |11981|  2.87k|            frame->instr_ptr = next_instr;
  |  |11982|  2.87k|            next_instr += 5;
  |  |11983|  2.87k|            INSTRUCTION_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |   71|  2.87k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11984|  3.52k|            PREDICTED_STORE_ATTR:;
  |  |11985|  3.52k|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  |11986|  3.52k|            (void)this_instr;
  |  |11987|  3.52k|            _PyStackRef v;
  |  |11988|  3.52k|            _PyStackRef owner;
  |  |11989|       |            // _SPECIALIZE_STORE_ATTR
  |  |11990|  3.52k|            {
  |  |11991|  3.52k|                owner = stack_pointer[-1];
  |  |11992|  3.52k|                v = stack_pointer[-2];
  |  |11993|  3.52k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11994|  3.52k|                (void)counter;
  |  |11995|  3.52k|                #if ENABLE_SPECIALIZATION
  |  |11996|  3.52k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  3.52k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 246, False: 3.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11997|    246|                    if (!PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|    246|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    246|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    246|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11997:25): [True: 246, False: 0]
  |  |  ------------------
  |  |11998|    246|                        PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|    246|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    246|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    246|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11998:42): [True: 246, False: 0]
  |  |  ------------------
  |  |11999|      0|                        next_instr = this_instr;
  |  |12000|    246|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12001|    246|                        _PyFrame_StackPointerValidate(frame);
  |  |12002|    246|                        _Py_Specialize_StoreAttr(owner, next_instr, name);
  |  |12003|    246|                        _PyFrame_StackPointerInvalidate(frame);
  |  |12004|    246|                        DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    246|    { \
  |  |  |  |  217|    246|        opcode = next_instr->op.code; \
  |  |  |  |  218|    246|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    246|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    246|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    246|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    246|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    246|    }
  |  |  ------------------
  |  |12005|    246|                    }
  |  |12006|    246|                }
  |  |12007|  3.52k|                OPCODE_DEFERRED_INC(STORE_ATTR);
  |  |  ------------------
  |  |  |  |   90|  3.52k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12008|  3.52k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  3.52k|    do { \
  |  |  |  |  378|  3.52k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  3.52k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 3.52k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12009|  3.52k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12010|  3.52k|            }
  |  |12011|       |            /* Skip 3 cache entries */
  |  |12012|       |            // _STORE_ATTR
  |  |12013|      0|            {
  |  |12014|  3.52k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  3.52k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  3.52k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  3.52k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12014:34): [True: 3.28k, False: 246]
  |  |  ------------------
  |  |12015|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12016|  3.28k|                _PyFrame_StackPointerValidate(frame);
  |  |12017|  3.28k|                int err = PyObject_SetAttr(PyStackRef_AsPyObjectBorrow(owner),
  |  |12018|  3.28k|                                       name, PyStackRef_AsPyObjectBorrow(v));
  |  |12019|  3.28k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12020|  3.28k|                stack_pointer += -1;
  |  |12021|  3.28k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.28k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12022|  3.28k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12023|  3.28k|                _PyFrame_StackPointerValidate(frame);
  |  |12024|  3.28k|                PyStackRef_CLOSE(owner);
  |  |12025|  3.28k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12026|  3.28k|                stack_pointer += -1;
  |  |12027|  3.28k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.28k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12028|  3.28k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12029|  3.28k|                _PyFrame_StackPointerValidate(frame);
  |  |12030|  3.28k|                PyStackRef_XCLOSE(v);
  |  |12031|  3.28k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12032|  3.28k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12032:21): [True: 0, False: 3.28k]
  |  |  ------------------
  |  |12033|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12034|      0|                }
  |  |12035|  3.28k|            }
  |  |12036|  3.28k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.28k|    { \
  |  |  |  |  201|  3.28k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.28k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.28k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.28k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.28k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.28k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.28k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.28k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.28k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.28k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.28k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.28k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.28k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.28k|    }
  |  |  ------------------
  |  |12037|  3.28k|        }
  |  |12038|       |
  |  |12039|  10.6k|        TARGET(STORE_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  10.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12040|       |            #if _Py_TAIL_CALL_INTERP
  |  |12041|       |            int opcode = STORE_ATTR_INSTANCE_VALUE;
  |  |12042|       |            (void)(opcode);
  |  |12043|       |            #endif
  |  |12044|  10.6k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12045|  10.6k|            (void)this_instr;
  |  |12046|  10.6k|            frame->instr_ptr = next_instr;
  |  |12047|  10.6k|            next_instr += 5;
  |  |12048|  10.6k|            INSTRUCTION_STATS(STORE_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|  10.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12049|  10.6k|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12050|  10.6k|            _PyStackRef value;
  |  |12051|  10.6k|            _PyStackRef owner;
  |  |12052|  10.6k|            _PyStackRef o;
  |  |12053|       |            /* Skip 1 cache entry */
  |  |12054|       |            // _LOCK_OBJECT
  |  |12055|  10.6k|            {
  |  |12056|  10.6k|                value = stack_pointer[-1];
  |  |12057|  10.6k|                if (!LOCK_OBJECT(PyStackRef_AsPyObjectBorrow(value))) {
  |  |  ------------------
  |  |  |  |  322|  10.6k|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12057:21): [Folded, False: 10.6k]
  |  |  ------------------
  |  |12058|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12059|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12059:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12060|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12061|      0|                }
  |  |12062|  10.6k|            }
  |  |12063|       |            // _GUARD_TYPE_VERSION_LOCKED
  |  |12064|  10.6k|            {
  |  |12065|  10.6k|                owner = value;
  |  |12066|  10.6k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12067|  10.6k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12068|  10.6k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12068:17): [True: 10.6k, False: 0]
  |  |  ------------------
  |  |12069|  10.6k|                PyTypeObject *tp = Py_TYPE(owner_o);
  |  |  ------------------
  |  |  |  |  213|  10.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12070|  10.6k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|  10.6k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12070:21): [True: 652, False: 10.0k]
  |  |  ------------------
  |  |12071|    652|                    UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|    652|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12072|    652|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12072:25): [True: 652, Folded]
  |  |  ------------------
  |  |12073|    652|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|    652|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12074|    652|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12074:25): [True: 652, False: 0]
  |  |  ------------------
  |  |12075|    652|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|    652|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12076|      0|                    }
  |  |12077|    652|                }
  |  |12078|  10.6k|            }
  |  |12079|       |            // _GUARD_DORV_NO_DICT
  |  |12080|  10.0k|            {
  |  |12081|  10.0k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12082|  10.0k|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (12082:17): [True: 10.0k, False: 0]
  |  |  ------------------
  |  |12083|  10.0k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (12083:17): [True: 10.0k, False: 0]
  |  |  ------------------
  |  |12084|  10.0k|                if (_PyObject_GetManagedDict(owner_o) ||
  |  |  ------------------
  |  |  |  Branch (12084:21): [True: 0, False: 10.0k]
  |  |  ------------------
  |  |12085|  10.0k|                    !FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  156|  10.0k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (12085:21): [True: 0, False: 10.0k]
  |  |  ------------------
  |  |12086|      0|                    UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12087|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12087:25): [True: 0, Folded]
  |  |  ------------------
  |  |12088|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12089|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12089:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12090|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12091|      0|                    }
  |  |12092|      0|                }
  |  |12093|  10.0k|            }
  |  |12094|       |            // _STORE_ATTR_INSTANCE_VALUE
  |  |12095|  10.0k|            {
  |  |12096|  10.0k|                value = stack_pointer[-2];
  |  |12097|  10.0k|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  |12098|  10.0k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12099|  10.0k|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  10.0k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12100|  10.0k|                assert(_PyObject_GetManagedDict(owner_o) == NULL);
  |  |  ------------------
  |  |  |  Branch (12100:17): [True: 10.0k, False: 0]
  |  |  ------------------
  |  |12101|  10.0k|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  |12102|  10.0k|                PyObject *old_value = *value_ptr;
  |  |12103|  10.0k|                FT_ATOMIC_STORE_PTR_RELEASE(*value_ptr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  166|  10.0k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12104|  10.0k|                if (old_value == NULL) {
  |  |  ------------------
  |  |  |  Branch (12104:21): [True: 8.12k, False: 1.89k]
  |  |  ------------------
  |  |12105|  8.12k|                    PyDictValues *values = _PyObject_InlineValues(owner_o);
  |  |12106|  8.12k|                    Py_ssize_t index = value_ptr - values->values;
  |  |12107|  8.12k|                    _PyDictValues_AddToInsertionOrder(values, index);
  |  |12108|  8.12k|                }
  |  |12109|  10.0k|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|  10.0k|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12110|  10.0k|                o = owner;
  |  |12111|  10.0k|                stack_pointer[-2] = o;
  |  |12112|  10.0k|                stack_pointer += -1;
  |  |12113|  10.0k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  10.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12114|  10.0k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12115|  10.0k|                _PyFrame_StackPointerValidate(frame);
  |  |12116|  10.0k|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|  10.0k|    do { \
  |  |  |  |   70|  10.0k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|  10.0k|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 1.89k, False: 8.12k]
  |  |  |  |  ------------------
  |  |  |  |   72|  1.89k|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|  1.89k|    do { \
  |  |  |  |  |  |   81|  1.89k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|  1.89k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|  1.89k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  1.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  1.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 1.36k, False: 531]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|  1.36k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|  1.36k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|  1.36k|            break; \
  |  |  |  |  |  |   85|  1.36k|        } \
  |  |  |  |  |  |   86|  1.89k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|    531|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|    531|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 509, False: 22]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|    509|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|    509|    do { \
  |  |  |  |  |  |  |  |  110|    509|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|    509|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 509]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|    509|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 509]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|    509|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|    509|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|    509|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|    509|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|    509|            (*dealloc)(op); \
  |  |  |  |  |  |   91|    509|        } \
  |  |  |  |  |  |   92|    531|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 531]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|  1.89k|        } \
  |  |  |  |   74|  10.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 10.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12117|  10.0k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12118|  10.0k|            }
  |  |12119|       |            // _POP_TOP
  |  |12120|      0|            {
  |  |12121|  10.0k|                value = o;
  |  |12122|  10.0k|                stack_pointer += -1;
  |  |12123|  10.0k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  10.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12124|  10.0k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12125|  10.0k|                _PyFrame_StackPointerValidate(frame);
  |  |12126|  10.0k|                PyStackRef_XCLOSE(value);
  |  |12127|  10.0k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12128|  10.0k|            }
  |  |12129|  10.0k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.0k|    { \
  |  |  |  |  201|  10.0k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  10.0k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  10.0k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  10.0k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  10.0k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  10.0k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  10.0k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  10.0k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 10.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.0k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.0k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.0k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.0k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.0k|    }
  |  |  ------------------
  |  |12130|  10.0k|        }
  |  |12131|       |
  |  |12132|    500|        TARGET(STORE_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|    500|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12133|       |            #if _Py_TAIL_CALL_INTERP
  |  |12134|       |            int opcode = STORE_ATTR_SLOT;
  |  |12135|       |            (void)(opcode);
  |  |12136|       |            #endif
  |  |12137|    500|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12138|    500|            (void)this_instr;
  |  |12139|    500|            frame->instr_ptr = next_instr;
  |  |12140|    500|            next_instr += 5;
  |  |12141|    500|            INSTRUCTION_STATS(STORE_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|    500|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12142|    500|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12143|    500|            _PyStackRef owner;
  |  |12144|    500|            _PyStackRef value;
  |  |12145|    500|            _PyStackRef o;
  |  |12146|       |            /* Skip 1 cache entry */
  |  |12147|       |            // _GUARD_TYPE_VERSION
  |  |12148|    500|            {
  |  |12149|    500|                owner = stack_pointer[-1];
  |  |12150|    500|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12151|    500|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|    500|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    500|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    500|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12152|    500|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12152:17): [True: 500, False: 0]
  |  |  ------------------
  |  |12153|    500|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    500|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12153:21): [True: 0, False: 500]
  |  |  ------------------
  |  |12154|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12155|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12155:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12156|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12157|      0|                }
  |  |12158|    500|            }
  |  |12159|       |            // _STORE_ATTR_SLOT
  |  |12160|    500|            {
  |  |12161|    500|                value = stack_pointer[-2];
  |  |12162|    500|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |12163|    500|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12164|    500|                if (!LOCK_OBJECT(owner_o)) {
  |  |  ------------------
  |  |  |  |  322|    500|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12164:21): [Folded, False: 500]
  |  |  ------------------
  |  |12165|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12166|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12166:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12167|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12168|      0|                }
  |  |12169|    500|                char *addr = (char *)owner_o + index;
  |  |12170|    500|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    500|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12171|    500|                PyObject *old_value = *(PyObject **)addr;
  |  |12172|    500|                FT_ATOMIC_STORE_PTR_RELEASE(*(PyObject **)addr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  166|    500|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12173|    500|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|    500|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12174|    500|                o = owner;
  |  |12175|    500|                stack_pointer[-2] = o;
  |  |12176|    500|                stack_pointer += -1;
  |  |12177|    500|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    500|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12178|    500|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12179|    500|                _PyFrame_StackPointerValidate(frame);
  |  |12180|    500|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|    500|    do { \
  |  |  |  |   70|    500|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    500|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    500|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|    500|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 0, False: 500]
  |  |  |  |  ------------------
  |  |  |  |   72|      0|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|      0|        } \
  |  |  |  |   74|    500|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 500]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12181|    500|                _PyFrame_StackPointerInvalidate(frame);
  |  |12182|    500|            }
  |  |12183|       |            // _POP_TOP
  |  |12184|      0|            {
  |  |12185|    500|                value = o;
  |  |12186|    500|                stack_pointer += -1;
  |  |12187|    500|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    500|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12188|    500|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12189|    500|                _PyFrame_StackPointerValidate(frame);
  |  |12190|    500|                PyStackRef_XCLOSE(value);
  |  |12191|    500|                _PyFrame_StackPointerInvalidate(frame);
  |  |12192|    500|            }
  |  |12193|    500|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    500|    { \
  |  |  |  |  201|    500|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    500|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    500|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    500|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    500|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    500|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    500|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    500|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 500]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    500|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    500|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    500|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    500|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    500|    }
  |  |  ------------------
  |  |12194|    500|        }
  |  |12195|       |
  |  |12196|      0|        TARGET(STORE_ATTR_WITH_HINT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12197|       |            #if _Py_TAIL_CALL_INTERP
  |  |12198|       |            int opcode = STORE_ATTR_WITH_HINT;
  |  |12199|       |            (void)(opcode);
  |  |12200|       |            #endif
  |  |12201|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12202|      0|            (void)this_instr;
  |  |12203|      0|            frame->instr_ptr = next_instr;
  |  |12204|      0|            next_instr += 5;
  |  |12205|      0|            INSTRUCTION_STATS(STORE_ATTR_WITH_HINT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12206|      0|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12207|      0|            _PyStackRef owner;
  |  |12208|      0|            _PyStackRef value;
  |  |12209|      0|            _PyStackRef o;
  |  |12210|       |            /* Skip 1 cache entry */
  |  |12211|       |            // _GUARD_TYPE_VERSION
  |  |12212|      0|            {
  |  |12213|      0|                owner = stack_pointer[-1];
  |  |12214|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12215|      0|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12216|      0|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12216:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12217|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12217:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12218|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12219|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12219:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12220|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12221|      0|                }
  |  |12222|      0|            }
  |  |12223|       |            // _STORE_ATTR_WITH_HINT
  |  |12224|      0|            {
  |  |12225|      0|                value = stack_pointer[-2];
  |  |12226|      0|                uint16_t hint = read_u16(&this_instr[4].cache);
  |  |12227|      0|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12228|      0|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  |  |  ------------------
  |  |  |  Branch (12228:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12229|      0|                PyDictObject *dict = _PyObject_GetManagedDict(owner_o);
  |  |12230|      0|                if (dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (12230:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12231|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12232|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12232:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12233|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12234|      0|                }
  |  |12235|      0|                if (!LOCK_OBJECT(dict)) {
  |  |  ------------------
  |  |  |  |  322|      0|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12235:21): [Folded, False: 0]
  |  |  ------------------
  |  |12236|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12237|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12237:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12238|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12239|      0|                }
  |  |12240|      0|                assert(PyDict_CheckExact((PyObject *)dict));
  |  |  ------------------
  |  |  |  Branch (12240:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12241|      0|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|      0|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12241:34): [True: 0, False: 0]
  |  |  ------------------
  |  |12242|      0|                if (hint >= (size_t)dict->ma_keys->dk_nentries ||
  |  |  ------------------
  |  |  |  Branch (12242:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12243|      0|                    dict->ma_keys->dk_kind != DICT_KEYS_UNICODE) {
  |  |  ------------------
  |  |  |  Branch (12243:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12244|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12245|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12245:25): [True: 0, Folded]
  |  |  ------------------
  |  |12246|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12247|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12247:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12248|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12249|      0|                    }
  |  |12250|      0|                }
  |  |12251|      0|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(dict->ma_keys) + hint;
  |  |12252|      0|                if (ep->me_key != name) {
  |  |  ------------------
  |  |  |  Branch (12252:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12253|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12254|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12254:25): [True: 0, Folded]
  |  |  ------------------
  |  |12255|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12256|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12256:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12257|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12258|      0|                    }
  |  |12259|      0|                }
  |  |12260|      0|                PyObject *old_value = ep->me_value;
  |  |12261|      0|                if (old_value == NULL) {
  |  |  ------------------
  |  |  |  Branch (12261:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12262|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12263|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12263:25): [True: 0, Folded]
  |  |  ------------------
  |  |12264|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12265|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |  ------------------
  |  |  |  Branch (12265:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12266|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12267|      0|                    }
  |  |12268|      0|                }
  |  |12269|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12270|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12271|      0|                _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, dict, name, PyStackRef_AsPyObjectBorrow(value));
  |  |12272|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12273|      0|                FT_ATOMIC_STORE_PTR_RELEASE(ep->me_value, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  166|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12274|      0|                UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12275|      0|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12276|      0|                o = owner;
  |  |12277|      0|                stack_pointer[-2] = o;
  |  |12278|      0|                stack_pointer += -1;
  |  |12279|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12280|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12281|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12282|      0|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|      0|    do { \
  |  |  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|      0|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   72|      0|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|      0|        } \
  |  |  |  |   74|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12283|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12284|      0|            }
  |  |12285|       |            // _POP_TOP
  |  |12286|      0|            {
  |  |12287|      0|                value = o;
  |  |12288|      0|                stack_pointer += -1;
  |  |12289|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12290|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12291|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12292|      0|                PyStackRef_XCLOSE(value);
  |  |12293|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12294|      0|            }
  |  |12295|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |12296|      0|        }
  |  |12297|       |
  |  |12298|    772|        TARGET(STORE_DEREF) {
  |  |  ------------------
  |  |  |  |  132|    772|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12299|       |            #if _Py_TAIL_CALL_INTERP
  |  |12300|       |            int opcode = STORE_DEREF;
  |  |12301|       |            (void)(opcode);
  |  |12302|       |            #endif
  |  |12303|    772|            frame->instr_ptr = next_instr;
  |  |12304|    772|            next_instr += 1;
  |  |12305|    772|            INSTRUCTION_STATS(STORE_DEREF);
  |  |  ------------------
  |  |  |  |   71|    772|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12306|    772|            _PyStackRef v;
  |  |12307|    772|            v = stack_pointer[-1];
  |  |12308|    772|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|    772|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12309|    772|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12310|    772|            _PyFrame_StackPointerValidate(frame);
  |  |12311|    772|            PyCell_SetTakeRef(cell, PyStackRef_AsPyObjectSteal(v));
  |  |12312|    772|            _PyFrame_StackPointerInvalidate(frame);
  |  |12313|    772|            stack_pointer += -1;
  |  |12314|    772|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    772|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12315|    772|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    772|    { \
  |  |  |  |  201|    772|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    772|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    772|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    772|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    772|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    772|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    772|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    772|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 772]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    772|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    772|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    772|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    772|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    772|    }
  |  |  ------------------
  |  |12316|    772|        }
  |  |12317|       |
  |  |12318|  54.1k|        TARGET(STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  54.1k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12319|       |            #if _Py_TAIL_CALL_INTERP
  |  |12320|       |            int opcode = STORE_FAST;
  |  |12321|       |            (void)(opcode);
  |  |12322|       |            #endif
  |  |12323|  54.1k|            frame->instr_ptr = next_instr;
  |  |12324|  54.1k|            next_instr += 1;
  |  |12325|  54.1k|            INSTRUCTION_STATS(STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|  54.1k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12326|  54.1k|            _PyStackRef value;
  |  |12327|  54.1k|            _PyStackRef trash;
  |  |12328|       |            // _SWAP_FAST
  |  |12329|  54.1k|            {
  |  |12330|  54.1k|                value = stack_pointer[-1];
  |  |12331|  54.1k|                _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  54.1k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12332|  54.1k|                GETLOCAL(oparg) = value;
  |  |  ------------------
  |  |  |  |  285|  54.1k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12333|  54.1k|                trash = tmp;
  |  |12334|  54.1k|            }
  |  |12335|       |            // _POP_TOP
  |  |12336|  54.1k|            {
  |  |12337|  54.1k|                value = trash;
  |  |12338|  54.1k|                stack_pointer += -1;
  |  |12339|  54.1k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  54.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12340|  54.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12341|  54.1k|                _PyFrame_StackPointerValidate(frame);
  |  |12342|  54.1k|                PyStackRef_XCLOSE(value);
  |  |12343|  54.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12344|  54.1k|            }
  |  |12345|  54.1k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  54.1k|    { \
  |  |  |  |  201|  54.1k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  54.1k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  54.1k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  54.1k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  54.1k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  54.1k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  54.1k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  54.1k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 54.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  54.1k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  54.1k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  54.1k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  54.1k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  54.1k|    }
  |  |  ------------------
  |  |12346|  54.1k|        }
  |  |12347|       |
  |  |12348|  54.1k|        TARGET(STORE_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|    754|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12349|       |            #if _Py_TAIL_CALL_INTERP
  |  |12350|       |            int opcode = STORE_FAST_LOAD_FAST;
  |  |12351|       |            (void)(opcode);
  |  |12352|       |            #endif
  |  |12353|    754|            frame->instr_ptr = next_instr;
  |  |12354|    754|            next_instr += 1;
  |  |12355|    754|            INSTRUCTION_STATS(STORE_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|    754|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12356|    754|            _PyStackRef value1;
  |  |12357|    754|            _PyStackRef value2;
  |  |12358|    754|            value1 = stack_pointer[-1];
  |  |12359|    754|            uint32_t oparg1 = oparg >> 4;
  |  |12360|    754|            uint32_t oparg2 = oparg & 15;
  |  |12361|    754|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  285|    754|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12362|    754|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  285|    754|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12363|    754|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|    754|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12364|    754|            stack_pointer[-1] = value2;
  |  |12365|    754|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12366|    754|            _PyFrame_StackPointerValidate(frame);
  |  |12367|    754|            PyStackRef_XCLOSE(tmp);
  |  |12368|    754|            _PyFrame_StackPointerInvalidate(frame);
  |  |12369|    754|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    754|    { \
  |  |  |  |  201|    754|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    754|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    754|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    754|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    754|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    754|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    754|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    754|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 754]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    754|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    754|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    754|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    754|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    754|    }
  |  |  ------------------
  |  |12370|    754|        }
  |  |12371|       |
  |  |12372|  4.09k|        TARGET(STORE_FAST_STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  4.09k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12373|       |            #if _Py_TAIL_CALL_INTERP
  |  |12374|       |            int opcode = STORE_FAST_STORE_FAST;
  |  |12375|       |            (void)(opcode);
  |  |12376|       |            #endif
  |  |12377|  4.09k|            frame->instr_ptr = next_instr;
  |  |12378|  4.09k|            next_instr += 1;
  |  |12379|  4.09k|            INSTRUCTION_STATS(STORE_FAST_STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|  4.09k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12380|  4.09k|            _PyStackRef value2;
  |  |12381|  4.09k|            _PyStackRef value1;
  |  |12382|  4.09k|            value1 = stack_pointer[-1];
  |  |12383|  4.09k|            value2 = stack_pointer[-2];
  |  |12384|  4.09k|            uint32_t oparg1 = oparg >> 4;
  |  |12385|  4.09k|            uint32_t oparg2 = oparg & 15;
  |  |12386|  4.09k|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  285|  4.09k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12387|  4.09k|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  285|  4.09k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12388|  4.09k|            stack_pointer += -1;
  |  |12389|  4.09k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.09k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12390|  4.09k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12391|  4.09k|            _PyFrame_StackPointerValidate(frame);
  |  |12392|  4.09k|            PyStackRef_XCLOSE(tmp);
  |  |12393|  4.09k|            _PyFrame_StackPointerInvalidate(frame);
  |  |12394|  4.09k|            tmp = GETLOCAL(oparg2);
  |  |  ------------------
  |  |  |  |  285|  4.09k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12395|  4.09k|            GETLOCAL(oparg2) = value2;
  |  |  ------------------
  |  |  |  |  285|  4.09k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12396|  4.09k|            stack_pointer += -1;
  |  |12397|  4.09k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.09k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12398|  4.09k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12399|  4.09k|            _PyFrame_StackPointerValidate(frame);
  |  |12400|  4.09k|            PyStackRef_XCLOSE(tmp);
  |  |12401|  4.09k|            _PyFrame_StackPointerInvalidate(frame);
  |  |12402|  4.09k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.09k|    { \
  |  |  |  |  201|  4.09k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.09k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.09k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.09k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.09k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.09k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.09k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.09k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.09k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.09k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.09k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.09k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.09k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.09k|    }
  |  |  ------------------
  |  |12403|  4.09k|        }
  |  |12404|       |
  |  |12405|  4.09k|        TARGET(STORE_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|     44|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12406|       |            #if _Py_TAIL_CALL_INTERP
  |  |12407|       |            int opcode = STORE_GLOBAL;
  |  |12408|       |            (void)(opcode);
  |  |12409|       |            #endif
  |  |12410|     44|            frame->instr_ptr = next_instr;
  |  |12411|     44|            next_instr += 1;
  |  |12412|     44|            INSTRUCTION_STATS(STORE_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|     44|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12413|     44|            _PyStackRef v;
  |  |12414|     44|            v = stack_pointer[-1];
  |  |12415|     44|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|     44|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   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 (12415:30): [True: 44, False: 0]
  |  |  ------------------
  |  |12416|      0|            int err;
  |  |12417|     44|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|     44|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     44|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     44|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12418|      0|                stack_pointer += -1;
  |  |12419|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12420|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12421|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12422|      0|                err = PyDict_Pop(GLOBALS(), name, NULL);
  |  |  ------------------
  |  |  |  |  326|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |12423|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12424|      0|                if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (12424:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12425|      0|                    err = -1;
  |  |12426|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12426:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12427|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |12428|      0|                    _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
  |  |12429|      0|                        NAME_ERROR_MSG, name);
  |  |  ------------------
  |  |  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  |12430|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12431|      0|                }
  |  |12432|      0|            }
  |  |12433|     44|            else {
  |  |12434|     44|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12435|     44|                _PyFrame_StackPointerValidate(frame);
  |  |12436|     44|                err = PyDict_SetItem(GLOBALS(), name, PyStackRef_AsPyObjectBorrow(v));
  |  |  ------------------
  |  |  |  |  326|     44|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |12437|     44|                _PyFrame_StackPointerInvalidate(frame);
  |  |12438|     44|                stack_pointer += -1;
  |  |12439|     44|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     44|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12440|     44|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12441|     44|                _PyFrame_StackPointerValidate(frame);
  |  |12442|     44|                PyStackRef_CLOSE(v);
  |  |12443|     44|                _PyFrame_StackPointerInvalidate(frame);
  |  |12444|     44|            }
  |  |12445|     44|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (12445:17): [True: 0, False: 44]
  |  |  ------------------
  |  |12446|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12447|      0|            }
  |  |12448|     44|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     44|    { \
  |  |  |  |  201|     44|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     44|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     44|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     44|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     44|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     44|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     44|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     44|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 44]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     44|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     44|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     44|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     44|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     44|    }
  |  |  ------------------
  |  |12449|     44|        }
  |  |12450|       |
  |  |12451|  8.53k|        TARGET(STORE_NAME) {
  |  |  ------------------
  |  |  |  |  132|  8.53k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12452|       |            #if _Py_TAIL_CALL_INTERP
  |  |12453|       |            int opcode = STORE_NAME;
  |  |12454|       |            (void)(opcode);
  |  |12455|       |            #endif
  |  |12456|  8.53k|            frame->instr_ptr = next_instr;
  |  |12457|  8.53k|            next_instr += 1;
  |  |12458|  8.53k|            INSTRUCTION_STATS(STORE_NAME);
  |  |  ------------------
  |  |  |  |   71|  8.53k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12459|  8.53k|            _PyStackRef v;
  |  |12460|  8.53k|            v = stack_pointer[-1];
  |  |12461|  8.53k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  8.53k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  8.53k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  8.53k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12461:30): [True: 8.53k, False: 0]
  |  |  ------------------
  |  |12462|  8.53k|            PyObject *ns = LOCALS();
  |  |  ------------------
  |  |  |  |  328|  8.53k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |12463|  8.53k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12464|  8.53k|            _PyFrame_StackPointerValidate(frame);
  |  |12465|  8.53k|            int error = _PyEval_StoreName(tstate, v, name, ns);
  |  |12466|  8.53k|            _PyFrame_StackPointerInvalidate(frame);
  |  |12467|  8.53k|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|  8.53k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  8.53k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  8.53k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 33, False: 8.50k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12468|     33|            }
  |  |12469|  8.50k|            else {
  |  |12470|  8.50k|                stack_pointer += -1;
  |  |12471|  8.50k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  8.50k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12472|  8.50k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12473|  8.50k|                _PyFrame_StackPointerValidate(frame);
  |  |12474|  8.50k|                PyStackRef_CLOSE(v);
  |  |12475|  8.50k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12476|  8.50k|                stack_pointer += 1;
  |  |12477|  8.50k|            }
  |  |12478|  8.53k|            if (error) {
  |  |  ------------------
  |  |  |  Branch (12478:17): [True: 0, False: 8.53k]
  |  |  ------------------
  |  |12479|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12480|      0|            }
  |  |12481|  8.53k|            stack_pointer += -1;
  |  |12482|  8.53k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  8.53k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12483|  8.53k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.53k|    { \
  |  |  |  |  201|  8.53k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  8.53k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  8.53k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  8.53k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  8.53k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  8.53k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  8.53k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  8.53k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 8.53k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.53k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.53k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.53k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.53k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.53k|    }
  |  |  ------------------
  |  |12484|  8.53k|        }
  |  |12485|       |
  |  |12486|      0|        TARGET(STORE_SLICE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12487|       |            #if _Py_TAIL_CALL_INTERP
  |  |12488|       |            int opcode = STORE_SLICE;
  |  |12489|       |            (void)(opcode);
  |  |12490|       |            #endif
  |  |12491|      0|            frame->instr_ptr = next_instr;
  |  |12492|      0|            next_instr += 1;
  |  |12493|      0|            INSTRUCTION_STATS(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12494|      0|            _PyStackRef v;
  |  |12495|      0|            _PyStackRef container;
  |  |12496|      0|            _PyStackRef start;
  |  |12497|      0|            _PyStackRef stop;
  |  |12498|       |            // _SPECIALIZE_STORE_SLICE
  |  |12499|      0|            {
  |  |12500|      0|                #if ENABLE_SPECIALIZATION
  |  |12501|      0|                OPCODE_DEFERRED_INC(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   90|      0|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12502|      0|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12503|      0|            }
  |  |12504|       |            // _STORE_SLICE
  |  |12505|      0|            {
  |  |12506|      0|                stop = stack_pointer[-1];
  |  |12507|      0|                start = stack_pointer[-2];
  |  |12508|      0|                container = stack_pointer[-3];
  |  |12509|      0|                v = stack_pointer[-4];
  |  |12510|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12511|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12512|      0|                PyObject *slice = _PyBuildSlice_ConsumeRefs(PyStackRef_AsPyObjectSteal(start),
  |  |12513|      0|                    PyStackRef_AsPyObjectSteal(stop),
  |  |12514|      0|                    Py_None);
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  |  |12515|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12516|      0|                int err;
  |  |12517|      0|                if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (12517:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12518|      0|                    err = 1;
  |  |12519|      0|                }
  |  |12520|      0|                else {
  |  |12521|      0|                    stack_pointer += -2;
  |  |12522|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12523|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12524|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |12525|      0|                    err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), slice, PyStackRef_AsPyObjectBorrow(v));
  |  |12526|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12527|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12527:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12528|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |12529|      0|                    Py_DECREF(slice);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12530|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12531|      0|                    stack_pointer += 2;
  |  |12532|      0|                }
  |  |12533|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12534|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12535|      0|                _PyStackRef tmp = container;
  |  |12536|      0|                container = PyStackRef_NULL;
  |  |12537|      0|                stack_pointer[-3] = container;
  |  |12538|      0|                PyStackRef_CLOSE(tmp);
  |  |12539|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12540|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12540:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12541|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12542|      0|                tmp = v;
  |  |12543|      0|                v = PyStackRef_NULL;
  |  |12544|      0|                stack_pointer[-4] = v;
  |  |12545|      0|                PyStackRef_CLOSE(tmp);
  |  |12546|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12547|      0|                stack_pointer += -4;
  |  |12548|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12549|      0|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12549:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12550|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12551|      0|                }
  |  |12552|      0|            }
  |  |12553|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |12554|      0|        }
  |  |12555|       |
  |  |12556|    244|        TARGET(STORE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|    244|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12557|       |            #if _Py_TAIL_CALL_INTERP
  |  |12558|       |            int opcode = STORE_SUBSCR;
  |  |12559|       |            (void)(opcode);
  |  |12560|       |            #endif
  |  |12561|    244|            frame->instr_ptr = next_instr;
  |  |12562|    244|            next_instr += 2;
  |  |12563|    244|            INSTRUCTION_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|    244|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12564|    244|            PREDICTED_STORE_SUBSCR:;
  |  |12565|    244|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |12566|    244|            (void)this_instr;
  |  |12567|    244|            _PyStackRef container;
  |  |12568|    244|            _PyStackRef sub;
  |  |12569|    244|            _PyStackRef v;
  |  |12570|       |            // _SPECIALIZE_STORE_SUBSCR
  |  |12571|    244|            {
  |  |12572|    244|                sub = stack_pointer[-1];
  |  |12573|    244|                container = stack_pointer[-2];
  |  |12574|    244|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12575|    244|                (void)counter;
  |  |12576|    244|                #if ENABLE_SPECIALIZATION
  |  |12577|    244|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    244|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 68, False: 176]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12578|     68|                    next_instr = this_instr;
  |  |12579|     68|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12580|     68|                    _PyFrame_StackPointerValidate(frame);
  |  |12581|     68|                    _Py_Specialize_StoreSubscr(container, sub, next_instr);
  |  |12582|     68|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12583|     68|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     68|    { \
  |  |  |  |  217|     68|        opcode = next_instr->op.code; \
  |  |  |  |  218|     68|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     68|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     68|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     68|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     68|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     68|    }
  |  |  ------------------
  |  |12584|     68|                }
  |  |12585|    244|                OPCODE_DEFERRED_INC(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   90|    244|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12586|    244|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    244|    do { \
  |  |  |  |  378|    244|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    244|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 244]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12587|    244|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12588|    244|            }
  |  |12589|       |            // _STORE_SUBSCR
  |  |12590|    244|            {
  |  |12591|    244|                v = stack_pointer[-3];
  |  |12592|    244|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12593|    244|                _PyFrame_StackPointerValidate(frame);
  |  |12594|    244|                int err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), PyStackRef_AsPyObjectBorrow(sub), PyStackRef_AsPyObjectBorrow(v));
  |  |12595|    244|                _PyFrame_StackPointerInvalidate(frame);
  |  |12596|    244|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12596:17): [True: 176, False: 68]
  |  |  ------------------
  |  |12597|    176|                _PyFrame_StackPointerValidate(frame);
  |  |12598|    176|                _PyStackRef tmp = sub;
  |  |12599|    176|                sub = PyStackRef_NULL;
  |  |12600|    176|                stack_pointer[-1] = sub;
  |  |12601|    176|                PyStackRef_CLOSE(tmp);
  |  |12602|    176|                _PyFrame_StackPointerInvalidate(frame);
  |  |12603|    176|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12603:17): [True: 176, False: 0]
  |  |  ------------------
  |  |12604|    176|                _PyFrame_StackPointerValidate(frame);
  |  |12605|    176|                tmp = container;
  |  |12606|    176|                container = PyStackRef_NULL;
  |  |12607|    176|                stack_pointer[-2] = container;
  |  |12608|    176|                PyStackRef_CLOSE(tmp);
  |  |12609|    176|                _PyFrame_StackPointerInvalidate(frame);
  |  |12610|    176|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12610:17): [True: 176, False: 0]
  |  |  ------------------
  |  |12611|    176|                _PyFrame_StackPointerValidate(frame);
  |  |12612|    176|                tmp = v;
  |  |12613|    176|                v = PyStackRef_NULL;
  |  |12614|    176|                stack_pointer[-3] = v;
  |  |12615|    176|                PyStackRef_CLOSE(tmp);
  |  |12616|    176|                _PyFrame_StackPointerInvalidate(frame);
  |  |12617|    176|                stack_pointer += -3;
  |  |12618|    176|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    176|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12619|    176|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12619:21): [True: 0, False: 176]
  |  |  ------------------
  |  |12620|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12621|      0|                }
  |  |12622|    176|            }
  |  |12623|    176|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    176|    { \
  |  |  |  |  201|    176|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    176|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    176|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    176|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    176|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    176|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    176|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    176|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 176]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    176|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    176|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    176|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    176|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    176|    }
  |  |  ------------------
  |  |12624|    176|        }
  |  |12625|       |
  |  |12626|  2.09k|        TARGET(STORE_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|  2.09k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12627|       |            #if _Py_TAIL_CALL_INTERP
  |  |12628|       |            int opcode = STORE_SUBSCR_DICT;
  |  |12629|       |            (void)(opcode);
  |  |12630|       |            #endif
  |  |12631|  2.09k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12632|  2.09k|            (void)this_instr;
  |  |12633|  2.09k|            frame->instr_ptr = next_instr;
  |  |12634|  2.09k|            next_instr += 2;
  |  |12635|  2.09k|            INSTRUCTION_STATS(STORE_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|  2.09k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12636|  2.09k|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12637|  2.09k|            _PyStackRef nos;
  |  |12638|  2.09k|            _PyStackRef value;
  |  |12639|  2.09k|            _PyStackRef dict_st;
  |  |12640|  2.09k|            _PyStackRef sub;
  |  |12641|  2.09k|            _PyStackRef st;
  |  |12642|       |            // _GUARD_NOS_DICT_STORE_SUBSCRIPT
  |  |12643|  2.09k|            {
  |  |12644|  2.09k|                nos = stack_pointer[-2];
  |  |12645|  2.09k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12646|  2.09k|                if (!Py_TYPE(o)->tp_as_mapping) {
  |  |  ------------------
  |  |  |  |  213|  2.09k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12646:21): [True: 0, False: 2.09k]
  |  |  ------------------
  |  |12647|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12648|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12648:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12649|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12650|      0|                }
  |  |12651|  2.09k|                if (Py_TYPE(o)->tp_as_mapping->mp_ass_subscript != _PyDict_StoreSubscript) {
  |  |  ------------------
  |  |  |  |  213|  2.09k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12651:21): [True: 0, False: 2.09k]
  |  |  ------------------
  |  |12652|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12653|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12653:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12654|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12655|      0|                }
  |  |12656|  2.09k|            }
  |  |12657|       |            /* Skip 1 cache entry */
  |  |12658|       |            // _STORE_SUBSCR_DICT
  |  |12659|  2.09k|            {
  |  |12660|  2.09k|                sub = stack_pointer[-1];
  |  |12661|  2.09k|                dict_st = nos;
  |  |12662|  2.09k|                value = stack_pointer[-3];
  |  |12663|  2.09k|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |12664|  2.09k|                assert(Py_TYPE(dict)->tp_as_mapping->mp_ass_subscript == _PyDict_StoreSubscript);
  |  |  ------------------
  |  |  |  Branch (12664:17): [True: 2.09k, False: 0]
  |  |  ------------------
  |  |12665|  2.09k|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|  2.09k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12666|  2.09k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12667|  2.09k|                _PyFrame_StackPointerValidate(frame);
  |  |12668|  2.09k|                int err = _PyDict_SetItem_Take2((PyDictObject *)dict,
  |  |12669|  2.09k|                    PyStackRef_AsPyObjectSteal(sub),
  |  |12670|  2.09k|                    PyStackRef_AsPyObjectSteal(value));
  |  |12671|  2.09k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12672|  2.09k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12672:21): [True: 0, False: 2.09k]
  |  |  ------------------
  |  |12673|      0|                    stack_pointer += -3;
  |  |12674|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12675|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12676|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |12677|      0|                    PyStackRef_CLOSE(dict_st);
  |  |12678|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12679|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12680|      0|                }
  |  |12681|  2.09k|                st = dict_st;
  |  |12682|  2.09k|            }
  |  |12683|       |            // _POP_TOP
  |  |12684|      0|            {
  |  |12685|  2.09k|                value = st;
  |  |12686|  2.09k|                stack_pointer += -3;
  |  |12687|  2.09k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.09k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12688|  2.09k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12689|  2.09k|                _PyFrame_StackPointerValidate(frame);
  |  |12690|  2.09k|                PyStackRef_XCLOSE(value);
  |  |12691|  2.09k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12692|  2.09k|            }
  |  |12693|  2.09k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.09k|    { \
  |  |  |  |  201|  2.09k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.09k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.09k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.09k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.09k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.09k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.09k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.09k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.09k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.09k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.09k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.09k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.09k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.09k|    }
  |  |  ------------------
  |  |12694|  2.09k|        }
  |  |12695|       |
  |  |12696|     27|        TARGET(STORE_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|     27|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12697|       |            #if _Py_TAIL_CALL_INTERP
  |  |12698|       |            int opcode = STORE_SUBSCR_LIST_INT;
  |  |12699|       |            (void)(opcode);
  |  |12700|       |            #endif
  |  |12701|     27|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12702|     27|            (void)this_instr;
  |  |12703|     27|            frame->instr_ptr = next_instr;
  |  |12704|     27|            next_instr += 2;
  |  |12705|     27|            INSTRUCTION_STATS(STORE_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|     27|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12706|     27|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12707|     27|            _PyStackRef value;
  |  |12708|     27|            _PyStackRef nos;
  |  |12709|     27|            _PyStackRef list_st;
  |  |12710|     27|            _PyStackRef sub_st;
  |  |12711|     27|            _PyStackRef ls;
  |  |12712|     27|            _PyStackRef ss;
  |  |12713|       |            // _GUARD_TOS_INT
  |  |12714|     27|            {
  |  |12715|     27|                value = stack_pointer[-1];
  |  |12716|     27|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12717|     27|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (12717:21): [True: 0, False: 27]
  |  |  ------------------
  |  |12718|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12719|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12719:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12720|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12721|      0|                }
  |  |12722|     27|            }
  |  |12723|       |            // _GUARD_NOS_LIST
  |  |12724|     27|            {
  |  |12725|     27|                nos = stack_pointer[-2];
  |  |12726|     27|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12727|     27|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|     27|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_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 (12727:21): [True: 0, False: 27]
  |  |  ------------------
  |  |12728|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12729|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12729:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12730|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12731|      0|                }
  |  |12732|     27|            }
  |  |12733|       |            /* Skip 1 cache entry */
  |  |12734|       |            // _STORE_SUBSCR_LIST_INT
  |  |12735|     27|            {
  |  |12736|     27|                sub_st = value;
  |  |12737|     27|                list_st = nos;
  |  |12738|     27|                value = stack_pointer[-3];
  |  |12739|     27|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |12740|     27|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |12741|     27|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (12741:17): [True: 27, False: 0]
  |  |  ------------------
  |  |12742|     27|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (12742:17): [True: 27, False: 0]
  |  |  ------------------
  |  |12743|     27|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |12744|     27|                if (!LOCK_OBJECT(list)) {
  |  |  ------------------
  |  |  |  |  322|     27|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12744:21): [Folded, False: 27]
  |  |  ------------------
  |  |12745|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12746|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12746:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12747|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12748|      0|                }
  |  |12749|     27|                Py_ssize_t len = PyList_GET_SIZE(list);
  |  |  ------------------
  |  |  |  |   38|     27|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12750|     27|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (12750:21): [True: 0, False: 27]
  |  |  ------------------
  |  |12751|      0|                    index += len;
  |  |12752|      0|                }
  |  |12753|     27|                if (index < 0 || index >= len) {
  |  |  ------------------
  |  |  |  Branch (12753:21): [True: 0, False: 27]
  |  |  |  Branch (12753:34): [True: 0, False: 27]
  |  |  ------------------
  |  |12754|      0|                    UNLOCK_OBJECT(list);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12755|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12755:25): [True: 0, Folded]
  |  |  ------------------
  |  |12756|      0|                        UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12757|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |  ------------------
  |  |  |  Branch (12757:25): [True: 0, False: 0]
  |  |  ------------------
  |  |12758|      0|                        JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12759|      0|                    }
  |  |12760|      0|                }
  |  |12761|     27|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|     27|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12762|     27|                PyObject *old_value = PyList_GET_ITEM(list, index);
  |  |  ------------------
  |  |  |  |   40|     27|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     27|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12762:39): [True: 27, False: 0]
  |  |  ------------------
  |  |12763|     27|                FT_ATOMIC_STORE_PTR_RELEASE(_PyList_ITEMS(list)[index],
  |  |  ------------------
  |  |  |  |  166|     54|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (166:55): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12764|     27|                                        PyStackRef_AsPyObjectSteal(value));
  |  |12765|     27|                assert(old_value != NULL);
  |  |  ------------------
  |  |  |  Branch (12765:17): [True: 27, False: 0]
  |  |  ------------------
  |  |12766|     27|                UNLOCK_OBJECT(list);
  |  |  ------------------
  |  |  |  |  323|     27|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12767|     27|                ls = list_st;
  |  |12768|     27|                ss = sub_st;
  |  |12769|     27|                stack_pointer[-3] = ls;
  |  |12770|     27|                stack_pointer[-2] = ss;
  |  |12771|     27|                stack_pointer += -1;
  |  |12772|     27|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     27|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12773|     27|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12774|     27|                _PyFrame_StackPointerValidate(frame);
  |  |12775|     27|                Py_DECREF(old_value);
  |  |  ------------------
  |  |  |  |   80|     27|    do { \
  |  |  |  |   81|     27|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     27|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     27|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 27, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|     27|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|     27|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|     27|            break; \
  |  |  |  |   85|     27|        } \
  |  |  |  |   86|     27|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12776|     27|                _PyFrame_StackPointerInvalidate(frame);
  |  |12777|     27|            }
  |  |12778|       |            // _POP_TOP_INT
  |  |12779|      0|            {
  |  |12780|     27|                value = ss;
  |  |12781|     27|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (12781:17): [True: 27, False: 0]
  |  |  ------------------
  |  |12782|     27|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |12783|     27|            }
  |  |12784|       |            // _POP_TOP
  |  |12785|      0|            {
  |  |12786|     27|                value = ls;
  |  |12787|     27|                stack_pointer += -2;
  |  |12788|     27|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     27|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12789|     27|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12790|     27|                _PyFrame_StackPointerValidate(frame);
  |  |12791|     27|                PyStackRef_XCLOSE(value);
  |  |12792|     27|                _PyFrame_StackPointerInvalidate(frame);
  |  |12793|     27|            }
  |  |12794|     27|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     27|    { \
  |  |  |  |  201|     27|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     27|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     27|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     27|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     27|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     27|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     27|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     27|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 27]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     27|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     27|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     27|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     27|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     27|    }
  |  |  ------------------
  |  |12795|     27|        }
  |  |12796|       |
  |  |12797|  17.2k|        TARGET(SWAP) {
  |  |  ------------------
  |  |  |  |  132|  17.2k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12798|       |            #if _Py_TAIL_CALL_INTERP
  |  |12799|       |            int opcode = SWAP;
  |  |12800|       |            (void)(opcode);
  |  |12801|       |            #endif
  |  |12802|  17.2k|            frame->instr_ptr = next_instr;
  |  |12803|  17.2k|            next_instr += 1;
  |  |12804|  17.2k|            INSTRUCTION_STATS(SWAP);
  |  |  ------------------
  |  |  |  |   71|  17.2k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12805|  17.2k|            _PyStackRef bottom;
  |  |12806|  17.2k|            _PyStackRef top;
  |  |12807|  17.2k|            top = stack_pointer[-1];
  |  |12808|  17.2k|            bottom = stack_pointer[-2 - (oparg-2)];
  |  |12809|  17.2k|            _PyStackRef temp = bottom;
  |  |12810|  17.2k|            bottom = top;
  |  |12811|  17.2k|            top = temp;
  |  |12812|  17.2k|            stack_pointer[-2 - (oparg-2)] = bottom;
  |  |12813|  17.2k|            stack_pointer[-1] = top;
  |  |12814|  17.2k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  17.2k|    { \
  |  |  |  |  201|  17.2k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  17.2k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  17.2k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  17.2k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  17.2k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  17.2k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  17.2k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  17.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 17.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  17.2k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  17.2k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  17.2k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  17.2k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  17.2k|    }
  |  |  ------------------
  |  |12815|  17.2k|        }
  |  |12816|       |
  |  |12817|  17.2k|        TARGET(TO_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  1.45k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12818|       |            #if _Py_TAIL_CALL_INTERP
  |  |12819|       |            int opcode = TO_BOOL;
  |  |12820|       |            (void)(opcode);
  |  |12821|       |            #endif
  |  |12822|  1.45k|            frame->instr_ptr = next_instr;
  |  |12823|  1.45k|            next_instr += 4;
  |  |12824|  1.45k|            INSTRUCTION_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |   71|  1.45k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12825|  1.77k|            PREDICTED_TO_BOOL:;
  |  |12826|  1.77k|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  |12827|  1.77k|            (void)this_instr;
  |  |12828|  1.77k|            _PyStackRef value;
  |  |12829|  1.77k|            _PyStackRef res;
  |  |12830|       |            // _SPECIALIZE_TO_BOOL
  |  |12831|  1.77k|            {
  |  |12832|  1.77k|                value = stack_pointer[-1];
  |  |12833|  1.77k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12834|  1.77k|                (void)counter;
  |  |12835|  1.77k|                #if ENABLE_SPECIALIZATION
  |  |12836|  1.77k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  1.77k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 298, False: 1.47k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12837|    298|                    next_instr = this_instr;
  |  |12838|    298|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12839|    298|                    _PyFrame_StackPointerValidate(frame);
  |  |12840|    298|                    _Py_Specialize_ToBool(value, next_instr);
  |  |12841|    298|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12842|    298|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    298|    { \
  |  |  |  |  217|    298|        opcode = next_instr->op.code; \
  |  |  |  |  218|    298|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    298|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    298|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    298|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    298|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    298|    }
  |  |  ------------------
  |  |12843|    298|                }
  |  |12844|  1.77k|                OPCODE_DEFERRED_INC(TO_BOOL);
  |  |  ------------------
  |  |  |  |   90|  1.77k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12845|  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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12846|  1.77k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12847|  1.77k|            }
  |  |12848|       |            /* Skip 2 cache entries */
  |  |12849|       |            // _TO_BOOL
  |  |12850|  1.77k|            {
  |  |12851|  1.77k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12852|  1.77k|                _PyFrame_StackPointerValidate(frame);
  |  |12853|  1.77k|                int err = PyObject_IsTrue(PyStackRef_AsPyObjectBorrow(value));
  |  |12854|  1.77k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12855|  1.77k|                stack_pointer += -1;
  |  |12856|  1.77k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.77k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12857|  1.77k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12858|  1.77k|                _PyFrame_StackPointerValidate(frame);
  |  |12859|  1.77k|                PyStackRef_CLOSE(value);
  |  |12860|  1.77k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12861|  1.77k|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (12861:21): [True: 0, False: 1.77k]
  |  |  ------------------
  |  |12862|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12863|      0|                }
  |  |12864|  1.77k|                res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    549|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    549|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.99k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.22k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12864:23): [True: 549, False: 1.22k]
  |  |  ------------------
  |  |12865|  1.77k|            }
  |  |12866|      0|            stack_pointer[0] = res;
  |  |12867|  1.77k|            stack_pointer += 1;
  |  |12868|  1.77k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.77k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12869|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  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|    }
  |  |  ------------------
  |  |12870|  1.77k|        }
  |  |12871|       |
  |  |12872|     50|        TARGET(TO_BOOL_ALWAYS_TRUE) {
  |  |  ------------------
  |  |  |  |  132|     50|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12873|       |            #if _Py_TAIL_CALL_INTERP
  |  |12874|       |            int opcode = TO_BOOL_ALWAYS_TRUE;
  |  |12875|       |            (void)(opcode);
  |  |12876|       |            #endif
  |  |12877|     50|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12878|     50|            (void)this_instr;
  |  |12879|     50|            frame->instr_ptr = next_instr;
  |  |12880|     50|            next_instr += 4;
  |  |12881|     50|            INSTRUCTION_STATS(TO_BOOL_ALWAYS_TRUE);
  |  |  ------------------
  |  |  |  |   71|     50|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12882|     50|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12883|     50|            _PyStackRef owner;
  |  |12884|     50|            _PyStackRef value;
  |  |12885|     50|            _PyStackRef res;
  |  |12886|     50|            _PyStackRef v;
  |  |12887|       |            /* Skip 1 cache entry */
  |  |12888|       |            // _GUARD_TYPE_VERSION
  |  |12889|     50|            {
  |  |12890|     50|                owner = stack_pointer[-1];
  |  |12891|     50|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12892|     50|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|     50|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12893|     50|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12893:17): [True: 50, False: 0]
  |  |  ------------------
  |  |12894|     50|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|     50|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12894:21): [True: 0, False: 50]
  |  |  ------------------
  |  |12895|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12896|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12896:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12897|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12898|      0|                }
  |  |12899|     50|            }
  |  |12900|       |            // _REPLACE_WITH_TRUE
  |  |12901|     50|            {
  |  |12902|     50|                value = owner;
  |  |12903|     50|                res = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|     50|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     50|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12904|     50|                v = value;
  |  |12905|     50|            }
  |  |12906|       |            // _POP_TOP
  |  |12907|     50|            {
  |  |12908|     50|                value = v;
  |  |12909|     50|                stack_pointer[-1] = res;
  |  |12910|     50|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12911|     50|                _PyFrame_StackPointerValidate(frame);
  |  |12912|     50|                PyStackRef_XCLOSE(value);
  |  |12913|     50|                _PyFrame_StackPointerInvalidate(frame);
  |  |12914|     50|            }
  |  |12915|     50|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     50|    { \
  |  |  |  |  201|     50|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     50|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     50|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     50|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     50|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     50|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     50|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     50|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 50]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     50|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     50|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     50|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     50|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     50|    }
  |  |  ------------------
  |  |12916|     50|        }
  |  |12917|       |
  |  |12918|  7.57k|        TARGET(TO_BOOL_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  7.57k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12919|       |            #if _Py_TAIL_CALL_INTERP
  |  |12920|       |            int opcode = TO_BOOL_BOOL;
  |  |12921|       |            (void)(opcode);
  |  |12922|       |            #endif
  |  |12923|  7.57k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12924|  7.57k|            (void)this_instr;
  |  |12925|  7.57k|            frame->instr_ptr = next_instr;
  |  |12926|  7.57k|            next_instr += 4;
  |  |12927|  7.57k|            INSTRUCTION_STATS(TO_BOOL_BOOL);
  |  |  ------------------
  |  |  |  |   71|  7.57k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12928|  7.57k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12929|  7.57k|            _PyStackRef value;
  |  |12930|       |            /* Skip 1 cache entry */
  |  |12931|       |            /* Skip 2 cache entries */
  |  |12932|  7.57k|            value = stack_pointer[-1];
  |  |12933|  7.57k|            if (!PyStackRef_BoolCheck(value)) {
  |  |  ------------------
  |  |  |  Branch (12933:17): [True: 0, False: 7.57k]
  |  |  ------------------
  |  |12934|      0|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12935|      0|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12935:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12936|      0|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12937|      0|            }
  |  |12938|  7.57k|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  7.57k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12939|  7.57k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.57k|    { \
  |  |  |  |  201|  7.57k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.57k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.57k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.57k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  7.57k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.57k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.57k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.57k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.57k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.57k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.57k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.57k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.57k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.57k|    }
  |  |  ------------------
  |  |12940|  7.57k|        }
  |  |12941|       |
  |  |12942|  1.18k|        TARGET(TO_BOOL_INT) {
  |  |  ------------------
  |  |  |  |  132|  1.18k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12943|       |            #if _Py_TAIL_CALL_INTERP
  |  |12944|       |            int opcode = TO_BOOL_INT;
  |  |12945|       |            (void)(opcode);
  |  |12946|       |            #endif
  |  |12947|  1.18k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12948|  1.18k|            (void)this_instr;
  |  |12949|  1.18k|            frame->instr_ptr = next_instr;
  |  |12950|  1.18k|            next_instr += 4;
  |  |12951|  1.18k|            INSTRUCTION_STATS(TO_BOOL_INT);
  |  |  ------------------
  |  |  |  |   71|  1.18k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12952|  1.18k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12953|  1.18k|            _PyStackRef value;
  |  |12954|  1.18k|            _PyStackRef res;
  |  |12955|  1.18k|            _PyStackRef v;
  |  |12956|       |            // _GUARD_TOS_EXACT_INT
  |  |12957|  1.18k|            {
  |  |12958|  1.18k|                value = stack_pointer[-1];
  |  |12959|  1.18k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12960|  1.18k|                if (!PyLong_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   14|  1.18k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.18k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12960:21): [True: 0, False: 1.18k]
  |  |  ------------------
  |  |12961|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12962|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12962:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12963|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12964|      0|                }
  |  |12965|  1.18k|            }
  |  |12966|       |            /* Skip 1 cache entry */
  |  |12967|       |            /* Skip 2 cache entries */
  |  |12968|       |            // _TO_BOOL_INT
  |  |12969|  1.18k|            {
  |  |12970|  1.18k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.18k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12971|  1.18k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12972|  1.18k|                res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  484|  1.10k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.10k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  1.26k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     81|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12972:23): [True: 1.10k, False: 81]
  |  |  ------------------
  |  |12973|  1.18k|                v = value;
  |  |12974|  1.18k|            }
  |  |12975|       |            // _POP_TOP_INT
  |  |12976|  1.18k|            {
  |  |12977|  1.18k|                value = v;
  |  |12978|  1.18k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (12978:17): [True: 1.18k, False: 0]
  |  |  ------------------
  |  |12979|  1.18k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |12980|  1.18k|            }
  |  |12981|      0|            stack_pointer[-1] = res;
  |  |12982|  1.18k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.18k|    { \
  |  |  |  |  201|  1.18k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.18k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.18k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.18k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.18k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.18k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.18k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.18k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.18k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.18k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.18k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.18k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.18k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.18k|    }
  |  |  ------------------
  |  |12983|  1.18k|        }
  |  |12984|       |
  |  |12985|  1.34k|        TARGET(TO_BOOL_LIST) {
  |  |  ------------------
  |  |  |  |  132|  1.34k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12986|       |            #if _Py_TAIL_CALL_INTERP
  |  |12987|       |            int opcode = TO_BOOL_LIST;
  |  |12988|       |            (void)(opcode);
  |  |12989|       |            #endif
  |  |12990|  1.34k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12991|  1.34k|            (void)this_instr;
  |  |12992|  1.34k|            frame->instr_ptr = next_instr;
  |  |12993|  1.34k|            next_instr += 4;
  |  |12994|  1.34k|            INSTRUCTION_STATS(TO_BOOL_LIST);
  |  |  ------------------
  |  |  |  |   71|  1.34k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12995|  1.34k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12996|  1.34k|            _PyStackRef tos;
  |  |12997|  1.34k|            _PyStackRef value;
  |  |12998|  1.34k|            _PyStackRef res;
  |  |12999|  1.34k|            _PyStackRef v;
  |  |13000|       |            // _GUARD_TOS_LIST
  |  |13001|  1.34k|            {
  |  |13002|  1.34k|                tos = stack_pointer[-1];
  |  |13003|  1.34k|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13004|  1.34k|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  1.34k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.34k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13004:21): [True: 0, False: 1.34k]
  |  |  ------------------
  |  |13005|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13006|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13006:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13007|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13008|      0|                }
  |  |13009|  1.34k|            }
  |  |13010|       |            /* Skip 1 cache entry */
  |  |13011|       |            /* Skip 2 cache entries */
  |  |13012|       |            // _TO_BOOL_LIST
  |  |13013|  1.34k|            {
  |  |13014|  1.34k|                value = tos;
  |  |13015|  1.34k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13016|  1.34k|                assert(PyList_CheckExact(value_o));
  |  |  ------------------
  |  |  |  Branch (13016:17): [True: 1.34k, False: 0]
  |  |  ------------------
  |  |13017|  1.34k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.34k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13018|  1.34k|                res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |   38|  1.34k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (38:29): [True: 508, False: 841]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    508|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    508|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.19k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    841|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13019|  1.34k|                v = value;
  |  |13020|  1.34k|            }
  |  |13021|       |            // _POP_TOP
  |  |13022|      0|            {
  |  |13023|  1.34k|                value = v;
  |  |13024|  1.34k|                stack_pointer[-1] = res;
  |  |13025|  1.34k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13026|  1.34k|                _PyFrame_StackPointerValidate(frame);
  |  |13027|  1.34k|                PyStackRef_XCLOSE(value);
  |  |13028|  1.34k|                _PyFrame_StackPointerInvalidate(frame);
  |  |13029|  1.34k|            }
  |  |13030|  1.34k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.34k|    { \
  |  |  |  |  201|  1.34k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.34k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.34k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.34k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.34k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.34k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.34k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.34k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.34k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.34k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.34k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.34k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.34k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.34k|    }
  |  |  ------------------
  |  |13031|  1.34k|        }
  |  |13032|       |
  |  |13033|  1.32k|        TARGET(TO_BOOL_NONE) {
  |  |  ------------------
  |  |  |  |  132|  1.32k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13034|       |            #if _Py_TAIL_CALL_INTERP
  |  |13035|       |            int opcode = TO_BOOL_NONE;
  |  |13036|       |            (void)(opcode);
  |  |13037|       |            #endif
  |  |13038|  1.32k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13039|  1.32k|            (void)this_instr;
  |  |13040|  1.32k|            frame->instr_ptr = next_instr;
  |  |13041|  1.32k|            next_instr += 4;
  |  |13042|  1.32k|            INSTRUCTION_STATS(TO_BOOL_NONE);
  |  |  ------------------
  |  |  |  |   71|  1.32k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13043|  1.32k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13044|  1.32k|            _PyStackRef value;
  |  |13045|  1.32k|            _PyStackRef res;
  |  |13046|       |            /* Skip 1 cache entry */
  |  |13047|       |            /* Skip 2 cache entries */
  |  |13048|  1.32k|            value = stack_pointer[-1];
  |  |13049|  1.32k|            if (!PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|  1.32k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.32k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13049:17): [True: 269, False: 1.05k]
  |  |  ------------------
  |  |13050|    269|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|    269|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13051|    269|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13051:17): [True: 269, False: 0]
  |  |  ------------------
  |  |13052|    269|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|    269|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13053|      0|            }
  |  |13054|  1.05k|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.05k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13055|  1.05k|            res = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  1.05k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.05k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13056|  1.05k|            stack_pointer[-1] = res;
  |  |13057|  1.05k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.05k|    { \
  |  |  |  |  201|  1.05k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.05k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.05k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.05k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.05k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.05k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.05k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.05k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.05k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.05k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.05k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.05k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.05k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.05k|    }
  |  |  ------------------
  |  |13058|  1.05k|        }
  |  |13059|       |
  |  |13060|  9.81k|        TARGET(TO_BOOL_STR) {
  |  |  ------------------
  |  |  |  |  132|  9.81k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13061|       |            #if _Py_TAIL_CALL_INTERP
  |  |13062|       |            int opcode = TO_BOOL_STR;
  |  |13063|       |            (void)(opcode);
  |  |13064|       |            #endif
  |  |13065|  9.81k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13066|  9.81k|            (void)this_instr;
  |  |13067|  9.81k|            frame->instr_ptr = next_instr;
  |  |13068|  9.81k|            next_instr += 4;
  |  |13069|  9.81k|            INSTRUCTION_STATS(TO_BOOL_STR);
  |  |  ------------------
  |  |  |  |   71|  9.81k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13070|  9.81k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13071|  9.81k|            _PyStackRef value;
  |  |13072|  9.81k|            _PyStackRef res;
  |  |13073|  9.81k|            _PyStackRef v;
  |  |13074|       |            // _GUARD_TOS_UNICODE
  |  |13075|  9.81k|            {
  |  |13076|  9.81k|                value = stack_pointer[-1];
  |  |13077|  9.81k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13078|  9.81k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  9.81k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  9.81k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  9.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  9.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13078:21): [True: 54, False: 9.76k]
  |  |  ------------------
  |  |13079|     54|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|     54|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13080|     54|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13080:21): [True: 54, False: 0]
  |  |  ------------------
  |  |13081|     54|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|     54|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13082|      0|                }
  |  |13083|  9.81k|            }
  |  |13084|       |            /* Skip 1 cache entry */
  |  |13085|       |            /* Skip 2 cache entries */
  |  |13086|       |            // _TO_BOOL_STR
  |  |13087|  9.76k|            {
  |  |13088|  9.76k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  9.76k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13089|  9.76k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13090|  9.76k|                res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  953|  9.76k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  9.76k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  9.76k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  484|    219|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    219|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  19.3k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  9.54k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13090:23): [True: 219, False: 9.54k]
  |  |  ------------------
  |  |13091|  9.76k|                v = value;
  |  |13092|  9.76k|            }
  |  |13093|       |            // _POP_TOP_UNICODE
  |  |13094|  9.76k|            {
  |  |13095|  9.76k|                value = v;
  |  |13096|  9.76k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (13096:17): [True: 9.76k, False: 0]
  |  |  ------------------
  |  |13097|  9.76k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |13098|  9.76k|            }
  |  |13099|      0|            stack_pointer[-1] = res;
  |  |13100|  9.76k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.76k|    { \
  |  |  |  |  201|  9.76k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  9.76k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  9.76k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  9.76k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  9.76k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.76k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  9.76k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  9.76k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 9.76k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.76k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.76k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.76k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.76k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.76k|    }
  |  |  ------------------
  |  |13101|  9.76k|        }
  |  |13102|       |
  |  |13103|      0|        TARGET(TRACE_RECORD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13104|       |            #if _Py_TAIL_CALL_INTERP
  |  |13105|       |            int opcode = TRACE_RECORD;
  |  |13106|       |            (void)(opcode);
  |  |13107|       |            #endif
  |  |13108|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  |13109|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13110|      0|            (void)this_instr;
  |  |13111|      0|            frame->instr_ptr = next_instr;
  |  |13112|      0|            next_instr += 1;
  |  |13113|      0|            INSTRUCTION_STATS(TRACE_RECORD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13114|      0|            opcode = TRACE_RECORD;
  |  |  ------------------
  |  |  |  |  243|      0|#define TRACE_RECORD                           255
  |  |  ------------------
  |  |13115|       |            #if _Py_TIER2
  |  |13116|       |            assert(IS_JIT_TRACING());
  |  |13117|       |            next_instr = this_instr;
  |  |13118|       |            frame->instr_ptr = prev_instr;
  |  |13119|       |            opcode = next_instr->op.code;
  |  |13120|       |            bool stop_tracing = (
  |  |13121|       |                                 opcode == WITH_EXCEPT_START ||
  |  |13122|       |                                 opcode == RERAISE ||
  |  |13123|       |                                 opcode == CLEANUP_THROW ||
  |  |13124|       |                                 opcode == PUSH_EXC_INFO ||
  |  |13125|       |                                 opcode == INTERPRETER_EXIT ||
  |  |13126|       |                                 (opcode >= MIN_INSTRUMENTED_OPCODE && opcode != ENTER_EXECUTOR)
  |  |13127|       |            );
  |  |13128|       |            _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  |  |13129|       |            _PyJitTracerState *tracer = _tstate->jit_tracer_state;
  |  |13130|       |            assert(tracer != NULL);
  |  |13131|       |            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13132|       |            _PyFrame_StackPointerValidate(frame);
  |  |13133|       |            int full = !_PyJit_translate_single_bytecode_to_trace(tstate, frame, next_instr, stop_tracing ? _DEOPT : 0);
  |  |13134|       |            _PyFrame_StackPointerInvalidate(frame);
  |  |13135|       |            if (full) {
  |  |13136|       |                LEAVE_TRACING();
  |  |13137|       |                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13138|       |                _PyFrame_StackPointerValidate(frame);
  |  |13139|       |                int err = stop_tracing_and_jit(tstate, frame);
  |  |13140|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13141|       |                if (err < 0) {
  |  |13142|       |                    JUMP_TO_LABEL(error);
  |  |13143|       |                }
  |  |13144|       |                DISPATCH();
  |  |13145|       |            }
  |  |13146|       |            for (int i = 0; i < tracer->prev_state.recorded_count; i++) {
  |  |13147|       |                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13148|       |                _PyFrame_StackPointerValidate(frame);
  |  |13149|       |                Py_CLEAR(tracer->prev_state.recorded_values[i]);
  |  |13150|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13151|       |            }
  |  |13152|       |            tracer->prev_state.recorded_count = 0;
  |  |13153|       |            tracer->prev_state.instr = next_instr;
  |  |13154|       |            PyObject *prev_code = PyStackRef_AsPyObjectBorrow(frame->f_executable);
  |  |13155|       |            if (tracer->prev_state.instr_code != (PyCodeObject *)prev_code) {
  |  |13156|       |                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13157|       |                _PyFrame_StackPointerValidate(frame);
  |  |13158|       |                Py_SETREF(tracer->prev_state.instr_code, (PyCodeObject*)Py_NewRef((prev_code)));
  |  |13159|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13160|       |            }
  |  |13161|       |            tracer->prev_state.instr_frame = frame;
  |  |13162|       |            tracer->prev_state.instr_oparg = oparg;
  |  |13163|       |            tracer->prev_state.instr_stacklevel = PyStackRef_IsNone(frame->f_executable) ? 2 : STACK_LEVEL();
  |  |13164|       |            if (_PyOpcode_Caches[_PyOpcode_Deopt[opcode]]
  |  |13165|       |                // Branch opcodes use the cache for branch history, not
  |  |13166|       |                // specialization counters.  Don't reset it.
  |  |13167|       |                && !IS_CONDITIONAL_JUMP_OPCODE(opcode)) {
  |  |13168|       |                (&next_instr[1])->counter = trigger_backoff_counter();
  |  |13169|       |            }
  |  |13170|       |            const _PyOpcodeRecordEntry *record_entry = &_PyOpcode_RecordEntries[opcode];
  |  |13171|       |            for (int i = 0; i < record_entry->count; i++) {
  |  |13172|       |                _Py_RecordFuncPtr doesnt_escape = _PyOpcode_RecordFunctions[record_entry->indices[i]];
  |  |13173|       |                doesnt_escape(frame, stack_pointer, oparg, &tracer->prev_state.recorded_values[i]);
  |  |13174|       |            }
  |  |13175|       |            tracer->prev_state.recorded_count = record_entry->count;
  |  |13176|       |            DISPATCH_GOTO_NON_TRACING();
  |  |13177|       |            #else
  |  |13178|      0|            (void)prev_instr;
  |  |13179|      0|            Py_FatalError("JIT instruction executed in non-jit build.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |13180|      0|            #endif
  |  |13181|      0|        }
  |  |13182|       |
  |  |13183|      2|        TARGET(UNARY_INVERT) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13184|       |            #if _Py_TAIL_CALL_INTERP
  |  |13185|       |            int opcode = UNARY_INVERT;
  |  |13186|       |            (void)(opcode);
  |  |13187|       |            #endif
  |  |13188|      2|            frame->instr_ptr = next_instr;
  |  |13189|      2|            next_instr += 1;
  |  |13190|      2|            INSTRUCTION_STATS(UNARY_INVERT);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13191|      2|            _PyStackRef value;
  |  |13192|      2|            _PyStackRef res;
  |  |13193|      2|            _PyStackRef v;
  |  |13194|       |            // _UNARY_INVERT
  |  |13195|      2|            {
  |  |13196|      2|                value = stack_pointer[-1];
  |  |13197|      2|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13198|      2|                _PyFrame_StackPointerValidate(frame);
  |  |13199|      2|                PyObject *res_o = PyNumber_Invert(PyStackRef_AsPyObjectBorrow(value));
  |  |13200|      2|                _PyFrame_StackPointerInvalidate(frame);
  |  |13201|      2|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13201:21): [True: 0, False: 2]
  |  |  ------------------
  |  |13202|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13203|      0|                }
  |  |13204|      2|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13205|      2|                v = value;
  |  |13206|      2|            }
  |  |13207|       |            // _POP_TOP
  |  |13208|      0|            {
  |  |13209|      2|                value = v;
  |  |13210|      2|                stack_pointer[-1] = res;
  |  |13211|      2|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13211:17): [True: 2, False: 0]
  |  |  ------------------
  |  |13212|      2|                _PyFrame_StackPointerValidate(frame);
  |  |13213|      2|                PyStackRef_XCLOSE(value);
  |  |13214|      2|                _PyFrame_StackPointerInvalidate(frame);
  |  |13215|      2|            }
  |  |13216|      2|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      2|    { \
  |  |  |  |  201|      2|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      2|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      2|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      2|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      2|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      2|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      2|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      2|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      2|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      2|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      2|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      2|    }
  |  |  ------------------
  |  |13217|      2|        }
  |  |13218|       |
  |  |13219|      2|        TARGET(UNARY_NEGATIVE) {
  |  |  ------------------
  |  |  |  |  132|      2|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13220|       |            #if _Py_TAIL_CALL_INTERP
  |  |13221|       |            int opcode = UNARY_NEGATIVE;
  |  |13222|       |            (void)(opcode);
  |  |13223|       |            #endif
  |  |13224|      2|            frame->instr_ptr = next_instr;
  |  |13225|      2|            next_instr += 1;
  |  |13226|      2|            INSTRUCTION_STATS(UNARY_NEGATIVE);
  |  |  ------------------
  |  |  |  |   71|      2|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13227|      2|            _PyStackRef value;
  |  |13228|      2|            _PyStackRef res;
  |  |13229|      2|            _PyStackRef v;
  |  |13230|       |            // _UNARY_NEGATIVE
  |  |13231|      2|            {
  |  |13232|      2|                value = stack_pointer[-1];
  |  |13233|      2|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13234|      2|                _PyFrame_StackPointerValidate(frame);
  |  |13235|      2|                PyObject *res_o = PyNumber_Negative(PyStackRef_AsPyObjectBorrow(value));
  |  |13236|      2|                _PyFrame_StackPointerInvalidate(frame);
  |  |13237|      2|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13237:21): [True: 0, False: 2]
  |  |  ------------------
  |  |13238|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13239|      0|                }
  |  |13240|      2|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13241|      2|                v = value;
  |  |13242|      2|            }
  |  |13243|       |            // _POP_TOP
  |  |13244|      0|            {
  |  |13245|      2|                value = v;
  |  |13246|      2|                stack_pointer[-1] = res;
  |  |13247|      2|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13247:17): [True: 2, False: 0]
  |  |  ------------------
  |  |13248|      2|                _PyFrame_StackPointerValidate(frame);
  |  |13249|      2|                PyStackRef_XCLOSE(value);
  |  |13250|      2|                _PyFrame_StackPointerInvalidate(frame);
  |  |13251|      2|            }
  |  |13252|      2|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      2|    { \
  |  |  |  |  201|      2|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      2|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      2|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      2|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      2|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      2|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      2|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      2|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      2|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      2|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      2|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      2|    }
  |  |  ------------------
  |  |13253|      2|        }
  |  |13254|       |
  |  |13255|     20|        TARGET(UNARY_NOT) {
  |  |  ------------------
  |  |  |  |  132|     20|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13256|       |            #if _Py_TAIL_CALL_INTERP
  |  |13257|       |            int opcode = UNARY_NOT;
  |  |13258|       |            (void)(opcode);
  |  |13259|       |            #endif
  |  |13260|     20|            frame->instr_ptr = next_instr;
  |  |13261|     20|            next_instr += 1;
  |  |13262|     20|            INSTRUCTION_STATS(UNARY_NOT);
  |  |  ------------------
  |  |  |  |   71|     20|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13263|     20|            _PyStackRef value;
  |  |13264|     20|            _PyStackRef res;
  |  |13265|     20|            value = stack_pointer[-1];
  |  |13266|     20|            assert(PyStackRef_BoolCheck(value));
  |  |  ------------------
  |  |  |  Branch (13266:13): [True: 20, False: 0]
  |  |  ------------------
  |  |13267|     20|            res = PyStackRef_IsFalse(value)
  |  |  ------------------
  |  |  |  |  494|     20|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     20|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:33): [True: 8, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13268|     20|            ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|      8|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      8|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|     32|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     12|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13269|     20|            stack_pointer[-1] = res;
  |  |13270|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     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|    }
  |  |  ------------------
  |  |13271|     20|        }
  |  |13272|       |
  |  |13273|      0|        TARGET(UNPACK_EX) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13274|       |            #if _Py_TAIL_CALL_INTERP
  |  |13275|       |            int opcode = UNPACK_EX;
  |  |13276|       |            (void)(opcode);
  |  |13277|       |            #endif
  |  |13278|      0|            frame->instr_ptr = next_instr;
  |  |13279|      0|            next_instr += 1;
  |  |13280|      0|            INSTRUCTION_STATS(UNPACK_EX);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13281|      0|            _PyStackRef seq;
  |  |13282|      0|            _PyStackRef *top;
  |  |13283|      0|            seq = stack_pointer[-1];
  |  |13284|      0|            top = &stack_pointer[(oparg & 0xFF) + (oparg >> 8)];
  |  |13285|      0|            PyObject *seq_o = PyStackRef_AsPyObjectSteal(seq);
  |  |13286|      0|            stack_pointer += -1;
  |  |13287|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13288|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13289|      0|            _PyFrame_StackPointerValidate(frame);
  |  |13290|      0|            int res = _PyEval_UnpackIterableStackRef(tstate, seq_o, oparg & 0xFF, oparg >> 8, top);
  |  |13291|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |13292|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13292:13): [True: 0, False: 0]
  |  |  ------------------
  |  |13293|      0|            _PyFrame_StackPointerValidate(frame);
  |  |13294|      0|            Py_DECREF(seq_o);
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13295|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |13296|      0|            if (res == 0) {
  |  |  ------------------
  |  |  |  Branch (13296:17): [True: 0, False: 0]
  |  |  ------------------
  |  |13297|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13298|      0|            }
  |  |13299|      0|            stack_pointer += 1 + (oparg & 0xFF) + (oparg >> 8);
  |  |13300|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13301|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |13302|      0|        }
  |  |13303|       |
  |  |13304|    114|        TARGET(UNPACK_SEQUENCE) {
  |  |  ------------------
  |  |  |  |  132|    114|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13305|       |            #if _Py_TAIL_CALL_INTERP
  |  |13306|       |            int opcode = UNPACK_SEQUENCE;
  |  |13307|       |            (void)(opcode);
  |  |13308|       |            #endif
  |  |13309|    114|            frame->instr_ptr = next_instr;
  |  |13310|    114|            next_instr += 2;
  |  |13311|    114|            INSTRUCTION_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   71|    114|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13312|    114|            PREDICTED_UNPACK_SEQUENCE:;
  |  |13313|    114|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |13314|    114|            (void)this_instr;
  |  |13315|    114|            _PyStackRef seq;
  |  |13316|    114|            _PyStackRef *top;
  |  |13317|       |            // _SPECIALIZE_UNPACK_SEQUENCE
  |  |13318|    114|            {
  |  |13319|    114|                seq = stack_pointer[-1];
  |  |13320|    114|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |13321|    114|                (void)counter;
  |  |13322|    114|                #if ENABLE_SPECIALIZATION
  |  |13323|    114|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    114|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 48, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13324|     48|                    next_instr = this_instr;
  |  |13325|     48|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13326|     48|                    _PyFrame_StackPointerValidate(frame);
  |  |13327|     48|                    _Py_Specialize_UnpackSequence(seq, next_instr, oparg);
  |  |13328|     48|                    _PyFrame_StackPointerInvalidate(frame);
  |  |13329|     48|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     48|    { \
  |  |  |  |  217|     48|        opcode = next_instr->op.code; \
  |  |  |  |  218|     48|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     48|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     48|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     48|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     48|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     48|    }
  |  |  ------------------
  |  |13330|     48|                }
  |  |13331|    114|                OPCODE_DEFERRED_INC(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   90|    114|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |13332|    114|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    114|    do { \
  |  |  |  |  378|    114|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    114|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 114]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13333|    114|                #endif  /* ENABLE_SPECIALIZATION */
  |  |13334|    114|                (void)seq;
  |  |13335|    114|                (void)counter;
  |  |13336|    114|            }
  |  |13337|       |            // _UNPACK_SEQUENCE
  |  |13338|    114|            {
  |  |13339|    114|                top = &stack_pointer[-1 + oparg];
  |  |13340|    114|                PyObject *seq_o = PyStackRef_AsPyObjectSteal(seq);
  |  |13341|    114|                stack_pointer += -1;
  |  |13342|    114|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    114|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13343|    114|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13344|    114|                _PyFrame_StackPointerValidate(frame);
  |  |13345|    114|                int res = _PyEval_UnpackIterableStackRef(tstate, seq_o, oparg, -1, top);
  |  |13346|    114|                _PyFrame_StackPointerInvalidate(frame);
  |  |13347|    114|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13347:17): [True: 66, False: 48]
  |  |  ------------------
  |  |13348|     66|                _PyFrame_StackPointerValidate(frame);
  |  |13349|     66|                Py_DECREF(seq_o);
  |  |  ------------------
  |  |  |  |   80|     66|    do { \
  |  |  |  |   81|     66|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     66|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     66|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 66]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     66|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     66|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     66|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 21, False: 45]
  |  |  |  |  ------------------
  |  |  |  |   88|     21|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|     21|    do { \
  |  |  |  |  |  |  110|     21|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|     21|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 21]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|     21|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 21]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     21|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|     21|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     21|            (*dealloc)(op); \
  |  |  |  |   91|     21|        } \
  |  |  |  |   92|     66|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13350|     66|                _PyFrame_StackPointerInvalidate(frame);
  |  |13351|     66|                if (res == 0) {
  |  |  ------------------
  |  |  |  Branch (13351:21): [True: 0, False: 66]
  |  |  ------------------
  |  |13352|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13353|      0|                }
  |  |13354|     66|            }
  |  |13355|     66|            stack_pointer += oparg;
  |  |13356|     66|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     66|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13357|     66|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     66|    { \
  |  |  |  |  201|     66|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     66|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     66|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     66|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     66|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     66|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     66|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     66|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 66]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     66|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     66|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     66|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     66|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     66|    }
  |  |  ------------------
  |  |13358|     66|        }
  |  |13359|       |
  |  |13360|      0|        TARGET(UNPACK_SEQUENCE_LIST) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13361|       |            #if _Py_TAIL_CALL_INTERP
  |  |13362|       |            int opcode = UNPACK_SEQUENCE_LIST;
  |  |13363|       |            (void)(opcode);
  |  |13364|       |            #endif
  |  |13365|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13366|      0|            (void)this_instr;
  |  |13367|      0|            frame->instr_ptr = next_instr;
  |  |13368|      0|            next_instr += 2;
  |  |13369|      0|            INSTRUCTION_STATS(UNPACK_SEQUENCE_LIST);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13370|      0|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13371|      0|            _PyStackRef tos;
  |  |13372|      0|            _PyStackRef seq;
  |  |13373|      0|            _PyStackRef *values;
  |  |13374|       |            // _GUARD_TOS_LIST
  |  |13375|      0|            {
  |  |13376|      0|                tos = stack_pointer[-1];
  |  |13377|      0|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13378|      0|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|      0|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13378:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13379|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13380|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13380:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13381|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13382|      0|                }
  |  |13383|      0|            }
  |  |13384|       |            /* Skip 1 cache entry */
  |  |13385|       |            // _UNPACK_SEQUENCE_LIST
  |  |13386|      0|            {
  |  |13387|      0|                seq = tos;
  |  |13388|      0|                values = &stack_pointer[-1];
  |  |13389|      0|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13390|      0|                assert(PyList_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13390:17): [True: 0, False: 0]
  |  |  ------------------
  |  |13391|      0|                if (!LOCK_OBJECT(seq_o)) {
  |  |  ------------------
  |  |  |  |  322|      0|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (13391:21): [Folded, False: 0]
  |  |  ------------------
  |  |13392|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13393|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13393:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13394|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13395|      0|                }
  |  |13396|      0|                if (PyList_GET_SIZE(seq_o) != oparg) {
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13396:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13397|      0|                    UNLOCK_OBJECT(seq_o);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |13398|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (13398:25): [True: 0, Folded]
  |  |  ------------------
  |  |13399|      0|                        UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13400|      0|                        assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13400:25): [True: 0, False: 0]
  |  |  ------------------
  |  |13401|      0|                        JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13402|      0|                    }
  |  |13403|      0|                }
  |  |13404|      0|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13405|      0|                PyObject **items = _PyList_ITEMS(seq_o);
  |  |  ------------------
  |  |  |  |   30|      0|#define _PyList_ITEMS(op) _Py_RVALUE(_PyList_CAST(op)->ob_item)
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13406|      0|                for (int i = oparg; --i >= 0; ) {
  |  |  ------------------
  |  |  |  Branch (13406:37): [True: 0, False: 0]
  |  |  ------------------
  |  |13407|      0|                    *values++ = PyStackRef_FromPyObjectNew(items[i]);
  |  |  ------------------
  |  |  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13408|      0|                }
  |  |13409|      0|                UNLOCK_OBJECT(seq_o);
  |  |  ------------------
  |  |  |  |  323|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |13410|      0|                stack_pointer += -1 + oparg;
  |  |13411|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13412|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13413|      0|                _PyFrame_StackPointerValidate(frame);
  |  |13414|      0|                PyStackRef_CLOSE(seq);
  |  |13415|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |13416|      0|            }
  |  |13417|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |13418|      0|        }
  |  |13419|       |
  |  |13420|    122|        TARGET(UNPACK_SEQUENCE_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|    122|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13421|       |            #if _Py_TAIL_CALL_INTERP
  |  |13422|       |            int opcode = UNPACK_SEQUENCE_TUPLE;
  |  |13423|       |            (void)(opcode);
  |  |13424|       |            #endif
  |  |13425|    122|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13426|    122|            (void)this_instr;
  |  |13427|    122|            frame->instr_ptr = next_instr;
  |  |13428|    122|            next_instr += 2;
  |  |13429|    122|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TUPLE);
  |  |  ------------------
  |  |  |  |   71|    122|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13430|    122|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13431|    122|            _PyStackRef tos;
  |  |13432|    122|            _PyStackRef seq;
  |  |13433|    122|            _PyStackRef *values;
  |  |13434|       |            // _GUARD_TOS_TUPLE
  |  |13435|    122|            {
  |  |13436|    122|                tos = stack_pointer[-1];
  |  |13437|    122|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13438|    122|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|    122|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    122|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13438:21): [True: 0, False: 122]
  |  |  ------------------
  |  |13439|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13440|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13440:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13441|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13442|      0|                }
  |  |13443|    122|            }
  |  |13444|       |            /* Skip 1 cache entry */
  |  |13445|       |            // _UNPACK_SEQUENCE_TUPLE
  |  |13446|    122|            {
  |  |13447|    122|                seq = tos;
  |  |13448|    122|                values = &stack_pointer[-1];
  |  |13449|    122|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13450|    122|                assert(PyTuple_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13450:17): [True: 122, False: 0]
  |  |  ------------------
  |  |13451|    122|                if (PyTuple_GET_SIZE(seq_o) != oparg) {
  |  |  ------------------
  |  |  |  |   27|    122|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13451:21): [True: 0, False: 122]
  |  |  ------------------
  |  |13452|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13453|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13453:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13454|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13455|      0|                }
  |  |13456|    122|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|    122|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13457|    122|                PyObject **items = _PyTuple_ITEMS(seq_o);
  |  |  ------------------
  |  |  |  |   26|    122|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    244|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 122, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13458|    490|                for (int i = oparg; --i >= 0; ) {
  |  |  ------------------
  |  |  |  Branch (13458:37): [True: 368, False: 122]
  |  |  ------------------
  |  |13459|    368|                    *values++ = PyStackRef_FromPyObjectNew(items[i]);
  |  |  ------------------
  |  |  |  |  611|    368|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    368|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    368|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13460|    368|                }
  |  |13461|    122|                stack_pointer += -1 + oparg;
  |  |13462|    122|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    122|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13463|    122|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13464|    122|                _PyFrame_StackPointerValidate(frame);
  |  |13465|    122|                PyStackRef_CLOSE(seq);
  |  |13466|    122|                _PyFrame_StackPointerInvalidate(frame);
  |  |13467|    122|            }
  |  |13468|    122|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    122|    { \
  |  |  |  |  201|    122|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    122|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    122|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    122|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    122|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    122|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    122|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    122|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 122]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    122|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    122|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    122|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    122|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    122|    }
  |  |  ------------------
  |  |13469|    122|        }
  |  |13470|       |
  |  |13471|  3.98k|        TARGET(UNPACK_SEQUENCE_TWO_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  3.98k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13472|       |            #if _Py_TAIL_CALL_INTERP
  |  |13473|       |            int opcode = UNPACK_SEQUENCE_TWO_TUPLE;
  |  |13474|       |            (void)(opcode);
  |  |13475|       |            #endif
  |  |13476|  3.98k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13477|  3.98k|            (void)this_instr;
  |  |13478|  3.98k|            frame->instr_ptr = next_instr;
  |  |13479|  3.98k|            next_instr += 2;
  |  |13480|  3.98k|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TWO_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  3.98k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13481|  3.98k|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13482|  3.98k|            _PyStackRef tos;
  |  |13483|  3.98k|            _PyStackRef seq;
  |  |13484|  3.98k|            _PyStackRef val1;
  |  |13485|  3.98k|            _PyStackRef val0;
  |  |13486|       |            // _GUARD_TOS_TUPLE
  |  |13487|  3.98k|            {
  |  |13488|  3.98k|                tos = stack_pointer[-1];
  |  |13489|  3.98k|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13490|  3.98k|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|  3.98k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  3.98k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13490:21): [True: 0, False: 3.98k]
  |  |  ------------------
  |  |13491|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13492|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13492:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13493|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13494|      0|                }
  |  |13495|  3.98k|            }
  |  |13496|       |            /* Skip 1 cache entry */
  |  |13497|       |            // _UNPACK_SEQUENCE_TWO_TUPLE
  |  |13498|  3.98k|            {
  |  |13499|  3.98k|                seq = tos;
  |  |13500|  3.98k|                assert(oparg == 2);
  |  |  ------------------
  |  |  |  Branch (13500:17): [True: 3.98k, False: 0]
  |  |  ------------------
  |  |13501|  3.98k|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13502|  3.98k|                assert(PyTuple_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13502:17): [True: 3.98k, False: 0]
  |  |  ------------------
  |  |13503|  3.98k|                if (PyTuple_GET_SIZE(seq_o) != 2) {
  |  |  ------------------
  |  |  |  |   27|  3.98k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13503:21): [True: 0, False: 3.98k]
  |  |  ------------------
  |  |13504|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13505|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |  ------------------
  |  |  |  Branch (13505:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13506|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13507|      0|                }
  |  |13508|  3.98k|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|  3.98k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13509|  3.98k|                val0 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 0));
  |  |  ------------------
  |  |  |  |  611|  3.98k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 3.98k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13510|  3.98k|                val1 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 1));
  |  |  ------------------
  |  |  |  |  611|  3.98k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 3.98k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13511|      0|                stack_pointer[-1] = val1;
  |  |13512|  3.98k|                stack_pointer[0] = val0;
  |  |13513|  3.98k|                stack_pointer += 1;
  |  |13514|  3.98k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.98k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13515|  3.98k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13516|  3.98k|                _PyFrame_StackPointerValidate(frame);
  |  |13517|  3.98k|                PyStackRef_CLOSE(seq);
  |  |13518|  3.98k|                _PyFrame_StackPointerInvalidate(frame);
  |  |13519|  3.98k|            }
  |  |13520|  3.98k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.98k|    { \
  |  |  |  |  201|  3.98k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.98k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.98k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.98k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.98k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.98k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.98k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.98k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.98k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.98k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.98k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.98k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.98k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.98k|    }
  |  |  ------------------
  |  |13521|  3.98k|        }
  |  |13522|       |
  |  |13523|      0|        TARGET(WITH_EXCEPT_START) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13524|       |            #if _Py_TAIL_CALL_INTERP
  |  |13525|       |            int opcode = WITH_EXCEPT_START;
  |  |13526|       |            (void)(opcode);
  |  |13527|       |            #endif
  |  |13528|      0|            frame->instr_ptr = next_instr;
  |  |13529|      0|            next_instr += 1;
  |  |13530|      0|            INSTRUCTION_STATS(WITH_EXCEPT_START);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13531|      0|            _PyStackRef exit_func;
  |  |13532|      0|            _PyStackRef exit_self;
  |  |13533|      0|            _PyStackRef lasti;
  |  |13534|      0|            _PyStackRef val;
  |  |13535|      0|            _PyStackRef res;
  |  |13536|      0|            val = stack_pointer[-1];
  |  |13537|      0|            lasti = stack_pointer[-3];
  |  |13538|      0|            exit_self = stack_pointer[-4];
  |  |13539|      0|            exit_func = stack_pointer[-5];
  |  |13540|      0|            PyObject *exc, *tb;
  |  |13541|      0|            PyObject *val_o = PyStackRef_AsPyObjectBorrow(val);
  |  |13542|      0|            PyObject *exit_func_o = PyStackRef_AsPyObjectBorrow(exit_func);
  |  |13543|      0|            assert(val_o && PyExceptionInstance_Check(val_o));
  |  |  ------------------
  |  |  |  Branch (13543:13): [True: 0, False: 0]
  |  |  |  Branch (13543:13): [True: 0, False: 0]
  |  |  ------------------
  |  |13544|      0|            exc = PyExceptionInstance_Class(val_o);
  |  |  ------------------
  |  |  |  |   69|      0|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13545|      0|            PyObject *original_tb = tb = PyException_GetTraceback(val_o);
  |  |13546|      0|            if (tb == NULL) {
  |  |  ------------------
  |  |  |  Branch (13546:17): [True: 0, False: 0]
  |  |  ------------------
  |  |13547|      0|                tb = Py_None;
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  |  |13548|      0|            }
  |  |13549|      0|            assert(PyStackRef_IsTaggedInt(lasti));
  |  |  ------------------
  |  |  |  Branch (13549:13): [True: 0, False: 0]
  |  |  ------------------
  |  |13550|      0|            (void)lasti;
  |  |13551|      0|            PyObject* res_o;
  |  |13552|      0|            {
  |  |13553|      0|                PyObject *stack[5] = {NULL, PyStackRef_AsPyObjectBorrow(exit_self), exc, val_o, tb};
  |  |13554|      0|                int has_self = !PyStackRef_IsNull(exit_self);
  |  |  ------------------
  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13555|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13556|      0|                _PyFrame_StackPointerValidate(frame);
  |  |13557|      0|                res_o = PyObject_Vectorcall(exit_func_o, stack + 2 - has_self,
  |  |13558|      0|                    (3 + has_self) | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  |  |  ------------------
  |  |  |  |  287|      0|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13559|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |13560|      0|            }
  |  |13561|      0|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13561:13): [True: 0, False: 0]
  |  |  ------------------
  |  |13562|      0|            _PyFrame_StackPointerValidate(frame);
  |  |13563|      0|            Py_XDECREF(original_tb);
  |  |  ------------------
  |  |  |  |   69|      0|    do { \
  |  |  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|      0|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   72|      0|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|      0|        } \
  |  |  |  |   74|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13564|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  |13565|      0|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13565:17): [True: 0, False: 0]
  |  |  ------------------
  |  |13566|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13567|      0|            }
  |  |13568|      0|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13569|      0|            stack_pointer[0] = res;
  |  |13570|      0|            stack_pointer += 1;
  |  |13571|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13572|      0|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      0|    { \
  |  |  |  |  201|      0|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      0|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      0|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      0|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      0|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      0|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      0|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      0|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      0|    }
  |  |  ------------------
  |  |13573|      0|        }
  |  |13574|       |
  |  |13575|    238|        TARGET(YIELD_VALUE) {
  |  |  ------------------
  |  |  |  |  132|    238|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13576|       |            #if _Py_TAIL_CALL_INTERP
  |  |13577|       |            int opcode = YIELD_VALUE;
  |  |13578|       |            (void)(opcode);
  |  |13579|       |            #endif
  |  |13580|    238|            frame->instr_ptr = next_instr;
  |  |13581|    238|            next_instr += 1;
  |  |13582|    238|            INSTRUCTION_STATS(YIELD_VALUE);
  |  |  ------------------
  |  |  |  |   71|    238|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13583|    238|            opcode = YIELD_VALUE;
  |  |  ------------------
  |  |  |  |  129|    238|#define YIELD_VALUE                            116
  |  |  ------------------
  |  |13584|    238|            _PyStackRef value;
  |  |13585|    238|            _PyStackRef retval;
  |  |13586|       |            // _MAKE_HEAP_SAFE
  |  |13587|    238|            {
  |  |13588|    238|                value = stack_pointer[-1];
  |  |13589|    238|                value = PyStackRef_MakeHeapSafe(value);
  |  |13590|    238|            }
  |  |13591|       |            // _YIELD_VALUE
  |  |13592|    238|            {
  |  |13593|    238|                retval = value;
  |  |13594|    238|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13594:17): [True: 238, False: 0]
  |  |  ------------------
  |  |13595|    238|                frame->instr_ptr++;
  |  |13596|    238|                PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
  |  |13597|    238|                assert(FRAME_SUSPENDED_YIELD_FROM == FRAME_SUSPENDED + 1);
  |  |  ------------------
  |  |  |  Branch (13597:17): [True: 238, Folded]
  |  |  ------------------
  |  |13598|    238|                assert(oparg == 0 || oparg == 1);
  |  |  ------------------
  |  |  |  Branch (13598:17): [True: 227, False: 11]
  |  |  |  Branch (13598:17): [True: 11, False: 0]
  |  |  ------------------
  |  |13599|    238|                _PyStackRef temp = retval;
  |  |13600|    238|                stack_pointer += -1;
  |  |13601|    238|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    238|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13602|    238|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13603|    238|                _PyFrame_StackPointerValidate(frame);
  |  |13604|    238|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|    238|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13605|    238|                tstate->exc_info = gen->gi_exc_state.previous_item;
  |  |13606|    238|                gen->gi_exc_state.previous_item = NULL;
  |  |13607|    238|                _Py_LeaveRecursiveCallPy(tstate);
  |  |13608|    238|                _PyInterpreterFrame *gen_frame = frame;
  |  |13609|    238|                _PyThreadState_UpdateLastProfiledFrame(tstate, gen_frame, gen_frame->previous);
  |  |  ------------------
  |  |  |  |  326|    238|    do { \
  |  |  |  |  327|    238|        PyThreadState *tstate_ = (tstate); \
  |  |  |  |  328|    238|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  |  |  329|    238|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (329:13): [True: 0, False: 238]
  |  |  |  |  ------------------
  |  |  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  |  |  332|      0|        } \
  |  |  |  |  333|    238|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (333:14): [Folded, False: 238]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13610|    238|                frame = tstate->current_frame = frame->previous;
  |  |13611|    238|                gen_frame->previous = NULL;
  |  |13612|    238|                ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_YIELD;
  |  |13613|    238|                FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_SUSPENDED + oparg);
  |  |  ------------------
  |  |  |  |  169|    238|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |13614|    238|                assert(INLINE_CACHE_ENTRIES_SEND == INLINE_CACHE_ENTRIES_FOR_ITER);
  |  |  ------------------
  |  |  |  Branch (13614:17): [True: 238, Folded]
  |  |  ------------------
  |  |13615|       |                #if TIER_ONE && defined(Py_DEBUG)
  |  |13616|       |                if (!PyStackRef_IsNone(frame->f_executable)) {
  |  |13617|       |                    Py_ssize_t i = frame->instr_ptr - _PyFrame_GetBytecode(frame);
  |  |13618|       |                    assert(i >= 0 && i <= INT_MAX);
  |  |13619|       |                    int opcode = _Py_GetBaseCodeUnit(_PyFrame_GetCode(frame), (int)i).op.code;
  |  |13620|       |                    assert(opcode == SEND || opcode == FOR_ITER);
  |  |13621|       |                }
  |  |13622|       |                #endif
  |  |13623|    238|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13624|    238|                _PyFrame_StackPointerInvalidate(frame);
  |  |13625|    238|                LOAD_IP(1 + INLINE_CACHE_ENTRIES_SEND);
  |  |  ------------------
  |  |  |  |  441|    238|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    238|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    238|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 238]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13626|    238|                value = temp;
  |  |13627|    238|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    238|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |13628|    238|            }
  |  |13629|      0|            stack_pointer[0] = value;
  |  |13630|    238|            stack_pointer += 1;
  |  |13631|    238|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    238|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13632|    238|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    238|    { \
  |  |  |  |  201|    238|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    238|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    238|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    238|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    238|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    238|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    238|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    238|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 238]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    238|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    238|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    238|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    238|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    238|    }
  |  |  ------------------
  |  |13633|    238|        }
  |  |13634|       |
  |  |13635|       |            /* END INSTRUCTIONS */
  |  |13636|      0|#if !_Py_TAIL_CALL_INTERP
  |  |13637|      0|#if USE_COMPUTED_GOTOS
  |  |13638|      0|        _unknown_opcode:
  |  |13639|       |#else
  |  |13640|       |        EXTRA_CASES  // From pycore_opcode_metadata.h, a 'case' for each unused opcode
  |  |13641|       |#endif
  |  |13642|       |            /* Tell C compilers not to hold the opcode variable in the loop.
  |  |13643|       |               next_instr points the current instruction without TARGET(). */
  |  |13644|      0|            opcode = next_instr->op.code;
  |  |13645|      0|            _PyErr_Format(tstate, PyExc_SystemError,
  |  |13646|      0|              "%U:%d: unknown opcode %d",
  |  |13647|      0|              _PyFrame_GetCode(frame)->co_filename,
  |  |13648|      0|              PyUnstable_InterpreterFrame_GetLine(frame),
  |  |13649|      0|              opcode);
  |  |13650|      0|JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13651|       |
  |  |13652|       |
  |  |13653|      0|        }
  |  |13654|       |
  |  |13655|       |        /* This should never be reached. Every opcode should end with DISPATCH()
  |  |13656|       |           or goto error. */
  |  |13657|      0|        Py_UNREACHABLE();
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |13658|      0|#endif /* _Py_TAIL_CALL_INTERP */
  |  |13659|       |        /* BEGIN LABELS */
  |  |13660|       |
  |  |13661|      0|        LABEL(pop_2_error)
  |  |  ------------------
  |  |  |  |  137|      0|#  define LABEL(name) name:
  |  |  ------------------
  |  |13662|      0|        {
  |  |13663|      0|            stack_pointer -= 2;
  |  |13664|      0|            assert(WITHIN_STACK_BOUNDS());
  |  |  ------------------
  |  |  |  Branch (13664:13): [True: 0, False: 0]
  |  |  |  Branch (13664:13): [True: 0, False: 0]
  |  |  |  Branch (13664:13): [True: 0, False: 0]
  |  |  ------------------
  |  |13665|      0|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13666|      0|        }
  |  |13667|       |
  |  |13668|    153|        LABEL(pop_1_error)
  |  |  ------------------
  |  |  |  |  137|    153|#  define LABEL(name) name:
  |  |  ------------------
  |  |13669|    153|        {
  |  |13670|    153|            stack_pointer -= 1;
  |  |13671|    153|            assert(WITHIN_STACK_BOUNDS());
  |  |  ------------------
  |  |  |  Branch (13671:13): [True: 153, False: 0]
  |  |  |  Branch (13671:13): [True: 153, False: 0]
  |  |  |  Branch (13671:13): [True: 0, False: 153]
  |  |  ------------------
  |  |13672|    153|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    153|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13673|      0|        }
  |  |13674|       |
  |  |13675|  3.11k|        LABEL(error)
  |  |  ------------------
  |  |  |  |  137|  3.11k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13676|  3.11k|        {
  |  |13677|  3.11k|            _PyFrame_StackAssertInvalid(frame);
  |  |13678|       |            #ifdef NDEBUG
  |  |13679|       |            if (!_PyErr_Occurred(tstate)) {
  |  |13680|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13681|       |                _PyFrame_StackPointerValidate(frame);
  |  |13682|       |                _PyErr_SetString(tstate, PyExc_SystemError,
  |  |13683|       |                             "error return without exception set");
  |  |13684|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |13685|       |            }
  |  |13686|       |            #else
  |  |13687|  3.11k|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13687:13): [True: 3.11k, False: 0]
  |  |  ------------------
  |  |13688|  3.11k|            #endif
  |  |13689|  3.11k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13690|  3.11k|            _PyFrame_StackPointerValidate(frame);
  |  |13691|  3.11k|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|  3.11k|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13692|  3.11k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13693|  3.11k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13694|  3.11k|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13694:13): [True: 3.11k, False: 0]
  |  |  ------------------
  |  |13695|  3.11k|            if (!_PyFrame_IsIncomplete(frame)) {
  |  |  ------------------
  |  |  |  Branch (13695:17): [True: 3.11k, False: 0]
  |  |  ------------------
  |  |13696|  3.11k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13696:17): [True: 3.11k, False: 0]
  |  |  ------------------
  |  |13697|  3.11k|                _PyFrame_StackPointerValidate(frame);
  |  |13698|  3.11k|                PyFrameObject *f = _PyFrame_GetFrameObject(frame);
  |  |13699|  3.11k|                _PyFrame_StackPointerInvalidate(frame);
  |  |13700|  3.11k|                if (f != NULL) {
  |  |  ------------------
  |  |  |  Branch (13700:21): [True: 3.11k, False: 0]
  |  |  ------------------
  |  |13701|  3.11k|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13701:21): [True: 3.11k, False: 0]
  |  |  ------------------
  |  |13702|  3.11k|                    _PyFrame_StackPointerValidate(frame);
  |  |13703|  3.11k|                    PyTraceBack_Here(f);
  |  |13704|  3.11k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |13705|  3.11k|                }
  |  |13706|  3.11k|            }
  |  |13707|  3.11k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13707:13): [True: 3.11k, False: 0]
  |  |  ------------------
  |  |13708|  3.11k|            _PyFrame_StackPointerValidate(frame);
  |  |13709|  3.11k|            _PyEval_MonitorRaise(tstate, frame, next_instr-1);
  |  |13710|  3.11k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13711|  3.11k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13711:13): [True: 3.11k, False: 0]
  |  |  ------------------
  |  |13712|  3.11k|            _PyFrame_StackPointerValidate(frame);
  |  |13713|  3.11k|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|  3.11k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13714|      0|        }
  |  |13715|       |
  |  |13716|  3.76k|        LABEL(exception_unwind)
  |  |  ------------------
  |  |  |  |  137|  3.76k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13717|  3.76k|        {
  |  |13718|  3.76k|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|  3.76k|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13719|  3.76k|            int offset = INSTR_OFFSET()-1;
  |  |  ------------------
  |  |  |  |  250|  3.76k|#define INSTR_OFFSET() ((int)(next_instr - _PyFrame_GetBytecode(frame)))
  |  |  ------------------
  |  |13720|  3.76k|            int level, handler, lasti;
  |  |13721|  3.76k|            int handled = get_exception_handler(_PyFrame_GetCode(frame), offset, &level, &handler, &lasti);
  |  |13722|  3.76k|            if (handled == 0) {
  |  |  ------------------
  |  |  |  Branch (13722:17): [True: 859, False: 2.90k]
  |  |  ------------------
  |  |13723|    859|                assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13723:17): [True: 859, False: 0]
  |  |  ------------------
  |  |13724|    859|                _PyStackRef *stackbase = _PyFrame_Stackbase(frame);
  |  |13725|  2.26k|                while (frame->stackpointer > stackbase) {
  |  |  ------------------
  |  |  |  Branch (13725:24): [True: 1.40k, False: 859]
  |  |  ------------------
  |  |13726|  1.40k|                    _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13727|  1.40k|                    PyStackRef_XCLOSE(ref);
  |  |13728|  1.40k|                }
  |  |13729|    859|                monitor_unwind(tstate, frame, next_instr-1);
  |  |13730|    859|                JUMP_TO_LABEL(exit_unwind);
  |  |  ------------------
  |  |  |  |  135|    859|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13731|      0|            }
  |  |13732|  3.76k|            assert(STACK_LEVEL() >= level);
  |  |  ------------------
  |  |  |  Branch (13732:13): [True: 2.90k, False: 0]
  |  |  ------------------
  |  |13733|  2.90k|            _PyStackRef *new_top = _PyFrame_Stackbase(frame) + level;
  |  |13734|  2.90k|            assert(frame->stackpointer >= new_top);
  |  |  ------------------
  |  |  |  Branch (13734:13): [True: 2.90k, False: 0]
  |  |  ------------------
  |  |13735|  6.63k|            while (frame->stackpointer > new_top) {
  |  |  ------------------
  |  |  |  Branch (13735:20): [True: 3.72k, False: 2.90k]
  |  |  ------------------
  |  |13736|  3.72k|                _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13737|  3.72k|                PyStackRef_XCLOSE(ref);
  |  |13738|  3.72k|            }
  |  |13739|  2.90k|            if (lasti) {
  |  |  ------------------
  |  |  |  Branch (13739:17): [True: 327, False: 2.58k]
  |  |  ------------------
  |  |13740|    327|                int frame_lasti = _PyInterpreterFrame_LASTI(frame);
  |  |  ------------------
  |  |  |  |   19|    327|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  |  |  ------------------
  |  |13741|    327|                _PyStackRef lasti = PyStackRef_TagInt(frame_lasti);
  |  |13742|    327|                _PyFrame_StackPush(frame, lasti);
  |  |13743|    327|            }
  |  |13744|  2.90k|            PyObject *exc = _PyErr_GetRaisedException(tstate);
  |  |13745|  2.90k|            _PyFrame_StackPush(frame, PyStackRef_FromPyObjectSteal(exc));
  |  |13746|  2.90k|            next_instr = _PyFrame_GetBytecode(frame) + handler;
  |  |13747|  2.90k|            int err = monitor_handled(tstate, frame, next_instr, exc);
  |  |13748|  2.90k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (13748:17): [True: 0, False: 2.90k]
  |  |  ------------------
  |  |13749|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13750|      0|            }
  |  |13751|       |            #ifdef Py_DEBUG
  |  |13752|       |            if (frame->lltrace >= 5) {
  |  |13753|       |                lltrace_resume_frame(frame);
  |  |13754|       |            }
  |  |13755|       |            #endif
  |  |13756|  2.90k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13757|  2.90k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13758|       |            #if _Py_TAIL_CALL_INTERP
  |  |13759|       |            int opcode;
  |  |13760|       |            #endif
  |  |13761|  2.90k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.90k|    { \
  |  |  |  |  201|  2.90k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.90k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.90k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.90k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.90k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.90k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.90k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.90k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.90k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.90k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.90k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.90k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.90k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.90k|    }
  |  |  ------------------
  |  |13762|  2.90k|        }
  |  |13763|       |
  |  |13764|    859|        LABEL(exit_unwind)
  |  |  ------------------
  |  |  |  |  137|    859|#  define LABEL(name) name:
  |  |  ------------------
  |  |13765|    859|        {
  |  |13766|    859|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13766:13): [True: 859, False: 0]
  |  |  ------------------
  |  |13767|    859|            DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|    859|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13768|    859|            JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|    859|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13769|      0|        }
  |  |13770|       |
  |  |13771|    859|        LABEL(exit_unwind_notrace)
  |  |  ------------------
  |  |  |  |  137|    859|#  define LABEL(name) name:
  |  |  ------------------
  |  |13772|    859|        {
  |  |13773|    859|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13773:13): [True: 859, False: 0]
  |  |  ------------------
  |  |13774|    859|            _Py_LeaveRecursiveCallPy(tstate);
  |  |13775|    859|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13775:13): [True: 859, False: 0]
  |  |  ------------------
  |  |13776|    859|            _PyInterpreterFrame *dying = frame;
  |  |13777|    859|            frame = tstate->current_frame = dying->previous;
  |  |13778|    859|            _PyEval_FrameClearAndPop(tstate, dying);
  |  |13779|    859|            frame->return_offset = 0;
  |  |13780|    859|            if (frame->owner == FRAME_OWNED_BY_INTERPRETER) {
  |  |  ------------------
  |  |  |  Branch (13780:17): [True: 490, False: 369]
  |  |  ------------------
  |  |13781|    490|                tstate->current_frame = frame->previous;
  |  |13782|    490|                #if !_Py_TAIL_CALL_INTERP
  |  |13783|    490|                assert(frame == &entry.frame);
  |  |  ------------------
  |  |  |  Branch (13783:17): [True: 490, False: 0]
  |  |  ------------------
  |  |13784|    490|                #endif
  |  |13785|       |                #ifdef _Py_TIER2
  |  |13786|       |                _PyStackRef executor = frame->localsplus[0];
  |  |13787|       |                assert(tstate->current_executor == NULL);
  |  |13788|       |                if (!PyStackRef_IsNull(executor)) {
  |  |13789|       |                    tstate->current_executor = PyStackRef_AsPyObjectBorrow(executor);
  |  |13790|       |                    PyStackRef_CLOSE(executor);
  |  |13791|       |                }
  |  |13792|       |                #endif
  |  |13793|    490|                return NULL;
  |  |13794|    490|            }
  |  |13795|    369|            next_instr = frame->instr_ptr;
  |  |13796|    369|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13797|    369|            _PyFrame_StackPointerInvalidate(frame);
  |  |13798|    369|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    369|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13799|      0|        }
  |  |13800|       |
  |  |13801|   209k|        LABEL(start_frame)
  |  |  ------------------
  |  |  |  |  137|   209k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13802|   209k|        {
  |  |13803|       |            #ifdef Py_DEBUG
  |  |13804|       |            assert(frame->stackpointer_valid == 1);
  |  |13805|       |            #endif
  |  |13806|   209k|            int too_deep = _Py_EnterRecursivePy(tstate);
  |  |13807|   209k|            if (too_deep) {
  |  |  ------------------
  |  |  |  Branch (13807:17): [True: 0, False: 209k]
  |  |  ------------------
  |  |13808|      0|                JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13809|      0|            }
  |  |13810|   209k|            DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|   209k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |13811|   209k|            next_instr = frame->instr_ptr;
  |  |13812|       |            #ifdef Py_DEBUG
  |  |13813|       |            int lltrace = maybe_lltrace_resume_frame(frame, GLOBALS());
  |  |13814|       |            if (lltrace < 0) {
  |  |13815|       |                JUMP_TO_LABEL(exit_unwind);
  |  |13816|       |            }
  |  |13817|       |            frame->lltrace = lltrace;
  |  |13818|       |            assert(!_PyErr_Occurred(tstate));
  |  |13819|       |            #endif
  |  |13820|   209k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13821|   209k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13822|       |            #if _Py_TAIL_CALL_INTERP
  |  |13823|       |            int opcode;
  |  |13824|       |            #endif
  |  |13825|   209k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   209k|    { \
  |  |  |  |  201|   209k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   209k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   209k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   209k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   209k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   209k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   209k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   209k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 209k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   209k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   209k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   209k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   209k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   209k|    }
  |  |  ------------------
  |  |13826|   209k|        }
  |  |13827|       |
  |  |13828|       |        #if _Py_TAIL_CALL_INTERP && !defined(_Py_TIER2)
  |  |13829|       |        Py_GCC_ATTRIBUTE((unused))
  |  |13830|       |        #endif
  |  |13831|      0|        LABEL(stop_tracing)
  |  |  ------------------
  |  |  |  |  137|      0|#  define LABEL(name) name:
  |  |  ------------------
  |  |13832|      0|        {
  |  |13833|       |            #if _Py_TIER2
  |  |13834|       |            assert(IS_JIT_TRACING());
  |  |13835|       |            int opcode = next_instr->op.code;
  |  |13836|       |            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13837|       |            _PyFrame_StackPointerValidate(frame);
  |  |13838|       |            _PyJit_translate_single_bytecode_to_trace(tstate, frame, NULL, _EXIT_TRACE);
  |  |13839|       |            _PyFrame_StackPointerInvalidate(frame);
  |  |13840|       |            LEAVE_TRACING();
  |  |13841|       |            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |13842|       |            _PyFrame_StackPointerValidate(frame);
  |  |13843|       |            int err = stop_tracing_and_jit(tstate, frame);
  |  |13844|       |            _PyFrame_StackPointerInvalidate(frame);
  |  |13845|       |            if (err < 0) {
  |  |13846|       |                JUMP_TO_LABEL(error);
  |  |13847|       |            }
  |  |13848|       |            DISPATCH_GOTO_NON_TRACING();
  |  |13849|       |            #else
  |  |13850|      0|            Py_FatalError("JIT label executed in non-jit build.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |13851|      0|            #endif
  |  |13852|      0|        }
  |  |13853|       |
  |  |13854|       |/* END LABELS */
  |  |13855|      0|#undef TIER_ONE
  ------------------
 1324|      0|#endif
 1325|       |
 1326|       |
 1327|      0|early_exit:
 1328|      0|    assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1328:5): [True: 0, False: 0]
  ------------------
 1329|      0|    _Py_LeaveRecursiveCallPy(tstate);
 1330|      0|    assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (1330:5): [True: 0, False: 0]
  ------------------
 1331|       |    // GH-99729: We need to unlink the frame *before* clearing it:
 1332|      0|    _PyInterpreterFrame *dying = frame;
 1333|      0|    frame = tstate->current_frame = dying->previous;
 1334|      0|    _PyEval_FrameClearAndPop(tstate, dying);
 1335|      0|    frame->return_offset = 0;
 1336|      0|    assert(frame->owner == FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (1336:5): [True: 0, False: 0]
  ------------------
 1337|       |    /* Restore previous frame and exit */
 1338|      0|    tstate->current_frame = frame->previous;
 1339|       |    return NULL;
 1340|      0|}
_PyEval_FrameClearAndPop:
 2044|   234k|{
 2045|       |    // By this point, tstate->current_frame is already set to the parent frame.
 2046|   234k|    _PyThreadState_UpdateLastProfiledFrame(tstate, frame, tstate->current_frame);
  ------------------
  |  |  326|   234k|    do { \
  |  |  327|   234k|        PyThreadState *tstate_ = (tstate); \
  |  |  328|   234k|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  329|   234k|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  ------------------
  |  |  |  Branch (329:13): [True: 0, False: 234k]
  |  |  ------------------
  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  332|      0|        } \
  |  |  333|   234k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (333:14): [Folded, False: 234k]
  |  |  ------------------
  ------------------
 2047|       |
 2048|   234k|    if (frame->owner == FRAME_OWNED_BY_THREAD) {
  ------------------
  |  Branch (2048:9): [True: 234k, False: 182]
  ------------------
 2049|   234k|        clear_thread_frame(tstate, frame);
 2050|   234k|    }
 2051|    182|    else {
 2052|    182|        clear_gen_frame(tstate, frame);
 2053|    182|    }
 2054|   234k|}
_PyEvalFramePushAndInit:
 2061|   220k|{
 2062|   220k|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
 2063|   220k|    PyCodeObject * code = (PyCodeObject *)func_obj->func_code;
 2064|   220k|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|   220k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2065|   220k|    _PyInterpreterFrame *frame = _PyThreadState_PushFrame(tstate, code->co_framesize);
 2066|   220k|    if (frame == NULL) {
  ------------------
  |  Branch (2066:9): [True: 0, False: 220k]
  ------------------
 2067|      0|        goto fail;
 2068|      0|    }
 2069|   220k|    _PyFrame_Initialize(tstate, frame, func, locals, code, 0, previous);
 2070|   220k|    if (initialize_locals(tstate, func_obj, frame->localsplus, args, argcount, kwnames)) {
  ------------------
  |  Branch (2070:9): [True: 0, False: 220k]
  ------------------
 2071|      0|        assert(frame->owner == FRAME_OWNED_BY_THREAD);
  ------------------
  |  Branch (2071:9): [True: 0, False: 0]
  ------------------
 2072|      0|        _PyThreadState_UpdateLastProfiledFrame(tstate, frame, tstate->current_frame);
  ------------------
  |  |  326|      0|    do { \
  |  |  327|      0|        PyThreadState *tstate_ = (tstate); \
  |  |  328|      0|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  329|      0|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  ------------------
  |  |  |  Branch (329:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  332|      0|        } \
  |  |  333|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (333:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2073|      0|        clear_thread_frame(tstate, frame);
 2074|      0|        return NULL;
 2075|      0|    }
 2076|   220k|    return frame;
 2077|      0|fail:
 2078|       |    /* Consume the references */
 2079|      0|    PyStackRef_CLOSE(func);
 2080|      0|    Py_XDECREF(locals);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2081|      0|    for (size_t i = 0; i < argcount; i++) {
  ------------------
  |  Branch (2081:24): [True: 0, False: 0]
  ------------------
 2082|      0|        PyStackRef_CLOSE(args[i]);
 2083|      0|    }
 2084|      0|    if (kwnames) {
  ------------------
  |  Branch (2084:9): [True: 0, False: 0]
  ------------------
 2085|      0|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2086|      0|        for (Py_ssize_t i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (2086:32): [True: 0, False: 0]
  ------------------
 2087|      0|            PyStackRef_CLOSE(args[i+argcount]);
 2088|      0|        }
 2089|      0|    }
 2090|      0|    PyErr_NoMemory();
 2091|       |    return NULL;
 2092|   220k|}
_PyEvalFramePushAndInit_Ex:
 2100|    115|{
 2101|    115|    bool has_dict = (kwargs != NULL && PyDict_GET_SIZE(kwargs) > 0);
  ------------------
  |  |   63|     97|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2101:22): [True: 97, False: 18]
  |  Branch (2101:40): [True: 0, False: 97]
  ------------------
 2102|    115|    PyObject *kwnames = NULL;
 2103|    115|    _PyStackRef *newargs;
 2104|    115|    PyObject *const *object_array = NULL;
 2105|    115|    _PyStackRef stack_array[8] = {0};
 2106|    115|    if (has_dict) {
  ------------------
  |  Branch (2106:9): [True: 0, False: 115]
  ------------------
 2107|      0|        object_array = _PyStack_UnpackDict(tstate, _PyTuple_ITEMS(callargs), nargs, kwargs, &kwnames);
  ------------------
  |  |   26|      0|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2108|      0|        if (object_array == NULL) {
  ------------------
  |  Branch (2108:13): [True: 0, False: 0]
  ------------------
 2109|      0|            PyStackRef_CLOSE(func);
 2110|      0|            goto error;
 2111|      0|        }
 2112|      0|        size_t nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|      0|        assert(sizeof(PyObject *) == sizeof(_PyStackRef));
  ------------------
  |  Branch (2113:9): [True: 0, Folded]
  ------------------
 2114|      0|        newargs = (_PyStackRef *)object_array;
 2115|       |        /* Positional args are borrowed from callargs tuple, need new reference */
 2116|      0|        for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2116:32): [True: 0, False: 0]
  ------------------
 2117|      0|            newargs[i] = PyStackRef_FromPyObjectNew(object_array[i]);
  ------------------
  |  |  611|      0|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2118|      0|        }
 2119|       |        /* Keyword args are owned by _PyStack_UnpackDict, steal them */
 2120|      0|        for (size_t i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2120:28): [True: 0, False: 0]
  ------------------
 2121|      0|            newargs[nargs + i] = PyStackRef_FromPyObjectSteal(object_array[nargs + i]);
 2122|      0|        }
 2123|      0|    }
 2124|    115|    else {
 2125|    115|        if (nargs <= 8) {
  ------------------
  |  Branch (2125:13): [True: 113, False: 2]
  ------------------
 2126|    113|            newargs = stack_array;
 2127|    113|        }
 2128|      2|        else {
 2129|      2|            newargs = PyMem_Malloc(sizeof(_PyStackRef) *nargs);
 2130|      2|            if (newargs == NULL) {
  ------------------
  |  Branch (2130:17): [True: 0, False: 2]
  ------------------
 2131|      0|                PyErr_NoMemory();
 2132|      0|                PyStackRef_CLOSE(func);
 2133|      0|                goto error;
 2134|      0|            }
 2135|      2|        }
 2136|       |        /* We need to create a new reference for all our args since the new frame steals them. */
 2137|    452|        for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2137:32): [True: 337, False: 115]
  ------------------
 2138|    337|            newargs[i] = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(callargs, i));
  ------------------
  |  |  611|    337|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    674|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 337, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2139|    337|        }
 2140|    115|    }
 2141|    115|    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
 2142|    115|        tstate, func, locals,
 2143|    115|        newargs, nargs, kwnames, previous
 2144|    115|    );
 2145|    115|    if (has_dict) {
  ------------------
  |  Branch (2145:9): [True: 0, False: 115]
  ------------------
 2146|      0|        _PyStack_UnpackDict_FreeNoDecRef(object_array, kwnames);
 2147|      0|    }
 2148|    115|    else if (nargs > 8) {
  ------------------
  |  Branch (2148:14): [True: 2, False: 113]
  ------------------
 2149|      2|       PyMem_Free((void *)newargs);
 2150|      2|    }
 2151|       |    /* No need to decref func here because the reference has been stolen by
 2152|       |       _PyEvalFramePushAndInit.
 2153|       |    */
 2154|    115|    Py_DECREF(callargs);
  ------------------
  |  |   80|    115|    do { \
  |  |   81|    115|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    115|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    115|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    115|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    115|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    115|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    115|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 115]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|    115|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|    115|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|    115|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 103, False: 12]
  |  |  ------------------
  |  |   88|    103|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|    103|    do { \
  |  |  |  |  110|    103|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|    103|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 103]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|    103|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 103]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|    103|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|    103|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|    103|            (*dealloc)(op); \
  |  |   91|    103|        } \
  |  |   92|    115|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 115]
  |  |  ------------------
  ------------------
 2155|    115|    Py_XDECREF(kwargs);
  ------------------
  |  |   69|    115|    do { \
  |  |   70|    115|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    115|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    115|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|    115|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 97, False: 18]
  |  |  ------------------
  |  |   72|     97|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|     97|    do { \
  |  |  |  |   81|     97|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     97|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     97|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 97]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     97|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     97|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     97|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 97, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|     97|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|     97|    do { \
  |  |  |  |  |  |  110|     97|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|     97|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 97]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|     97|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 97]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     97|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|     97|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     97|            (*dealloc)(op); \
  |  |  |  |   91|     97|        } \
  |  |  |  |   92|     97|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 97]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|     97|        } \
  |  |   74|    115|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 115]
  |  |  ------------------
  ------------------
 2156|    115|    return new_frame;
 2157|      0|error:
 2158|      0|    Py_DECREF(callargs);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2159|      0|    Py_XDECREF(kwargs);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2160|       |    return NULL;
 2161|    115|}
_PyEval_Vector:
 2168|   207k|{
 2169|   207k|    size_t total_args = argcount;
 2170|   207k|    if (kwnames) {
  ------------------
  |  Branch (2170:9): [True: 377, False: 206k]
  ------------------
 2171|    377|        total_args += PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|    377|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    377|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    377|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2172|    377|    }
 2173|   207k|    _PyStackRef stack_array[8] = {0};
 2174|   207k|    _PyStackRef *arguments;
 2175|   207k|    if (total_args <= 8) {
  ------------------
  |  Branch (2175:9): [True: 207k, False: 61]
  ------------------
 2176|   207k|        arguments = stack_array;
 2177|   207k|    }
 2178|     61|    else {
 2179|     61|        arguments = PyMem_Malloc(sizeof(_PyStackRef) * total_args);
 2180|     61|        if (arguments == NULL) {
  ------------------
  |  Branch (2180:13): [True: 0, False: 61]
  ------------------
 2181|      0|            return PyErr_NoMemory();
 2182|      0|        }
 2183|     61|    }
 2184|       |    /* _PyEvalFramePushAndInit consumes the references
 2185|       |     * to func, locals and all its arguments */
 2186|   207k|    Py_XINCREF(locals);
  ------------------
  |  |  611|   207k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2187|   420k|    for (size_t i = 0; i < total_args; i++) {
  ------------------
  |  Branch (2187:24): [True: 213k, False: 207k]
  ------------------
 2188|   213k|        arguments[i] = PyStackRef_FromPyObjectNew(args[i]);
  ------------------
  |  |  611|   213k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   213k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   213k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2189|   213k|    }
 2190|   207k|    _PyInterpreterFrame *frame = _PyEvalFramePushAndInit(
 2191|   207k|        tstate, PyStackRef_FromPyObjectNew(func), locals,
  ------------------
  |  |  611|   207k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2192|   207k|        arguments, argcount, kwnames, NULL);
 2193|   207k|    if (total_args > 8) {
  ------------------
  |  Branch (2193:9): [True: 61, False: 207k]
  ------------------
 2194|     61|        PyMem_Free(arguments);
 2195|     61|    }
 2196|   207k|    if (frame == NULL) {
  ------------------
  |  Branch (2196:9): [True: 0, False: 207k]
  ------------------
 2197|      0|        return NULL;
 2198|      0|    }
 2199|   207k|    EVAL_CALL_STAT_INC(EVAL_CALL_VECTOR);
  ------------------
  |  |   79|   207k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
 2200|   207k|    return _PyEval_EvalFrame(tstate, frame, 0);
 2201|   207k|}
_PyEval_UnpackIterableStackRef:
 2378|     66|{
 2379|     66|    int i = 0, j = 0;
 2380|     66|    Py_ssize_t ll = 0;
 2381|     66|    PyObject *it;  /* iter(v) */
 2382|     66|    PyObject *w;
 2383|     66|    PyObject *l = NULL; /* variable list */
 2384|     66|    assert(v != NULL);
  ------------------
  |  Branch (2384:5): [True: 66, False: 0]
  ------------------
 2385|       |
 2386|     66|    it = PyObject_GetIter(v);
 2387|     66|    if (it == NULL) {
  ------------------
  |  Branch (2387:9): [True: 0, False: 66]
  ------------------
 2388|      0|        if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError) &&
  ------------------
  |  Branch (2388:13): [True: 0, False: 0]
  ------------------
 2389|      0|            Py_TYPE(v)->tp_iter == NULL && !PySequence_Check(v))
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2389:13): [True: 0, False: 0]
  |  Branch (2389:44): [True: 0, False: 0]
  ------------------
 2390|      0|        {
 2391|      0|            _PyErr_Format(tstate, PyExc_TypeError,
 2392|      0|                          "cannot unpack non-iterable %.200s object",
 2393|      0|                          Py_TYPE(v)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2394|      0|        }
 2395|      0|        return 0;
 2396|      0|    }
 2397|       |
 2398|    216|    for (; i < argcnt; i++) {
  ------------------
  |  Branch (2398:12): [True: 150, False: 66]
  ------------------
 2399|    150|        w = PyIter_Next(it);
 2400|    150|        if (w == NULL) {
  ------------------
  |  Branch (2400:13): [True: 0, False: 150]
  ------------------
 2401|       |            /* Iterator done, via error or exhaustion. */
 2402|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2402:17): [True: 0, False: 0]
  ------------------
 2403|      0|                if (argcntafter == -1) {
  ------------------
  |  Branch (2403:21): [True: 0, False: 0]
  ------------------
 2404|      0|                    _PyErr_Format(tstate, PyExc_ValueError,
 2405|      0|                                  "not enough values to unpack "
 2406|      0|                                  "(expected %d, got %d)",
 2407|      0|                                  argcnt, i);
 2408|      0|                }
 2409|      0|                else {
 2410|      0|                    _PyErr_Format(tstate, PyExc_ValueError,
 2411|      0|                                  "not enough values to unpack "
 2412|      0|                                  "(expected at least %d, got %d)",
 2413|      0|                                  argcnt + argcntafter, i);
 2414|      0|                }
 2415|      0|            }
 2416|      0|            goto Error;
 2417|      0|        }
 2418|    150|        *--sp = PyStackRef_FromPyObjectSteal(w);
 2419|    150|    }
 2420|       |
 2421|     66|    if (argcntafter == -1) {
  ------------------
  |  Branch (2421:9): [True: 66, False: 0]
  ------------------
 2422|       |        /* We better have exhausted the iterator now. */
 2423|     66|        w = PyIter_Next(it);
 2424|     66|        if (w == NULL) {
  ------------------
  |  Branch (2424:13): [True: 66, False: 0]
  ------------------
 2425|     66|            if (_PyErr_Occurred(tstate))
  ------------------
  |  Branch (2425:17): [True: 0, False: 66]
  ------------------
 2426|      0|                goto Error;
 2427|     66|            Py_DECREF(it);
  ------------------
  |  |   80|     66|    do { \
  |  |   81|     66|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     66|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     66|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|     66|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     66|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     66|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 66, False: 0]
  |  |  ------------------
  |  |   88|     66|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|     66|    do { \
  |  |  |  |  110|     66|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|     66|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 66]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|     66|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|     66|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|     66|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|     66|            (*dealloc)(op); \
  |  |   91|     66|        } \
  |  |   92|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 2428|     66|            return 1;
 2429|     66|        }
 2430|      0|        Py_DECREF(w);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2431|       |
 2432|      0|        if (PyList_CheckExact(v) || PyTuple_CheckExact(v)
  ------------------
  |  |   26|      0|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyList_CheckExact(v) || PyTuple_CheckExact(v)
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2433|      0|              || PyDict_CheckExact(v)) {
  ------------------
  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2434|      0|            ll = PyDict_CheckExact(v) ? PyDict_Size(v) : Py_SIZE(v);
  ------------------
  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          ll = PyDict_CheckExact(v) ? PyDict_Size(v) : Py_SIZE(v);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2435|      0|            if (ll > argcnt) {
  ------------------
  |  Branch (2435:17): [True: 0, False: 0]
  ------------------
 2436|      0|                _PyErr_Format(tstate, PyExc_ValueError,
 2437|      0|                              "too many values to unpack (expected %d, got %zd)",
 2438|      0|                              argcnt, ll);
 2439|      0|                goto Error;
 2440|      0|            }
 2441|      0|        }
 2442|      0|        _PyErr_Format(tstate, PyExc_ValueError,
 2443|      0|                      "too many values to unpack (expected %d)",
 2444|      0|                      argcnt);
 2445|      0|        goto Error;
 2446|      0|    }
 2447|       |
 2448|      0|    l = PySequence_List(it);
 2449|      0|    if (l == NULL)
  ------------------
  |  Branch (2449:9): [True: 0, False: 0]
  ------------------
 2450|      0|        goto Error;
 2451|      0|    *--sp = PyStackRef_FromPyObjectSteal(l);
 2452|      0|    i++;
 2453|       |
 2454|      0|    ll = PyList_GET_SIZE(l);
  ------------------
  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2455|      0|    if (ll < argcntafter) {
  ------------------
  |  Branch (2455:9): [True: 0, False: 0]
  ------------------
 2456|      0|        _PyErr_Format(tstate, PyExc_ValueError,
 2457|      0|            "not enough values to unpack (expected at least %d, got %zd)",
 2458|      0|            argcnt + argcntafter, argcnt + ll);
 2459|      0|        goto Error;
 2460|      0|    }
 2461|       |
 2462|       |    /* Pop the "after-variable" args off the list. */
 2463|      0|    for (j = argcntafter; j > 0; j--, i++) {
  ------------------
  |  Branch (2463:27): [True: 0, False: 0]
  ------------------
 2464|      0|        *--sp = PyStackRef_FromPyObjectSteal(PyList_GET_ITEM(l, ll - j));
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2464:46): [True: 0, False: 0]
  ------------------
 2465|      0|    }
 2466|       |    /* Resize the list. */
 2467|      0|    Py_SET_SIZE(l, ll - argcntafter);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2468|      0|    Py_DECREF(it);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2469|      0|    return 1;
 2470|       |
 2471|      0|Error:
 2472|      0|    for (; i > 0; i--, sp++) {
  ------------------
  |  Branch (2472:12): [True: 0, False: 0]
  ------------------
 2473|      0|        PyStackRef_CLOSE(*sp);
 2474|      0|    }
 2475|       |    Py_XDECREF(it);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2476|      0|    return 0;
 2477|      0|}
_PyEval_MonitorRaise:
 2484|  3.11k|{
 2485|  3.11k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_RAISE)) {
  ------------------
  |  |   32|  3.11k|#define PY_MONITORING_EVENT_RAISE 11
  ------------------
  |  Branch (2485:9): [True: 3.11k, False: 0]
  ------------------
 2486|  3.11k|        return;
 2487|  3.11k|    }
 2488|      0|    do_monitor_exc(tstate, frame, instr, PY_MONITORING_EVENT_RAISE);
  ------------------
  |  |   32|      0|#define PY_MONITORING_EVENT_RAISE 11
  ------------------
 2489|      0|}
_PyEval_NoToolsForUnwind:
 2493|      6|{
 2494|      6|    return no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_UNWIND);
  ------------------
  |  |   34|      6|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
 2495|      6|}
_PyEval_GetFrame:
 2631|    288|{
 2632|    288|    PyThreadState *tstate = _PyThreadState_GET();
 2633|    288|    return _PyThreadState_GetFrame(tstate);
 2634|    288|}
_PyEval_GetBuiltins:
 2652|    124|{
 2653|    124|    _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
 2654|    124|    if (frame != NULL) {
  ------------------
  |  Branch (2654:9): [True: 118, False: 6]
  ------------------
 2655|    118|        return frame->f_builtins;
 2656|    118|    }
 2657|      6|    return tstate->interp->builtins;
 2658|    124|}
PyEval_GetBuiltins:
 2662|    124|{
 2663|    124|    PyThreadState *tstate = _PyThreadState_GET();
 2664|    124|    return _PyEval_GetBuiltins(tstate);
 2665|    124|}
PyEval_GetGlobals:
 2774|    169|{
 2775|    169|    PyThreadState *tstate = _PyThreadState_GET();
 2776|    169|    return _PyEval_GetGlobals(tstate);
 2777|    169|}
_PyEval_EnsureBuiltins:
 2837|    119|{
 2838|    119|    PyObject *builtins = get_globals_builtins(globals);
 2839|    119|    if (builtins == NULL) {
  ------------------
  |  Branch (2839:9): [True: 118, False: 1]
  ------------------
 2840|    118|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2840:13): [True: 0, False: 118]
  ------------------
 2841|      0|            return -1;
 2842|      0|        }
 2843|    118|        builtins = PyEval_GetBuiltins();  // borrowed
 2844|    118|        if (builtins == NULL) {
  ------------------
  |  Branch (2844:13): [True: 0, False: 118]
  ------------------
 2845|      0|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2845:13): [True: 0, False: 0]
  ------------------
 2846|      0|            return -1;
 2847|      0|        }
 2848|    118|        Py_INCREF(builtins);
  ------------------
  |  |  310|    118|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2849|    118|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2849:13): [True: 0, False: 118]
  ------------------
 2850|      0|            Py_DECREF(builtins);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2851|      0|            return -1;
 2852|      0|        }
 2853|    118|    }
 2854|    119|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2854:9): [True: 0, False: 119]
  ------------------
 2855|      0|        *p_builtins = builtins;
 2856|      0|    }
 2857|    119|    else {
 2858|       |        Py_DECREF(builtins);
  ------------------
  |  |   80|    119|    do { \
  |  |   81|    119|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    119|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    119|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 119]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|    119|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|    119|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|    119|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 119]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|    119|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 119]
  |  |  ------------------
  ------------------
 2859|    119|    }
 2860|    119|    return 0;
 2861|    119|}
_PyEval_EnsureBuiltinsWithModule:
 2866|     16|{
 2867|     16|    PyObject *builtins = get_globals_builtins(globals);
 2868|     16|    if (builtins == NULL) {
  ------------------
  |  Branch (2868:9): [True: 16, False: 0]
  ------------------
 2869|     16|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2869:13): [True: 0, False: 16]
  ------------------
 2870|      0|            return -1;
 2871|      0|        }
 2872|     16|        builtins = PyImport_ImportModuleLevel("builtins", NULL, NULL, NULL, 0);
 2873|     16|        if (builtins == NULL) {
  ------------------
  |  Branch (2873:13): [True: 0, False: 16]
  ------------------
 2874|      0|            return -1;
 2875|      0|        }
 2876|     16|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2876:13): [True: 0, False: 16]
  ------------------
 2877|      0|            Py_DECREF(builtins);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2878|      0|            return -1;
 2879|      0|        }
 2880|     16|    }
 2881|     16|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2881:9): [True: 16, False: 0]
  ------------------
 2882|     16|        *p_builtins = builtins;
 2883|     16|    }
 2884|      0|    else {
 2885|       |        Py_DECREF(builtins);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2886|      0|    }
 2887|     16|    return 0;
 2888|     16|}
PyEval_MergeCompilerFlags:
 2914|      1|{
 2915|      1|    PyThreadState *tstate = _PyThreadState_GET();
 2916|      1|    _PyInterpreterFrame *current_frame = tstate->current_frame;
 2917|      1|    if (current_frame == tstate->base_frame) {
  ------------------
  |  Branch (2917:9): [True: 0, False: 1]
  ------------------
 2918|      0|        current_frame = NULL;
 2919|      0|    }
 2920|      1|    int result = cf->cf_flags != 0;
 2921|       |
 2922|      1|    if (current_frame != NULL) {
  ------------------
  |  Branch (2922:9): [True: 1, False: 0]
  ------------------
 2923|      1|        const int codeflags = _PyFrame_GetCode(current_frame)->co_flags;
 2924|      1|        const int compilerflags = codeflags & PyCF_MASK;
  ------------------
  |  |    6|      1|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  139|      1|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  140|      1|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|      1|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  141|      1|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  142|      1|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|      1|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  143|      1|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  145|      1|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|      1|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  146|      1|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  147|      1|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
 2925|      1|        if (compilerflags) {
  ------------------
  |  Branch (2925:13): [True: 0, False: 1]
  ------------------
 2926|      0|            result = 1;
 2927|      0|            cf->cf_flags |= compilerflags;
 2928|      0|        }
 2929|      1|    }
 2930|      1|    return result;
 2931|      1|}
_PyEval_SliceIndex:
 2994|  1.53k|{
 2995|  1.53k|    if (Py_IsNone(v)) {
  ------------------
  |  |  621|  1.53k|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|  1.53k|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 289, False: 1.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2996|    289|        return 1;
 2997|    289|    }
 2998|  1.24k|    return _PyEval_SliceIndexNotNone(v, pi);
 2999|  1.53k|}
_PyEval_SliceIndexNotNone:
 3003|  1.24k|{
 3004|  1.24k|    PyThreadState *tstate = _PyThreadState_GET();
 3005|  1.24k|    Py_ssize_t x;
 3006|  1.24k|    if (PyLong_CheckExact(v) && _PyLong_IsCompact((PyLongObject *)v)) {
  ------------------
  |  |   14|  1.24k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |   65|  2.49k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 1.24k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3006:33): [True: 1.24k, False: 0]
  ------------------
 3007|  1.24k|        *pi = _PyLong_CompactValue((PyLongObject *)v);
 3008|  1.24k|        return 1;
 3009|  1.24k|    }
 3010|      0|    if (_PyIndex_Check(v)) {
  ------------------
  |  Branch (3010:9): [True: 0, False: 0]
  ------------------
 3011|      0|        x = PyNumber_AsSsize_t(v, NULL);
 3012|      0|        if (x == -1 && _PyErr_Occurred(tstate))
  ------------------
  |  Branch (3012:13): [True: 0, False: 0]
  |  Branch (3012:24): [True: 0, False: 0]
  ------------------
 3013|      0|            return 0;
 3014|      0|    }
 3015|      0|    else {
 3016|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 3017|      0|                         "slice indices must be integers or "
 3018|      0|                         "have an __index__ method");
 3019|      0|        return 0;
 3020|      0|    }
 3021|      0|    *pi = x;
 3022|      0|    return 1;
 3023|      0|}
_PyEval_UnpackIndices:
 3029|    288|{
 3030|    288|    if (len < 0) {
  ------------------
  |  Branch (3030:9): [True: 0, False: 288]
  ------------------
 3031|      0|        return 0;
 3032|      0|    }
 3033|    288|    *istart = 0;
 3034|    288|    *istop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|    288|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 3035|    288|    if (!_PyEval_SliceIndex(start, istart)) {
  ------------------
  |  Branch (3035:9): [True: 0, False: 288]
  ------------------
 3036|      0|        return 0;
 3037|      0|    }
 3038|    288|    if (!_PyEval_SliceIndex(stop, istop)) {
  ------------------
  |  Branch (3038:9): [True: 0, False: 288]
  ------------------
 3039|      0|        return 0;
 3040|      0|    }
 3041|    288|    PySlice_AdjustIndices(len, istart, istop, 1);
 3042|    288|    return 1;
 3043|    288|}
_PyEval_ImportName:
 3049|    339|{
 3050|    339|    PyObject *import_func;
 3051|    339|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__import__),
  ------------------
  |  |  951|    339|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    339|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    339|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3051:9): [True: 0, False: 339]
  ------------------
 3052|    339|                                  &import_func) < 0) {
 3053|      0|        return NULL;
 3054|      0|    }
 3055|    339|    if (import_func == NULL) {
  ------------------
  |  Branch (3055:9): [True: 0, False: 339]
  ------------------
 3056|      0|        _PyErr_SetString(tstate, PyExc_ImportError, "__import__ not found");
 3057|      0|        return NULL;
 3058|      0|    }
 3059|       |
 3060|    339|    PyObject *res = _PyEval_ImportNameWithImport(
 3061|    339|        tstate, import_func, globals, locals, name, fromlist, level);
 3062|       |    Py_DECREF(import_func);
  ------------------
  |  |   80|    339|    do { \
  |  |   81|    339|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    339|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    339|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    339|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    339|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    339|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    339|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 339]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|    339|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|    339|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|    339|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 339]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|    339|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 339]
  |  |  ------------------
  ------------------
 3063|    339|    return res;
 3064|    339|}
_PyEval_ImportNameWithImport:
 3070|    339|{
 3071|    339|    if (locals == NULL) {
  ------------------
  |  Branch (3071:9): [True: 66, False: 273]
  ------------------
 3072|     66|        locals = Py_None;
  ------------------
  |  |  616|     66|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3073|     66|    }
 3074|       |
 3075|       |    /* Fast path for not overloaded __import__. */
 3076|    339|    if (_PyImport_IsDefaultImportFunc(tstate->interp, import_func)) {
  ------------------
  |  Branch (3076:9): [True: 339, False: 0]
  ------------------
 3077|    339|        int ilevel = PyLong_AsInt(level);
 3078|    339|        if (ilevel == -1 && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3078:13): [True: 0, False: 339]
  |  Branch (3078:29): [True: 0, False: 0]
  ------------------
 3079|      0|            return NULL;
 3080|      0|        }
 3081|    339|        return PyImport_ImportModuleLevelObject(
 3082|    339|                        name,
 3083|    339|                        globals,
 3084|    339|                        locals,
 3085|    339|                        fromlist,
 3086|    339|                        ilevel);
 3087|    339|    }
 3088|       |
 3089|      0|    PyObject *args[5] = {name, globals, locals, fromlist, level};
 3090|       |    PyObject *res = PyObject_Vectorcall(import_func, args, 5, NULL);
 3091|      0|    return res;
 3092|    339|}
_PyEval_LazyImportName:
 3143|    244|{
 3144|    244|    PyObject *res = NULL;
 3145|       |    // Check if global policy overrides the local syntax
 3146|    244|    switch (PyImport_GetLazyImportsMode()) {
  ------------------
  |  Branch (3146:13): [True: 244, False: 0]
  ------------------
 3147|      0|        case PyImport_LAZY_ALL:
  ------------------
  |  Branch (3147:9): [True: 0, False: 244]
  ------------------
 3148|      0|            if (!lazy) {
  ------------------
  |  Branch (3148:17): [True: 0, False: 0]
  ------------------
 3149|      0|                lazy = is_lazy_import_module_level();
 3150|      0|            }
 3151|      0|            break;
 3152|    244|        case PyImport_LAZY_NORMAL:
  ------------------
  |  Branch (3152:9): [True: 244, False: 0]
  ------------------
 3153|    244|            break;
 3154|    244|    }
 3155|       |
 3156|    244|    if (!lazy) {
  ------------------
  |  Branch (3156:9): [True: 232, False: 12]
  ------------------
 3157|       |        // See if __lazy_modules__ forces this to be lazy.
 3158|       |        // __lazy_modules__ only applies at module level; exec() inside
 3159|       |        // functions or classes should remain eager.
 3160|    232|        if (is_lazy_import_module_level()) {
  ------------------
  |  Branch (3160:13): [True: 232, False: 0]
  ------------------
 3161|    232|            lazy = check_lazy_import_compatibility(tstate, globals, name, level);
 3162|    232|            if (lazy < 0) {
  ------------------
  |  Branch (3162:17): [True: 0, False: 232]
  ------------------
 3163|      0|                return NULL;
 3164|      0|            }
 3165|    232|        }
 3166|    232|    }
 3167|       |
 3168|    244|    if (!lazy) {
  ------------------
  |  Branch (3168:9): [True: 232, False: 12]
  ------------------
 3169|       |        // Not a lazy import or lazy imports are disabled, fallback to the
 3170|       |        // regular import.
 3171|    232|        return _PyEval_ImportName(tstate, builtins, globals, locals,
 3172|    232|                                  name, fromlist, level);
 3173|    232|    }
 3174|       |
 3175|     12|    PyObject *lazy_import_func;
 3176|     12|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__lazy_import__),
  ------------------
  |  |  951|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3176:9): [True: 0, False: 12]
  ------------------
 3177|     12|                                  &lazy_import_func) < 0) {
 3178|      0|        goto error;
 3179|      0|    }
 3180|     12|    if (lazy_import_func == NULL) {
  ------------------
  |  Branch (3180:9): [True: 0, False: 12]
  ------------------
 3181|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (3181:9): [True: 0, False: 0]
  ------------------
 3182|      0|        _PyErr_SetString(tstate, PyExc_ImportError,
 3183|      0|                         "__lazy_import__ not found");
 3184|      0|        goto error;
 3185|      0|    }
 3186|       |
 3187|     12|    if (locals == NULL) {
  ------------------
  |  Branch (3187:9): [True: 0, False: 12]
  ------------------
 3188|      0|        locals = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3189|      0|    }
 3190|       |
 3191|     12|    if (_PyImport_IsDefaultLazyImportFunc(tstate->interp, lazy_import_func)) {
  ------------------
  |  Branch (3191:9): [True: 12, False: 0]
  ------------------
 3192|     12|        int ilevel = PyLong_AsInt(level);
 3193|     12|        if (ilevel == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3193:13): [True: 0, False: 12]
  |  Branch (3193:29): [True: 0, False: 0]
  ------------------
 3194|      0|            goto error;
 3195|      0|        }
 3196|       |
 3197|     12|        res = _PyImport_LazyImportModuleLevelObject(
 3198|     12|            tstate, name, builtins, globals, locals, fromlist, ilevel
 3199|     12|        );
 3200|     12|        goto error;
 3201|     12|    }
 3202|       |
 3203|      0|    PyObject *args[5] = {name, globals, locals, fromlist, level};
 3204|      0|    res = PyObject_Vectorcall(lazy_import_func, args, 5, NULL);
 3205|     12|error:
 3206|       |    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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|     12|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|     12|        } \
  |  |   74|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 3207|     12|    return res;
 3208|      0|}
_PyEval_ImportFrom:
 3212|    257|{
 3213|    257|    PyObject *x;
 3214|    257|    PyObject *fullmodname, *mod_name, *origin, *mod_name_or_unknown, *errmsg, *spec;
 3215|       |
 3216|    257|    if (PyObject_GetOptionalAttr(v, name, &x) != 0) {
  ------------------
  |  Branch (3216:9): [True: 256, False: 1]
  ------------------
 3217|    256|        return x;
 3218|    256|    }
 3219|       |    /* Issue #17636: in case this failed because of a circular relative
 3220|       |       import, try to fallback on reading the module directly from
 3221|       |       sys.modules. */
 3222|      1|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__name__), &mod_name) < 0) {
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3222:9): [True: 0, False: 1]
  ------------------
 3223|      0|        return NULL;
 3224|      0|    }
 3225|      1|    if (mod_name == NULL || !PyUnicode_Check(mod_name)) {
  ------------------
  |  |  103|      1|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3225:9): [True: 0, False: 1]
  |  Branch (3225:29): [True: 0, False: 1]
  ------------------
 3226|      0|        Py_CLEAR(mod_name);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3227|      0|        goto error;
 3228|      0|    }
 3229|      1|    fullmodname = PyUnicode_FromFormat("%U.%U", mod_name, name);
 3230|      1|    if (fullmodname == NULL) {
  ------------------
  |  Branch (3230:9): [True: 0, False: 1]
  ------------------
 3231|      0|        Py_DECREF(mod_name);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3232|      0|        return NULL;
 3233|      0|    }
 3234|      1|    x = PyImport_GetModule(fullmodname);
 3235|      1|    Py_DECREF(fullmodname);
  ------------------
  |  |   80|      1|    do { \
  |  |   81|      1|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      1|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      1|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      1|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 1, False: 0]
  |  |  ------------------
  |  |   88|      1|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      1|    do { \
  |  |  |  |  110|      1|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      1|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      1|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      1|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      1|            (*dealloc)(op); \
  |  |   91|      1|        } \
  |  |   92|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3236|      1|    if (x == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3236:9): [True: 1, False: 0]
  |  Branch (3236:22): [True: 1, False: 0]
  ------------------
 3237|      1|        goto error;
 3238|      1|    }
 3239|      0|    Py_DECREF(mod_name);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3240|      0|    return x;
 3241|       |
 3242|      1| error:
 3243|      1|    if (mod_name == NULL) {
  ------------------
  |  Branch (3243:9): [True: 0, False: 1]
  ------------------
 3244|      0|        mod_name_or_unknown = PyUnicode_FromString("<unknown module name>");
 3245|      0|        if (mod_name_or_unknown == NULL) {
  ------------------
  |  Branch (3245:13): [True: 0, False: 0]
  ------------------
 3246|      0|            return NULL;
 3247|      0|        }
 3248|      1|    } else {
 3249|      1|        mod_name_or_unknown = mod_name;
 3250|      1|    }
 3251|       |    // mod_name is no longer an owned reference
 3252|      1|    assert(mod_name_or_unknown);
  ------------------
  |  Branch (3252:5): [True: 1, False: 0]
  ------------------
 3253|      1|    assert(mod_name == NULL || mod_name == mod_name_or_unknown);
  ------------------
  |  Branch (3253:5): [True: 0, False: 1]
  |  Branch (3253:5): [True: 1, False: 0]
  ------------------
 3254|       |
 3255|      1|    origin = NULL;
 3256|      1|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3256:9): [True: 0, False: 1]
  ------------------
 3257|      0|        Py_DECREF(mod_name_or_unknown);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3258|      0|        return NULL;
 3259|      0|    }
 3260|      1|    if (spec == NULL) {
  ------------------
  |  Branch (3260:9): [True: 0, False: 1]
  ------------------
 3261|      0|        errmsg = PyUnicode_FromFormat(
 3262|      0|            "cannot import name %R from %R (unknown location)",
 3263|      0|            name, mod_name_or_unknown
 3264|      0|        );
 3265|      0|        goto done_with_errmsg;
 3266|      0|    }
 3267|      1|    if (_PyModuleSpec_GetFileOrigin(spec, &origin) < 0) {
  ------------------
  |  Branch (3267:9): [True: 0, False: 1]
  ------------------
 3268|      0|        goto done;
 3269|      0|    }
 3270|       |
 3271|      1|    int is_possibly_shadowing = _PyModule_IsPossiblyShadowing(origin);
 3272|      1|    if (is_possibly_shadowing < 0) {
  ------------------
  |  Branch (3272:9): [True: 0, False: 1]
  ------------------
 3273|      0|        goto done;
 3274|      0|    }
 3275|      1|    int is_possibly_shadowing_stdlib = 0;
 3276|      1|    if (is_possibly_shadowing) {
  ------------------
  |  Branch (3276:9): [True: 0, False: 1]
  ------------------
 3277|      0|        PyObject *stdlib_modules;
 3278|      0|        if (PySys_GetOptionalAttrString("stdlib_module_names", &stdlib_modules) < 0) {
  ------------------
  |  Branch (3278:13): [True: 0, False: 0]
  ------------------
 3279|      0|            goto done;
 3280|      0|        }
 3281|      0|        if (stdlib_modules && PyAnySet_Check(stdlib_modules)) {
  ------------------
  |  |   31|      0|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|      0|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|      0|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3281:13): [True: 0, False: 0]
  ------------------
 3282|      0|            is_possibly_shadowing_stdlib = PySet_Contains(stdlib_modules, mod_name_or_unknown);
 3283|      0|            if (is_possibly_shadowing_stdlib < 0) {
  ------------------
  |  Branch (3283:17): [True: 0, False: 0]
  ------------------
 3284|      0|                Py_DECREF(stdlib_modules);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3285|      0|                goto done;
 3286|      0|            }
 3287|      0|        }
 3288|      0|        Py_XDECREF(stdlib_modules);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3289|      0|    }
 3290|       |
 3291|      1|    if (origin == NULL && PyModule_Check(v)) {
  ------------------
  |  |   12|      1|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      1|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3291:9): [True: 1, False: 0]
  ------------------
 3292|       |        // Fall back to __file__ for diagnostics if we don't have
 3293|       |        // an origin that is a location
 3294|      1|        origin = PyModule_GetFilenameObject(v);
 3295|      1|        if (origin == NULL) {
  ------------------
  |  Branch (3295:13): [True: 1, False: 0]
  ------------------
 3296|      1|            if (!PyErr_ExceptionMatches(PyExc_SystemError)) {
  ------------------
  |  Branch (3296:17): [True: 0, False: 1]
  ------------------
 3297|      0|                goto done;
 3298|      0|            }
 3299|       |            // PyModule_GetFilenameObject raised "module filename missing"
 3300|      1|            _PyErr_Clear(tstate);
 3301|      1|        }
 3302|      1|        assert(origin == NULL || PyUnicode_Check(origin));
  ------------------
  |  Branch (3302:9): [True: 1, False: 0]
  |  Branch (3302:9): [True: 0, False: 0]
  ------------------
 3303|      1|    }
 3304|       |
 3305|      1|    if (is_possibly_shadowing_stdlib) {
  ------------------
  |  Branch (3305:9): [True: 0, False: 1]
  ------------------
 3306|      0|        assert(origin);
  ------------------
  |  Branch (3306:9): [True: 0, False: 0]
  ------------------
 3307|      0|        errmsg = PyUnicode_FromFormat(
 3308|      0|            "cannot import name %R from %R "
 3309|      0|            "(consider renaming %R since it has the same "
 3310|      0|            "name as the standard library module named %R "
 3311|      0|            "and prevents importing that standard library module)",
 3312|      0|            name, mod_name_or_unknown, origin, mod_name_or_unknown
 3313|      0|        );
 3314|      0|    }
 3315|      1|    else {
 3316|      1|        int rc = _PyModuleSpec_IsInitializing(spec);
 3317|      1|        if (rc < 0) {
  ------------------
  |  Branch (3317:13): [True: 0, False: 1]
  ------------------
 3318|      0|            goto done;
 3319|      0|        }
 3320|      1|        else if (rc > 0) {
  ------------------
  |  Branch (3320:18): [True: 0, False: 1]
  ------------------
 3321|      0|            if (is_possibly_shadowing) {
  ------------------
  |  Branch (3321:17): [True: 0, False: 0]
  ------------------
 3322|      0|                assert(origin);
  ------------------
  |  Branch (3322:17): [True: 0, False: 0]
  ------------------
 3323|       |                // For non-stdlib modules, only mention the possibility of
 3324|       |                // shadowing if the module is being initialized.
 3325|      0|                errmsg = PyUnicode_FromFormat(
 3326|      0|                    "cannot import name %R from %R "
 3327|      0|                    "(consider renaming %R if it has the same name "
 3328|      0|                    "as a library you intended to import)",
 3329|      0|                    name, mod_name_or_unknown, origin
 3330|      0|                );
 3331|      0|            }
 3332|      0|            else if (origin) {
  ------------------
  |  Branch (3332:22): [True: 0, False: 0]
  ------------------
 3333|      0|                errmsg = PyUnicode_FromFormat(
 3334|      0|                    "cannot import name %R from partially initialized module %R "
 3335|      0|                    "(most likely due to a circular import) (%S)",
 3336|      0|                    name, mod_name_or_unknown, origin
 3337|      0|                );
 3338|      0|            }
 3339|      0|            else {
 3340|      0|                errmsg = PyUnicode_FromFormat(
 3341|      0|                    "cannot import name %R from partially initialized module %R "
 3342|      0|                    "(most likely due to a circular import)",
 3343|      0|                    name, mod_name_or_unknown
 3344|      0|                );
 3345|      0|            }
 3346|      0|        }
 3347|      1|        else {
 3348|      1|            assert(rc == 0);
  ------------------
  |  Branch (3348:13): [True: 1, False: 0]
  ------------------
 3349|      1|            if (origin) {
  ------------------
  |  Branch (3349:17): [True: 0, False: 1]
  ------------------
 3350|      0|                errmsg = PyUnicode_FromFormat(
 3351|      0|                    "cannot import name %R from %R (%S)",
 3352|      0|                    name, mod_name_or_unknown, origin
 3353|      0|                );
 3354|      0|            }
 3355|      1|            else {
 3356|      1|                errmsg = PyUnicode_FromFormat(
 3357|      1|                    "cannot import name %R from %R (unknown location)",
 3358|      1|                    name, mod_name_or_unknown
 3359|      1|                );
 3360|      1|            }
 3361|      1|        }
 3362|      1|    }
 3363|       |
 3364|      1|done_with_errmsg:
 3365|      1|    if (errmsg != NULL) {
  ------------------
  |  Branch (3365:9): [True: 1, False: 0]
  ------------------
 3366|       |        /* NULL checks for mod_name and origin done by _PyErr_SetImportErrorWithNameFrom */
 3367|      1|        _PyErr_SetImportErrorWithNameFrom(errmsg, mod_name, origin, name);
 3368|      1|        Py_DECREF(errmsg);
  ------------------
  |  |   80|      1|    do { \
  |  |   81|      1|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      1|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      1|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      1|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3369|      1|    }
 3370|       |
 3371|      1|done:
 3372|      1|    Py_XDECREF(origin);
  ------------------
  |  |   69|      1|    do { \
  |  |   70|      1|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      1|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3373|      1|    Py_XDECREF(spec);
  ------------------
  |  |   69|      1|    do { \
  |  |   70|      1|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      1|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 1, False: 0]
  |  |  ------------------
  |  |   72|      1|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      1|    do { \
  |  |  |  |   81|      1|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      1|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      1|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      1|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      1|        } \
  |  |   74|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3374|      1|    Py_DECREF(mod_name_or_unknown);
  ------------------
  |  |   80|      1|    do { \
  |  |   81|      1|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      1|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      1|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      1|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      1|            break; \
  |  |   85|      1|        } \
  |  |   86|      1|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3375|       |    return NULL;
 3376|      1|}
_PyEval_CheckExceptTypeValid:
 3386|  2.26k|{
 3387|  2.26k|    if (PyTuple_Check(right)) {
  ------------------
  |  |   27|  2.26k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.26k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 338, False: 1.92k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3388|    338|        Py_ssize_t i, length;
 3389|    338|        length = PyTuple_GET_SIZE(right);
  ------------------
  |  |   27|    338|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    338|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3390|  1.01k|        for (i = 0; i < length; i++) {
  ------------------
  |  Branch (3390:21): [True: 676, False: 338]
  ------------------
 3391|    676|            PyObject *exc = PyTuple_GET_ITEM(right, i);
  ------------------
  |  |   29|    676|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    676|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    676|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3391:29): [True: 676, False: 0]
  ------------------
 3392|    676|            if (!PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|    676|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  1.35k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    676|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    676|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 676, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|    676|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|    676|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 676, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3393|      0|                _PyErr_SetString(tstate, PyExc_TypeError,
 3394|      0|                    CANNOT_CATCH_MSG);
  ------------------
  |  | 3378|      0|#define CANNOT_CATCH_MSG "catching classes that do not inherit from "\
  |  | 3379|      0|                         "BaseException is not allowed"
  ------------------
 3395|      0|                return -1;
 3396|      0|            }
 3397|    676|        }
 3398|    338|    }
 3399|  1.92k|    else {
 3400|  1.92k|        if (!PyExceptionClass_Check(right)) {
  ------------------
  |  |   61|  1.92k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  3.84k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 1.92k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  1.92k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  1.92k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.92k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3401|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3402|      0|                CANNOT_CATCH_MSG);
  ------------------
  |  | 3378|      0|#define CANNOT_CATCH_MSG "catching classes that do not inherit from "\
  |  | 3379|      0|                         "BaseException is not allowed"
  ------------------
 3403|      0|            return -1;
 3404|      0|        }
 3405|  1.92k|    }
 3406|  2.26k|    return 0;
 3407|  2.26k|}
_Py_Check_ArgsIterable:
 3448|      2|{
 3449|      2|    if (Py_TYPE(args)->tp_iter == NULL && !PySequence_Check(args)) {
  ------------------
  |  |  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 (3449:9): [True: 0, False: 2]
  |  Branch (3449:43): [True: 0, False: 0]
  ------------------
 3450|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 3451|      0|                      "Value after * must be an iterable, not %.200s",
 3452|      0|                      Py_TYPE(args)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3453|      0|        return -1;
 3454|      0|    }
 3455|      2|    return 0;
 3456|      2|}
Py_EnterRecursiveCall:
 3592|     27|{
 3593|     27|    return _Py_EnterRecursiveCall(where);
 3594|     27|}
Py_LeaveRecursiveCall:
 3597|     18|{
 3598|     18|    _Py_LeaveRecursiveCall();
 3599|     18|}
_PyEval_LoadGlobalStackRef:
 3642|  13.3k|{
 3643|  13.3k|    PyObject *namespace = globals;
 3644|  13.3k|    if (PyAnyDict_CheckExact(globals) && PyAnyDict_CheckExact(builtins)) {
  ------------------
  |  |   41|  26.6k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  13.3k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  26.6k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 13.3k, 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|  13.3k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  13.3k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  26.6k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 13.3k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3645|  13.3k|        namespace = _PyDict_LoadGlobalStackRef((PyDictObject *)globals,
 3646|  13.3k|                                             (PyDictObject *)builtins,
 3647|  13.3k|                                             name, writeto);
 3648|  13.3k|        if (PyStackRef_IsNull(*writeto) && !PyErr_Occurred()) {
  ------------------
  |  |  482|  26.6k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  13.3k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  13.3k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 13.3k]
  |  |  ------------------
  ------------------
  |  Branch (3648:44): [True: 0, False: 0]
  ------------------
 3649|       |            // A missing key does not set an exception in the dictionary helper.
 3650|      0|            _PyEval_FormatExcCheckArg(PyThreadState_GET(), PyExc_NameError,
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3651|      0|                                        NAME_ERROR_MSG, name);
  ------------------
  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3652|      0|        }
 3653|  13.3k|    }
 3654|      0|    else {
 3655|       |        /* Slow-path if globals or builtins is not a dict */
 3656|       |        /* namespace 1: globals */
 3657|      0|        PyObject *res;
 3658|      0|        if (PyMapping_GetOptionalItem(globals, name, &res) < 0) {
  ------------------
  |  Branch (3658:13): [True: 0, False: 0]
  ------------------
 3659|      0|            *writeto = PyStackRef_NULL;
 3660|      0|            return;
 3661|      0|        }
 3662|      0|        if (res == NULL) {
  ------------------
  |  Branch (3662:13): [True: 0, False: 0]
  ------------------
 3663|       |            /* namespace 2: builtins */
 3664|      0|            namespace = builtins;
 3665|      0|            if (PyMapping_GetOptionalItem(builtins, name, &res) < 0) {
  ------------------
  |  Branch (3665:17): [True: 0, False: 0]
  ------------------
 3666|      0|                *writeto = PyStackRef_NULL;
 3667|      0|                return;
 3668|      0|            }
 3669|      0|            if (res == NULL) {
  ------------------
  |  Branch (3669:17): [True: 0, False: 0]
  ------------------
 3670|      0|                _PyEval_FormatExcCheckArg(
 3671|      0|                            PyThreadState_GET(), PyExc_NameError,
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3672|      0|                            NAME_ERROR_MSG, name);
  ------------------
  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3673|      0|                *writeto = PyStackRef_NULL;
 3674|      0|                return;
 3675|      0|            }
 3676|      0|        }
 3677|      0|        *writeto = PyStackRef_FromPyObjectSteal(res);
 3678|      0|    }
 3679|       |
 3680|  13.3k|    PyObject *res_o = PyStackRef_AsPyObjectBorrow(*writeto);
 3681|  13.3k|    if (res_o != NULL && PyLazyImport_CheckExact(res_o)) {
  ------------------
  |  |   15|  13.3k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |   65|  13.3k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 13.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3681:9): [True: 13.3k, False: 0]
  ------------------
 3682|      0|        PyObject *l_v = _PyLazyImport_Reify(
 3683|      0|            PyThreadState_GET(), res_o, name, namespace);
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3684|      0|        PyStackRef_CLOSE(writeto[0]);
 3685|      0|        *writeto = l_v == NULL ? PyStackRef_NULL : PyStackRef_FromPyObjectSteal(l_v);
  ------------------
  |  Branch (3685:20): [True: 0, False: 0]
  ------------------
 3686|      0|    }
 3687|  13.3k|}
_PyEval_LoadName:
 3715|  3.95k|{
 3716|  3.95k|    PyObject *value;
 3717|  3.95k|    PyObject *namespace = frame->f_locals;
 3718|  3.95k|    if (namespace == NULL) {
  ------------------
  |  Branch (3718:9): [True: 0, False: 3.95k]
  ------------------
 3719|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 3720|      0|                            "no locals found");
 3721|      0|        return NULL;
 3722|      0|    }
 3723|  3.95k|    if (PyMapping_GetOptionalItem(namespace, name, &value) < 0) {
  ------------------
  |  Branch (3723:9): [True: 0, False: 3.95k]
  ------------------
 3724|      0|        return NULL;
 3725|      0|    }
 3726|  3.95k|    if (value != NULL) {
  ------------------
  |  Branch (3726:9): [True: 2.44k, False: 1.50k]
  ------------------
 3727|  2.44k|        goto found;
 3728|  2.44k|    }
 3729|  1.50k|    namespace = frame->f_globals;
 3730|  1.50k|    if (PyDict_GetItemRef(namespace, name, &value) < 0) {
  ------------------
  |  Branch (3730:9): [True: 0, False: 1.50k]
  ------------------
 3731|      0|        return NULL;
 3732|      0|    }
 3733|  1.50k|    if (value != NULL) {
  ------------------
  |  Branch (3733:9): [True: 982, False: 524]
  ------------------
 3734|    982|        goto found;
 3735|    982|    }
 3736|    524|    namespace = frame->f_builtins;
 3737|    524|    if (PyMapping_GetOptionalItem(namespace, name, &value) < 0) {
  ------------------
  |  Branch (3737:9): [True: 0, False: 524]
  ------------------
 3738|      0|        return NULL;
 3739|      0|    }
 3740|    524|    if (value == NULL) {
  ------------------
  |  Branch (3740:9): [True: 0, False: 524]
  ------------------
 3741|      0|        _PyEval_FormatExcCheckArg(
 3742|      0|                    tstate, PyExc_NameError,
 3743|      0|                            NAME_ERROR_MSG, name);
  ------------------
  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3744|      0|        return NULL;
 3745|      0|    }
 3746|  3.95k|found:
 3747|  3.95k|    if (PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|  3.95k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |   65|  3.95k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 3.95k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3748|       |        Py_SETREF(value, _PyLazyImport_Reify(tstate, value, name, namespace));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3749|      0|    }
 3750|  3.95k|    return value;
 3751|    524|}
_PyForIter_VirtualIteratorNext:
 3754|    535|{
 3755|    535|    PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
 3756|    535|    _PyStackRef index = *index_ptr;
 3757|    535|    if (PyStackRef_IsTaggedInt(index)) {
  ------------------
  |  Branch (3757:9): [True: 124, False: 411]
  ------------------
 3758|    124|        intptr_t i = PyStackRef_UntagInt(index);
 3759|    124|        assert(i >= 0);
  ------------------
  |  Branch (3759:9): [True: 124, False: 0]
  ------------------
 3760|    124|        _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, i);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3761|    124|        i = next_index.index;
 3762|    124|        PyObject *next = next_index.object;
 3763|    124|        if (next == NULL) {
  ------------------
  |  Branch (3763:13): [True: 20, False: 104]
  ------------------
 3764|     20|            return i < 0 ? PyStackRef_ERROR : PyStackRef_NULL;
  ------------------
  |  Branch (3764:20): [True: 0, False: 20]
  ------------------
 3765|     20|        }
 3766|    104|        *index_ptr = PyStackRef_TagInt(i);
 3767|    104|        return PyStackRef_FromPyObjectSteal(next);
 3768|    124|    }
 3769|    411|    PyObject *next = (*Py_TYPE(iter_o)->tp_iternext)(iter_o);
  ------------------
  |  |  213|    411|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    411|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    411|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3770|    411|    if (next == NULL) {
  ------------------
  |  Branch (3770:9): [True: 78, False: 333]
  ------------------
 3771|     78|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3771:13): [True: 0, False: 78]
  ------------------
 3772|      0|            if (_PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) {
  ------------------
  |  Branch (3772:17): [True: 0, False: 0]
  ------------------
 3773|      0|                _PyEval_MonitorRaise(tstate, frame, frame->instr_ptr);
 3774|      0|                _PyErr_Clear(tstate);
 3775|      0|            }
 3776|      0|            else {
 3777|      0|                return PyStackRef_ERROR;
 3778|      0|            }
 3779|      0|        }
 3780|     78|        return PyStackRef_NULL;
 3781|     78|    }
 3782|    333|    return PyStackRef_FromPyObjectSteal(next);
 3783|    411|}
ceval.c:hardware_stack_limits:
   75|      2|{
   76|       |#ifdef WIN32
   77|       |    ULONG_PTR low, high;
   78|       |    GetCurrentThreadStackLimits(&low, &high);
   79|       |    *top = (uintptr_t)high;
   80|       |    ULONG guarantee = 0;
   81|       |#ifdef MS_WINDOWS_DESKTOP
   82|       |    SetThreadStackGuarantee(&guarantee);
   83|       |#endif
   84|       |    *base = (uintptr_t)low + guarantee;
   85|       |#elif defined(__APPLE__)
   86|       |    pthread_t this_thread = pthread_self();
   87|       |    void *stack_addr = pthread_get_stackaddr_np(this_thread); // top of the stack
   88|       |    size_t stack_size = pthread_get_stacksize_np(this_thread);
   89|       |    *top = (uintptr_t)stack_addr;
   90|       |    *base = ((uintptr_t)stack_addr) - stack_size;
   91|       |#else
   92|       |    // musl supports HAVE_PTHREAD_GETATTR_NP, but the resulting stack size
   93|       |    // (on alpine at least) is much smaller than expected and imposes undue
   94|       |    // limits compared to the old stack size estimation. musl doesn't give
   95|       |    // us a way to detect it, so we have to assume any non-glibc,
   96|       |    // non-Android Linux is musl and mustn't rely on pthread_getattr_np.
   97|      2|#  if (defined(HAVE_PTHREAD_GETATTR_NP) || defined(_Py_HAVE_PTHREAD_ATTR_GET_NP)) \
   98|      2|        && !defined(_AIX) && !defined(__NetBSD__) \
   99|      2|        && (defined(__GLIBC__) || defined(__ANDROID__) || !defined(__linux__))
  100|      2|    size_t stack_size, guard_size;
  101|      2|    void *stack_addr;
  102|      2|    pthread_attr_t attr;
  103|       |
  104|      2|    int err = pthread_attr_init(&attr);
  105|       |#ifdef _Py_HAVE_PTHREAD_ATTR_GET_NP
  106|       |    err |= pthread_attr_get_np(pthread_self(), &attr);
  107|       |#else
  108|      2|    err |= pthread_getattr_np(pthread_self(), &attr);
  109|      2|#endif
  110|      2|    if (err == 0) {
  ------------------
  |  Branch (110:9): [True: 2, False: 0]
  ------------------
  111|      2|        err = pthread_attr_getguardsize(&attr, &guard_size);
  112|      2|        err |= pthread_attr_getstack(&attr, &stack_addr, &stack_size);
  113|      2|        err |= pthread_attr_destroy(&attr);
  114|      2|    }
  115|      2|    if (err == 0) {
  ------------------
  |  Branch (115:9): [True: 2, False: 0]
  ------------------
  116|      2|        *base = ((uintptr_t)stack_addr) + guard_size;
  117|      2|        *top = (uintptr_t)stack_addr + stack_size;
  118|      2|        return;
  119|      2|    }
  120|      0|#  endif
  121|       |
  122|       |    // Add some space for caller function then round to minimum page size
  123|       |    // This is a guess at the top of the stack, but should be a reasonably
  124|       |    // good guess if called from _PyThreadState_Attach when creating a thread.
  125|       |    // If the thread is attached deep in a call stack, then the guess will be poor.
  126|      0|#if _Py_STACK_GROWS_DOWN
  127|      0|    uintptr_t top_addr = _Py_SIZE_ROUND_UP(sp + 8*sizeof(void*), SYSTEM_PAGE_SIZE);
  ------------------
  |  |  249|      0|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  250|      0|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  128|      0|    *top = top_addr;
  129|      0|    *base = top_addr - Py_C_STACK_SIZE;
  ------------------
  |  |   70|      0|#  define Py_C_STACK_SIZE 4000000
  ------------------
  130|       |#  else
  131|       |    uintptr_t base_addr = _Py_SIZE_ROUND_DOWN(sp - 8*sizeof(void*), SYSTEM_PAGE_SIZE);
  132|       |    *base = base_addr;
  133|       |    *top = base_addr + Py_C_STACK_SIZE;
  134|       |#endif
  135|      0|#endif
  136|      0|}
ceval.c:tstate_set_stack:
  141|      2|{
  142|      2|    assert(base < top);
  ------------------
  |  Branch (142:5): [True: 2, False: 0]
  ------------------
  143|      2|    assert((top - base) >= _PyOS_MIN_STACK_SIZE);
  ------------------
  |  Branch (143:5): [True: 2, False: 0]
  ------------------
  144|       |
  145|       |#ifdef _Py_THREAD_SANITIZER
  146|       |    // Thread sanitizer crashes if we use more than half the stack.
  147|       |    uintptr_t stacksize = top - base;
  148|       |#  if _Py_STACK_GROWS_DOWN
  149|       |    base += stacksize/2;
  150|       |#  else
  151|       |    top -= stacksize/2;
  152|       |#  endif
  153|       |#endif
  154|      2|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  155|      2|#if _Py_STACK_GROWS_DOWN
  156|      2|    _tstate->c_stack_top = top;
  157|      2|    _tstate->c_stack_hard_limit = base + _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   57|      2|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|      2|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|      2|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  158|      2|    _tstate->c_stack_soft_limit = base + _PyOS_STACK_MARGIN_BYTES * 2;
  ------------------
  |  |   57|      2|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|      2|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|      2|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  159|      2|#  ifndef NDEBUG
  160|       |    // Sanity checks
  161|      2|    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  162|      2|    assert(ts->c_stack_hard_limit <= ts->c_stack_soft_limit);
  ------------------
  |  Branch (162:5): [True: 2, False: 0]
  ------------------
  163|      2|    assert(ts->c_stack_soft_limit < ts->c_stack_top);
  ------------------
  |  Branch (163:5): [True: 2, False: 0]
  ------------------
  164|      2|#  endif
  165|       |#else
  166|       |    _tstate->c_stack_top = base;
  167|       |    _tstate->c_stack_hard_limit = top - _PyOS_STACK_MARGIN_BYTES;
  168|       |    _tstate->c_stack_soft_limit = top - _PyOS_STACK_MARGIN_BYTES * 2;
  169|       |#  ifndef NDEBUG
  170|       |    // Sanity checks
  171|       |    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  172|       |    assert(ts->c_stack_hard_limit >= ts->c_stack_soft_limit);
  173|       |    assert(ts->c_stack_soft_limit > ts->c_stack_top);
  174|       |#  endif
  175|       |#endif
  176|      2|}
ceval.c:clear_thread_frame:
 2010|   234k|{
 2011|   234k|    assert(frame->owner == FRAME_OWNED_BY_THREAD);
  ------------------
  |  Branch (2011:5): [True: 234k, False: 0]
  ------------------
 2012|       |    // Make sure that this is, indeed, the top frame. We can't check this in
 2013|       |    // _PyThreadState_PopFrame, since f_code is already cleared at that point:
 2014|   234k|    assert((PyObject **)frame + _PyFrame_GetCode(frame)->co_framesize ==
  ------------------
  |  Branch (2014:5): [True: 234k, False: 0]
  ------------------
 2015|   234k|        tstate->datastack_top);
 2016|   234k|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
  ------------------
  |  Branch (2016:5): [True: 231k, False: 2.80k]
  |  Branch (2016:5): [True: 2.80k, False: 0]
  ------------------
 2017|   234k|    _PyFrame_ClearExceptCode(frame);
 2018|   234k|    PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  732|   234k|    do { \
  |  |  733|   234k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|   234k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|   234k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|   234k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|   234k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 234k]
  |  |  ------------------
  ------------------
 2019|   234k|    _PyThreadState_PopFrame(tstate, frame);
 2020|   234k|}
ceval.c:clear_gen_frame:
 2024|    182|{
 2025|    182|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
  ------------------
  |  Branch (2025:5): [True: 182, False: 0]
  ------------------
 2026|    182|    PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
 2027|    182|    FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_CLEARED);
  ------------------
  |  |  169|    182|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
 2028|    182|    assert(tstate->exc_info == &gen->gi_exc_state);
  ------------------
  |  Branch (2028:5): [True: 182, False: 0]
  ------------------
 2029|    182|    tstate->exc_info = gen->gi_exc_state.previous_item;
 2030|    182|    gen->gi_exc_state.previous_item = NULL;
 2031|    182|    frame->previous = NULL;
 2032|    182|    Py_BEGIN_CRITICAL_SECTION(gen);
  ------------------
  |  |   51|    182|    {
  ------------------
 2033|    182|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
  ------------------
  |  Branch (2033:5): [True: 182, False: 0]
  |  Branch (2033:5): [True: 0, False: 0]
  ------------------
 2034|    182|    _PyFrame_ClearExceptCode(frame);
 2035|    182|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    182|    }
  ------------------
 2036|    182|    _PyErr_ClearExcState(&gen->gi_exc_state);
 2037|       |    // gh-143939: There must not be any escaping calls between setting
 2038|       |    // the generator return kind and returning from _PyEval_EvalFrame.
 2039|    182|    ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_RETURN;
 2040|    182|}
ceval.c:initialize_locals:
 1752|   220k|{
 1753|   220k|    PyCodeObject *co = (PyCodeObject*)func->func_code;
 1754|   220k|    const Py_ssize_t total_args = co->co_argcount + co->co_kwonlyargcount;
 1755|       |    /* Create a dictionary for keyword parameters (**kwags) */
 1756|   220k|    PyObject *kwdict;
 1757|   220k|    Py_ssize_t i;
 1758|   220k|    PyObject *first_argument = NULL;
 1759|   220k|    if (co->co_flags & CO_VARKEYWORDS) {
  ------------------
  |  |  125|   220k|#define CO_VARKEYWORDS  0x0008
  ------------------
  |  Branch (1759:9): [True: 1.35k, False: 219k]
  ------------------
 1760|  1.35k|        kwdict = PyDict_New();
 1761|  1.35k|        if (kwdict == NULL) {
  ------------------
  |  Branch (1761:13): [True: 0, False: 1.35k]
  ------------------
 1762|      0|            goto fail_pre_positional;
 1763|      0|        }
 1764|  1.35k|        i = total_args;
 1765|  1.35k|        if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  124|  1.35k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1765:13): [True: 1.26k, False: 91]
  ------------------
 1766|  1.26k|            i++;
 1767|  1.26k|        }
 1768|  1.35k|        assert(PyStackRef_IsNull(localsplus[i]));
  ------------------
  |  Branch (1768:9): [True: 1.35k, False: 0]
  ------------------
 1769|  1.35k|        localsplus[i] = PyStackRef_FromPyObjectSteal(kwdict);
 1770|  1.35k|    }
 1771|   219k|    else {
 1772|   219k|        kwdict = NULL;
 1773|   219k|    }
 1774|       |
 1775|   220k|    if (argcount > co->co_argcount && !(co->co_flags & CO_VARARGS)) {
  ------------------
  |  |  124|  8.41k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1775:9): [True: 8.41k, False: 212k]
  |  Branch (1775:39): [True: 0, False: 8.41k]
  ------------------
 1776|      0|        first_argument = PyStackRef_AsPyObjectNew(args[0]);
  ------------------
  |  |  757|      0|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1777|      0|    }
 1778|       |
 1779|       |    /* Copy all positional arguments into local variables */
 1780|   220k|    Py_ssize_t j, n;
 1781|   220k|    if (argcount > co->co_argcount) {
  ------------------
  |  Branch (1781:9): [True: 8.41k, False: 212k]
  ------------------
 1782|  8.41k|        n = co->co_argcount;
 1783|  8.41k|    }
 1784|   212k|    else {
 1785|   212k|        n = argcount;
 1786|   212k|    }
 1787|   448k|    for (j = 0; j < n; j++) {
  ------------------
  |  Branch (1787:17): [True: 227k, False: 220k]
  ------------------
 1788|   227k|        assert(PyStackRef_IsNull(localsplus[j]));
  ------------------
  |  Branch (1788:9): [True: 227k, False: 0]
  ------------------
 1789|   227k|        localsplus[j] = args[j];
 1790|   227k|    }
 1791|       |
 1792|       |    /* Pack other positional arguments into the *args argument */
 1793|   220k|    if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  124|   220k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1793:9): [True: 8.51k, False: 211k]
  ------------------
 1794|  8.51k|        PyObject *u = NULL;
 1795|  8.51k|        if (argcount == n) {
  ------------------
  |  Branch (1795:13): [True: 104, False: 8.41k]
  ------------------
 1796|    104|            u = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|    104|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|    104|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1797|    104|        }
 1798|  8.41k|        else {
 1799|  8.41k|            u = _PyTuple_FromStackRefStealOnSuccess(args + n, argcount - n);
 1800|  8.41k|            if (u == NULL) {
  ------------------
  |  Branch (1800:17): [True: 0, False: 8.41k]
  ------------------
 1801|      0|                for (Py_ssize_t i = n; i < argcount; i++) {
  ------------------
  |  Branch (1801:40): [True: 0, False: 0]
  ------------------
 1802|      0|                    PyStackRef_CLOSE(args[i]);
 1803|      0|                }
 1804|      0|            }
 1805|  8.41k|        }
 1806|  8.51k|        if (u == NULL) {
  ------------------
  |  Branch (1806:13): [True: 0, False: 8.51k]
  ------------------
 1807|      0|            goto fail_post_positional;
 1808|      0|        }
 1809|  8.51k|        assert(PyStackRef_AsPyObjectBorrow(localsplus[total_args]) == NULL);
  ------------------
  |  Branch (1809:9): [True: 8.51k, False: 0]
  ------------------
 1810|  8.51k|        localsplus[total_args] = PyStackRef_FromPyObjectSteal(u);
 1811|  8.51k|    }
 1812|   211k|    else if (argcount > n) {
  ------------------
  |  Branch (1812:14): [True: 0, False: 211k]
  ------------------
 1813|       |        /* Too many positional args. Error is reported later */
 1814|      0|        for (j = n; j < argcount; j++) {
  ------------------
  |  Branch (1814:21): [True: 0, False: 0]
  ------------------
 1815|      0|            PyStackRef_CLOSE(args[j]);
 1816|      0|        }
 1817|      0|    }
 1818|       |
 1819|       |    /* Handle keyword arguments */
 1820|   220k|    if (kwnames != NULL) {
  ------------------
  |  Branch (1820:9): [True: 4.42k, False: 215k]
  ------------------
 1821|  4.42k|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  4.42k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1822|  10.5k|        for (i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (1822:21): [True: 6.09k, False: 4.42k]
  ------------------
 1823|  6.09k|            PyObject **co_varnames;
 1824|  6.09k|            PyObject *keyword = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|  6.09k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  6.09k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1824:33): [True: 6.09k, False: 0]
  ------------------
 1825|      0|            _PyStackRef value_stackref = args[i+argcount];
 1826|  6.09k|            Py_ssize_t j;
 1827|       |
 1828|  6.09k|            if (keyword == NULL || !PyUnicode_Check(keyword)) {
  ------------------
  |  |  103|  6.09k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.09k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1828:17): [True: 0, False: 6.09k]
  |  Branch (1828:36): [True: 0, False: 6.09k]
  ------------------
 1829|      0|                _PyErr_Format(tstate, PyExc_TypeError,
 1830|      0|                              "%U() keywords must be strings",
 1831|      0|                              FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_qualname));
  ------------------
  |  |  152|      0|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1832|      0|                goto kw_fail;
 1833|      0|            }
 1834|       |
 1835|       |            /* Speed hack: do raw pointer compares. As names are
 1836|       |            normally interned this should almost always hit. */
 1837|  6.09k|            co_varnames = ((PyTupleObject *)(co->co_localsplusnames))->ob_item;
 1838|  18.7k|            for (j = co->co_posonlyargcount; j < total_args; j++) {
  ------------------
  |  Branch (1838:46): [True: 18.7k, False: 2]
  ------------------
 1839|  18.7k|                PyObject *varname = co_varnames[j];
 1840|  18.7k|                if (varname == keyword) {
  ------------------
  |  Branch (1840:21): [True: 6.09k, False: 12.6k]
  ------------------
 1841|  6.09k|                    goto kw_found;
 1842|  6.09k|                }
 1843|  18.7k|            }
 1844|       |
 1845|       |            /* Slow fallback, just in case */
 1846|      8|            for (j = co->co_posonlyargcount; j < total_args; j++) {
  ------------------
  |  Branch (1846:46): [True: 6, False: 2]
  ------------------
 1847|      6|                PyObject *varname = co_varnames[j];
 1848|      6|                int cmp = PyObject_RichCompareBool( keyword, varname, Py_EQ);
  ------------------
  |  |  654|      6|#define Py_EQ 2
  ------------------
 1849|      6|                if (cmp > 0) {
  ------------------
  |  Branch (1849:21): [True: 0, False: 6]
  ------------------
 1850|      0|                    goto kw_found;
 1851|      0|                }
 1852|      6|                else if (cmp < 0) {
  ------------------
  |  Branch (1852:26): [True: 0, False: 6]
  ------------------
 1853|      0|                    goto kw_fail;
 1854|      0|                }
 1855|      6|            }
 1856|       |
 1857|      2|            assert(j >= total_args);
  ------------------
  |  Branch (1857:13): [True: 2, False: 0]
  ------------------
 1858|      2|            if (kwdict == NULL) {
  ------------------
  |  Branch (1858:17): [True: 0, False: 2]
  ------------------
 1859|       |
 1860|      0|                if (co->co_posonlyargcount
  ------------------
  |  Branch (1860:21): [True: 0, False: 0]
  ------------------
 1861|      0|                    && positional_only_passed_as_keyword(tstate, co,
  ------------------
  |  Branch (1861:24): [True: 0, False: 0]
  ------------------
 1862|      0|                                                        kwcount, kwnames,
 1863|      0|                                                        func))
 1864|      0|                {
 1865|      0|                    goto kw_fail;
 1866|      0|                }
 1867|       |
 1868|      0|                PyObject* suggestion_keyword = NULL;
 1869|      0|                if (total_args > co->co_posonlyargcount) {
  ------------------
  |  Branch (1869:21): [True: 0, False: 0]
  ------------------
 1870|      0|                    PyObject* possible_keywords = PyList_New(total_args - co->co_posonlyargcount);
 1871|       |
 1872|      0|                    if (!possible_keywords) {
  ------------------
  |  Branch (1872:25): [True: 0, False: 0]
  ------------------
 1873|      0|                        PyErr_Clear();
 1874|      0|                    } else {
 1875|      0|                        for (Py_ssize_t k = co->co_posonlyargcount; k < total_args; k++) {
  ------------------
  |  Branch (1875:69): [True: 0, False: 0]
  ------------------
 1876|      0|                            PyList_SET_ITEM(possible_keywords, k - co->co_posonlyargcount, co_varnames[k]);
  ------------------
  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1877|      0|                        }
 1878|       |
 1879|      0|                        suggestion_keyword = _Py_CalculateSuggestions(possible_keywords, keyword);
 1880|      0|                        Py_DECREF(possible_keywords);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1881|      0|                    }
 1882|      0|                }
 1883|       |
 1884|      0|                PyObject *qualname = FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_qualname);
  ------------------
  |  |  152|      0|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1885|      0|                if (suggestion_keyword) {
  ------------------
  |  Branch (1885:21): [True: 0, False: 0]
  ------------------
 1886|      0|                    _PyErr_Format(tstate, PyExc_TypeError,
 1887|      0|                                "%U() got an unexpected keyword argument '%S'. Did you mean '%S'?",
 1888|      0|                                qualname, keyword, suggestion_keyword);
 1889|      0|                    Py_DECREF(suggestion_keyword);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1890|      0|                } else {
 1891|      0|                    _PyErr_Format(tstate, PyExc_TypeError,
 1892|      0|                                "%U() got an unexpected keyword argument '%S'",
 1893|      0|                                qualname, keyword);
 1894|      0|                }
 1895|       |
 1896|      0|                goto kw_fail;
 1897|      0|            }
 1898|       |
 1899|      2|            if (PyDict_SetItem(kwdict, keyword, PyStackRef_AsPyObjectBorrow(value_stackref)) == -1) {
  ------------------
  |  Branch (1899:17): [True: 0, False: 2]
  ------------------
 1900|      0|                goto kw_fail;
 1901|      0|            }
 1902|      2|            PyStackRef_CLOSE(value_stackref);
 1903|      2|            continue;
 1904|       |
 1905|      0|        kw_fail:
 1906|      0|            for (;i < kwcount; i++) {
  ------------------
  |  Branch (1906:19): [True: 0, False: 0]
  ------------------
 1907|      0|                PyStackRef_CLOSE(args[i+argcount]);
 1908|      0|            }
 1909|      0|            goto fail_post_args;
 1910|       |
 1911|  6.09k|        kw_found:
 1912|  6.09k|            if (PyStackRef_AsPyObjectBorrow(localsplus[j]) != NULL) {
  ------------------
  |  Branch (1912:17): [True: 0, False: 6.09k]
  ------------------
 1913|      0|                _PyErr_Format(tstate, PyExc_TypeError,
 1914|      0|                              "%U() got multiple values for argument '%S'",
 1915|      0|                              FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_qualname),
  ------------------
  |  |  152|      0|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1916|      0|                              keyword);
 1917|      0|                goto kw_fail;
 1918|      0|            }
 1919|  6.09k|            localsplus[j] = value_stackref;
 1920|  6.09k|        }
 1921|  4.42k|    }
 1922|       |
 1923|       |    /* Check the number of positional arguments */
 1924|   220k|    if ((argcount > co->co_argcount) && !(co->co_flags & CO_VARARGS)) {
  ------------------
  |  |  124|  8.41k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1924:9): [True: 8.41k, False: 212k]
  |  Branch (1924:41): [True: 0, False: 8.41k]
  ------------------
 1925|      0|        int missing_self_hint = suggest_missing_self(func, co, first_argument, argcount);
 1926|      0|        too_many_positional(tstate, co, argcount, func->func_defaults, localsplus,
 1927|      0|                            FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_qualname),
  ------------------
  |  |  152|      0|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1928|      0|                            missing_self_hint);
 1929|      0|        goto fail_post_args;
 1930|      0|    }
 1931|       |
 1932|       |    /* Add missing positional arguments (copy default values from defs) */
 1933|   220k|    if (argcount < co->co_argcount) {
  ------------------
  |  Branch (1933:9): [True: 202k, False: 18.1k]
  ------------------
 1934|   202k|        Py_ssize_t defcount = func->func_defaults == NULL ? 0 : PyTuple_GET_SIZE(func->func_defaults);
  ------------------
  |  |   27|   202k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   202k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   202k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1934:31): [True: 0, False: 202k]
  ------------------
 1935|   202k|        Py_ssize_t m = co->co_argcount - defcount;
 1936|   202k|        Py_ssize_t missing = 0;
 1937|   202k|        for (i = argcount; i < m; i++) {
  ------------------
  |  Branch (1937:28): [True: 414, False: 202k]
  ------------------
 1938|    414|            if (PyStackRef_IsNull(localsplus[i])) {
  ------------------
  |  |  482|    414|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|    414|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    414|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 414]
  |  |  ------------------
  ------------------
 1939|      0|                missing++;
 1940|      0|            }
 1941|    414|        }
 1942|   202k|        if (missing) {
  ------------------
  |  Branch (1942:13): [True: 0, False: 202k]
  ------------------
 1943|      0|            missing_arguments(tstate, co, missing, defcount, localsplus,
 1944|      0|                              FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_qualname));
  ------------------
  |  |  152|      0|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1945|      0|            goto fail_post_args;
 1946|      0|        }
 1947|   202k|        if (n > m)
  ------------------
  |  Branch (1947:13): [True: 20, False: 202k]
  ------------------
 1948|     20|            i = n - m;
 1949|   202k|        else
 1950|   202k|            i = 0;
 1951|   202k|        if (defcount) {
  ------------------
  |  Branch (1951:13): [True: 202k, False: 0]
  ------------------
 1952|   202k|            PyObject **defs = &PyTuple_GET_ITEM(func->func_defaults, 0);
  ------------------
  |  |   29|   202k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   202k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   202k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1952:32): [True: 202k, False: 0]
  ------------------
 1953|   405k|            for (; i < defcount; i++) {
  ------------------
  |  Branch (1953:20): [True: 203k, False: 202k]
  ------------------
 1954|   203k|                if (PyStackRef_AsPyObjectBorrow(localsplus[m+i]) == NULL) {
  ------------------
  |  Branch (1954:21): [True: 201k, False: 1.32k]
  ------------------
 1955|   201k|                    PyObject *def = defs[i];
 1956|   201k|                    localsplus[m+i] = PyStackRef_FromPyObjectNew(def);
  ------------------
  |  |  611|   201k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   201k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   201k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1957|   201k|                }
 1958|   203k|            }
 1959|   202k|        }
 1960|   202k|    }
 1961|       |
 1962|       |    /* Add missing keyword arguments (copy default values from kwdefs) */
 1963|   220k|    if (co->co_kwonlyargcount > 0) {
  ------------------
  |  Branch (1963:9): [True: 5.75k, False: 214k]
  ------------------
 1964|  5.75k|        Py_ssize_t missing = 0;
 1965|  12.8k|        for (i = co->co_argcount; i < total_args; i++) {
  ------------------
  |  Branch (1965:35): [True: 7.11k, False: 5.75k]
  ------------------
 1966|  7.11k|            if (PyStackRef_AsPyObjectBorrow(localsplus[i]) != NULL)
  ------------------
  |  Branch (1966:17): [True: 4.36k, False: 2.75k]
  ------------------
 1967|  4.36k|                continue;
 1968|  2.75k|            PyObject *varname = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|  2.75k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.75k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1968:33): [True: 2.75k, False: 0]
  ------------------
 1969|  2.75k|            if (func->func_kwdefaults != NULL) {
  ------------------
  |  Branch (1969:17): [True: 2.75k, False: 0]
  ------------------
 1970|  2.75k|                PyObject *def;
 1971|  2.75k|                if (PyDict_GetItemRef(func->func_kwdefaults, varname, &def) < 0) {
  ------------------
  |  Branch (1971:21): [True: 0, False: 2.75k]
  ------------------
 1972|      0|                    goto fail_post_args;
 1973|      0|                }
 1974|  2.75k|                if (def) {
  ------------------
  |  Branch (1974:21): [True: 2.75k, False: 0]
  ------------------
 1975|  2.75k|                    localsplus[i] = PyStackRef_FromPyObjectSteal(def);
 1976|  2.75k|                    continue;
 1977|  2.75k|                }
 1978|  2.75k|            }
 1979|      0|            missing++;
 1980|      0|        }
 1981|  5.75k|        if (missing) {
  ------------------
  |  Branch (1981:13): [True: 0, False: 5.75k]
  ------------------
 1982|      0|            missing_arguments(tstate, co, missing, -1, localsplus,
 1983|      0|                              FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_qualname));
  ------------------
  |  |  152|      0|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1984|      0|            goto fail_post_args;
 1985|      0|        }
 1986|  5.75k|    }
 1987|   220k|    Py_XDECREF(first_argument);
  ------------------
  |  |   69|   220k|    do { \
  |  |   70|   220k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|   220k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   220k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|   220k|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 220k]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|   220k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 220k]
  |  |  ------------------
  ------------------
 1988|   220k|    return 0;
 1989|       |
 1990|      0|fail_pre_positional:
 1991|      0|    for (j = 0; j < argcount; j++) {
  ------------------
  |  Branch (1991:17): [True: 0, False: 0]
  ------------------
 1992|      0|        PyStackRef_CLOSE(args[j]);
 1993|      0|    }
 1994|       |    /* fall through */
 1995|      0|fail_post_positional:
 1996|      0|    if (kwnames) {
  ------------------
  |  Branch (1996:9): [True: 0, False: 0]
  ------------------
 1997|      0|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1998|      0|        for (j = argcount; j < argcount+kwcount; j++) {
  ------------------
  |  Branch (1998:28): [True: 0, False: 0]
  ------------------
 1999|      0|            PyStackRef_CLOSE(args[j]);
 2000|      0|        }
 2001|      0|    }
 2002|       |    /* fall through */
 2003|      0|fail_post_args:
 2004|       |    Py_XDECREF(first_argument);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2005|      0|    return -1;
 2006|      0|}
ceval.c:_PyEval_GetGlobals:
 2764|    169|{
 2765|    169|    _PyInterpreterFrame *current_frame = _PyThreadState_GetFrame(tstate);
 2766|    169|    if (current_frame == NULL) {
  ------------------
  |  Branch (2766:9): [True: 16, False: 153]
  ------------------
 2767|     16|        return NULL;
 2768|     16|    }
 2769|    153|    return current_frame->f_globals;
 2770|    169|}
ceval.c:get_globals_builtins:
 2797|    135|{
 2798|    135|    PyObject *builtins = NULL;
 2799|    135|    if (PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|    135|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    135|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    270|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 135, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2800|    135|        if (PyDict_GetItemRef(globals, &_Py_ID(__builtins__), &builtins) < 0) {
  ------------------
  |  |  951|    135|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    135|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    135|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2800:13): [True: 0, False: 135]
  ------------------
 2801|      0|            return NULL;
 2802|      0|        }
 2803|    135|    }
 2804|      0|    else {
 2805|      0|        if (PyMapping_GetOptionalItem(
  ------------------
  |  Branch (2805:13): [True: 0, False: 0]
  ------------------
 2806|      0|                        globals, &_Py_ID(__builtins__), &builtins) < 0)
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2807|      0|        {
 2808|      0|            return NULL;
 2809|      0|        }
 2810|      0|    }
 2811|    135|    return builtins;
 2812|    135|}
ceval.c:set_globals_builtins:
 2816|    134|{
 2817|    134|    if (PyDict_Check(globals)) {
  ------------------
  |  |   18|    134|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    134|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 134, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2818|    134|        if (PyDict_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  951|    134|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    134|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    134|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2818:13): [True: 0, False: 134]
  ------------------
 2819|      0|            return -1;
 2820|      0|        }
 2821|    134|    }
 2822|      0|    else {
 2823|      0|        if (PyObject_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2823:13): [True: 0, False: 0]
  ------------------
 2824|      0|            if (PyFrozenDict_Check(globals)) {
  ------------------
  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2825|      0|                PyErr_SetString(PyExc_TypeError,
 2826|      0|                                "cannot assign __builtins__ to frozendict globals");
 2827|      0|            }
 2828|      0|            return -1;
 2829|      0|        }
 2830|      0|    }
 2831|    134|    return 0;
 2832|    134|}
ceval.c:is_lazy_import_module_level:
 3134|    232|{
 3135|    232|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 3136|    232|    return frame != NULL && frame->f_globals == frame->f_locals;
  ------------------
  |  Branch (3136:12): [True: 232, False: 0]
  |  Branch (3136:29): [True: 232, False: 0]
  ------------------
 3137|    232|}
ceval.c:check_lazy_import_compatibility:
 3097|    232|{
 3098|       |     // Check if this module should be imported lazily due to
 3099|       |     // the compatibility mode support via __lazy_modules__.
 3100|    232|    PyObject *lazy_modules = NULL;
 3101|    232|    PyObject *abs_name = NULL;
 3102|    232|    int res = -1;
 3103|       |
 3104|    232|    if (globals != NULL &&
  ------------------
  |  Branch (3104:9): [True: 232, False: 0]
  ------------------
 3105|    232|        PyMapping_GetOptionalItem(globals, &_Py_ID(__lazy_modules__),
  ------------------
  |  |  951|    232|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    232|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    232|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3105:9): [True: 0, False: 232]
  ------------------
 3106|    232|                                  &lazy_modules) < 0)
 3107|      0|    {
 3108|      0|        return -1;
 3109|      0|    }
 3110|    232|    if (lazy_modules == NULL) {
  ------------------
  |  Branch (3110:9): [True: 232, False: 0]
  ------------------
 3111|    232|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (3111:9): [True: 232, False: 0]
  ------------------
 3112|    232|        return 0;
 3113|    232|    }
 3114|       |
 3115|      0|    int ilevel = PyLong_AsInt(level);
 3116|      0|    if (ilevel == -1 && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3116:9): [True: 0, False: 0]
  |  Branch (3116:25): [True: 0, False: 0]
  ------------------
 3117|      0|        goto error;
 3118|      0|    }
 3119|       |
 3120|      0|    abs_name = _PyImport_GetAbsName(tstate, name, globals, ilevel);
 3121|      0|    if (abs_name == NULL) {
  ------------------
  |  Branch (3121:9): [True: 0, False: 0]
  ------------------
 3122|      0|        goto error;
 3123|      0|    }
 3124|       |
 3125|      0|    res = PySequence_Contains(lazy_modules, abs_name);
 3126|      0|error:
 3127|      0|    Py_XDECREF(abs_name);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3128|       |    Py_XDECREF(lazy_modules);
  ------------------
  |  |   69|      0|    do { \
  |  |   70|      0|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      0|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      0|    do { \
  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |   91|      0|        } \
  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      0|        } \
  |  |   74|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3129|      0|    return res;
 3130|      0|}

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

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

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

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

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

sysmodule.c:sys_audit:
   84|    469|{
   85|    469|    PyObject *return_value = NULL;
   86|    469|    const char *event;
   87|    469|    PyObject *__clinic_args = NULL;
   88|       |
   89|    469|    if (!_PyArg_CheckPositional("audit", nargs, 1, PY_SSIZE_T_MAX)) {
  ------------------
  |  |   38|    469|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 469, False: 0]
  |  |  |  Branch (38:27): [True: 469, False: 0]
  |  |  ------------------
  |  |   39|    469|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   90|      0|        goto exit;
   91|      0|    }
   92|    469|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    469|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    469|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (92:9): [True: 0, False: 469]
  ------------------
   93|      0|        _PyArg_BadArgument("audit", "argument 1", "str", args[0]);
   94|      0|        goto exit;
   95|      0|    }
   96|    469|    event = _PyUnicode_AsUTF8NoNUL(args[0]);
   97|    469|    if (event == NULL) {
  ------------------
  |  Branch (97:9): [True: 0, False: 469]
  ------------------
   98|      0|        goto exit;
   99|      0|    }
  100|    469|    __clinic_args = PyTuple_FromArray(args + 1, nargs - 1);
  101|    469|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (101:9): [True: 0, False: 469]
  ------------------
  102|      0|        goto exit;
  103|      0|    }
  104|    469|    return_value = sys_audit_impl(module, event, __clinic_args);
  105|       |
  106|    469|exit:
  107|       |    /* Cleanup for args */
  108|    469|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  621|    469|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    469|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    469|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  109|       |
  110|    469|    return return_value;
  111|    469|}
sysmodule.c:sys_getfilesystemencoding:
  284|      4|{
  285|      4|    return sys_getfilesystemencoding_impl(module);
  286|      4|}
sysmodule.c:sys_getfilesystemencodeerrors:
  302|      2|{
  303|      2|    return sys_getfilesystemencodeerrors_impl(module);
  304|      2|}
sysmodule.c:sys__getframe:
 1255|      2|{
 1256|      2|    PyObject *return_value = NULL;
 1257|      2|    int depth = 0;
 1258|       |
 1259|      2|    if (!_PyArg_CheckPositional("_getframe", nargs, 0, 1)) {
  ------------------
  |  |   38|      2|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 2, False: 0]
  |  |  |  Branch (38:27): [True: 2, False: 0]
  |  |  ------------------
  |  |   39|      2|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1260|      0|        goto exit;
 1261|      0|    }
 1262|      2|    if (nargs < 1) {
  ------------------
  |  Branch (1262:9): [True: 2, False: 0]
  ------------------
 1263|      2|        goto skip_optional;
 1264|      2|    }
 1265|      0|    depth = PyLong_AsInt(args[0]);
 1266|      0|    if (depth == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1266:9): [True: 0, False: 0]
  |  Branch (1266:24): [True: 0, False: 0]
  ------------------
 1267|      0|        goto exit;
 1268|      0|    }
 1269|      2|skip_optional:
 1270|      2|    return_value = sys__getframe_impl(module, depth);
 1271|       |
 1272|      2|exit:
 1273|      2|    return return_value;
 1274|      2|}
sysmodule.c:sys__getframemodulename:
 1798|      1|{
 1799|      1|    PyObject *return_value = NULL;
 1800|      1|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1801|       |
 1802|      1|    #define NUM_KEYWORDS 1
 1803|      1|    static struct {
 1804|      1|        PyGC_Head _this_is_not_used;
 1805|      1|        PyObject_VAR_HEAD
 1806|      1|        Py_hash_t ob_hash;
 1807|      1|        PyObject *ob_item[NUM_KEYWORDS];
 1808|      1|    } _kwtuple = {
 1809|      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|    },
  ------------------
 1810|      1|        .ob_hash = -1,
 1811|      1|        .ob_item = { &_Py_ID(depth), },
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1812|      1|    };
 1813|      1|    #undef NUM_KEYWORDS
 1814|      1|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1815|       |
 1816|       |    #else  // !Py_BUILD_CORE
 1817|       |    #  define KWTUPLE NULL
 1818|       |    #endif  // !Py_BUILD_CORE
 1819|       |
 1820|      1|    static const char * const _keywords[] = {"depth", NULL};
 1821|      1|    static _PyArg_Parser _parser = {
 1822|      1|        .keywords = _keywords,
 1823|      1|        .fname = "_getframemodulename",
 1824|      1|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1814|      1|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1825|      1|    };
 1826|      1|    #undef KWTUPLE
 1827|      1|    PyObject *argsbuf[1];
 1828|      1|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1828:36): [True: 0, False: 1]
  ------------------
 1829|      1|    int depth = 0;
 1830|       |
 1831|      1|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|      1|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 1, False: 0]
  |  |  ------------------
  |  |   91|      1|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 1, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 1]
  |  |  |  Branch (91:43): [True: 1, False: 0]
  |  |  |  Branch (91:67): [True: 1, False: 0]
  |  |  ------------------
  |  |   92|      1|      (args) : \
  |  |   93|      1|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1832|      1|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1833|      1|    if (!args) {
  ------------------
  |  Branch (1833:9): [True: 0, False: 1]
  ------------------
 1834|      0|        goto exit;
 1835|      0|    }
 1836|      1|    if (!noptargs) {
  ------------------
  |  Branch (1836:9): [True: 0, False: 1]
  ------------------
 1837|      0|        goto skip_optional_pos;
 1838|      0|    }
 1839|      1|    depth = PyLong_AsInt(args[0]);
 1840|      1|    if (depth == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1840:9): [True: 0, False: 1]
  |  Branch (1840:24): [True: 0, False: 0]
  ------------------
 1841|      0|        goto exit;
 1842|      0|    }
 1843|      1|skip_optional_pos:
 1844|      1|    return_value = sys__getframemodulename_impl(module, depth);
 1845|       |
 1846|      1|exit:
 1847|      1|    return return_value;
 1848|      1|}
sysmodule.c:sys_intern:
  324|      9|{
  325|      9|    PyObject *return_value = NULL;
  326|      9|    PyObject *s;
  327|       |
  328|      9|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|      9|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      9|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (328:9): [True: 0, False: 9]
  ------------------
  329|      0|        _PyArg_BadArgument("intern", "argument", "str", arg);
  330|      0|        goto exit;
  331|      0|    }
  332|      9|    s = arg;
  333|      9|    return_value = sys_intern_impl(module, s);
  334|       |
  335|      9|exit:
  336|      9|    return return_value;
  337|      9|}
sysmodule.c:sys__get_cpu_count_config:
 1864|      2|{
 1865|      2|    PyObject *return_value = NULL;
 1866|      2|    int _return_value;
 1867|       |
 1868|      2|    _return_value = sys__get_cpu_count_config_impl(module);
 1869|      2|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (1869:9): [True: 2, False: 0]
  |  Branch (1869:34): [True: 0, False: 2]
  ------------------
 1870|      0|        goto exit;
 1871|      0|    }
 1872|      2|    return_value = PyLong_FromLong((long)_return_value);
 1873|       |
 1874|      2|exit:
 1875|      2|    return return_value;
 1876|      2|}

PyCodec_Register:
   34|      4|{
   35|      4|    PyInterpreterState *interp = _PyInterpreterState_GET();
   36|      4|    assert(interp->codecs.initialized);
  ------------------
  |  Branch (36:5): [True: 4, False: 0]
  ------------------
   37|      4|    if (search_function == NULL) {
  ------------------
  |  Branch (37:9): [True: 0, False: 4]
  ------------------
   38|      0|        PyErr_BadArgument();
   39|      0|        goto onError;
   40|      0|    }
   41|      4|    if (!PyCallable_Check(search_function)) {
  ------------------
  |  Branch (41:9): [True: 0, False: 4]
  ------------------
   42|      0|        PyErr_SetString(PyExc_TypeError, "argument must be callable");
   43|      0|        goto onError;
   44|      0|    }
   45|      4|    FT_MUTEX_LOCK(&interp->codecs.search_path_mutex);
  ------------------
  |  |  207|      4|#define FT_MUTEX_LOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (207:42): [Folded, False: 4]
  |  |  ------------------
  ------------------
   46|      4|    int ret = PyList_Append(interp->codecs.search_path, search_function);
   47|      4|    FT_MUTEX_UNLOCK(&interp->codecs.search_path_mutex);
  ------------------
  |  |  209|      4|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 4]
  |  |  ------------------
  ------------------
   48|       |
   49|      4|    return ret;
   50|       |
   51|      0| onError:
   52|      0|    return -1;
   53|      4|}
_PyCodec_Lookup:
  135|   587k|{
  136|   587k|    if (encoding == NULL) {
  ------------------
  |  Branch (136:9): [True: 0, False: 587k]
  ------------------
  137|      0|        PyErr_BadArgument();
  138|      0|        return NULL;
  139|      0|    }
  140|       |
  141|   587k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  142|   587k|    if (!interp->codecs.initialized) {
  ------------------
  |  Branch (142:9): [True: 0, False: 587k]
  ------------------
  143|      0|        PyErr_SetString(PyExc_SystemError, "Codecs are not initialized");
  144|      0|        return NULL;
  145|      0|    }
  146|       |
  147|       |    /* Convert the encoding to a normalized Python string: all
  148|       |       ASCII letters are converted to lower case, spaces are
  149|       |       replaced with hyphens. */
  150|   587k|    PyObject *v = normalizestring(encoding);
  151|   587k|    if (v == NULL) {
  ------------------
  |  Branch (151:9): [True: 0, False: 587k]
  ------------------
  152|      0|        return NULL;
  153|      0|    }
  154|       |
  155|       |    /* Intern the string. We'll make it immortal later if lookup succeeds. */
  156|   587k|    _PyUnicode_InternMortal(interp, &v);
  157|       |
  158|       |    /* First, try to lookup the name in the registry dictionary */
  159|   587k|    PyObject *result;
  160|   587k|    if (PyDict_GetItemRef(interp->codecs.search_cache, v, &result) < 0) {
  ------------------
  |  Branch (160:9): [True: 0, False: 587k]
  ------------------
  161|      0|        goto onError;
  162|      0|    }
  163|   587k|    if (result != NULL) {
  ------------------
  |  Branch (163:9): [True: 587k, False: 531]
  ------------------
  164|   587k|        Py_DECREF(v);
  ------------------
  |  |  430|   587k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   587k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   587k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|   587k|        return result;
  166|   587k|    }
  167|       |
  168|       |    /* Next, scan the search functions in order of registration */
  169|    531|    const Py_ssize_t len = PyList_Size(interp->codecs.search_path);
  170|    531|    if (len < 0)
  ------------------
  |  Branch (170:9): [True: 0, False: 531]
  ------------------
  171|      0|        goto onError;
  172|    531|    if (len == 0) {
  ------------------
  |  Branch (172:9): [True: 0, False: 531]
  ------------------
  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|    531|    Py_ssize_t i;
  180|  1.23k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (180:17): [True: 909, False: 324]
  ------------------
  181|    909|        PyObject *func;
  182|       |
  183|    909|        func = PyList_GetItemRef(interp->codecs.search_path, i);
  184|    909|        if (func == NULL)
  ------------------
  |  Branch (184:13): [True: 0, False: 909]
  ------------------
  185|      0|            goto onError;
  186|    909|        result = PyObject_CallOneArg(func, v);
  187|    909|        Py_DECREF(func);
  ------------------
  |  |  430|    909|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    909|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    909|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|    909|        if (result == NULL)
  ------------------
  |  Branch (188:13): [True: 0, False: 909]
  ------------------
  189|      0|            goto onError;
  190|    909|        if (result == Py_None) {
  ------------------
  |  |  616|    909|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (190:13): [True: 702, False: 207]
  ------------------
  191|    702|            Py_CLEAR(result);
  ------------------
  |  |  487|    702|    do { \
  |  |  488|    702|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    702|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    702|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    702|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    702|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    702|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 702, False: 0]
  |  |  ------------------
  |  |  491|    702|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    702|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    702|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    702|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    702|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    702|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    702|        } \
  |  |  494|    702|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 702]
  |  |  ------------------
  ------------------
  192|    702|            continue;
  193|    702|        }
  194|    207|        if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 4) {
  ------------------
  |  |   27|    207|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    414|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 4) {
  ------------------
  |  |   27|    207|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    207|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    207|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (194:13): [True: 0, False: 207]
  |  Branch (194:39): [True: 0, False: 207]
  ------------------
  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|    207|        break;
  201|    207|    }
  202|    531|    if (result == NULL) {
  ------------------
  |  Branch (202:9): [True: 324, False: 207]
  ------------------
  203|       |        /* XXX Perhaps we should cache misses too ? */
  204|    324|        PyErr_Format(PyExc_LookupError,
  205|    324|                     "unknown encoding: %s", encoding);
  206|    324|        goto onError;
  207|    324|    }
  208|       |
  209|    207|    _PyUnicode_InternImmortal(interp, &v);
  210|       |
  211|       |    /* Cache and return the result */
  212|    207|    if (PyDict_SetItem(interp->codecs.search_cache, v, result) < 0) {
  ------------------
  |  Branch (212:9): [True: 0, False: 207]
  ------------------
  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|    207|    Py_DECREF(v);
  ------------------
  |  |  430|    207|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    207|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    207|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|    207|    return result;
  218|       |
  219|    324| onError:
  220|    324|    Py_DECREF(v);
  ------------------
  |  |  430|    324|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    324|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    324|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|       |    return NULL;
  222|    207|}
_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|   587k|{
  517|   587k|    PyObject *codec;
  518|   587k|    PyObject *attr;
  519|   587k|    int is_text_codec;
  520|       |
  521|   587k|    codec = _PyCodec_Lookup(encoding);
  522|   587k|    if (codec == NULL)
  ------------------
  |  Branch (522:9): [True: 324, False: 587k]
  ------------------
  523|    324|        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|   587k|    if (!PyTuple_CheckExact(codec)) {
  ------------------
  |  |   28|   587k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   587k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   587k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   587k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (529:9): [True: 587k, False: 0]
  ------------------
  530|   587k|        if (PyObject_GetOptionalAttr(codec, &_Py_ID(_is_text_encoding), &attr) < 0) {
  ------------------
  |  |  951|   587k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   587k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   587k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (530:13): [True: 0, False: 587k]
  ------------------
  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|   587k|        if (attr != NULL) {
  ------------------
  |  Branch (534:13): [True: 587k, False: 0]
  ------------------
  535|   587k|            is_text_codec = PyObject_IsTrue(attr);
  536|   587k|            Py_DECREF(attr);
  ------------------
  |  |  430|   587k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   587k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   587k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   587k|            if (is_text_codec <= 0) {
  ------------------
  |  Branch (537:17): [True: 3, False: 587k]
  ------------------
  538|      3|                Py_DECREF(codec);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  539|      3|                if (!is_text_codec) {
  ------------------
  |  Branch (539:21): [True: 3, False: 0]
  ------------------
  540|      3|                    if (alternate_command != NULL) {
  ------------------
  |  Branch (540:25): [True: 0, False: 3]
  ------------------
  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|      3|                    else {
  547|      3|                        PyErr_Format(PyExc_LookupError,
  548|      3|                                     "'%.400s' is not a text encoding",
  549|      3|                                     encoding);
  550|      3|                    }
  551|      3|                }
  552|      3|                return NULL;
  553|      3|            }
  554|   587k|        }
  555|   587k|    }
  556|       |
  557|       |    /* This appears to be a valid text encoding */
  558|   587k|    return codec;
  559|   587k|}
_PyCodec_DecodeText:
  605|   585k|{
  606|   585k|    PyObject *decoder;
  607|       |
  608|   585k|    decoder = _PyCodec_TextDecoder(encoding);
  609|   585k|    if (decoder == NULL)
  ------------------
  |  Branch (609:9): [True: 0, False: 585k]
  ------------------
  610|      0|        return NULL;
  611|       |
  612|   585k|    return _PyCodec_DecodeInternal(object, decoder, encoding, errors);
  613|   585k|}
PyCodec_LookupError:
  651|    264|{
  652|    264|    PyInterpreterState *interp = _PyInterpreterState_GET();
  653|    264|    assert(interp->codecs.initialized);
  ------------------
  |  Branch (653:5): [True: 264, False: 0]
  ------------------
  654|       |
  655|    264|    if (name==NULL)
  ------------------
  |  Branch (655:9): [True: 17, False: 247]
  ------------------
  656|     17|        name = "strict";
  657|    264|    PyObject *handler;
  658|    264|    if (PyDict_GetItemStringRef(interp->codecs.error_registry, name, &handler) < 0) {
  ------------------
  |  Branch (658:9): [True: 0, False: 264]
  ------------------
  659|      0|        return NULL;
  660|      0|    }
  661|    264|    if (handler == NULL) {
  ------------------
  |  Branch (661:9): [True: 0, False: 264]
  ------------------
  662|      0|        PyErr_Format(PyExc_LookupError, "unknown error handler name '%.400s'", name);
  663|      0|        return NULL;
  664|      0|    }
  665|    264|    return handler;
  666|    264|}
PyCodec_StrictErrors:
  782|    381|{
  783|    381|    if (PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|    381|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    381|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 381, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  784|    381|        PyErr_SetObject(PyExceptionInstance_Class(exc), exc);
  ------------------
  |  |   69|    381|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|    381|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    381|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  785|    381|    }
  786|      0|    else {
  787|      0|        PyErr_SetString(PyExc_TypeError, "codec must pass exception instance");
  788|      0|    }
  789|       |    return NULL;
  790|    381|}
PyCodec_ReplaceErrors:
  879|  4.67k|{
  880|  4.67k|    if (_PyIsUnicodeEncodeError(exc)) {
  ------------------
  |  |  678|  4.67k|    PyObject_TypeCheck(EXC, (PyTypeObject *)PyExc_UnicodeEncodeError)
  |  |  ------------------
  |  |  |  |  378|  4.67k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_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 (378:40): [True: 0, False: 4.67k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  881|      0|        return _PyCodec_ReplaceUnicodeEncodeError(exc);
  882|      0|    }
  883|  4.67k|    else if (_PyIsUnicodeDecodeError(exc)) {
  ------------------
  |  |  680|  4.67k|    PyObject_TypeCheck(EXC, (PyTypeObject *)PyExc_UnicodeDecodeError)
  |  |  ------------------
  |  |  |  |  378|  4.67k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_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 (378:40): [True: 4.67k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|  4.67k|        return _PyCodec_ReplaceUnicodeDecodeError(exc);
  885|  4.67k|    }
  886|      0|    else if (_PyIsUnicodeTranslateError(exc)) {
  ------------------
  |  |  682|      0|    PyObject_TypeCheck(EXC, (PyTypeObject *)PyExc_UnicodeTranslateError)
  |  |  ------------------
  |  |  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  887|      0|        return _PyCodec_ReplaceUnicodeTranslateError(exc);
  888|      0|    }
  889|      0|    else {
  890|      0|        wrong_exception_type(exc);
  891|       |        return NULL;
  892|      0|    }
  893|  4.67k|}
_PyCodec_InitRegistry:
 1572|      2|{
 1573|      2|    static struct {
 1574|      2|        const char *name;
 1575|      2|        PyMethodDef def;
 1576|      2|    } methods[] =
 1577|      2|    {
 1578|      2|        {
 1579|      2|            "strict",
 1580|      2|            {
 1581|      2|                "strict_errors",
 1582|      2|                strict_errors,
 1583|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1584|      2|                PyDoc_STR("Implements the 'strict' error handling, which "
  ------------------
  |  |  240|      2|#define PyDoc_STR(str) str
  ------------------
 1585|      2|                          "raises a UnicodeError on coding errors.")
 1586|      2|            }
 1587|      2|        },
 1588|      2|        {
 1589|      2|            "ignore",
 1590|      2|            {
 1591|      2|                "ignore_errors",
 1592|      2|                ignore_errors,
 1593|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1594|      2|                PyDoc_STR("Implements the 'ignore' error handling, which "
  ------------------
  |  |  240|      2|#define PyDoc_STR(str) str
  ------------------
 1595|      2|                          "ignores malformed data and continues.")
 1596|      2|            }
 1597|      2|        },
 1598|      2|        {
 1599|      2|            "replace",
 1600|      2|            {
 1601|      2|                "replace_errors",
 1602|      2|                replace_errors,
 1603|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1604|      2|                PyDoc_STR("Implements the 'replace' error handling, which "
  ------------------
  |  |  240|      2|#define PyDoc_STR(str) str
  ------------------
 1605|      2|                          "replaces malformed data with a replacement marker.")
 1606|      2|            }
 1607|      2|        },
 1608|      2|        {
 1609|      2|            "xmlcharrefreplace",
 1610|      2|            {
 1611|      2|                "xmlcharrefreplace_errors",
 1612|      2|                xmlcharrefreplace_errors,
 1613|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1614|      2|                PyDoc_STR("Implements the 'xmlcharrefreplace' error handling, "
  ------------------
  |  |  240|      2|#define PyDoc_STR(str) str
  ------------------
 1615|      2|                          "which replaces an unencodable character with the "
 1616|      2|                          "appropriate XML character reference.")
 1617|      2|            }
 1618|      2|        },
 1619|      2|        {
 1620|      2|            "backslashreplace",
 1621|      2|            {
 1622|      2|                "backslashreplace_errors",
 1623|      2|                backslashreplace_errors,
 1624|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1625|      2|                PyDoc_STR("Implements the 'backslashreplace' error handling, "
  ------------------
  |  |  240|      2|#define PyDoc_STR(str) str
  ------------------
 1626|      2|                          "which replaces malformed data with a backslashed "
 1627|      2|                          "escape sequence.")
 1628|      2|            }
 1629|      2|        },
 1630|      2|        {
 1631|      2|            "namereplace",
 1632|      2|            {
 1633|      2|                "namereplace_errors",
 1634|      2|                namereplace_errors,
 1635|      2|                METH_O,
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1636|      2|                PyDoc_STR("Implements the 'namereplace' error handling, "
  ------------------
  |  |  240|      2|#define PyDoc_STR(str) str
  ------------------
 1637|      2|                          "which replaces an unencodable character with a "
 1638|      2|                          "\\N{...} escape sequence.")
 1639|      2|            }
 1640|      2|        },
 1641|      2|        {
 1642|      2|            "surrogatepass",
 1643|      2|            {
 1644|      2|                "surrogatepass",
 1645|      2|                surrogatepass_errors,
 1646|      2|                METH_O
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1647|      2|            }
 1648|      2|        },
 1649|      2|        {
 1650|      2|            "surrogateescape",
 1651|      2|            {
 1652|      2|                "surrogateescape",
 1653|      2|                surrogateescape_errors,
 1654|      2|                METH_O
  ------------------
  |  |   99|      2|#define METH_O        0x0008
  ------------------
 1655|      2|            }
 1656|      2|        }
 1657|      2|    };
 1658|       |    // ensure that the built-in error handlers' names are kept in sync
 1659|      2|    assert(Py_ARRAY_LENGTH(methods) == Py_ARRAY_LENGTH(codecs_builtin_error_handlers));
  ------------------
  |  Branch (1659:5): [True: 2, Folded]
  ------------------
 1660|       |
 1661|      2|    assert(interp->codecs.initialized == 0);
  ------------------
  |  Branch (1661:5): [True: 2, False: 0]
  ------------------
 1662|      2|    interp->codecs.search_path = PyList_New(0);
 1663|      2|    if (interp->codecs.search_path == NULL) {
  ------------------
  |  Branch (1663:9): [True: 0, False: 2]
  ------------------
 1664|      0|        return PyStatus_NoMemory();
 1665|      0|    }
 1666|      2|    interp->codecs.search_cache = PyDict_New();
 1667|      2|    if (interp->codecs.search_cache == NULL) {
  ------------------
  |  Branch (1667:9): [True: 0, False: 2]
  ------------------
 1668|      0|        return PyStatus_NoMemory();
 1669|      0|    }
 1670|      2|    interp->codecs.error_registry = PyDict_New();
 1671|      2|    if (interp->codecs.error_registry == NULL) {
  ------------------
  |  Branch (1671:9): [True: 0, False: 2]
  ------------------
 1672|      0|        return PyStatus_NoMemory();
 1673|      0|    }
 1674|     18|    for (size_t i = 0; i < Py_ARRAY_LENGTH(methods); ++i) {
  ------------------
  |  |  232|     18|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (1674:24): [True: 16, False: 2]
  ------------------
 1675|     16|        PyObject *func = PyCFunction_NewEx(&methods[i].def, NULL, NULL);
  ------------------
  |  |   87|     16|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
 1676|     16|        if (func == NULL) {
  ------------------
  |  Branch (1676:13): [True: 0, False: 16]
  ------------------
 1677|      0|            return PyStatus_NoMemory();
 1678|      0|        }
 1679|       |
 1680|     16|        int res = PyDict_SetItemString(interp->codecs.error_registry,
 1681|     16|                                       methods[i].name, func);
 1682|     16|        Py_DECREF(func);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1683|     16|        if (res < 0) {
  ------------------
  |  Branch (1683:13): [True: 0, False: 16]
  ------------------
 1684|      0|            return PyStatus_Error("Failed to insert into codec error registry");
 1685|      0|        }
 1686|     16|    }
 1687|       |
 1688|      2|    interp->codecs.initialized = 1;
 1689|       |
 1690|       |    // Importing `encodings' will call back into this module to register codec
 1691|       |    // search functions, so this is done after everything else is initialized.
 1692|      2|    PyObject *mod = PyImport_ImportModule("encodings");
 1693|      2|    if (mod == NULL) {
  ------------------
  |  Branch (1693:9): [True: 0, False: 2]
  ------------------
 1694|      0|        PyThreadState *tstate = _PyThreadState_GET();
 1695|      0|        _Py_DumpPathConfig(tstate);
 1696|      0|        return PyStatus_Error("Failed to import encodings module. "
 1697|      0|                              "Your environment probably has misconfigured variables! "
 1698|      0|                              "Please check PYTHONHOME otherwise refer to `--help-env`");
 1699|      0|    }
 1700|      2|    Py_DECREF(mod);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1701|       |
 1702|      2|    return PyStatus_Ok();
 1703|      2|}
codecs.c:normalizestring:
   90|   587k|{
   91|   587k|    size_t i;
   92|   587k|    size_t len = strlen(string);
   93|   587k|    char *p;
   94|   587k|    PyObject *v;
   95|       |
   96|   587k|    if (len > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|   587k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (96:9): [True: 0, False: 587k]
  ------------------
   97|      0|        PyErr_SetString(PyExc_OverflowError, "string is too large");
   98|      0|        return NULL;
   99|      0|    }
  100|       |
  101|   587k|    p = PyMem_Malloc(len + 1);
  102|   587k|    if (p == NULL)
  ------------------
  |  Branch (102:9): [True: 0, False: 587k]
  ------------------
  103|      0|        return PyErr_NoMemory();
  104|  16.0M|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (104:17): [True: 15.5M, False: 587k]
  ------------------
  105|  15.5M|        char ch = string[i];
  106|  15.5M|        if (ch == ' ')
  ------------------
  |  Branch (106:13): [True: 0, False: 15.5M]
  ------------------
  107|      0|            ch = '-';
  108|  15.5M|        else
  109|  15.5M|            ch = Py_TOLOWER(Py_CHARMASK(ch));
  ------------------
  |  |   32|  15.5M|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|  15.5M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  110|  15.5M|        p[i] = ch;
  111|  15.5M|    }
  112|   587k|    p[i] = '\0';
  113|   587k|    v = PyUnicode_FromString(p);
  114|   587k|    PyMem_Free(p);
  115|   587k|    return v;
  116|   587k|}
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:args_tuple:
  244|   585k|{
  245|   585k|    PyObject *args;
  246|       |
  247|   585k|    args = PyTuple_New(1 + (errors != NULL));
  248|   585k|    if (args == NULL)
  ------------------
  |  Branch (248:9): [True: 0, False: 585k]
  ------------------
  249|      0|        return NULL;
  250|   585k|    PyTuple_SET_ITEM(args, 0, Py_NewRef(object));
  ------------------
  |  |   40|   585k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  251|   585k|    if (errors) {
  ------------------
  |  Branch (251:9): [True: 264, False: 585k]
  ------------------
  252|    264|        PyObject *v;
  253|       |
  254|    264|        v = PyUnicode_FromString(errors);
  255|    264|        if (v == NULL) {
  ------------------
  |  Branch (255:13): [True: 0, False: 264]
  ------------------
  256|      0|            Py_DECREF(args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  257|      0|            return NULL;
  258|      0|        }
  259|    264|        PyTuple_SET_ITEM(args, 1, v);
  ------------------
  |  |   40|    264|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|    264|    }
  261|   585k|    return args;
  262|   585k|}
codecs.c:_PyCodec_DecodeInternal:
  452|   585k|{
  453|   585k|    PyObject *args = NULL, *result = NULL;
  454|   585k|    PyObject *v;
  455|       |
  456|   585k|    args = args_tuple(object, errors);
  457|   585k|    if (args == NULL)
  ------------------
  |  Branch (457:9): [True: 0, False: 585k]
  ------------------
  458|      0|        goto onError;
  459|       |
  460|   585k|    result = PyObject_Call(decoder, args, NULL);
  461|   585k|    if (result == NULL) {
  ------------------
  |  Branch (461:9): [True: 365, False: 585k]
  ------------------
  462|    365|        _PyErr_FormatNote("%s with '%s' codec failed", "decoding", encoding);
  463|    365|        goto onError;
  464|    365|    }
  465|   585k|    if (!PyTuple_Check(result) ||
  ------------------
  |  |   27|   585k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.17M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (465:9): [True: 0, False: 585k]
  ------------------
  466|   585k|        PyTuple_GET_SIZE(result) != 2) {
  ------------------
  |  |   27|   585k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (466:9): [True: 0, False: 585k]
  ------------------
  467|      0|        PyErr_SetString(PyExc_TypeError,
  468|      0|                        "decoder must return a tuple (object,integer)");
  469|      0|        goto onError;
  470|      0|    }
  471|   585k|    v = Py_NewRef(PyTuple_GET_ITEM(result,0));
  ------------------
  |  |  647|   585k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 585k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  472|       |    /* We don't check or use the second (integer) entry. */
  473|       |
  474|   585k|    Py_DECREF(args);
  ------------------
  |  |  430|   585k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  475|   585k|    Py_DECREF(decoder);
  ------------------
  |  |  430|   585k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|   585k|    Py_DECREF(result);
  ------------------
  |  |  430|   585k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|   585k|    return v;
  478|       |
  479|    365| onError:
  480|    365|    Py_XDECREF(args);
  ------------------
  |  |  621|    365|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    365|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    365|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|    365|    Py_XDECREF(decoder);
  ------------------
  |  |  621|    365|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    365|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    365|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|    365|    Py_XDECREF(result);
  ------------------
  |  |  621|    365|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    365|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    365|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|       |    return NULL;
  484|   585k|}
codecs.c:codec_getitem_checked:
  566|   585k|{
  567|   585k|    PyObject *codec;
  568|   585k|    PyObject *v;
  569|       |
  570|   585k|    codec = _PyCodec_LookupTextEncoding(encoding, alternate_command);
  571|   585k|    if (codec == NULL)
  ------------------
  |  Branch (571:9): [True: 0, False: 585k]
  ------------------
  572|      0|        return NULL;
  573|       |
  574|   585k|    v = Py_NewRef(PyTuple_GET_ITEM(codec, index));
  ------------------
  |  |  647|   585k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 585k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  575|   585k|    Py_DECREF(codec);
  ------------------
  |  |  430|   585k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  576|   585k|    return v;
  577|   585k|}
codecs.c:_PyCodec_TextDecoder:
  585|   585k|{
  586|   585k|    return codec_getitem_checked(encoding, "codecs.decode()", 1);
  587|   585k|}
codecs.c:_PyCodec_ReplaceUnicodeDecodeError:
  848|  4.67k|{
  849|  4.67k|    Py_ssize_t end;
  850|  4.67k|    if (PyUnicodeDecodeError_GetEnd(exc, &end) < 0) {
  ------------------
  |  Branch (850:9): [True: 0, False: 4.67k]
  ------------------
  851|      0|        return NULL;
  852|      0|    }
  853|  4.67k|    PyObject *res = codec_handler_unicode_replacement_character(1);
  854|  4.67k|    if (res == NULL) {
  ------------------
  |  Branch (854:9): [True: 0, False: 4.67k]
  ------------------
  855|      0|        return NULL;
  856|      0|    }
  857|  4.67k|    return Py_BuildValue("(Nn)", res, end);
  858|  4.67k|}
codecs.c:codec_handler_unicode_replacement_character:
  764|  4.67k|{
  765|  4.67k|    PyObject *res = PyUnicode_New(count, Py_UNICODE_REPLACEMENT_CHARACTER);
  ------------------
  |  |  113|  4.67k|#define Py_UNICODE_REPLACEMENT_CHARACTER ((Py_UCS4) 0xFFFD)
  ------------------
  766|  4.67k|    if (res == NULL) {
  ------------------
  |  Branch (766:9): [True: 0, False: 4.67k]
  ------------------
  767|      0|        return NULL;
  768|      0|    }
  769|  4.67k|    assert(count == 0 || PyUnicode_KIND(res) == PyUnicode_2BYTE_KIND);
  ------------------
  |  Branch (769:5): [True: 4.67k, False: 0]
  |  Branch (769:5): [True: 0, False: 4.67k]
  |  Branch (769:5): [True: 4.67k, False: 0]
  ------------------
  770|  4.67k|    Py_UCS2 *outp = PyUnicode_2BYTE_DATA(res);
  ------------------
  |  |  293|  4.67k|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  4.67k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  771|  9.35k|    for (Py_ssize_t i = 0; i < count; ++i) {
  ------------------
  |  Branch (771:28): [True: 4.67k, False: 4.67k]
  ------------------
  772|  4.67k|        outp[i] = Py_UNICODE_REPLACEMENT_CHARACTER;
  ------------------
  |  |  113|  4.67k|#define Py_UNICODE_REPLACEMENT_CHARACTER ((Py_UCS4) 0xFFFD)
  ------------------
  773|  4.67k|    }
  774|  4.67k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (774:5): [True: 4.67k, False: 0]
  ------------------
  775|  4.67k|    return res;
  776|  4.67k|}
codecs.c:strict_errors:
 1516|    146|{
 1517|    146|    return PyCodec_StrictErrors(exc);
 1518|    146|}
codecs.c:replace_errors:
 1530|  4.67k|{
 1531|  4.67k|    return PyCodec_ReplaceErrors(exc);
 1532|  4.67k|}
codecs.c:surrogatepass_errors:
 1558|      2|{
 1559|      2|    return PyCodec_SurrogatePassErrors(exc);
 1560|      2|}
codecs.c:PyCodec_SurrogatePassErrors:
 1403|      2|{
 1404|      2|    if (_PyIsUnicodeEncodeError(exc)) {
  ------------------
  |  |  678|      2|    PyObject_TypeCheck(EXC, (PyTypeObject *)PyExc_UnicodeEncodeError)
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1405|      0|        return _PyCodec_SurrogatePassUnicodeEncodeError(exc);
 1406|      0|    }
 1407|      2|    else if (_PyIsUnicodeDecodeError(exc)) {
  ------------------
  |  |  680|      2|    PyObject_TypeCheck(EXC, (PyTypeObject *)PyExc_UnicodeDecodeError)
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1408|      2|        return _PyCodec_SurrogatePassUnicodeDecodeError(exc);
 1409|      2|    }
 1410|      0|    else {
 1411|      0|        wrong_exception_type(exc);
 1412|       |        return NULL;
 1413|      0|    }
 1414|      2|}
codecs.c:get_standard_encoding:
 1215|      2|{
 1216|      2|    const char *encoding_cstr = PyUnicode_AsUTF8(encoding);
 1217|      2|    if (encoding_cstr == NULL) {
  ------------------
  |  Branch (1217:9): [True: 0, False: 2]
  ------------------
 1218|      0|        return -1;
 1219|      0|    }
 1220|      2|    *code = get_standard_encoding_impl(encoding_cstr, bytelength);
 1221|      2|    return 0;
 1222|      2|}
codecs.c:get_standard_encoding_impl:
 1153|      2|{
 1154|      2|    if (Py_TOLOWER(encoding[0]) == 'u' &&
  ------------------
  |  |   32|      2|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|      2|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (1154:9): [True: 2, False: 0]
  ------------------
 1155|      2|        Py_TOLOWER(encoding[1]) == 't' &&
  ------------------
  |  |   32|      2|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|      2|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (1155:9): [True: 2, False: 0]
  ------------------
 1156|      2|        Py_TOLOWER(encoding[2]) == 'f') {
  ------------------
  |  |   32|      2|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|      2|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (1156:9): [True: 2, False: 0]
  ------------------
 1157|      2|        encoding += 3;
 1158|      2|        if (*encoding == '-' || *encoding == '_' )
  ------------------
  |  Branch (1158:13): [True: 2, False: 0]
  |  Branch (1158:33): [True: 0, False: 0]
  ------------------
 1159|      2|            encoding++;
 1160|      2|        if (encoding[0] == '8' && encoding[1] == '\0') {
  ------------------
  |  Branch (1160:13): [True: 2, False: 0]
  |  Branch (1160:35): [True: 2, False: 0]
  ------------------
 1161|      2|            *bytelength = 3;
 1162|      2|            return ENC_UTF8;
  ------------------
  |  | 1145|      2|#define ENC_UTF8        0
  ------------------
 1163|      2|        }
 1164|      0|        else if (encoding[0] == '1' && encoding[1] == '6') {
  ------------------
  |  Branch (1164:18): [True: 0, False: 0]
  |  Branch (1164:40): [True: 0, False: 0]
  ------------------
 1165|      0|            encoding += 2;
 1166|      0|            *bytelength = 2;
 1167|      0|            if (*encoding == '\0') {
  ------------------
  |  Branch (1167:17): [True: 0, False: 0]
  ------------------
 1168|       |#ifdef WORDS_BIGENDIAN
 1169|       |                return ENC_UTF16BE;
 1170|       |#else
 1171|      0|                return ENC_UTF16LE;
  ------------------
  |  | 1147|      0|#define ENC_UTF16LE     2
  ------------------
 1172|      0|#endif
 1173|      0|            }
 1174|      0|            if (*encoding == '-' || *encoding == '_' )
  ------------------
  |  Branch (1174:17): [True: 0, False: 0]
  |  Branch (1174:37): [True: 0, False: 0]
  ------------------
 1175|      0|                encoding++;
 1176|      0|            if (encoding[0] != '\0' &&
  ------------------
  |  Branch (1176:17): [True: 0, False: 0]
  ------------------
 1177|      0|                Py_TOLOWER(encoding[1]) == 'e' && encoding[2] == '\0') {
  ------------------
  |  |   32|      0|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (1177:17): [True: 0, False: 0]
  |  Branch (1177:51): [True: 0, False: 0]
  ------------------
 1178|      0|                if (Py_TOLOWER(encoding[0]) == 'b')
  ------------------
  |  |   32|      0|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (1178:21): [True: 0, False: 0]
  ------------------
 1179|      0|                    return ENC_UTF16BE;
  ------------------
  |  | 1146|      0|#define ENC_UTF16BE     1
  ------------------
 1180|      0|                if (Py_TOLOWER(encoding[0]) == 'l')
  ------------------
  |  |   32|      0|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (1180:21): [True: 0, False: 0]
  ------------------
 1181|      0|                    return ENC_UTF16LE;
  ------------------
  |  | 1147|      0|#define ENC_UTF16LE     2
  ------------------
 1182|      0|            }
 1183|      0|        }
 1184|      0|        else if (encoding[0] == '3' && encoding[1] == '2') {
  ------------------
  |  Branch (1184:18): [True: 0, False: 0]
  |  Branch (1184:40): [True: 0, False: 0]
  ------------------
 1185|      0|            encoding += 2;
 1186|      0|            *bytelength = 4;
 1187|      0|            if (*encoding == '\0') {
  ------------------
  |  Branch (1187:17): [True: 0, False: 0]
  ------------------
 1188|       |#ifdef WORDS_BIGENDIAN
 1189|       |                return ENC_UTF32BE;
 1190|       |#else
 1191|      0|                return ENC_UTF32LE;
  ------------------
  |  | 1149|      0|#define ENC_UTF32LE     4
  ------------------
 1192|      0|#endif
 1193|      0|            }
 1194|      0|            if (*encoding == '-' || *encoding == '_' )
  ------------------
  |  Branch (1194:17): [True: 0, False: 0]
  |  Branch (1194:37): [True: 0, False: 0]
  ------------------
 1195|      0|                encoding++;
 1196|      0|            if (encoding[0] != '\0' &&
  ------------------
  |  Branch (1196:17): [True: 0, False: 0]
  ------------------
 1197|      0|                Py_TOLOWER(encoding[1]) == 'e' && encoding[2] == '\0') {
  ------------------
  |  |   32|      0|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (1197:17): [True: 0, False: 0]
  |  Branch (1197:51): [True: 0, False: 0]
  ------------------
 1198|      0|                if (Py_TOLOWER(encoding[0]) == 'b')
  ------------------
  |  |   32|      0|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (1198:21): [True: 0, False: 0]
  ------------------
 1199|      0|                    return ENC_UTF32BE;
  ------------------
  |  | 1148|      0|#define ENC_UTF32BE     3
  ------------------
 1200|      0|                if (Py_TOLOWER(encoding[0]) == 'l')
  ------------------
  |  |   32|      0|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (1200:21): [True: 0, False: 0]
  ------------------
 1201|      0|                    return ENC_UTF32LE;
  ------------------
  |  | 1149|      0|#define ENC_UTF32LE     4
  ------------------
 1202|      0|            }
 1203|      0|        }
 1204|      2|    }
 1205|      0|    else if (strcmp(encoding, "cp65001") == 0) {
  ------------------
  |  Branch (1205:14): [True: 0, False: 0]
  ------------------
 1206|      0|        *bytelength = 3;
 1207|      0|        return ENC_UTF8;
  ------------------
  |  | 1145|      0|#define ENC_UTF8        0
  ------------------
 1208|      0|    }
 1209|      0|    return ENC_UNKNOWN;
  ------------------
  |  | 1144|      0|#define ENC_UNKNOWN     -1
  ------------------
 1210|      2|}
codecs.c:_PyCodec_SurrogatePassUnicodeDecodeError:
 1320|      2|{
 1321|      2|    PyObject *encoding = PyUnicodeDecodeError_GetEncoding(exc);
 1322|      2|    if (encoding == NULL) {
  ------------------
  |  Branch (1322:9): [True: 0, False: 2]
  ------------------
 1323|      0|        return NULL;
 1324|      0|    }
 1325|      2|    int code, bytelength;
 1326|      2|    int rc = get_standard_encoding(encoding, &code, &bytelength);
 1327|      2|    Py_DECREF(encoding);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1328|      2|    if (rc < 0) {
  ------------------
  |  Branch (1328:9): [True: 0, False: 2]
  ------------------
 1329|      0|        return NULL;
 1330|      0|    }
 1331|      2|    if (code == ENC_UNKNOWN) {
  ------------------
  |  | 1144|      2|#define ENC_UNKNOWN     -1
  ------------------
  |  Branch (1331:9): [True: 0, False: 2]
  ------------------
 1332|      0|        goto bail;
 1333|      0|    }
 1334|       |
 1335|      2|    PyObject *obj;
 1336|      2|    Py_ssize_t objlen, start, end, slen;
 1337|      2|    if (_PyUnicodeError_GetParams(exc,
  ------------------
  |  Branch (1337:9): [True: 0, False: 2]
  ------------------
 1338|      2|                                  &obj, &objlen,
 1339|      2|                                  &start, &end, &slen, true) < 0)
 1340|      0|    {
 1341|      0|        return NULL;
 1342|      0|    }
 1343|       |
 1344|       |    /* Try decoding a single surrogate character. If
 1345|       |       there are more, let the codec call us again. */
 1346|      2|    Py_UCS4 ch = 0;
 1347|      2|    const unsigned char *p = (const unsigned char *)PyBytes_AS_STRING(obj);
  ------------------
  |  |   27|      2|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1348|      2|    p += start;
 1349|       |
 1350|      2|    if (objlen - start >= bytelength) {
  ------------------
  |  Branch (1350:9): [True: 2, False: 0]
  ------------------
 1351|      2|        switch (code) {
  ------------------
  |  Branch (1351:17): [True: 2, False: 0]
  ------------------
 1352|      2|            case ENC_UTF8: {
  ------------------
  |  | 1145|      2|#define ENC_UTF8        0
  ------------------
  |  Branch (1352:13): [True: 2, False: 0]
  ------------------
 1353|      2|                if ((p[0] & 0xf0) == 0xe0 &&
  ------------------
  |  Branch (1353:21): [True: 2, False: 0]
  ------------------
 1354|      2|                    (p[1] & 0xc0) == 0x80 &&
  ------------------
  |  Branch (1354:21): [True: 2, False: 0]
  ------------------
 1355|      2|                    (p[2] & 0xc0) == 0x80)
  ------------------
  |  Branch (1355:21): [True: 2, False: 0]
  ------------------
 1356|      2|                {
 1357|       |                    /* it's a three-byte code */
 1358|      2|                    ch = ((p[0] & 0x0f) << 12) +
 1359|      2|                         ((p[1] & 0x3f) << 6)  +
 1360|      2|                          (p[2] & 0x3f);
 1361|      2|                }
 1362|      2|                break;
 1363|      0|            }
 1364|      0|            case ENC_UTF16LE: {
  ------------------
  |  | 1147|      0|#define ENC_UTF16LE     2
  ------------------
  |  Branch (1364:13): [True: 0, False: 2]
  ------------------
 1365|      0|                ch = p[1] << 8 | p[0];
 1366|      0|                break;
 1367|      0|            }
 1368|      0|            case ENC_UTF16BE: {
  ------------------
  |  | 1146|      0|#define ENC_UTF16BE     1
  ------------------
  |  Branch (1368:13): [True: 0, False: 2]
  ------------------
 1369|      0|                ch = p[0] << 8 | p[1];
 1370|      0|                break;
 1371|      0|            }
 1372|      0|            case ENC_UTF32LE: {
  ------------------
  |  | 1149|      0|#define ENC_UTF32LE     4
  ------------------
  |  Branch (1372:13): [True: 0, False: 2]
  ------------------
 1373|      0|                ch = (p[3] << 24) | (p[2] << 16) | (p[1] << 8) | p[0];
 1374|      0|                break;
 1375|      0|            }
 1376|      0|            case ENC_UTF32BE: {
  ------------------
  |  | 1148|      0|#define ENC_UTF32BE     3
  ------------------
  |  Branch (1376:13): [True: 0, False: 2]
  ------------------
 1377|      0|                ch = (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3];
 1378|      0|                break;
 1379|      0|            }
 1380|      2|        }
 1381|      2|    }
 1382|      2|    Py_DECREF(obj);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1383|      2|    if (!Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (1383:9): [True: 0, False: 2]
  ------------------
 1384|      0|        goto bail;
 1385|      0|    }
 1386|       |
 1387|      2|    PyObject *res = PyUnicode_FromOrdinal(ch);
 1388|      2|    if (res == NULL) {
  ------------------
  |  Branch (1388:9): [True: 0, False: 2]
  ------------------
 1389|      0|        return NULL;
 1390|      0|    }
 1391|      2|    return Py_BuildValue("(Nn)", res, start + bytelength);
 1392|       |
 1393|      0|bail:
 1394|      0|    PyErr_SetObject(PyExceptionInstance_Class(exc), exc);
  ------------------
  |  |   69|      0|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1395|       |    return NULL;
 1396|      2|}

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

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

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|}
_PyContext_Init:
 1442|      2|{
 1443|      2|    PyObject *missing = get_token_missing();
 1444|      2|    assert(PyUnstable_IsImmortal(missing));
  ------------------
  |  Branch (1444:5): [True: 2, False: 0]
  ------------------
 1445|      2|    if (PyDict_SetItemString(
  ------------------
  |  Branch (1445:9): [True: 0, False: 2]
  ------------------
 1446|      2|        _PyType_GetDict(&PyContextToken_Type), "MISSING", missing))
 1447|      0|    {
 1448|      0|        Py_DECREF(missing);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1449|      0|        return _PyStatus_ERR("can't init context types");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1450|      0|    }
 1451|      2|    Py_DECREF(missing);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1452|       |
 1453|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1454|      2|}
context.c:contextvar_new:
  952|      2|{
  953|      2|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (953:9): [True: 0, False: 2]
  ------------------
  954|      0|        PyErr_SetString(PyExc_TypeError,
  955|      0|                        "context variable name must be a str");
  956|      0|        return NULL;
  957|      0|    }
  958|       |
  959|      2|    PyContextVar *var = PyObject_GC_New(PyContextVar, &PyContextVar_Type);
  ------------------
  |  |  181|      2|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  960|      2|    if (var == NULL) {
  ------------------
  |  Branch (960:9): [True: 0, False: 2]
  ------------------
  961|      0|        return NULL;
  962|      0|    }
  963|       |
  964|      2|    var->var_name = Py_NewRef(name);
  ------------------
  |  |  647|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|      2|    var->var_default = Py_XNewRef(def);
  ------------------
  |  |  648|      2|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  966|       |
  967|      2|#ifndef Py_GIL_DISABLED
  968|      2|    var->var_cached = NULL;
  969|      2|    var->var_cached_tsid = 0;
  970|      2|    var->var_cached_tsver = 0;
  971|      2|#endif
  972|       |
  973|      2|    var->var_hash = contextvar_generate_hash(var, name);
  974|      2|    if (var->var_hash == -1) {
  ------------------
  |  Branch (974:9): [True: 0, False: 2]
  ------------------
  975|      0|        Py_DECREF(var);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  976|      0|        return NULL;
  977|      0|    }
  978|       |
  979|      2|    if (_PyObject_GC_MAY_BE_TRACKED(name) ||
  ------------------
  |  Branch (979:9): [True: 0, False: 2]
  ------------------
  980|      2|            (def != NULL && _PyObject_GC_MAY_BE_TRACKED(def)))
  ------------------
  |  Branch (980:14): [True: 0, False: 2]
  |  Branch (980:29): [True: 0, False: 0]
  ------------------
  981|      0|    {
  982|      0|        PyObject_GC_Track(var);
  983|      0|    }
  984|      2|    return var;
  985|      2|}
context.c:contextvar_generate_hash:
  924|      2|{
  925|       |    /* Take hash of `name` and XOR it with the object's addr.
  926|       |
  927|       |       The structure of the tree is encoded in objects' hashes, which
  928|       |       means that sufficiently similar hashes would result in tall trees
  929|       |       with many Collision nodes.  Which would, in turn, result in slower
  930|       |       get and set operations.
  931|       |
  932|       |       The XORing helps to ensure that:
  933|       |
  934|       |       (1) sequentially allocated ContextVar objects have
  935|       |           different hashes;
  936|       |
  937|       |       (2) context variables with equal names have
  938|       |           different hashes.
  939|       |    */
  940|       |
  941|      2|    Py_hash_t name_hash = PyObject_Hash(name);
  942|      2|    if (name_hash == -1) {
  ------------------
  |  Branch (942:9): [True: 0, False: 2]
  ------------------
  943|      0|        return -1;
  944|      0|    }
  945|       |
  946|      2|    Py_hash_t res = Py_HashPointer(addr) ^ name_hash;
  947|      2|    return res == -1 ? -2 : res;
  ------------------
  |  Branch (947:12): [True: 0, False: 2]
  ------------------
  948|      2|}
context.c:get_token_missing:
 1432|      2|{
 1433|      2|    return (PyObject *)&_Py_SINGLETON(context_token_missing);
  ------------------
  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1434|      2|}

_Py_xi_global_state_init:
 3136|      2|{
 3137|      2|    assert(state != NULL);
  ------------------
  |  Branch (3137:5): [True: 2, False: 0]
  ------------------
 3138|      2|    xid_lookup_init(&state->data_lookup);
 3139|      2|    return 0;
 3140|      2|}
_Py_xi_state_init:
 3151|      2|{
 3152|      2|    assert(state != NULL);
  ------------------
  |  Branch (3152:5): [True: 2, False: 0]
  ------------------
 3153|      2|    assert(interp == NULL || state == _PyXI_GET_STATE(interp));
  ------------------
  |  Branch (3153:5): [True: 2, False: 0]
  |  Branch (3153:5): [True: 0, False: 0]
  ------------------
 3154|       |
 3155|       |    // Initialize pickle function cache (before any fallible ops).
 3156|      2|    state->pickle.dumps = NULL;
 3157|      2|    state->pickle.loads = NULL;
 3158|       |
 3159|      2|    xid_lookup_init(&state->data_lookup);
 3160|       |
 3161|       |    // Initialize exceptions.
 3162|      2|    if (interp != NULL) {
  ------------------
  |  Branch (3162:9): [True: 0, False: 2]
  ------------------
 3163|      0|        if (init_static_exctypes(&state->exceptions, interp) < 0) {
  ------------------
  |  Branch (3163:13): [True: 0, False: 0]
  ------------------
 3164|      0|            fini_heap_exctypes(&state->exceptions);
 3165|      0|            return -1;
 3166|      0|        }
 3167|      0|    }
 3168|      2|    if (init_heap_exctypes(&state->exceptions) < 0) {
  ------------------
  |  Branch (3168:9): [True: 0, False: 2]
  ------------------
 3169|      0|        return -1;
 3170|      0|    }
 3171|       |
 3172|      2|    return 0;
 3173|      2|}
_PyXI_Init:
 3197|      2|{
 3198|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (3198:9): [True: 2, False: 0]
  ------------------
 3199|      2|        _PyXI_global_state_t *global_state = _PyXI_GET_GLOBAL_STATE(interp);
  ------------------
  |  |  276|      2|#define _PyXI_GET_GLOBAL_STATE(interp) (&(interp)->runtime->xi)
  ------------------
 3200|      2|        if (global_state == NULL) {
  ------------------
  |  Branch (3200:13): [True: 0, False: 2]
  ------------------
 3201|      0|            PyErr_PrintEx(0);
 3202|      0|            return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 3203|      0|                    "failed to get global cross-interpreter state");
 3204|      0|        }
 3205|      2|        if (_Py_xi_global_state_init(global_state) < 0) {
  ------------------
  |  Branch (3205:13): [True: 0, False: 2]
  ------------------
 3206|      0|            PyErr_PrintEx(0);
 3207|      0|            return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 3208|      0|                    "failed to initialize  global cross-interpreter state");
 3209|      0|        }
 3210|      2|    }
 3211|       |
 3212|      2|    _PyXI_state_t *state = _PyXI_GET_STATE(interp);
  ------------------
  |  |  277|      2|#define _PyXI_GET_STATE(interp) (&(interp)->xi)
  ------------------
 3213|      2|    if (state == NULL) {
  ------------------
  |  Branch (3213:9): [True: 0, False: 2]
  ------------------
 3214|      0|        PyErr_PrintEx(0);
 3215|      0|        return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 3216|      0|                "failed to get interpreter's cross-interpreter state");
 3217|      0|    }
 3218|       |    // The static types were already initialized in _PyXI_InitTypes(),
 3219|       |    // so we pass in NULL here to avoid initializing them again.
 3220|      2|    if (_Py_xi_state_init(state, NULL) < 0) {
  ------------------
  |  Branch (3220:9): [True: 0, False: 2]
  ------------------
 3221|      0|        PyErr_PrintEx(0);
 3222|      0|        return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 3223|      0|                "failed to initialize interpreter's cross-interpreter state");
 3224|      0|    }
 3225|       |
 3226|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3227|      2|}
_PyXI_InitTypes:
 3254|      2|{
 3255|      2|    if (init_static_exctypes(&_PyXI_GET_STATE(interp)->exceptions, interp) < 0) {
  ------------------
  |  |  277|      2|#define _PyXI_GET_STATE(interp) (&(interp)->xi)
  ------------------
  |  Branch (3255:9): [True: 0, False: 2]
  ------------------
 3256|      0|        PyErr_PrintEx(0);
 3257|      0|        return _PyStatus_ERR(
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 3258|      0|                "failed to initialize the cross-interpreter exception types");
 3259|      0|    }
 3260|       |    // We would initialize heap types here too but that leads to ref leaks.
 3261|       |    // Instead, we initialize them in _PyXI_Init().
 3262|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3263|      2|}

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

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

_PyDtoa_Init:
 2820|      2|{
 2821|      2|#if _PY_SHORT_FLOAT_REPR == 1 && !defined(Py_USING_MEMORY_DEBUGGER)
 2822|      2|    Bigint **p5s = interp->dtoa.p5s;
 2823|       |
 2824|       |    // 5**4 = 625
 2825|      2|    Bigint *p5 = i2b(625);
 2826|      2|    if (p5 == NULL) {
  ------------------
  |  Branch (2826:9): [True: 0, False: 2]
  ------------------
 2827|      0|        return PyStatus_NoMemory();
 2828|      0|    }
 2829|      2|    p5s[0] = p5;
 2830|       |
 2831|       |    // compute 5**8, 5**16, 5**32, ..., 5**512
 2832|     16|    for (Py_ssize_t i = 1; i < Bigint_Pow5size; i++) {
  ------------------
  |  |  483|     16|#define Bigint_Pow5size 8
  ------------------
  |  Branch (2832:28): [True: 14, False: 2]
  ------------------
 2833|     14|        p5 = mult(p5, p5);
 2834|     14|        if (p5 == NULL) {
  ------------------
  |  Branch (2834:13): [True: 0, False: 14]
  ------------------
 2835|      0|            return PyStatus_NoMemory();
 2836|      0|        }
 2837|     14|        p5s[i] = p5;
 2838|     14|    }
 2839|       |
 2840|      2|#endif
 2841|      2|    return PyStatus_Ok();
 2842|      2|}
dtoa.c:Balloc:
  345|     16|{
  346|     16|    int x;
  347|     16|    Bigint *rv;
  348|     16|    unsigned int len;
  349|     16|    PyInterpreterState *interp = _PyInterpreterState_GET();
  350|       |
  351|     16|    if (k <= Bigint_Kmax && (rv = freelist[k]))
  ------------------
  |  |  480|     32|#define Bigint_Kmax 7
  ------------------
                  if (k <= Bigint_Kmax && (rv = freelist[k]))
  ------------------
  |  |  337|     16|#define freelist interp->dtoa.freelist
  ------------------
  |  Branch (351:9): [True: 16, False: 0]
  |  Branch (351:29): [True: 0, False: 16]
  ------------------
  352|      0|        freelist[k] = rv->next;
  ------------------
  |  |  337|      0|#define freelist interp->dtoa.freelist
  ------------------
  353|     16|    else {
  354|     16|        x = 1 << k;
  355|     16|        len = (sizeof(Bigint) + (x-1)*sizeof(ULong) + sizeof(double) - 1)
  356|     16|            /sizeof(double);
  357|     16|        if (k <= Bigint_Kmax &&
  ------------------
  |  |  480|     32|#define Bigint_Kmax 7
  ------------------
  |  Branch (357:13): [True: 16, False: 0]
  ------------------
  358|     16|            pmem_next - private_mem + len <= (Py_ssize_t)Bigint_PREALLOC_SIZE
  ------------------
  |  |  339|     16|#define pmem_next interp->dtoa.preallocated_next
  ------------------
                          pmem_next - private_mem + len <= (Py_ssize_t)Bigint_PREALLOC_SIZE
  ------------------
  |  |  338|     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 (358:13): [True: 16, False: 0]
  ------------------
  359|     16|        ) {
  360|     16|            rv = (Bigint*)pmem_next;
  ------------------
  |  |  339|     16|#define pmem_next interp->dtoa.preallocated_next
  ------------------
  361|     16|            pmem_next += len;
  ------------------
  |  |  339|     16|#define pmem_next interp->dtoa.preallocated_next
  ------------------
  362|     16|        }
  363|      0|        else {
  364|      0|            rv = (Bigint*)MALLOC(len*sizeof(double));
  ------------------
  |  |  137|      0|#define MALLOC PyMem_Malloc
  ------------------
  365|      0|            if (rv == NULL)
  ------------------
  |  Branch (365:17): [True: 0, False: 0]
  ------------------
  366|      0|                return NULL;
  367|      0|        }
  368|     16|        rv->k = k;
  369|     16|        rv->maxwds = x;
  370|     16|    }
  371|     16|    rv->sign = rv->wds = 0;
  372|     16|    return rv;
  373|     16|}
dtoa.c:i2b:
  599|      2|{
  600|      2|    Bigint *b;
  601|       |
  602|      2|    b = Balloc(1);
  603|      2|    if (b == NULL)
  ------------------
  |  Branch (603:9): [True: 0, False: 2]
  ------------------
  604|      0|        return NULL;
  605|      2|    b->x[0] = i;
  606|      2|    b->wds = 1;
  607|      2|    return b;
  608|      2|}
dtoa.c:mult:
  615|     14|{
  616|     14|    Bigint *c;
  617|     14|    int k, wa, wb, wc;
  618|     14|    ULong *x, *xa, *xae, *xb, *xbe, *xc, *xc0;
  619|     14|    ULong y;
  620|     14|    ULLong carry, z;
  621|       |
  622|     14|    if ((!a->x[0] && a->wds == 1) || (!b->x[0] && b->wds == 1)) {
  ------------------
  |  Branch (622:10): [True: 0, False: 14]
  |  Branch (622:22): [True: 0, False: 0]
  |  Branch (622:39): [True: 0, False: 14]
  |  Branch (622:51): [True: 0, False: 0]
  ------------------
  623|      0|        c = Balloc(0);
  624|      0|        if (c == NULL)
  ------------------
  |  Branch (624:13): [True: 0, False: 0]
  ------------------
  625|      0|            return NULL;
  626|      0|        c->wds = 1;
  627|      0|        c->x[0] = 0;
  628|      0|        return c;
  629|      0|    }
  630|       |
  631|     14|    if (a->wds < b->wds) {
  ------------------
  |  Branch (631:9): [True: 0, False: 14]
  ------------------
  632|      0|        c = a;
  633|      0|        a = b;
  634|      0|        b = c;
  635|      0|    }
  636|     14|    k = a->k;
  637|     14|    wa = a->wds;
  638|     14|    wb = b->wds;
  639|     14|    wc = wa + wb;
  640|     14|    if (wc > a->maxwds)
  ------------------
  |  Branch (640:9): [True: 10, False: 4]
  ------------------
  641|     10|        k++;
  642|     14|    c = Balloc(k);
  643|     14|    if (c == NULL)
  ------------------
  |  Branch (643:9): [True: 0, False: 14]
  ------------------
  644|      0|        return NULL;
  645|    178|    for(x = c->x, xa = x + wc; x < xa; x++)
  ------------------
  |  Branch (645:32): [True: 164, False: 14]
  ------------------
  646|    164|        *x = 0;
  647|     14|    xa = a->x;
  648|     14|    xae = xa + wa;
  649|     14|    xb = b->x;
  650|     14|    xbe = xb + wb;
  651|     14|    xc0 = c->x;
  652|     96|    for(; xb < xbe; xc0++) {
  ------------------
  |  Branch (652:11): [True: 82, False: 14]
  ------------------
  653|     82|        if ((y = *xb++)) {
  ------------------
  |  Branch (653:13): [True: 82, False: 0]
  ------------------
  654|     82|            x = xa;
  655|     82|            xc = xc0;
  656|     82|            carry = 0;
  657|  1.00k|            do {
  658|  1.00k|                z = *x++ * (ULLong)y + *xc + carry;
  659|  1.00k|                carry = z >> 32;
  660|  1.00k|                *xc++ = (ULong)(z & FFFFFFFF);
  ------------------
  |  |  289|  1.00k|#define FFFFFFFF 0xffffffffUL
  ------------------
  661|  1.00k|            }
  662|  1.00k|            while(x < xae);
  ------------------
  |  Branch (662:19): [True: 920, False: 82]
  ------------------
  663|     82|            *xc = (ULong)carry;
  664|     82|        }
  665|     82|    }
  666|     22|    for(xc0 = c->x, xc = xc0 + wc; wc > 0 && !*--xc; --wc) ;
  ------------------
  |  Branch (666:36): [True: 22, False: 0]
  |  Branch (666:46): [True: 8, False: 14]
  ------------------
  667|     14|    c->wds = wc;
  668|     14|    return c;
  669|     14|}

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

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

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

_PyCfgBuilder_New:
  440|      2|{
  441|      2|    cfg_builder *g = PyMem_Malloc(sizeof(cfg_builder));
  442|      2|    if (g == NULL) {
  ------------------
  |  Branch (442:9): [True: 0, False: 2]
  ------------------
  443|      0|        PyErr_NoMemory();
  444|      0|        return NULL;
  445|      0|    }
  446|      2|    memset(g, 0, sizeof(cfg_builder));
  447|      2|    if (init_cfg_builder(g) < 0) {
  ------------------
  |  Branch (447:9): [True: 0, False: 2]
  ------------------
  448|      0|        PyMem_Free(g);
  449|      0|        return NULL;
  450|      0|    }
  451|      2|    return g;
  452|      2|}
_PyCfgBuilder_Free:
  456|      2|{
  457|      2|    if (g == NULL) {
  ------------------
  |  Branch (457:9): [True: 0, False: 2]
  ------------------
  458|      0|        return;
  459|      0|    }
  460|      2|    assert(cfg_builder_check(g));
  ------------------
  |  Branch (460:5): [True: 2, False: 0]
  ------------------
  461|      2|    basicblock *b = g->g_block_list;
  462|      5|    while (b != NULL) {
  ------------------
  |  Branch (462:12): [True: 3, False: 2]
  ------------------
  463|      3|        if (b->b_instr) {
  ------------------
  |  Branch (463:13): [True: 3, False: 0]
  ------------------
  464|      3|            PyMem_Free((void *)b->b_instr);
  465|      3|        }
  466|      3|        basicblock *next = b->b_list;
  467|      3|        PyMem_Free((void *)b);
  468|      3|        b = next;
  469|      3|    }
  470|      2|    PyMem_Free(g);
  471|      2|}
_PyCfgBuilder_CheckSize:
  475|      2|{
  476|      2|    int nblocks = 0;
  477|      5|    for (basicblock *b = g->g_block_list; b != NULL; b = b->b_list) {
  ------------------
  |  Branch (477:43): [True: 3, False: 2]
  ------------------
  478|      3|        nblocks++;
  479|      3|    }
  480|      2|    if ((size_t)nblocks > SIZE_MAX / sizeof(basicblock *)) {
  ------------------
  |  Branch (480:9): [True: 0, False: 2]
  ------------------
  481|      0|        PyErr_NoMemory();
  482|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  483|      0|    }
  484|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
  485|      2|}
_PyCfgBuilder_Addop:
  496|     17|{
  497|     17|    RETURN_IF_ERROR(cfg_builder_maybe_start_new_block(g));
  ------------------
  |  |   25|     17|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 17]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  498|       |    return basicblock_addop(g->g_curblock, opcode, oparg, loc, NULL);
  499|     17|}
_PyCfg_OptimizeCodeUnit:
 3803|      2|{
 3804|      2|    assert(cfg_builder_check(g));
  ------------------
  |  Branch (3804:5): [True: 2, False: 0]
  ------------------
 3805|      2|    assert(g->g_entryblock->b_iused > 0);
  ------------------
  |  Branch (3805:5): [True: 2, False: 0]
  ------------------
 3806|       |    /** Preprocessing **/
 3807|       |    /* Map labels to targets and mark exception handlers */
 3808|      2|    RETURN_IF_ERROR(translate_jump_labels_to_targets(g->g_entryblock));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3809|      2|    RETURN_IF_ERROR(mark_except_handlers(g->g_entryblock));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3810|      2|    RETURN_IF_ERROR(label_exception_targets(g->g_entryblock));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3811|       |
 3812|       |    /** Optimization **/
 3813|       |
 3814|      2|    _Py_hashtable_t *consts_index = _Py_hashtable_new(
 3815|      2|        _Py_hashtable_hash_ptr, _Py_hashtable_compare_direct);
 3816|      2|    if (consts_index == NULL) {
  ------------------
  |  Branch (3816:9): [True: 0, False: 2]
  ------------------
 3817|      0|        PyErr_NoMemory();
 3818|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3819|      0|    }
 3820|       |
 3821|      4|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(consts); i++) {
  ------------------
  |  |   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 (3821:28): [True: 2, False: 2]
  ------------------
 3822|      2|        PyObject *item = PyList_GET_ITEM(consts, 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 (3822:26): [True: 2, False: 0]
  ------------------
 3823|      2|        if (_Py_hashtable_get_entry(consts_index, (void *)item) != NULL) {
  ------------------
  |  Branch (3823:13): [True: 0, False: 2]
  ------------------
 3824|      0|            continue;
 3825|      0|        }
 3826|      2|        if (_Py_hashtable_set(consts_index, (void *)item,
  ------------------
  |  Branch (3826:13): [True: 0, False: 2]
  ------------------
 3827|      2|                              (void *)(uintptr_t)i) < 0) {
 3828|      0|            _Py_hashtable_destroy(consts_index);
 3829|      0|            PyErr_NoMemory();
 3830|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3831|      0|        }
 3832|      2|    }
 3833|       |
 3834|      2|    int ret = optimize_cfg(g, consts, const_cache, consts_index, firstlineno);
 3835|       |
 3836|      2|    _Py_hashtable_destroy(consts_index);
 3837|       |
 3838|      2|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3839|       |
 3840|      2|    RETURN_IF_ERROR(remove_unused_consts(g->g_entryblock, consts));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3841|      2|    RETURN_IF_ERROR(
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3842|      2|        add_checks_for_loads_of_uninitialized_variables(
 3843|      2|            g->g_entryblock, nlocals, nparams));
 3844|      2|    RETURN_IF_ERROR(push_cold_blocks_to_end(g));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3845|      2|    RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3846|       |    // temporarily remove assert. See https://github.com/python/cpython/issues/125845
 3847|       |    // assert(all_exits_have_lineno(g->g_entryblock));
 3848|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3849|      2|}
_PyCfg_FromInstructionSequence:
 4039|      2|{
 4040|      2|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (4040:9): [True: 0, False: 2]
  ------------------
 4041|      0|        return NULL;
 4042|      0|    }
 4043|      2|    cfg_builder *g = _PyCfgBuilder_New();
 4044|      2|    if (g == NULL) {
  ------------------
  |  Branch (4044:9): [True: 0, False: 2]
  ------------------
 4045|      0|        return NULL;
 4046|      0|    }
 4047|     20|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4047:21): [True: 18, False: 2]
  ------------------
 4048|     18|        seq->s_instrs[i].i_target = 0;
 4049|     18|    }
 4050|     20|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4050:21): [True: 18, False: 2]
  ------------------
 4051|     18|        _PyInstruction *instr = &seq->s_instrs[i];
 4052|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4053|      0|            assert(instr->i_oparg >= 0 && instr->i_oparg < seq->s_used);
  ------------------
  |  Branch (4053:13): [True: 0, False: 0]
  |  Branch (4053:13): [True: 0, False: 0]
  ------------------
 4054|      0|            seq->s_instrs[instr->i_oparg].i_target = 1;
 4055|      0|        }
 4056|     18|    }
 4057|      2|    int offset = 0;
 4058|     20|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4058:21): [True: 18, False: 2]
  ------------------
 4059|     18|        _PyInstruction *instr = &seq->s_instrs[i];
 4060|     18|        if (instr->i_opcode == ANNOTATIONS_PLACEHOLDER) {
  ------------------
  |  |  244|     18|#define ANNOTATIONS_PLACEHOLDER                256
  ------------------
  |  Branch (4060:13): [True: 1, False: 17]
  ------------------
 4061|      1|            if (seq->s_annotations_code != NULL) {
  ------------------
  |  Branch (4061:17): [True: 0, False: 1]
  ------------------
 4062|      0|                assert(seq->s_annotations_code->s_labelmap_size == 0
  ------------------
  |  Branch (4062:17): [True: 0, False: 0]
  |  Branch (4062:17): [True: 0, False: 0]
  ------------------
 4063|      0|                    && seq->s_annotations_code->s_nested == NULL);
 4064|      0|                for (int j = 0; j < seq->s_annotations_code->s_used; j++) {
  ------------------
  |  Branch (4064:33): [True: 0, False: 0]
  ------------------
 4065|      0|                    _PyInstruction *ann_instr = &seq->s_annotations_code->s_instrs[j];
 4066|      0|                    assert(!HAS_TARGET(ann_instr->i_opcode));
  ------------------
  |  Branch (4066:21): [True: 0, False: 0]
  |  Branch (4066:21): [True: 0, False: 0]
  |  Branch (4066:21): [True: 0, False: 0]
  |  Branch (4066:21): [True: 0, False: 0]
  ------------------
 4067|      0|                    if (_PyCfgBuilder_Addop(g, ann_instr->i_opcode, ann_instr->i_oparg, ann_instr->i_loc) < 0) {
  ------------------
  |  Branch (4067:25): [True: 0, False: 0]
  ------------------
 4068|      0|                        goto error;
 4069|      0|                    }
 4070|      0|                }
 4071|      0|                offset += seq->s_annotations_code->s_used - 1;
 4072|      0|            }
 4073|      1|            else {
 4074|      1|                offset -= 1;
 4075|      1|            }
 4076|      1|            continue;
 4077|      1|        }
 4078|     17|        if (instr->i_target) {
  ------------------
  |  Branch (4078:13): [True: 0, False: 17]
  ------------------
 4079|      0|            jump_target_label lbl_ = {i + offset};
 4080|      0|            if (_PyCfgBuilder_UseLabel(g, lbl_) < 0) {
  ------------------
  |  Branch (4080:17): [True: 0, False: 0]
  ------------------
 4081|      0|                goto error;
 4082|      0|            }
 4083|      0|        }
 4084|     17|        int opcode = instr->i_opcode;
 4085|     17|        int oparg = instr->i_oparg;
 4086|     17|        if (HAS_TARGET(opcode)) {
  ------------------
  |  |   23|     17|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     34|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     17|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     17|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     34|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  |  |   19|     17|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     34|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  |  |   20|     17|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     17|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4087|      0|            oparg += offset;
 4088|      0|        }
 4089|     17|        if (_PyCfgBuilder_Addop(g, opcode, oparg, instr->i_loc) < 0) {
  ------------------
  |  Branch (4089:13): [True: 0, False: 17]
  ------------------
 4090|      0|            goto error;
 4091|      0|        }
 4092|     17|    }
 4093|      2|    if (_PyCfgBuilder_CheckSize(g) < 0) {
  ------------------
  |  Branch (4093:9): [True: 0, False: 2]
  ------------------
 4094|      0|        goto error;
 4095|      0|    }
 4096|      2|    return g;
 4097|      0|error:
 4098|      0|    _PyCfgBuilder_Free(g);
 4099|       |    return NULL;
 4100|      2|}
_PyCfg_ToInstructionSequence:
 4104|      2|{
 4105|      2|    int lbl = 0;
 4106|      5|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4106:43): [True: 3, False: 2]
  ------------------
 4107|      3|        b->b_label = (jump_target_label){lbl};
 4108|      3|        lbl += 1;
 4109|      3|    }
 4110|      5|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4110:43): [True: 3, False: 2]
  ------------------
 4111|      3|        RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(seq, b->b_label.id));
  ------------------
  |  |   25|      3|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4112|     15|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (4112:25): [True: 12, False: 3]
  ------------------
 4113|     12|            cfg_instr *instr = &b->b_instr[i];
 4114|     12|            if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|     12|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     24|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     12|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     12|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     24|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  |   19|     12|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     24|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  |   20|     12|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     12|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4115|       |                /* Set oparg to the label id (it will later be mapped to an offset) */
 4116|      0|                instr->i_oparg = instr->i_target->b_label.id;
 4117|      0|            }
 4118|     12|            RETURN_IF_ERROR(
  ------------------
  |  |   25|     12|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 12]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4119|     12|                _PyInstructionSequence_Addop(
 4120|     12|                    seq, instr->i_opcode, instr->i_oparg, instr->i_loc));
 4121|       |
 4122|     12|            _PyExceptHandlerInfo *hi = &seq->s_instrs[seq->s_used-1].i_except_handler_info;
 4123|     12|            if (instr->i_except != NULL) {
  ------------------
  |  Branch (4123:17): [True: 0, False: 12]
  ------------------
 4124|      0|                hi->h_label = instr->i_except->b_label.id;
 4125|      0|                hi->h_startdepth = instr->i_except->b_startdepth;
 4126|      0|                hi->h_preserve_lasti = instr->i_except->b_preserve_lasti;
 4127|      0|            }
 4128|     12|            else {
 4129|     12|                hi->h_label = -1;
 4130|     12|            }
 4131|     12|        }
 4132|      3|    }
 4133|      2|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (4133:9): [True: 0, False: 2]
  ------------------
 4134|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4135|      0|    }
 4136|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 4137|      2|}
_PyCfg_OptimizedCfgToInstructionSequence:
 4145|      2|{
 4146|      2|    RETURN_IF_ERROR(convert_pseudo_conditional_jumps(g));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4147|       |
 4148|      2|    *stackdepth = calculate_stackdepth(g);
 4149|      2|    if (*stackdepth < 0) {
  ------------------
  |  Branch (4149:9): [True: 0, False: 2]
  ------------------
 4150|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4151|      0|    }
 4152|       |
 4153|      2|    *nlocalsplus = prepare_localsplus(umd, g);
 4154|      2|    if (*nlocalsplus < 0) {
  ------------------
  |  Branch (4154:9): [True: 0, False: 2]
  ------------------
 4155|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4156|      0|    }
 4157|       |
 4158|      2|    RETURN_IF_ERROR(convert_pseudo_ops(g));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4159|       |
 4160|       |    /* Order of basic blocks must have been determined by now */
 4161|       |
 4162|      2|    RETURN_IF_ERROR(normalize_jumps(g));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4163|      2|    assert(no_redundant_jumps(g));
  ------------------
  |  Branch (4163:5): [True: 2, False: 0]
  ------------------
 4164|       |
 4165|       |    /* After this point the bytecode may only be modified in ways that
 4166|       |     * preserve the borrowed references computed here.
 4167|       |     *
 4168|       |     * NOTE: keep the passes below in sync with _PyCompile_OptimizeCfg().
 4169|       |     */
 4170|      2|    RETURN_IF_ERROR(optimize_load_fast(g));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4171|       |
 4172|       |    /* Superinstructions are inserted after optimize_load_fast() so that a
 4173|       |     * LOAD_FAST which can be borrowed is converted to LOAD_FAST_BORROW
 4174|       |     * instead of being fused into a STORE_FAST_LOAD_FAST. Fusing adjacent
 4175|       |     * instructions does not change which references are borrowed. */
 4176|      2|    RETURN_IF_ERROR(insert_superinstructions(g));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4177|       |
 4178|       |    /* Can't modify the bytecode after computing jump offsets. */
 4179|      2|    if (_PyCfg_ToInstructionSequence(g, seq) < 0) {
  ------------------
  |  Branch (4179:9): [True: 0, False: 2]
  ------------------
 4180|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4181|      0|    }
 4182|       |
 4183|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 4184|      2|}
flowgraph.c:init_cfg_builder:
  427|      2|{
  428|      2|    g->g_block_list = NULL;
  429|      2|    basicblock *block = cfg_builder_new_block(g);
  430|      2|    if (block == NULL) {
  ------------------
  |  Branch (430:9): [True: 0, False: 2]
  ------------------
  431|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  432|      0|    }
  433|      2|    g->g_curblock = g->g_entryblock = block;
  434|      2|    g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|      2|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  435|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
  436|      2|}
flowgraph.c:cfg_builder_new_block:
  177|      3|{
  178|      3|    basicblock *b = (basicblock *)PyMem_Calloc(1, sizeof(basicblock));
  179|      3|    if (b == NULL) {
  ------------------
  |  Branch (179:9): [True: 0, False: 3]
  ------------------
  180|      0|        PyErr_NoMemory();
  181|      0|        return NULL;
  182|      0|    }
  183|       |    /* Extend the singly linked list of blocks with new block. */
  184|      3|    b->b_list = g->g_block_list;
  185|      3|    g->g_block_list = b;
  186|      3|    b->b_label = NO_LABEL;
  ------------------
  |  |   57|      3|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  187|      3|    return b;
  188|      3|}
flowgraph.c:cfg_builder_check:
  408|      4|{
  409|     10|    for (basicblock *block = g->g_block_list; block != NULL; block = block->b_list) {
  ------------------
  |  Branch (409:47): [True: 6, False: 4]
  ------------------
  410|      6|        assert(!_PyMem_IsPtrFreed(block));
  ------------------
  |  Branch (410:9): [True: 6, False: 0]
  ------------------
  411|      6|        if (block->b_instr != NULL) {
  ------------------
  |  Branch (411:13): [True: 6, False: 0]
  ------------------
  412|      6|            assert(block->b_ialloc > 0);
  ------------------
  |  Branch (412:13): [True: 6, False: 0]
  ------------------
  413|      6|            assert(block->b_iused >= 0);
  ------------------
  |  Branch (413:13): [True: 6, False: 0]
  ------------------
  414|      6|            assert(block->b_ialloc >= block->b_iused);
  ------------------
  |  Branch (414:13): [True: 6, False: 0]
  ------------------
  415|      6|        }
  416|      0|        else {
  417|      0|            assert (block->b_iused == 0);
  ------------------
  |  Branch (417:13): [True: 0, False: 0]
  ------------------
  418|      0|            assert (block->b_ialloc == 0);
  ------------------
  |  Branch (418:13): [True: 0, False: 0]
  ------------------
  419|      0|        }
  420|      6|    }
  421|      4|    return true;
  422|      4|}
flowgraph.c:cfg_builder_maybe_start_new_block:
  392|     17|{
  393|     17|    if (cfg_builder_current_block_is_terminated(g)) {
  ------------------
  |  Branch (393:9): [True: 1, False: 16]
  ------------------
  394|      1|        basicblock *b = cfg_builder_new_block(g);
  395|      1|        if (b == NULL) {
  ------------------
  |  Branch (395:13): [True: 0, False: 1]
  ------------------
  396|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  397|      0|        }
  398|      1|        b->b_label = g->g_current_label;
  399|      1|        g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|      1|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  400|      1|        cfg_builder_use_next_block(g, b);
  401|      1|    }
  402|     17|    return SUCCESS;
  ------------------
  |  |   21|     17|#define SUCCESS 0
  ------------------
  403|     17|}
flowgraph.c:cfg_builder_current_block_is_terminated:
  372|     17|{
  373|     17|    cfg_instr *last = basicblock_last_instr(g->g_curblock);
  374|     17|    if (last && IS_TERMINATOR_OPCODE(last->i_opcode)) {
  ------------------
  |  |   27|     15|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     30|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     15|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|     15|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     30|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 1, False: 14]
  |  |  |  |  ------------------
  |  |  |  |   54|     15|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|     29|#define RAISE_VARARGS                          100
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |   55|     15|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|     14|#define RERAISE                                101
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (374:9): [True: 15, False: 2]
  ------------------
  375|      1|        return true;
  376|      1|    }
  377|     16|    if (IS_LABEL(g->g_current_label)) {
  ------------------
  |  |   96|     16|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|     16|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 0, False: 16]
  |  |  ------------------
  ------------------
  378|      0|        if (last || IS_LABEL(g->g_curblock->b_label)) {
  ------------------
  |  |   96|      0|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|      0|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (378:13): [True: 0, False: 0]
  ------------------
  379|      0|            return true;
  380|      0|        }
  381|      0|        else {
  382|       |            /* current block is empty, label it */
  383|      0|            g->g_curblock->b_label = g->g_current_label;
  384|      0|            g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|      0|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  385|      0|        }
  386|      0|    }
  387|     16|    return false;
  388|     16|}
flowgraph.c:basicblock_last_instr:
  162|     70|basicblock_last_instr(const basicblock *b) {
  163|     70|    assert(b->b_iused >= 0);
  ------------------
  |  Branch (163:5): [True: 70, False: 0]
  ------------------
  164|     70|    if (b->b_iused > 0) {
  ------------------
  |  Branch (164:9): [True: 55, False: 15]
  ------------------
  165|     55|        assert(b->b_instr != NULL);
  ------------------
  |  Branch (165:9): [True: 55, False: 0]
  ------------------
  166|     55|        return &b->b_instr[b->b_iused - 1];
  167|     55|    }
  168|     15|    return NULL;
  169|     70|}
flowgraph.c:cfg_builder_use_next_block:
  347|      1|{
  348|      1|    assert(block != NULL);
  ------------------
  |  Branch (348:5): [True: 1, False: 0]
  ------------------
  349|      1|    g->g_curblock->b_next = block;
  350|      1|    g->g_curblock = block;
  351|      1|    return block;
  352|      1|}
flowgraph.c:basicblock_addop:
  193|     17|{
  194|     17|    assert(IS_WITHIN_OPCODE_RANGE(opcode));
  ------------------
  |  Branch (194:5): [True: 17, False: 0]
  |  Branch (194:5): [True: 17, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [True: 0, False: 0]
  |  Branch (194:5): [Folded, False: 0]
  ------------------
  195|     17|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (195:5): [True: 0, False: 17]
  |  Branch (195:5): [True: 0, False: 17]
  |  Branch (195:5): [True: 0, False: 17]
  ------------------
  196|     17|    assert(OPCODE_HAS_ARG(opcode) || HAS_TARGET(opcode) || oparg == 0);
  ------------------
  |  Branch (196:5): [True: 0, False: 5]
  |  Branch (196:5): [True: 0, False: 5]
  |  Branch (196:5): [True: 0, False: 5]
  |  Branch (196:5): [True: 0, False: 5]
  |  Branch (196:5): [True: 12, False: 5]
  |  Branch (196:5): [True: 5, False: 0]
  ------------------
  197|     17|    assert(0 <= oparg && oparg < (1 << 30));
  ------------------
  |  Branch (197:5): [True: 17, False: 0]
  |  Branch (197:5): [True: 17, False: 0]
  ------------------
  198|       |
  199|     17|    int off = basicblock_next_instr(b);
  200|     17|    if (off < 0) {
  ------------------
  |  Branch (200:9): [True: 0, False: 17]
  ------------------
  201|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  202|      0|    }
  203|     17|    cfg_instr *i = &b->b_instr[off];
  204|     17|    i->i_opcode = opcode;
  205|     17|    i->i_oparg = oparg;
  206|     17|    i->i_loc = loc;
  207|     17|    i->i_except = except;
  208|       |    // memory is already zero initialized
  209|     17|    assert(i->i_target == NULL);
  ------------------
  |  Branch (209:5): [True: 17, False: 0]
  ------------------
  210|       |
  211|     17|    return SUCCESS;
  ------------------
  |  |   21|     17|#define SUCCESS 0
  ------------------
  212|     17|}
flowgraph.c:basicblock_next_instr:
  146|     17|{
  147|     17|    assert(b != NULL);
  ------------------
  |  Branch (147:5): [True: 17, False: 0]
  ------------------
  148|     17|    _Py_c_array_t array = {
  149|     17|        .array = (void*)b->b_instr,
  150|     17|        .allocated_entries = b->b_ialloc,
  151|     17|        .item_size = sizeof(cfg_instr),
  152|     17|        .initial_num_entries = DEFAULT_BLOCK_SIZE,
  ------------------
  |  |   29|     17|#define DEFAULT_BLOCK_SIZE 16
  ------------------
  153|     17|    };
  154|       |
  155|     17|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, b->b_iused + 1));
  ------------------
  |  |   25|     17|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 17]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  156|     17|    b->b_instr = array.array;
  157|     17|    b->b_ialloc = array.allocated_entries;
  158|     17|    return b->b_iused++;
  159|     17|}
flowgraph.c:translate_jump_labels_to_targets:
  651|      2|{
  652|      2|    int max_label = get_max_label(entryblock);
  653|      2|    size_t mapsize = sizeof(basicblock *) * (max_label + 1);
  654|      2|    basicblock **label2block = (basicblock **)PyMem_Malloc(mapsize);
  655|      2|    if (!label2block) {
  ------------------
  |  Branch (655:9): [True: 0, False: 2]
  ------------------
  656|      0|        PyErr_NoMemory();
  657|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  658|      0|    }
  659|      2|    memset(label2block, 0, mapsize);
  660|      5|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (660:38): [True: 3, False: 2]
  ------------------
  661|      3|        if (b->b_label.id >= 0) {
  ------------------
  |  Branch (661:13): [True: 0, False: 3]
  ------------------
  662|      0|            label2block[b->b_label.id] = b;
  663|      0|        }
  664|      3|    }
  665|      5|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (665:38): [True: 3, False: 2]
  ------------------
  666|     20|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (666:25): [True: 17, False: 3]
  ------------------
  667|     17|            cfg_instr *instr = &b->b_instr[i];
  668|     17|            assert(instr->i_target == NULL);
  ------------------
  |  Branch (668:13): [True: 17, False: 0]
  ------------------
  669|     17|            if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|     17|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     34|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     17|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     17|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     34|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  |  |   19|     17|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     34|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  |  |   20|     17|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     17|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  670|      0|                int lbl = instr->i_oparg;
  671|      0|                assert(lbl >= 0 && lbl <= max_label);
  ------------------
  |  Branch (671:17): [True: 0, False: 0]
  |  Branch (671:17): [True: 0, False: 0]
  ------------------
  672|      0|                instr->i_target = label2block[lbl];
  673|      0|                assert(instr->i_target != NULL);
  ------------------
  |  Branch (673:17): [True: 0, False: 0]
  ------------------
  674|      0|                assert(instr->i_target->b_label.id == lbl);
  ------------------
  |  Branch (674:17): [True: 0, False: 0]
  ------------------
  675|      0|            }
  676|     17|        }
  677|      3|    }
  678|      2|    PyMem_Free(label2block);
  679|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
  680|      2|}
flowgraph.c:get_max_label:
  638|      7|{
  639|      7|    int lbl = -1;
  640|     18|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (640:38): [True: 11, False: 7]
  ------------------
  641|     11|        if (b->b_label.id > lbl) {
  ------------------
  |  Branch (641:13): [True: 0, False: 11]
  ------------------
  642|      0|            lbl = b->b_label.id;
  643|      0|        }
  644|     11|    }
  645|      7|    return lbl;
  646|      7|}
flowgraph.c:mark_except_handlers:
  683|      2|mark_except_handlers(basicblock *entryblock) {
  684|      2|#ifndef NDEBUG
  685|      5|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (685:38): [True: 3, False: 2]
  ------------------
  686|      3|        assert(!b->b_except_handler);
  ------------------
  |  Branch (686:9): [True: 3, False: 0]
  ------------------
  687|      3|    }
  688|      2|#endif
  689|      5|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (689:38): [True: 3, False: 2]
  ------------------
  690|     20|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (690:23): [True: 17, False: 3]
  ------------------
  691|     17|            cfg_instr *instr = &b->b_instr[i];
  692|     17|            if (is_block_push(instr)) {
  ------------------
  |  Branch (692:17): [True: 0, False: 17]
  ------------------
  693|      0|                instr->i_target->b_except_handler = 1;
  694|      0|            }
  695|     17|        }
  696|      3|    }
  697|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
  698|      2|}
flowgraph.c:is_block_push:
  103|     75|{
  104|     75|    assert(OPCODE_HAS_ARG(i->i_opcode) || !IS_BLOCK_PUSH_OPCODE(i->i_opcode));
  ------------------
  |  Branch (104:5): [True: 0, False: 19]
  |  Branch (104:5): [True: 0, False: 19]
  |  Branch (104:5): [True: 0, False: 19]
  |  Branch (104:5): [True: 56, False: 19]
  ------------------
  105|     75|    return IS_BLOCK_PUSH_OPCODE(i->i_opcode);
  ------------------
  |  |   18|     75|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|    150|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 75]
  |  |  ------------------
  |  |   19|     75|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|    150|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 75]
  |  |  ------------------
  |  |   20|     75|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|     75|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 75]
  |  |  ------------------
  ------------------
  106|     75|}
flowgraph.c:label_exception_targets:
  901|      2|label_exception_targets(basicblock *entryblock) {
  902|      2|    basicblock **todo_stack = make_cfg_traversal_stack(entryblock);
  903|      2|    if (todo_stack == NULL) {
  ------------------
  |  Branch (903:9): [True: 0, False: 2]
  ------------------
  904|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  905|      0|    }
  906|      2|    struct _PyCfgExceptStack *except_stack = make_except_stack();
  907|      2|    if (except_stack == NULL) {
  ------------------
  |  Branch (907:9): [True: 0, False: 2]
  ------------------
  908|      0|        PyMem_Free(todo_stack);
  909|      0|        PyErr_NoMemory();
  910|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  911|      0|    }
  912|      2|    except_stack->depth = 0;
  913|      2|    todo_stack[0] = entryblock;
  914|      2|    entryblock->b_visited = 1;
  915|      2|    entryblock->b_exceptstack = except_stack;
  916|      2|    basicblock **todo = &todo_stack[1];
  917|      2|    basicblock *handler = NULL;
  918|      4|    while (todo > todo_stack) {
  ------------------
  |  Branch (918:12): [True: 2, False: 2]
  ------------------
  919|      2|        todo--;
  920|      2|        basicblock *b = todo[0];
  921|      2|        assert(b->b_visited == 1);
  ------------------
  |  Branch (921:9): [True: 2, False: 0]
  ------------------
  922|      2|        except_stack = b->b_exceptstack;
  923|      2|        assert(except_stack != NULL);
  ------------------
  |  Branch (923:9): [True: 2, False: 0]
  ------------------
  924|      2|        b->b_exceptstack = NULL;
  925|      2|        handler = except_stack_top(except_stack);
  926|      2|        int last_yield_except_depth = -1;
  927|     17|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (927:25): [True: 15, False: 2]
  ------------------
  928|     15|            cfg_instr *instr = &b->b_instr[i];
  929|     15|            if (is_block_push(instr)) {
  ------------------
  |  Branch (929:17): [True: 0, False: 15]
  ------------------
  930|      0|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (930:21): [True: 0, False: 0]
  ------------------
  931|      0|                    struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  932|      0|                    if (copy == NULL) {
  ------------------
  |  Branch (932:25): [True: 0, False: 0]
  ------------------
  933|      0|                        goto error;
  934|      0|                    }
  935|      0|                    instr->i_target->b_exceptstack = copy;
  936|      0|                    todo[0] = instr->i_target;
  937|      0|                    instr->i_target->b_visited = 1;
  938|      0|                    todo++;
  939|      0|                }
  940|      0|                handler = push_except_block(except_stack, instr);
  941|      0|            }
  942|     15|            else if (instr->i_opcode == POP_BLOCK) {
  ------------------
  |  |  250|     15|#define POP_BLOCK                              262
  ------------------
  |  Branch (942:22): [True: 0, False: 15]
  ------------------
  943|      0|                handler = pop_except_block(except_stack);
  944|      0|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (944:17): [True: 0, False: 0]
  ------------------
  945|      0|            }
  946|     15|            else if (is_jump(instr)) {
  ------------------
  |  Branch (946:22): [True: 0, False: 15]
  ------------------
  947|      0|                instr->i_except = handler;
  948|      0|                assert(i == b->b_iused -1);
  ------------------
  |  Branch (948:17): [True: 0, False: 0]
  ------------------
  949|      0|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (949:21): [True: 0, False: 0]
  ------------------
  950|      0|                    if (BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|      0|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  951|      0|                        struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  952|      0|                        if (copy == NULL) {
  ------------------
  |  Branch (952:29): [True: 0, False: 0]
  ------------------
  953|      0|                            goto error;
  954|      0|                        }
  955|      0|                        instr->i_target->b_exceptstack = copy;
  956|      0|                    }
  957|      0|                    else {
  958|      0|                        instr->i_target->b_exceptstack = except_stack;
  959|      0|                        except_stack = NULL;
  960|      0|                    }
  961|      0|                    todo[0] = instr->i_target;
  962|      0|                    instr->i_target->b_visited = 1;
  963|      0|                    todo++;
  964|      0|                }
  965|      0|            }
  966|     15|            else if (instr->i_opcode == YIELD_VALUE) {
  ------------------
  |  |  129|     15|#define YIELD_VALUE                            116
  ------------------
  |  Branch (966:22): [True: 0, False: 15]
  ------------------
  967|      0|                instr->i_except = handler;
  968|      0|                last_yield_except_depth = except_stack->depth;
  969|      0|            }
  970|     15|            else if (instr->i_opcode == RESUME) {
  ------------------
  |  |  130|     15|#define RESUME                                 128
  ------------------
  |  Branch (970:22): [True: 2, False: 13]
  ------------------
  971|      2|                instr->i_except = handler;
  972|      2|                if (instr->i_oparg != RESUME_AT_FUNC_START && instr->i_oparg != RESUME_AT_GEN_EXPR_START) {
  ------------------
  |  |   88|      4|#define RESUME_AT_FUNC_START 0
  ------------------
                              if (instr->i_oparg != RESUME_AT_FUNC_START && instr->i_oparg != RESUME_AT_GEN_EXPR_START) {
  ------------------
  |  |   92|      0|#define RESUME_AT_GEN_EXPR_START 4
  ------------------
  |  Branch (972:21): [True: 0, False: 2]
  |  Branch (972:63): [True: 0, False: 0]
  ------------------
  973|      0|                    assert(last_yield_except_depth >= 0);
  ------------------
  |  Branch (973:21): [True: 0, False: 0]
  ------------------
  974|      0|                    if (last_yield_except_depth == 1) {
  ------------------
  |  Branch (974:25): [True: 0, False: 0]
  ------------------
  975|      0|                        instr->i_oparg |= RESUME_OPARG_DEPTH1_MASK;
  ------------------
  |  |   95|      0|#define RESUME_OPARG_DEPTH1_MASK 0x8
  ------------------
  976|      0|                    }
  977|      0|                    last_yield_except_depth = -1;
  978|      0|                }
  979|      2|            }
  980|     13|            else if (instr->i_opcode == RETURN_GENERATOR) {
  ------------------
  |  |   45|     13|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (980:22): [True: 0, False: 13]
  ------------------
  981|      0|                instr->i_except = NULL;
  982|      0|            }
  983|     13|            else {
  984|     13|                instr->i_except = handler;
  985|     13|            }
  986|     15|        }
  987|      2|        if (BB_HAS_FALLTHROUGH(b) && !b->b_next->b_visited) {
  ------------------
  |  |  253|      4|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (987:38): [True: 0, False: 0]
  ------------------
  988|      0|            assert(except_stack != NULL);
  ------------------
  |  Branch (988:13): [True: 0, False: 0]
  ------------------
  989|      0|            b->b_next->b_exceptstack = except_stack;
  990|      0|            todo[0] = b->b_next;
  991|      0|            b->b_next->b_visited = 1;
  992|      0|            todo++;
  993|      0|        }
  994|      2|        else if (except_stack != NULL) {
  ------------------
  |  Branch (994:18): [True: 2, False: 0]
  ------------------
  995|      2|           PyMem_Free(except_stack);
  996|      2|        }
  997|      2|    }
  998|       |#ifdef Py_DEBUG
  999|       |    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
 1000|       |        assert(b->b_exceptstack == NULL);
 1001|       |    }
 1002|       |#endif
 1003|      2|    PyMem_Free(todo_stack);
 1004|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 1005|      0|error:
 1006|      0|    PyMem_Free(todo_stack);
 1007|      0|    PyMem_Free(except_stack);
 1008|      0|    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1009|      2|}
flowgraph.c:make_cfg_traversal_stack:
  755|     13|make_cfg_traversal_stack(basicblock *entryblock) {
  756|     13|    int nblocks = 0;
  757|     34|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (757:38): [True: 21, False: 13]
  ------------------
  758|     21|        b->b_visited = 0;
  759|     21|        nblocks++;
  760|     21|    }
  761|     13|    basicblock **stack = (basicblock **)PyMem_Malloc(sizeof(basicblock *) * nblocks);
  762|     13|    if (!stack) {
  ------------------
  |  Branch (762:9): [True: 0, False: 13]
  ------------------
  763|      0|        PyErr_NoMemory();
  764|      0|    }
  765|     13|    return stack;
  766|     13|}
flowgraph.c:make_except_stack:
  732|      2|make_except_stack(void) {
  733|      2|    struct _PyCfgExceptStack *new = PyMem_Malloc(sizeof(struct _PyCfgExceptStack));
  734|      2|    if (new == NULL) {
  ------------------
  |  Branch (734:9): [True: 0, False: 2]
  ------------------
  735|      0|        PyErr_NoMemory();
  736|      0|        return NULL;
  737|      0|    }
  738|      2|    new->depth = 0;
  739|       |    new->handlers[0] = NULL;
  740|      2|    return new;
  741|      2|}
flowgraph.c:except_stack_top:
  727|      2|except_stack_top(struct _PyCfgExceptStack *stack) {
  728|      2|    return stack->handlers[stack->depth];
  729|      2|}
flowgraph.c:is_jump:
  110|     65|{
  111|     65|    return OPCODE_HAS_JUMP(i->i_opcode);
  ------------------
  |  | 1065|     65|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|     65|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  ------------------
  112|     65|}
flowgraph.c:basicblock_nofallthrough:
  245|     21|basicblock_nofallthrough(const basicblock *b) {
  246|     21|    cfg_instr *last = basicblock_last_instr(b);
  247|     21|    return (last &&
  ------------------
  |  Branch (247:13): [True: 18, False: 3]
  ------------------
  248|     18|            (IS_SCOPE_EXIT_OPCODE(last->i_opcode) ||
  ------------------
  |  |   53|     36|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|     36|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 18, False: 0]
  |  |  ------------------
  |  |   54|     18|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  113|     18|#define RAISE_VARARGS                          100
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   55|     36|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  114|      0|#define RERAISE                                101
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  249|      0|             IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)));
  ------------------
  |  |   40|      0|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|      0|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|      0|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   43|      0|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|      0|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   44|      0|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      0|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  250|     21|}
flowgraph.c:optimize_cfg:
 2675|      2|{
 2676|      2|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2676:5): [True: 2, False: 0]
  ------------------
 2677|      2|    RETURN_IF_ERROR(check_cfg(g));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2678|      2|    RETURN_IF_ERROR(inline_small_or_no_lineno_blocks(g->g_entryblock));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2679|      2|    RETURN_IF_ERROR(remove_unreachable(g->g_entryblock));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2680|      2|    RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2681|      2|    RETURN_IF_ERROR(optimize_load_const(const_cache, g, consts, 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|    }
  ------------------
 2682|      5|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2682:43): [True: 3, False: 2]
  ------------------
 2683|      3|        RETURN_IF_ERROR(optimize_basic_block(const_cache, b, consts, consts_index));
  ------------------
  |  |   25|      3|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2684|      3|    }
 2685|      2|    RETURN_IF_ERROR(remove_redundant_nops_and_pairs(g->g_entryblock));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2686|      2|    RETURN_IF_ERROR(remove_unreachable(g->g_entryblock));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2687|      2|    RETURN_IF_ERROR(remove_redundant_nops_and_jumps(g));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2688|      2|    assert(no_redundant_jumps(g));
  ------------------
  |  Branch (2688:5): [True: 2, False: 0]
  ------------------
 2689|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 2690|      2|}
flowgraph.c:check_cfg:
  619|      2|check_cfg(cfg_builder *g) {
  620|      5|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (620:43): [True: 3, False: 2]
  ------------------
  621|       |        /* Raise SystemError if jump or exit is not last instruction in the block. */
  622|     20|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (622:25): [True: 17, False: 3]
  ------------------
  623|     17|            int opcode = b->b_instr[i].i_opcode;
  624|     17|            assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (624:13): [True: 0, False: 17]
  |  Branch (624:13): [True: 0, False: 17]
  |  Branch (624:13): [True: 0, False: 17]
  ------------------
  625|     17|            if (IS_TERMINATOR_OPCODE(opcode)) {
  ------------------
  |  |   27|     17|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     34|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     17|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|     17|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     34|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 3, False: 14]
  |  |  |  |  ------------------
  |  |  |  |   54|     17|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|     31|#define RAISE_VARARGS                          100
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |   55|     17|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|     14|#define RERAISE                                101
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  626|      3|                if (i != b->b_iused - 1) {
  ------------------
  |  Branch (626:21): [True: 0, False: 3]
  ------------------
  627|      0|                    PyErr_SetString(PyExc_SystemError, "malformed control flow graph.");
  628|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  629|      0|                }
  630|      3|            }
  631|     17|        }
  632|      3|    }
  633|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
  634|      2|}
flowgraph.c:inline_small_or_no_lineno_blocks:
 1266|      2|inline_small_or_no_lineno_blocks(basicblock *entryblock) {
 1267|      2|    bool changes;
 1268|      2|    do {
 1269|      2|        changes = false;
 1270|      5|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1270:42): [True: 3, False: 2]
  ------------------
 1271|      3|            int res = basicblock_inline_small_or_no_lineno_blocks(b);
 1272|      3|            RETURN_IF_ERROR(res);
  ------------------
  |  |   25|      3|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1273|      3|            if (res) {
  ------------------
  |  Branch (1273:17): [True: 0, False: 3]
  ------------------
 1274|      0|                changes = true;
 1275|      0|            }
 1276|      3|        }
 1277|      2|    } while(changes); /* every change removes a jump, ensuring convergence */
  ------------------
  |  Branch (1277:13): [True: 0, False: 2]
  ------------------
 1278|      2|    return changes;
 1279|      2|}
flowgraph.c:basicblock_inline_small_or_no_lineno_blocks:
 1232|      3|basicblock_inline_small_or_no_lineno_blocks(basicblock *bb) {
 1233|      3|    cfg_instr *last = basicblock_last_instr(bb);
 1234|      3|    if (last == NULL) {
  ------------------
  |  Branch (1234:9): [True: 0, False: 3]
  ------------------
 1235|      0|        return 0;
 1236|      0|    }
 1237|      3|    if (!IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|      3|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|      6|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 3]
  |  |  ------------------
  |  |   41|      3|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|      6|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 3]
  |  |  ------------------
  |  |   42|      3|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|      6|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 3]
  |  |  ------------------
  |  |   43|      3|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|      6|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 3]
  |  |  ------------------
  |  |   44|      3|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      3|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 3]
  |  |  ------------------
  ------------------
 1238|      3|        return 0;
 1239|      3|    }
 1240|      0|    basicblock *target = last->i_target;
 1241|      0|    bool small_exit_block = (basicblock_exits_scope(target) &&
  ------------------
  |  Branch (1241:30): [True: 0, False: 0]
  ------------------
 1242|      0|                             target->b_iused <= MAX_COPY_SIZE);
  ------------------
  |  | 1224|      0|#define MAX_COPY_SIZE 4
  ------------------
  |  Branch (1242:30): [True: 0, False: 0]
  ------------------
 1243|      0|    bool no_lineno_no_fallthrough = (basicblock_has_no_lineno(target) &&
  ------------------
  |  Branch (1243:38): [True: 0, False: 0]
  ------------------
 1244|      0|                                     !BB_HAS_FALLTHROUGH(target));
  ------------------
  |  |  253|      0|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1244:38): [True: 0, False: 0]
  ------------------
 1245|      0|    if (small_exit_block || no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1245:9): [True: 0, False: 0]
  |  Branch (1245:29): [True: 0, False: 0]
  ------------------
 1246|      0|        assert(is_jump(last));
  ------------------
  |  Branch (1246:9): [True: 0, False: 0]
  ------------------
 1247|      0|        int removed_jump_opcode = last->i_opcode;
 1248|      0|        INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1248:9): [True: 0, False: 0]
  ------------------
 1249|      0|        RETURN_IF_ERROR(basicblock_append_instructions(bb, target));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1250|      0|        if (no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1250:13): [True: 0, False: 0]
  ------------------
 1251|      0|            last = basicblock_last_instr(bb);
 1252|      0|            if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode) &&
  ------------------
  |  |   40|      0|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|      0|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   41|      0|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|      0|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   43|      0|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|      0|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   44|      0|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      0|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1253|      0|                removed_jump_opcode == JUMP)
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (1253:17): [True: 0, False: 0]
  ------------------
 1254|      0|            {
 1255|       |                /* Make sure we don't lose eval breaker checks */
 1256|      0|                last->i_opcode = JUMP;
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
 1257|      0|            }
 1258|      0|        }
 1259|      0|        target->b_predecessors--;
 1260|      0|        return 1;
 1261|      0|    }
 1262|      0|    return 0;
 1263|      0|}
flowgraph.c:remove_unreachable:
 1014|      4|remove_unreachable(basicblock *entryblock) {
 1015|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1015:38): [True: 6, False: 4]
  ------------------
 1016|      6|        b->b_predecessors = 0;
 1017|      6|    }
 1018|      4|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 1019|      4|    if (stack == NULL) {
  ------------------
  |  Branch (1019:9): [True: 0, False: 4]
  ------------------
 1020|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1021|      0|    }
 1022|      4|    basicblock **sp = stack;
 1023|      4|    entryblock->b_predecessors = 1;
 1024|      4|    *sp++ = entryblock;
 1025|      4|    entryblock->b_visited = 1;
 1026|      8|    while (sp > stack) {
  ------------------
  |  Branch (1026:12): [True: 4, False: 4]
  ------------------
 1027|      4|        basicblock *b = *(--sp);
 1028|      4|        if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|      2|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (1028:13): [True: 2, False: 2]
  ------------------
 1029|      0|            if (!b->b_next->b_visited) {
  ------------------
  |  Branch (1029:17): [True: 0, False: 0]
  ------------------
 1030|      0|                assert(b->b_next->b_predecessors == 0);
  ------------------
  |  Branch (1030:17): [True: 0, False: 0]
  ------------------
 1031|      0|                *sp++ = b->b_next;
 1032|      0|                b->b_next->b_visited = 1;
 1033|      0|            }
 1034|      0|            b->b_next->b_predecessors++;
 1035|      0|        }
 1036|     33|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1036:25): [True: 29, False: 4]
  ------------------
 1037|     29|            basicblock *target;
 1038|     29|            cfg_instr *instr = &b->b_instr[i];
 1039|     29|            if (is_jump(instr) || is_block_push(instr)) {
  ------------------
  |  Branch (1039:17): [True: 0, False: 29]
  |  Branch (1039:35): [True: 0, False: 29]
  ------------------
 1040|      0|                target = instr->i_target;
 1041|      0|                if (!target->b_visited) {
  ------------------
  |  Branch (1041:21): [True: 0, False: 0]
  ------------------
 1042|      0|                    *sp++ = target;
 1043|      0|                    target->b_visited = 1;
 1044|      0|                }
 1045|      0|                target->b_predecessors++;
 1046|      0|            }
 1047|     29|        }
 1048|      4|    }
 1049|      4|    PyMem_Free(stack);
 1050|       |
 1051|       |    /* Delete unreachable instructions */
 1052|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1052:38): [True: 6, False: 4]
  ------------------
 1053|      6|       if (b->b_predecessors == 0) {
  ------------------
  |  Branch (1053:12): [True: 2, False: 4]
  ------------------
 1054|      2|            b->b_iused = 0;
 1055|      2|            b->b_except_handler = 0;
 1056|      2|       }
 1057|      6|    }
 1058|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 1059|      4|}
flowgraph.c:optimize_load_const:
 2419|      2|                    _Py_hashtable_t *consts_index) {
 2420|      5|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2420:43): [True: 3, False: 2]
  ------------------
 2421|      3|        RETURN_IF_ERROR(basicblock_optimize_load_const(const_cache, b, consts, consts_index));
  ------------------
  |  |   25|      3|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2422|      3|    }
 2423|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 2424|      2|}
flowgraph.c:basicblock_optimize_load_const:
 2276|      3|{
 2277|      3|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2277:5): [True: 3, False: 0]
  ------------------
 2278|      3|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (2278:5): [True: 3, False: 0]
  ------------------
 2279|      3|    int opcode = 0;
 2280|      3|    int oparg = 0;
 2281|     18|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2281:21): [True: 15, False: 3]
  ------------------
 2282|     15|        cfg_instr *inst = &bb->b_instr[i];
 2283|     15|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   91|     15|#define LOAD_CONST                              78
  ------------------
  |  Branch (2283:13): [True: 1, False: 14]
  ------------------
 2284|      1|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2285|      1|            if (constant == NULL) {
  ------------------
  |  Branch (2285:17): [True: 0, False: 1]
  ------------------
 2286|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2287|      0|            }
 2288|      1|            int res = maybe_instr_make_load_smallint(inst, constant, consts, const_cache);
 2289|      1|            Py_DECREF(constant);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2290|      1|            if (res < 0) {
  ------------------
  |  Branch (2290:17): [True: 0, False: 1]
  ------------------
 2291|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2292|      0|            }
 2293|      1|        }
 2294|     15|        bool is_copy_of_load_const = (opcode == LOAD_CONST &&
  ------------------
  |  |   91|     30|#define LOAD_CONST                              78
  ------------------
  |  Branch (2294:39): [True: 1, False: 14]
  ------------------
 2295|      1|                                      inst->i_opcode == COPY &&
  ------------------
  |  |   70|     16|#define COPY                                    57
  ------------------
  |  Branch (2295:39): [True: 0, False: 1]
  ------------------
 2296|      0|                                      inst->i_oparg == 1);
  ------------------
  |  Branch (2296:39): [True: 0, False: 0]
  ------------------
 2297|     15|        if (! is_copy_of_load_const) {
  ------------------
  |  Branch (2297:13): [True: 15, False: 0]
  ------------------
 2298|     15|            opcode = inst->i_opcode;
 2299|     15|            oparg = inst->i_oparg;
 2300|     15|        }
 2301|     15|        assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (2301:9): [True: 0, False: 15]
  |  Branch (2301:9): [True: 0, False: 15]
  |  Branch (2301:9): [True: 0, False: 15]
  ------------------
 2302|     15|        if (!loads_const(opcode)) {
  ------------------
  |  Branch (2302:13): [True: 14, False: 1]
  ------------------
 2303|     14|            continue;
 2304|     14|        }
 2305|      1|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2305:22): [True: 1, False: 0]
  ------------------
 2306|      1|        switch(nextop) {
  ------------------
  |  Branch (2306:16): [True: 0, False: 1]
  ------------------
 2307|      0|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2307:13): [True: 0, False: 1]
  ------------------
 2308|      0|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2308:13): [True: 0, False: 1]
  ------------------
 2309|      0|            case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2309:13): [True: 0, False: 1]
  ------------------
 2310|      0|            case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2310:13): [True: 0, False: 1]
  ------------------
 2311|      0|            {
 2312|       |                /* Remove LOAD_CONST const; conditional jump */
 2313|      0|                PyObject* cnt = get_const_value(opcode, oparg, consts);
 2314|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2314:21): [True: 0, False: 0]
  ------------------
 2315|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2316|      0|                }
 2317|      0|                int is_true = PyObject_IsTrue(cnt);
 2318|      0|                Py_DECREF(cnt);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2319|      0|                if (is_true == -1) {
  ------------------
  |  Branch (2319:21): [True: 0, False: 0]
  ------------------
 2320|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2321|      0|                }
 2322|      0|                if (PyCompile_OpcodeStackEffect(nextop, 0) == -1) {
  ------------------
  |  Branch (2322:21): [True: 0, False: 0]
  ------------------
 2323|       |                    /* POP_JUMP_IF_FALSE or POP_JUMP_IF_TRUE */
 2324|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2324:21): [True: 0, False: 0]
  ------------------
 2325|      0|                }
 2326|      0|                int jump_if_true = (nextop == POP_JUMP_IF_TRUE || nextop == JUMP_IF_TRUE);
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
                              int jump_if_true = (nextop == POP_JUMP_IF_TRUE || nextop == JUMP_IF_TRUE);
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2326:37): [True: 0, False: 0]
  |  Branch (2326:67): [True: 0, False: 0]
  ------------------
 2327|      0|                if (is_true == jump_if_true) {
  ------------------
  |  Branch (2327:21): [True: 0, False: 0]
  ------------------
 2328|      0|                    bb->b_instr[i+1].i_opcode = JUMP;
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
 2329|      0|                }
 2330|      0|                else {
 2331|      0|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2331:21): [True: 0, False: 0]
  ------------------
 2332|      0|                }
 2333|      0|                break;
 2334|      0|            }
 2335|      0|            case IS_OP:
  ------------------
  |  |   83|      0|#define IS_OP                                   70
  ------------------
  |  Branch (2335:13): [True: 0, False: 1]
  ------------------
 2336|      0|            {
 2337|       |                // Fold to POP_JUMP_IF_NONE:
 2338|       |                // - LOAD_CONST(None) IS_OP(0) POP_JUMP_IF_TRUE
 2339|       |                // - LOAD_CONST(None) IS_OP(1) POP_JUMP_IF_FALSE
 2340|       |                // - LOAD_CONST(None) IS_OP(0) TO_BOOL POP_JUMP_IF_TRUE
 2341|       |                // - LOAD_CONST(None) IS_OP(1) TO_BOOL POP_JUMP_IF_FALSE
 2342|       |                // Fold to POP_JUMP_IF_NOT_NONE:
 2343|       |                // - LOAD_CONST(None) IS_OP(0) POP_JUMP_IF_FALSE
 2344|       |                // - LOAD_CONST(None) IS_OP(1) POP_JUMP_IF_TRUE
 2345|       |                // - LOAD_CONST(None) IS_OP(0) TO_BOOL POP_JUMP_IF_FALSE
 2346|       |                // - LOAD_CONST(None) IS_OP(1) TO_BOOL POP_JUMP_IF_TRUE
 2347|      0|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2348|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2348:21): [True: 0, False: 0]
  ------------------
 2349|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2350|      0|                }
 2351|      0|                if (!Py_IsNone(cnt)) {
  ------------------
  |  |  621|      0|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|      0|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  ------------------
  |  Branch (2351:21): [True: 0, False: 0]
  ------------------
 2352|      0|                    Py_DECREF(cnt);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2353|      0|                    break;
 2354|      0|                }
 2355|      0|                if (bb->b_iused <= i + 2) {
  ------------------
  |  Branch (2355:21): [True: 0, False: 0]
  ------------------
 2356|      0|                    break;
 2357|      0|                }
 2358|      0|                cfg_instr *is_instr = &bb->b_instr[i + 1];
 2359|      0|                cfg_instr *jump_instr = &bb->b_instr[i + 2];
 2360|       |                // Get rid of TO_BOOL regardless:
 2361|      0|                if (jump_instr->i_opcode == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2361:21): [True: 0, False: 0]
  ------------------
 2362|      0|                    INSTR_SET_OP0(jump_instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2362:21): [True: 0, False: 0]
  ------------------
 2363|      0|                    if (bb->b_iused <= i + 3) {
  ------------------
  |  Branch (2363:25): [True: 0, False: 0]
  ------------------
 2364|      0|                        break;
 2365|      0|                    }
 2366|      0|                    jump_instr = &bb->b_instr[i + 3];
 2367|      0|                }
 2368|      0|                bool invert = is_instr->i_oparg;
 2369|      0|                if (jump_instr->i_opcode == POP_JUMP_IF_FALSE) {
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2369:21): [True: 0, False: 0]
  ------------------
 2370|      0|                    invert = !invert;
 2371|      0|                }
 2372|      0|                else if (jump_instr->i_opcode != POP_JUMP_IF_TRUE) {
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2372:26): [True: 0, False: 0]
  ------------------
 2373|      0|                    break;
 2374|      0|                }
 2375|      0|                INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2375:17): [True: 0, False: 0]
  ------------------
 2376|      0|                INSTR_SET_OP0(is_instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2376:17): [True: 0, False: 0]
  ------------------
 2377|      0|                jump_instr->i_opcode = invert ? POP_JUMP_IF_NOT_NONE
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (2377:40): [True: 0, False: 0]
  ------------------
 2378|      0|                                              : POP_JUMP_IF_NONE;
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
 2379|      0|                break;
 2380|      0|            }
 2381|      0|            case TO_BOOL:
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2381:13): [True: 0, False: 1]
  ------------------
 2382|      0|            {
 2383|      0|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2384|      0|                if (cnt == NULL) {
  ------------------
  |  Branch (2384:21): [True: 0, False: 0]
  ------------------
 2385|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2386|      0|                }
 2387|      0|                int is_true = PyObject_IsTrue(cnt);
 2388|      0|                Py_DECREF(cnt);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2389|      0|                if (is_true == -1) {
  ------------------
  |  Branch (2389:21): [True: 0, False: 0]
  ------------------
 2390|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2391|      0|                }
 2392|      0|                cnt = PyBool_FromLong(is_true);
 2393|      0|                int index = add_const(cnt, consts, const_cache, consts_index);
 2394|      0|                if (index < 0) {
  ------------------
  |  Branch (2394:21): [True: 0, False: 0]
  ------------------
 2395|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2396|      0|                }
 2397|      0|                INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2397:17): [True: 0, False: 0]
  ------------------
 2398|      0|                INSTR_SET_OP1(&bb->b_instr[i + 1], LOAD_CONST, index);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2398:17): [True: 0, False: 0]
  ------------------
 2399|      0|                break;
 2400|      0|            }
 2401|      1|        }
 2402|      1|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   91|      1|#define LOAD_CONST                              78
  ------------------
  |  Branch (2402:13): [True: 1, False: 0]
  ------------------
 2403|      1|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2404|      1|            if (constant == NULL) {
  ------------------
  |  Branch (2404:17): [True: 0, False: 1]
  ------------------
 2405|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2406|      0|            }
 2407|      1|            int res = maybe_instr_make_load_common_const(inst, constant);
 2408|      1|            Py_DECREF(constant);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2409|      1|            if (res < 0) {
  ------------------
  |  Branch (2409:17): [True: 0, False: 1]
  ------------------
 2410|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2411|      0|            }
 2412|      1|        }
 2413|      1|    }
 2414|      3|    return SUCCESS;
  ------------------
  |  |   21|      3|#define SUCCESS 0
  ------------------
 2415|      3|}
flowgraph.c:get_const_value:
 1319|      2|{
 1320|      2|    PyObject *constant = NULL;
 1321|      2|    assert(loads_const(opcode));
  ------------------
  |  Branch (1321:5): [True: 2, False: 0]
  ------------------
 1322|      2|    if (opcode == LOAD_CONST) {
  ------------------
  |  |   91|      2|#define LOAD_CONST                              78
  ------------------
  |  Branch (1322:9): [True: 2, False: 0]
  ------------------
 1323|      2|        assert(PyList_Check(co_consts));
  ------------------
  |  Branch (1323:9): [True: 2, False: 0]
  ------------------
 1324|      2|        Py_ssize_t n = PyList_GET_SIZE(co_consts);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1325|      2|        if (oparg < 0 || oparg >= n) {
  ------------------
  |  Branch (1325:13): [True: 0, False: 2]
  |  Branch (1325:26): [True: 0, False: 2]
  ------------------
 1326|      0|            PyErr_Format(PyExc_ValueError,
 1327|      0|                         "LOAD_CONST index %d is out of range for consts (len=%zd)",
 1328|      0|                         oparg, n);
 1329|      0|            return NULL;
 1330|      0|        }
 1331|      2|        constant = PyList_GET_ITEM(co_consts, oparg);
  ------------------
  |  |   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 (1331:20): [True: 2, False: 0]
  ------------------
 1332|      2|    }
 1333|      2|    if (opcode == LOAD_SMALL_INT) {
  ------------------
  |  |  103|      2|#define LOAD_SMALL_INT                          90
  ------------------
  |  Branch (1333:9): [True: 0, False: 2]
  ------------------
 1334|      0|        return PyLong_FromLong(oparg);
 1335|      0|    }
 1336|      2|    if (opcode == LOAD_COMMON_CONSTANT) {
  ------------------
  |  |   90|      2|#define LOAD_COMMON_CONSTANT                    77
  ------------------
  |  Branch (1336:9): [True: 0, False: 2]
  ------------------
 1337|      0|        assert(oparg < NUM_COMMON_CONSTANTS);
  ------------------
  |  Branch (1337:9): [True: 0, False: 0]
  ------------------
 1338|      0|        return PyStackRef_AsPyObjectBorrow(
 1339|      0|            _PyInterpreterState_GET()->common_consts[oparg]);
 1340|      0|    }
 1341|       |
 1342|      2|    if (constant == NULL) {
  ------------------
  |  Branch (1342:9): [True: 0, False: 2]
  ------------------
 1343|      0|        PyErr_SetString(PyExc_SystemError,
 1344|      0|                        "Internal error: failed to get value of a constant");
 1345|      0|        return NULL;
 1346|      0|    }
 1347|      2|    return Py_NewRef(constant);
  ------------------
  |  |  647|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1348|      2|}
flowgraph.c:maybe_instr_make_load_smallint:
 1439|      1|{
 1440|      1|    if (PyLong_CheckExact(newconst)) {
  ------------------
  |  |   14|      1|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_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: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1441|      0|        int overflow;
 1442|      0|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1443|      0|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1443:13): [True: 0, False: 0]
  |  Branch (1443:26): [True: 0, False: 0]
  ------------------
 1444|      0|            return -1;
 1445|      0|        }
 1446|      0|        if (!overflow && _PY_IS_SMALL_INT(val) && 0 <= val && val <= 255) {
  ------------------
  |  |   68|      0|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   98|      0|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   97|      0|#define _PY_NSMALLPOSINTS           1025
  |  |  ------------------
  |  |  |  Branch (68:6): [True: 0, False: 0]
  |  |  |  Branch (68:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1446:13): [True: 0, False: 0]
  |  Branch (1446:51): [True: 0, False: 0]
  |  Branch (1446:63): [True: 0, False: 0]
  ------------------
 1447|      0|            assert(_Py_IsImmortal(newconst));
  ------------------
  |  Branch (1447:13): [True: 0, False: 0]
  ------------------
 1448|      0|            INSTR_SET_OP1(instr, LOAD_SMALL_INT, (int)val);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1448:13): [True: 0, False: 0]
  ------------------
 1449|      0|            return 1;
 1450|      0|        }
 1451|      0|    }
 1452|      1|    return 0;
 1453|      1|}
flowgraph.c:loads_const:
 1310|     18|{
 1311|     18|    return OPCODE_HAS_CONST(opcode)
  ------------------
  |  | 1063|     36|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|     18|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 3, False: 15]
  |  |  ------------------
  ------------------
 1312|     15|        || opcode == LOAD_SMALL_INT
  ------------------
  |  |  103|     33|#define LOAD_SMALL_INT                          90
  ------------------
  |  Branch (1312:12): [True: 0, False: 15]
  ------------------
 1313|     15|        || opcode == LOAD_COMMON_CONSTANT;
  ------------------
  |  |   90|     15|#define LOAD_COMMON_CONSTANT                    77
  ------------------
  |  Branch (1313:12): [True: 0, False: 15]
  ------------------
 1314|     18|}
flowgraph.c:maybe_instr_make_load_common_const:
 1462|      1|{
 1463|      1|    int oparg;
 1464|      1|    if (newconst == Py_None) {
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1464:9): [True: 0, False: 1]
  ------------------
 1465|      0|        oparg = CONSTANT_NONE;
  ------------------
  |  |   78|      0|#define CONSTANT_NONE 7
  ------------------
 1466|      0|    }
 1467|      1|    else if (newconst == 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1467:14): [True: 0, False: 1]
  ------------------
 1468|      0|        oparg = CONSTANT_TRUE;
  ------------------
  |  |   80|      0|#define CONSTANT_TRUE 9
  ------------------
 1469|      0|    }
 1470|      1|    else if (newconst == 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 (1470:14): [True: 0, False: 1]
  ------------------
 1471|      0|        oparg = CONSTANT_FALSE;
  ------------------
  |  |   81|      0|#define CONSTANT_FALSE 10
  ------------------
 1472|      0|    }
 1473|      1|    else if (PyUnicode_CheckExact(newconst)
  ------------------
  |  |  104|      1|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1474|      0|             && PyUnicode_GET_LENGTH(newconst) == 0) {
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1474:17): [True: 0, False: 0]
  ------------------
 1475|      0|        oparg = CONSTANT_EMPTY_STR;
  ------------------
  |  |   79|      0|#define CONSTANT_EMPTY_STR 8
  ------------------
 1476|      0|    }
 1477|      1|    else if (PyTuple_CheckExact(newconst)
  ------------------
  |  |   28|      1|#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|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|      0|             && PyTuple_GET_SIZE(newconst) == 0) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1478:17): [True: 0, False: 0]
  ------------------
 1479|      0|        oparg = CONSTANT_EMPTY_TUPLE;
  ------------------
  |  |   84|      0|#define CONSTANT_EMPTY_TUPLE 13
  ------------------
 1480|      0|    }
 1481|      1|    else if (PyLong_CheckExact(newconst)) {
  ------------------
  |  |   14|      1|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_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: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1482|      0|        int overflow;
 1483|      0|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1484|      0|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1484:13): [True: 0, False: 0]
  |  Branch (1484:26): [True: 0, False: 0]
  ------------------
 1485|      0|            return -1;
 1486|      0|        }
 1487|      0|        if (overflow || val != -1) {
  ------------------
  |  Branch (1487:13): [True: 0, False: 0]
  |  Branch (1487:25): [True: 0, False: 0]
  ------------------
 1488|      0|            return 0;
 1489|      0|        }
 1490|      0|        oparg = CONSTANT_MINUS_ONE;
  ------------------
  |  |   82|      0|#define CONSTANT_MINUS_ONE 11
  ------------------
 1491|      0|    }
 1492|      1|    else {
 1493|      1|        return 0;
 1494|      1|    }
 1495|      1|    assert(_Py_IsImmortal(newconst));
  ------------------
  |  Branch (1495:5): [True: 0, False: 0]
  ------------------
 1496|      0|    INSTR_SET_OP1(instr, LOAD_COMMON_CONSTANT, oparg);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1496:5): [True: 0, False: 0]
  ------------------
 1497|      0|    return 1;
 1498|      0|}
flowgraph.c:optimize_basic_block:
 2429|      3|{
 2430|      3|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2430:5): [True: 3, False: 0]
  ------------------
 2431|      3|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (2431:5): [True: 3, False: 0]
  ------------------
 2432|      3|    cfg_instr nop;
 2433|      3|    INSTR_SET_OP0(&nop, NOP);
  ------------------
  |  |  125|      3|    do { \
  |  |  126|      3|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      3|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      3|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      3|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      3|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  |  Branch (2433:5): [True: 3, False: 0]
  ------------------
 2434|     18|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2434:21): [True: 15, False: 3]
  ------------------
 2435|     15|        cfg_instr *inst = &bb->b_instr[i];
 2436|     15|        cfg_instr *target;
 2437|     15|        int opcode = inst->i_opcode;
 2438|     15|        int oparg = inst->i_oparg;
 2439|     15|        if (HAS_TARGET(opcode)) {
  ------------------
  |  |   23|     15|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     30|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     15|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     15|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     30|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 15]
  |  |  |  |  ------------------
  |  |  |  |   19|     15|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     30|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 15]
  |  |  |  |  ------------------
  |  |  |  |   20|     15|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     15|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2440|      0|            assert(inst->i_target->b_iused > 0);
  ------------------
  |  Branch (2440:13): [True: 0, False: 0]
  ------------------
 2441|      0|            target = &inst->i_target->b_instr[0];
 2442|      0|            assert(!IS_ASSEMBLER_OPCODE(target->i_opcode));
  ------------------
  |  Branch (2442:13): [True: 0, False: 0]
  |  Branch (2442:13): [True: 0, False: 0]
  |  Branch (2442:13): [True: 0, False: 0]
  ------------------
 2443|      0|        }
 2444|     15|        else {
 2445|     15|            target = &nop;
 2446|     15|        }
 2447|     15|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2447:22): [True: 13, False: 2]
  ------------------
 2448|     15|        assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (2448:9): [True: 0, False: 15]
  |  Branch (2448:9): [True: 0, False: 15]
  |  Branch (2448:9): [True: 0, False: 15]
  ------------------
 2449|     15|        switch (opcode) {
  ------------------
  |  Branch (2449:17): [True: 2, False: 13]
  ------------------
 2450|       |            /* Try to fold tuples of constants.
 2451|       |               Skip over BUILD_TUPLE(1) UNPACK_SEQUENCE(1).
 2452|       |               Replace BUILD_TUPLE(2) UNPACK_SEQUENCE(2) with SWAP(2).
 2453|       |               Replace BUILD_TUPLE(3) UNPACK_SEQUENCE(3) with SWAP(3). */
 2454|      1|            case BUILD_TUPLE:
  ------------------
  |  |   62|      1|#define BUILD_TUPLE                             49
  ------------------
  |  Branch (2454:13): [True: 1, False: 14]
  ------------------
 2455|      1|                if (nextop == UNPACK_SEQUENCE && oparg == bb->b_instr[i+1].i_oparg) {
  ------------------
  |  |  128|      2|#define UNPACK_SEQUENCE                        115
  ------------------
  |  Branch (2455:21): [True: 0, False: 1]
  |  Branch (2455:50): [True: 0, False: 0]
  ------------------
 2456|      0|                    switch(oparg) {
  ------------------
  |  Branch (2456:28): [True: 0, False: 0]
  ------------------
 2457|      0|                        case 1:
  ------------------
  |  Branch (2457:25): [True: 0, False: 0]
  ------------------
 2458|      0|                            INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2458:29): [True: 0, False: 0]
  ------------------
 2459|      0|                            INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2459:29): [True: 0, False: 0]
  ------------------
 2460|      0|                            continue;
 2461|      0|                        case 2:
  ------------------
  |  Branch (2461:25): [True: 0, False: 0]
  ------------------
 2462|      0|                        case 3:
  ------------------
  |  Branch (2462:25): [True: 0, False: 0]
  ------------------
 2463|      0|                            INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2463:29): [True: 0, False: 0]
  ------------------
 2464|      0|                            bb->b_instr[i+1].i_opcode = SWAP;
  ------------------
  |  |  126|      0|#define SWAP                                   113
  ------------------
 2465|      0|                            continue;
 2466|      0|                    }
 2467|      0|                }
 2468|      1|                RETURN_IF_ERROR(fold_tuple_of_constants(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      1|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 1]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2469|      1|                break;
 2470|      0|            case BUILD_LIST:
  ------------------
  |  |   57|      0|#define BUILD_LIST                              44
  ------------------
  |  Branch (2470:13): [True: 0, False: 15]
  ------------------
 2471|      0|            case BUILD_SET:
  ------------------
  |  |   59|      0|#define BUILD_SET                               46
  ------------------
  |  Branch (2471:13): [True: 0, False: 15]
  ------------------
 2472|      0|                RETURN_IF_ERROR(optimize_lists_and_sets(bb, i, nextop, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2473|      0|                break;
 2474|      0|            case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (2474:13): [True: 0, False: 15]
  ------------------
 2475|      0|            case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (2475:13): [True: 0, False: 15]
  ------------------
 2476|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2476:25): [True: 0, False: 0]
  ------------------
 2477|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2477:21): [True: 0, False: 0]
  ------------------
 2478|      0|                        i -= jump_thread(bb, inst, target, inst->i_opcode);
 2479|      0|                }
 2480|      0|                break;
 2481|      0|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2481:13): [True: 0, False: 15]
  ------------------
 2482|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2482:25): [True: 0, False: 0]
  ------------------
 2483|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2483:21): [True: 0, False: 0]
  ------------------
 2484|      0|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_FALSE);
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
 2485|      0|                }
 2486|      0|                break;
 2487|      0|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2487:13): [True: 0, False: 15]
  ------------------
 2488|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2488:25): [True: 0, False: 0]
  ------------------
 2489|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2489:21): [True: 0, False: 0]
  ------------------
 2490|      0|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_TRUE);
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
 2491|      0|                }
 2492|      0|                break;
 2493|      0|            case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2493:13): [True: 0, False: 15]
  ------------------
 2494|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2494:25): [True: 0, False: 0]
  ------------------
 2495|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2495:21): [True: 0, False: 0]
  ------------------
 2496|      0|                    case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2496:21): [True: 0, False: 0]
  ------------------
 2497|      0|                        i -= jump_thread(bb, inst, target, JUMP_IF_FALSE);
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
 2498|      0|                        continue;
 2499|      0|                    case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2499:21): [True: 0, False: 0]
  ------------------
 2500|       |                        // No need to check for loops here, a block's b_next
 2501|       |                        // cannot point to itself.
 2502|      0|                        assert(inst->i_target != inst->i_target->b_next);
  ------------------
  |  Branch (2502:25): [True: 0, False: 0]
  ------------------
 2503|      0|                        inst->i_target = inst->i_target->b_next;
 2504|      0|                        i--;
 2505|      0|                        continue;
 2506|      0|                }
 2507|      0|                break;
 2508|      0|            case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2508:13): [True: 0, False: 15]
  ------------------
 2509|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2509:25): [True: 0, False: 0]
  ------------------
 2510|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2510:21): [True: 0, False: 0]
  ------------------
 2511|      0|                    case JUMP_IF_TRUE:
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2511:21): [True: 0, False: 0]
  ------------------
 2512|      0|                        i -= jump_thread(bb, inst, target, JUMP_IF_TRUE);
  ------------------
  |  |  247|      0|#define JUMP_IF_TRUE                           259
  ------------------
 2513|      0|                        continue;
 2514|      0|                    case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2514:21): [True: 0, False: 0]
  ------------------
 2515|       |                        // No need to check for loops here, a block's b_next
 2516|       |                        // cannot point to itself.
 2517|      0|                        assert(inst->i_target != inst->i_target->b_next);
  ------------------
  |  Branch (2517:25): [True: 0, False: 0]
  ------------------
 2518|      0|                        inst->i_target = inst->i_target->b_next;
 2519|      0|                        i--;
 2520|      0|                        continue;
 2521|      0|                }
 2522|      0|                break;
 2523|      0|            case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2523:13): [True: 0, False: 15]
  ------------------
 2524|      0|            case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2524:13): [True: 0, False: 15]
  ------------------
 2525|      0|                switch (target->i_opcode) {
  ------------------
  |  Branch (2525:25): [True: 0, False: 0]
  ------------------
 2526|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2526:21): [True: 0, False: 0]
  ------------------
 2527|      0|                        i -= jump_thread(bb, inst, target, JUMP);
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
 2528|      0|                        continue;
 2529|      0|                    case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2529:21): [True: 0, False: 0]
  ------------------
 2530|      0|                        i -= jump_thread(bb, inst, target, opcode);
 2531|      0|                        continue;
 2532|      0|                }
 2533|      0|                break;
 2534|      0|            case FOR_ITER:
  ------------------
  |  |   78|      0|#define FOR_ITER                                65
  ------------------
  |  Branch (2534:13): [True: 0, False: 15]
  ------------------
 2535|      0|                if (target->i_opcode == JUMP) {
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2535:21): [True: 0, False: 0]
  ------------------
 2536|       |                    /* This will not work now because the jump (at target) could
 2537|       |                     * be forward or backward and FOR_ITER only jumps forward. We
 2538|       |                     * can re-enable this if ever we implement a backward version
 2539|       |                     * of FOR_ITER.
 2540|       |                     */
 2541|       |                    /*
 2542|       |                    i -= jump_thread(bb, inst, target, FOR_ITER);
 2543|       |                    */
 2544|      0|                }
 2545|      0|                break;
 2546|      0|            case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2546:13): [True: 0, False: 15]
  ------------------
 2547|      0|                if (opcode == nextop &&
  ------------------
  |  Branch (2547:21): [True: 0, False: 0]
  ------------------
 2548|      0|                    oparg == bb->b_instr[i+1].i_oparg &&
  ------------------
  |  Branch (2548:21): [True: 0, False: 0]
  ------------------
 2549|      0|                    bb->b_instr[i].i_loc.lineno == bb->b_instr[i+1].i_loc.lineno) {
  ------------------
  |  Branch (2549:21): [True: 0, False: 0]
  ------------------
 2550|      0|                    bb->b_instr[i].i_opcode = POP_TOP;
  ------------------
  |  |   42|      0|#define POP_TOP                                 29
  ------------------
 2551|      0|                    bb->b_instr[i].i_oparg = 0;
 2552|      0|                }
 2553|      0|                break;
 2554|      0|            case SWAP:
  ------------------
  |  |  126|      0|#define SWAP                                   113
  ------------------
  |  Branch (2554:13): [True: 0, False: 15]
  ------------------
 2555|      0|                if (oparg == 1) {
  ------------------
  |  Branch (2555:21): [True: 0, False: 0]
  ------------------
 2556|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2556:21): [True: 0, False: 0]
  ------------------
 2557|      0|                }
 2558|      0|                break;
 2559|      1|            case LOAD_GLOBAL:
  ------------------
  |  |  101|      1|#define LOAD_GLOBAL                             88
  ------------------
  |  Branch (2559:13): [True: 1, False: 14]
  ------------------
 2560|      1|                if (nextop == PUSH_NULL && (oparg & 1) == 0) {
  ------------------
  |  |   44|      2|#define PUSH_NULL                               31
  ------------------
  |  Branch (2560:21): [True: 1, False: 0]
  |  Branch (2560:44): [True: 1, False: 0]
  ------------------
 2561|      1|                    INSTR_SET_OP1(inst, LOAD_GLOBAL, oparg | 1);
  ------------------
  |  |  116|      1|    do { \
  |  |  117|      1|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      1|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      1|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      1|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      1|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  |  Branch (2561:21): [True: 1, False: 0]
  ------------------
 2562|      1|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      1|    do { \
  |  |  126|      1|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      1|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      1|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      1|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      1|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  |  Branch (2562:21): [True: 1, False: 0]
  ------------------
 2563|      1|                }
 2564|      1|                break;
 2565|      1|            case COMPARE_OP:
  ------------------
  |  |   67|      0|#define COMPARE_OP                              54
  ------------------
  |  Branch (2565:13): [True: 0, False: 15]
  ------------------
 2566|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2566:21): [True: 0, False: 0]
  ------------------
 2567|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2567:21): [True: 0, False: 0]
  ------------------
 2568|      0|                    INSTR_SET_OP1(&bb->b_instr[i + 1], COMPARE_OP, oparg | 16);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2568:21): [True: 0, False: 0]
  ------------------
 2569|      0|                    continue;
 2570|      0|                }
 2571|      0|                break;
 2572|      0|            case CONTAINS_OP:
  ------------------
  |  |   68|      0|#define CONTAINS_OP                             55
  ------------------
  |  Branch (2572:13): [True: 0, False: 15]
  ------------------
 2573|      0|            case IS_OP:
  ------------------
  |  |   83|      0|#define IS_OP                                   70
  ------------------
  |  Branch (2573:13): [True: 0, False: 15]
  ------------------
 2574|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2574:21): [True: 0, False: 0]
  ------------------
 2575|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2575:21): [True: 0, False: 0]
  ------------------
 2576|      0|                    INSTR_SET_OP1(&bb->b_instr[i + 1], opcode, oparg);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2576:21): [True: 0, False: 0]
  ------------------
 2577|      0|                    continue;
 2578|      0|                }
 2579|      0|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (2579:21): [True: 0, False: 0]
  ------------------
 2580|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2580:21): [True: 0, False: 0]
  ------------------
 2581|      0|                    int inverted = oparg ^ 1;
 2582|      0|                    assert(inverted == 0 || inverted == 1);
  ------------------
  |  Branch (2582:21): [True: 0, False: 0]
  |  Branch (2582:21): [True: 0, False: 0]
  ------------------
 2583|      0|                    INSTR_SET_OP1(&bb->b_instr[i + 1], opcode, inverted);
  ------------------
  |  |  116|      0|    do { \
  |  |  117|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2583:21): [True: 0, False: 0]
  ------------------
 2584|      0|                    continue;
 2585|      0|                }
 2586|      0|                break;
 2587|      0|            case TO_BOOL:
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2587:13): [True: 0, False: 15]
  ------------------
 2588|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2588:21): [True: 0, False: 0]
  ------------------
 2589|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2589:21): [True: 0, False: 0]
  ------------------
 2590|      0|                    continue;
 2591|      0|                }
 2592|      0|                break;
 2593|      0|            case UNARY_NOT:
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (2593:13): [True: 0, False: 15]
  ------------------
 2594|      0|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
  |  Branch (2594:21): [True: 0, False: 0]
  ------------------
 2595|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2595:21): [True: 0, False: 0]
  ------------------
 2596|      0|                    INSTR_SET_OP0(&bb->b_instr[i + 1], UNARY_NOT);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2596:21): [True: 0, False: 0]
  ------------------
 2597|      0|                    continue;
 2598|      0|                }
 2599|      0|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (2599:21): [True: 0, False: 0]
  ------------------
 2600|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2600:21): [True: 0, False: 0]
  ------------------
 2601|      0|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2601:21): [True: 0, False: 0]
  ------------------
 2602|      0|                    continue;
 2603|      0|                }
 2604|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 2605|      0|            case UNARY_INVERT:
  ------------------
  |  |   51|      0|#define UNARY_INVERT                            38
  ------------------
  |  Branch (2605:13): [True: 0, False: 15]
  ------------------
 2606|      0|            case UNARY_NEGATIVE:
  ------------------
  |  |   52|      0|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (2606:13): [True: 0, False: 15]
  ------------------
 2607|      0|                RETURN_IF_ERROR(fold_const_unaryop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2608|      0|                break;
 2609|      0|            case CALL_INTRINSIC_1:
  ------------------
  |  |   64|      0|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (2609:13): [True: 0, False: 15]
  ------------------
 2610|      0|                if (oparg == INTRINSIC_LIST_TO_TUPLE) {
  ------------------
  |  |   15|      0|#define INTRINSIC_LIST_TO_TUPLE                  6
  ------------------
  |  Branch (2610:21): [True: 0, False: 0]
  ------------------
 2611|      0|                    RETURN_IF_ERROR(fold_constant_seq_into_load_const(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2612|      0|                    if (inst->i_opcode == CALL_INTRINSIC_1 && nextop == GET_ITER) {
  ------------------
  |  |   64|      0|#define CALL_INTRINSIC_1                        51
  ------------------
                                  if (inst->i_opcode == CALL_INTRINSIC_1 && nextop == GET_ITER) {
  ------------------
  |  |   80|      0|#define GET_ITER                                67
  ------------------
  |  Branch (2612:25): [True: 0, False: 0]
  |  Branch (2612:63): [True: 0, False: 0]
  ------------------
 2613|      0|                        INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2613:25): [True: 0, False: 0]
  ------------------
 2614|      0|                    }
 2615|      0|                }
 2616|      0|                else if (oparg == INTRINSIC_UNARY_POSITIVE) {
  ------------------
  |  |   14|      0|#define INTRINSIC_UNARY_POSITIVE                 5
  ------------------
  |  Branch (2616:26): [True: 0, False: 0]
  ------------------
 2617|      0|                    RETURN_IF_ERROR(fold_const_unaryop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2618|      0|                }
 2619|      0|                break;
 2620|      0|            case LIST_APPEND:
  ------------------
  |  |   87|      0|#define LIST_APPEND                             74
  ------------------
  |  Branch (2620:13): [True: 0, False: 15]
  ------------------
 2621|      0|            case SET_ADD:
  ------------------
  |  |  116|      0|#define SET_ADD                                103
  ------------------
  |  Branch (2621:13): [True: 0, False: 15]
  ------------------
 2622|      0|                if (oparg == 1 && (nextop == GET_ITER || nextop == CONTAINS_OP)) {
  ------------------
  |  |   80|      0|#define GET_ITER                                67
  ------------------
                              if (oparg == 1 && (nextop == GET_ITER || nextop == CONTAINS_OP)) {
  ------------------
  |  |   68|      0|#define CONTAINS_OP                             55
  ------------------
  |  Branch (2622:21): [True: 0, False: 0]
  |  Branch (2622:36): [True: 0, False: 0]
  |  Branch (2622:58): [True: 0, False: 0]
  ------------------
 2623|      0|                    RETURN_IF_ERROR(fold_constant_seq_into_load_const(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2624|      0|                        bb, i, consts, const_cache, consts_index));
 2625|      0|                }
 2626|      0|                break;
 2627|      0|            case BINARY_OP:
  ------------------
  |  |   55|      0|#define BINARY_OP                               42
  ------------------
  |  Branch (2627:13): [True: 0, False: 15]
  ------------------
 2628|      0|                RETURN_IF_ERROR(fold_const_binop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2629|      0|                break;
 2630|     15|        }
 2631|     15|    }
 2632|       |
 2633|     18|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2633:21): [True: 15, False: 3]
  ------------------
 2634|     15|        cfg_instr *inst = &bb->b_instr[i];
 2635|     15|        if (inst->i_opcode == SWAP) {
  ------------------
  |  |  126|     15|#define SWAP                                   113
  ------------------
  |  Branch (2635:13): [True: 0, False: 15]
  ------------------
 2636|      0|            if (swaptimize(bb, &i) < 0) {
  ------------------
  |  Branch (2636:17): [True: 0, False: 0]
  ------------------
 2637|      0|                goto error;
 2638|      0|            }
 2639|      0|            apply_static_swaps(bb, i);
 2640|      0|        }
 2641|     15|    }
 2642|      3|    return SUCCESS;
  ------------------
  |  |   21|      3|#define SUCCESS 0
  ------------------
 2643|      0|error:
 2644|      0|    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2645|      3|}
flowgraph.c:fold_tuple_of_constants:
 1537|      1|{
 1538|       |    /* Pre-conditions */
 1539|      1|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (1539:5): [True: 1, False: 0]
  ------------------
 1540|      1|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (1540:5): [True: 1, False: 0]
  ------------------
 1541|       |
 1542|      1|    cfg_instr *instr = &bb->b_instr[i];
 1543|      1|    assert(instr->i_opcode == BUILD_TUPLE);
  ------------------
  |  Branch (1543:5): [True: 1, False: 0]
  ------------------
 1544|       |
 1545|      1|    int seq_size = instr->i_oparg;
 1546|      1|    if (seq_size > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|      1|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (1546:9): [True: 0, False: 1]
  ------------------
 1547|      0|        return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 1548|      0|    }
 1549|       |
 1550|      1|    cfg_instr *const_instrs[_PY_STACK_USE_GUIDELINE];
 1551|      1|    if (!get_const_loading_instrs(bb, i-1, const_instrs, seq_size)) {
  ------------------
  |  Branch (1551:9): [True: 1, False: 0]
  ------------------
 1552|       |        /* not a const sequence */
 1553|      1|        return SUCCESS;
  ------------------
  |  |   21|      1|#define SUCCESS 0
  ------------------
 1554|      1|    }
 1555|       |
 1556|      0|    PyObject *const_tuple = PyTuple_New((Py_ssize_t)seq_size);
 1557|      0|    if (const_tuple == NULL) {
  ------------------
  |  Branch (1557:9): [True: 0, False: 0]
  ------------------
 1558|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1559|      0|    }
 1560|       |
 1561|      0|    for (int i = 0; i < seq_size; i++) {
  ------------------
  |  Branch (1561:21): [True: 0, False: 0]
  ------------------
 1562|      0|        cfg_instr *inst = const_instrs[i];
 1563|      0|        assert(loads_const(inst->i_opcode));
  ------------------
  |  Branch (1563:9): [True: 0, False: 0]
  ------------------
 1564|      0|        PyObject *element = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 1565|      0|        if (element == NULL) {
  ------------------
  |  Branch (1565:13): [True: 0, False: 0]
  ------------------
 1566|      0|            Py_DECREF(const_tuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1567|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1568|      0|        }
 1569|      0|        PyTuple_SET_ITEM(const_tuple, i, element);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1570|      0|    }
 1571|       |
 1572|      0|    nop_out(const_instrs, seq_size);
 1573|      0|    return instr_make_load_const(instr, const_tuple, consts, const_cache, consts_index);
 1574|      0|}
flowgraph.c:get_const_loading_instrs:
 1397|      1|{
 1398|      1|    assert(start < bb->b_iused);
  ------------------
  |  Branch (1398:5): [True: 1, False: 0]
  ------------------
 1399|      1|    assert(size >= 0);
  ------------------
  |  Branch (1399:5): [True: 1, False: 0]
  ------------------
 1400|      1|    assert(size <= _PY_STACK_USE_GUIDELINE);
  ------------------
  |  Branch (1400:5): [True: 1, False: 0]
  ------------------
 1401|       |
 1402|      1|    for (; start >= 0 && size > 0; start--) {
  ------------------
  |  Branch (1402:12): [True: 1, False: 0]
  |  Branch (1402:26): [True: 1, False: 0]
  ------------------
 1403|      1|        cfg_instr *instr = &bb->b_instr[start];
 1404|      1|        if (instr->i_opcode == NOP) {
  ------------------
  |  |   38|      1|#define NOP                                     25
  ------------------
  |  Branch (1404:13): [True: 0, False: 1]
  ------------------
 1405|      0|            continue;
 1406|      0|        }
 1407|      1|        if (!loads_const(instr->i_opcode)) {
  ------------------
  |  Branch (1407:13): [True: 1, False: 0]
  ------------------
 1408|      1|            return false;
 1409|      1|        }
 1410|      0|        instrs[--size] = instr;
 1411|      0|    }
 1412|       |
 1413|      0|    return size == 0;
 1414|      1|}
flowgraph.c:remove_redundant_nops_and_pairs:
 1137|      2|{
 1138|      2|    bool done = false;
 1139|       |
 1140|      4|    while (! done) {
  ------------------
  |  Branch (1140:12): [True: 2, False: 2]
  ------------------
 1141|      2|        done = true;
 1142|      2|        cfg_instr *prev_instr = NULL;
 1143|      2|        cfg_instr *instr = NULL;
 1144|      5|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1144:42): [True: 3, False: 2]
  ------------------
 1145|      3|            RETURN_IF_ERROR(basicblock_remove_redundant_nops(b));
  ------------------
  |  |   25|      3|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1146|      3|            if (IS_LABEL(b->b_label)) {
  ------------------
  |  |   96|      3|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|      3|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 0, False: 3]
  |  |  ------------------
  ------------------
 1147|       |                /* this block is a jump target, forget instr */
 1148|      0|                instr = NULL;
 1149|      0|            }
 1150|     17|            for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1150:29): [True: 14, False: 3]
  ------------------
 1151|     14|                prev_instr = instr;
 1152|     14|                instr = &b->b_instr[i];
 1153|     14|                int prev_opcode = prev_instr ? prev_instr->i_opcode : 0;
  ------------------
  |  Branch (1153:35): [True: 12, False: 2]
  ------------------
 1154|     14|                int prev_oparg = prev_instr ? prev_instr->i_oparg : 0;
  ------------------
  |  Branch (1154:34): [True: 12, False: 2]
  ------------------
 1155|     14|                int opcode = instr->i_opcode;
 1156|     14|                bool is_redundant_pair = false;
 1157|     14|                if (opcode == POP_TOP) {
  ------------------
  |  |   42|     14|#define POP_TOP                                 29
  ------------------
  |  Branch (1157:21): [True: 0, False: 14]
  ------------------
 1158|      0|                   if (loads_const(prev_opcode)) {
  ------------------
  |  Branch (1158:24): [True: 0, False: 0]
  ------------------
 1159|      0|                       is_redundant_pair = true;
 1160|      0|                   }
 1161|      0|                   else if (prev_opcode == COPY && prev_oparg == 1) {
  ------------------
  |  |   70|      0|#define COPY                                    57
  ------------------
  |  Branch (1161:29): [True: 0, False: 0]
  |  Branch (1161:52): [True: 0, False: 0]
  ------------------
 1162|      0|                       is_redundant_pair = true;
 1163|      0|                   }
 1164|      0|                }
 1165|     14|                if (is_redundant_pair) {
  ------------------
  |  Branch (1165:21): [True: 0, False: 14]
  ------------------
 1166|      0|                    INSTR_SET_OP0(prev_instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1166:21): [True: 0, False: 0]
  ------------------
 1167|      0|                    INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1167:21): [True: 0, False: 0]
  ------------------
 1168|      0|                    done = false;
 1169|      0|                }
 1170|     14|            }
 1171|      3|            if ((instr && is_jump(instr)) || !BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|      3|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1171:18): [True: 2, False: 1]
  |  Branch (1171:27): [True: 0, False: 2]
  |  Branch (1171:46): [True: 2, False: 1]
  ------------------
 1172|      2|                instr = NULL;
 1173|      2|            }
 1174|      3|        }
 1175|      2|    }
 1176|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 1177|      2|}
flowgraph.c:basicblock_remove_redundant_nops:
 1062|     15|basicblock_remove_redundant_nops(basicblock *bb) {
 1063|       |    /* Remove NOPs when legal to do so. */
 1064|     15|    int dest = 0;
 1065|     15|    int prev_lineno = -1;
 1066|     84|    for (int src = 0; src < bb->b_iused; src++) {
  ------------------
  |  Branch (1066:23): [True: 69, False: 15]
  ------------------
 1067|     69|        int lineno = bb->b_instr[src].i_loc.lineno;
 1068|     69|        if (bb->b_instr[src].i_opcode == NOP) {
  ------------------
  |  |   38|     69|#define NOP                                     25
  ------------------
  |  Branch (1068:13): [True: 3, False: 66]
  ------------------
 1069|       |            /* Eliminate no-op if it doesn't have a line number */
 1070|      3|            if (lineno < 0) {
  ------------------
  |  Branch (1070:17): [True: 0, False: 3]
  ------------------
 1071|      0|                continue;
 1072|      0|            }
 1073|       |            /* or, if the previous instruction had the same line number. */
 1074|      3|            if (prev_lineno == lineno) {
  ------------------
  |  Branch (1074:17): [True: 3, False: 0]
  ------------------
 1075|      3|                continue;
 1076|      3|            }
 1077|       |            /* or, if the next instruction has same line number or no line number */
 1078|      0|            if (src < bb->b_iused - 1) {
  ------------------
  |  Branch (1078:17): [True: 0, False: 0]
  ------------------
 1079|      0|                int next_lineno = bb->b_instr[src+1].i_loc.lineno;
 1080|      0|                if (next_lineno == lineno) {
  ------------------
  |  Branch (1080:21): [True: 0, False: 0]
  ------------------
 1081|      0|                    continue;
 1082|      0|                }
 1083|      0|                if (next_lineno < 0) {
  ------------------
  |  Branch (1083:21): [True: 0, False: 0]
  ------------------
 1084|      0|                    bb->b_instr[src+1].i_loc = bb->b_instr[src].i_loc;
 1085|      0|                    continue;
 1086|      0|                }
 1087|      0|            }
 1088|      0|            else {
 1089|      0|                basicblock *next = next_nonempty_block(bb->b_next);
 1090|       |                /* or if last instruction in BB and next BB has same line number */
 1091|      0|                if (next) {
  ------------------
  |  Branch (1091:21): [True: 0, False: 0]
  ------------------
 1092|      0|                    location next_loc = NO_LOCATION;
 1093|      0|                    for (int next_i=0; next_i < next->b_iused; next_i++) {
  ------------------
  |  Branch (1093:40): [True: 0, False: 0]
  ------------------
 1094|      0|                        cfg_instr *instr = &next->b_instr[next_i];
 1095|      0|                        if (instr->i_opcode == NOP && instr->i_loc.lineno < 0) {
  ------------------
  |  |   38|      0|#define NOP                                     25
  ------------------
  |  Branch (1095:29): [True: 0, False: 0]
  |  Branch (1095:55): [True: 0, False: 0]
  ------------------
 1096|       |                            /* Skip over NOPs without a location, they will be removed */
 1097|      0|                            continue;
 1098|      0|                        }
 1099|      0|                        next_loc = instr->i_loc;
 1100|      0|                        break;
 1101|      0|                    }
 1102|      0|                    if (lineno == next_loc.lineno) {
  ------------------
  |  Branch (1102:25): [True: 0, False: 0]
  ------------------
 1103|      0|                        continue;
 1104|      0|                    }
 1105|      0|                }
 1106|      0|            }
 1107|       |
 1108|      0|        }
 1109|     66|        if (dest != src) {
  ------------------
  |  Branch (1109:13): [True: 13, False: 53]
  ------------------
 1110|     13|            bb->b_instr[dest] = bb->b_instr[src];
 1111|     13|        }
 1112|     66|        dest++;
 1113|     66|        prev_lineno = lineno;
 1114|     66|    }
 1115|     15|    assert(dest <= bb->b_iused);
  ------------------
  |  Branch (1115:5): [True: 15, False: 0]
  ------------------
 1116|     15|    int num_removed = bb->b_iused - dest;
 1117|     15|    bb->b_iused = dest;
 1118|     15|    memset(&bb->b_instr[dest], 0, sizeof(cfg_instr) * num_removed);
 1119|     15|    return num_removed;
 1120|     15|}
flowgraph.c:remove_redundant_nops_and_jumps:
 2651|      4|{
 2652|      4|    int removed_nops, removed_jumps;
 2653|      4|    do {
 2654|       |        /* Convergence is guaranteed because the number of
 2655|       |         * redundant jumps and nops only decreases.
 2656|       |         */
 2657|      4|        removed_nops = remove_redundant_nops(g);
 2658|      4|        RETURN_IF_ERROR(removed_nops);
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2659|      4|        removed_jumps = remove_redundant_jumps(g);
 2660|      4|        RETURN_IF_ERROR(removed_jumps);
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2661|      4|    } while(removed_nops + removed_jumps > 0);
  ------------------
  |  Branch (2661:13): [True: 0, False: 4]
  ------------------
 2662|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 2663|      4|}
flowgraph.c:remove_redundant_nops:
 1123|      8|remove_redundant_nops(cfg_builder *g) {
 1124|      8|    int changes = 0;
 1125|     20|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1125:43): [True: 12, False: 8]
  ------------------
 1126|     12|        int change = basicblock_remove_redundant_nops(b);
 1127|     12|        RETURN_IF_ERROR(change);
  ------------------
  |  |   25|     12|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 12]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1128|     12|        changes += change;
 1129|     12|    }
 1130|      8|    return changes;
 1131|      8|}
flowgraph.c:remove_redundant_jumps:
 1180|      4|remove_redundant_jumps(cfg_builder *g) {
 1181|       |    /* If a non-empty block ends with a jump instruction, check if the next
 1182|       |     * non-empty block reached through normal flow control is the target
 1183|       |     * of that jump. If it is, then the jump instruction is redundant and
 1184|       |     * can be deleted.
 1185|       |     *
 1186|       |     * Return the number of changes applied, or -1 on error.
 1187|       |     */
 1188|       |
 1189|      4|    int changes = 0;
 1190|     10|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1190:43): [True: 6, False: 4]
  ------------------
 1191|      6|        cfg_instr *last = basicblock_last_instr(b);
 1192|      6|        if (last == NULL) {
  ------------------
  |  Branch (1192:13): [True: 2, False: 4]
  ------------------
 1193|      2|            continue;
 1194|      2|        }
 1195|      6|        assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
  ------------------
  |  Branch (1195:9): [True: 0, False: 4]
  |  Branch (1195:9): [True: 0, False: 4]
  |  Branch (1195:9): [True: 0, False: 4]
  ------------------
 1196|      4|        if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|      4|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|      8|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 4]
  |  |  ------------------
  |  |   41|      4|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|      8|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 4]
  |  |  ------------------
  |  |   42|      4|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|      8|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 4]
  |  |  ------------------
  |  |   43|      4|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|      8|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 4]
  |  |  ------------------
  |  |   44|      4|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      4|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 1197|      0|            basicblock* jump_target = next_nonempty_block(last->i_target);
 1198|      0|            if (jump_target == NULL) {
  ------------------
  |  Branch (1198:17): [True: 0, False: 0]
  ------------------
 1199|      0|                PyErr_SetString(PyExc_SystemError, "jump with NULL target");
 1200|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1201|      0|            }
 1202|      0|            basicblock *next = next_nonempty_block(b->b_next);
 1203|      0|            if (jump_target == next) {
  ------------------
  |  Branch (1203:17): [True: 0, False: 0]
  ------------------
 1204|      0|                changes++;
 1205|      0|                INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1205:17): [True: 0, False: 0]
  ------------------
 1206|      0|            }
 1207|      0|        }
 1208|      4|    }
 1209|       |
 1210|      4|    return changes;
 1211|      4|}
flowgraph.c:remove_unused_consts:
 3308|      2|{
 3309|      2|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (3309:5): [True: 2, False: 0]
  ------------------
 3310|      2|    Py_ssize_t nconsts = PyList_GET_SIZE(consts);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3311|      2|    if (nconsts == 0) {
  ------------------
  |  Branch (3311:9): [True: 0, False: 2]
  ------------------
 3312|      0|        return SUCCESS;  /* nothing to do */
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 3313|      0|    }
 3314|       |
 3315|      2|    Py_ssize_t *index_map = NULL;
 3316|      2|    Py_ssize_t *reverse_index_map = NULL;
 3317|      2|    int err = ERROR;
  ------------------
  |  |   22|      2|#define ERROR -1
  ------------------
 3318|       |
 3319|      2|    index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3320|      2|    if (index_map == NULL) {
  ------------------
  |  Branch (3320:9): [True: 0, False: 2]
  ------------------
 3321|      0|        PyErr_NoMemory();
 3322|      0|        goto end;
 3323|      0|    }
 3324|      2|    for (Py_ssize_t i = 1; i < nconsts; i++) {
  ------------------
  |  Branch (3324:28): [True: 0, False: 2]
  ------------------
 3325|      0|        index_map[i] = -1;
 3326|      0|    }
 3327|       |    // The first constant may be docstring; keep it always.
 3328|      2|    index_map[0] = 0;
 3329|       |
 3330|       |    /* mark used consts */
 3331|      5|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3331:38): [True: 3, False: 2]
  ------------------
 3332|     17|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3332:25): [True: 14, False: 3]
  ------------------
 3333|     14|            int opcode = b->b_instr[i].i_opcode;
 3334|     14|            if (OPCODE_HAS_CONST(opcode)) {
  ------------------
  |  | 1063|     14|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|     14|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 1, False: 13]
  |  |  ------------------
  ------------------
 3335|      1|                int index = b->b_instr[i].i_oparg;
 3336|      1|                index_map[index] = index;
 3337|      1|            }
 3338|     14|        }
 3339|      3|    }
 3340|       |    /* now index_map[i] == i if consts[i] is used, -1 otherwise */
 3341|       |    /* condense consts */
 3342|      2|    Py_ssize_t n_used_consts = 0;
 3343|      4|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3343:28): [True: 2, False: 2]
  ------------------
 3344|      2|        if (index_map[i] != -1) {
  ------------------
  |  Branch (3344:13): [True: 2, False: 0]
  ------------------
 3345|      2|            assert(index_map[i] == i);
  ------------------
  |  Branch (3345:13): [True: 2, False: 0]
  ------------------
 3346|      2|            index_map[n_used_consts++] = index_map[i];
 3347|      2|        }
 3348|      2|    }
 3349|      2|    if (n_used_consts == nconsts) {
  ------------------
  |  Branch (3349:9): [True: 2, False: 0]
  ------------------
 3350|       |        /* nothing to do */
 3351|      2|        err = SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3352|      2|        goto end;
 3353|      2|    }
 3354|       |
 3355|       |    /* move all used consts to the beginning of the consts list */
 3356|      2|    assert(n_used_consts < nconsts);
  ------------------
  |  Branch (3356:5): [True: 0, False: 0]
  ------------------
 3357|      0|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3357:28): [True: 0, False: 0]
  ------------------
 3358|      0|        Py_ssize_t old_index = index_map[i];
 3359|      0|        assert(i <= old_index && old_index < nconsts);
  ------------------
  |  Branch (3359:9): [True: 0, False: 0]
  |  Branch (3359:9): [True: 0, False: 0]
  ------------------
 3360|      0|        if (i != old_index) {
  ------------------
  |  Branch (3360:13): [True: 0, False: 0]
  ------------------
 3361|      0|            PyObject *value = PyList_GET_ITEM(consts, index_map[i]);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3361:31): [True: 0, False: 0]
  ------------------
 3362|      0|            assert(value != NULL);
  ------------------
  |  Branch (3362:13): [True: 0, False: 0]
  ------------------
 3363|      0|            PyList_SetItem(consts, i, Py_NewRef(value));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3364|      0|        }
 3365|      0|    }
 3366|       |
 3367|       |    /* truncate the consts list at its new size */
 3368|      0|    if (PyList_SetSlice(consts, n_used_consts, nconsts, NULL) < 0) {
  ------------------
  |  Branch (3368:9): [True: 0, False: 0]
  ------------------
 3369|      0|        goto end;
 3370|      0|    }
 3371|       |    /* adjust const indices in the bytecode */
 3372|      0|    reverse_index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3373|      0|    if (reverse_index_map == NULL) {
  ------------------
  |  Branch (3373:9): [True: 0, False: 0]
  ------------------
 3374|      0|        PyErr_NoMemory();
 3375|      0|        goto end;
 3376|      0|    }
 3377|      0|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3377:28): [True: 0, False: 0]
  ------------------
 3378|      0|        reverse_index_map[i] = -1;
 3379|      0|    }
 3380|      0|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3380:28): [True: 0, False: 0]
  ------------------
 3381|      0|        assert(index_map[i] != -1);
  ------------------
  |  Branch (3381:9): [True: 0, False: 0]
  ------------------
 3382|      0|        assert(reverse_index_map[index_map[i]] == -1);
  ------------------
  |  Branch (3382:9): [True: 0, False: 0]
  ------------------
 3383|      0|        reverse_index_map[index_map[i]] = i;
 3384|      0|    }
 3385|       |
 3386|      0|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3386:38): [True: 0, False: 0]
  ------------------
 3387|      0|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3387:25): [True: 0, False: 0]
  ------------------
 3388|      0|            int opcode = b->b_instr[i].i_opcode;
 3389|      0|            if (OPCODE_HAS_CONST(opcode)) {
  ------------------
  |  | 1063|      0|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|      0|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3390|      0|                int index = b->b_instr[i].i_oparg;
 3391|      0|                assert(reverse_index_map[index] >= 0);
  ------------------
  |  Branch (3391:17): [True: 0, False: 0]
  ------------------
 3392|      0|                assert(reverse_index_map[index] < n_used_consts);
  ------------------
  |  Branch (3392:17): [True: 0, False: 0]
  ------------------
 3393|      0|                b->b_instr[i].i_oparg = (int)reverse_index_map[index];
 3394|      0|            }
 3395|      0|        }
 3396|      0|    }
 3397|       |
 3398|      0|    err = SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
 3399|      2|end:
 3400|      2|    PyMem_Free(index_map);
 3401|      2|    PyMem_Free(reverse_index_map);
 3402|      2|    return err;
 3403|      0|}
flowgraph.c:add_checks_for_loads_of_uninitialized_variables:
 3411|      2|{
 3412|      2|    if (nlocals == 0) {
  ------------------
  |  Branch (3412:9): [True: 1, False: 1]
  ------------------
 3413|      1|        return SUCCESS;
  ------------------
  |  |   21|      1|#define SUCCESS 0
  ------------------
 3414|      1|    }
 3415|      1|    if (nlocals > 64) {
  ------------------
  |  Branch (3415:9): [True: 0, False: 1]
  ------------------
 3416|       |        // To avoid O(nlocals**2) compilation, locals beyond the first
 3417|       |        // 64 are only analyzed one basicblock at a time: initialization
 3418|       |        // info is not passed between basicblocks.
 3419|      0|        if (fast_scan_many_locals(entryblock, nlocals) < 0) {
  ------------------
  |  Branch (3419:13): [True: 0, False: 0]
  ------------------
 3420|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3421|      0|        }
 3422|      0|        nlocals = 64;
 3423|      0|    }
 3424|      1|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3425|      1|    if (stack == NULL) {
  ------------------
  |  Branch (3425:9): [True: 0, False: 1]
  ------------------
 3426|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3427|      0|    }
 3428|      1|    basicblock **sp = stack;
 3429|       |
 3430|       |    // First origin of being uninitialized:
 3431|       |    // The non-parameter locals in the entry block.
 3432|      1|    uint64_t start_mask = 0;
 3433|      1|    for (int i = nparams; i < nlocals; i++) {
  ------------------
  |  Branch (3433:27): [True: 0, False: 1]
  ------------------
 3434|      0|        start_mask |= (uint64_t)1 << i;
 3435|      0|    }
 3436|      1|    maybe_push(entryblock, start_mask, &sp);
 3437|       |
 3438|       |    // Second origin of being uninitialized:
 3439|       |    // There could be DELETE_FAST somewhere, so
 3440|       |    // be sure to scan each basicblock at least once.
 3441|      3|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3441:38): [True: 2, False: 1]
  ------------------
 3442|      2|        scan_block_for_locals(b, &sp);
 3443|      2|    }
 3444|       |    // Now propagate the uncertainty from the origins we found: Use
 3445|       |    // LOAD_FAST_CHECK for any LOAD_FAST where the local could be undefined.
 3446|      1|    while (sp > stack) {
  ------------------
  |  Branch (3446:12): [True: 0, False: 1]
  ------------------
 3447|      0|        basicblock *b = *--sp;
 3448|       |        // mark as no longer on stack
 3449|      0|        b->b_visited = 0;
 3450|      0|        scan_block_for_locals(b, &sp);
 3451|      0|    }
 3452|      1|    PyMem_Free(stack);
 3453|      1|    return SUCCESS;
  ------------------
  |  |   21|      1|#define SUCCESS 0
  ------------------
 3454|      1|}
flowgraph.c:maybe_push:
 3196|      1|{
 3197|       |    // Push b if the unsafe mask is giving us any new information.
 3198|       |    // To avoid overflowing the stack, only allow each block once.
 3199|       |    // Use b->b_visited=1 to mean that b is currently on the stack.
 3200|      1|    uint64_t both = b->b_unsafe_locals_mask | unsafe_mask;
 3201|      1|    if (b->b_unsafe_locals_mask != both) {
  ------------------
  |  Branch (3201:9): [True: 0, False: 1]
  ------------------
 3202|      0|        b->b_unsafe_locals_mask = both;
 3203|       |        // More work left to do.
 3204|      0|        if (!b->b_visited) {
  ------------------
  |  Branch (3204:13): [True: 0, False: 0]
  ------------------
 3205|       |            // not on the stack, so push it.
 3206|      0|            *(*sp)++ = b;
 3207|      0|            b->b_visited = 1;
 3208|      0|        }
 3209|      0|    }
 3210|      1|}
flowgraph.c:scan_block_for_locals:
 3214|      2|{
 3215|       |    // bit i is set if local i is potentially uninitialized
 3216|      2|    uint64_t unsafe_mask = b->b_unsafe_locals_mask;
 3217|     12|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3217:21): [True: 10, False: 2]
  ------------------
 3218|     10|        cfg_instr *instr = &b->b_instr[i];
 3219|     10|        assert(instr->i_opcode != EXTENDED_ARG);
  ------------------
  |  Branch (3219:9): [True: 10, False: 0]
  ------------------
 3220|     10|        if (instr->i_except != NULL) {
  ------------------
  |  Branch (3220:13): [True: 0, False: 10]
  ------------------
 3221|      0|            maybe_push(instr->i_except, unsafe_mask, sp);
 3222|      0|        }
 3223|     10|        if (instr->i_oparg >= 64) {
  ------------------
  |  Branch (3223:13): [True: 0, False: 10]
  ------------------
 3224|      0|            continue;
 3225|      0|        }
 3226|     10|        assert(instr->i_oparg >= 0);
  ------------------
  |  Branch (3226:9): [True: 10, False: 0]
  ------------------
 3227|     10|        uint64_t bit = (uint64_t)1 << instr->i_oparg;
 3228|     10|        switch (instr->i_opcode) {
  ------------------
  |  Branch (3228:17): [True: 5, False: 5]
  ------------------
 3229|      0|            case DELETE_FAST:
  ------------------
  |  |   73|      0|#define DELETE_FAST                             60
  ------------------
  |  Branch (3229:13): [True: 0, False: 10]
  ------------------
 3230|      0|            case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   94|      0|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (3230:13): [True: 0, False: 10]
  ------------------
 3231|      0|            case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  254|      0|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3231:13): [True: 0, False: 10]
  ------------------
 3232|      0|                unsafe_mask |= bit;
 3233|      0|                break;
 3234|      0|            case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (3234:13): [True: 0, False: 10]
  ------------------
 3235|      0|                unsafe_mask &= ~bit;
 3236|      0|                break;
 3237|      0|            case LOAD_FAST_CHECK:
  ------------------
  |  |   97|      0|#define LOAD_FAST_CHECK                         84
  ------------------
  |  Branch (3237:13): [True: 0, False: 10]
  ------------------
 3238|       |                // If this doesn't raise, then the local is defined.
 3239|      0|                unsafe_mask &= ~bit;
 3240|      0|                break;
 3241|      5|            case LOAD_FAST:
  ------------------
  |  |   93|      5|#define LOAD_FAST                               80
  ------------------
  |  Branch (3241:13): [True: 5, False: 5]
  ------------------
 3242|      5|                if (unsafe_mask & bit) {
  ------------------
  |  Branch (3242:21): [True: 0, False: 5]
  ------------------
 3243|      0|                    instr->i_opcode = LOAD_FAST_CHECK;
  ------------------
  |  |   97|      0|#define LOAD_FAST_CHECK                         84
  ------------------
 3244|      0|                }
 3245|      5|                unsafe_mask &= ~bit;
 3246|      5|                break;
 3247|     10|        }
 3248|     10|    }
 3249|      2|    if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|      1|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 1]
  |  |  ------------------
  ------------------
  |  Branch (3249:9): [True: 1, False: 1]
  ------------------
 3250|      0|        maybe_push(b->b_next, unsafe_mask, sp);
 3251|      0|    }
 3252|      2|    cfg_instr *last = basicblock_last_instr(b);
 3253|      2|    if (last && is_jump(last)) {
  ------------------
  |  Branch (3253:9): [True: 1, False: 1]
  |  Branch (3253:17): [True: 0, False: 1]
  ------------------
 3254|      0|        assert(last->i_target != NULL);
  ------------------
  |  Branch (3254:9): [True: 0, False: 0]
  ------------------
 3255|      0|        maybe_push(last->i_target, unsafe_mask, sp);
 3256|      0|    }
 3257|      2|}
flowgraph.c:push_cold_blocks_to_end:
 3539|      2|push_cold_blocks_to_end(cfg_builder *g) {
 3540|      2|    basicblock *entryblock = g->g_entryblock;
 3541|      2|    if (entryblock->b_next == NULL) {
  ------------------
  |  Branch (3541:9): [True: 1, False: 1]
  ------------------
 3542|       |        /* single basicblock, no need to reorder */
 3543|      1|        return SUCCESS;
  ------------------
  |  |   21|      1|#define SUCCESS 0
  ------------------
 3544|      1|    }
 3545|      1|    RETURN_IF_ERROR(mark_cold(entryblock));
  ------------------
  |  |   25|      1|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 1]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3546|       |
 3547|      1|    int next_lbl = get_max_label(g->g_entryblock) + 1;
 3548|       |
 3549|       |    /* If we have a cold block with fallthrough to a warm block, add */
 3550|       |    /* an explicit jump instead of fallthrough */
 3551|      3|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3551:38): [True: 2, False: 1]
  ------------------
 3552|      2|        if (b->b_cold && BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_next->b_warm) {
  ------------------
  |  |  253|      2|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3552:13): [True: 0, False: 2]
  |  Branch (3552:51): [True: 0, False: 0]
  |  Branch (3552:64): [True: 0, False: 0]
  ------------------
 3553|      0|            basicblock *explicit_jump = cfg_builder_new_block(g);
 3554|      0|            if (explicit_jump == NULL) {
  ------------------
  |  Branch (3554:17): [True: 0, False: 0]
  ------------------
 3555|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3556|      0|            }
 3557|      0|            if (!IS_LABEL(b->b_next->b_label)) {
  ------------------
  |  |   96|      0|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|      0|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  ------------------
  |  Branch (3557:17): [True: 0, False: 0]
  ------------------
 3558|      0|                b->b_next->b_label.id = next_lbl++;
 3559|      0|            }
 3560|      0|            RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3561|      0|                basicblock_addop(explicit_jump, JUMP_NO_INTERRUPT,
 3562|      0|                                 b->b_next->b_label.id, NO_LOCATION, NULL));
 3563|      0|            explicit_jump->b_cold = 1;
 3564|      0|            explicit_jump->b_next = b->b_next;
 3565|      0|            explicit_jump->b_predecessors = 1;
 3566|      0|            b->b_next = explicit_jump;
 3567|       |
 3568|       |            /* set target */
 3569|      0|            cfg_instr *last = basicblock_last_instr(explicit_jump);
 3570|      0|            last->i_target = explicit_jump->b_next;
 3571|      0|        }
 3572|      2|    }
 3573|       |
 3574|      1|    assert(!entryblock->b_cold);  /* First block can't be cold */
  ------------------
  |  Branch (3574:5): [True: 1, False: 0]
  ------------------
 3575|      1|    basicblock *cold_blocks = NULL;
 3576|      1|    basicblock *cold_blocks_tail = NULL;
 3577|       |
 3578|      1|    basicblock *b = entryblock;
 3579|      1|    while(b->b_next) {
  ------------------
  |  Branch (3579:11): [True: 1, False: 0]
  ------------------
 3580|      1|        assert(!b->b_cold);
  ------------------
  |  Branch (3580:9): [True: 1, False: 0]
  ------------------
 3581|      2|        while (b->b_next && !b->b_next->b_cold) {
  ------------------
  |  Branch (3581:16): [True: 1, False: 1]
  |  Branch (3581:29): [True: 1, False: 0]
  ------------------
 3582|      1|            b = b->b_next;
 3583|      1|        }
 3584|      1|        if (b->b_next == NULL) {
  ------------------
  |  Branch (3584:13): [True: 1, False: 0]
  ------------------
 3585|       |            /* no more cold blocks */
 3586|      1|            break;
 3587|      1|        }
 3588|       |
 3589|       |        /* b->b_next is the beginning of a cold streak */
 3590|      1|        assert(!b->b_cold && b->b_next->b_cold);
  ------------------
  |  Branch (3590:9): [True: 0, False: 0]
  |  Branch (3590:9): [True: 0, False: 0]
  ------------------
 3591|       |
 3592|      0|        basicblock *b_end = b->b_next;
 3593|      0|        while (b_end->b_next && b_end->b_next->b_cold) {
  ------------------
  |  Branch (3593:16): [True: 0, False: 0]
  |  Branch (3593:33): [True: 0, False: 0]
  ------------------
 3594|      0|            b_end = b_end->b_next;
 3595|      0|        }
 3596|       |
 3597|       |        /* b_end is the end of the cold streak */
 3598|      0|        assert(b_end && b_end->b_cold);
  ------------------
  |  Branch (3598:9): [True: 0, False: 0]
  |  Branch (3598:9): [True: 0, False: 0]
  ------------------
 3599|      0|        assert(b_end->b_next == NULL || !b_end->b_next->b_cold);
  ------------------
  |  Branch (3599:9): [True: 0, False: 0]
  |  Branch (3599:9): [True: 0, False: 0]
  ------------------
 3600|       |
 3601|      0|        if (cold_blocks == NULL) {
  ------------------
  |  Branch (3601:13): [True: 0, False: 0]
  ------------------
 3602|      0|            cold_blocks = b->b_next;
 3603|      0|        }
 3604|      0|        else {
 3605|      0|            cold_blocks_tail->b_next = b->b_next;
 3606|      0|        }
 3607|      0|        cold_blocks_tail = b_end;
 3608|      0|        b->b_next = b_end->b_next;
 3609|      0|        b_end->b_next = NULL;
 3610|      0|    }
 3611|      1|    assert(b != NULL && b->b_next == NULL);
  ------------------
  |  Branch (3611:5): [True: 1, False: 0]
  |  Branch (3611:5): [True: 1, False: 0]
  ------------------
 3612|      1|    b->b_next = cold_blocks;
 3613|       |
 3614|      1|    if (cold_blocks != NULL) {
  ------------------
  |  Branch (3614:9): [True: 0, False: 1]
  ------------------
 3615|      0|        RETURN_IF_ERROR(remove_redundant_nops_and_jumps(g));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3616|      0|    }
 3617|      1|    return SUCCESS;
  ------------------
  |  |   21|      1|#define SUCCESS 0
  ------------------
 3618|      1|}
flowgraph.c:mark_cold:
 3489|      1|mark_cold(basicblock *entryblock) {
 3490|      3|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3490:38): [True: 2, False: 1]
  ------------------
 3491|      2|        assert(!b->b_cold && !b->b_warm);
  ------------------
  |  Branch (3491:9): [True: 2, False: 0]
  |  Branch (3491:9): [True: 2, False: 0]
  ------------------
 3492|      2|    }
 3493|      1|    if (mark_warm(entryblock) < 0) {
  ------------------
  |  Branch (3493:9): [True: 0, False: 1]
  ------------------
 3494|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3495|      0|    }
 3496|       |
 3497|      1|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3498|      1|    if (stack == NULL) {
  ------------------
  |  Branch (3498:9): [True: 0, False: 1]
  ------------------
 3499|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3500|      0|    }
 3501|       |
 3502|      1|    basicblock **sp = stack;
 3503|      3|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3503:38): [True: 2, False: 1]
  ------------------
 3504|      2|        if (b->b_except_handler) {
  ------------------
  |  Branch (3504:13): [True: 0, False: 2]
  ------------------
 3505|      0|            assert(!b->b_warm);
  ------------------
  |  Branch (3505:13): [True: 0, False: 0]
  ------------------
 3506|      0|            *sp++ = b;
 3507|      0|            b->b_visited = 1;
 3508|      0|        }
 3509|      2|    }
 3510|       |
 3511|      1|    while (sp > stack) {
  ------------------
  |  Branch (3511:12): [True: 0, False: 1]
  ------------------
 3512|      0|        basicblock *b = *(--sp);
 3513|      0|        b->b_cold = 1;
 3514|      0|        basicblock *next = b->b_next;
 3515|      0|        if (next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|      0|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3515:13): [True: 0, False: 0]
  ------------------
 3516|      0|            if (!next->b_warm && !next->b_visited) {
  ------------------
  |  Branch (3516:17): [True: 0, False: 0]
  |  Branch (3516:34): [True: 0, False: 0]
  ------------------
 3517|      0|                *sp++ = next;
 3518|      0|                next->b_visited = 1;
 3519|      0|            }
 3520|      0|        }
 3521|      0|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3521:25): [True: 0, False: 0]
  ------------------
 3522|      0|            cfg_instr *instr = &b->b_instr[i];
 3523|      0|            if (is_jump(instr)) {
  ------------------
  |  Branch (3523:17): [True: 0, False: 0]
  ------------------
 3524|      0|                assert(i == b->b_iused - 1);
  ------------------
  |  Branch (3524:17): [True: 0, False: 0]
  ------------------
 3525|      0|                basicblock *target = b->b_instr[i].i_target;
 3526|      0|                if (!target->b_warm && !target->b_visited) {
  ------------------
  |  Branch (3526:21): [True: 0, False: 0]
  |  Branch (3526:40): [True: 0, False: 0]
  ------------------
 3527|      0|                    *sp++ = target;
 3528|      0|                    target->b_visited = 1;
 3529|      0|                }
 3530|      0|            }
 3531|      0|        }
 3532|      0|    }
 3533|      1|    PyMem_Free(stack);
 3534|      1|    return SUCCESS;
  ------------------
  |  |   21|      1|#define SUCCESS 0
  ------------------
 3535|      1|}
flowgraph.c:mark_warm:
 3458|      1|mark_warm(basicblock *entryblock) {
 3459|      1|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3460|      1|    if (stack == NULL) {
  ------------------
  |  Branch (3460:9): [True: 0, False: 1]
  ------------------
 3461|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3462|      0|    }
 3463|      1|    basicblock **sp = stack;
 3464|       |
 3465|      1|    *sp++ = entryblock;
 3466|      1|    entryblock->b_visited = 1;
 3467|      2|    while (sp > stack) {
  ------------------
  |  Branch (3467:12): [True: 1, False: 1]
  ------------------
 3468|      1|        basicblock *b = *(--sp);
 3469|      1|        assert(!b->b_except_handler);
  ------------------
  |  Branch (3469:9): [True: 1, False: 0]
  ------------------
 3470|      1|        b->b_warm = 1;
 3471|      1|        basicblock *next = b->b_next;
 3472|      1|        if (next && BB_HAS_FALLTHROUGH(b) && !next->b_visited) {
  ------------------
  |  |  253|      2|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 1]
  |  |  ------------------
  ------------------
  |  Branch (3472:13): [True: 1, False: 0]
  |  Branch (3472:46): [True: 0, False: 0]
  ------------------
 3473|      0|            *sp++ = next;
 3474|      0|            next->b_visited = 1;
 3475|      0|        }
 3476|     11|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3476:23): [True: 10, False: 1]
  ------------------
 3477|     10|            cfg_instr *instr = &b->b_instr[i];
 3478|     10|            if (is_jump(instr) && !instr->i_target->b_visited) {
  ------------------
  |  Branch (3478:17): [True: 0, False: 10]
  |  Branch (3478:35): [True: 0, False: 0]
  ------------------
 3479|      0|                *sp++ = instr->i_target;
 3480|      0|                instr->i_target->b_visited = 1;
 3481|      0|            }
 3482|     10|        }
 3483|      1|    }
 3484|      1|    PyMem_Free(stack);
 3485|      1|    return SUCCESS;
  ------------------
  |  |   21|      1|#define SUCCESS 0
  ------------------
 3486|      1|}
flowgraph.c:resolve_line_numbers:
 3794|      4|{
 3795|      4|    RETURN_IF_ERROR(duplicate_exits_without_lineno(g));
  ------------------
  |  |   25|      4|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3796|      4|    propagate_line_numbers(g->g_entryblock);
 3797|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 3798|      4|}
flowgraph.c:duplicate_exits_without_lineno:
 3700|      4|{
 3701|      4|    int next_lbl = get_max_label(g->g_entryblock) + 1;
 3702|       |
 3703|       |    /* Copy all exit blocks without line number that are targets of a jump.
 3704|       |     */
 3705|      4|    basicblock *entryblock = g->g_entryblock;
 3706|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3706:38): [True: 6, False: 4]
  ------------------
 3707|      6|        cfg_instr *last = basicblock_last_instr(b);
 3708|      6|        if (last == NULL) {
  ------------------
  |  Branch (3708:13): [True: 2, False: 4]
  ------------------
 3709|      2|            continue;
 3710|      2|        }
 3711|      4|        if (is_jump(last)) {
  ------------------
  |  Branch (3711:13): [True: 0, False: 4]
  ------------------
 3712|      0|            basicblock *target = next_nonempty_block(last->i_target);
 3713|      0|            if (is_exit_or_eval_check_without_lineno(target) && target->b_predecessors > 1) {
  ------------------
  |  Branch (3713:17): [True: 0, False: 0]
  |  Branch (3713:65): [True: 0, False: 0]
  ------------------
 3714|      0|                basicblock *new_target = copy_basicblock(g, target);
 3715|      0|                if (new_target == NULL) {
  ------------------
  |  Branch (3715:21): [True: 0, False: 0]
  ------------------
 3716|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3717|      0|                }
 3718|      0|                new_target->b_instr[0].i_loc = last->i_loc;
 3719|      0|                last->i_target = new_target;
 3720|      0|                target->b_predecessors--;
 3721|      0|                new_target->b_predecessors = 1;
 3722|      0|                new_target->b_next = target->b_next;
 3723|      0|                new_target->b_label.id = next_lbl++;
 3724|      0|                target->b_next = new_target;
 3725|      0|            }
 3726|      0|        }
 3727|      4|    }
 3728|       |
 3729|       |    /* Any remaining reachable exit blocks without line number can only be reached by
 3730|       |     * fall through, and thus can only have a single predecessor */
 3731|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3731:38): [True: 6, False: 4]
  ------------------
 3732|      6|        if (BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_iused > 0) {
  ------------------
  |  |  253|     12|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 2, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (3732:38): [True: 0, False: 2]
  |  Branch (3732:51): [True: 0, False: 0]
  ------------------
 3733|      0|            if (is_exit_or_eval_check_without_lineno(b->b_next)) {
  ------------------
  |  Branch (3733:17): [True: 0, False: 0]
  ------------------
 3734|      0|                cfg_instr *last = basicblock_last_instr(b);
 3735|      0|                assert(last != NULL);
  ------------------
  |  Branch (3735:17): [True: 0, False: 0]
  ------------------
 3736|      0|                b->b_next->b_instr[0].i_loc = last->i_loc;
 3737|      0|            }
 3738|      0|        }
 3739|      6|    }
 3740|      4|    return SUCCESS;
  ------------------
  |  |   21|      4|#define SUCCESS 0
  ------------------
 3741|      4|}
flowgraph.c:propagate_line_numbers:
 3763|      4|{
 3764|     10|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3764:38): [True: 6, False: 4]
  ------------------
 3765|      6|        cfg_instr *last = basicblock_last_instr(b);
 3766|      6|        if (last == NULL) {
  ------------------
  |  Branch (3766:13): [True: 2, False: 4]
  ------------------
 3767|      2|            continue;
 3768|      2|        }
 3769|       |
 3770|      4|        location prev_location = NO_LOCATION;
 3771|     33|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3771:25): [True: 29, False: 4]
  ------------------
 3772|     29|            maybe_propagate_location(b, i, prev_location);
 3773|     29|            prev_location = b->b_instr[i].i_loc;
 3774|     29|        }
 3775|      4|        if (BB_HAS_FALLTHROUGH(b) && b->b_next->b_predecessors == 1) {
  ------------------
  |  |  253|      8|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (3775:38): [True: 0, False: 0]
  ------------------
 3776|      0|            if (b->b_next->b_iused > 0) {
  ------------------
  |  Branch (3776:17): [True: 0, False: 0]
  ------------------
 3777|      0|                maybe_propagate_location(b->b_next, 0, prev_location);
 3778|      0|            }
 3779|      0|        }
 3780|      4|        if (is_jump(last)) {
  ------------------
  |  Branch (3780:13): [True: 0, False: 4]
  ------------------
 3781|      0|            basicblock *target = last->i_target;
 3782|      0|            while (target->b_iused == 0 && target->b_predecessors == 1) {
  ------------------
  |  Branch (3782:20): [True: 0, False: 0]
  |  Branch (3782:44): [True: 0, False: 0]
  ------------------
 3783|      0|                target = target->b_next;
 3784|      0|            }
 3785|      0|            if (target->b_predecessors == 1) {
  ------------------
  |  Branch (3785:17): [True: 0, False: 0]
  ------------------
 3786|      0|                maybe_propagate_location(target, 0, prev_location);
 3787|      0|            }
 3788|      0|        }
 3789|      4|    }
 3790|      4|}
flowgraph.c:maybe_propagate_location:
 3754|     29|{
 3755|     29|    assert(b->b_iused > i);
  ------------------
  |  Branch (3755:5): [True: 29, False: 0]
  ------------------
 3756|     29|    if (b->b_instr[i].i_loc.lineno == NO_LOCATION.lineno) {
  ------------------
  |  Branch (3756:9): [True: 1, False: 28]
  ------------------
 3757|      1|         b->b_instr[i].i_loc = loc;
 3758|      1|    }
 3759|     29|}
flowgraph.c:convert_pseudo_conditional_jumps:
 3622|      2|{
 3623|      2|    basicblock *entryblock = g->g_entryblock;
 3624|      5|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3624:38): [True: 3, False: 2]
  ------------------
 3625|     17|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3625:25): [True: 14, False: 3]
  ------------------
 3626|     14|            cfg_instr *instr = &b->b_instr[i];
 3627|     14|            if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  246|     28|#define JUMP_IF_FALSE                          258
  ------------------
                          if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  247|     14|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (3627:17): [True: 0, False: 14]
  |  Branch (3627:53): [True: 0, False: 14]
  ------------------
 3628|      0|                assert(i == b->b_iused - 1);
  ------------------
  |  Branch (3628:17): [True: 0, False: 0]
  ------------------
 3629|      0|                instr->i_opcode = instr->i_opcode == JUMP_IF_FALSE ?
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (3629:35): [True: 0, False: 0]
  ------------------
 3630|      0|                                          POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE;
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
                                                        POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
 3631|      0|                location loc = instr->i_loc;
 3632|      0|                basicblock *except = instr->i_except;
 3633|      0|                cfg_instr copy = {
 3634|      0|                            .i_opcode = COPY,
  ------------------
  |  |   70|      0|#define COPY                                    57
  ------------------
 3635|      0|                            .i_oparg = 1,
 3636|      0|                            .i_loc = loc,
 3637|      0|                            .i_target = NULL,
 3638|      0|                            .i_except = except,
 3639|      0|                };
 3640|      0|                RETURN_IF_ERROR(basicblock_insert_instruction(b, i++, &copy));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3641|      0|                cfg_instr to_bool = {
 3642|      0|                            .i_opcode = TO_BOOL,
  ------------------
  |  |   50|      0|#define TO_BOOL                                 37
  ------------------
 3643|      0|                            .i_oparg = 0,
 3644|      0|                            .i_loc = loc,
 3645|      0|                            .i_target = NULL,
 3646|      0|                            .i_except = except,
 3647|      0|                };
 3648|      0|                RETURN_IF_ERROR(basicblock_insert_instruction(b, i++, &to_bool));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3649|      0|            }
 3650|     14|        }
 3651|      3|    }
 3652|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3653|      2|}
flowgraph.c:calculate_stackdepth:
  825|      2|{
  826|      2|    basicblock *entryblock = g->g_entryblock;
  827|      5|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (827:38): [True: 3, False: 2]
  ------------------
  828|      3|        b->b_startdepth = INT_MIN;
  829|      3|    }
  830|      2|    basicblock **stack = make_cfg_traversal_stack(entryblock);
  831|      2|    if (!stack) {
  ------------------
  |  Branch (831:9): [True: 0, False: 2]
  ------------------
  832|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  833|      0|    }
  834|       |
  835|       |
  836|      2|    int stackdepth = -1;
  837|      2|    int maxdepth = 0;
  838|      2|    basicblock **sp = stack;
  839|      2|    if (stackdepth_push(&sp, entryblock, 0) < 0) {
  ------------------
  |  Branch (839:9): [True: 0, False: 2]
  ------------------
  840|      0|        goto error;
  841|      0|    }
  842|      4|    while (sp != stack) {
  ------------------
  |  Branch (842:12): [True: 2, False: 2]
  ------------------
  843|      2|        basicblock *b = *--sp;
  844|      2|        int depth = b->b_startdepth;
  845|      2|        assert(depth >= 0);
  ------------------
  |  Branch (845:9): [True: 2, False: 0]
  ------------------
  846|      2|        basicblock *next = b->b_next;
  847|     14|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (847:25): [True: 14, False: 0]
  ------------------
  848|     14|            cfg_instr *instr = &b->b_instr[i];
  849|     14|            stack_effects effects;
  850|     14|            if (get_stack_effects(instr->i_opcode, instr->i_oparg, 0, &effects) < 0) {
  ------------------
  |  Branch (850:17): [True: 0, False: 14]
  ------------------
  851|      0|                PyErr_Format(PyExc_SystemError,
  852|      0|                             "Invalid stack effect for opcode=%d, arg=%i",
  853|      0|                             instr->i_opcode, instr->i_oparg);
  854|      0|                goto error;
  855|      0|            }
  856|     14|            int new_depth = depth + effects.net;
  857|     14|            if (new_depth < 0) {
  ------------------
  |  Branch (857:17): [True: 0, False: 14]
  ------------------
  858|      0|                PyErr_Format(PyExc_ValueError,
  859|      0|                             "Invalid CFG, stack underflow at line %d", instr->i_loc.lineno);
  860|      0|                goto error;
  861|      0|            }
  862|     14|            maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  133|     14|       __extension__ \
  |  |  134|     14|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|     14|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|     14|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 2, False: 12]
  |  |  ------------------
  ------------------
  863|     14|            if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   23|     28|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     28|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|     14|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|     14|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     28|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |   19|     14|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     28|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |   20|     14|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     14|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   76|      0|#define END_ASYNC_FOR                           63
  ------------------
  |  Branch (863:48): [True: 0, False: 0]
  ------------------
  864|      0|                if (get_stack_effects(instr->i_opcode, instr->i_oparg, 1, &effects) < 0) {
  ------------------
  |  Branch (864:21): [True: 0, False: 0]
  ------------------
  865|      0|                    PyErr_Format(PyExc_SystemError,
  866|      0|                                 "Invalid stack effect for opcode=%d, arg=%i",
  867|      0|                                 instr->i_opcode, instr->i_oparg);
  868|      0|                    goto error;
  869|      0|                }
  870|      0|                int target_depth = depth + effects.net;
  871|      0|                assert(target_depth >= 0); /* invalid code or bug in stackdepth() */
  ------------------
  |  Branch (871:17): [True: 0, False: 0]
  ------------------
  872|      0|                maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  133|      0|       __extension__ \
  |  |  134|      0|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|      0|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|      0|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  873|      0|                if (stackdepth_push(&sp, instr->i_target, target_depth) < 0) {
  ------------------
  |  Branch (873:21): [True: 0, False: 0]
  ------------------
  874|      0|                    goto error;
  875|      0|                }
  876|      0|            }
  877|     14|            depth = new_depth;
  878|     14|            assert(!IS_ASSEMBLER_OPCODE(instr->i_opcode));
  ------------------
  |  Branch (878:13): [True: 0, False: 14]
  |  Branch (878:13): [True: 0, False: 14]
  |  Branch (878:13): [True: 0, False: 14]
  ------------------
  879|     14|            if (IS_UNCONDITIONAL_JUMP_OPCODE(instr->i_opcode) ||
  ------------------
  |  |   40|     28|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|     28|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 14]
  |  |  ------------------
  |  |   41|     14|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|     28|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 14]
  |  |  ------------------
  |  |   42|     14|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|     28|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 14]
  |  |  ------------------
  |  |   43|     14|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|     28|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 14]
  |  |  ------------------
  |  |   44|     28|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|     14|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 14]
  |  |  ------------------
  ------------------
  880|     14|                IS_SCOPE_EXIT_OPCODE(instr->i_opcode))
  ------------------
  |  |   53|     14|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|     28|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 2, False: 12]
  |  |  ------------------
  |  |   54|     14|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  113|     26|#define RAISE_VARARGS                          100
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 0, False: 12]
  |  |  ------------------
  |  |   55|     14|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  114|     12|#define RERAISE                                101
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 0, False: 12]
  |  |  ------------------
  ------------------
  881|      2|            {
  882|       |                /* remaining code is dead */
  883|      2|                next = NULL;
  884|      2|                break;
  885|      2|            }
  886|     14|        }
  887|      2|        if (next != NULL) {
  ------------------
  |  Branch (887:13): [True: 0, False: 2]
  ------------------
  888|      0|            assert(BB_HAS_FALLTHROUGH(b));
  ------------------
  |  Branch (888:13): [True: 0, False: 0]
  ------------------
  889|      0|            if (stackdepth_push(&sp, next, depth) < 0) {
  ------------------
  |  Branch (889:17): [True: 0, False: 0]
  ------------------
  890|      0|                goto error;
  891|      0|            }
  892|      0|        }
  893|      2|    }
  894|      2|    stackdepth = maxdepth;
  895|      2|error:
  896|      2|    PyMem_Free(stack);
  897|      2|    return stackdepth;
  898|      2|}
flowgraph.c:stackdepth_push:
  807|      2|{
  808|      2|    if (!(b->b_startdepth < 0 || b->b_startdepth == depth)) {
  ------------------
  |  Branch (808:11): [True: 2, False: 0]
  |  Branch (808:34): [True: 0, False: 0]
  ------------------
  809|      0|        PyErr_Format(PyExc_ValueError, "Invalid CFG, inconsistent stackdepth");
  810|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  811|      0|    }
  812|      2|    if (b->b_startdepth < depth && b->b_startdepth < 100) {
  ------------------
  |  Branch (812:9): [True: 2, False: 0]
  |  Branch (812:36): [True: 2, False: 0]
  ------------------
  813|      2|        assert(b->b_startdepth < 0);
  ------------------
  |  Branch (813:9): [True: 2, False: 0]
  ------------------
  814|      2|        b->b_startdepth = depth;
  815|      2|        *(*sp)++ = b;
  816|      2|    }
  817|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
  818|      2|}
flowgraph.c:prepare_localsplus:
 4005|      2|{
 4006|      2|    assert(PyDict_GET_SIZE(umd->u_varnames) < INT_MAX);
  ------------------
  |  Branch (4006:5): [True: 2, False: 0]
  ------------------
 4007|      2|    assert(PyDict_GET_SIZE(umd->u_cellvars) < INT_MAX);
  ------------------
  |  Branch (4007:5): [True: 2, False: 0]
  ------------------
 4008|      2|    assert(PyDict_GET_SIZE(umd->u_freevars) < INT_MAX);
  ------------------
  |  Branch (4008:5): [True: 2, False: 0]
  ------------------
 4009|      2|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4010|      2|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4011|      2|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4012|      2|    assert(INT_MAX - nlocals - ncellvars > 0);
  ------------------
  |  Branch (4012:5): [True: 2, False: 0]
  ------------------
 4013|      2|    assert(INT_MAX - nlocals - ncellvars - nfreevars > 0);
  ------------------
  |  Branch (4013:5): [True: 2, False: 0]
  ------------------
 4014|      2|    int nlocalsplus = nlocals + ncellvars + nfreevars;
 4015|      2|    int* cellfixedoffsets = build_cellfixedoffsets(umd);
 4016|      2|    if (cellfixedoffsets == NULL) {
  ------------------
  |  Branch (4016:9): [True: 0, False: 2]
  ------------------
 4017|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4018|      0|    }
 4019|       |
 4020|       |    // This must be called before fix_cell_offsets().
 4021|      2|    if (insert_prefix_instructions(umd, g->g_entryblock, cellfixedoffsets, nfreevars)) {
  ------------------
  |  Branch (4021:9): [True: 0, False: 2]
  ------------------
 4022|      0|        PyMem_Free(cellfixedoffsets);
 4023|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4024|      0|    }
 4025|       |
 4026|      2|    int numdropped = fix_cell_offsets(umd, g->g_entryblock, cellfixedoffsets);
 4027|      2|    PyMem_Free(cellfixedoffsets);  // At this point we're done with it.
 4028|      2|    cellfixedoffsets = NULL;
 4029|      2|    if (numdropped < 0) {
  ------------------
  |  Branch (4029:9): [True: 0, False: 2]
  ------------------
 4030|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4031|      0|    }
 4032|       |
 4033|      2|    nlocalsplus -= numdropped;
 4034|      2|    return nlocalsplus;
 4035|      2|}
flowgraph.c:build_cellfixedoffsets:
 3853|      2|{
 3854|      2|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3855|      2|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3856|      2|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3857|       |
 3858|      2|    int noffsets = ncellvars + nfreevars;
 3859|      2|    int *fixed = PyMem_New(int, noffsets);
  ------------------
  |  |   64|      2|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 2]
  |  |  ------------------
  |  |   65|      2|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3860|      2|    if (fixed == NULL) {
  ------------------
  |  Branch (3860:9): [True: 0, False: 2]
  ------------------
 3861|      0|        PyErr_NoMemory();
 3862|      0|        return NULL;
 3863|      0|    }
 3864|      2|    for (int i = 0; i < noffsets; i++) {
  ------------------
  |  Branch (3864:21): [True: 0, False: 2]
  ------------------
 3865|      0|        fixed[i] = nlocals + i;
 3866|      0|    }
 3867|       |
 3868|      2|    PyObject *varname, *cellindex;
 3869|      2|    Py_ssize_t pos = 0;
 3870|      2|    while (PyDict_Next(umd->u_cellvars, &pos, &varname, &cellindex)) {
  ------------------
  |  Branch (3870:12): [True: 0, False: 2]
  ------------------
 3871|      0|        PyObject *varindex;
 3872|      0|        if (PyDict_GetItemRef(umd->u_varnames, varname, &varindex) < 0) {
  ------------------
  |  Branch (3872:13): [True: 0, False: 0]
  ------------------
 3873|      0|            goto error;
 3874|      0|        }
 3875|      0|        if (varindex == NULL) {
  ------------------
  |  Branch (3875:13): [True: 0, False: 0]
  ------------------
 3876|      0|            continue;
 3877|      0|        }
 3878|       |
 3879|      0|        int argoffset = PyLong_AsInt(varindex);
 3880|      0|        Py_DECREF(varindex);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3881|      0|        if (argoffset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3881:13): [True: 0, False: 0]
  |  Branch (3881:32): [True: 0, False: 0]
  ------------------
 3882|      0|            goto error;
 3883|      0|        }
 3884|       |
 3885|      0|        int oldindex = PyLong_AsInt(cellindex);
 3886|      0|        if (oldindex == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3886:13): [True: 0, False: 0]
  |  Branch (3886:31): [True: 0, False: 0]
  ------------------
 3887|      0|            goto error;
 3888|      0|        }
 3889|      0|        fixed[oldindex] = argoffset;
 3890|      0|    }
 3891|      2|    return fixed;
 3892|       |
 3893|      0|error:
 3894|      0|    PyMem_Free(fixed);
 3895|       |    return NULL;
 3896|      2|}
flowgraph.c:insert_prefix_instructions:
 3904|      2|{
 3905|      2|    assert(umd->u_firstlineno > 0);
  ------------------
  |  Branch (3905:5): [True: 2, False: 0]
  ------------------
 3906|       |
 3907|       |    /* Set up cells for any variable that escapes, to be put in a closure. */
 3908|      2|    const int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3909|      2|    if (ncellvars) {
  ------------------
  |  Branch (3909:9): [True: 0, False: 2]
  ------------------
 3910|       |        // umd->u_cellvars has the cells out of order so we sort them
 3911|       |        // before adding the MAKE_CELL instructions.  Note that we
 3912|       |        // adjust for arg cells, which come first.
 3913|      0|        const int nvars = ncellvars + (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3914|      0|        int *sorted = PyMem_RawCalloc(nvars, sizeof(int));
 3915|      0|        if (sorted == NULL) {
  ------------------
  |  Branch (3915:13): [True: 0, False: 0]
  ------------------
 3916|      0|            PyErr_NoMemory();
 3917|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3918|      0|        }
 3919|      0|        for (int i = 0; i < ncellvars; i++) {
  ------------------
  |  Branch (3919:25): [True: 0, False: 0]
  ------------------
 3920|      0|            sorted[fixed[i]] = i + 1;
 3921|      0|        }
 3922|      0|        for (int i = 0, ncellsused = 0; ncellsused < ncellvars; i++) {
  ------------------
  |  Branch (3922:41): [True: 0, False: 0]
  ------------------
 3923|      0|            int oldindex = sorted[i] - 1;
 3924|      0|            if (oldindex == -1) {
  ------------------
  |  Branch (3924:17): [True: 0, False: 0]
  ------------------
 3925|      0|                continue;
 3926|      0|            }
 3927|      0|            cfg_instr make_cell = {
 3928|      0|                .i_opcode = MAKE_CELL,
  ------------------
  |  |  106|      0|#define MAKE_CELL                               93
  ------------------
 3929|       |                // This will get fixed in offset_derefs().
 3930|      0|                .i_oparg = oldindex,
 3931|      0|                .i_loc = NO_LOCATION,
 3932|      0|                .i_target = NULL,
 3933|      0|                .i_except = NULL,
 3934|      0|            };
 3935|      0|            if (basicblock_insert_instruction(entryblock, ncellsused, &make_cell) < 0) {
  ------------------
  |  Branch (3935:17): [True: 0, False: 0]
  ------------------
 3936|      0|                PyMem_RawFree(sorted);
 3937|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3938|      0|            }
 3939|      0|            ncellsused += 1;
 3940|      0|        }
 3941|      0|        PyMem_RawFree(sorted);
 3942|      0|    }
 3943|       |
 3944|      2|    if (nfreevars) {
  ------------------
  |  Branch (3944:9): [True: 0, False: 2]
  ------------------
 3945|      0|        cfg_instr copy_frees = {
 3946|      0|            .i_opcode = COPY_FREE_VARS,
  ------------------
  |  |   71|      0|#define COPY_FREE_VARS                          58
  ------------------
 3947|      0|            .i_oparg = nfreevars,
 3948|      0|            .i_loc = NO_LOCATION,
 3949|      0|            .i_target = NULL,
 3950|      0|            .i_except = NULL,
 3951|      0|        };
 3952|      0|        RETURN_IF_ERROR(basicblock_insert_instruction(entryblock, 0, &copy_frees));
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3953|      0|    }
 3954|       |
 3955|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3956|      2|}
flowgraph.c:fix_cell_offsets:
 3960|      2|{
 3961|      2|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3962|      2|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3963|      2|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3964|      2|    int noffsets = ncellvars + nfreevars;
 3965|       |
 3966|       |    // First deal with duplicates (arg cells).
 3967|      2|    int numdropped = 0;
 3968|      2|    for (int i = 0; i < noffsets ; i++) {
  ------------------
  |  Branch (3968:21): [True: 0, False: 2]
  ------------------
 3969|      0|        if (fixedmap[i] == i + nlocals) {
  ------------------
  |  Branch (3969:13): [True: 0, False: 0]
  ------------------
 3970|      0|            fixedmap[i] -= numdropped;
 3971|      0|        }
 3972|      0|        else {
 3973|       |            // It was a duplicate (cell/arg).
 3974|      0|            numdropped += 1;
 3975|      0|        }
 3976|      0|    }
 3977|       |
 3978|       |    // Then update offsets, either relative to locals or by cell2arg.
 3979|      5|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3979:38): [True: 3, False: 2]
  ------------------
 3980|     17|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3980:25): [True: 14, False: 3]
  ------------------
 3981|     14|            cfg_instr *inst = &b->b_instr[i];
 3982|       |            // This is called before extended args are generated.
 3983|     14|            assert(inst->i_opcode != EXTENDED_ARG);
  ------------------
  |  Branch (3983:13): [True: 14, False: 0]
  ------------------
 3984|     14|            int oldoffset = inst->i_oparg;
 3985|     14|            switch(inst->i_opcode) {
  ------------------
  |  Branch (3985:20): [True: 0, False: 14]
  ------------------
 3986|      0|                case MAKE_CELL:
  ------------------
  |  |  106|      0|#define MAKE_CELL                               93
  ------------------
  |  Branch (3986:17): [True: 0, False: 14]
  ------------------
 3987|      0|                case LOAD_CLOSURE:
  ------------------
  |  |  249|      0|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3987:17): [True: 0, False: 14]
  ------------------
 3988|      0|                case LOAD_DEREF:
  ------------------
  |  |   92|      0|#define LOAD_DEREF                              79
  ------------------
  |  Branch (3988:17): [True: 0, False: 14]
  ------------------
 3989|      0|                case STORE_DEREF:
  ------------------
  |  |  120|      0|#define STORE_DEREF                            107
  ------------------
  |  Branch (3989:17): [True: 0, False: 14]
  ------------------
 3990|      0|                case DELETE_DEREF:
  ------------------
  |  |   72|      0|#define DELETE_DEREF                            59
  ------------------
  |  Branch (3990:17): [True: 0, False: 14]
  ------------------
 3991|      0|                case LOAD_FROM_DICT_OR_DEREF:
  ------------------
  |  |   99|      0|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
  |  Branch (3991:17): [True: 0, False: 14]
  ------------------
 3992|      0|                    assert(oldoffset >= 0);
  ------------------
  |  Branch (3992:21): [True: 0, False: 0]
  ------------------
 3993|      0|                    assert(oldoffset < noffsets);
  ------------------
  |  Branch (3993:21): [True: 0, False: 0]
  ------------------
 3994|      0|                    assert(fixedmap[oldoffset] >= 0);
  ------------------
  |  Branch (3994:21): [True: 0, False: 0]
  ------------------
 3995|      0|                    inst->i_oparg = fixedmap[oldoffset];
 3996|     14|            }
 3997|     14|        }
 3998|      3|    }
 3999|       |
 4000|      2|    return numdropped;
 4001|      2|}
flowgraph.c:convert_pseudo_ops:
 3657|      2|{
 3658|      2|    basicblock *entryblock = g->g_entryblock;
 3659|      5|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3659:38): [True: 3, False: 2]
  ------------------
 3660|     17|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3660:25): [True: 14, False: 3]
  ------------------
 3661|     14|            cfg_instr *instr = &b->b_instr[i];
 3662|     14|            if (is_block_push(instr)) {
  ------------------
  |  Branch (3662:17): [True: 0, False: 14]
  ------------------
 3663|      0|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|      0|    do { \
  |  |  126|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  130|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3663:17): [True: 0, False: 0]
  ------------------
 3664|      0|            }
 3665|     14|            else if (instr->i_opcode == LOAD_CLOSURE) {
  ------------------
  |  |  249|     14|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3665:22): [True: 0, False: 14]
  ------------------
 3666|      0|                assert(is_pseudo_target(LOAD_CLOSURE, LOAD_FAST));
  ------------------
  |  Branch (3666:17): [True: 0, False: 0]
  ------------------
 3667|      0|                instr->i_opcode = LOAD_FAST;
  ------------------
  |  |   93|      0|#define LOAD_FAST                               80
  ------------------
 3668|      0|            }
 3669|     14|            else if (instr->i_opcode == STORE_FAST_MAYBE_NULL) {
  ------------------
  |  |  254|     14|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3669:22): [True: 0, False: 14]
  ------------------
 3670|      0|                assert(is_pseudo_target(STORE_FAST_MAYBE_NULL, STORE_FAST));
  ------------------
  |  Branch (3670:17): [True: 0, False: 0]
  ------------------
 3671|      0|                instr->i_opcode = STORE_FAST;
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
 3672|      0|            }
 3673|     14|        }
 3674|      3|    }
 3675|      2|    return remove_redundant_nops_and_jumps(g);
 3676|      2|}
flowgraph.c:normalize_jumps:
  606|      2|{
  607|      2|    basicblock *entryblock = g->g_entryblock;
  608|      5|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (608:38): [True: 3, False: 2]
  ------------------
  609|      3|        b->b_visited = 0;
  610|      3|    }
  611|      5|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (611:38): [True: 3, False: 2]
  ------------------
  612|      3|        b->b_visited = 1;
  613|      3|        RETURN_IF_ERROR(normalize_jumps_in_block(g, b));
  ------------------
  |  |   25|      3|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  614|      3|    }
  615|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
  616|      2|}
flowgraph.c:normalize_jumps_in_block:
  549|      3|normalize_jumps_in_block(cfg_builder *g, basicblock *b) {
  550|      3|    cfg_instr *last = basicblock_last_instr(b);
  551|      3|    if (last == NULL || !IS_CONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   47|      2|        ((opcode) == POP_JUMP_IF_FALSE || \
  |  |  ------------------
  |  |  |  |  109|      4|#define POP_JUMP_IF_FALSE                       96
  |  |  ------------------
  |  |  |  Branch (47:10): [True: 0, False: 2]
  |  |  ------------------
  |  |   48|      2|         (opcode) == POP_JUMP_IF_TRUE || \
  |  |  ------------------
  |  |  |  |  112|      4|#define POP_JUMP_IF_TRUE                        99
  |  |  ------------------
  |  |  |  Branch (48:10): [True: 0, False: 2]
  |  |  ------------------
  |  |   49|      2|         (opcode) == POP_JUMP_IF_NONE || \
  |  |  ------------------
  |  |  |  |  110|      4|#define POP_JUMP_IF_NONE                        97
  |  |  ------------------
  |  |  |  Branch (49:10): [True: 0, False: 2]
  |  |  ------------------
  |  |   50|      2|         (opcode) == POP_JUMP_IF_NOT_NONE)
  |  |  ------------------
  |  |  |  |  111|      2|#define POP_JUMP_IF_NOT_NONE                    98
  |  |  ------------------
  |  |  |  Branch (50:10): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (551:9): [True: 1, False: 2]
  ------------------
  552|      3|        return SUCCESS;
  ------------------
  |  |   21|      3|#define SUCCESS 0
  ------------------
  553|      3|    }
  554|      3|    assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
  ------------------
  |  Branch (554:5): [True: 0, False: 0]
  |  Branch (554:5): [True: 0, False: 0]
  |  Branch (554:5): [True: 0, False: 0]
  ------------------
  555|       |
  556|      0|    bool is_forward = last->i_target->b_visited == 0;
  557|      0|    if (is_forward) {
  ------------------
  |  Branch (557:9): [True: 0, False: 0]
  ------------------
  558|      0|        RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  559|      0|            basicblock_addop(b, NOT_TAKEN, 0, last->i_loc, last->i_except));
  560|      0|        return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
  561|      0|    }
  562|       |
  563|      0|    int reversed_opcode = 0;
  564|      0|    switch(last->i_opcode) {
  ------------------
  |  Branch (564:12): [True: 0, False: 0]
  ------------------
  565|      0|        case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (565:9): [True: 0, False: 0]
  ------------------
  566|      0|            reversed_opcode = POP_JUMP_IF_NONE;
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
  567|      0|            break;
  568|      0|        case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|      0|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (568:9): [True: 0, False: 0]
  ------------------
  569|      0|            reversed_opcode = POP_JUMP_IF_NOT_NONE;
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  570|      0|            break;
  571|      0|        case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (571:9): [True: 0, False: 0]
  ------------------
  572|      0|            reversed_opcode = POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  573|      0|            break;
  574|      0|        case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|      0|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (574:9): [True: 0, False: 0]
  ------------------
  575|      0|            reversed_opcode = POP_JUMP_IF_FALSE;
  ------------------
  |  |  109|      0|#define POP_JUMP_IF_FALSE                       96
  ------------------
  576|      0|            break;
  577|      0|    }
  578|       |    /* transform 'conditional jump T' to
  579|       |     * 'reversed_jump b_next' followed by 'jump_backwards T'
  580|       |     */
  581|       |
  582|      0|    basicblock *target = last->i_target;
  583|      0|    basicblock *backwards_jump = cfg_builder_new_block(g);
  584|      0|    if (backwards_jump == NULL) {
  ------------------
  |  Branch (584:9): [True: 0, False: 0]
  ------------------
  585|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  586|      0|    }
  587|      0|    RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  588|      0|        basicblock_addop(backwards_jump, NOT_TAKEN, 0, last->i_loc,
  589|      0|                         last->i_except));
  590|      0|    RETURN_IF_ERROR(
  ------------------
  |  |   25|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  591|      0|        basicblock_add_jump(backwards_jump, JUMP, target, last->i_loc,
  592|      0|                            last->i_except));
  593|      0|    backwards_jump->b_startdepth = target->b_startdepth;
  594|      0|    last->i_opcode = reversed_opcode;
  595|      0|    last->i_target = b->b_next;
  596|       |
  597|      0|    backwards_jump->b_cold = b->b_cold;
  598|      0|    backwards_jump->b_next = b->b_next;
  599|      0|    b->b_next = backwards_jump;
  600|      0|    return SUCCESS;
  ------------------
  |  |   21|      0|#define SUCCESS 0
  ------------------
  601|      0|}
flowgraph.c:no_redundant_jumps:
  525|      4|no_redundant_jumps(cfg_builder *g) {
  526|     10|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (526:43): [True: 6, False: 4]
  ------------------
  527|      6|        cfg_instr *last = basicblock_last_instr(b);
  528|      6|        if (last != NULL) {
  ------------------
  |  Branch (528:13): [True: 4, False: 2]
  ------------------
  529|      4|            if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|      4|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|      8|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 0, False: 4]
  |  |  ------------------
  |  |   41|      4|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|      8|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 4]
  |  |  ------------------
  |  |   42|      4|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|      8|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 4]
  |  |  ------------------
  |  |   43|      4|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|      8|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 4]
  |  |  ------------------
  |  |   44|      4|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|      4|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 4]
  |  |  ------------------
  ------------------
  530|      0|                basicblock *next = next_nonempty_block(b->b_next);
  531|      0|                basicblock *jump_target = next_nonempty_block(last->i_target);
  532|      0|                if (jump_target == next) {
  ------------------
  |  Branch (532:21): [True: 0, False: 0]
  ------------------
  533|      0|                    assert(next);
  ------------------
  |  Branch (533:21): [True: 0, False: 0]
  ------------------
  534|      0|                    if (last->i_loc.lineno == next->b_instr[0].i_loc.lineno) {
  ------------------
  |  Branch (534:25): [True: 0, False: 0]
  ------------------
  535|      0|                        assert(0);
  ------------------
  |  Branch (535:25): [Folded, False: 0]
  ------------------
  536|      0|                        return false;
  537|      0|                    }
  538|      0|                }
  539|      0|            }
  540|      4|        }
  541|      6|    }
  542|      4|    return true;
  543|      4|}
flowgraph.c:optimize_load_fast:
 2904|      2|{
 2905|      2|    int status;
 2906|      2|    ref_stack refs = {0};
 2907|      2|    int max_instrs = 0;
 2908|      2|    basicblock *entryblock = g->g_entryblock;
 2909|      5|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2909:38): [True: 3, False: 2]
  ------------------
 2910|      3|        max_instrs = Py_MAX(max_instrs, b->b_iused);
  ------------------
  |  |  133|      3|       __extension__ \
  |  |  134|      3|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|      3|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|      3|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 1, False: 2]
  |  |  ------------------
  ------------------
 2911|      3|    }
 2912|      2|    size_t instr_flags_size = max_instrs * sizeof(uint8_t);
 2913|      2|    uint8_t *instr_flags = PyMem_Malloc(instr_flags_size);
 2914|      2|    if (instr_flags == NULL) {
  ------------------
  |  Branch (2914:9): [True: 0, False: 2]
  ------------------
 2915|      0|        PyErr_NoMemory();
 2916|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2917|      0|    }
 2918|      2|    basicblock **blocks = make_cfg_traversal_stack(entryblock);
 2919|      2|    if (blocks == NULL) {
  ------------------
  |  Branch (2919:9): [True: 0, False: 2]
  ------------------
 2920|      0|        status = ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2921|      0|        goto done;
 2922|      0|    }
 2923|      2|    basicblock **sp = blocks;
 2924|      2|    *sp = entryblock;
 2925|      2|    sp++;
 2926|      2|    entryblock->b_startdepth = 0;
 2927|      2|    entryblock->b_visited = 1;
 2928|       |
 2929|      2|    #define PUSH_REF(instr, local)                \
 2930|      2|        do {                                      \
 2931|      2|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
 2932|      2|                status = ERROR;                   \
 2933|      2|                goto done;                        \
 2934|      2|            }                                     \
 2935|      2|        } while(0)
 2936|       |
 2937|      4|    while (sp != blocks) {
  ------------------
  |  Branch (2937:12): [True: 2, False: 2]
  ------------------
 2938|      2|        basicblock *block = *--sp;
 2939|      2|        assert(block->b_startdepth > -1);
  ------------------
  |  Branch (2939:9): [True: 2, False: 0]
  ------------------
 2940|       |
 2941|       |        // Reset per-block state.
 2942|      2|        memset(instr_flags, 0, block->b_iused * sizeof(*instr_flags));
 2943|       |
 2944|       |        // Reset the stack of refs. We don't track references on the stack
 2945|       |        // across basic blocks, but the bytecode will expect their
 2946|       |        // presence. Add dummy references as necessary.
 2947|      2|        ref_stack_clear(&refs);
 2948|      2|        for (int i = 0; i < block->b_startdepth; i++) {
  ------------------
  |  Branch (2948:25): [True: 0, False: 2]
  ------------------
 2949|      0|            PUSH_REF(DUMMY_INSTR, NOT_LOCAL);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2950|      0|        }
 2951|       |
 2952|     16|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (2952:25): [True: 14, False: 2]
  ------------------
 2953|     14|            cfg_instr *instr = &block->b_instr[i];
 2954|     14|            int opcode = instr->i_opcode;
 2955|     14|            int oparg = instr->i_oparg;
 2956|     14|            assert(opcode != EXTENDED_ARG);
  ------------------
  |  Branch (2956:13): [True: 14, False: 0]
  ------------------
 2957|     14|            switch (opcode) {
 2958|       |                // Opcodes that load and store locals
 2959|      0|                case DELETE_FAST: {
  ------------------
  |  |   73|      0|#define DELETE_FAST                             60
  ------------------
  |  Branch (2959:17): [True: 0, False: 14]
  ------------------
 2960|      0|                    kill_local(instr_flags, &refs, oparg);
 2961|      0|                    break;
 2962|      0|                }
 2963|       |
 2964|      5|                case LOAD_FAST: {
  ------------------
  |  |   93|      5|#define LOAD_FAST                               80
  ------------------
  |  Branch (2964:17): [True: 5, False: 9]
  ------------------
 2965|      5|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2930|      5|        do {                                      \
  |  | 2931|      5|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 5]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      5|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2966|      5|                    break;
 2967|      5|                }
 2968|       |
 2969|      5|                case LOAD_FAST_AND_CLEAR: {
  ------------------
  |  |   94|      0|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (2969:17): [True: 0, False: 14]
  ------------------
 2970|      0|                    kill_local(instr_flags, &refs, oparg);
 2971|      0|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2972|      0|                    break;
 2973|      0|                }
 2974|       |
 2975|      0|                case LOAD_FAST_LOAD_FAST: {
  ------------------
  |  |   98|      0|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
  |  Branch (2975:17): [True: 0, False: 14]
  ------------------
 2976|      0|                    PUSH_REF(i, oparg >> 4);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2977|      0|                    PUSH_REF(i, oparg & 15);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2978|      0|                    break;
 2979|      0|                }
 2980|       |
 2981|      0|                case STORE_FAST: {
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2981:17): [True: 0, False: 14]
  ------------------
 2982|      0|                    ref r = ref_stack_pop(&refs);
 2983|      0|                    store_local(instr_flags, &refs, oparg, r);
 2984|      0|                    break;
 2985|      0|                }
 2986|       |
 2987|      0|                case STORE_FAST_LOAD_FAST: {
  ------------------
  |  |  122|      0|#define STORE_FAST_LOAD_FAST                   109
  ------------------
  |  Branch (2987:17): [True: 0, False: 14]
  ------------------
 2988|       |                    // STORE_FAST
 2989|      0|                    ref r = ref_stack_pop(&refs);
 2990|      0|                    store_local(instr_flags, &refs, oparg >> 4, r);
 2991|       |                    // LOAD_FAST
 2992|      0|                    PUSH_REF(i, oparg & 15);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2993|      0|                    break;
 2994|      0|                }
 2995|       |
 2996|      0|                case STORE_FAST_STORE_FAST: {
  ------------------
  |  |  123|      0|#define STORE_FAST_STORE_FAST                  110
  ------------------
  |  Branch (2996:17): [True: 0, False: 14]
  ------------------
 2997|       |                    // STORE_FAST
 2998|      0|                    ref r = ref_stack_pop(&refs);
 2999|      0|                    store_local(instr_flags, &refs, oparg >> 4, r);
 3000|       |                    // STORE_FAST
 3001|      0|                    r = ref_stack_pop(&refs);
 3002|      0|                    store_local(instr_flags, &refs, oparg & 15, r);
 3003|      0|                    break;
 3004|      0|                }
 3005|       |
 3006|       |                // Opcodes that shuffle values on the stack
 3007|      0|                case COPY: {
  ------------------
  |  |   70|      0|#define COPY                                    57
  ------------------
  |  Branch (3007:17): [True: 0, False: 14]
  ------------------
 3008|      0|                    assert(oparg > 0);
  ------------------
  |  Branch (3008:21): [True: 0, False: 0]
  ------------------
 3009|      0|                    Py_ssize_t idx = refs.size - oparg;
 3010|      0|                    ref r = ref_stack_at(&refs, idx);
 3011|      0|                    PUSH_REF(r.instr, r.local);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3012|      0|                    break;
 3013|      0|                }
 3014|       |
 3015|      0|                case SWAP: {
  ------------------
  |  |  126|      0|#define SWAP                                   113
  ------------------
  |  Branch (3015:17): [True: 0, False: 14]
  ------------------
 3016|      0|                    assert(oparg >= 2);
  ------------------
  |  Branch (3016:21): [True: 0, False: 0]
  ------------------
 3017|      0|                    ref_stack_swap_top(&refs, oparg);
 3018|      0|                    break;
 3019|      0|                }
 3020|       |
 3021|       |                // We treat opcodes that do not consume all of their inputs on
 3022|       |                // a case by case basis, as we have no generic way of knowing
 3023|       |                // how many inputs should be left on the stack.
 3024|       |
 3025|       |                // Opcodes that consume no inputs
 3026|      0|                case FORMAT_SIMPLE:
  ------------------
  |  |   25|      0|#define FORMAT_SIMPLE                           12
  ------------------
  |  Branch (3026:17): [True: 0, False: 14]
  ------------------
 3027|      0|                case GET_ANEXT:
  ------------------
  |  |   28|      0|#define GET_ANEXT                               15
  ------------------
  |  Branch (3027:17): [True: 0, False: 14]
  ------------------
 3028|      0|                case GET_ITER:
  ------------------
  |  |   80|      0|#define GET_ITER                                67
  ------------------
  |  Branch (3028:17): [True: 0, False: 14]
  ------------------
 3029|      0|                case GET_LEN:
  ------------------
  |  |   29|      0|#define GET_LEN                                 16
  ------------------
  |  Branch (3029:17): [True: 0, False: 14]
  ------------------
 3030|      0|                case IMPORT_FROM:
  ------------------
  |  |   81|      0|#define IMPORT_FROM                             68
  ------------------
  |  Branch (3030:17): [True: 0, False: 14]
  ------------------
 3031|      0|                case MATCH_KEYS:
  ------------------
  |  |   35|      0|#define MATCH_KEYS                              22
  ------------------
  |  Branch (3031:17): [True: 0, False: 14]
  ------------------
 3032|      0|                case MATCH_MAPPING:
  ------------------
  |  |   36|      0|#define MATCH_MAPPING                           23
  ------------------
  |  Branch (3032:17): [True: 0, False: 14]
  ------------------
 3033|      0|                case MATCH_SEQUENCE:
  ------------------
  |  |   37|      0|#define MATCH_SEQUENCE                          24
  ------------------
  |  Branch (3033:17): [True: 0, False: 14]
  ------------------
 3034|      0|                case WITH_EXCEPT_START: {
  ------------------
  |  |   54|      0|#define WITH_EXCEPT_START                       41
  ------------------
  |  Branch (3034:17): [True: 0, False: 14]
  ------------------
 3035|      0|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3036|      0|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3037|      0|                    int net_pushed = num_pushed - num_popped;
 3038|      0|                    assert(net_pushed >= 0);
  ------------------
  |  Branch (3038:21): [True: 0, False: 0]
  ------------------
 3039|      0|                    for (int j = 0; j < net_pushed; j++) {
  ------------------
  |  Branch (3039:37): [True: 0, False: 0]
  ------------------
 3040|      0|                        PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3041|      0|                    }
 3042|      0|                    break;
 3043|      0|                }
 3044|       |
 3045|       |                // Opcodes that consume some inputs and push no new values
 3046|      0|                case DICT_MERGE:
  ------------------
  |  |   74|      0|#define DICT_MERGE                              61
  ------------------
  |  Branch (3046:17): [True: 0, False: 14]
  ------------------
 3047|      0|                case DICT_UPDATE:
  ------------------
  |  |   75|      0|#define DICT_UPDATE                             62
  ------------------
  |  Branch (3047:17): [True: 0, False: 14]
  ------------------
 3048|      0|                case LIST_APPEND:
  ------------------
  |  |   87|      0|#define LIST_APPEND                             74
  ------------------
  |  Branch (3048:17): [True: 0, False: 14]
  ------------------
 3049|      0|                case LIST_EXTEND:
  ------------------
  |  |   88|      0|#define LIST_EXTEND                             75
  ------------------
  |  Branch (3049:17): [True: 0, False: 14]
  ------------------
 3050|      0|                case MAP_ADD:
  ------------------
  |  |  107|      0|#define MAP_ADD                                 94
  ------------------
  |  Branch (3050:17): [True: 0, False: 14]
  ------------------
 3051|      0|                case RERAISE:
  ------------------
  |  |  114|      0|#define RERAISE                                101
  ------------------
  |  Branch (3051:17): [True: 0, False: 14]
  ------------------
 3052|      0|                case SET_ADD:
  ------------------
  |  |  116|      0|#define SET_ADD                                103
  ------------------
  |  Branch (3052:17): [True: 0, False: 14]
  ------------------
 3053|      0|                case SET_UPDATE: {
  ------------------
  |  |  118|      0|#define SET_UPDATE                             105
  ------------------
  |  Branch (3053:17): [True: 0, False: 14]
  ------------------
 3054|      0|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3055|      0|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3056|      0|                    int net_popped = num_popped - num_pushed;
 3057|      0|                    assert(net_popped > 0);
  ------------------
  |  Branch (3057:21): [True: 0, False: 0]
  ------------------
 3058|      0|                    for (int i = 0; i < net_popped; i++) {
  ------------------
  |  Branch (3058:37): [True: 0, False: 0]
  ------------------
 3059|      0|                        ref_stack_pop(&refs);
 3060|      0|                    }
 3061|      0|                    break;
 3062|      0|                }
 3063|       |
 3064|      0|                case END_SEND: {
  ------------------
  |  |   23|      0|#define END_SEND                                10
  ------------------
  |  Branch (3064:17): [True: 0, False: 14]
  ------------------
 3065|      0|                    assert(_PyOpcode_num_popped(opcode, oparg) == 3);
  ------------------
  |  Branch (3065:21): [True: 0, False: 0]
  ------------------
 3066|      0|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
  ------------------
  |  Branch (3066:21): [True: 0, False: 0]
  ------------------
 3067|      0|                    ref tos = ref_stack_pop(&refs);
 3068|      0|                    ref_stack_pop(&refs);
 3069|      0|                    ref_stack_pop(&refs);
 3070|      0|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3071|      0|                    break;
 3072|      0|                }
 3073|       |
 3074|      0|                case SET_FUNCTION_ATTRIBUTE: {
  ------------------
  |  |  117|      0|#define SET_FUNCTION_ATTRIBUTE                 104
  ------------------
  |  Branch (3074:17): [True: 0, False: 14]
  ------------------
 3075|      0|                    assert(_PyOpcode_num_popped(opcode, oparg) == 2);
  ------------------
  |  Branch (3075:21): [True: 0, False: 0]
  ------------------
 3076|      0|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
  ------------------
  |  Branch (3076:21): [True: 0, False: 0]
  ------------------
 3077|      0|                    ref tos = ref_stack_pop(&refs);
 3078|      0|                    ref_stack_pop(&refs);
 3079|      0|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3080|      0|                    break;
 3081|      0|                }
 3082|       |
 3083|       |                // Opcodes that consume some inputs and push new values
 3084|      0|                case CHECK_EXC_MATCH: {
  ------------------
  |  |   19|      0|#define CHECK_EXC_MATCH                          6
  ------------------
  |  Branch (3084:17): [True: 0, False: 14]
  ------------------
 3085|      0|                    ref_stack_pop(&refs);
 3086|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3087|      0|                    break;
 3088|      0|                }
 3089|       |
 3090|      0|                case FOR_ITER: {
  ------------------
  |  |   78|      0|#define FOR_ITER                                65
  ------------------
  |  Branch (3090:17): [True: 0, False: 14]
  ------------------
 3091|      0|                    load_fast_push_block(&sp, instr->i_target, refs.size + 1);
 3092|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3093|      0|                    break;
 3094|      0|                }
 3095|       |
 3096|      0|                case LOAD_ATTR:
  ------------------
  |  |   89|      0|#define LOAD_ATTR                               76
  ------------------
  |  Branch (3096:17): [True: 0, False: 14]
  ------------------
 3097|      0|                case LOAD_SUPER_ATTR: {
  ------------------
  |  |  105|      0|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (3097:17): [True: 0, False: 14]
  ------------------
 3098|      0|                    ref self = ref_stack_pop(&refs);
 3099|      0|                    if (opcode == LOAD_SUPER_ATTR) {
  ------------------
  |  |  105|      0|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (3099:25): [True: 0, False: 0]
  ------------------
 3100|      0|                        ref_stack_pop(&refs);
 3101|      0|                        ref_stack_pop(&refs);
 3102|      0|                    }
 3103|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3104|      0|                    if (oparg & 1) {
  ------------------
  |  Branch (3104:25): [True: 0, False: 0]
  ------------------
 3105|       |                        // A method call; conservatively assume that self is pushed
 3106|       |                        // back onto the stack
 3107|      0|                        PUSH_REF(self.instr, self.local);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3108|      0|                    }
 3109|      0|                    break;
 3110|      0|                }
 3111|       |
 3112|      0|                case LOAD_SPECIAL:
  ------------------
  |  |  104|      0|#define LOAD_SPECIAL                            91
  ------------------
  |  Branch (3112:17): [True: 0, False: 14]
  ------------------
 3113|      0|                case PUSH_EXC_INFO: {
  ------------------
  |  |   43|      0|#define PUSH_EXC_INFO                           30
  ------------------
  |  Branch (3113:17): [True: 0, False: 14]
  ------------------
 3114|      0|                    ref tos = ref_stack_pop(&refs);
 3115|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3116|      0|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3117|      0|                    break;
 3118|      0|                }
 3119|       |
 3120|      0|                case SEND: {
  ------------------
  |  |  115|      0|#define SEND                                   102
  ------------------
  |  Branch (3120:17): [True: 0, False: 14]
  ------------------
 3121|      0|                    load_fast_push_block(&sp, instr->i_target, refs.size);
 3122|      0|                    ref_stack_pop(&refs);
 3123|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|      0|        do {                                      \
  |  | 2931|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3124|      0|                    break;
 3125|      0|                }
 3126|       |
 3127|       |                // Opcodes that consume all of their inputs
 3128|      9|                default: {
  ------------------
  |  Branch (3128:17): [True: 9, False: 5]
  ------------------
 3129|      9|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3130|      9|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3131|      9|                    if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|      9|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|     18|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|      9|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|      9|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|     18|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  |  |   19|      9|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     18|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  |  |   20|      9|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      9|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3132|      0|                        load_fast_push_block(&sp, instr->i_target, refs.size - num_popped + num_pushed);
 3133|      0|                    }
 3134|      9|                    if (!IS_BLOCK_PUSH_OPCODE(instr->i_opcode)) {
  ------------------
  |  |   18|      9|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|     18|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 9]
  |  |  ------------------
  |  |   19|      9|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|     18|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 9]
  |  |  ------------------
  |  |   20|      9|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|      9|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 9]
  |  |  ------------------
  ------------------
 3135|       |                        // Block push opcodes only affect the stack when jumping
 3136|       |                        // to the target.
 3137|     20|                        for (int j = 0; j < num_popped; j++) {
  ------------------
  |  Branch (3137:41): [True: 11, False: 9]
  ------------------
 3138|     11|                            ref_stack_pop(&refs);
 3139|     11|                        }
 3140|     17|                        for (int j = 0; j < num_pushed; j++) {
  ------------------
  |  Branch (3140:41): [True: 8, False: 9]
  ------------------
 3141|      8|                            PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|      8|        do {                                      \
  |  | 2931|      8|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 8]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|      8|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 8]
  |  |  ------------------
  ------------------
 3142|      8|                        }
 3143|      9|                    }
 3144|      9|                    break;
 3145|      9|                }
 3146|     14|            }
 3147|     14|        }
 3148|       |
 3149|       |        // Push fallthrough block
 3150|      2|        if (BB_HAS_FALLTHROUGH(block)) {
  ------------------
  |  |  253|      2|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3151|      0|            assert(block->b_next != NULL);
  ------------------
  |  Branch (3151:13): [True: 0, False: 0]
  ------------------
 3152|      0|            load_fast_push_block(&sp, block->b_next, refs.size);
 3153|      0|        }
 3154|       |
 3155|       |        // Mark instructions that produce values that are on the stack at the
 3156|       |        // end of the basic block
 3157|      4|        for (Py_ssize_t i = 0; i < refs.size; i++) {
  ------------------
  |  Branch (3157:32): [True: 2, False: 2]
  ------------------
 3158|      2|            ref r = ref_stack_at(&refs, i);
 3159|      2|            if (r.instr != -1) {
  ------------------
  |  Branch (3159:17): [True: 2, False: 0]
  ------------------
 3160|      2|                instr_flags[r.instr] |= REF_UNCONSUMED;
 3161|      2|            }
 3162|      2|        }
 3163|       |
 3164|       |        // Optimize instructions
 3165|     16|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (3165:25): [True: 14, False: 2]
  ------------------
 3166|     14|            if (!instr_flags[i]) {
  ------------------
  |  Branch (3166:17): [True: 12, False: 2]
  ------------------
 3167|     12|                cfg_instr *instr = &block->b_instr[i];
 3168|     12|                switch (instr->i_opcode) {
 3169|      5|                    case LOAD_FAST:
  ------------------
  |  |   93|      5|#define LOAD_FAST                               80
  ------------------
  |  Branch (3169:21): [True: 5, False: 7]
  ------------------
 3170|      5|                        instr->i_opcode = LOAD_FAST_BORROW;
  ------------------
  |  |   95|      5|#define LOAD_FAST_BORROW                        82
  ------------------
 3171|      5|                        break;
 3172|      0|                    case LOAD_FAST_LOAD_FAST:
  ------------------
  |  |   98|      0|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
  |  Branch (3172:21): [True: 0, False: 12]
  ------------------
 3173|      0|                        instr->i_opcode = LOAD_FAST_BORROW_LOAD_FAST_BORROW;
  ------------------
  |  |   96|      0|#define LOAD_FAST_BORROW_LOAD_FAST_BORROW       83
  ------------------
 3174|      0|                        break;
 3175|      7|                    default:
  ------------------
  |  Branch (3175:21): [True: 7, False: 5]
  ------------------
 3176|      7|                        break;
 3177|     12|                }
 3178|     12|            }
 3179|     14|        }
 3180|      2|    }
 3181|       |
 3182|      2|    #undef PUSH_REF
 3183|       |
 3184|      2|    status = SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 3185|       |
 3186|      2|done:
 3187|      2|    ref_stack_fini(&refs);
 3188|      2|    PyMem_Free(instr_flags);
 3189|      2|    PyMem_Free(blocks);
 3190|      2|    return status;
 3191|      2|}
flowgraph.c:ref_stack_clear:
 2809|      2|{
 2810|      2|    stack->size = 0;
 2811|      2|}
flowgraph.c:ref_stack_push:
 2765|     13|{
 2766|     13|    if (stack->size == stack->capacity) {
  ------------------
  |  Branch (2766:9): [True: 2, False: 11]
  ------------------
 2767|      2|        Py_ssize_t new_cap = Py_MAX(32, stack->capacity * 2);
  ------------------
  |  |  133|      2|       __extension__ \
  |  |  134|      2|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|      2|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|      2|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 2, False: 0]
  |  |  ------------------
  ------------------
 2768|      2|        ref *refs = PyMem_Realloc(stack->refs, sizeof(*stack->refs) * new_cap);
 2769|      2|        if (refs == NULL) {
  ------------------
  |  Branch (2769:13): [True: 0, False: 2]
  ------------------
 2770|      0|            PyErr_NoMemory();
 2771|      0|            return -1;
 2772|      0|        }
 2773|      2|        stack->refs = refs;
 2774|      2|        stack->capacity = new_cap;
 2775|      2|    }
 2776|     13|    stack->refs[stack->size] = r;
 2777|     13|    stack->size++;
 2778|     13|    return 0;
 2779|     13|}
flowgraph.c:ref_stack_pop:
 2783|     11|{
 2784|     11|    assert(stack->size > 0);
  ------------------
  |  Branch (2784:5): [True: 11, False: 0]
  ------------------
 2785|     11|    stack->size--;
 2786|     11|    ref r = stack->refs[stack->size];
 2787|     11|    return r;
 2788|     11|}
flowgraph.c:ref_stack_at:
 2802|      2|{
 2803|      2|    assert(idx >= 0 && idx < stack->size);
  ------------------
  |  Branch (2803:5): [True: 2, False: 0]
  |  Branch (2803:5): [True: 2, False: 0]
  ------------------
 2804|      2|    return stack->refs[idx];
 2805|      2|}
flowgraph.c:ref_stack_fini:
 2815|      2|{
 2816|      2|    if (stack->refs != NULL) {
  ------------------
  |  Branch (2816:9): [True: 2, False: 0]
  ------------------
 2817|      2|        PyMem_Free(stack->refs);
 2818|      2|    }
 2819|       |    stack->refs = NULL;
 2820|      2|    stack->capacity = 0;
 2821|      2|    stack->size = 0;
 2822|      2|}
flowgraph.c:insert_superinstructions:
 2710|      2|{
 2711|      5|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2711:43): [True: 3, False: 2]
  ------------------
 2712|       |
 2713|     17|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (2713:25): [True: 14, False: 3]
  ------------------
 2714|     14|            cfg_instr *inst = &b->b_instr[i];
 2715|     14|            int nextop = i+1 < b->b_iused ? b->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2715:26): [True: 12, False: 2]
  ------------------
 2716|     14|            switch(inst->i_opcode) {
  ------------------
  |  Branch (2716:20): [True: 3, False: 11]
  ------------------
 2717|      0|                case LOAD_FAST:
  ------------------
  |  |   93|      0|#define LOAD_FAST                               80
  ------------------
  |  Branch (2717:17): [True: 0, False: 14]
  ------------------
 2718|      0|                    if (nextop == LOAD_FAST) {
  ------------------
  |  |   93|      0|#define LOAD_FAST                               80
  ------------------
  |  Branch (2718:25): [True: 0, False: 0]
  ------------------
 2719|      0|                        make_super_instruction(inst, &b->b_instr[i + 1], LOAD_FAST_LOAD_FAST);
  ------------------
  |  |   98|      0|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
 2720|      0|                    }
 2721|      0|                    break;
 2722|      3|                case LOAD_FAST_BORROW:
  ------------------
  |  |   95|      3|#define LOAD_FAST_BORROW                        82
  ------------------
  |  Branch (2722:17): [True: 3, False: 11]
  ------------------
 2723|      3|                    if (nextop == LOAD_FAST_BORROW) {
  ------------------
  |  |   95|      3|#define LOAD_FAST_BORROW                        82
  ------------------
  |  Branch (2723:25): [True: 2, False: 1]
  ------------------
 2724|      2|                        make_super_instruction(inst, &b->b_instr[i + 1],
 2725|      2|                                               LOAD_FAST_BORROW_LOAD_FAST_BORROW);
  ------------------
  |  |   96|      2|#define LOAD_FAST_BORROW_LOAD_FAST_BORROW       83
  ------------------
 2726|      2|                    }
 2727|      3|                    break;
 2728|      0|                case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2728:17): [True: 0, False: 14]
  ------------------
 2729|      0|                    switch (nextop) {
  ------------------
  |  Branch (2729:29): [True: 0, False: 0]
  ------------------
 2730|      0|                        case LOAD_FAST:
  ------------------
  |  |   93|      0|#define LOAD_FAST                               80
  ------------------
  |  Branch (2730:25): [True: 0, False: 0]
  ------------------
 2731|      0|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_LOAD_FAST);
  ------------------
  |  |  122|      0|#define STORE_FAST_LOAD_FAST                   109
  ------------------
 2732|      0|                            break;
 2733|      0|                        case STORE_FAST:
  ------------------
  |  |  121|      0|#define STORE_FAST                             108
  ------------------
  |  Branch (2733:25): [True: 0, False: 0]
  ------------------
 2734|      0|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_STORE_FAST);
  ------------------
  |  |  123|      0|#define STORE_FAST_STORE_FAST                  110
  ------------------
 2735|      0|                            break;
 2736|      0|                    }
 2737|      0|                    break;
 2738|     14|            }
 2739|     14|        }
 2740|      3|    }
 2741|      2|    RETURN_IF_ERROR(remove_redundant_nops(g));
  ------------------
  |  |   25|      2|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2742|      2|    assert(no_redundant_nops(g));
  ------------------
  |  Branch (2742:5): [True: 2, False: 0]
  ------------------
 2743|      2|    return SUCCESS;
  ------------------
  |  |   21|      2|#define SUCCESS 0
  ------------------
 2744|      2|}
flowgraph.c:make_super_instruction:
 2694|      2|{
 2695|      2|    int32_t line1 = inst1->i_loc.lineno;
 2696|      2|    int32_t line2 = inst2->i_loc.lineno;
 2697|       |    /* Skip if instructions are on different lines */
 2698|      2|    if (line1 >= 0 && line2 >= 0 && line1 != line2) {
  ------------------
  |  Branch (2698:9): [True: 2, False: 0]
  |  Branch (2698:23): [True: 2, False: 0]
  |  Branch (2698:37): [True: 0, False: 2]
  ------------------
 2699|      0|        return;
 2700|      0|    }
 2701|      2|    if (inst1->i_oparg >= 16 || inst2->i_oparg >= 16) {
  ------------------
  |  Branch (2701:9): [True: 0, False: 2]
  |  Branch (2701:33): [True: 0, False: 2]
  ------------------
 2702|      0|        return;
 2703|      0|    }
 2704|      2|    INSTR_SET_OP1(inst1, super_op, (inst1->i_oparg << 4) | inst2->i_oparg);
  ------------------
  |  |  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 (2704:5): [True: 2, False: 0]
  ------------------
 2705|      2|    INSTR_SET_OP0(inst2, 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 (2705:5): [True: 2, False: 0]
  ------------------
 2706|      2|}
flowgraph.c:no_redundant_nops:
  517|      2|no_redundant_nops(cfg_builder *g) {
  518|      2|    if (remove_redundant_nops(g) != 0) {
  ------------------
  |  Branch (518:9): [True: 0, False: 2]
  ------------------
  519|      0|        return false;
  520|      0|    }
  521|      2|    return true;
  522|      2|}
flowgraph.c:get_stack_effects:
  784|     14|{
  785|     14|    if (opcode < 0) {
  ------------------
  |  Branch (785:9): [True: 0, False: 14]
  ------------------
  786|      0|        return -1;
  787|      0|    }
  788|     14|    if ((opcode <= MAX_REAL_OPCODE) && (_PyOpcode_Deopt[opcode] != opcode)) {
  ------------------
  |  |   11|     14|#define MAX_REAL_OPCODE 254
  ------------------
  |  Branch (788:9): [True: 14, False: 0]
  |  Branch (788:40): [True: 0, False: 14]
  ------------------
  789|       |        // Specialized instructions are not supported.
  790|      0|        return -1;
  791|      0|    }
  792|     14|    int popped = _PyOpcode_num_popped(opcode, oparg);
  793|     14|    int pushed = _PyOpcode_num_pushed(opcode, oparg);
  794|     14|    if (popped < 0 || pushed < 0) {
  ------------------
  |  Branch (794:9): [True: 0, False: 14]
  |  Branch (794:23): [True: 0, False: 14]
  ------------------
  795|      0|        return -1;
  796|      0|    }
  797|     14|    if (IS_BLOCK_PUSH_OPCODE(opcode) && !jump) {
  ------------------
  |  |   18|     28|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|     28|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 14]
  |  |  ------------------
  |  |   19|     14|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|     28|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 14]
  |  |  ------------------
  |  |   20|     28|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|     14|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 14]
  |  |  ------------------
  ------------------
  |  Branch (797:41): [True: 0, False: 0]
  ------------------
  798|      0|        effects->net = 0;
  799|      0|        return 0;
  800|      0|    }
  801|     14|    effects->net = pushed - popped;
  802|     14|    return 0;
  803|     14|}

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

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

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

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

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

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

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

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

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

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

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

_PyImport_AcquireLock:
  152|  2.31k|{
  153|  2.31k|    _PyRecursiveMutex_Lock(&IMPORT_LOCK(interp));
  ------------------
  |  |  112|  2.31k|    (interp)->imports.lock
  ------------------
  154|  2.31k|}
_PyImport_ReleaseLock:
  158|  2.31k|{
  159|  2.31k|    _PyRecursiveMutex_Unlock(&IMPORT_LOCK(interp));
  ------------------
  |  |  112|  2.31k|    (interp)->imports.lock
  ------------------
  160|  2.31k|}
_PyImport_InitModules:
  176|      2|{
  177|      2|    assert(MODULES(interp) == NULL);
  ------------------
  |  Branch (177:5): [True: 2, False: 0]
  ------------------
  178|      2|    MODULES(interp) = PyDict_New();
  ------------------
  |  |   88|      2|    (interp)->imports.modules
  ------------------
  179|      2|    if (MODULES(interp) == NULL) {
  ------------------
  |  |   88|      2|    (interp)->imports.modules
  ------------------
  |  Branch (179:9): [True: 0, False: 2]
  ------------------
  180|      0|        return NULL;
  181|      0|    }
  182|      2|    return MODULES(interp);
  ------------------
  |  |   88|      2|    (interp)->imports.modules
  ------------------
  183|      2|}
_PyImport_GetModules:
  187|      5|{
  188|      5|    return MODULES(interp);
  ------------------
  |  |   88|      5|    (interp)->imports.modules
  ------------------
  189|      5|}
_PyImport_SetModule:
  240|      2|{
  241|      2|    PyThreadState *tstate = _PyThreadState_GET();
  242|       |    PyObject *modules = get_modules_dict(tstate, true);
  243|      2|    return PyObject_SetItem(modules, name, m);
  244|      2|}
_PyImport_SetModuleString:
  248|      2|{
  249|      2|    PyThreadState *tstate = _PyThreadState_GET();
  250|       |    PyObject *modules = get_modules_dict(tstate, true);
  251|      2|    return PyMapping_SetItemString(modules, name, m);
  252|      2|}
_PyImport_InitLazyModules:
  271|      2|{
  272|      2|    assert(LAZY_MODULES(interp) == NULL &&
  ------------------
  |  Branch (272:5): [True: 2, False: 0]
  |  Branch (272:5): [True: 2, False: 0]
  ------------------
  273|      2|           LAZY_PENDING_SUBMODULES(interp) == NULL);
  274|       |
  275|      2|    LAZY_PENDING_SUBMODULES(interp) = PyDict_New();
  ------------------
  |  |   94|      2|    (interp)->imports.lazy_pending_submodules
  ------------------
  276|      2|    LAZY_MODULES(interp) = PySet_New(0);
  ------------------
  |  |   92|      2|    (interp)->imports.lazy_modules
  ------------------
  277|      2|    return LAZY_MODULES(interp);
  ------------------
  |  |   92|      2|    (interp)->imports.lazy_modules
  ------------------
  278|      2|}
_PyImport_DiscardLazyModule:
  289|    148|{
  290|    148|    if (LAZY_MODULES(interp) == NULL) {
  ------------------
  |  |   92|    148|    (interp)->imports.lazy_modules
  ------------------
  |  Branch (290:9): [True: 0, False: 148]
  ------------------
  291|      0|        return 0;
  292|      0|    }
  293|    148|    return PySet_Discard(LAZY_MODULES(interp), name);
  ------------------
  |  |   92|    148|    (interp)->imports.lazy_modules
  ------------------
  294|    148|}
PyImport_GetModule:
  362|      1|{
  363|      1|    PyThreadState *tstate = _PyThreadState_GET();
  364|      1|    PyObject *mod;
  365|       |
  366|      1|    mod = import_get_module(tstate, name);
  367|      1|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (367:9): [True: 0, False: 1]
  |  Branch (367:24): [True: 0, False: 0]
  ------------------
  368|      0|        if (import_ensure_initialized(tstate->interp, mod, name) < 0) {
  ------------------
  |  Branch (368:13): [True: 0, False: 0]
  ------------------
  369|      0|            goto error;
  370|      0|        }
  371|       |        /* Verify the module is still in sys.modules. Another thread may have
  372|       |           removed it (due to import failure) between our import_get_module()
  373|       |           call and the _initializing check in import_ensure_initialized(). */
  374|      0|        PyObject *mod_check = import_get_module(tstate, name);
  375|      0|        if (mod_check != mod) {
  ------------------
  |  Branch (375:13): [True: 0, False: 0]
  ------------------
  376|      0|            Py_XDECREF(mod_check);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  377|      0|            if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (377:17): [True: 0, False: 0]
  ------------------
  378|      0|                goto error;
  379|      0|            }
  380|       |            /* The module was removed or replaced. Return NULL to report
  381|       |               "not found" rather than trying to keep up with racing
  382|       |               modifications to sys.modules; returning the new value would
  383|       |               require looping to redo the ensure_initialized check. */
  384|      0|            Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|      0|            return NULL;
  386|      0|        }
  387|      0|        Py_DECREF(mod_check);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|    }
  389|      1|    return mod;
  390|       |
  391|      0|error:
  392|      0|    Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  393|      0|    remove_importlib_frames(tstate);
  394|       |    return NULL;
  395|      1|}
PyImport_AddModuleRef:
  440|      4|{
  441|      4|    PyObject *name_obj = PyUnicode_FromString(name);
  442|      4|    if (name_obj == NULL) {
  ------------------
  |  Branch (442:9): [True: 0, False: 4]
  ------------------
  443|      0|        return NULL;
  444|      0|    }
  445|      4|    PyThreadState *tstate = _PyThreadState_GET();
  446|      4|    PyObject *module = import_add_module(tstate, name_obj);
  447|      4|    Py_DECREF(name_obj);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  448|      4|    return module;
  449|      4|}
PyImport_AddModuleObject:
  454|      2|{
  455|      2|    PyThreadState *tstate = _PyThreadState_GET();
  456|      2|    PyObject *mod = import_add_module(tstate, name);
  457|      2|    if (!mod) {
  ------------------
  |  Branch (457:9): [True: 0, False: 2]
  ------------------
  458|      0|        return NULL;
  459|      0|    }
  460|       |
  461|       |    // gh-86160: PyImport_AddModuleObject() returns a borrowed reference.
  462|       |    // Create a weak reference to produce a borrowed reference, since it can
  463|       |    // become NULL. sys.modules type can be different than dict and it is not
  464|       |    // guaranteed that it keeps a strong reference to the module. It can be a
  465|       |    // custom mapping with __getitem__() which returns a new object or removes
  466|       |    // returned object, or __setitem__ which does nothing. There is so much
  467|       |    // unknown.  With weakref we can be sure that we get either a reference to
  468|       |    // live object or NULL.
  469|       |    //
  470|       |    // Use PyImport_AddModuleRef() to avoid these issues.
  471|      2|    PyObject *ref = PyWeakref_NewRef(mod, NULL);
  472|      2|    Py_DECREF(mod);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  473|      2|    if (ref == NULL) {
  ------------------
  |  Branch (473:9): [True: 0, False: 2]
  ------------------
  474|      0|        return NULL;
  475|      0|    }
  476|      2|    mod = _PyWeakref_GET_REF(ref);
  477|      2|    Py_DECREF(ref);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|      2|    Py_XDECREF(mod);
  ------------------
  |  |  621|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|       |
  480|      2|    if (mod == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (480:9): [True: 0, False: 2]
  |  Branch (480:24): [True: 0, False: 0]
  ------------------
  481|      0|        PyErr_SetString(PyExc_RuntimeError,
  482|      0|                        "sys.modules does not hold a strong reference "
  483|      0|                        "to the module");
  484|      0|    }
  485|      2|    return mod; /* borrowed reference */
  486|      2|}
_PyImport_GetNextModuleIndex:
  533|     46|{
  534|     46|    return _Py_atomic_add_ssize(&LAST_MODULE_INDEX, 1) + 1;
  ------------------
  |  |   79|     46|#define LAST_MODULE_INDEX _PyRuntime.imports.last_module_index
  ------------------
  535|     46|}
_PyImport_ResolveNameWithPackageContext:
  912|      8|{
  913|      8|    if (PKGCONTEXT != NULL) {
  ------------------
  |  |  908|      8|# define PKGCONTEXT pkgcontext
  ------------------
  |  Branch (913:9): [True: 0, False: 8]
  ------------------
  914|      0|        const char *p = strrchr(PKGCONTEXT, '.');
  ------------------
  |  |  908|      0|# define PKGCONTEXT pkgcontext
  ------------------
  915|      0|        if (p != NULL && strcmp(name, p+1) == 0) {
  ------------------
  |  Branch (915:13): [True: 0, False: 0]
  |  Branch (915:26): [True: 0, False: 0]
  ------------------
  916|      0|            name = PKGCONTEXT;
  ------------------
  |  |  908|      0|# define PKGCONTEXT pkgcontext
  ------------------
  917|      0|            PKGCONTEXT = NULL;
  ------------------
  |  |  908|      0|# define PKGCONTEXT pkgcontext
  ------------------
  918|      0|        }
  919|      0|    }
  920|      8|    return name;
  921|      8|}
_PyImport_SwapPackageContext:
  925|     76|{
  926|     76|    const char *oldcontext = PKGCONTEXT;
  ------------------
  |  |  908|     76|# define PKGCONTEXT pkgcontext
  ------------------
  927|     76|    PKGCONTEXT = newcontext;
  ------------------
  |  |  908|     76|# define PKGCONTEXT pkgcontext
  ------------------
  928|     76|    return oldcontext;
  929|     76|}
_PyImport_GetDLOpenFlags:
  934|     16|{
  935|     16|    return FT_ATOMIC_LOAD_INT_RELAXED(DLOPENFLAGS(interp));
  ------------------
  |  |  189|     16|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
  936|     16|}
_PyImport_FixupBuiltin:
 2416|      4|{
 2417|      4|    int res = -1;
 2418|      4|    assert(mod != NULL && PyModule_Check(mod));
  ------------------
  |  Branch (2418:5): [True: 4, False: 0]
  |  Branch (2418:5): [True: 4, False: 0]
  ------------------
 2419|       |
 2420|      4|    PyObject *nameobj;
 2421|      4|    nameobj = PyUnicode_InternFromString(name);
 2422|      4|    if (nameobj == NULL) {
  ------------------
  |  Branch (2422:9): [True: 0, False: 4]
  ------------------
 2423|      0|        return -1;
 2424|      0|    }
 2425|       |
 2426|      4|    PyModuleDef *def = _PyModule_GetDefOrNull(mod);
 2427|      4|    if (def == NULL) {
  ------------------
  |  Branch (2427:9): [True: 0, False: 4]
  ------------------
 2428|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (2428:9): [True: 0, False: 0]
  ------------------
 2429|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2430|      0|        goto finally;
 2431|      0|    }
 2432|       |
 2433|       |    /* We only use _PyImport_FixupBuiltin() for the core builtin modules
 2434|       |     * (sys and builtins).  These modules are single-phase init with no
 2435|       |     * module state, but we also don't populate def->m_base.m_copy
 2436|       |     * for them. */
 2437|      4|    assert(is_core_module(tstate->interp, nameobj, nameobj));
  ------------------
  |  Branch (2437:5): [True: 4, False: 0]
  ------------------
 2438|      4|    assert_singlephase_def(def);
  ------------------
  |  | 1813|      4|    do {                                                            \
  |  | 1814|      4|        _Py_ext_module_kind kind = _get_extension_kind(def, true);  \
  |  | 1815|      4|        assert(kind == _Py_ext_module_kind_SINGLEPHASE              \
  |  | 1816|      4|                || kind == _Py_ext_module_kind_UNKNOWN);            \
  |  | 1817|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1817:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (2438:5): [True: 4, False: 0]
  |  Branch (2438:5): [True: 0, False: 0]
  ------------------
 2439|      4|    assert(def->m_size == -1);
  ------------------
  |  Branch (2439:5): [True: 4, False: 0]
  ------------------
 2440|      4|    assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (2440:5): [True: 4, False: 0]
  ------------------
 2441|      4|    assert(def->m_base.m_index >= 0);
  ------------------
  |  Branch (2441:5): [True: 4, False: 0]
  ------------------
 2442|       |
 2443|       |    /* We aren't using import_find_extension() for core modules,
 2444|       |     * so we have to do the extra check to make sure the module
 2445|       |     * isn't already in the global cache before calling
 2446|       |     * update_global_state_for_extension(). */
 2447|      4|    struct extensions_cache_value *cached
 2448|      4|            = _extensions_cache_get(nameobj, nameobj);
 2449|      4|    if (cached == NULL) {
  ------------------
  |  Branch (2449:9): [True: 4, False: 0]
  ------------------
 2450|      4|        struct singlephase_global_update singlephase = {
 2451|      4|            .m_index=def->m_base.m_index,
 2452|       |            /* We don't want def->m_base.m_copy populated. */
 2453|      4|            .m_dict=NULL,
 2454|      4|            .origin=_Py_ext_module_origin_CORE,
 2455|       |#ifdef Py_GIL_DISABLED
 2456|       |            /* Unused when m_dict == NULL. */
 2457|       |            .md_requires_gil=false,
 2458|       |#endif
 2459|      4|        };
 2460|      4|        cached = update_global_state_for_extension(
 2461|      4|                tstate, nameobj, nameobj, def, &singlephase);
 2462|      4|        if (cached == NULL) {
  ------------------
  |  Branch (2462:13): [True: 0, False: 4]
  ------------------
 2463|      0|            goto finally;
 2464|      0|        }
 2465|      4|    }
 2466|       |
 2467|      4|    if (finish_singlephase_extension(tstate, mod, cached, nameobj, modules) < 0) {
  ------------------
  |  Branch (2467:9): [True: 0, False: 4]
  ------------------
 2468|      0|        goto finally;
 2469|      0|    }
 2470|       |
 2471|      4|    res = 0;
 2472|       |
 2473|      4|finally:
 2474|      4|    Py_DECREF(nameobj);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2475|      4|    return res;
 2476|      4|}
_PyImport_GetBuiltinModuleNames:
 2710|      2|{
 2711|      2|    PyObject *list = PyList_New(0);
 2712|      2|    if (list == NULL) {
  ------------------
  |  Branch (2712:9): [True: 0, False: 2]
  ------------------
 2713|      0|        return NULL;
 2714|      0|    }
 2715|      2|    struct _inittab *inittab = INITTAB;
  ------------------
  |  |   78|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2716|     78|    for (Py_ssize_t i = 0; inittab[i].name != NULL; i++) {
  ------------------
  |  Branch (2716:28): [True: 76, False: 2]
  ------------------
 2717|     76|        PyObject *name = PyUnicode_FromString(inittab[i].name);
 2718|     76|        if (name == NULL) {
  ------------------
  |  Branch (2718:13): [True: 0, False: 76]
  ------------------
 2719|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2720|      0|            return NULL;
 2721|      0|        }
 2722|     76|        if (PyList_Append(list, name) < 0) {
  ------------------
  |  Branch (2722:13): [True: 0, False: 76]
  ------------------
 2723|      0|            Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2724|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2725|      0|            return NULL;
 2726|      0|        }
 2727|     76|        Py_DECREF(name);
  ------------------
  |  |  430|     76|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2728|     76|    }
 2729|      2|    return list;
 2730|      2|}
PyImport_ImportFrozenModuleObject:
 3255|      4|{
 3256|      4|    PyThreadState *tstate = _PyThreadState_GET();
 3257|      4|    PyObject *co, *m, *d = NULL;
 3258|      4|    int err;
 3259|       |
 3260|      4|    struct frozen_info info;
 3261|      4|    frozen_status status = find_frozen(name, &info);
 3262|      4|    if (status == FROZEN_NOT_FOUND || status == FROZEN_DISABLED) {
  ------------------
  |  Branch (3262:9): [True: 0, False: 4]
  |  Branch (3262:39): [True: 0, False: 4]
  ------------------
 3263|      0|        return 0;
 3264|      0|    }
 3265|      4|    else if (status == FROZEN_BAD_NAME) {
  ------------------
  |  Branch (3265:14): [True: 0, False: 4]
  ------------------
 3266|      0|        return 0;
 3267|      0|    }
 3268|      4|    else if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (3268:14): [True: 0, False: 4]
  ------------------
 3269|      0|        set_frozen_error(status, name);
 3270|      0|        return -1;
 3271|      0|    }
 3272|      4|    co = unmarshal_frozen_code(tstate->interp, &info);
 3273|      4|    if (co == NULL) {
  ------------------
  |  Branch (3273:9): [True: 0, False: 4]
  ------------------
 3274|      0|        return -1;
 3275|      0|    }
 3276|      4|    if (info.is_package) {
  ------------------
  |  Branch (3276:9): [True: 0, False: 4]
  ------------------
 3277|       |        /* Set __path__ to the empty list */
 3278|      0|        PyObject *l;
 3279|      0|        m = import_add_module(tstate, name);
 3280|      0|        if (m == NULL)
  ------------------
  |  Branch (3280:13): [True: 0, False: 0]
  ------------------
 3281|      0|            goto err_return;
 3282|      0|        d = PyModule_GetDict(m);
 3283|      0|        l = PyList_New(0);
 3284|      0|        if (l == NULL) {
  ------------------
  |  Branch (3284:13): [True: 0, False: 0]
  ------------------
 3285|      0|            Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3286|      0|            goto err_return;
 3287|      0|        }
 3288|      0|        err = PyDict_SetItemString(d, "__path__", l);
 3289|      0|        Py_DECREF(l);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3290|      0|        Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3291|      0|        if (err != 0)
  ------------------
  |  Branch (3291:13): [True: 0, False: 0]
  ------------------
 3292|      0|            goto err_return;
 3293|      0|    }
 3294|      4|    d = module_dict_for_exec(tstate, name);
 3295|      4|    if (d == NULL) {
  ------------------
  |  Branch (3295:9): [True: 0, False: 4]
  ------------------
 3296|      0|        goto err_return;
 3297|      0|    }
 3298|      4|    m = exec_code_in_module(tstate, name, d, co);
 3299|      4|    if (m == NULL) {
  ------------------
  |  Branch (3299:9): [True: 0, False: 4]
  ------------------
 3300|      0|        goto err_return;
 3301|      0|    }
 3302|      4|    Py_DECREF(m);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3303|       |    /* Set __origname__ (consumed in FrozenImporter._setup_module()). */
 3304|      4|    PyObject *origname;
 3305|      4|    if (info.origname) {
  ------------------
  |  Branch (3305:9): [True: 4, False: 0]
  ------------------
 3306|      4|        origname = PyUnicode_FromString(info.origname);
 3307|      4|        if (origname == NULL) {
  ------------------
  |  Branch (3307:13): [True: 0, False: 4]
  ------------------
 3308|      0|            goto err_return;
 3309|      0|        }
 3310|      4|    }
 3311|      0|    else {
 3312|      0|        origname = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3313|      0|    }
 3314|      4|    err = PyDict_SetItemString(d, "__origname__", origname);
 3315|      4|    Py_DECREF(origname);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3316|      4|    if (err != 0) {
  ------------------
  |  Branch (3316:9): [True: 0, False: 4]
  ------------------
 3317|      0|        goto err_return;
 3318|      0|    }
 3319|      4|    Py_DECREF(d);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3320|      4|    Py_DECREF(co);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3321|      4|    return 1;
 3322|       |
 3323|      0|err_return:
 3324|      0|    Py_XDECREF(d);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3325|      0|    Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3326|      0|    return -1;
 3327|      4|}
PyImport_ImportFrozenModule:
 3331|      4|{
 3332|      4|    PyObject *nameobj;
 3333|      4|    int ret;
 3334|      4|    nameobj = PyUnicode_InternFromString(name);
 3335|      4|    if (nameobj == NULL)
  ------------------
  |  Branch (3335:9): [True: 0, False: 4]
  ------------------
 3336|      0|        return -1;
 3337|      4|    ret = PyImport_ImportFrozenModuleObject(nameobj);
 3338|      4|    Py_DECREF(nameobj);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3339|      4|    return ret;
 3340|      4|}
_PyImport_GetImportlibLoader:
 3470|      2|{
 3471|      2|    return PyObject_GetAttrString(IMPORTLIB(interp), loader_name);
  ------------------
  |  |   96|      2|    (interp)->imports.importlib
  ------------------
 3472|      2|}
_PyImport_InitDefaultImportFunc:
 3599|      2|{
 3600|       |    // Get the __import__ function
 3601|      2|    PyObject *import_func;
 3602|      2|    if (PyDict_GetItemStringRef(interp->builtins, "__import__", &import_func) <= 0) {
  ------------------
  |  Branch (3602:9): [True: 0, False: 2]
  ------------------
 3603|      0|        return -1;
 3604|      0|    }
 3605|      2|    IMPORT_FUNC(interp) = import_func;
  ------------------
  |  |  106|      2|    (interp)->imports.import_func
  ------------------
 3606|       |
 3607|       |    // Get the __lazy_import__ function
 3608|      2|    if (PyDict_GetItemStringRef(interp->builtins, "__lazy_import__",
  ------------------
  |  Branch (3608:9): [True: 0, False: 2]
  ------------------
 3609|      2|                                &import_func) <= 0) {
 3610|      0|        return -1;
 3611|      0|    }
 3612|      2|    LAZY_IMPORT_FUNC(interp) = import_func;
  ------------------
  |  |  109|      2|    (interp)->imports.lazy_import_func
  ------------------
 3613|      2|    return 0;
 3614|      2|}
_PyImport_IsDefaultImportFunc:
 3618|    339|{
 3619|    339|    return func == IMPORT_FUNC(interp);
  ------------------
  |  |  106|    339|    (interp)->imports.import_func
  ------------------
 3620|    339|}
_PyImport_IsDefaultLazyImportFunc:
 3624|     12|{
 3625|     12|    return func == LAZY_IMPORT_FUNC(interp);
  ------------------
  |  |  109|     12|    (interp)->imports.lazy_import_func
  ------------------
 3626|     12|}
PyImport_ImportModule:
 3633|     13|{
 3634|     13|    PyObject *pname;
 3635|     13|    PyObject *result;
 3636|       |
 3637|     13|    pname = PyUnicode_FromString(name);
 3638|     13|    if (pname == NULL)
  ------------------
  |  Branch (3638:9): [True: 0, False: 13]
  ------------------
 3639|      0|        return NULL;
 3640|     13|    result = PyImport_Import(pname);
 3641|     13|    Py_DECREF(pname);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3642|     13|    return result;
 3643|     13|}
_PyImport_GetAbsName:
 3962|    991|{
 3963|    991|    if (level > 0) {
  ------------------
  |  Branch (3963:9): [True: 13, False: 978]
  ------------------
 3964|     13|        return resolve_name(tstate, name, globals, level);
 3965|     13|    }
 3966|    978|    if (PyUnicode_GET_LENGTH(name) == 0) {
  ------------------
  |  |  300|    978|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    978|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    978|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3966:9): [True: 0, False: 978]
  ------------------
 3967|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 3968|      0|        return NULL;
 3969|      0|    }
 3970|    978|    return Py_NewRef(name);
  ------------------
  |  |  647|    978|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    978|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    978|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3971|    978|}
PyImport_ImportModuleLevelObject:
 3978|    979|{
 3979|    979|    PyThreadState *tstate = _PyThreadState_GET();
 3980|    979|    PyObject *abs_name = NULL;
 3981|    979|    PyObject *final_mod = NULL;
 3982|    979|    PyObject *mod = NULL;
 3983|    979|    PyInterpreterState *interp = tstate->interp;
 3984|    979|    int has_from;
 3985|       |
 3986|    979|    if (name == NULL) {
  ------------------
  |  Branch (3986:9): [True: 0, False: 979]
  ------------------
 3987|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 3988|      0|        goto error;
 3989|      0|    }
 3990|       |
 3991|       |    /* The below code is importlib.__import__() & _gcd_import(), ported to C
 3992|       |       for added performance. */
 3993|       |
 3994|    979|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|    979|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    979|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3994:9): [True: 0, False: 979]
  ------------------
 3995|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 3996|      0|                         "module name must be a string");
 3997|      0|        goto error;
 3998|      0|    }
 3999|    979|    if (level < 0) {
  ------------------
  |  Branch (3999:9): [True: 0, False: 979]
  ------------------
 4000|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4001|      0|        goto error;
 4002|      0|    }
 4003|       |
 4004|    979|    abs_name = _PyImport_GetAbsName(tstate, name, globals, level);
 4005|    979|    if (abs_name == NULL) {
  ------------------
  |  Branch (4005:9): [True: 0, False: 979]
  ------------------
 4006|      0|        goto error;
 4007|      0|    }
 4008|       |
 4009|    979|    mod = import_get_module(tstate, abs_name);
 4010|    979|    if (mod == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4010:9): [True: 469, False: 510]
  |  Branch (4010:24): [True: 0, False: 469]
  ------------------
 4011|      0|        goto error;
 4012|      0|    }
 4013|       |
 4014|    979|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|    510|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4014:9): [True: 510, False: 469]
  |  Branch (4014:24): [True: 510, False: 0]
  ------------------
 4015|    510|        int initializing = import_ensure_initialized(tstate->interp, mod, abs_name);
 4016|    510|        if (initializing < 0) {
  ------------------
  |  Branch (4016:13): [True: 0, False: 510]
  ------------------
 4017|      0|            goto error;
 4018|      0|        }
 4019|       |        /* Verify the module is still in sys.modules. Another thread may have
 4020|       |           removed it (due to import failure) between our import_get_module()
 4021|       |           call and the _initializing check in import_ensure_initialized().
 4022|       |           If removed, we retry the import to preserve normal semantics: the
 4023|       |           caller gets the exception from the actual import failure rather
 4024|       |           than a synthetic error. */
 4025|    510|        PyObject *mod_check = import_get_module(tstate, abs_name);
 4026|    510|        if (mod_check != mod) {
  ------------------
  |  Branch (4026:13): [True: 0, False: 510]
  ------------------
 4027|      0|            Py_XDECREF(mod_check);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4028|      0|            if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4028:17): [True: 0, False: 0]
  ------------------
 4029|      0|                goto error;
 4030|      0|            }
 4031|      0|            Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4032|      0|            mod = import_find_and_load(tstate, abs_name);
 4033|      0|            if (mod == NULL) {
  ------------------
  |  Branch (4033:17): [True: 0, False: 0]
  ------------------
 4034|      0|                goto error;
 4035|      0|            }
 4036|      0|        }
 4037|    510|        else {
 4038|    510|            Py_DECREF(mod_check);
  ------------------
  |  |  430|    510|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4039|    510|            if (!initializing &&
  ------------------
  |  Branch (4039:17): [True: 477, False: 33]
  ------------------
 4040|    477|                FT_ATOMIC_LOAD_INT_RELAXED(interp->imports.has_lazy_submodules) &&
  ------------------
  |  |  189|    987|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (189:43): [True: 0, False: 477]
  |  |  ------------------
  ------------------
 4041|      0|                _PyImport_ClearLazySubmodule(tstate, abs_name, 1) < 0) {
  ------------------
  |  Branch (4041:17): [True: 0, False: 0]
  ------------------
 4042|      0|                goto error;
 4043|      0|            }
 4044|    510|        }
 4045|    510|    }
 4046|    469|    else {
 4047|    469|        Py_XDECREF(mod);
  ------------------
  |  |  621|    469|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    469|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    469|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4048|    469|        mod = import_find_and_load(tstate, abs_name);
 4049|    469|        if (mod == NULL) {
  ------------------
  |  Branch (4049:13): [True: 321, False: 148]
  ------------------
 4050|    321|            goto error;
 4051|    321|        }
 4052|    469|    }
 4053|       |
 4054|    658|    has_from = 0;
 4055|    658|    if (fromlist != NULL && fromlist != Py_None) {
  ------------------
  |  |  616|    610|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4055:9): [True: 610, False: 48]
  |  Branch (4055:29): [True: 419, False: 191]
  ------------------
 4056|    419|        has_from = PyObject_IsTrue(fromlist);
 4057|    419|        if (has_from < 0)
  ------------------
  |  Branch (4057:13): [True: 0, False: 419]
  ------------------
 4058|      0|            goto error;
 4059|    419|    }
 4060|    658|    if (!has_from) {
  ------------------
  |  Branch (4060:9): [True: 361, False: 297]
  ------------------
 4061|    361|        Py_ssize_t len = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  300|    361|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    361|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    361|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4062|    361|        if (level == 0 || len > 0) {
  ------------------
  |  Branch (4062:13): [True: 361, False: 0]
  |  Branch (4062:27): [True: 0, False: 0]
  ------------------
 4063|    361|            Py_ssize_t dot;
 4064|       |
 4065|    361|            dot = PyUnicode_FindChar(name, '.', 0, len, 1);
 4066|    361|            if (dot == -2) {
  ------------------
  |  Branch (4066:17): [True: 0, False: 361]
  ------------------
 4067|      0|                goto error;
 4068|      0|            }
 4069|       |
 4070|    361|            if (dot == -1) {
  ------------------
  |  Branch (4070:17): [True: 355, False: 6]
  ------------------
 4071|       |                /* No dot in module name, simple exit */
 4072|    355|                final_mod = Py_NewRef(mod);
  ------------------
  |  |  647|    355|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    355|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    355|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4073|    355|                goto error;
 4074|    355|            }
 4075|       |
 4076|      6|            if (level == 0) {
  ------------------
  |  Branch (4076:17): [True: 6, False: 0]
  ------------------
 4077|      6|                PyObject *front = PyUnicode_Substring(name, 0, dot);
 4078|      6|                if (front == NULL) {
  ------------------
  |  Branch (4078:21): [True: 0, False: 6]
  ------------------
 4079|      0|                    goto error;
 4080|      0|                }
 4081|       |
 4082|      6|                final_mod = PyImport_ImportModuleLevelObject(front, NULL, NULL, NULL, 0);
 4083|      6|                Py_DECREF(front);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4084|      6|            }
 4085|      0|            else {
 4086|      0|                Py_ssize_t cut_off = len - dot;
 4087|      0|                Py_ssize_t abs_name_len = PyUnicode_GET_LENGTH(abs_name);
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4088|      0|                PyObject *to_return = PyUnicode_Substring(abs_name, 0,
 4089|      0|                                                        abs_name_len - cut_off);
 4090|      0|                if (to_return == NULL) {
  ------------------
  |  Branch (4090:21): [True: 0, False: 0]
  ------------------
 4091|      0|                    goto error;
 4092|      0|                }
 4093|       |
 4094|      0|                final_mod = import_get_module(tstate, to_return);
 4095|      0|                if (final_mod == NULL) {
  ------------------
  |  Branch (4095:21): [True: 0, False: 0]
  ------------------
 4096|      0|                    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4096:25): [True: 0, False: 0]
  ------------------
 4097|      0|                        _PyErr_Format(tstate, PyExc_KeyError,
 4098|      0|                                      "%R not in sys.modules as expected",
 4099|      0|                                      to_return);
 4100|      0|                    }
 4101|      0|                    Py_DECREF(to_return);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4102|      0|                    goto error;
 4103|      0|                }
 4104|       |
 4105|      0|                Py_DECREF(to_return);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4106|      0|            }
 4107|      6|        }
 4108|      0|        else {
 4109|      0|            final_mod = Py_NewRef(mod);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4110|      0|        }
 4111|    361|    }
 4112|    297|    else {
 4113|    297|        int has_path = PyObject_HasAttrWithError(mod, &_Py_ID(__path__));
  ------------------
  |  |  951|    297|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    297|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    297|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4114|    297|        if (has_path < 0) {
  ------------------
  |  Branch (4114:13): [True: 0, False: 297]
  ------------------
 4115|      0|            goto error;
 4116|      0|        }
 4117|    297|        if (has_path) {
  ------------------
  |  Branch (4117:13): [True: 6, False: 291]
  ------------------
 4118|      6|            final_mod = PyObject_CallMethodObjArgs(
 4119|      6|                        IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |   96|      6|    (interp)->imports.importlib
  ------------------
                                      IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4120|      6|                        mod, fromlist, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  106|      6|    (interp)->imports.import_func
  ------------------
 4121|      6|        }
 4122|    291|        else {
 4123|    291|            final_mod = Py_NewRef(mod);
  ------------------
  |  |  647|    291|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    291|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    291|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4124|    291|        }
 4125|    297|    }
 4126|       |
 4127|    979|  error:
 4128|    979|    Py_XDECREF(abs_name);
  ------------------
  |  |  621|    979|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    979|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    979|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4129|    979|    Py_XDECREF(mod);
  ------------------
  |  |  621|    979|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    979|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    979|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4130|    979|    if (final_mod == NULL) {
  ------------------
  |  Branch (4130:9): [True: 321, False: 658]
  ------------------
 4131|    321|        remove_importlib_frames(tstate);
 4132|    321|    }
 4133|    979|    return final_mod;
 4134|    658|}
_PyImport_ClearLazySubmodule:
 4285|    148|{
 4286|    148|    if (LAZY_PENDING_SUBMODULES(tstate->interp) == NULL ||
  ------------------
  |  |   94|    148|    (interp)->imports.lazy_pending_submodules
  ------------------
  |  Branch (4286:9): [True: 0, False: 148]
  ------------------
 4287|    148|        PyDict_GET_SIZE(LAZY_PENDING_SUBMODULES(tstate->interp)) == 0) {
  ------------------
  |  |   63|    148|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4287:9): [True: 63, False: 85]
  ------------------
 4288|     63|        return 0;
 4289|     63|    }
 4290|     85|    Py_ssize_t end = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  300|     85|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4291|     85|    Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0, end, -1);
 4292|     85|    if (dot < 0) {
  ------------------
  |  Branch (4292:9): [True: 18, False: 67]
  ------------------
 4293|     18|        return dot == -2 ? -1 : 0;
  ------------------
  |  Branch (4293:16): [True: 0, False: 18]
  ------------------
 4294|     18|    }
 4295|     67|    PyObject *parent = PyUnicode_Substring(name, 0, dot);
 4296|     67|    PyObject *child = PyUnicode_Substring(name, dot + 1, end);
 4297|     67|    PyObject *pending = NULL;
 4298|     67|    int rc = -1;
 4299|     67|    if (parent != NULL && child != NULL) {
  ------------------
  |  Branch (4299:9): [True: 67, False: 0]
  |  Branch (4299:27): [True: 67, False: 0]
  ------------------
 4300|     67|        rc = PyDict_GetItemRef(LAZY_PENDING_SUBMODULES(tstate->interp),
  ------------------
  |  |   94|     67|    (interp)->imports.lazy_pending_submodules
  ------------------
 4301|     67|                              parent, &pending);
 4302|     67|        if (rc > 0) {
  ------------------
  |  Branch (4302:13): [True: 0, False: 67]
  ------------------
 4303|      0|            rc = PyDict_Contains(pending, child);
 4304|      0|        }
 4305|     67|        if (rc > 0) {
  ------------------
  |  Branch (4305:13): [True: 0, False: 67]
  ------------------
 4306|      0|            PyObject *loaded = import_get_module(tstate, name), *loaded_spec = NULL;
 4307|      0|            int loading = loaded == NULL ? (PyErr_Occurred() ? -1 : 0) :
  ------------------
  |  Branch (4307:27): [True: 0, False: 0]
  |  Branch (4307:45): [True: 0, False: 0]
  ------------------
 4308|      0|                PyObject_GetOptionalAttr(loaded, &_Py_ID(__spec__), &loaded_spec);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4309|      0|            if (loading > 0) {
  ------------------
  |  Branch (4309:17): [True: 0, False: 0]
  ------------------
 4310|      0|                loading = _PyModuleSpec_IsInitializing(loaded_spec);
 4311|      0|            }
 4312|      0|            Py_XDECREF(loaded_spec);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4313|      0|            Py_XDECREF(loaded);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4314|      0|            if (loading != 0) {
  ------------------
  |  Branch (4314:17): [True: 0, False: 0]
  ------------------
 4315|      0|                if (PyErr_ExceptionMatches(PyExc_Exception)) {
  ------------------
  |  Branch (4315:21): [True: 0, False: 0]
  ------------------
 4316|      0|                    PyErr_Clear();
 4317|      0|                    loading = 1;
 4318|      0|                }
 4319|      0|                rc = loading < 0 ? -1 : 0;
  ------------------
  |  Branch (4319:22): [True: 0, False: 0]
  ------------------
 4320|      0|                goto done;
 4321|      0|            }
 4322|      0|            PyObject *module = import_get_module(tstate, parent);
 4323|      0|            PyObject *spec = NULL;
 4324|      0|            int initializing = module == NULL ? (PyErr_Occurred() ? -1 : 0) :
  ------------------
  |  Branch (4324:32): [True: 0, False: 0]
  |  Branch (4324:50): [True: 0, False: 0]
  ------------------
 4325|      0|                PyObject_GetOptionalAttr(module, &_Py_ID(__spec__), &spec);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4326|      0|            if (initializing > 0) {
  ------------------
  |  Branch (4326:17): [True: 0, False: 0]
  ------------------
 4327|      0|                initializing = _PyModuleSpec_IsInitializing(spec);
 4328|      0|            }
 4329|      0|            Py_XDECREF(spec);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4330|      0|            if (bind && initializing == 0 && module != NULL &&
  ------------------
  |  Branch (4330:17): [True: 0, False: 0]
  |  Branch (4330:25): [True: 0, False: 0]
  |  Branch (4330:46): [True: 0, False: 0]
  ------------------
 4331|      0|                PyModule_CheckExact(module) && PyDict_Contains(pending, child) > 0) {
  ------------------
  |  |   13|      0|#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4331:48): [True: 0, False: 0]
  ------------------
 4332|      0|                PyObject *value = import_get_module(tstate, name);
 4333|      0|                if (value != NULL && value != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4333:21): [True: 0, False: 0]
  |  Branch (4333:38): [True: 0, False: 0]
  ------------------
 4334|      0|                    initializing = PyDict_SetDefaultRef(
  ------------------
  |  Branch (4334:36): [True: 0, False: 0]
  ------------------
 4335|      0|                        _PyModule_GetDict(module), child, value, NULL) < 0 ? -1 : 0;
 4336|      0|                }
 4337|      0|                Py_XDECREF(value);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4338|      0|            }
 4339|      0|            Py_XDECREF(module);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4340|      0|            rc = initializing < 0 ? -1 :
  ------------------
  |  Branch (4340:18): [True: 0, False: 0]
  ------------------
 4341|      0|                (initializing ? PyDict_SetItem(pending, child, Py_None) :
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4341:18): [True: 0, False: 0]
  ------------------
 4342|      0|                                PyDict_Pop(pending, child, NULL));
 4343|      0|        }
 4344|     67|    }
 4345|     67|done:
 4346|     67|    Py_XDECREF(pending);
  ------------------
  |  |  621|     67|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4347|     67|    Py_XDECREF(parent);
  ------------------
  |  |  621|     67|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4348|     67|    Py_XDECREF(child);
  ------------------
  |  |  621|     67|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4349|     67|    return rc < 0 ? -1 : 0;
  ------------------
  |  Branch (4349:12): [True: 0, False: 67]
  ------------------
 4350|     67|}
_PyImport_TryLoadLazySubmodule:
 4361|    762|{
 4362|    762|    *recheck_dict = 0;
 4363|    762|    PyObject *mod_dict = _PyModule_GetDict(module);
 4364|    762|    PyObject *mod_name;
 4365|    762|    if (PyDict_GetItemRef(mod_dict, &_Py_ID(__name__), &mod_name) <= 0) {
  ------------------
  |  |  951|    762|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    762|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    762|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4365:9): [True: 0, False: 762]
  ------------------
 4366|      0|        return NULL;
 4367|      0|    }
 4368|    762|    PyObject *mod = NULL, *pending_set = NULL, *source = NULL;
 4369|    762|    if (!PyUnicode_Check(mod_name)) {
  ------------------
  |  |  103|    762|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    762|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4369:9): [True: 0, False: 762]
  ------------------
 4370|      0|        goto done;
 4371|      0|    }
 4372|    762|    PyThreadState *tstate = _PyThreadState_GET();
 4373|    762|    PyObject *lazy_pending = LAZY_PENDING_SUBMODULES(tstate->interp);
  ------------------
  |  |   94|    762|    (interp)->imports.lazy_pending_submodules
  ------------------
 4374|    762|    if (lazy_pending == NULL ||
  ------------------
  |  Branch (4374:9): [True: 0, False: 762]
  ------------------
 4375|    762|        PyDict_GetItemRef(lazy_pending, mod_name, &pending_set) <= 0) {
  ------------------
  |  Branch (4375:9): [True: 762, False: 0]
  ------------------
 4376|    762|        goto done;
 4377|    762|    }
 4378|       |
 4379|      0|    *recheck_dict = 1;
 4380|      0|    if (PyDict_GetItemRef(pending_set, attr_name, &source) <= 0) {
  ------------------
  |  Branch (4380:9): [True: 0, False: 0]
  ------------------
 4381|      0|        goto done;
 4382|      0|    }
 4383|      0|    PyObject *full_name = PyUnicode_FromFormat("%U.%U", mod_name, attr_name);
 4384|      0|    if (full_name == NULL) {
  ------------------
  |  Branch (4384:9): [True: 0, False: 0]
  ------------------
 4385|      0|        goto done;
 4386|      0|    }
 4387|       |    // Match eager from-imports: accept a partial module in an import cycle.
 4388|      0|    if (source != Py_None && !suppress &&
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4388:9): [True: 0, False: 0]
  |  Branch (4388:30): [True: 0, False: 0]
  ------------------
 4389|      0|        (_PyLazyImport_IsActive(source) ||
  ------------------
  |  Branch (4389:10): [True: 0, False: 0]
  ------------------
 4390|      0|         !PyDict_Contains(mod_dict, &_Py_ID(__getattr__)))) {
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4390:10): [True: 0, False: 0]
  ------------------
 4391|      0|        mod = _PyLazyImport_LoadChild(tstate, source, full_name);
 4392|      0|    }
 4393|      0|    else {
 4394|      0|        mod = PyImport_GetModule(full_name);
 4395|      0|        if ((mod == NULL && !PyErr_Occurred()) || mod == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4395:14): [True: 0, False: 0]
  |  Branch (4395:29): [True: 0, False: 0]
  |  Branch (4395:51): [True: 0, False: 0]
  ------------------
 4396|      0|            Py_XDECREF(mod);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4397|      0|            mod = import_find_and_load_with_name(
 4398|      0|                tstate, full_name, &_Py_ID(_find_and_load_lazy_submodule), Py_None);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              tstate, full_name, &_Py_ID(_find_and_load_lazy_submodule), Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4399|      0|        }
 4400|      0|    }
 4401|      0|    if (mod == NULL) {
  ------------------
  |  Branch (4401:9): [True: 0, False: 0]
  ------------------
 4402|      0|        PyObject *exc = PyErr_GetRaisedException();
 4403|      0|        PyObject *loaded = import_get_module(tstate, full_name);
 4404|      0|        if (loaded != NULL && loaded != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4404:13): [True: 0, False: 0]
  |  Branch (4404:31): [True: 0, False: 0]
  ------------------
 4405|      0|            (void)_PyDict_DelItemIf(mod_dict, attr_name,
 4406|      0|                                  lazy_submodule_matches, loaded);
 4407|      0|            (void)PyDict_SetDefaultRef(pending_set, attr_name, source, NULL);
 4408|      0|        }
 4409|      0|        Py_XDECREF(loaded);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4410|      0|        PyErr_SetRaisedException(exc);
 4411|      0|        remove_importlib_frames(tstate);
 4412|      0|    }
 4413|       |    /* Keep missing children pending: a finder may provide them later. */
 4414|      0|    else {
 4415|      0|        PyObject *spec = NULL;
 4416|      0|        int rc = mod == Py_None ? 0 :
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4416:18): [True: 0, False: 0]
  ------------------
 4417|      0|            PyObject_GetOptionalAttr(mod, &_Py_ID(__spec__), &spec);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4418|      0|        int initializing = rc > 0 ? _PyModuleSpec_IsInitializing(spec) : rc;
  ------------------
  |  Branch (4418:28): [True: 0, False: 0]
  ------------------
 4419|      0|        Py_XDECREF(spec);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4420|      0|        if (initializing < 0 && PyErr_ExceptionMatches(PyExc_Exception)) {
  ------------------
  |  Branch (4420:13): [True: 0, False: 0]
  |  Branch (4420:33): [True: 0, False: 0]
  ------------------
 4421|      0|            PyErr_Clear();
 4422|      0|            initializing = 0;
 4423|      0|        }
 4424|      0|        if (mod == Py_None || initializing < 0 ||
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4424:13): [True: 0, False: 0]
  |  Branch (4424:31): [True: 0, False: 0]
  ------------------
 4425|      0|            (initializing == 0 &&
  ------------------
  |  Branch (4425:14): [True: 0, False: 0]
  ------------------
 4426|      0|             (PyDict_SetItem(mod_dict, attr_name, mod) < 0 ||
  ------------------
  |  Branch (4426:15): [True: 0, False: 0]
  ------------------
 4427|      0|              PyDict_Pop(pending_set, attr_name, NULL) < 0))) {
  ------------------
  |  Branch (4427:15): [True: 0, False: 0]
  ------------------
 4428|      0|            Py_CLEAR(mod);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4429|      0|        }
 4430|      0|    }
 4431|      0|    Py_DECREF(full_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4432|       |
 4433|    762|done:
 4434|    762|    Py_XDECREF(source);
  ------------------
  |  |  621|    762|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    762|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    762|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4435|    762|    Py_XDECREF(pending_set);
  ------------------
  |  |  621|    762|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    762|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    762|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4436|    762|    Py_DECREF(mod_name);
  ------------------
  |  |  430|    762|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    762|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    762|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4437|    762|    return mod;
 4438|      0|}
_PyImport_LazyImportModuleLevelObject:
 4445|     12|{
 4446|     12|    assert(name != NULL);
  ------------------
  |  Branch (4446:5): [True: 12, False: 0]
  ------------------
 4447|     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 (4447:9): [True: 0, False: 12]
  ------------------
 4448|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 4449|      0|                      "module name must be a string, got %T", name);
 4450|      0|        return NULL;
 4451|      0|    }
 4452|     12|    if (level < 0) {
  ------------------
  |  Branch (4452:9): [True: 0, False: 12]
  ------------------
 4453|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4454|      0|        return NULL;
 4455|      0|    }
 4456|       |
 4457|     12|    PyObject *abs_name = _PyImport_GetAbsName(tstate, name, globals, level);
 4458|     12|    if (abs_name == NULL) {
  ------------------
  |  Branch (4458:9): [True: 0, False: 12]
  ------------------
 4459|      0|        return NULL;
 4460|      0|    }
 4461|       |
 4462|     12|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 4463|     12|    if (frame == NULL || frame->f_globals != frame->f_locals) {
  ------------------
  |  Branch (4463:9): [True: 0, False: 12]
  |  Branch (4463:26): [True: 0, False: 12]
  ------------------
 4464|      0|        Py_DECREF(abs_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4465|      0|        PyErr_SetString(PyExc_SyntaxError,
 4466|      0|                        "'lazy import' is only allowed at module level");
 4467|      0|        return NULL;
 4468|      0|    }
 4469|       |
 4470|     12|    PyObject *res = NULL;
 4471|     12|    PyObject *existing_module = NULL;
 4472|       |
 4473|     12|    if (fromlist != NULL && 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 (4473:9): [True: 12, False: 0]
  ------------------
 4474|      0|        fromlist = PyTuple_Pack(1, fromlist);
 4475|      0|        if (fromlist == NULL) {
  ------------------
  |  Branch (4475:13): [True: 0, False: 0]
  ------------------
 4476|      0|            goto done;
 4477|      0|        }
 4478|      0|    }
 4479|     12|    else {
 4480|     12|        fromlist = Py_NewRef(fromlist != NULL ? fromlist : Py_None);
  ------------------
  |  |  647|     12|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 12, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4481|     12|    }
 4482|       |
 4483|       |    // Check if the filter disables the lazy import.
 4484|     12|    PyObject *filter = PyImport_GetLazyImportsFilter();
 4485|       |
 4486|     12|    if (filter != NULL) {
  ------------------
  |  Branch (4486:9): [True: 0, False: 12]
  ------------------
 4487|      0|        PyObject *modname;
 4488|      0|        if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &modname) < 0) {
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4488:13): [True: 0, False: 0]
  ------------------
 4489|      0|            Py_DECREF(filter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4490|      0|            goto done;
 4491|      0|        }
 4492|      0|        if (modname == NULL) {
  ------------------
  |  Branch (4492:13): [True: 0, False: 0]
  ------------------
 4493|      0|            assert(!PyErr_Occurred());
  ------------------
  |  Branch (4493:13): [True: 0, False: 0]
  ------------------
 4494|      0|            modname = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4495|      0|        }
 4496|      0|        PyObject *args[] = {modname, abs_name, fromlist};
 4497|      0|        PyObject *decision = PyObject_Vectorcall(filter, args, 3, NULL);
 4498|       |
 4499|      0|        Py_DECREF(modname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4500|      0|        Py_DECREF(filter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4501|       |
 4502|      0|        if (decision == NULL) {
  ------------------
  |  Branch (4502:13): [True: 0, False: 0]
  ------------------
 4503|      0|            goto done;
 4504|      0|        }
 4505|       |
 4506|      0|        int is_true = PyObject_IsTrue(decision);
 4507|      0|        Py_DECREF(decision);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4508|       |
 4509|      0|        if (is_true < 0) {
  ------------------
  |  Branch (4509:13): [True: 0, False: 0]
  ------------------
 4510|      0|            goto done;
 4511|      0|        }
 4512|      0|        if (!is_true) {
  ------------------
  |  Branch (4512:13): [True: 0, False: 0]
  ------------------
 4513|      0|            res = PyImport_ImportModuleLevelObject(
 4514|      0|                name, globals, locals, fromlist, level
 4515|      0|            );
 4516|      0|            goto done;
 4517|      0|        }
 4518|      0|    }
 4519|       |
 4520|       |    // Validate the entire fromlist before registering any pending imports.
 4521|     12|    if (PyTuple_Check(fromlist)) {
  ------------------
  |  |   27|     12|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4522|      4|        for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(fromlist); i++) {
  ------------------
  |  |   27|      4|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4522:32): [True: 2, False: 2]
  ------------------
 4523|      2|            PyObject *item = PyTuple_GET_ITEM(fromlist, i);
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4523:30): [True: 2, False: 0]
  ------------------
 4524|      2|            if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4524:17): [True: 0, False: 2]
  ------------------
 4525|      0|                _PyErr_Format(tstate, PyExc_TypeError,
 4526|      0|                              "Item in ``from list'' must be str, not %.200s",
 4527|      0|                              Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4528|      0|                goto done;
 4529|      0|            }
 4530|      2|        }
 4531|      2|    }
 4532|     12|    res = _PyLazyImport_New(frame, builtins, abs_name, fromlist);
 4533|     12|    if (res == NULL) {
  ------------------
  |  Branch (4533:9): [True: 0, False: 12]
  ------------------
 4534|      0|        goto done;
 4535|      0|    }
 4536|       |
 4537|     12|    if (lazy_modules_add(tstate, abs_name, &existing_module) < 0) {
  ------------------
  |  Branch (4537:9): [True: 0, False: 12]
  ------------------
 4538|      0|        goto error;
 4539|      0|    }
 4540|       |
 4541|     12|    if (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 (PyTuple_Check(fromlist) && PyTuple_GET_SIZE(fromlist)) {
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 2, False: 0]
  |  |  ------------------
  ------------------
 4542|      4|        for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(fromlist); i++) {
  ------------------
  |  |   27|      4|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4542:32): [True: 2, False: 2]
  ------------------
 4543|      2|            if (register_from_lazy_on_parent(tstate, existing_module, abs_name,
  ------------------
  |  Branch (4543:17): [True: 0, False: 2]
  ------------------
 4544|      2|                                             PyTuple_GET_ITEM(fromlist, i)) < 0)
  ------------------
  |  |   29|      2|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      2|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4544:46): [True: 2, False: 0]
  ------------------
 4545|      0|            {
 4546|      0|                goto error;
 4547|      0|            }
 4548|      2|        }
 4549|      2|    }
 4550|     10|    else if (register_lazy_on_parent(tstate, abs_name, res) < 0) {
  ------------------
  |  Branch (4550:14): [True: 0, False: 10]
  ------------------
 4551|      0|        goto error;
 4552|      0|    }
 4553|       |
 4554|     12|    goto done;
 4555|     12|error:
 4556|      0|    Py_CLEAR(res);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4557|     12|done:
 4558|     12|    Py_XDECREF(fromlist);
  ------------------
  |  |  621|     12|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4559|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4560|     12|    Py_XDECREF(existing_module);
  ------------------
  |  |  621|     12|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4561|     12|    return res;
 4562|      0|}
PyImport_ImportModuleLevel:
 4567|     16|{
 4568|     16|    PyObject *nameobj, *mod;
 4569|     16|    nameobj = PyUnicode_FromString(name);
 4570|     16|    if (nameobj == NULL)
  ------------------
  |  Branch (4570:9): [True: 0, False: 16]
  ------------------
 4571|      0|        return NULL;
 4572|     16|    mod = PyImport_ImportModuleLevelObject(nameobj, globals, locals,
 4573|     16|                                           fromlist, level);
 4574|     16|    Py_DECREF(nameobj);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4575|     16|    return mod;
 4576|     16|}
PyImport_Import:
 4615|    122|{
 4616|    122|    PyThreadState *tstate = _PyThreadState_GET();
 4617|    122|    PyObject *globals = NULL;
 4618|    122|    PyObject *import = NULL;
 4619|    122|    PyObject *builtins = NULL;
 4620|    122|    PyObject *r = NULL;
 4621|       |
 4622|    122|    PyObject *from_list = PyList_New(0);
 4623|    122|    if (from_list == NULL) {
  ------------------
  |  Branch (4623:9): [True: 0, False: 122]
  ------------------
 4624|      0|        goto err;
 4625|      0|    }
 4626|       |
 4627|       |    /* Get the builtins from current globals */
 4628|    122|    globals = PyEval_GetGlobals();  // borrowed
 4629|    122|    if (globals != NULL) {
  ------------------
  |  Branch (4629:9): [True: 106, False: 16]
  ------------------
 4630|    106|        Py_INCREF(globals);
  ------------------
  |  |  310|    106|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    106|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4631|       |        // XXX Use _PyEval_EnsureBuiltins()?
 4632|    106|        builtins = PyObject_GetItem(globals, &_Py_ID(__builtins__));
  ------------------
  |  |  951|    106|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    106|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    106|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4633|    106|        if (builtins == NULL) {
  ------------------
  |  Branch (4633:13): [True: 0, False: 106]
  ------------------
 4634|       |            // XXX Fall back to interp->builtins or sys.modules['builtins']?
 4635|      0|            goto err;
 4636|      0|        }
 4637|    106|    }
 4638|     16|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4638:14): [True: 0, False: 16]
  ------------------
 4639|      0|        goto err;
 4640|      0|    }
 4641|     16|    else {
 4642|       |        /* No globals -- use standard builtins, and fake globals */
 4643|     16|        globals = PyDict_New();
 4644|     16|        if (globals == NULL) {
  ------------------
  |  Branch (4644:13): [True: 0, False: 16]
  ------------------
 4645|      0|            goto err;
 4646|      0|        }
 4647|     16|        if (_PyEval_EnsureBuiltinsWithModule(tstate, globals, &builtins) < 0) {
  ------------------
  |  Branch (4647:13): [True: 0, False: 16]
  ------------------
 4648|      0|            goto err;
 4649|      0|        }
 4650|     16|    }
 4651|       |
 4652|       |    /* Get the __import__ function from the builtins */
 4653|    122|    if (PyDict_Check(builtins)) {
  ------------------
  |  |   18|    122|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    122|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 106, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4654|    106|        import = PyObject_GetItem(builtins, &_Py_ID(__import__));
  ------------------
  |  |  951|    106|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    106|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    106|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4655|    106|        if (import == NULL) {
  ------------------
  |  Branch (4655:13): [True: 0, False: 106]
  ------------------
 4656|      0|            _PyErr_SetObject(tstate, PyExc_KeyError, &_Py_ID(__import__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4657|      0|        }
 4658|    106|    }
 4659|     16|    else
 4660|     16|        import = PyObject_GetAttr(builtins, &_Py_ID(__import__));
  ------------------
  |  |  951|     16|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     16|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     16|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4661|    122|    if (import == NULL)
  ------------------
  |  Branch (4661:9): [True: 0, False: 122]
  ------------------
 4662|      0|        goto err;
 4663|       |
 4664|       |    /* Call the __import__ function with the proper argument list
 4665|       |       Always use absolute import here.
 4666|       |       Calling for side-effect of import. */
 4667|    122|    r = PyObject_CallFunction(import, "OOOOi", module_name, globals,
 4668|    122|                              globals, from_list, 0, NULL);
 4669|    122|    if (r == NULL)
  ------------------
  |  Branch (4669:9): [True: 0, False: 122]
  ------------------
 4670|      0|        goto err;
 4671|    122|    Py_DECREF(r);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4672|       |
 4673|    122|    r = import_get_module(tstate, module_name);
 4674|    122|    if (r == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4674:9): [True: 0, False: 122]
  |  Branch (4674:22): [True: 0, False: 0]
  ------------------
 4675|      0|        _PyErr_SetObject(tstate, PyExc_KeyError, module_name);
 4676|      0|    }
 4677|       |
 4678|    122|  err:
 4679|    122|    Py_XDECREF(globals);
  ------------------
  |  |  621|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4680|    122|    Py_XDECREF(builtins);
  ------------------
  |  |  621|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4681|    122|    Py_XDECREF(import);
  ------------------
  |  |  621|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4682|    122|    Py_XDECREF(from_list);
  ------------------
  |  |  621|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4683|       |
 4684|    122|    return r;
 4685|    122|}
_PyImport_Init:
 4694|      2|{
 4695|      2|    if (INITTAB != NULL) {
  ------------------
  |  |   78|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
  |  Branch (4695:9): [True: 0, False: 2]
  ------------------
 4696|      0|        return _PyStatus_ERR("global import state already initialized");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4697|      0|    }
 4698|      2|    if (init_builtin_modules_table() != 0) {
  ------------------
  |  Branch (4698:9): [True: 0, False: 2]
  ------------------
 4699|      0|        return PyStatus_NoMemory();
 4700|      0|    }
 4701|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4702|      2|}
_PyImport_InitCore:
 4734|      2|{
 4735|       |    // XXX Initialize here: interp->modules and interp->import_func.
 4736|       |    // XXX Initialize here: sys.modules and sys.meta_path.
 4737|       |
 4738|      2|    if (importlib) {
  ------------------
  |  Branch (4738:9): [True: 2, False: 0]
  ------------------
 4739|       |        /* This call sets up builtin and frozen import support */
 4740|      2|        if (init_importlib(tstate, sysmod) < 0) {
  ------------------
  |  Branch (4740:13): [True: 0, False: 2]
  ------------------
 4741|      0|            return _PyStatus_ERR("failed to initialize importlib");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4742|      0|        }
 4743|      2|    }
 4744|       |
 4745|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4746|      2|}
_PyImport_InitExternal:
 4839|      2|{
 4840|      2|    int verbose = _PyInterpreterState_GetConfig(tstate->interp)->verbose;
 4841|       |
 4842|       |    // XXX Initialize here: sys.path_hooks and sys.path_importer_cache.
 4843|       |
 4844|      2|    if (init_importlib_external(tstate->interp) != 0) {
  ------------------
  |  Branch (4844:9): [True: 0, False: 2]
  ------------------
 4845|      0|        _PyErr_Print(tstate);
 4846|      0|        return _PyStatus_ERR("external importer setup failed");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4847|      0|    }
 4848|       |
 4849|      2|    if (init_zipimport(tstate, verbose) != 0) {
  ------------------
  |  Branch (4849:9): [True: 0, False: 2]
  ------------------
 4850|      0|        PyErr_Print();
 4851|      0|        return _PyStatus_ERR("initializing zipimport failed");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 4852|      0|    }
 4853|       |
 4854|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4855|      2|}
PyImport_ImportModuleAttr:
 4881|    109|{
 4882|    109|    PyObject *mod = PyImport_Import(modname);
 4883|    109|    if (mod == NULL) {
  ------------------
  |  Branch (4883:9): [True: 0, False: 109]
  ------------------
 4884|      0|        return NULL;
 4885|      0|    }
 4886|    109|    PyObject *result = PyObject_GetAttr(mod, attrname);
 4887|    109|    Py_DECREF(mod);
  ------------------
  |  |  430|    109|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    109|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    109|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4888|    109|    return result;
 4889|    109|}
PyImport_ImportModuleAttrString:
 4893|    109|{
 4894|    109|    PyObject *pmodname = PyUnicode_FromString(modname);
 4895|    109|    if (pmodname == NULL) {
  ------------------
  |  Branch (4895:9): [True: 0, False: 109]
  ------------------
 4896|      0|        return NULL;
 4897|      0|    }
 4898|    109|    PyObject *pattrname = PyUnicode_FromString(attrname);
 4899|    109|    if (pattrname == NULL) {
  ------------------
  |  Branch (4899:9): [True: 0, False: 109]
  ------------------
 4900|      0|        Py_DECREF(pmodname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4901|      0|        return NULL;
 4902|      0|    }
 4903|    109|    PyObject *result = PyImport_ImportModuleAttr(pmodname, pattrname);
 4904|    109|    Py_DECREF(pattrname);
  ------------------
  |  |  430|    109|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    109|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    109|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4905|    109|    Py_DECREF(pmodname);
  ------------------
  |  |  430|    109|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    109|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    109|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4906|    109|    return result;
 4907|    109|}
PyImport_GetLazyImportsFilter:
 4937|     12|{
 4938|     12|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4939|     12|    LAZY_IMPORTS_LOCK(interp);
 4940|     12|    PyObject *res = Py_XNewRef(LAZY_IMPORTS_FILTER(interp));
  ------------------
  |  |  648|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4941|     12|    LAZY_IMPORTS_UNLOCK(interp);
 4942|     12|    return res;
 4943|     12|}
PyImport_GetLazyImportsMode:
 4957|    244|{
 4958|    244|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4959|    244|    return FT_ATOMIC_LOAD_INT_RELAXED(LAZY_IMPORTS_MODE(interp));
  ------------------
  |  |  189|    244|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
 4960|    244|}
PyInit__imp:
 5639|      2|{
 5640|      2|    return PyModuleDef_Init(&imp_module);
 5641|      2|}
import.c:get_modules_dict:
  213|  1.68k|{
  214|       |    /* Technically, it would make sense to incref the dict,
  215|       |     * since sys.modules could be swapped out and decref'ed to 0
  216|       |     * before the caller is done using it.  However, that is highly
  217|       |     * unlikely, especially since we can rely on a global lock
  218|       |     * (i.e. the GIL) for thread-safety. */
  219|  1.68k|    PyObject *modules = MODULES(tstate->interp);
  ------------------
  |  |   88|  1.68k|    (interp)->imports.modules
  ------------------
  220|  1.68k|    if (modules == NULL) {
  ------------------
  |  Branch (220:9): [True: 0, False: 1.68k]
  ------------------
  221|      0|        if (fatal) {
  ------------------
  |  Branch (221:13): [True: 0, False: 0]
  ------------------
  222|      0|            Py_FatalError("interpreter has no modules dictionary");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  223|      0|        }
  224|      0|        _PyErr_SetString(tstate, PyExc_RuntimeError,
  225|      0|                         "unable to get sys.modules");
  226|      0|        return NULL;
  227|      0|    }
  228|  1.68k|    return modules;
  229|  1.68k|}
import.c:import_get_module:
  256|  1.63k|{
  257|  1.63k|    PyObject *modules = get_modules_dict(tstate, false);
  258|  1.63k|    if (modules == NULL) {
  ------------------
  |  Branch (258:9): [True: 0, False: 1.63k]
  ------------------
  259|      0|        return NULL;
  260|      0|    }
  261|       |
  262|  1.63k|    PyObject *m;
  263|  1.63k|    Py_INCREF(modules);
  ------------------
  |  |  310|  1.63k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  264|  1.63k|    (void)PyMapping_GetOptionalItem(modules, name, &m);
  265|  1.63k|    Py_DECREF(modules);
  ------------------
  |  |  430|  1.63k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  266|  1.63k|    return m;
  267|  1.63k|}
import.c:import_ensure_initialized:
  312|    510|{
  313|    510|    PyObject *spec;
  314|       |
  315|       |    /* Optimization: only call _bootstrap._lock_unlock_module() if
  316|       |       __spec__._initializing is true.
  317|       |       NOTE: because of this, initializing must be set *before*
  318|       |       stuffing the new module in sys.modules.
  319|       |    */
  320|    510|    int rc = PyObject_GetOptionalAttr(mod, &_Py_ID(__spec__), &spec);
  ------------------
  |  |  951|    510|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    510|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    510|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  321|    510|    if (rc > 0) {
  ------------------
  |  Branch (321:9): [True: 510, False: 0]
  ------------------
  322|    510|        rc = _PyModuleSpec_IsInitializing(spec);
  323|    510|        Py_DECREF(spec);
  ------------------
  |  |  430|    510|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  324|    510|    }
  325|    510|    if (rc == 0) {
  ------------------
  |  Branch (325:9): [True: 477, False: 33]
  ------------------
  326|    477|        goto done;
  327|    477|    }
  328|     33|    else if (rc < 0) {
  ------------------
  |  Branch (328:14): [True: 0, False: 33]
  ------------------
  329|      0|        return rc;
  330|      0|    }
  331|       |
  332|       |    /* Wait until module is done importing. */
  333|     33|    PyObject *value = PyObject_CallMethodOneArg(
  334|     33|        IMPORTLIB(interp), &_Py_ID(_lock_unlock_module), name);
  ------------------
  |  |   96|     33|    (interp)->imports.importlib
  ------------------
                      IMPORTLIB(interp), &_Py_ID(_lock_unlock_module), name);
  ------------------
  |  |  951|     33|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     33|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     33|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  335|     33|    if (value == NULL) {
  ------------------
  |  Branch (335:9): [True: 0, False: 33]
  ------------------
  336|      0|        return -1;
  337|      0|    }
  338|     33|    Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  339|       |
  340|    510|done:
  341|       |    /* When -X importtime=2, print an import time entry even if an
  342|       |       imported module has already been loaded.
  343|       |     */
  344|    510|    if (_PyInterpreterState_GetConfig(interp)->import_time == 2) {
  ------------------
  |  Branch (344:9): [True: 0, False: 510]
  ------------------
  345|      0|        _IMPORT_TIME_HEADER(interp);
  ------------------
  |  |  133|      0|    do {                                                                      \
  |  |  134|      0|        if (FIND_AND_LOAD((interp)).header) {                                 \
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  |  Branch (134:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  135|      0|            fputs("import time: self [us] | cumulative | imported package\n", \
  |  |  136|      0|                  stderr);                                                    \
  |  |  137|      0|            FIND_AND_LOAD((interp)).header = 0;                               \
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  138|      0|        }                                                                     \
  |  |  139|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (139:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  346|      0|#define import_level FIND_AND_LOAD(interp).import_level
  347|      0|        PyObject *encoded_name = get_importtime_name(name);
  348|      0|        fprintf(stderr, "import time: cached    | cached     | %*s\n",
  349|      0|                import_level*2,
  ------------------
  |  |  346|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
  350|      0|                encoded_name != NULL ? PyBytes_AS_STRING(encoded_name) : "?");
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (350:17): [True: 0, False: 0]
  ------------------
  351|      0|        Py_XDECREF(encoded_name);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|      0|#undef import_level
  353|      0|    }
  354|       |
  355|    510|    return rc;
  356|     33|}
import.c:import_add_module:
  425|     10|{
  426|     10|    PyObject *modules = get_modules_dict(tstate, false);
  427|     10|    if (modules == NULL) {
  ------------------
  |  Branch (427:9): [True: 0, False: 10]
  ------------------
  428|      0|        return NULL;
  429|      0|    }
  430|       |
  431|     10|    PyObject *m;
  432|     10|    Py_BEGIN_CRITICAL_SECTION(modules);
  ------------------
  |  |   51|     10|    {
  ------------------
  433|     10|    m = import_add_module_lock_held(modules, name);
  434|     10|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     10|    }
  ------------------
  435|     10|    return m;
  436|     10|}
import.c:import_add_module_lock_held:
  403|     10|{
  404|     10|    PyObject *m;
  405|     10|    if (PyMapping_GetOptionalItem(modules, name, &m) < 0) {
  ------------------
  |  Branch (405:9): [True: 0, False: 10]
  ------------------
  406|      0|        return NULL;
  407|      0|    }
  408|     10|    if (m != NULL && PyModule_Check(m)) {
  ------------------
  |  |   12|      4|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      4|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (408:9): [True: 4, False: 6]
  ------------------
  409|      4|        return m;
  410|      4|    }
  411|      6|    Py_XDECREF(m);
  ------------------
  |  |  621|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|      6|    m = PyModule_NewObject(name);
  413|      6|    if (m == NULL)
  ------------------
  |  Branch (413:9): [True: 0, False: 6]
  ------------------
  414|      0|        return NULL;
  415|      6|    if (PyObject_SetItem(modules, name, m) != 0) {
  ------------------
  |  Branch (415:9): [True: 0, False: 6]
  ------------------
  416|      0|        Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  417|      0|        return NULL;
  418|      0|    }
  419|       |
  420|      6|    return m;
  421|      6|}
import.c:_get_cached_module_index:
 1147|      4|{
 1148|      4|    assert(cached->m_index > 0);
  ------------------
  |  Branch (1148:5): [True: 4, False: 0]
  ------------------
 1149|      4|    return cached->m_index;
 1150|      4|}
import.c:_modules_by_index_set:
  603|      4|{
  604|      4|    assert(index > 0);
  ------------------
  |  Branch (604:5): [True: 4, False: 0]
  ------------------
  605|       |
  606|      4|    if (MODULES_BY_INDEX(interp) == NULL) {
  ------------------
  |  |   90|      4|    (interp)->imports.modules_by_index
  ------------------
  |  Branch (606:9): [True: 2, False: 2]
  ------------------
  607|      2|        MODULES_BY_INDEX(interp) = PyList_New(0);
  ------------------
  |  |   90|      2|    (interp)->imports.modules_by_index
  ------------------
  608|      2|        if (MODULES_BY_INDEX(interp) == NULL) {
  ------------------
  |  |   90|      2|    (interp)->imports.modules_by_index
  ------------------
  |  Branch (608:13): [True: 0, False: 2]
  ------------------
  609|      0|            return -1;
  610|      0|        }
  611|      2|    }
  612|       |
  613|     14|    while (PyList_GET_SIZE(MODULES_BY_INDEX(interp)) <= index) {
  ------------------
  |  |   38|     14|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (613:12): [True: 10, False: 4]
  ------------------
  614|     10|        if (PyList_Append(MODULES_BY_INDEX(interp), Py_None) < 0) {
  ------------------
  |  |   90|     10|    (interp)->imports.modules_by_index
  ------------------
                      if (PyList_Append(MODULES_BY_INDEX(interp), Py_None) < 0) {
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (614:13): [True: 0, False: 10]
  ------------------
  615|      0|            return -1;
  616|      0|        }
  617|     10|    }
  618|       |
  619|      4|    return PyList_SetItem(MODULES_BY_INDEX(interp), index, Py_NewRef(module));
  ------------------
  |  |   90|      4|    (interp)->imports.modules_by_index
  ------------------
                  return PyList_SetItem(MODULES_BY_INDEX(interp), index, Py_NewRef(module));
  ------------------
  |  |  647|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|      4|}
import.c:switch_to_main_interpreter:
 1691|     38|{
 1692|     38|    if (_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (1692:9): [True: 38, False: 0]
  ------------------
 1693|     38|        return tstate;
 1694|     38|    }
 1695|      0|    PyThreadState *main_tstate = _PyThreadState_NewBound(
 1696|      0|            _PyInterpreterState_Main(), _PyThreadState_WHENCE_EXEC);
  ------------------
  |  |  109|      0|#  define _PyThreadState_WHENCE_EXEC 5
  ------------------
 1697|      0|    if (main_tstate == NULL) {
  ------------------
  |  Branch (1697:9): [True: 0, False: 0]
  ------------------
 1698|      0|        return NULL;
 1699|      0|    }
 1700|      0|#ifndef NDEBUG
 1701|      0|    PyThreadState *old_tstate = PyThreadState_Swap(main_tstate);
 1702|      0|    assert(old_tstate == tstate);
  ------------------
  |  Branch (1702:5): [True: 0, False: 0]
  ------------------
 1703|       |#else
 1704|       |    (void)PyThreadState_Swap(main_tstate);
 1705|       |#endif
 1706|      0|    return main_tstate;
 1707|      0|}
import.c:extensions_lock_acquire:
 1060|     50|{
 1061|     50|    PyMutex_Lock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   59|     50|#define PyMutex_Lock _PyMutex_Lock
  ------------------
 1062|     50|}
import.c:_extensions_cache_find_unlocked:
 1409|     50|{
 1410|     50|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   80|     50|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1410:9): [True: 4, False: 46]
  ------------------
 1411|      4|        return NULL;
 1412|      4|    }
 1413|     46|    void *key = hashtable_key_from_2_strings(path, name, HTSEP);
  ------------------
  |  | 1386|     46|#define HTSEP ':'
  ------------------
 1414|     46|    if (key == NULL) {
  ------------------
  |  Branch (1414:9): [True: 0, False: 46]
  ------------------
 1415|      0|        return NULL;
 1416|      0|    }
 1417|     46|    _Py_hashtable_entry_t *entry =
 1418|     46|            _Py_hashtable_get_entry(EXTENSIONS.hashtable, key);
  ------------------
  |  |   80|     46|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
 1419|     46|    if (p_key != NULL) {
  ------------------
  |  Branch (1419:9): [True: 4, False: 42]
  ------------------
 1420|      4|        *p_key = key;
 1421|      4|    }
 1422|     42|    else {
 1423|     42|        hashtable_destroy_str(key);
 1424|     42|    }
 1425|     46|    return entry;
 1426|     46|}
import.c:hashtable_key_from_2_strings:
 1305|     46|{
 1306|     46|    const char *str1_data = _PyUnicode_AsUTF8NoNUL(str1);
 1307|     46|    const char *str2_data = _PyUnicode_AsUTF8NoNUL(str2);
 1308|     46|    if (str1_data == NULL || str2_data == NULL) {
  ------------------
  |  Branch (1308:9): [True: 0, False: 46]
  |  Branch (1308:30): [True: 0, False: 46]
  ------------------
 1309|      0|        return NULL;
 1310|      0|    }
 1311|     46|    Py_ssize_t str1_len = strlen(str1_data);
 1312|     46|    Py_ssize_t str2_len = strlen(str2_data);
 1313|       |
 1314|       |    /* Make sure sep and the NULL byte won't cause an overflow. */
 1315|     46|    assert(SIZE_MAX - str1_len - str2_len > 2);
  ------------------
  |  Branch (1315:5): [True: 46, False: 0]
  ------------------
 1316|     46|    size_t size = str1_len + 1 + str2_len + 1;
 1317|       |
 1318|       |    // XXX Use a buffer if it's a temp value (every case but "set").
 1319|     46|    char *key = PyMem_RawMalloc(size);
 1320|     46|    if (key == NULL) {
  ------------------
  |  Branch (1320:9): [True: 0, False: 46]
  ------------------
 1321|      0|        PyErr_NoMemory();
 1322|      0|        return NULL;
 1323|      0|    }
 1324|       |
 1325|     46|    memcpy(key, str1_data, str1_len);
 1326|     46|    key[str1_len] = sep;
 1327|     46|    memcpy(key + str1_len + 1, str2_data, str2_len);
 1328|     46|    key[size - 1] = '\0';
 1329|     46|    assert(strlen(key) == size - 1);
  ------------------
  |  Branch (1329:5): [True: 46, False: 0]
  ------------------
 1330|     46|    return key;
 1331|     46|}
import.c:hashtable_destroy_str:
 1347|     42|{
 1348|     42|    PyMem_RawFree(ptr);
 1349|     42|}
import.c:extensions_lock_release:
 1066|     50|{
 1067|     50|    PyMutex_Unlock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   70|     50|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
 1068|     50|}
import.c:is_core_module:
 1760|     46|{
 1761|       |    /* This might be called before the core dict copies are in place,
 1762|       |       so we can't rely on get_core_module_dict() here. */
 1763|     46|    if (path == name) {
  ------------------
  |  Branch (1763:9): [True: 38, False: 8]
  ------------------
 1764|     38|        if (PyUnicode_CompareWithASCIIString(name, "sys") == 0) {
  ------------------
  |  Branch (1764:13): [True: 4, False: 34]
  ------------------
 1765|      4|            return 1;
 1766|      4|        }
 1767|     34|        if (PyUnicode_CompareWithASCIIString(name, "builtins") == 0) {
  ------------------
  |  Branch (1767:13): [True: 4, False: 30]
  ------------------
 1768|      4|            return 1;
 1769|      4|        }
 1770|     34|    }
 1771|     38|    return 0;
 1772|     46|}
import.c:_get_extension_kind:
 1777|     42|{
 1778|     42|    _Py_ext_module_kind kind;
 1779|     42|    if (def == NULL) {
  ------------------
  |  Branch (1779:9): [True: 0, False: 42]
  ------------------
 1780|       |        /* It must be a module created by reload_singlephase_extension()
 1781|       |         * from m_copy.  Ideally we'd do away with this case. */
 1782|      0|        kind = _Py_ext_module_kind_SINGLEPHASE;
 1783|      0|    }
 1784|     42|    else if (def->m_slots != NULL) {
  ------------------
  |  Branch (1784:14): [True: 38, False: 4]
  ------------------
 1785|     38|        kind = _Py_ext_module_kind_MULTIPHASE;
 1786|     38|    }
 1787|      4|    else if (check_size && def->m_size == -1) {
  ------------------
  |  Branch (1787:14): [True: 4, False: 0]
  |  Branch (1787:28): [True: 4, False: 0]
  ------------------
 1788|      4|        kind = _Py_ext_module_kind_SINGLEPHASE;
 1789|      4|    }
 1790|      0|    else if (def->m_base.m_init != NULL) {
  ------------------
  |  Branch (1790:14): [True: 0, False: 0]
  ------------------
 1791|      0|        kind = _Py_ext_module_kind_SINGLEPHASE;
 1792|      0|    }
 1793|      0|    else {
 1794|       |        // This is probably single-phase init, but a multi-phase
 1795|       |        // module *can* have NULL m_slots.
 1796|      0|        kind = _Py_ext_module_kind_UNKNOWN;
 1797|      0|    }
 1798|     42|    return kind;
 1799|     42|}
import.c:_extensions_cache_get:
 1431|     46|{
 1432|     46|    struct extensions_cache_value *value = NULL;
 1433|     46|    extensions_lock_acquire();
 1434|       |
 1435|     46|    _Py_hashtable_entry_t *entry =
 1436|     46|            _extensions_cache_find_unlocked(path, name, NULL);
 1437|     46|    if (entry == NULL) {
  ------------------
  |  Branch (1437:9): [True: 46, False: 0]
  ------------------
 1438|       |        /* It was never added. */
 1439|     46|        goto finally;
 1440|     46|    }
 1441|      0|    value = (struct extensions_cache_value *)entry->value;
 1442|       |
 1443|     46|finally:
 1444|     46|    extensions_lock_release();
 1445|     46|    return value;
 1446|      0|}
import.c:update_global_state_for_extension:
 1845|      4|{
 1846|      4|    struct extensions_cache_value *cached = NULL;
 1847|      4|    PyModInitFunction m_init = NULL;
 1848|      4|    PyObject *m_dict = NULL;
 1849|       |
 1850|       |    /* Set up for _extensions_cache_set(). */
 1851|      4|    if (singlephase == NULL) {
  ------------------
  |  Branch (1851:9): [True: 0, False: 4]
  ------------------
 1852|      0|        assert(def->m_base.m_init == NULL);
  ------------------
  |  Branch (1852:9): [True: 0, False: 0]
  ------------------
 1853|      0|        assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (1853:9): [True: 0, False: 0]
  ------------------
 1854|      0|    }
 1855|      4|    else {
 1856|      4|        if (singlephase->m_init != NULL) {
  ------------------
  |  Branch (1856:13): [True: 0, False: 4]
  ------------------
 1857|      0|            assert(singlephase->m_dict == NULL);
  ------------------
  |  Branch (1857:13): [True: 0, False: 0]
  ------------------
 1858|      0|            assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (1858:13): [True: 0, False: 0]
  ------------------
 1859|      0|            assert(def->m_size >= 0);
  ------------------
  |  Branch (1859:13): [True: 0, False: 0]
  ------------------
 1860|       |            /* Remember pointer to module init function. */
 1861|       |            // XXX If two modules share a def then def->m_base will
 1862|       |            // reflect the last one added (here) to the global cache.
 1863|       |            // We should prevent this somehow.  The simplest solution
 1864|       |            // is probably to store m_copy/m_init in the cache along
 1865|       |            // with the def, rather than within the def.
 1866|      0|            m_init = singlephase->m_init;
 1867|      0|        }
 1868|      4|        else if (singlephase->m_dict == NULL) {
  ------------------
  |  Branch (1868:18): [True: 4, False: 0]
  ------------------
 1869|       |            /* It must be a core builtin module. */
 1870|      4|            assert(is_core_module(tstate->interp, name, path));
  ------------------
  |  Branch (1870:13): [True: 4, False: 0]
  ------------------
 1871|      4|            assert(def->m_size == -1);
  ------------------
  |  Branch (1871:13): [True: 4, False: 0]
  ------------------
 1872|      4|            assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (1872:13): [True: 4, False: 0]
  ------------------
 1873|      4|            assert(def->m_base.m_init == NULL);
  ------------------
  |  Branch (1873:13): [True: 4, False: 0]
  ------------------
 1874|      4|        }
 1875|      0|        else {
 1876|      0|            assert(PyDict_Check(singlephase->m_dict));
  ------------------
  |  Branch (1876:13): [True: 0, False: 0]
  ------------------
 1877|       |            // gh-88216: Extensions and def->m_base.m_copy can be updated
 1878|       |            // when the extension module doesn't support sub-interpreters.
 1879|      0|            assert(def->m_size == -1);
  ------------------
  |  Branch (1879:13): [True: 0, False: 0]
  ------------------
 1880|      0|            assert(!is_core_module(tstate->interp, name, path));
  ------------------
  |  Branch (1880:13): [True: 0, False: 0]
  ------------------
 1881|      0|            assert(PyUnicode_CompareWithASCIIString(name, "sys") != 0);
  ------------------
  |  Branch (1881:13): [True: 0, False: 0]
  ------------------
 1882|      0|            assert(PyUnicode_CompareWithASCIIString(name, "builtins") != 0);
  ------------------
  |  Branch (1882:13): [True: 0, False: 0]
  ------------------
 1883|      0|            m_dict = singlephase->m_dict;
 1884|      0|        }
 1885|      4|    }
 1886|       |
 1887|       |    /* Add the module's def to the global cache. */
 1888|       |    // XXX Why special-case the main interpreter?
 1889|      4|    if (_Py_IsMainInterpreter(tstate->interp) || def->m_size == -1) {
  ------------------
  |  Branch (1889:9): [True: 4, False: 0]
  |  Branch (1889:50): [True: 0, False: 0]
  ------------------
 1890|      4|#ifndef NDEBUG
 1891|      4|        cached = _extensions_cache_get(path, name);
 1892|      4|        assert(cached == NULL || cached->def == def);
  ------------------
  |  Branch (1892:9): [True: 4, False: 0]
  |  Branch (1892:9): [True: 0, False: 0]
  ------------------
 1893|      4|#endif
 1894|      4|        cached = _extensions_cache_set(
 1895|      4|                path, name, def, m_init, singlephase->m_index, m_dict,
 1896|      4|                singlephase->origin, singlephase->md_requires_gil);
 1897|      4|        if (cached == NULL) {
  ------------------
  |  Branch (1897:13): [True: 0, False: 4]
  ------------------
 1898|       |            // XXX Ignore this error?  Doing so would effectively
 1899|       |            // mark the module as not loadable.
 1900|      0|            return NULL;
 1901|      0|        }
 1902|      4|    }
 1903|       |
 1904|      4|    return cached;
 1905|      4|}
import.c:_extensions_cache_set:
 1454|      4|{
 1455|      4|    struct extensions_cache_value *value = NULL;
 1456|      4|    void *key = NULL;
 1457|      4|    struct extensions_cache_value *newvalue = NULL;
 1458|      4|    PyModuleDef_Base olddefbase = def->m_base;
 1459|       |
 1460|      4|    assert(def != NULL);
  ------------------
  |  Branch (1460:5): [True: 4, False: 0]
  ------------------
 1461|      4|    assert(m_init == NULL || m_dict == NULL);
  ------------------
  |  Branch (1461:5): [True: 4, False: 0]
  |  Branch (1461:5): [True: 0, False: 0]
  ------------------
 1462|       |    /* We expect the same symbol to be used and the shared object file
 1463|       |     * to have remained loaded, so it must be the same pointer. */
 1464|      4|    assert(def->m_base.m_init == NULL || def->m_base.m_init == m_init);
  ------------------
  |  Branch (1464:5): [True: 4, False: 0]
  |  Branch (1464:5): [True: 0, False: 0]
  ------------------
 1465|       |    /* For now we don't worry about comparing value->m_copy. */
 1466|      4|    assert(def->m_base.m_copy == NULL || m_dict != NULL);
  ------------------
  |  Branch (1466:5): [True: 4, False: 0]
  |  Branch (1466:5): [True: 0, False: 0]
  ------------------
 1467|      4|    assert((origin == _Py_ext_module_origin_DYNAMIC) == (name != path));
  ------------------
  |  Branch (1467:5): [True: 4, False: 0]
  ------------------
 1468|      4|    assert(origin != _Py_ext_module_origin_CORE || m_dict == NULL);
  ------------------
  |  Branch (1468:5): [True: 0, False: 4]
  |  Branch (1468:5): [True: 4, False: 0]
  ------------------
 1469|       |
 1470|      4|    extensions_lock_acquire();
 1471|       |
 1472|      4|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   80|      4|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1472:9): [True: 2, False: 2]
  ------------------
 1473|      2|        if (_extensions_cache_init() < 0) {
  ------------------
  |  Branch (1473:13): [True: 0, False: 2]
  ------------------
 1474|      0|            goto finally;
 1475|      0|        }
 1476|      2|    }
 1477|       |
 1478|       |    /* Create a cached value to populate for the module. */
 1479|      4|    _Py_hashtable_entry_t *entry =
 1480|      4|            _extensions_cache_find_unlocked(path, name, &key);
 1481|      4|    value = entry == NULL
  ------------------
  |  Branch (1481:13): [True: 4, False: 0]
  ------------------
 1482|      4|        ? NULL
 1483|      4|        : (struct extensions_cache_value *)entry->value;
 1484|      4|    if (value != NULL) {
  ------------------
  |  Branch (1484:9): [True: 0, False: 4]
  ------------------
 1485|       |        /* gh-123880: If there's an existing cache value, it means a module is
 1486|       |         * being imported recursively from its PyInit_* or Py_mod_* function.
 1487|       |         * (That function presumably handles returning a partially
 1488|       |         *  constructed module in such a case.)
 1489|       |         * We can reuse the existing cache value; it is owned by the cache.
 1490|       |         * (Entries get removed from it in exceptional circumstances,
 1491|       |         *  after interpreter shutdown, and in runtime shutdown.)
 1492|       |         */
 1493|      0|        goto finally_oldvalue;
 1494|      0|    }
 1495|      4|    newvalue = alloc_extensions_cache_value();
 1496|      4|    if (newvalue == NULL) {
  ------------------
  |  Branch (1496:9): [True: 0, False: 4]
  ------------------
 1497|      0|        goto finally;
 1498|      0|    }
 1499|       |
 1500|       |    /* Populate the new cache value data. */
 1501|      4|    *newvalue = (struct extensions_cache_value){
 1502|      4|        .def=def,
 1503|      4|        .m_init=m_init,
 1504|      4|        .m_index=m_index,
 1505|       |        /* m_dict is set by set_cached_m_dict(). */
 1506|      4|        .origin=origin,
 1507|       |#ifdef Py_GIL_DISABLED
 1508|       |        .md_requires_gil=requires_gil,
 1509|       |#endif
 1510|      4|    };
 1511|      4|#ifndef Py_GIL_DISABLED
 1512|      4|    (void)requires_gil;
 1513|      4|#endif
 1514|      4|    if (init_cached_m_dict(newvalue, m_dict) < 0) {
  ------------------
  |  Branch (1514:9): [True: 0, False: 4]
  ------------------
 1515|      0|        goto finally;
 1516|      0|    }
 1517|      4|    fixup_cached_def(newvalue);
 1518|       |
 1519|      4|    if (entry == NULL) {
  ------------------
  |  Branch (1519:9): [True: 4, False: 0]
  ------------------
 1520|       |        /* It was never added. */
 1521|      4|        if (_Py_hashtable_set(EXTENSIONS.hashtable, key, newvalue) < 0) {
  ------------------
  |  |   80|      4|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1521:13): [True: 0, False: 4]
  ------------------
 1522|      0|            PyErr_NoMemory();
 1523|      0|            goto finally;
 1524|      0|        }
 1525|       |        /* The hashtable owns the key now. */
 1526|      4|        key = NULL;
 1527|      4|    }
 1528|      0|    else if (value == NULL) {
  ------------------
  |  Branch (1528:14): [True: 0, False: 0]
  ------------------
 1529|       |        /* It was previously deleted. */
 1530|      0|        entry->value = newvalue;
 1531|      0|    }
 1532|      0|    else {
 1533|       |        /* We are updating the entry for an existing module. */
 1534|       |        /* We expect def to be static, so it must be the same pointer. */
 1535|      0|        assert(value->def == def);
  ------------------
  |  Branch (1535:9): [True: 0, False: 0]
  ------------------
 1536|       |        /* We expect the same symbol to be used and the shared object file
 1537|       |         * to have remained loaded, so it must be the same pointer. */
 1538|      0|        assert(value->m_init == m_init);
  ------------------
  |  Branch (1538:9): [True: 0, False: 0]
  ------------------
 1539|       |        /* The same module can't switch between caching __dict__ and not. */
 1540|      0|        assert((value->m_dict == NULL) == (m_dict == NULL));
  ------------------
  |  Branch (1540:9): [True: 0, False: 0]
  ------------------
 1541|       |        /* This shouldn't ever happen. */
 1542|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1543|      0|    }
 1544|       |
 1545|      4|    value = newvalue;
 1546|       |
 1547|      4|finally:
 1548|      4|    if (value == NULL) {
  ------------------
  |  Branch (1548:9): [True: 0, False: 4]
  ------------------
 1549|      0|        restore_old_cached_def(def, &olddefbase);
 1550|      0|        if (newvalue != NULL) {
  ------------------
  |  Branch (1550:13): [True: 0, False: 0]
  ------------------
 1551|      0|            del_extensions_cache_value(newvalue);
 1552|      0|        }
 1553|      0|    }
 1554|      4|    else {
 1555|      4|        cleanup_old_cached_def(&olddefbase);
 1556|      4|    }
 1557|       |
 1558|      4|finally_oldvalue:
 1559|      4|    extensions_lock_release();
 1560|      4|    if (key != NULL) {
  ------------------
  |  Branch (1560:9): [True: 0, False: 4]
  ------------------
 1561|      0|        hashtable_destroy_str(key);
 1562|      0|    }
 1563|       |
 1564|      4|    return value;
 1565|      4|}
import.c:_extensions_cache_init:
 1390|      2|{
 1391|      2|    _Py_hashtable_allocator_t alloc = {PyMem_RawMalloc, PyMem_RawFree};
 1392|      2|    EXTENSIONS.hashtable = _Py_hashtable_new_full(
  ------------------
  |  |   80|      2|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
 1393|      2|        hashtable_hash_str,
 1394|      2|        hashtable_compare_str,
 1395|      2|        hashtable_destroy_str,  // key
 1396|      2|        del_extensions_cache_value,  // value
 1397|      2|        &alloc
 1398|      2|    );
 1399|      2|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   80|      2|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1399:9): [True: 0, False: 2]
  ------------------
 1400|      0|        PyErr_NoMemory();
 1401|      0|        return -1;
 1402|      0|    }
 1403|      2|    return 0;
 1404|      2|}
import.c:hashtable_hash_str:
 1335|     54|{
 1336|     54|    return Py_HashBuffer(key, strlen((const char *)key));
 1337|     54|}
import.c:alloc_extensions_cache_value:
 1128|      4|{
 1129|      4|    struct extensions_cache_value *value
 1130|      4|            = PyMem_RawMalloc(sizeof(struct extensions_cache_value));
 1131|      4|    if (value == NULL) {
  ------------------
  |  Branch (1131:9): [True: 0, False: 4]
  ------------------
 1132|      0|        PyErr_NoMemory();
 1133|      0|        return NULL;
 1134|      0|    }
 1135|      4|    *value = (struct extensions_cache_value){0};
 1136|      4|    return value;
 1137|      4|}
import.c:init_cached_m_dict:
 1215|      4|{
 1216|      4|    assert(value != NULL);
  ------------------
  |  Branch (1216:5): [True: 4, False: 0]
  ------------------
 1217|       |    /* This should only have been called without an m_dict already set. */
 1218|      4|    assert(value->m_dict == NULL);
  ------------------
  |  Branch (1218:5): [True: 4, False: 0]
  ------------------
 1219|      4|    if (m_dict == NULL) {
  ------------------
  |  Branch (1219:9): [True: 4, False: 0]
  ------------------
 1220|      4|        return 0;
 1221|      4|    }
 1222|      4|    assert(PyDict_Check(m_dict));
  ------------------
  |  Branch (1222:5): [True: 0, False: 0]
  ------------------
 1223|      0|    assert(value->origin != _Py_ext_module_origin_CORE);
  ------------------
  |  Branch (1223:5): [True: 0, False: 0]
  ------------------
 1224|       |
 1225|      0|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1226|      0|    assert(!is_interpreter_isolated(interp));
  ------------------
  |  Branch (1226:5): [True: 0, False: 0]
  ------------------
 1227|       |
 1228|       |    /* XXX gh-88216: The copied dict is owned by the current
 1229|       |     * interpreter.  That's a problem if the interpreter has
 1230|       |     * its own obmalloc state or if the module is successfully
 1231|       |     * imported into such an interpreter.  If the interpreter
 1232|       |     * has its own GIL then there may be data races and
 1233|       |     * PyImport_ClearModulesByIndex() can crash.  Normally,
 1234|       |     * a single-phase init module cannot be imported in an
 1235|       |     * isolated interpreter, but there are ways around that.
 1236|       |     * Hence, heere be dragons!  Ideally we would instead do
 1237|       |     * something like make a read-only, immortal copy of the
 1238|       |     * dict using PyMem_RawMalloc() and store *that* in m_copy.
 1239|       |     * Then we'd need to make sure to clear that when the
 1240|       |     * runtime is finalized, rather than in
 1241|       |     * PyImport_ClearModulesByIndex(). */
 1242|      0|    PyObject *copied = PyDict_Copy(m_dict);
 1243|      0|    if (copied == NULL) {
  ------------------
  |  Branch (1243:9): [True: 0, False: 0]
  ------------------
 1244|       |        /* We expect this can only be "out of memory". */
 1245|      0|        return -1;
 1246|      0|    }
 1247|       |    // XXX We may want to make the copy immortal.
 1248|       |
 1249|      0|    value->_m_dict = (struct cached_m_dict){
 1250|      0|        .copied=copied,
 1251|      0|        .interpid=PyInterpreterState_GetID(interp),
 1252|      0|    };
 1253|       |
 1254|      0|    value->m_dict = &value->_m_dict;
 1255|      0|    return 0;
 1256|      0|}
import.c:fixup_cached_def:
 1154|      4|{
 1155|       |    /* For the moment, the values in the def's m_base may belong
 1156|       |     * to another module, and we're replacing them here.  This can
 1157|       |     * cause problems later if the old module is reloaded.
 1158|       |     *
 1159|       |     * Also, we don't decref any old cached values first when we
 1160|       |     * replace them here, in case we need to restore them in the
 1161|       |     * near future.  Instead, the caller is responsible for wrapping
 1162|       |     * this up by calling cleanup_old_cached_def() or
 1163|       |     * restore_old_cached_def() if there was an error. */
 1164|      4|    PyModuleDef *def = value->def;
 1165|      4|    assert(def != NULL);
  ------------------
  |  Branch (1165:5): [True: 4, False: 0]
  ------------------
 1166|       |
 1167|       |    /* We assume that all module defs are statically allocated
 1168|       |       and will never be freed.  Otherwise, we would incref here. */
 1169|      4|    _Py_SetImmortalUntracked((PyObject *)def);
 1170|       |
 1171|      4|    def->m_base.m_init = value->m_init;
 1172|       |
 1173|      4|    assert(value->m_index > 0);
  ------------------
  |  Branch (1173:5): [True: 4, False: 0]
  ------------------
 1174|      4|    _set_module_index(def, value->m_index);
 1175|       |
 1176|       |    /* Different modules can share the same def, so we can't just
 1177|       |     * expect m_copy to be NULL. */
 1178|      4|    assert(def->m_base.m_copy == NULL
  ------------------
  |  Branch (1178:5): [True: 4, False: 0]
  |  Branch (1178:5): [True: 0, False: 0]
  |  Branch (1178:5): [True: 0, False: 0]
  ------------------
 1179|      4|           || def->m_base.m_init == NULL
 1180|      4|           || value->m_dict != NULL);
 1181|      4|    if (value->m_dict != NULL) {
  ------------------
  |  Branch (1181:9): [True: 0, False: 4]
  ------------------
 1182|      0|        assert(value->m_dict->copied != NULL);
  ------------------
  |  Branch (1182:9): [True: 0, False: 0]
  ------------------
 1183|       |        /* As noted above, we don't first decref the old value, if any. */
 1184|      0|        def->m_base.m_copy = Py_NewRef(value->m_dict->copied);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1185|      0|    }
 1186|      4|}
import.c:_set_module_index:
  556|      4|{
  557|      4|    assert(index > 0);
  ------------------
  |  Branch (557:5): [True: 4, False: 0]
  ------------------
  558|      4|    if (index == def->m_base.m_index) {
  ------------------
  |  Branch (558:9): [True: 4, False: 0]
  ------------------
  559|       |        /* There's nothing to do. */
  560|      4|    }
  561|      0|    else if (def->m_base.m_index == 0) {
  ------------------
  |  Branch (561:14): [True: 0, False: 0]
  ------------------
  562|       |        /* It should have been initialized by PyModuleDef_Init().
  563|       |         * We assert here to catch this in dev, but keep going otherwise. */
  564|      0|        assert(def->m_base.m_index != 0);
  ------------------
  |  Branch (564:9): [True: 0, False: 0]
  ------------------
  565|      0|        def->m_base.m_index = index;
  566|      0|    }
  567|      0|    else {
  568|       |        /* It was already set for a different module.
  569|       |         * We replace the old value. */
  570|      0|        assert(def->m_base.m_index > 0);
  ------------------
  |  Branch (570:9): [True: 0, False: 0]
  ------------------
  571|      0|        def->m_base.m_index = index;
  572|      0|    }
  573|      4|}
import.c:cleanup_old_cached_def:
 1196|      4|{
 1197|      4|    Py_XDECREF(oldbase->m_copy);
  ------------------
  |  |  621|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1198|      4|}
import.c:finish_singlephase_extension:
 1913|      4|{
 1914|      4|    assert(mod != NULL && PyModule_Check(mod));
  ------------------
  |  Branch (1914:5): [True: 4, False: 0]
  |  Branch (1914:5): [True: 4, False: 0]
  ------------------
 1915|      4|    assert(cached->def == _PyModule_GetDefOrNull(mod));
  ------------------
  |  Branch (1915:5): [True: 4, False: 0]
  ------------------
 1916|       |
 1917|      4|    Py_ssize_t index = _get_cached_module_index(cached);
 1918|      4|    if (_modules_by_index_set(tstate->interp, index, mod) < 0) {
  ------------------
  |  Branch (1918:9): [True: 0, False: 4]
  ------------------
 1919|      0|        return -1;
 1920|      0|    }
 1921|       |
 1922|      4|    if (modules != NULL) {
  ------------------
  |  Branch (1922:9): [True: 4, False: 0]
  ------------------
 1923|      4|        if (PyObject_SetItem(modules, name, mod) < 0) {
  ------------------
  |  Branch (1923:13): [True: 0, False: 4]
  ------------------
 1924|      0|            return -1;
 1925|      0|        }
 1926|      4|    }
 1927|       |
 1928|      4|    return 0;
 1929|      4|}
import.c:create_builtin:
 2514|     30|{
 2515|     30|    struct _Py_ext_module_loader_info info;
 2516|     30|    _Py_ext_module_origin origin = _Py_ext_module_origin_BUILTIN;
 2517|     30|    if (_Py_ext_module_loader_info_init(&info, name, spec, origin) < 0) {
  ------------------
  |  Branch (2517:9): [True: 0, False: 30]
  ------------------
 2518|      0|        return NULL;
 2519|      0|    }
 2520|       |
 2521|     30|    struct extensions_cache_value *cached = NULL;
 2522|     30|    PyObject *mod = import_find_extension(tstate, &info, &cached);
 2523|     30|    if (mod != NULL) {
  ------------------
  |  Branch (2523:9): [True: 0, False: 30]
  ------------------
 2524|      0|        assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2524:9): [True: 0, False: 0]
  ------------------
 2525|      0|        assert(cached != NULL);
  ------------------
  |  Branch (2525:9): [True: 0, False: 0]
  ------------------
 2526|       |        /* The module might not have md_def set in certain reload cases. */
 2527|      0|        assert(_PyModule_GetDefOrNull(mod) == NULL
  ------------------
  |  Branch (2527:9): [True: 0, False: 0]
  |  Branch (2527:9): [True: 0, False: 0]
  ------------------
 2528|      0|                || cached->def == _PyModule_GetDefOrNull(mod));
 2529|      0|        assert_singlephase(cached);
  ------------------
  |  | 1820|      0|    do {                                                                    \
  |  | 1821|      0|        _Py_ext_module_kind kind = _get_extension_kind(cached->def, true);  \
  |  | 1822|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE);                    \
  |  | 1823|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1823:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2529:9): [True: 0, False: 0]
  ------------------
 2530|      0|        goto finally;
 2531|      0|    }
 2532|     30|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2532:14): [True: 0, False: 30]
  ------------------
 2533|      0|        goto finally;
 2534|      0|    }
 2535|       |
 2536|       |    /* If the module was added to the global cache
 2537|       |     * but def->m_base.m_copy was cleared (e.g. subinterp fini)
 2538|       |     * then we have to do a little dance here. */
 2539|     30|    if (cached != NULL) {
  ------------------
  |  Branch (2539:9): [True: 0, False: 30]
  ------------------
 2540|      0|        assert(cached->def->m_base.m_copy == NULL);
  ------------------
  |  Branch (2540:9): [True: 0, False: 0]
  ------------------
 2541|       |        /* For now we clear the cache and move on. */
 2542|      0|        _extensions_cache_delete(info.path, info.name);
 2543|      0|    }
 2544|       |
 2545|     30|    PyModInitFunction p0 = NULL;
 2546|     30|    if (initfunc == NULL) {
  ------------------
  |  Branch (2546:9): [True: 30, False: 0]
  ------------------
 2547|     30|        struct _inittab *entry = lookup_inittab_entry(&info);
 2548|     30|        if (entry == NULL) {
  ------------------
  |  Branch (2548:13): [True: 0, False: 30]
  ------------------
 2549|      0|            mod = NULL;
 2550|      0|            _PyErr_SetModuleNotFoundError(info.name);
 2551|      0|            goto finally;
 2552|      0|        }
 2553|       |
 2554|     30|        p0 = (PyModInitFunction)entry->initfunc;
 2555|     30|    }
 2556|      0|    else {
 2557|      0|        p0 = initfunc;
 2558|      0|    }
 2559|       |
 2560|     30|    if (p0 == NULL) {
  ------------------
  |  Branch (2560:9): [True: 0, False: 30]
  ------------------
 2561|       |        /* Cannot re-init internal module ("sys" or "builtins") */
 2562|      0|        assert(is_core_module(tstate->interp, info.name, info.path));
  ------------------
  |  Branch (2562:9): [True: 0, False: 0]
  ------------------
 2563|      0|        mod = import_add_module(tstate, info.name);
 2564|      0|        goto finally;
 2565|      0|    }
 2566|       |
 2567|       |
 2568|       |#ifdef Py_GIL_DISABLED
 2569|       |    // This call (and the corresponding call to _PyImport_CheckGILForModule())
 2570|       |    // would ideally be inside import_run_extension(). They are kept in the
 2571|       |    // callers for now because that would complicate the control flow inside
 2572|       |    // import_run_extension(). It should be possible to restructure
 2573|       |    // import_run_extension() to address this.
 2574|       |    _PyEval_EnableGILTransient(tstate);
 2575|       |#endif
 2576|       |    /* Now load it. */
 2577|     30|    mod = import_run_extension(
 2578|     30|                    tstate, p0, &info, spec, get_modules_dict(tstate, true));
 2579|       |#ifdef Py_GIL_DISABLED
 2580|       |    if (_PyImport_CheckGILForModule(mod, info.name) < 0) {
 2581|       |        Py_CLEAR(mod);
 2582|       |        goto finally;
 2583|       |    }
 2584|       |#endif
 2585|       |
 2586|     30|finally:
 2587|     30|    _Py_ext_module_loader_info_clear(&info);
 2588|     30|    return mod;
 2589|     30|}
import.c:import_find_extension:
 2047|     38|{
 2048|       |    /* Only single-phase init modules will be in the cache. */
 2049|     38|    struct extensions_cache_value *cached
 2050|     38|            = _extensions_cache_get(info->path, info->name);
 2051|     38|    if (cached == NULL) {
  ------------------
  |  Branch (2051:9): [True: 38, False: 0]
  ------------------
 2052|     38|        return NULL;
 2053|     38|    }
 2054|     38|    assert(cached->def != NULL);
  ------------------
  |  Branch (2054:5): [True: 0, False: 0]
  ------------------
 2055|      0|    assert_singlephase(cached);
  ------------------
  |  | 1820|      0|    do {                                                                    \
  |  | 1821|      0|        _Py_ext_module_kind kind = _get_extension_kind(cached->def, true);  \
  |  | 1822|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE);                    \
  |  | 1823|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1823:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2055:5): [True: 0, False: 0]
  ------------------
 2056|      0|    *p_cached = cached;
 2057|       |
 2058|       |    /* It may have been successfully imported previously
 2059|       |       in an interpreter that allows legacy modules
 2060|       |       but is not allowed in the current interpreter. */
 2061|      0|    const char *name_buf = PyUnicode_AsUTF8(info->name);
 2062|      0|    assert(name_buf != NULL);
  ------------------
  |  Branch (2062:5): [True: 0, False: 0]
  ------------------
 2063|      0|    if (_PyImport_CheckSubinterpIncompatibleExtensionAllowed(name_buf) < 0) {
  ------------------
  |  Branch (2063:9): [True: 0, False: 0]
  ------------------
 2064|      0|        return NULL;
 2065|      0|    }
 2066|       |
 2067|      0|    PyObject *mod = reload_singlephase_extension(tstate, cached, info);
 2068|      0|    if (mod == NULL) {
  ------------------
  |  Branch (2068:9): [True: 0, False: 0]
  ------------------
 2069|      0|        return NULL;
 2070|      0|    }
 2071|       |
 2072|      0|    int verbose = _PyInterpreterState_GetConfig(tstate->interp)->verbose;
 2073|      0|    if (verbose) {
  ------------------
  |  Branch (2073:9): [True: 0, False: 0]
  ------------------
 2074|      0|        PySys_FormatStderr("import %U # previously loaded (%R)\n",
 2075|      0|                           info->name, info->path);
 2076|      0|    }
 2077|       |
 2078|      0|    return mod;
 2079|      0|}
import.c:lookup_inittab_entry:
 2498|     30|{
 2499|    566|    for (struct _inittab *p = INITTAB; p->name != NULL; p++) {
  ------------------
  |  |   78|     30|#define INITTAB _PyRuntime.imports.inittab
  ------------------
  |  Branch (2499:40): [True: 566, False: 0]
  ------------------
 2500|    566|        if (_PyUnicode_EqualToASCIIString(info->name, p->name)) {
  ------------------
  |  Branch (2500:13): [True: 30, False: 536]
  ------------------
 2501|     30|            return p;
 2502|     30|        }
 2503|    566|    }
 2504|       |    // not found
 2505|      0|    return NULL;
 2506|     30|}
import.c:import_run_extension:
 2122|     38|{
 2123|       |    /* Core modules go through _PyImport_FixupBuiltin(). */
 2124|     38|    assert(!is_core_module(tstate->interp, info->name, info->path));
  ------------------
  |  Branch (2124:5): [True: 38, False: 0]
  ------------------
 2125|       |
 2126|     38|    PyObject *mod = NULL;
 2127|     38|    PyModuleDef *def = NULL;
 2128|     38|    struct extensions_cache_value *cached = NULL;
 2129|     38|    const char *name_buf = PyBytes_AS_STRING(info->name_encoded);
  ------------------
  |  |   27|     38|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2130|       |
 2131|       |    /* We cannot know if the module is single-phase init or
 2132|       |     * multi-phase init until after we call its init function. Even
 2133|       |     * in isolated interpreters (that do not support single-phase init),
 2134|       |     * the init function will run without restriction.  For multi-phase
 2135|       |     * init modules that isn't a problem because the init function only
 2136|       |     * runs PyModuleDef_Init() on the module's def and then returns it.
 2137|       |     *
 2138|       |     * However, for single-phase init the module's init function will
 2139|       |     * create the module, create other objects (and allocate other
 2140|       |     * memory), populate it and its module state, and initialize static
 2141|       |     * types.  Some modules store other objects and data in global C
 2142|       |     * variables and register callbacks with the runtime/stdlib or
 2143|       |     * even external libraries (which is part of why we can't just
 2144|       |     * dlclose() the module in the error case).  That's a problem
 2145|       |     * for isolated interpreters since all of the above happens
 2146|       |     * and only then * will the import fail.  Memory will leak,
 2147|       |     * callbacks will still get used, and sometimes there
 2148|       |     * will be crashes (memory access violations
 2149|       |     * and use-after-free).
 2150|       |     *
 2151|       |     * To put it another way, if the module is single-phase init
 2152|       |     * then the import will probably break interpreter isolation
 2153|       |     * and should fail ASAP.  However, the module's init function
 2154|       |     * will still get run.  That means it may still store state
 2155|       |     * in the shared-object/DLL address space (which never gets
 2156|       |     * closed/cleared), including objects (e.g. static types).
 2157|       |     * This is a problem for isolated subinterpreters since each
 2158|       |     * has its own object allocator.  If the loaded shared-object
 2159|       |     * still holds a reference to an object after the corresponding
 2160|       |     * interpreter has finalized then either we must let it leak
 2161|       |     * or else any later use of that object by another interpreter
 2162|       |     * (or across multiple init-fini cycles) will crash the process.
 2163|       |     *
 2164|       |     * To avoid all of that, we make sure the module's init function
 2165|       |     * is always run first with the main interpreter active.  If it was
 2166|       |     * already the main interpreter then we can continue loading the
 2167|       |     * module like normal.  Otherwise, right after the init function,
 2168|       |     * we take care of some import state bookkeeping, switch back
 2169|       |     * to the subinterpreter, check for single-phase init,
 2170|       |     * and then continue loading like normal. */
 2171|       |
 2172|     38|    bool switched = false;
 2173|       |    /* We *could* leave in place a legacy interpreter here
 2174|       |     * (one that shares obmalloc/GIL with main interp),
 2175|       |     * but there isn't a big advantage, we anticipate
 2176|       |     * such interpreters will be increasingly uncommon,
 2177|       |     * and the code is a bit simpler if we always switch
 2178|       |     * to the main interpreter. */
 2179|     38|    PyThreadState *main_tstate = switch_to_main_interpreter(tstate);
 2180|     38|    if (main_tstate == NULL) {
  ------------------
  |  Branch (2180:9): [True: 0, False: 38]
  ------------------
 2181|      0|        return NULL;
 2182|      0|    }
 2183|     38|    else if (main_tstate != tstate) {
  ------------------
  |  Branch (2183:14): [True: 0, False: 38]
  ------------------
 2184|      0|        switched = true;
 2185|       |        /* In the switched case, we could play it safe
 2186|       |         * by getting the main interpreter's import lock here.
 2187|       |         * It's unlikely to matter though. */
 2188|      0|    }
 2189|       |
 2190|     38|    struct _Py_ext_module_loader_result res;
 2191|     38|    int rc = _PyImport_RunModInitFunc(p0, info, &res);
 2192|     38|    bool main_error = false;
 2193|     38|    if (rc < 0) {
  ------------------
  |  Branch (2193:9): [True: 0, False: 38]
  ------------------
 2194|       |        /* We discard res.def. */
 2195|      0|        assert(res.module == NULL);
  ------------------
  |  Branch (2195:9): [True: 0, False: 0]
  ------------------
 2196|      0|    }
 2197|     38|    else {
 2198|     38|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (2198:9): [True: 38, False: 0]
  ------------------
 2199|     38|        assert(res.err == NULL);
  ------------------
  |  Branch (2199:9): [True: 38, False: 0]
  ------------------
 2200|       |
 2201|     38|        mod = res.module;
 2202|     38|        res.module = NULL;
 2203|     38|        def = res.def;
 2204|     38|        assert(def != NULL);
  ------------------
  |  Branch (2204:9): [True: 38, False: 0]
  ------------------
 2205|       |
 2206|       |        /* Do anything else that should be done
 2207|       |         * while still using the main interpreter. */
 2208|     38|        if (res.kind == _Py_ext_module_kind_SINGLEPHASE) {
  ------------------
  |  Branch (2208:13): [True: 0, False: 38]
  ------------------
 2209|       |            /* Remember the filename as the __file__ attribute */
 2210|      0|            if (info->filename != NULL) {
  ------------------
  |  Branch (2210:17): [True: 0, False: 0]
  ------------------
 2211|      0|                PyObject *filename = NULL;
 2212|      0|                if (switched) {
  ------------------
  |  Branch (2212:21): [True: 0, False: 0]
  ------------------
 2213|       |                    // The original filename may be allocated by subinterpreter's
 2214|       |                    // obmalloc, so we create a copy here.
 2215|      0|                    filename = _PyUnicode_Copy(info->filename);
 2216|      0|                    if (filename == NULL) {
  ------------------
  |  Branch (2216:25): [True: 0, False: 0]
  ------------------
 2217|      0|                        main_error = true;
 2218|      0|                        goto main_finally;
 2219|      0|                    }
 2220|      0|                }
 2221|      0|                else {
 2222|      0|                    filename = Py_NewRef(info->filename);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2223|      0|                }
 2224|       |                // XXX There's a refleak somewhere with the filename.
 2225|       |                // Until we can track it down, we immortalize it.
 2226|      0|                PyInterpreterState *interp = _PyInterpreterState_GET();
 2227|      0|                _PyUnicode_InternImmortal(interp, &filename);
 2228|       |
 2229|      0|                if (PyModule_AddObjectRef(mod, "__file__", filename) < 0) {
  ------------------
  |  Branch (2229:21): [True: 0, False: 0]
  ------------------
 2230|      0|                    PyErr_Clear(); /* Not important enough to report */
 2231|      0|                }
 2232|      0|            }
 2233|       |
 2234|       |            /* Update global import state. */
 2235|      0|            assert(def->m_base.m_index != 0);
  ------------------
  |  Branch (2235:13): [True: 0, False: 0]
  ------------------
 2236|      0|            struct singlephase_global_update singlephase = {
 2237|       |                // XXX Modules that share a def should each get their own index,
 2238|       |                // whereas currently they share (which means the per-interpreter
 2239|       |                // cache is less reliable than it should be).
 2240|      0|                .m_index=def->m_base.m_index,
 2241|      0|                .origin=info->origin,
 2242|       |#ifdef Py_GIL_DISABLED
 2243|       |                .md_requires_gil=((PyModuleObject *)mod)->md_requires_gil,
 2244|       |#endif
 2245|      0|            };
 2246|       |            // gh-88216: Extensions and def->m_base.m_copy can be updated
 2247|       |            // when the extension module doesn't support sub-interpreters.
 2248|      0|            if (def->m_size == -1) {
  ------------------
  |  Branch (2248:17): [True: 0, False: 0]
  ------------------
 2249|       |                /* We will reload from m_copy. */
 2250|      0|                assert(def->m_base.m_init == NULL);
  ------------------
  |  Branch (2250:17): [True: 0, False: 0]
  ------------------
 2251|      0|                singlephase.m_dict = PyModule_GetDict(mod);
 2252|      0|                assert(singlephase.m_dict != NULL);
  ------------------
  |  Branch (2252:17): [True: 0, False: 0]
  ------------------
 2253|      0|            }
 2254|      0|            else {
 2255|       |                /* We will reload via the init function. */
 2256|      0|                assert(def->m_size >= 0);
  ------------------
  |  Branch (2256:17): [True: 0, False: 0]
  ------------------
 2257|      0|                assert(def->m_base.m_copy == NULL);
  ------------------
  |  Branch (2257:17): [True: 0, False: 0]
  ------------------
 2258|      0|                singlephase.m_init = p0;
 2259|      0|            }
 2260|      0|            cached = update_global_state_for_extension(
 2261|      0|                    main_tstate, info->path, info->name, def, &singlephase);
 2262|      0|            if (cached == NULL) {
  ------------------
  |  Branch (2262:17): [True: 0, False: 0]
  ------------------
 2263|      0|                assert(PyErr_Occurred());
  ------------------
  |  Branch (2263:17): [True: 0, False: 0]
  ------------------
 2264|      0|                main_error = true;
 2265|      0|                goto main_finally;
 2266|      0|            }
 2267|      0|        }
 2268|     38|    }
 2269|       |
 2270|     38|main_finally:
 2271|     38|    if (rc < 0) {
  ------------------
  |  Branch (2271:9): [True: 0, False: 38]
  ------------------
 2272|      0|        _Py_ext_module_loader_result_apply_error(&res, name_buf);
 2273|      0|    }
 2274|       |
 2275|       |    /* Switch back to the subinterpreter. */
 2276|     38|    if (switched) {
  ------------------
  |  Branch (2276:9): [True: 0, False: 38]
  ------------------
 2277|       |        // gh-144601: The exception object can't be transferred across
 2278|       |        // interpreters. Instead, we print out an unraisable exception, and
 2279|       |        // then raise a different exception for the calling interpreter.
 2280|      0|        if (rc < 0 || main_error) {
  ------------------
  |  Branch (2280:13): [True: 0, False: 0]
  |  Branch (2280:23): [True: 0, False: 0]
  ------------------
 2281|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (2281:13): [True: 0, False: 0]
  ------------------
 2282|      0|            PyErr_FormatUnraisable("Exception while importing from subinterpreter");
 2283|      0|        }
 2284|      0|        assert(main_tstate != tstate);
  ------------------
  |  Branch (2284:9): [True: 0, False: 0]
  ------------------
 2285|      0|        switch_back_from_main_interpreter(tstate, main_tstate, mod);
 2286|       |        /* Any module we got from the init function will have to be
 2287|       |         * reloaded in the subinterpreter. */
 2288|      0|        mod = NULL;
 2289|      0|        if (rc < 0 || main_error) {
  ------------------
  |  Branch (2289:13): [True: 0, False: 0]
  |  Branch (2289:23): [True: 0, False: 0]
  ------------------
 2290|      0|            PyErr_SetString(PyExc_ImportError,
 2291|      0|                            "failed to import from subinterpreter due to exception");
 2292|      0|            goto error;
 2293|      0|        }
 2294|      0|    }
 2295|       |
 2296|       |    /*****************************************************************/
 2297|       |    /* At this point we are back to the interpreter we started with. */
 2298|       |    /*****************************************************************/
 2299|       |
 2300|       |    /* Finally we handle the error return from _PyImport_RunModInitFunc(). */
 2301|     38|    if (rc < 0) {
  ------------------
  |  Branch (2301:9): [True: 0, False: 38]
  ------------------
 2302|      0|        goto error;
 2303|      0|    }
 2304|     38|    if (main_error) {
  ------------------
  |  Branch (2304:9): [True: 0, False: 38]
  ------------------
 2305|      0|        goto error;
 2306|      0|    }
 2307|       |
 2308|     38|    if (res.kind == _Py_ext_module_kind_MULTIPHASE) {
  ------------------
  |  Branch (2308:9): [True: 38, False: 0]
  ------------------
 2309|     38|        assert_multiphase_def(def);
  ------------------
  |  | 1805|     38|    do {                                                            \
  |  | 1806|     38|        _Py_ext_module_kind kind = _get_extension_kind(def, false); \
  |  | 1807|     38|        assert(kind == _Py_ext_module_kind_MULTIPHASE               \
  |  | 1808|     38|                /* m_slots can be NULL. */                          \
  |  | 1809|     38|                || kind == _Py_ext_module_kind_UNKNOWN);            \
  |  | 1810|     38|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1810:14): [Folded, False: 38]
  |  |  ------------------
  ------------------
  |  Branch (2309:9): [True: 38, False: 0]
  |  Branch (2309:9): [True: 0, False: 0]
  ------------------
 2310|     38|        assert(mod == NULL);
  ------------------
  |  Branch (2310:9): [True: 38, False: 0]
  ------------------
 2311|       |        /* Note that we cheat a little by not repeating the calls
 2312|       |         * to _PyImport_GetModuleExportHooks() and _PyImport_RunModInitFunc(). */
 2313|     38|        mod = PyModule_FromDefAndSpec(def, spec);
  ------------------
  |  |   80|     38|    PyModule_FromDefAndSpec2((module), (spec), PYTHON_API_VERSION)
  |  |  ------------------
  |  |  |  |   59|     38|#define PYTHON_API_VERSION 1013
  |  |  ------------------
  ------------------
 2314|     38|        if (mod == NULL) {
  ------------------
  |  Branch (2314:13): [True: 0, False: 38]
  ------------------
 2315|      0|            goto error;
 2316|      0|        }
 2317|     38|    }
 2318|      0|    else {
 2319|      0|        assert(res.kind == _Py_ext_module_kind_SINGLEPHASE);
  ------------------
  |  Branch (2319:9): [True: 0, False: 0]
  ------------------
 2320|      0|        assert_singlephase_def(def);
  ------------------
  |  | 1813|      0|    do {                                                            \
  |  | 1814|      0|        _Py_ext_module_kind kind = _get_extension_kind(def, true);  \
  |  | 1815|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE              \
  |  | 1816|      0|                || kind == _Py_ext_module_kind_UNKNOWN);            \
  |  | 1817|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1817:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2320:9): [True: 0, False: 0]
  |  Branch (2320:9): [True: 0, False: 0]
  ------------------
 2321|       |
 2322|      0|        if (_PyImport_CheckSubinterpIncompatibleExtensionAllowed(name_buf) < 0) {
  ------------------
  |  Branch (2322:13): [True: 0, False: 0]
  ------------------
 2323|      0|            goto error;
 2324|      0|        }
 2325|      0|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (2325:9): [True: 0, False: 0]
  ------------------
 2326|       |
 2327|      0|        if (switched) {
  ------------------
  |  Branch (2327:13): [True: 0, False: 0]
  ------------------
 2328|       |            /* We switched to the main interpreter to run the init
 2329|       |             * function, so now we will "reload" the module from the
 2330|       |             * cached data using the original subinterpreter. */
 2331|      0|            assert(mod == NULL);
  ------------------
  |  Branch (2331:13): [True: 0, False: 0]
  ------------------
 2332|      0|            mod = reload_singlephase_extension(tstate, cached, info);
 2333|      0|            if (mod == NULL) {
  ------------------
  |  Branch (2333:17): [True: 0, False: 0]
  ------------------
 2334|      0|                goto error;
 2335|      0|            }
 2336|      0|            assert(!PyErr_Occurred());
  ------------------
  |  Branch (2336:13): [True: 0, False: 0]
  ------------------
 2337|      0|            assert(PyModule_Check(mod));
  ------------------
  |  Branch (2337:13): [True: 0, False: 0]
  ------------------
 2338|      0|        }
 2339|      0|        else {
 2340|      0|            assert(mod != NULL);
  ------------------
  |  Branch (2340:13): [True: 0, False: 0]
  ------------------
 2341|      0|            assert(PyModule_Check(mod));
  ------------------
  |  Branch (2341:13): [True: 0, False: 0]
  ------------------
 2342|       |
 2343|       |            /* Update per-interpreter import state. */
 2344|      0|            PyObject *modules = get_modules_dict(tstate, true);
 2345|      0|            if (finish_singlephase_extension(
  ------------------
  |  Branch (2345:17): [True: 0, False: 0]
  ------------------
 2346|      0|                    tstate, mod, cached, info->name, modules) < 0)
 2347|      0|            {
 2348|      0|                goto error;
 2349|      0|            }
 2350|      0|        }
 2351|      0|    }
 2352|       |
 2353|     38|    _Py_ext_module_loader_result_clear(&res);
 2354|     38|    return mod;
 2355|       |
 2356|      0|error:
 2357|      0|    Py_XDECREF(mod);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2358|      0|    _Py_ext_module_loader_result_clear(&res);
 2359|       |    return NULL;
 2360|     38|}
import.c:module_dict_for_exec:
 2837|      4|{
 2838|      4|    PyObject *m, *d;
 2839|       |
 2840|      4|    m = import_add_module(tstate, name);
 2841|      4|    if (m == NULL)
  ------------------
  |  Branch (2841:9): [True: 0, False: 4]
  ------------------
 2842|      0|        return NULL;
 2843|       |    /* If the module is being reloaded, we get the old module back
 2844|       |       and re-use its dict to exec the new code. */
 2845|      4|    d = PyModule_GetDict(m);
 2846|      4|    int r = PyDict_Contains(d, &_Py_ID(__builtins__));
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2847|      4|    if (r == 0) {
  ------------------
  |  Branch (2847:9): [True: 4, False: 0]
  ------------------
 2848|      4|        r = PyDict_SetItem(d, &_Py_ID(__builtins__), PyEval_GetBuiltins());
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2849|      4|    }
 2850|      4|    if (r < 0) {
  ------------------
  |  Branch (2850:9): [True: 0, False: 4]
  ------------------
 2851|      0|        remove_module(tstate, name);
 2852|      0|        Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2853|      0|        return NULL;
 2854|      0|    }
 2855|       |
 2856|      4|    Py_INCREF(d);
  ------------------
  |  |  310|      4|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2857|      4|    Py_DECREF(m);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2858|      4|    return d;
 2859|      4|}
import.c:exec_code_in_module:
 2864|      4|{
 2865|      4|    PyObject *v, *m;
 2866|       |
 2867|      4|    v = PyEval_EvalCode(code_object, module_dict, module_dict);
 2868|      4|    if (v == NULL) {
  ------------------
  |  Branch (2868:9): [True: 0, False: 4]
  ------------------
 2869|      0|        remove_module(tstate, name);
 2870|      0|        return NULL;
 2871|      0|    }
 2872|      4|    Py_DECREF(v);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2873|       |
 2874|      4|    m = import_get_module(tstate, name);
 2875|      4|    if (m == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2875:9): [True: 0, False: 4]
  |  Branch (2875:22): [True: 0, False: 0]
  ------------------
 2876|      0|        _PyErr_Format(tstate, PyExc_ImportError,
 2877|      0|                      "Loaded module %R not found in sys.modules",
 2878|      0|                      name);
 2879|      0|    }
 2880|       |
 2881|      4|    return m;
 2882|      4|}
import.c:find_frozen:
 3179|    482|{
 3180|    482|    if (info != NULL) {
  ------------------
  |  Branch (3180:9): [True: 482, False: 0]
  ------------------
 3181|    482|        memset(info, 0, sizeof(*info));
 3182|    482|    }
 3183|       |
 3184|    482|    if (nameobj == NULL || nameobj == Py_None) {
  ------------------
  |  |  616|    482|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3184:9): [True: 0, False: 482]
  |  Branch (3184:28): [True: 0, False: 482]
  ------------------
 3185|      0|        return FROZEN_BAD_NAME;
 3186|      0|    }
 3187|    482|    const char *name = _PyUnicode_AsUTF8NoNUL(nameobj);
 3188|    482|    if (name == NULL) {
  ------------------
  |  Branch (3188:9): [True: 0, False: 482]
  ------------------
 3189|       |        // Note that this function previously used
 3190|       |        // _PyUnicode_EqualToASCIIString().  We clear the error here
 3191|       |        // (instead of propagating it) to match the earlier behavior
 3192|       |        // more closely.
 3193|      0|        PyErr_Clear();
 3194|      0|        return FROZEN_BAD_NAME;
 3195|      0|    }
 3196|       |
 3197|    482|    const struct _frozen *p = look_up_frozen(name);
 3198|    482|    if (p == NULL) {
  ------------------
  |  Branch (3198:9): [True: 424, False: 58]
  ------------------
 3199|    424|        return FROZEN_NOT_FOUND;
 3200|    424|    }
 3201|     58|    if (info != NULL) {
  ------------------
  |  Branch (3201:9): [True: 58, False: 0]
  ------------------
 3202|     58|        info->nameobj = nameobj;  // borrowed
 3203|     58|        info->data = (const char *)p->code;
 3204|     58|        info->size = p->size;
 3205|     58|        info->is_package = p->is_package;
 3206|     58|        if (p->size < 0) {
  ------------------
  |  Branch (3206:13): [True: 0, False: 58]
  ------------------
 3207|       |            // backward compatibility with negative size values
 3208|      0|            info->size = -(p->size);
 3209|      0|            info->is_package = true;
 3210|      0|        }
 3211|     58|        info->origname = name;
 3212|     58|        info->is_alias = resolve_module_alias(name, _PyImport_FrozenAliases,
 3213|     58|                                              &info->origname);
 3214|     58|    }
 3215|     58|    if (p->code == NULL) {
  ------------------
  |  Branch (3215:9): [True: 0, False: 58]
  ------------------
 3216|       |        /* It is frozen but marked as un-importable. */
 3217|      0|        return FROZEN_EXCLUDED;
 3218|      0|    }
 3219|     58|    if (p->code[0] == '\0' || p->size == 0) {
  ------------------
  |  Branch (3219:9): [True: 0, False: 58]
  |  Branch (3219:31): [True: 0, False: 58]
  ------------------
 3220|       |        /* Does not contain executable code. */
 3221|      0|        return FROZEN_INVALID;
 3222|      0|    }
 3223|     58|    return FROZEN_OKAY;
 3224|     58|}
import.c:look_up_frozen:
 3122|    482|{
 3123|    482|    const struct _frozen *p;
 3124|       |    // We always use the bootstrap modules.
 3125|  2.36k|    for (p = _PyImport_FrozenBootstrap; ; p++) {
 3126|  2.36k|        if (p->name == NULL) {
  ------------------
  |  Branch (3126:13): [True: 462, False: 1.89k]
  ------------------
 3127|       |            // We hit the end-of-list sentinel value.
 3128|    462|            break;
 3129|    462|        }
 3130|  1.89k|        if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3130:13): [True: 20, False: 1.87k]
  ------------------
 3131|     20|            return p;
 3132|     20|        }
 3133|  1.89k|    }
 3134|       |    // Prefer custom modules, if any.  Frozen stdlib modules can be
 3135|       |    // disabled here by setting "code" to NULL in the array entry.
 3136|    462|    if (PyImport_FrozenModules != NULL) {
  ------------------
  |  Branch (3136:9): [True: 0, False: 462]
  ------------------
 3137|      0|        for (p = PyImport_FrozenModules; ; p++) {
 3138|      0|            if (p->name == NULL) {
  ------------------
  |  Branch (3138:17): [True: 0, False: 0]
  ------------------
 3139|      0|                break;
 3140|      0|            }
 3141|      0|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3141:17): [True: 0, False: 0]
  ------------------
 3142|      0|                return p;
 3143|      0|            }
 3144|      0|        }
 3145|      0|    }
 3146|       |    // Frozen stdlib modules may be disabled.
 3147|    462|    if (use_frozen()) {
  ------------------
  |  Branch (3147:9): [True: 462, False: 0]
  ------------------
 3148|  7.01k|        for (p = _PyImport_FrozenStdlib; ; p++) {
 3149|  7.01k|            if (p->name == NULL) {
  ------------------
  |  Branch (3149:17): [True: 424, False: 6.59k]
  ------------------
 3150|    424|                break;
 3151|    424|            }
 3152|  6.59k|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3152:17): [True: 38, False: 6.55k]
  ------------------
 3153|     38|                return p;
 3154|     38|            }
 3155|  6.59k|        }
 3156|  5.08k|        for (p = _PyImport_FrozenTest; ; p++) {
 3157|  5.08k|            if (p->name == NULL) {
  ------------------
  |  Branch (3157:17): [True: 424, False: 4.66k]
  ------------------
 3158|    424|                break;
 3159|    424|            }
 3160|  4.66k|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3160:17): [True: 0, False: 4.66k]
  ------------------
 3161|      0|                return p;
 3162|      0|            }
 3163|  4.66k|        }
 3164|    424|    }
 3165|    424|    return NULL;
 3166|    462|}
import.c:use_frozen:
 2981|    462|{
 2982|    462|    PyInterpreterState *interp = _PyInterpreterState_GET();
 2983|    462|    int override = OVERRIDE_FROZEN_MODULES(interp);
  ------------------
  |  |  100|    462|    (interp)->imports.override_frozen_modules
  ------------------
 2984|    462|    if (override > 0) {
  ------------------
  |  Branch (2984:9): [True: 0, False: 462]
  ------------------
 2985|      0|        return true;
 2986|      0|    }
 2987|    462|    else if (override < 0) {
  ------------------
  |  Branch (2987:14): [True: 0, False: 462]
  ------------------
 2988|      0|        return false;
 2989|      0|    }
 2990|    462|    else {
 2991|    462|        return interp->config.use_frozen_modules;
 2992|    462|    }
 2993|    462|}
import.c:resolve_module_alias:
 2963|     58|{
 2964|     58|    const struct _module_alias *entry;
 2965|    452|    for (entry = aliases; ; entry++) {
 2966|    452|        if (entry->name == NULL) {
  ------------------
  |  Branch (2966:13): [True: 42, False: 410]
  ------------------
 2967|       |            /* It isn't an alias. */
 2968|     42|            return false;
 2969|     42|        }
 2970|    410|        if (strcmp(name, entry->name) == 0) {
  ------------------
  |  Branch (2970:13): [True: 16, False: 394]
  ------------------
 2971|     16|            if (alias != NULL) {
  ------------------
  |  Branch (2971:17): [True: 16, False: 0]
  ------------------
 2972|     16|                *alias = entry->orig;
 2973|     16|            }
 2974|       |            return true;
 2975|     16|        }
 2976|    410|    }
 2977|     58|}
import.c:unmarshal_frozen_code:
 3228|     27|{
 3229|     27|    PyObject *co = PyMarshal_ReadObjectFromString(info->data, info->size);
 3230|     27|    if (co == NULL) {
  ------------------
  |  Branch (3230:9): [True: 0, False: 27]
  ------------------
 3231|       |        /* Does not contain executable code. */
 3232|      0|        PyErr_Clear();
 3233|      0|        set_frozen_error(FROZEN_INVALID, info->nameobj);
 3234|      0|        return NULL;
 3235|      0|    }
 3236|     27|    if (!PyCode_Check(co)) {
  ------------------
  |  |  168|     27|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_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 (3236:9): [True: 0, False: 27]
  ------------------
 3237|       |        // We stick with TypeError for backward compatibility.
 3238|      0|        PyErr_Format(PyExc_TypeError,
 3239|      0|                     "frozen object %R is not a code object",
 3240|      0|                     info->nameobj);
 3241|      0|        Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3242|      0|        return NULL;
 3243|      0|    }
 3244|     27|    return co;
 3245|     27|}
import.c:remove_importlib_frames:
 3674|    321|{
 3675|    321|    const char *importlib_filename = "<frozen importlib._bootstrap>";
 3676|    321|    const char *external_filename = "<frozen importlib._bootstrap_external>";
 3677|    321|    const char *remove_frames = "_call_with_frames_removed";
 3678|    321|    int always_trim = 0;
 3679|    321|    int in_importlib = 0;
 3680|    321|    PyObject **prev_link, **outer_link = NULL;
 3681|    321|    PyObject *base_tb = NULL;
 3682|       |
 3683|       |    /* Synopsis: if it's an ImportError, we trim all importlib chunks
 3684|       |       from the traceback. We always trim chunks
 3685|       |       which end with a call to "_call_with_frames_removed". */
 3686|       |
 3687|    321|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 3688|    321|    if (exc == NULL || _PyInterpreterState_GetConfig(tstate->interp)->verbose) {
  ------------------
  |  Branch (3688:9): [True: 0, False: 321]
  |  Branch (3688:24): [True: 0, False: 321]
  ------------------
 3689|      0|        goto done;
 3690|      0|    }
 3691|       |
 3692|    321|    if (PyType_IsSubtype(Py_TYPE(exc), (PyTypeObject *) PyExc_ImportError)) {
  ------------------
  |  |  213|    321|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    321|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    321|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3692:9): [True: 321, False: 0]
  ------------------
 3693|    321|        always_trim = 1;
 3694|    321|    }
 3695|       |
 3696|    321|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (3696:5): [True: 321, False: 0]
  ------------------
 3697|    321|    base_tb = PyException_GetTraceback(exc);
 3698|    321|    prev_link = &base_tb;
 3699|    321|    PyObject *tb = base_tb;
 3700|    963|    while (tb != NULL) {
  ------------------
  |  Branch (3700:12): [True: 642, False: 321]
  ------------------
 3701|    642|        assert(PyTraceBack_Check(tb));
  ------------------
  |  Branch (3701:9): [True: 642, False: 0]
  ------------------
 3702|    642|        PyTracebackObject *traceback = (PyTracebackObject *)tb;
 3703|    642|        PyObject *next = (PyObject *) traceback->tb_next;
 3704|    642|        PyFrameObject *frame = traceback->tb_frame;
 3705|    642|        PyCodeObject *code = PyFrame_GetCode(frame);
 3706|    642|        int now_in_importlib;
 3707|       |
 3708|    642|        now_in_importlib = _PyUnicode_EqualToASCIIString(code->co_filename, importlib_filename) ||
  ------------------
  |  Branch (3708:28): [True: 642, False: 0]
  ------------------
 3709|      0|                           _PyUnicode_EqualToASCIIString(code->co_filename, external_filename);
  ------------------
  |  Branch (3709:28): [True: 0, False: 0]
  ------------------
 3710|    642|        if (now_in_importlib && !in_importlib) {
  ------------------
  |  Branch (3710:13): [True: 642, False: 0]
  |  Branch (3710:33): [True: 321, False: 321]
  ------------------
 3711|       |            /* This is the link to this chunk of importlib tracebacks */
 3712|    321|            outer_link = prev_link;
 3713|    321|        }
 3714|    642|        in_importlib = now_in_importlib;
 3715|       |
 3716|    642|        if (in_importlib &&
  ------------------
  |  Branch (3716:13): [True: 642, False: 0]
  ------------------
 3717|    642|            (always_trim ||
  ------------------
  |  Branch (3717:14): [True: 642, False: 0]
  ------------------
 3718|    642|             _PyUnicode_EqualToASCIIString(code->co_name, remove_frames))) {
  ------------------
  |  Branch (3718:14): [True: 0, False: 0]
  ------------------
 3719|    642|            Py_XSETREF(*outer_link, Py_XNewRef(next));
  ------------------
  |  |  576|    642|    do { \
  |  |  577|    642|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    642|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    642|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    642|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    642|        *_tmp_dst_ptr = (src); \
  |  |  580|    642|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    642|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    642|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    642|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    642|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 642]
  |  |  ------------------
  ------------------
 3720|    642|            prev_link = outer_link;
 3721|    642|        }
 3722|      0|        else {
 3723|      0|            prev_link = (PyObject **) &traceback->tb_next;
 3724|      0|        }
 3725|    642|        Py_DECREF(code);
  ------------------
  |  |  430|    642|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    642|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    642|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3726|    642|        tb = next;
 3727|    642|    }
 3728|    321|    if (base_tb == NULL) {
  ------------------
  |  Branch (3728:9): [True: 321, False: 0]
  ------------------
 3729|    321|        base_tb = Py_None;
  ------------------
  |  |  616|    321|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3730|    321|        Py_INCREF(Py_None);
  ------------------
  |  |  310|    321|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    321|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    321|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3731|    321|    }
 3732|    321|    PyException_SetTraceback(exc, base_tb);
 3733|    321|done:
 3734|    321|    Py_XDECREF(base_tb);
  ------------------
  |  |  621|    321|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    321|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    321|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3735|    321|    _PyErr_SetRaisedException(tstate, exc);
 3736|    321|}
import.c:resolve_name:
 3741|     13|{
 3742|     13|    PyObject *abs_name;
 3743|     13|    PyObject *package = NULL;
 3744|     13|    PyObject *spec = NULL;
 3745|     13|    Py_ssize_t last_dot;
 3746|     13|    PyObject *base;
 3747|     13|    int level_up;
 3748|       |
 3749|     13|    if (globals == NULL) {
  ------------------
  |  Branch (3749:9): [True: 0, False: 13]
  ------------------
 3750|      0|        _PyErr_SetString(tstate, PyExc_KeyError, "'__name__' not in globals");
 3751|      0|        goto error;
 3752|      0|    }
 3753|     13|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|     13|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|     13|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     26|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 13, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3754|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 3755|      0|                         "globals must be a dict or a frozendict");
 3756|      0|        goto error;
 3757|      0|    }
 3758|     13|    if (PyDict_GetItemRef(globals, &_Py_ID(__package__), &package) < 0) {
  ------------------
  |  |  951|     13|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     13|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     13|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3758:9): [True: 0, False: 13]
  ------------------
 3759|      0|        goto error;
 3760|      0|    }
 3761|     13|    if (package == Py_None) {
  ------------------
  |  |  616|     13|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3761:9): [True: 0, False: 13]
  ------------------
 3762|      0|        Py_DECREF(package);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3763|      0|        package = NULL;
 3764|      0|    }
 3765|     13|    if (PyDict_GetItemRef(globals, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  951|     13|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     13|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     13|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3765:9): [True: 0, False: 13]
  ------------------
 3766|      0|        goto error;
 3767|      0|    }
 3768|       |
 3769|     13|    if (package != NULL) {
  ------------------
  |  Branch (3769:9): [True: 13, False: 0]
  ------------------
 3770|     13|        if (!PyUnicode_Check(package)) {
  ------------------
  |  |  103|     13|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     13|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3770:13): [True: 0, False: 13]
  ------------------
 3771|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3772|      0|                             "package must be a string");
 3773|      0|            goto error;
 3774|      0|        }
 3775|     13|        else if (spec != NULL && spec != Py_None) {
  ------------------
  |  |  616|     13|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3775:18): [True: 13, False: 0]
  |  Branch (3775:34): [True: 13, False: 0]
  ------------------
 3776|     13|            int equal;
 3777|     13|            PyObject *parent = PyObject_GetAttr(spec, &_Py_ID(parent));
  ------------------
  |  |  951|     13|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     13|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     13|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3778|     13|            if (parent == NULL) {
  ------------------
  |  Branch (3778:17): [True: 0, False: 13]
  ------------------
 3779|      0|                goto error;
 3780|      0|            }
 3781|       |
 3782|     13|            equal = PyObject_RichCompareBool(package, parent, Py_EQ);
  ------------------
  |  |  654|     13|#define Py_EQ 2
  ------------------
 3783|     13|            Py_DECREF(parent);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3784|     13|            if (equal < 0) {
  ------------------
  |  Branch (3784:17): [True: 0, False: 13]
  ------------------
 3785|      0|                goto error;
 3786|      0|            }
 3787|     13|            else if (equal == 0) {
  ------------------
  |  Branch (3787:22): [True: 0, False: 13]
  ------------------
 3788|      0|                if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (3788:21): [True: 0, False: 0]
  ------------------
 3789|      0|                        "__package__ != __spec__.parent", 1) < 0) {
 3790|      0|                    goto error;
 3791|      0|                }
 3792|      0|            }
 3793|     13|        }
 3794|     13|    }
 3795|      0|    else if (spec != NULL && spec != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3795:14): [True: 0, False: 0]
  |  Branch (3795:30): [True: 0, False: 0]
  ------------------
 3796|      0|        package = PyObject_GetAttr(spec, &_Py_ID(parent));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3797|      0|        if (package == NULL) {
  ------------------
  |  Branch (3797:13): [True: 0, False: 0]
  ------------------
 3798|      0|            goto error;
 3799|      0|        }
 3800|      0|        else if (!PyUnicode_Check(package)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3800:18): [True: 0, False: 0]
  ------------------
 3801|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3802|      0|                             "__spec__.parent must be a string");
 3803|      0|            goto error;
 3804|      0|        }
 3805|      0|    }
 3806|      0|    else {
 3807|      0|        if (PyErr_WarnEx(PyExc_ImportWarning,
  ------------------
  |  Branch (3807:13): [True: 0, False: 0]
  ------------------
 3808|      0|                    "can't resolve package from __spec__ or __package__, "
 3809|      0|                    "falling back on __name__ and __path__", 1) < 0) {
 3810|      0|            goto error;
 3811|      0|        }
 3812|       |
 3813|      0|        if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &package) < 0) {
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3813:13): [True: 0, False: 0]
  ------------------
 3814|      0|            goto error;
 3815|      0|        }
 3816|      0|        if (package == NULL) {
  ------------------
  |  Branch (3816:13): [True: 0, False: 0]
  ------------------
 3817|      0|            _PyErr_SetString(tstate, PyExc_KeyError,
 3818|      0|                             "'__name__' not in globals");
 3819|      0|            goto error;
 3820|      0|        }
 3821|       |
 3822|      0|        if (!PyUnicode_Check(package)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3822:13): [True: 0, False: 0]
  ------------------
 3823|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3824|      0|                             "__name__ must be a string");
 3825|      0|            goto error;
 3826|      0|        }
 3827|       |
 3828|      0|        int haspath = PyDict_Contains(globals, &_Py_ID(__path__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3829|      0|        if (haspath < 0) {
  ------------------
  |  Branch (3829:13): [True: 0, False: 0]
  ------------------
 3830|      0|            goto error;
 3831|      0|        }
 3832|      0|        if (!haspath) {
  ------------------
  |  Branch (3832:13): [True: 0, False: 0]
  ------------------
 3833|      0|            Py_ssize_t dot;
 3834|       |
 3835|      0|            dot = PyUnicode_FindChar(package, '.',
 3836|      0|                                        0, PyUnicode_GET_LENGTH(package), -1);
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3837|      0|            if (dot == -2) {
  ------------------
  |  Branch (3837:17): [True: 0, False: 0]
  ------------------
 3838|      0|                goto error;
 3839|      0|            }
 3840|      0|            else if (dot == -1) {
  ------------------
  |  Branch (3840:22): [True: 0, False: 0]
  ------------------
 3841|      0|                goto no_parent_error;
 3842|      0|            }
 3843|      0|            PyObject *substr = PyUnicode_Substring(package, 0, dot);
 3844|      0|            if (substr == NULL) {
  ------------------
  |  Branch (3844:17): [True: 0, False: 0]
  ------------------
 3845|      0|                goto error;
 3846|      0|            }
 3847|      0|            Py_SETREF(package, substr);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3848|      0|        }
 3849|      0|    }
 3850|       |
 3851|     13|    last_dot = PyUnicode_GET_LENGTH(package);
  ------------------
  |  |  300|     13|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3852|     13|    if (last_dot == 0) {
  ------------------
  |  Branch (3852:9): [True: 0, False: 13]
  ------------------
 3853|      0|        goto no_parent_error;
 3854|      0|    }
 3855|       |
 3856|     13|    for (level_up = 1; level_up < level; level_up += 1) {
  ------------------
  |  Branch (3856:24): [True: 0, False: 13]
  ------------------
 3857|      0|        last_dot = PyUnicode_FindChar(package, '.', 0, last_dot, -1);
 3858|      0|        if (last_dot == -2) {
  ------------------
  |  Branch (3858:13): [True: 0, False: 0]
  ------------------
 3859|      0|            goto error;
 3860|      0|        }
 3861|      0|        else if (last_dot == -1) {
  ------------------
  |  Branch (3861:18): [True: 0, False: 0]
  ------------------
 3862|      0|            _PyErr_SetString(tstate, PyExc_ImportError,
 3863|      0|                             "attempted relative import beyond top-level "
 3864|      0|                             "package");
 3865|      0|            goto error;
 3866|      0|        }
 3867|      0|    }
 3868|       |
 3869|     13|    Py_XDECREF(spec);
  ------------------
  |  |  621|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3870|     13|    base = PyUnicode_Substring(package, 0, last_dot);
 3871|     13|    Py_DECREF(package);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3872|     13|    if (base == NULL || PyUnicode_GET_LENGTH(name) == 0) {
  ------------------
  |  |  300|     13|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3872:9): [True: 0, False: 13]
  |  Branch (3872:25): [True: 5, False: 8]
  ------------------
 3873|      5|        return base;
 3874|      5|    }
 3875|       |
 3876|      8|    abs_name = PyUnicode_FromFormat("%U.%U", base, name);
 3877|      8|    Py_DECREF(base);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3878|      8|    return abs_name;
 3879|       |
 3880|      0|  no_parent_error:
 3881|      0|    _PyErr_SetString(tstate, PyExc_ImportError,
 3882|      0|                     "attempted relative import "
 3883|      0|                     "with no known parent package");
 3884|       |
 3885|      0|  error:
 3886|      0|    Py_XDECREF(spec);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3887|      0|    Py_XDECREF(package);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3888|       |    return NULL;
 3889|      0|}
import.c:import_find_and_load:
 3954|    469|{
 3955|    469|    return import_find_and_load_with_name(
 3956|    469|        tstate, abs_name, &_Py_ID(_find_and_load), NULL);
  ------------------
  |  |  951|    469|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    469|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    469|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3957|    469|}
import.c:import_find_and_load_with_name:
 3895|    469|{
 3896|    469|    PyObject *mod = NULL;
 3897|    469|    PyInterpreterState *interp = tstate->interp;
 3898|    469|    int import_time = _PyInterpreterState_GetConfig(interp)->import_time;
 3899|    469|#define import_level FIND_AND_LOAD(interp).import_level
 3900|    469|#define accumulated FIND_AND_LOAD(interp).accumulated
 3901|       |
 3902|    469|    PyTime_t t1 = 0, accumulated_copy = accumulated;
  ------------------
  |  | 3900|    469|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  115|    469|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 3903|       |
 3904|       |    /* XOptions is initialized after first some imports.
 3905|       |     * So we can't have negative cache before completed initialization.
 3906|       |     * Anyway, importlib._find_and_load is much slower than
 3907|       |     * _PyDict_GetItemIdWithError().
 3908|       |     */
 3909|    469|    if (import_time) {
  ------------------
  |  Branch (3909:9): [True: 0, False: 469]
  ------------------
 3910|      0|        _IMPORT_TIME_HEADER(interp);
  ------------------
  |  |  133|      0|    do {                                                                      \
  |  |  134|      0|        if (FIND_AND_LOAD((interp)).header) {                                 \
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  |  Branch (134:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  135|      0|            fputs("import time: self [us] | cumulative | imported package\n", \
  |  |  136|      0|                  stderr);                                                    \
  |  |  137|      0|            FIND_AND_LOAD((interp)).header = 0;                               \
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  138|      0|        }                                                                     \
  |  |  139|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (139:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3911|       |
 3912|      0|        import_level++;
  ------------------
  |  | 3899|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 3913|       |        // ignore error: don't block import if reading the clock fails
 3914|      0|        (void)PyTime_PerfCounterRaw(&t1);
 3915|      0|        accumulated = 0;
  ------------------
  |  | 3900|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 3916|      0|    }
 3917|       |
 3918|    469|    if (PyDTrace_IMPORT_FIND_LOAD_START_ENABLED())
  ------------------
  |  Branch (3918:9): [True: 0, False: 469]
  ------------------
 3919|      0|        PyDTrace_IMPORT_FIND_LOAD_START(PyUnicode_AsUTF8(abs_name));
 3920|       |
 3921|    469|    mod = PyObject_CallMethodObjArgs(IMPORTLIB(interp), find_and_load,
  ------------------
  |  |   96|    469|    (interp)->imports.importlib
  ------------------
 3922|    469|                                     abs_name, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  106|    469|    (interp)->imports.import_func
  ------------------
 3923|       |
 3924|    469|    if (PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED()) {
  ------------------
  |  Branch (3924:9): [True: 0, False: 469]
  ------------------
 3925|      0|        int found = mod != NULL && mod != not_found;
  ------------------
  |  Branch (3925:21): [True: 0, False: 0]
  |  Branch (3925:36): [True: 0, False: 0]
  ------------------
 3926|      0|        PyDTrace_IMPORT_FIND_LOAD_DONE(PyUnicode_AsUTF8(abs_name),
 3927|      0|                                       found);
 3928|      0|    }
 3929|       |
 3930|    469|    if (import_time) {
  ------------------
  |  Branch (3930:9): [True: 0, False: 469]
  ------------------
 3931|      0|        PyTime_t t2;
 3932|      0|        (void)PyTime_PerfCounterRaw(&t2);
 3933|      0|        PyTime_t cum = t2 - t1;
 3934|       |
 3935|      0|        import_level--;
  ------------------
  |  | 3899|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 3936|      0|        PyObject *encoded_name = get_importtime_name(abs_name);
 3937|      0|        fprintf(stderr, "import time: %9ld | %10ld | %*s%s\n",
 3938|      0|                (long)_PyTime_AsMicroseconds(cum - accumulated, _PyTime_ROUND_CEILING),
  ------------------
  |  | 3900|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 3939|      0|                (long)_PyTime_AsMicroseconds(cum, _PyTime_ROUND_CEILING),
 3940|      0|                import_level*2, "",
  ------------------
  |  | 3899|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 3941|      0|                encoded_name != NULL ? PyBytes_AS_STRING(encoded_name) : "?");
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3941:17): [True: 0, False: 0]
  ------------------
 3942|      0|        Py_XDECREF(encoded_name);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3943|       |
 3944|      0|        accumulated = accumulated_copy + cum;
  ------------------
  |  | 3900|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  115|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 3945|      0|    }
 3946|       |
 3947|    469|    return mod;
 3948|    469|#undef import_level
 3949|    469|#undef accumulated
 3950|    469|}
import.c:lazy_modules_add:
 4143|     13|{
 4144|     13|    PyObject *mod = import_get_module(tstate, name);
 4145|     13|    if (mod == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (4145:9): [True: 12, False: 1]
  |  Branch (4145:24): [True: 0, False: 12]
  ------------------
 4146|      0|        return -1;
 4147|      0|    }
 4148|     13|    int loaded = mod != NULL && mod != Py_None;
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4148:18): [True: 1, False: 12]
  |  Branch (4148:33): [True: 1, False: 0]
  ------------------
 4149|     13|    if (loaded && 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 (378:40): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4149:9): [True: 1, False: 12]
  ------------------
 4150|      1|        PyObject *spec;
 4151|      1|        if (PyDict_GetItemRef(_PyModule_GetDict(mod), &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4151:13): [True: 0, False: 1]
  ------------------
 4152|      0|            Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4153|      0|            return -1;
 4154|      0|        }
 4155|      1|        loaded = spec == NULL || spec == Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4155:18): [True: 0, False: 1]
  |  Branch (4155:34): [True: 0, False: 1]
  ------------------
 4156|      1|        if (!loaded) {
  ------------------
  |  Branch (4156:13): [True: 1, False: 0]
  ------------------
 4157|       |            // Read the usual flag without callbacks or dictionary allocation.
 4158|       |            // Unsupported spec representations stay conservatively tracked.
 4159|      1|            PyObject *initializing = NULL;
 4160|      1|            if ((Py_TYPE(spec)->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if ((Py_TYPE(spec)->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  472|      1|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (4160:17): [True: 1, False: 0]
  ------------------
 4161|      1|                _PyObject_TryGetInstanceAttribute(spec, &_Py_ID(_initializing), &initializing)) {
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4161:17): [True: 1, False: 0]
  ------------------
 4162|      1|                loaded = initializing == NULL || initializing == Py_False;
  ------------------
  |  |   25|      1|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4162:26): [True: 0, False: 1]
  |  Branch (4162:50): [True: 1, False: 0]
  ------------------
 4163|      1|            }
 4164|      1|            Py_XDECREF(initializing);
  ------------------
  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4165|      1|        }
 4166|      1|        Py_XDECREF(spec);
  ------------------
  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4167|      1|    }
 4168|     13|    if (existing_mod_p != NULL) {
  ------------------
  |  Branch (4168:9): [True: 12, False: 1]
  ------------------
 4169|     12|        *existing_mod_p = mod;
 4170|     12|    }
 4171|      1|    else {
 4172|      1|        Py_XDECREF(mod);
  ------------------
  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4173|      1|    }
 4174|     13|    if (loaded || LAZY_MODULES(tstate->interp) == NULL) {
  ------------------
  |  |   92|     12|    (interp)->imports.lazy_modules
  ------------------
  |  Branch (4174:9): [True: 1, False: 12]
  |  Branch (4174:19): [True: 0, False: 12]
  ------------------
 4175|      1|        return 0;
 4176|      1|    }
 4177|     12|    return PySet_Add(LAZY_MODULES(tstate->interp), name);
  ------------------
  |  |   92|     12|    (interp)->imports.lazy_modules
  ------------------
 4178|     13|}
import.c:register_from_lazy_on_parent:
 4257|      2|{
 4258|       |    // IMPORT_FROM returns stored attributes directly.  Their imports are
 4259|       |    // already resolved or tracked by their own placeholders, so skip the alias.
 4260|      2|    int rc = 0;
 4261|      2|    if (existing_module != NULL && PyModule_Check(existing_module)) {
  ------------------
  |  |   12|      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 (4261:9): [True: 1, False: 1]
  ------------------
 4262|      1|        rc = PyDict_Contains(_PyModule_GetDict(existing_module), from);
 4263|      1|        if (rc != 0) {
  ------------------
  |  Branch (4263:13): [True: 1, False: 0]
  ------------------
 4264|      1|            return rc < 0 ? -1 : 0;
  ------------------
  |  Branch (4264:20): [True: 0, False: 1]
  ------------------
 4265|      1|        }
 4266|      1|    }
 4267|       |
 4268|      1|    PyObject *fromname = PyUnicode_FromFormat("%U.%U", abs_name, from);
 4269|      1|    if (fromname == NULL) {
  ------------------
  |  Branch (4269:9): [True: 0, False: 1]
  ------------------
 4270|      0|        return -1;
 4271|      0|    }
 4272|       |
 4273|      1|    rc = lazy_modules_add(tstate, fromname, NULL);
 4274|      1|    if (rc == 0) {
  ------------------
  |  Branch (4274:9): [True: 1, False: 0]
  ------------------
 4275|      1|        rc = register_lazy_on_parent(tstate, fromname, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4276|      1|    }
 4277|      1|    Py_DECREF(fromname);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4278|      1|    return rc;
 4279|      1|}
import.c:register_lazy_on_parent:
 4208|     11|{
 4209|     11|    PyDictObject *pending =
 4210|     11|        (PyDictObject *)LAZY_PENDING_SUBMODULES(tstate->interp);
  ------------------
  |  |   94|     11|    (interp)->imports.lazy_pending_submodules
  ------------------
 4211|       |    // Finalizers can still run after finalize_modules() cleared the dict.
 4212|     11|    if (pending == NULL) {
  ------------------
  |  Branch (4212:9): [True: 0, False: 11]
  ------------------
 4213|      0|        return 0;
 4214|      0|    }
 4215|     11|    Py_ssize_t end = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  300|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4216|     12|    while (true) {
  ------------------
  |  Branch (4216:12): [True: 12, Folded]
  ------------------
 4217|     12|        Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0, end, -1);
 4218|     12|        if (dot < 0) {
  ------------------
  |  Branch (4218:13): [True: 11, False: 1]
  ------------------
 4219|     11|            return dot == -1 ? 0 : -1;
  ------------------
  |  Branch (4219:20): [True: 11, False: 0]
  ------------------
 4220|     11|        }
 4221|      1|        PyObject *parent = PyUnicode_Substring(name, 0, dot);
 4222|      1|        if (parent == NULL) {
  ------------------
  |  Branch (4222:13): [True: 0, False: 1]
  ------------------
 4223|      0|            return -1;
 4224|      0|        }
 4225|      1|        PyObject *child = PyUnicode_Substring(name, dot + 1, end);
 4226|      1|        if (child == NULL) {
  ------------------
  |  Branch (4226:13): [True: 0, False: 1]
  ------------------
 4227|      0|            Py_DECREF(parent);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4228|      0|            return -1;
 4229|      0|        }
 4230|       |
 4231|      1|        PyObject *submodules = ensure_lazy_pending_submodules(pending, parent);
 4232|      1|        Py_DECREF(parent);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4233|      1|        PyObject *fullname = PyUnicode_Substring(name, 0, end);
 4234|      1|        PyObject *cached = fullname == NULL ? NULL :
  ------------------
  |  Branch (4234:28): [True: 0, False: 1]
  ------------------
 4235|      1|            import_get_module(tstate, fullname);
 4236|      1|        Py_XDECREF(fullname);
  ------------------
  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4237|      1|        PyObject *value = cached != NULL && cached != Py_None ? Py_None : source;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      PyObject *value = cached != NULL && cached != Py_None ? Py_None : source;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4237:27): [True: 0, False: 1]
  |  Branch (4237:45): [True: 0, False: 0]
  ------------------
 4238|      1|        int err = -1;
 4239|      1|        if (submodules != NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (4239:13): [True: 1, False: 0]
  |  Branch (4239:35): [True: 1, False: 0]
  ------------------
 4240|      1|            err = source == Py_None ?
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4240:19): [True: 1, False: 0]
  ------------------
 4241|      1|                PyDict_SetDefaultRef(submodules, child, value, NULL) :
 4242|      1|                PyDict_SetItem(submodules, child, value);
 4243|      1|        }
 4244|      1|        Py_XDECREF(cached);
  ------------------
  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4245|      1|        Py_DECREF(child);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4246|      1|        Py_XDECREF(submodules);
  ------------------
  |  |  621|      1|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4247|      1|        if (err < 0) {
  ------------------
  |  Branch (4247:13): [True: 0, False: 1]
  ------------------
 4248|      0|            return -1;
 4249|      0|        }
 4250|      1|        end = dot;
 4251|      1|    }
 4252|     11|}
import.c:ensure_lazy_pending_submodules:
 4184|      1|{
 4185|      1|    PyObject *lazy_submodules;
 4186|      1|    Py_BEGIN_CRITICAL_SECTION(lazy_modules);
  ------------------
  |  |   51|      1|    {
  ------------------
 4187|      1|    int err = _PyDict_GetItemRef_Unicode_LockHeld(lazy_modules, parent,
 4188|      1|                                                  &lazy_submodules);
 4189|      1|    if (err == 0) {
  ------------------
  |  Branch (4189:9): [True: 1, False: 0]
  ------------------
 4190|       |        // value isn't present
 4191|      1|        lazy_submodules = PyDict_New();
 4192|      1|        if (lazy_submodules != NULL &&
  ------------------
  |  Branch (4192:13): [True: 1, False: 0]
  ------------------
 4193|      1|            _PyDict_SetItem_LockHeld(lazy_modules, parent,
  ------------------
  |  Branch (4193:13): [True: 0, False: 1]
  ------------------
 4194|      1|                                     lazy_submodules) < 0) {
 4195|      0|            Py_CLEAR(lazy_submodules);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4196|      0|        }
 4197|      1|    }
 4198|      1|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      1|    }
  ------------------
 4199|      1|    return lazy_submodules;
 4200|      1|}
import.c:init_builtin_modules_table:
 2684|      2|{
 2685|      2|    size_t size;
 2686|     78|    for (size = 0; PyImport_Inittab[size].name != NULL; size++)
  ------------------
  |  Branch (2686:20): [True: 76, False: 2]
  ------------------
 2687|     76|        ;
 2688|      2|    size++;
 2689|       |
 2690|       |    /* Make the copy. */
 2691|      2|    struct _inittab *copied = _PyMem_DefaultRawMalloc(size * sizeof(struct _inittab));
 2692|      2|    if (copied == NULL) {
  ------------------
  |  Branch (2692:9): [True: 0, False: 2]
  ------------------
 2693|      0|        return -1;
 2694|      0|    }
 2695|      2|    memcpy(copied, PyImport_Inittab, size * sizeof(struct _inittab));
 2696|      2|    INITTAB = copied;
  ------------------
  |  |   78|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2697|      2|    return 0;
 2698|      2|}
import.c:init_importlib:
 3407|      2|{
 3408|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (3408:5): [True: 2, False: 0]
  ------------------
 3409|       |
 3410|      2|    PyInterpreterState *interp = tstate->interp;
 3411|      2|    int verbose = _PyInterpreterState_GetConfig(interp)->verbose;
 3412|       |
 3413|       |    // Import _importlib through its frozen version, _frozen_importlib.
 3414|      2|    if (verbose) {
  ------------------
  |  Branch (3414:9): [True: 0, False: 2]
  ------------------
 3415|      0|        PySys_FormatStderr("import _frozen_importlib # frozen\n");
 3416|      0|    }
 3417|      2|    if (PyImport_ImportFrozenModule("_frozen_importlib") <= 0) {
  ------------------
  |  Branch (3417:9): [True: 0, False: 2]
  ------------------
 3418|      0|        return -1;
 3419|      0|    }
 3420|       |
 3421|      2|    PyObject *importlib = PyImport_AddModuleRef("_frozen_importlib");
 3422|      2|    if (importlib == NULL) {
  ------------------
  |  Branch (3422:9): [True: 0, False: 2]
  ------------------
 3423|      0|        return -1;
 3424|      0|    }
 3425|      2|    IMPORTLIB(interp) = importlib;
  ------------------
  |  |   96|      2|    (interp)->imports.importlib
  ------------------
 3426|       |
 3427|       |    // Import the _imp module
 3428|      2|    if (verbose) {
  ------------------
  |  Branch (3428:9): [True: 0, False: 2]
  ------------------
 3429|      0|        PySys_FormatStderr("import _imp # builtin\n");
 3430|      0|    }
 3431|      2|    PyObject *imp_mod = bootstrap_imp(tstate);
 3432|      2|    if (imp_mod == NULL) {
  ------------------
  |  Branch (3432:9): [True: 0, False: 2]
  ------------------
 3433|      0|        return -1;
 3434|      0|    }
 3435|      2|    if (_PyImport_SetModuleString("_imp", imp_mod) < 0) {
  ------------------
  |  Branch (3435:9): [True: 0, False: 2]
  ------------------
 3436|      0|        Py_DECREF(imp_mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3437|      0|        return -1;
 3438|      0|    }
 3439|       |
 3440|       |    // Install importlib as the implementation of import
 3441|      2|    PyObject *value = PyObject_CallMethod(importlib, "_install",
 3442|      2|                                          "OO", sysmod, imp_mod);
 3443|      2|    Py_DECREF(imp_mod);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3444|      2|    if (value == NULL) {
  ------------------
  |  Branch (3444:9): [True: 0, False: 2]
  ------------------
 3445|      0|        return -1;
 3446|      0|    }
 3447|      2|    Py_DECREF(value);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3448|       |
 3449|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (3449:5): [True: 2, False: 0]
  ------------------
 3450|      2|    return 0;
 3451|      2|}
import.c:bootstrap_imp:
 3353|      2|{
 3354|      2|    PyObject *name = PyUnicode_FromString("_imp");
 3355|      2|    if (name == NULL) {
  ------------------
  |  Branch (3355:9): [True: 0, False: 2]
  ------------------
 3356|      0|        return NULL;
 3357|      0|    }
 3358|       |
 3359|       |    // Mock a ModuleSpec object just good enough for PyModule_FromDefAndSpec():
 3360|       |    // an object with just a name attribute.
 3361|       |    //
 3362|       |    // _imp.__spec__ is overridden by importlib._bootstrap._instal() anyway.
 3363|      2|    PyObject *attrs = Py_BuildValue("{sO}", "name", name);
 3364|      2|    if (attrs == NULL) {
  ------------------
  |  Branch (3364:9): [True: 0, False: 2]
  ------------------
 3365|      0|        goto error;
 3366|      0|    }
 3367|      2|    PyObject *spec = _PyNamespace_New(attrs);
 3368|      2|    Py_DECREF(attrs);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3369|      2|    if (spec == NULL) {
  ------------------
  |  Branch (3369:9): [True: 0, False: 2]
  ------------------
 3370|      0|        goto error;
 3371|      0|    }
 3372|       |
 3373|       |    // Create the _imp module from its definition.
 3374|      2|    PyObject *mod = create_builtin(tstate, name, spec, NULL);
 3375|      2|    Py_CLEAR(name);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3376|      2|    Py_DECREF(spec);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3377|      2|    if (mod == NULL) {
  ------------------
  |  Branch (3377:9): [True: 0, False: 2]
  ------------------
 3378|      0|        goto error;
 3379|      0|    }
 3380|      2|    assert(mod != Py_None);  // not found
  ------------------
  |  Branch (3380:5): [True: 2, False: 0]
  ------------------
 3381|       |
 3382|       |    // Execute the _imp module: call imp_module_exec().
 3383|      2|    if (exec_builtin_or_dynamic(mod) < 0) {
  ------------------
  |  Branch (3383:9): [True: 0, False: 2]
  ------------------
 3384|      0|        Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3385|      0|        goto error;
 3386|      0|    }
 3387|      2|    return mod;
 3388|       |
 3389|      0|error:
 3390|      0|    Py_XDECREF(name);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3391|       |    return NULL;
 3392|      2|}
import.c:exec_builtin_or_dynamic:
  948|     38|exec_builtin_or_dynamic(PyObject *mod) {
  949|     38|    void *state;
  950|       |
  951|     38|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|     38|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|     38|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (951:9): [True: 0, False: 38]
  ------------------
  952|      0|        return 0;
  953|      0|    }
  954|       |
  955|     38|    state = PyModule_GetState(mod);
  956|     38|    if (state) {
  ------------------
  |  Branch (956:9): [True: 0, False: 38]
  ------------------
  957|       |        /* Already initialized; skip reload */
  958|      0|        return 0;
  959|      0|    }
  960|       |
  961|     38|    return PyModule_Exec(mod);
  962|     38|}
import.c:init_importlib_external:
 3456|      2|{
 3457|      2|    PyObject *value;
 3458|      2|    value = PyObject_CallMethod(IMPORTLIB(interp),
  ------------------
  |  |   96|      2|    (interp)->imports.importlib
  ------------------
 3459|      2|                                "_install_external_importers", "");
 3460|      2|    if (value == NULL) {
  ------------------
  |  Branch (3460:9): [True: 0, False: 2]
  ------------------
 3461|      0|        return -1;
 3462|      0|    }
 3463|      2|    Py_DECREF(value);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3464|      2|    return 0;
 3465|      2|}
import.c:init_zipimport:
 4803|      2|{
 4804|      2|    PyObject *path_hooks = PySys_GetAttrString("path_hooks");
 4805|      2|    if (path_hooks == NULL) {
  ------------------
  |  Branch (4805:9): [True: 0, False: 2]
  ------------------
 4806|      0|        return -1;
 4807|      0|    }
 4808|       |
 4809|      2|    if (verbose) {
  ------------------
  |  Branch (4809:9): [True: 0, False: 2]
  ------------------
 4810|      0|        PySys_WriteStderr("# installing zipimport hook\n");
 4811|      0|    }
 4812|       |
 4813|      2|    PyObject *zipimporter = PyImport_ImportModuleAttrString("zipimport", "zipimporter");
 4814|      2|    if (zipimporter == NULL) {
  ------------------
  |  Branch (4814:9): [True: 0, False: 2]
  ------------------
 4815|      0|        _PyErr_Clear(tstate); /* No zipimporter object -- okay */
 4816|      0|        if (verbose) {
  ------------------
  |  Branch (4816:13): [True: 0, False: 0]
  ------------------
 4817|      0|            PySys_WriteStderr("# can't import zipimport.zipimporter\n");
 4818|      0|        }
 4819|      0|    }
 4820|      2|    else {
 4821|       |        /* sys.path_hooks.insert(0, zipimporter) */
 4822|      2|        int err = PyList_Insert(path_hooks, 0, zipimporter);
 4823|      2|        Py_DECREF(zipimporter);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4824|      2|        if (err < 0) {
  ------------------
  |  Branch (4824:13): [True: 0, False: 2]
  ------------------
 4825|      0|            Py_DECREF(path_hooks);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4826|      0|            return -1;
 4827|      0|        }
 4828|      2|        if (verbose) {
  ------------------
  |  Branch (4828:13): [True: 0, False: 2]
  ------------------
 4829|      0|            PySys_WriteStderr("# installed zipimport hook\n");
 4830|      0|        }
 4831|      2|    }
 4832|      2|    Py_DECREF(path_hooks);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4833|       |
 4834|      2|    return 0;
 4835|      2|}
import.c:_imp_extension_suffixes_impl:
 5085|      4|{
 5086|      4|    PyObject *list;
 5087|       |
 5088|      4|    list = PyList_New(0);
 5089|      4|    if (list == NULL)
  ------------------
  |  Branch (5089:9): [True: 0, False: 4]
  ------------------
 5090|      0|        return NULL;
 5091|      4|#ifdef HAVE_DYNAMIC_LOADING
 5092|      4|    const char *suffix;
 5093|      4|    unsigned int index = 0;
 5094|       |
 5095|     28|    while ((suffix = _PyImport_DynLoadFiletab[index])) {
  ------------------
  |  Branch (5095:12): [True: 24, False: 4]
  ------------------
 5096|     24|        PyObject *item = PyUnicode_FromString(suffix);
 5097|     24|        if (item == NULL) {
  ------------------
  |  Branch (5097:13): [True: 0, False: 24]
  ------------------
 5098|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5099|      0|            return NULL;
 5100|      0|        }
 5101|     24|        if (PyList_Append(list, item) < 0) {
  ------------------
  |  Branch (5101:13): [True: 0, False: 24]
  ------------------
 5102|      0|            Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5103|      0|            Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5104|      0|            return NULL;
 5105|      0|        }
 5106|     24|        Py_DECREF(item);
  ------------------
  |  |  430|     24|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5107|     24|        index += 1;
 5108|     24|    }
 5109|      4|#endif
 5110|      4|    return list;
 5111|      4|}
import.c:_imp_acquire_lock_impl:
 4995|  2.31k|{
 4996|  2.31k|    PyThreadState *tstate = _PyThreadState_GET();
 4997|       |    // Leave enough stack for importlib to release the lock.
 4998|  2.31k|    if (_Py_ReachedRecursionLimitWithMargin(tstate, 2)) {
  ------------------
  |  Branch (4998:9): [True: 0, False: 2.31k]
  ------------------
 4999|      0|        _PyErr_SetString(tstate, PyExc_RecursionError,
 5000|      0|                         "maximum recursion depth exceeded while "
 5001|      0|                         "acquiring the import lock");
 5002|      0|        return NULL;
 5003|      0|    }
 5004|  2.31k|    _PyImport_AcquireLock(tstate->interp);
 5005|  2.31k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  2.31k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  2.31k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5006|  2.31k|}
import.c:_imp_release_lock_impl:
 5019|  2.31k|{
 5020|  2.31k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5021|  2.31k|    if (!_PyRecursiveMutex_IsLockedByCurrentThread(&IMPORT_LOCK(interp))) {
  ------------------
  |  |  112|  2.31k|    (interp)->imports.lock
  ------------------
  |  Branch (5021:9): [True: 0, False: 2.31k]
  ------------------
 5022|      0|        PyErr_SetString(PyExc_RuntimeError,
 5023|      0|                        "not holding the import lock");
 5024|      0|        return NULL;
 5025|      0|    }
 5026|  2.31k|    _PyImport_ReleaseLock(interp);
 5027|  2.31k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  2.31k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  2.31k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5028|  2.31k|}
import.c:_imp_find_frozen_impl:
 5161|    447|{
 5162|    447|    struct frozen_info info;
 5163|    447|    frozen_status status = find_frozen(name, &info);
 5164|    447|    if (status == FROZEN_NOT_FOUND || status == FROZEN_DISABLED) {
  ------------------
  |  Branch (5164:9): [True: 424, False: 23]
  |  Branch (5164:39): [True: 0, False: 23]
  ------------------
 5165|    424|        Py_RETURN_NONE;
  ------------------
  |  |  628|    424|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    424|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5166|    424|    }
 5167|     23|    else if (status == FROZEN_BAD_NAME) {
  ------------------
  |  Branch (5167:14): [True: 0, False: 23]
  ------------------
 5168|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5169|      0|    }
 5170|     23|    else if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5170:14): [True: 0, False: 23]
  ------------------
 5171|      0|        set_frozen_error(status, name);
 5172|      0|        return NULL;
 5173|      0|    }
 5174|       |
 5175|     23|    PyObject *data = NULL;
 5176|     23|    if (withdata) {
  ------------------
  |  Branch (5176:9): [True: 0, False: 23]
  ------------------
 5177|      0|        data = PyMemoryView_FromMemory((char *)info.data, info.size, PyBUF_READ);
  ------------------
  |  |  137|      0|#define PyBUF_READ  0x100
  ------------------
 5178|      0|        if (data == NULL) {
  ------------------
  |  Branch (5178:13): [True: 0, False: 0]
  ------------------
 5179|      0|            return NULL;
 5180|      0|        }
 5181|      0|    }
 5182|       |
 5183|     23|    PyObject *origname = NULL;
 5184|     23|    if (info.origname != NULL && info.origname[0] != '\0') {
  ------------------
  |  Branch (5184:9): [True: 23, False: 0]
  |  Branch (5184:34): [True: 23, False: 0]
  ------------------
 5185|     23|        origname = PyUnicode_FromString(info.origname);
 5186|     23|        if (origname == NULL) {
  ------------------
  |  Branch (5186:13): [True: 0, False: 23]
  ------------------
 5187|      0|            Py_XDECREF(data);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5188|      0|            return NULL;
 5189|      0|        }
 5190|     23|    }
 5191|       |
 5192|     23|    PyObject *result = PyTuple_Pack(3, data ? data : Py_None,
  ------------------
  |  |  616|     23|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5192:40): [True: 0, False: 23]
  ------------------
 5193|     23|                                    info.is_package ? Py_True : Py_False,
  ------------------
  |  |   26|     23|#  define Py_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|     23|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5193:37): [True: 0, False: 23]
  ------------------
 5194|     23|                                    origname ? origname : Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5194:37): [True: 23, False: 0]
  ------------------
 5195|     23|    Py_XDECREF(origname);
  ------------------
  |  |  621|     23|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5196|     23|    Py_XDECREF(data);
  ------------------
  |  |  621|     23|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5197|     23|    return result;
 5198|     23|}
import.c:_imp_get_frozen_object_impl:
 5214|     23|{
 5215|     23|    struct frozen_info info = {0};
 5216|     23|    Py_buffer buf = {0};
 5217|     23|    if (PyObject_CheckBuffer(dataobj)) {
  ------------------
  |  Branch (5217:9): [True: 0, False: 23]
  ------------------
 5218|      0|        if (PyObject_GetBuffer(dataobj, &buf, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (5218:13): [True: 0, False: 0]
  ------------------
 5219|      0|            return NULL;
 5220|      0|        }
 5221|      0|        info.data = (const char *)buf.buf;
 5222|      0|        info.size = buf.len;
 5223|      0|    }
 5224|     23|    else if (dataobj != Py_None) {
  ------------------
  |  |  616|     23|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5224:14): [True: 0, False: 23]
  ------------------
 5225|      0|        _PyArg_BadArgument("get_frozen_object", "argument 2", "bytes", dataobj);
 5226|      0|        return NULL;
 5227|      0|    }
 5228|     23|    else {
 5229|     23|        frozen_status status = find_frozen(name, &info);
 5230|     23|        if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5230:13): [True: 0, False: 23]
  ------------------
 5231|      0|            set_frozen_error(status, name);
 5232|      0|            return NULL;
 5233|      0|        }
 5234|     23|    }
 5235|       |
 5236|     23|    if (info.nameobj == NULL) {
  ------------------
  |  Branch (5236:9): [True: 0, False: 23]
  ------------------
 5237|      0|        info.nameobj = name;
 5238|      0|    }
 5239|     23|    if (info.size == 0) {
  ------------------
  |  Branch (5239:9): [True: 0, False: 23]
  ------------------
 5240|       |        /* Does not contain executable code. */
 5241|      0|        set_frozen_error(FROZEN_INVALID, name);
 5242|      0|        return NULL;
 5243|      0|    }
 5244|       |
 5245|     23|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5246|     23|    PyObject *codeobj = unmarshal_frozen_code(interp, &info);
 5247|     23|    if (dataobj != Py_None) {
  ------------------
  |  |  616|     23|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5247:9): [True: 0, False: 23]
  ------------------
 5248|      0|        PyBuffer_Release(&buf);
 5249|      0|    }
 5250|     23|    return codeobj;
 5251|     23|}
import.c:_imp_is_frozen_package_impl:
 5265|      4|{
 5266|      4|    struct frozen_info info;
 5267|      4|    frozen_status status = find_frozen(name, &info);
 5268|      4|    if (status != FROZEN_OKAY && status != FROZEN_EXCLUDED) {
  ------------------
  |  Branch (5268:9): [True: 0, False: 4]
  |  Branch (5268:34): [True: 0, False: 0]
  ------------------
 5269|      0|        set_frozen_error(status, name);
 5270|      0|        return NULL;
 5271|      0|    }
 5272|      4|    return PyBool_FromLong(info.is_package);
 5273|      4|}
import.c:_imp_create_builtin:
 5068|     28|{
 5069|     28|    PyThreadState *tstate = _PyThreadState_GET();
 5070|       |
 5071|     28|    PyObject *mod = create_builtin(tstate, NULL, spec, NULL);
 5072|     28|    return mod;
 5073|     28|}
import.c:_imp_is_builtin_impl:
 5287|    475|{
 5288|    475|    return PyLong_FromLong(is_builtin(name));
 5289|    475|}
import.c:is_builtin:
 2482|    475|{
 2483|    475|    int i;
 2484|    475|    struct _inittab *inittab = INITTAB;
  ------------------
  |  |   78|    475|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2485|  17.9k|    for (i = 0; inittab[i].name != NULL; i++) {
  ------------------
  |  Branch (2485:17): [True: 17.4k, False: 447]
  ------------------
 2486|  17.4k|        if (_PyUnicode_EqualToASCIIString(name, inittab[i].name)) {
  ------------------
  |  Branch (2486:13): [True: 28, False: 17.4k]
  ------------------
 2487|     28|            if (inittab[i].initfunc == NULL)
  ------------------
  |  Branch (2487:17): [True: 0, False: 28]
  ------------------
 2488|      0|                return -1;
 2489|     28|            else
 2490|     28|                return 1;
 2491|     28|        }
 2492|  17.4k|    }
 2493|    447|    return 0;
 2494|    475|}
import.c:_imp_is_frozen_impl:
 5303|      4|{
 5304|      4|    struct frozen_info info;
 5305|      4|    frozen_status status = find_frozen(name, &info);
 5306|      4|    if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5306:9): [True: 0, False: 4]
  ------------------
 5307|      0|        Py_RETURN_FALSE;
  ------------------
  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5308|      0|    }
 5309|      4|    Py_RETURN_TRUE;
  ------------------
  |  |   44|      4|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      4|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5310|      4|}
import.c:_imp_create_dynamic_impl:
 5397|      8|{
 5398|      8|    FILE *fp = NULL;
 5399|      8|    PyObject *mod = NULL;
 5400|      8|    PyThreadState *tstate = _PyThreadState_GET();
 5401|       |
 5402|      8|    struct _Py_ext_module_loader_info info;
 5403|      8|    _Py_ext_module_origin origin = _Py_ext_module_origin_DYNAMIC;
 5404|      8|    if (_Py_ext_module_loader_info_init(&info, NULL, spec, origin) < 0) {
  ------------------
  |  Branch (5404:9): [True: 0, False: 8]
  ------------------
 5405|      0|        return NULL;
 5406|      0|    }
 5407|       |
 5408|      8|    struct extensions_cache_value *cached = NULL;
 5409|      8|    mod = import_find_extension(tstate, &info, &cached);
 5410|      8|    if (mod != NULL) {
  ------------------
  |  Branch (5410:9): [True: 0, False: 8]
  ------------------
 5411|      0|        assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (5411:9): [True: 0, False: 0]
  ------------------
 5412|      0|        assert(cached != NULL);
  ------------------
  |  Branch (5412:9): [True: 0, False: 0]
  ------------------
 5413|       |        /* The module might not have md_def set in certain reload cases. */
 5414|      0|        assert(_PyModule_GetDefOrNull(mod) == NULL
  ------------------
  |  Branch (5414:9): [True: 0, False: 0]
  |  Branch (5414:9): [True: 0, False: 0]
  ------------------
 5415|      0|                || cached->def == _PyModule_GetDefOrNull(mod));
 5416|      0|        assert_singlephase(cached);
  ------------------
  |  | 1820|      0|    do {                                                                    \
  |  | 1821|      0|        _Py_ext_module_kind kind = _get_extension_kind(cached->def, true);  \
  |  | 1822|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE);                    \
  |  | 1823|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1823:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (5416:9): [True: 0, False: 0]
  ------------------
 5417|      0|        goto finally;
 5418|      0|    }
 5419|      8|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (5419:14): [True: 0, False: 8]
  ------------------
 5420|      0|        goto finally;
 5421|      0|    }
 5422|       |    /* Otherwise it must be multi-phase init or the first time it's loaded. */
 5423|       |
 5424|       |    /* If the module was added to the global cache
 5425|       |     * but def->m_base.m_copy was cleared (e.g. subinterp fini)
 5426|       |     * then we have to do a little dance here. */
 5427|      8|    if (cached != NULL) {
  ------------------
  |  Branch (5427:9): [True: 0, False: 8]
  ------------------
 5428|      0|        assert(cached->def->m_base.m_copy == NULL);
  ------------------
  |  Branch (5428:9): [True: 0, False: 0]
  ------------------
 5429|       |        /* For now we clear the cache and move on. */
 5430|      0|        _extensions_cache_delete(info.path, info.name);
 5431|      0|    }
 5432|       |
 5433|      8|    if (PySys_Audit("import", "OOOOO", info.name, info.filename,
  ------------------
  |  Branch (5433:9): [True: 0, False: 8]
  ------------------
 5434|      8|                    Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
                                  Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
                                  Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5435|      0|    {
 5436|      0|        goto finally;
 5437|      0|    }
 5438|       |
 5439|       |    /* We would move this (and the fclose() below) into
 5440|       |     * _PyImport_GetModuleExportHooks(), but it isn't clear if the intervening
 5441|       |     * code relies on fp still being open. */
 5442|      8|    if (file != NULL) {
  ------------------
  |  Branch (5442:9): [True: 0, False: 8]
  ------------------
 5443|      0|        fp = Py_fopen(info.filename, "r");
 5444|      0|        if (fp == NULL) {
  ------------------
  |  Branch (5444:13): [True: 0, False: 0]
  ------------------
 5445|      0|            goto finally;
 5446|      0|        }
 5447|      0|    }
 5448|       |
 5449|      8|    PyModInitFunction p0 = NULL;
 5450|      8|    PyModExportFunction ex0 = NULL;
 5451|      8|    _PyImport_GetModuleExportHooks(&info, fp, &p0, &ex0);
 5452|      8|    if (ex0) {
  ------------------
  |  Branch (5452:9): [True: 0, False: 8]
  ------------------
 5453|      0|        mod = import_run_modexport(tstate, ex0, &info, spec);
 5454|       |        // Modules created from slots handle GIL enablement (Py_mod_gil slot)
 5455|       |        // when they're created.
 5456|      0|        goto finally;
 5457|      0|    }
 5458|      8|    if (p0 == NULL) {
  ------------------
  |  Branch (5458:9): [True: 0, False: 8]
  ------------------
 5459|      0|        goto finally;
 5460|      0|    }
 5461|       |
 5462|       |#ifdef Py_GIL_DISABLED
 5463|       |    // This call (and the corresponding call to _PyImport_CheckGILForModule())
 5464|       |    // would ideally be inside import_run_extension(). They are kept in the
 5465|       |    // callers for now because that would complicate the control flow inside
 5466|       |    // import_run_extension(). It should be possible to restructure
 5467|       |    // import_run_extension() to address this.
 5468|       |    _PyEval_EnableGILTransient(tstate);
 5469|       |#endif
 5470|      8|    mod = import_run_extension(
 5471|      8|                    tstate, p0, &info, spec, get_modules_dict(tstate, true));
 5472|       |#ifdef Py_GIL_DISABLED
 5473|       |    if (_PyImport_CheckGILForModule(mod, info.name) < 0) {
 5474|       |        Py_CLEAR(mod);
 5475|       |        goto finally;
 5476|       |    }
 5477|       |#endif
 5478|       |
 5479|      8|finally:
 5480|      8|    if (fp != NULL) {
  ------------------
  |  Branch (5480:9): [True: 0, False: 8]
  ------------------
 5481|      0|        fclose(fp);
 5482|      0|    }
 5483|      8|    _Py_ext_module_loader_info_clear(&info);
 5484|      8|    return mod;
 5485|      8|}
import.c:_imp_exec_dynamic_impl:
 5499|      8|{
 5500|      8|    return exec_builtin_or_dynamic(mod);
 5501|      8|}
import.c:_imp_exec_builtin_impl:
 5518|     28|{
 5519|     28|    return exec_builtin_or_dynamic(mod);
 5520|     28|}
import.c:_imp__fix_co_filename_impl:
 5049|     95|{
 5050|     95|    update_compiled_module(code, path);
 5051|       |
 5052|     95|    Py_RETURN_NONE;
  ------------------
  |  |  628|     95|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     95|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5053|     95|}
import.c:update_compiled_module:
 2940|     95|{
 2941|     95|    PyObject *oldname;
 2942|       |
 2943|     95|    if (PyUnicode_Compare(co->co_filename, newname) == 0)
  ------------------
  |  Branch (2943:9): [True: 95, False: 0]
  ------------------
 2944|     95|        return;
 2945|       |
 2946|      0|    oldname = co->co_filename;
 2947|      0|    Py_INCREF(oldname);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2948|      0|    update_code_filenames(co, oldname, newname);
 2949|      0|    Py_DECREF(oldname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2950|      0|}
import.c:_imp__set_lazy_attributes_impl:
 5562|    148|{
 5563|    148|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5564|    148|    if (_PyImport_DiscardLazyModule(interp, name) < 0) {
  ------------------
  |  Branch (5564:9): [True: 0, False: 148]
  ------------------
 5565|      0|        return NULL;
 5566|      0|    }
 5567|    148|    if (_PyImport_ClearLazySubmodule(_PyThreadState_GET(), name, 0) < 0) {
  ------------------
  |  Branch (5567:9): [True: 0, False: 148]
  ------------------
 5568|      0|        return NULL;
 5569|      0|    }
 5570|    148|    Py_RETURN_NONE;
  ------------------
  |  |  628|    148|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    148|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5571|    148|}
import.c:imp_module_exec:
 5603|      2|{
 5604|      2|    const wchar_t *mode = _Py_GetConfig()->check_hash_pycs_mode;
 5605|      2|    PyObject *pyc_mode = PyUnicode_FromWideChar(mode, -1);
 5606|      2|    if (PyModule_Add(module, "check_hash_based_pycs", pyc_mode) < 0) {
  ------------------
  |  Branch (5606:9): [True: 0, False: 2]
  ------------------
 5607|      0|        return -1;
 5608|      0|    }
 5609|       |
 5610|      2|    if (PyModule_AddIntConstant(
  ------------------
  |  Branch (5610:9): [True: 0, False: 2]
  ------------------
 5611|      2|            module, "pyc_magic_number_token", PYC_MAGIC_NUMBER_TOKEN) < 0)
  ------------------
  |  |  322|      2|    ((uint32_t)PYC_MAGIC_NUMBER | ((uint32_t)'\r' << 16) | ((uint32_t)'\n' << 24))
  |  |  ------------------
  |  |  |  |  318|      2|#define PYC_MAGIC_NUMBER 3708
  |  |  ------------------
  ------------------
 5612|      0|    {
 5613|      0|        return -1;
 5614|      0|    }
 5615|       |
 5616|      2|    return 0;
 5617|      2|}

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

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

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

_Py_GetBaseCodeUnit:
  639|     40|{
  640|     40|    _Py_CODEUNIT *src_instr = _PyCode_CODE(code) + i;
  ------------------
  |  |   16|     40|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|     40|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  641|     40|    _Py_CODEUNIT inst = {
  642|     40|        .cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t *)src_instr)};
  ------------------
  |  |  160|     40|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
  643|     40|    int opcode = inst.op.code;
  644|     40|    if (opcode < MIN_INSTRUMENTED_OPCODE) {
  ------------------
  |  |  258|     40|#define MIN_INSTRUMENTED_OPCODE                233
  ------------------
  |  Branch (644:9): [True: 40, False: 0]
  ------------------
  645|     40|        inst.op.code = _PyOpcode_Deopt[opcode];
  646|     40|        assert(inst.op.code < MIN_SPECIALIZED_OPCODE);
  ------------------
  |  Branch (646:9): [True: 40, False: 0]
  ------------------
  647|     40|        return inst;
  648|     40|    }
  649|      0|    if (opcode == ENTER_EXECUTOR) {
  ------------------
  |  |  242|      0|#define ENTER_EXECUTOR                         254
  ------------------
  |  Branch (649:9): [True: 0, False: 0]
  ------------------
  650|      0|        _PyExecutorObject *exec = code->co_executors->executors[inst.op.arg];
  651|      0|        opcode = _PyOpcode_Deopt[exec->vm_data.opcode];
  652|      0|        inst.op.code = opcode;
  653|      0|        inst.op.arg = exec->vm_data.oparg;
  654|      0|        assert(inst.op.code < MIN_SPECIALIZED_OPCODE);
  ------------------
  |  Branch (654:9): [True: 0, False: 0]
  ------------------
  655|      0|        return inst;
  656|      0|    }
  657|      0|    if (opcode == INSTRUMENTED_LINE) {
  ------------------
  |  |  241|      0|#define INSTRUMENTED_LINE                      253
  ------------------
  |  Branch (657:9): [True: 0, False: 0]
  ------------------
  658|      0|        opcode = _PyCode_GetOriginalOpcode(code->_co_monitoring->lines, i);
  659|      0|    }
  660|      0|    if (opcode == INSTRUMENTED_INSTRUCTION) {
  ------------------
  |  |  225|      0|#define INSTRUMENTED_INSTRUCTION               237
  ------------------
  |  Branch (660:9): [True: 0, False: 0]
  ------------------
  661|      0|        opcode = code->_co_monitoring->per_instruction_opcodes[i];
  662|      0|    }
  663|      0|    CHECK(opcode != INSTRUMENTED_INSTRUCTION);
  ------------------
  |  |  632|      0|#define CHECK(test) assert(test)
  ------------------
  |  Branch (663:5): [True: 0, False: 0]
  ------------------
  664|      0|    CHECK(opcode != INSTRUMENTED_LINE);
  ------------------
  |  |  632|      0|#define CHECK(test) assert(test)
  ------------------
  |  Branch (664:5): [True: 0, False: 0]
  ------------------
  665|      0|    int deinstrumented = DE_INSTRUMENT[opcode];
  666|      0|    if (deinstrumented) {
  ------------------
  |  Branch (666:9): [True: 0, False: 0]
  ------------------
  667|      0|        inst.op.code = deinstrumented;
  668|      0|    }
  669|      0|    else {
  670|      0|        inst.op.code = _PyOpcode_Deopt[opcode];
  671|      0|    }
  672|      0|    assert(inst.op.code < MIN_SPECIALIZED_OPCODE);
  ------------------
  |  Branch (672:5): [True: 0, False: 0]
  ------------------
  673|      0|    return inst;
  674|      0|}
_Py_CreateMonitoringObject:
 2580|      2|{
 2581|      2|    PyObject *mod = _PyModule_CreateInitialized(&monitoring_module, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 2582|      2|    if (mod == NULL) {
  ------------------
  |  Branch (2582:9): [True: 0, False: 2]
  ------------------
 2583|      0|        return NULL;
 2584|      0|    }
 2585|      2|    if (PyObject_SetAttrString(mod, "DISABLE", &_PyInstrumentation_DISABLE)) {
  ------------------
  |  Branch (2585:9): [True: 0, False: 2]
  ------------------
 2586|      0|        goto error;
 2587|      0|    }
 2588|      2|    if (PyObject_SetAttrString(mod, "MISSING", &_PyInstrumentation_MISSING)) {
  ------------------
  |  Branch (2588:9): [True: 0, False: 2]
  ------------------
 2589|      0|        goto error;
 2590|      0|    }
 2591|      2|    PyObject *events = _PyNamespace_New(NULL);
 2592|      2|    if (events == NULL) {
  ------------------
  |  Branch (2592:9): [True: 0, False: 2]
  ------------------
 2593|      0|        goto error;
 2594|      0|    }
 2595|      2|    int err = PyObject_SetAttrString(mod, "events", events);
 2596|      2|    Py_DECREF(events);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2597|      2|    if (err) {
  ------------------
  |  Branch (2597:9): [True: 0, False: 2]
  ------------------
 2598|      0|        goto error;
 2599|      0|    }
 2600|     40|    for (int i = 0; i < _PY_MONITORING_EVENTS; i++) {
  ------------------
  |  |   77|     40|#define _PY_MONITORING_EVENTS 19
  ------------------
  |  Branch (2600:21): [True: 38, False: 2]
  ------------------
 2601|     38|        if (add_power2_constant(events, event_names[i], i)) {
  ------------------
  |  Branch (2601:13): [True: 0, False: 38]
  ------------------
 2602|      0|            goto error;
 2603|      0|        }
 2604|     38|    }
 2605|      2|    err = PyObject_SetAttrString(events, "NO_EVENTS", _PyLong_GetZero());
 2606|      2|    if (err) goto error;
  ------------------
  |  Branch (2606:9): [True: 0, False: 2]
  ------------------
 2607|      2|    PyObject *val = PyLong_FromLong(PY_MONITORING_DEBUGGER_ID);
  ------------------
  |  |   20|      2|#define PY_MONITORING_DEBUGGER_ID 0
  ------------------
 2608|      2|    assert(val != NULL); /* Can't return NULL because the int is small. */
  ------------------
  |  Branch (2608:5): [True: 2, False: 0]
  ------------------
 2609|      2|    err = PyObject_SetAttrString(mod, "DEBUGGER_ID", val);
 2610|      2|    Py_DECREF(val);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2611|      2|    if (err) goto error;
  ------------------
  |  Branch (2611:9): [True: 0, False: 2]
  ------------------
 2612|      2|    val = PyLong_FromLong(PY_MONITORING_COVERAGE_ID);
  ------------------
  |  |   21|      2|#define PY_MONITORING_COVERAGE_ID 1
  ------------------
 2613|      2|    assert(val != NULL);
  ------------------
  |  Branch (2613:5): [True: 2, False: 0]
  ------------------
 2614|      2|    err = PyObject_SetAttrString(mod, "COVERAGE_ID", val);
 2615|      2|    Py_DECREF(val);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2616|      2|    if (err) goto error;
  ------------------
  |  Branch (2616:9): [True: 0, False: 2]
  ------------------
 2617|      2|    val = PyLong_FromLong(PY_MONITORING_PROFILER_ID);
  ------------------
  |  |   22|      2|#define PY_MONITORING_PROFILER_ID 2
  ------------------
 2618|      2|    assert(val != NULL);
  ------------------
  |  Branch (2618:5): [True: 2, False: 0]
  ------------------
 2619|      2|    err = PyObject_SetAttrString(mod, "PROFILER_ID", val);
 2620|      2|    Py_DECREF(val);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2621|      2|    if (err) goto error;
  ------------------
  |  Branch (2621:9): [True: 0, False: 2]
  ------------------
 2622|      2|    val = PyLong_FromLong(PY_MONITORING_OPTIMIZER_ID);
  ------------------
  |  |   23|      2|#define PY_MONITORING_OPTIMIZER_ID 5
  ------------------
 2623|      2|    assert(val != NULL);
  ------------------
  |  Branch (2623:5): [True: 2, False: 0]
  ------------------
 2624|      2|    err = PyObject_SetAttrString(mod, "OPTIMIZER_ID", val);
 2625|      2|    Py_DECREF(val);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2626|      2|    if (err) goto error;
  ------------------
  |  Branch (2626:9): [True: 0, False: 2]
  ------------------
 2627|      2|    return mod;
 2628|      0|error:
 2629|      0|    Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2630|       |    return NULL;
 2631|      2|}
instrumentation.c:add_power2_constant:
 2517|     38|{
 2518|     38|    PyObject *val = PyLong_FromLong(1<<i);
 2519|     38|    if (val == NULL) {
  ------------------
  |  Branch (2519:9): [True: 0, False: 38]
  ------------------
 2520|      0|        return -1;
 2521|      0|    }
 2522|     38|    int err = PyObject_SetAttrString(obj, name, val);
 2523|     38|    Py_DECREF(val);
  ------------------
  |  |  430|     38|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2524|     38|    return err;
 2525|     38|}

intrinsics.c:import_star:
  126|     14|{
  127|     14|    _PyInterpreterFrame *frame = tstate->current_frame;
  128|       |
  129|     14|    PyObject *locals = _PyFrame_GetLocals(frame);
  130|     14|    if (locals == NULL) {
  ------------------
  |  Branch (130:9): [True: 0, False: 14]
  ------------------
  131|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
  132|      0|                            "no locals found during 'import *'");
  133|      0|        return NULL;
  134|      0|    }
  135|     14|    int err = import_all_from(tstate, locals, from);
  136|     14|    Py_DECREF(locals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|     14|    if (err < 0) {
  ------------------
  |  Branch (137:9): [True: 0, False: 14]
  ------------------
  138|      0|        return NULL;
  139|      0|    }
  140|     14|    Py_RETURN_NONE;
  ------------------
  |  |  628|     14|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  141|     14|}
intrinsics.c:import_all_from:
   42|     14|{
   43|     14|    PyObject *all, *dict, *name, *value;
   44|     14|    int skip_leading_underscores = 0;
   45|     14|    int pos, err;
   46|       |
   47|     14|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__all__), &all) < 0) {
  ------------------
  |  |  951|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (47:9): [True: 0, False: 14]
  ------------------
   48|      0|        return -1; /* Unexpected error */
   49|      0|    }
   50|     14|    if (all == NULL) {
  ------------------
  |  Branch (50:9): [True: 12, False: 2]
  ------------------
   51|     12|        if (PyObject_GetOptionalAttr(v, &_Py_ID(__dict__), &dict) < 0) {
  ------------------
  |  |  951|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (51:13): [True: 0, False: 12]
  ------------------
   52|      0|            return -1;
   53|      0|        }
   54|     12|        if (dict == NULL) {
  ------------------
  |  Branch (54:13): [True: 0, False: 12]
  ------------------
   55|      0|            _PyErr_SetString(tstate, PyExc_ImportError,
   56|      0|                    "from-import-* object has no __dict__ and no __all__");
   57|      0|            return -1;
   58|      0|        }
   59|     12|        all = PyMapping_Keys(dict);
   60|     12|        Py_DECREF(dict);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   61|     12|        if (all == NULL)
  ------------------
  |  Branch (61:13): [True: 0, False: 12]
  ------------------
   62|      0|            return -1;
   63|     12|        skip_leading_underscores = 1;
   64|     12|    }
   65|       |
   66|  1.64k|    for (pos = 0, err = 0; ; pos++) {
   67|  1.64k|        name = PySequence_GetItem(all, pos);
   68|  1.64k|        if (name == NULL) {
  ------------------
  |  Branch (68:13): [True: 14, False: 1.62k]
  ------------------
   69|     14|            if (!_PyErr_ExceptionMatches(tstate, PyExc_IndexError)) {
  ------------------
  |  Branch (69:17): [True: 0, False: 14]
  ------------------
   70|      0|                err = -1;
   71|      0|            }
   72|     14|            else {
   73|     14|                _PyErr_Clear(tstate);
   74|     14|            }
   75|     14|            break;
   76|     14|        }
   77|  1.62k|        if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  1.62k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.62k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (77:13): [True: 0, False: 1.62k]
  ------------------
   78|      0|            PyObject *modname = PyObject_GetAttr(v, &_Py_ID(__name__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   79|      0|            if (modname == NULL) {
  ------------------
  |  Branch (79:17): [True: 0, False: 0]
  ------------------
   80|      0|                Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|      0|                err = -1;
   82|      0|                break;
   83|      0|            }
   84|      0|            if (!PyUnicode_Check(modname)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (84:17): [True: 0, False: 0]
  ------------------
   85|      0|                _PyErr_Format(tstate, PyExc_TypeError,
   86|      0|                              "module __name__ must be a string, not %.100s",
   87|      0|                              Py_TYPE(modname)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   88|      0|            }
   89|      0|            else {
   90|      0|                _PyErr_Format(tstate, PyExc_TypeError,
   91|      0|                              "%s in %U.%s must be str, not %.100s",
   92|      0|                              skip_leading_underscores ? "Key" : "Item",
  ------------------
  |  Branch (92:31): [True: 0, False: 0]
  ------------------
   93|      0|                              modname,
   94|      0|                              skip_leading_underscores ? "__dict__" : "__all__",
  ------------------
  |  Branch (94:31): [True: 0, False: 0]
  ------------------
   95|      0|                              Py_TYPE(name)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|      0|            }
   97|      0|            Py_DECREF(modname);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|      0|            Py_DECREF(name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   99|      0|            err = -1;
  100|      0|            break;
  101|      0|        }
  102|  1.62k|        if (skip_leading_underscores) {
  ------------------
  |  Branch (102:13): [True: 1.59k, False: 34]
  ------------------
  103|  1.59k|            if (PyUnicode_READ_CHAR(name, 0) == '_') {
  ------------------
  |  |  382|  1.59k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  1.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (103:17): [True: 97, False: 1.49k]
  ------------------
  104|     97|                Py_DECREF(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  105|     97|                continue;
  106|     97|            }
  107|  1.59k|        }
  108|  1.53k|        value = PyObject_GetAttr(v, name);
  109|  1.53k|        if (value == NULL)
  ------------------
  |  Branch (109:13): [True: 0, False: 1.53k]
  ------------------
  110|      0|            err = -1;
  111|  1.53k|        else if (PyDict_CheckExact(locals))
  ------------------
  |  |   19|  1.53k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  1.53k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.53k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|  1.53k|            err = PyDict_SetItem(locals, name, value);
  113|      0|        else
  114|      0|            err = PyObject_SetItem(locals, name, value);
  115|  1.53k|        Py_DECREF(name);
  ------------------
  |  |  430|  1.53k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|  1.53k|        Py_XDECREF(value);
  ------------------
  |  |  621|  1.53k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|  1.53k|        if (err < 0)
  ------------------
  |  Branch (117:13): [True: 0, False: 1.53k]
  ------------------
  118|      0|            break;
  119|  1.53k|    }
  120|     14|    Py_DECREF(all);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|     14|    return err;
  122|     14|}
intrinsics.c:list_to_tuple:
  195|    183|{
  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|    183|    assert(PyList_CheckExact(v));
  ------------------
  |  Branch (199:5): [True: 183, False: 0]
  ------------------
  200|    183|    assert(_PyObject_IsUniquelyReferenced(v));
  ------------------
  |  Branch (200:5): [True: 183, False: 0]
  ------------------
  201|    183|    return _PyList_AsTupleAndClear((PyListObject *)v);
  202|    183|}
intrinsics.c:make_frozenset:
  213|      6|{
  214|      6|    assert(PySet_CheckExact(set));
  ------------------
  |  Branch (214:5): [True: 6, False: 0]
  ------------------
  215|      6|    assert(_PyObject_IsUniquelyReferenced(set));
  ------------------
  |  Branch (215:5): [True: 6, False: 0]
  ------------------
  216|      6|    return _PySet_Freeze(set);
  217|      6|}

_PyMutex_LockTimed:
   55|  1.28k|{
   56|  1.28k|    uint8_t v = _Py_atomic_load_uint8_relaxed(&m->_bits);
   57|  1.28k|    if ((v & _Py_LOCKED) == 0) {
  ------------------
  |  |   10|  1.28k|#define _Py_LOCKED      1
  ------------------
  |  Branch (57:9): [True: 1.28k, False: 0]
  ------------------
   58|  1.28k|        if (_Py_atomic_compare_exchange_uint8(&m->_bits, &v, v|_Py_LOCKED)) {
  ------------------
  |  |   10|  1.28k|#define _Py_LOCKED      1
  ------------------
  |  Branch (58:13): [True: 1.28k, False: 0]
  ------------------
   59|  1.28k|            return PY_LOCK_ACQUIRED;
   60|  1.28k|        }
   61|  1.28k|    }
   62|      0|    if (timeout == 0) {
  ------------------
  |  Branch (62:9): [True: 0, False: 0]
  ------------------
   63|      0|        return PY_LOCK_FAILURE;
   64|      0|    }
   65|       |
   66|      0|    FT_STAT_MUTEX_SLEEP_INC();
   67|       |
   68|      0|    PyTime_t now;
   69|       |    // silently ignore error: cannot report error to the caller
   70|      0|    (void)PyTime_MonotonicRaw(&now);
   71|      0|    PyTime_t endtime = 0;
   72|      0|    if (timeout > 0) {
  ------------------
  |  Branch (72:9): [True: 0, False: 0]
  ------------------
   73|      0|        endtime = _PyTime_Add(now, timeout);
   74|      0|    }
   75|       |
   76|      0|    struct mutex_entry entry = {
   77|      0|        .time_to_be_fair = now + TIME_TO_BE_FAIR_NS,
   78|      0|        .handed_off = 0,
   79|      0|    };
   80|       |
   81|      0|    Py_ssize_t spin_count = 0;
   82|      0|    for (;;) {
   83|      0|        if ((v & _Py_LOCKED) == 0) {
  ------------------
  |  |   10|      0|#define _Py_LOCKED      1
  ------------------
  |  Branch (83:13): [True: 0, False: 0]
  ------------------
   84|       |            // The lock is unlocked. Try to grab it.
   85|      0|            if (_Py_atomic_compare_exchange_uint8(&m->_bits, &v, v|_Py_LOCKED)) {
  ------------------
  |  |   10|      0|#define _Py_LOCKED      1
  ------------------
  |  Branch (85:17): [True: 0, False: 0]
  ------------------
   86|      0|                return PY_LOCK_ACQUIRED;
   87|      0|            }
   88|      0|            continue;
   89|      0|        }
   90|       |
   91|      0|        if (!(v & _Py_HAS_PARKED) && spin_count < MAX_SPIN_COUNT) {
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (91:13): [True: 0, False: 0]
  |  Branch (91:38): [True: 0, False: 0]
  ------------------
   92|       |            // Spin for a bit.
   93|      0|            _Py_yield();
   94|      0|            spin_count++;
   95|      0|            continue;
   96|      0|        }
   97|       |
   98|      0|        if (timeout == 0) {
  ------------------
  |  Branch (98:13): [True: 0, False: 0]
  ------------------
   99|      0|            return PY_LOCK_FAILURE;
  100|      0|        }
  101|      0|        if ((flags & _PY_LOCK_PYTHONLOCK) && Py_IsFinalizing()) {
  ------------------
  |  Branch (101:13): [True: 0, False: 0]
  |  Branch (101:46): [True: 0, False: 0]
  ------------------
  102|       |            // At this phase of runtime shutdown, only the finalization thread
  103|       |            // can have attached thread state; others hang if they try
  104|       |            // attaching. And since operations on this lock requires attached
  105|       |            // thread state (_PY_LOCK_PYTHONLOCK), the finalization thread is
  106|       |            // running this code, and no other thread can unlock.
  107|       |            // Raise rather than hang. (_PY_LOCK_PYTHONLOCK allows raising
  108|       |            // exceptons.)
  109|      0|            PyErr_SetString(PyExc_PythonFinalizationError,
  110|      0|                            "cannot acquire lock at interpreter finalization");
  111|      0|            return PY_LOCK_FAILURE;
  112|      0|        }
  113|       |
  114|      0|        uint8_t newv = v;
  115|      0|        if (!(v & _Py_HAS_PARKED)) {
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (115:13): [True: 0, False: 0]
  ------------------
  116|       |            // We are the first waiter. Set the _Py_HAS_PARKED flag.
  117|      0|            newv = v | _Py_HAS_PARKED;
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  118|      0|            if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &v, newv)) {
  ------------------
  |  Branch (118:17): [True: 0, False: 0]
  ------------------
  119|      0|                continue;
  120|      0|            }
  121|      0|        }
  122|       |
  123|      0|        int ret = _PyParkingLot_Park(&m->_bits, &newv, sizeof(newv), timeout,
  124|      0|                                     &entry, (flags & _PY_LOCK_DETACH) != 0);
  125|      0|        if (ret == Py_PARK_OK) {
  ------------------
  |  Branch (125:13): [True: 0, False: 0]
  ------------------
  126|      0|            if (entry.handed_off) {
  ------------------
  |  Branch (126:17): [True: 0, False: 0]
  ------------------
  127|       |                // We own the lock now. thread.Lock allows other threads
  128|       |                // to concurrently release the lock so we cannot assert that
  129|       |                // it is locked if _PY_LOCK_PYTHONLOCK is set.
  130|      0|                assert(_Py_atomic_load_uint8_relaxed(&m->_bits) & _Py_LOCKED ||
  ------------------
  |  Branch (130:17): [True: 0, False: 0]
  |  Branch (130:17): [True: 0, False: 0]
  ------------------
  131|      0|                       (flags & _PY_LOCK_PYTHONLOCK) != 0);
  132|      0|                return PY_LOCK_ACQUIRED;
  133|      0|            }
  134|      0|        }
  135|      0|        else if (ret == Py_PARK_INTR && (flags & _PY_LOCK_HANDLE_SIGNALS)) {
  ------------------
  |  Branch (135:18): [True: 0, False: 0]
  |  Branch (135:41): [True: 0, False: 0]
  ------------------
  136|      0|            if (Py_MakePendingCalls() < 0) {
  ------------------
  |  Branch (136:17): [True: 0, False: 0]
  ------------------
  137|      0|                return PY_LOCK_INTR;
  138|      0|            }
  139|      0|        }
  140|      0|        else if (ret == Py_PARK_INTR && (flags & _PY_FAIL_IF_INTERRUPTED)) {
  ------------------
  |  Branch (140:18): [True: 0, False: 0]
  |  Branch (140:41): [True: 0, False: 0]
  ------------------
  141|      0|            return PY_LOCK_INTR;
  142|      0|        }
  143|      0|        else if (ret == Py_PARK_TIMEOUT) {
  ------------------
  |  Branch (143:18): [True: 0, False: 0]
  ------------------
  144|      0|            assert(timeout >= 0);
  ------------------
  |  Branch (144:13): [True: 0, False: 0]
  ------------------
  145|      0|            return PY_LOCK_FAILURE;
  146|      0|        }
  147|       |
  148|      0|        if (timeout > 0) {
  ------------------
  |  Branch (148:13): [True: 0, False: 0]
  ------------------
  149|      0|            timeout = _PyDeadline_Get(endtime);
  150|      0|            if (timeout <= 0) {
  ------------------
  |  Branch (150:17): [True: 0, False: 0]
  ------------------
  151|       |                // Avoid negative values because those mean block forever.
  152|      0|                timeout = 0;
  153|      0|            }
  154|      0|        }
  155|       |
  156|      0|        v = _Py_atomic_load_uint8_relaxed(&m->_bits);
  157|      0|    }
  158|      0|}
_PyOnceFlag_CallOnceSlow:
  357|      4|{
  358|      4|    uint8_t v = _Py_atomic_load_uint8(&flag->v);
  359|      4|    for (;;) {
  360|      4|        if (v == _Py_UNLOCKED) {
  ------------------
  |  |    9|      4|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (360:13): [True: 4, False: 0]
  ------------------
  361|      4|            if (!_Py_atomic_compare_exchange_uint8(&flag->v, &v, _Py_LOCKED)) {
  ------------------
  |  |   10|      4|#define _Py_LOCKED      1
  ------------------
  |  Branch (361:17): [True: 0, False: 4]
  ------------------
  362|      0|                continue;
  363|      0|            }
  364|      4|            int res = fn(arg);
  365|      4|            return unlock_once(flag, res);
  366|      4|        }
  367|       |
  368|      0|        if (v == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|      0|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (368:13): [True: 0, False: 0]
  ------------------
  369|      0|            return 0;
  370|      0|        }
  371|       |
  372|       |        // The once flag is initializing (locked).
  373|      0|        assert((v & _Py_LOCKED));
  ------------------
  |  Branch (373:9): [True: 0, False: 0]
  ------------------
  374|      0|        if (!(v & _Py_HAS_PARKED)) {
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (374:13): [True: 0, False: 0]
  ------------------
  375|       |            // We are the first waiter. Set the _Py_HAS_PARKED flag.
  376|      0|            uint8_t new_value = v | _Py_HAS_PARKED;
  ------------------
  |  |   17|      0|#define _Py_HAS_PARKED  2
  ------------------
  377|      0|            if (!_Py_atomic_compare_exchange_uint8(&flag->v, &v, new_value)) {
  ------------------
  |  Branch (377:17): [True: 0, False: 0]
  ------------------
  378|      0|                continue;
  379|      0|            }
  380|      0|            v = new_value;
  381|      0|        }
  382|       |
  383|       |        // Wait for initialization to finish.
  384|      0|        _PyParkingLot_Park(&flag->v, &v, sizeof(v), -1, NULL, 1);
  385|      0|        v = _Py_atomic_load_uint8(&flag->v);
  386|      0|    }
  387|      4|}
_PyRecursiveMutex_IsLockedByCurrentThread:
  397|  2.31k|{
  398|  2.31k|    return recursive_mutex_is_owned_by(m, PyThread_get_thread_ident_ex());
  399|  2.31k|}
_PyRecursiveMutex_Lock:
  403|  2.31k|{
  404|  2.31k|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  405|  2.31k|    if (recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (405:9): [True: 0, False: 2.31k]
  ------------------
  406|      0|        m->level++;
  407|      0|        return;
  408|      0|    }
  409|  2.31k|    PyMutex_Lock(&m->mutex);
  ------------------
  |  |   59|  2.31k|#define PyMutex_Lock _PyMutex_Lock
  ------------------
  410|  2.31k|    _Py_atomic_store_ullong_relaxed(&m->thread, thread);
  411|       |    assert(m->level == 0);
  ------------------
  |  Branch (411:5): [True: 2.31k, False: 0]
  ------------------
  412|  2.31k|}
_PyRecursiveMutex_LockTimed:
  416|  1.00k|{
  417|  1.00k|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  418|  1.00k|    if (recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (418:9): [True: 0, False: 1.00k]
  ------------------
  419|      0|        m->level++;
  420|      0|        return PY_LOCK_ACQUIRED;
  421|      0|    }
  422|  1.00k|    PyLockStatus s = _PyMutex_LockTimed(&m->mutex, timeout, flags);
  423|  1.00k|    if (s == PY_LOCK_ACQUIRED) {
  ------------------
  |  Branch (423:9): [True: 1.00k, False: 0]
  ------------------
  424|  1.00k|        _Py_atomic_store_ullong_relaxed(&m->thread, thread);
  425|  1.00k|        assert(m->level == 0);
  ------------------
  |  Branch (425:9): [True: 1.00k, False: 0]
  ------------------
  426|  1.00k|    }
  427|  1.00k|    return s;
  428|  1.00k|}
_PyRecursiveMutex_Unlock:
  432|  2.31k|{
  433|  2.31k|    if (_PyRecursiveMutex_TryUnlock(m) < 0) {
  ------------------
  |  Branch (433:9): [True: 0, False: 2.31k]
  ------------------
  434|      0|        Py_FatalError("unlocking a recursive mutex that is not "
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  435|      0|                      "owned by the current thread");
  436|      0|    }
  437|  2.31k|}
_PyRecursiveMutex_TryUnlock:
  441|  3.31k|{
  442|  3.31k|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  443|  3.31k|    if (!recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (443:9): [True: 0, False: 3.31k]
  ------------------
  444|      0|        return -1;
  445|      0|    }
  446|  3.31k|    if (m->level > 0) {
  ------------------
  |  Branch (446:9): [True: 0, False: 3.31k]
  ------------------
  447|      0|        m->level--;
  448|      0|        return 0;
  449|      0|    }
  450|  3.31k|    assert(m->level == 0);
  ------------------
  |  Branch (450:5): [True: 3.31k, False: 0]
  ------------------
  451|  3.31k|    _Py_atomic_store_ullong_relaxed(&m->thread, 0);
  452|  3.31k|    PyMutex_Unlock(&m->mutex);
  ------------------
  |  |   70|  3.31k|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  453|  3.31k|    return 0;
  454|  3.31k|}
lock.c:unlock_once:
  333|      4|{
  334|       |    // On success (res=0), we set the state to _Py_ONCE_INITIALIZED.
  335|       |    // On failure (res=-1), we reset the state to _Py_UNLOCKED.
  336|      4|    uint8_t new_value;
  337|      4|    switch (res) {
  338|      0|        case -1: new_value = _Py_UNLOCKED; break;
  ------------------
  |  |    9|      0|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (338:9): [True: 0, False: 4]
  ------------------
  339|      4|        case  0: new_value = _Py_ONCE_INITIALIZED; break;
  ------------------
  |  |   18|      4|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (339:9): [True: 4, False: 0]
  ------------------
  340|      0|        default: {
  ------------------
  |  Branch (340:9): [True: 0, False: 4]
  ------------------
  341|      0|            Py_FatalError("invalid result from _PyOnceFlag_CallOnce");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  342|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  343|      0|            break;
  344|      0|        }
  345|      4|    }
  346|       |
  347|      4|    uint8_t old_value = _Py_atomic_exchange_uint8(&o->v, new_value);
  348|      4|    if ((old_value & _Py_HAS_PARKED) != 0) {
  ------------------
  |  |   17|      4|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (348:9): [True: 0, False: 4]
  ------------------
  349|       |        // wake up anyone waiting on the once flag
  350|      0|        _PyParkingLot_UnparkAll(&o->v);
  351|      0|    }
  352|      4|    return res;
  353|      4|}
lock.c:recursive_mutex_is_owned_by:
  391|  8.94k|{
  392|  8.94k|    return _Py_atomic_load_ullong_relaxed(&m->thread) == tid;
  393|  8.94k|}

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

_Py_convert_optional_to_ssize_t:
   16|  30.6k|{
   17|  30.6k|    Py_ssize_t limit;
   18|  30.6k|    if (obj == Py_None) {
  ------------------
  |  |  616|  30.6k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (18:9): [True: 0, False: 30.6k]
  ------------------
   19|      0|        return 1;
   20|      0|    }
   21|  30.6k|    else if (_PyIndex_Check(obj)) {
  ------------------
  |  Branch (21:14): [True: 30.6k, False: 0]
  ------------------
   22|  30.6k|        limit = PyNumber_AsSsize_t(obj, PyExc_OverflowError);
   23|  30.6k|        if (limit == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (23:13): [True: 0, False: 30.6k]
  |  Branch (23:28): [True: 0, False: 0]
  ------------------
   24|      0|            return 0;
   25|      0|        }
   26|  30.6k|    }
   27|      0|    else {
   28|      0|        PyErr_Format(PyExc_TypeError,
   29|      0|                     "argument should be integer or None, not '%.200s'",
   30|      0|                     Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|      0|        return 0;
   32|      0|    }
   33|  30.6k|    *((Py_ssize_t *)result) = limit;
   34|  30.6k|    return 1;
   35|  30.6k|}
Py_BuildValue:
  497|   221k|{
  498|   221k|    va_list va;
  499|   221k|    PyObject* retval;
  500|   221k|    va_start(va, format);
  501|   221k|    retval = va_build_value(format, va);
  502|       |    va_end(va);
  503|   221k|    return retval;
  504|   221k|}
_Py_VaBuildStack:
  555|  65.3k|{
  556|  65.3k|    const char *f;
  557|  65.3k|    Py_ssize_t n;
  558|  65.3k|    va_list lva;
  559|  65.3k|    PyObject **stack;
  560|  65.3k|    int res;
  561|       |
  562|  65.3k|    n = countformat(format, '\0');
  563|  65.3k|    if (n < 0) {
  ------------------
  |  Branch (563:9): [True: 0, False: 65.3k]
  ------------------
  564|      0|        *p_nargs = 0;
  565|      0|        return NULL;
  566|      0|    }
  567|       |
  568|  65.3k|    if (n == 0) {
  ------------------
  |  Branch (568:9): [True: 0, False: 65.3k]
  ------------------
  569|      0|        *p_nargs = 0;
  570|      0|        return small_stack;
  571|      0|    }
  572|       |
  573|  65.3k|    if (n <= small_stack_len) {
  ------------------
  |  Branch (573:9): [True: 65.3k, False: 12]
  ------------------
  574|  65.3k|        stack = small_stack;
  575|  65.3k|    }
  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|  65.3k|    va_copy(lva, va);
  585|  65.3k|    f = format;
  586|  65.3k|    res = do_mkstack(stack, &f, &lva, '\0', n);
  587|  65.3k|    va_end(lva);
  588|       |
  589|  65.3k|    if (res < 0) {
  ------------------
  |  Branch (589:9): [True: 0, False: 65.3k]
  ------------------
  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|  65.3k|    *p_nargs = n;
  597|  65.3k|    return stack;
  598|  65.3k|}
PyModule_AddObjectRef:
  603|    770|{
  604|    770|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|    770|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|    770|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    770|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    770|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (604:9): [True: 0, False: 770]
  ------------------
  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|    770|    if (!value) {
  ------------------
  |  Branch (610:9): [True: 0, False: 770]
  ------------------
  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|    770|    PyObject *dict = PyModule_GetDict(mod);
  620|    770|    if (dict == NULL) {
  ------------------
  |  Branch (620:9): [True: 0, False: 770]
  ------------------
  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|    770|    return PyDict_SetItemString(dict, name, value);
  627|    770|}
PyModule_Add:
  631|    616|{
  632|    616|    int res = PyModule_AddObjectRef(mod, name, value);
  633|    616|    Py_XDECREF(value);
  ------------------
  |  |  621|    616|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    616|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    616|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    616|    return res;
  635|    616|}
PyModule_AddIntConstant:
  649|    509|{
  650|    509|    return PyModule_Add(m, name, PyLong_FromLong(value));
  651|    509|}
PyModule_AddStringConstant:
  655|     49|{
  656|     49|    return PyModule_Add(m, name, PyUnicode_FromString(value));
  657|     49|}
PyModule_AddType:
  661|     78|{
  662|     78|    if (!_PyType_IsReady(type) && PyType_Ready(type) < 0) {
  ------------------
  |  Branch (662:9): [True: 0, False: 78]
  |  Branch (662:35): [True: 0, False: 0]
  ------------------
  663|      0|        return -1;
  664|      0|    }
  665|       |
  666|     78|    const char *name = _PyType_Name(type);
  667|     78|    assert(name != NULL);
  ------------------
  |  Branch (667:5): [True: 78, False: 0]
  ------------------
  668|       |
  669|     78|    return PyModule_AddObjectRef(module, name, (PyObject *)type);
  670|     78|}
PyABIInfo_Check:
  707|     34|{
  708|     34|    if (!info) {
  ------------------
  |  Branch (708:9): [True: 0, False: 34]
  ------------------
  709|      0|        return _abiinfo_raise(module_name, "NULL PyABIInfo");
  710|      0|    }
  711|       |
  712|       |    /* abiinfo_major_version */
  713|     34|    if (info->abiinfo_major_version == 0) {
  ------------------
  |  Branch (713:9): [True: 0, False: 34]
  ------------------
  714|      0|        return 0;
  715|      0|    }
  716|     34|    if (info->abiinfo_major_version > 1) {
  ------------------
  |  Branch (716:9): [True: 0, False: 34]
  ------------------
  717|      0|        return _abiinfo_raise(module_name, "PyABIInfo version too high");
  718|      0|    }
  719|       |
  720|       |    /* Internal ABI */
  721|     34|    if (info->flags & PyABIInfo_INTERNAL) {
  ------------------
  |  |   97|     34|#define PyABIInfo_INTERNAL      0x0008
  ------------------
  |  Branch (721:9): [True: 34, False: 0]
  ------------------
  722|     34|        if (info->abi_version && (info->abi_version != PY_VERSION_HEX)) {
  ------------------
  |  |   43|     34|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|     34|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|     34|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|     34|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|     34|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|     34|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|     34|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|     34|    PY_MAJOR_VERSION,                         \
  |  |   45|     34|    PY_MINOR_VERSION,                         \
  |  |   46|     34|    PY_MICRO_VERSION,                         \
  |  |   47|     34|    PY_RELEASE_LEVEL,                         \
  |  |   48|     34|    PY_RELEASE_SERIAL)
  ------------------
  |  Branch (722:13): [True: 34, False: 0]
  |  Branch (722:34): [True: 0, False: 34]
  ------------------
  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|     34|    }
  729|       |
  730|     34|#define XY_MASK 0xffff0000
  731|     34|    if (info->flags & PyABIInfo_STABLE) {
  ------------------
  |  |   94|     34|#define PyABIInfo_STABLE        0x0001
  ------------------
  |  Branch (731:9): [True: 0, False: 34]
  ------------------
  732|       |        /* Greater-than major.minor version check */
  733|      0|        if (info->abi_version) {
  ------------------
  |  Branch (733:13): [True: 0, False: 0]
  ------------------
  734|      0|            if ((info->abi_version & XY_MASK) > (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|      0|#define XY_MASK 0xffff0000
  ------------------
                          if ((info->abi_version & XY_MASK) > (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |   43|      0|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|      0|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|      0|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|      0|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|      0|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|      0|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|      0|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|      0|    PY_MAJOR_VERSION,                         \
  |  |   45|      0|    PY_MINOR_VERSION,                         \
  |  |   46|      0|    PY_MICRO_VERSION,                         \
  |  |   47|      0|    PY_RELEASE_LEVEL,                         \
  |  |   48|      0|    PY_RELEASE_SERIAL)
  ------------------
                          if ((info->abi_version & XY_MASK) > (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|      0|#define XY_MASK 0xffff0000
  ------------------
  |  Branch (734:17): [True: 0, False: 0]
  ------------------
  735|      0|                return _abiinfo_raise(
  736|      0|                    module_name,
  737|      0|                    "incompatible future stable ABI version (%d.%d)",
  738|      0|                    ((info->abi_version) >> 24) & 0xff,
  739|      0|                    ((info->abi_version) >> 16) & 0xff);
  740|      0|            }
  741|      0|            if (info->abi_version < Py_PACK_VERSION(3, 2)) {
  ------------------
  |  |  326|      0|#define Py_PACK_VERSION _Py_PACK_VERSION
  |  |  ------------------
  |  |  |  |  321|      0|#define _Py_PACK_VERSION(X, Y) _Py_PACK_FULL_VERSION(X, Y, 0, 0, 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |  |  |   35|      0|    (((X) & 0xff) << 24) |                              \
  |  |  |  |  |  |   36|      0|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |  |  |   37|      0|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |  |  |   38|      0|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |  |  |   39|      0|    (((SERIAL) & 0xf) << 0))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (741:17): [True: 0, False: 0]
  ------------------
  742|      0|                return _abiinfo_raise(
  743|      0|                    module_name,
  744|      0|                    "invalid stable ABI version (%d.%d)",
  745|      0|                    ((info->abi_version) >> 24) & 0xff,
  746|      0|                    ((info->abi_version) >> 16) & 0xff);
  747|      0|            }
  748|      0|        }
  749|      0|        if (info->flags & PyABIInfo_INTERNAL) {
  ------------------
  |  |   97|      0|#define PyABIInfo_INTERNAL      0x0008
  ------------------
  |  Branch (749:13): [True: 0, False: 0]
  ------------------
  750|      0|            return _abiinfo_raise(module_name,
  751|      0|                                  "cannot use both internal and stable ABI");
  752|      0|        }
  753|      0|    }
  754|     34|    else {
  755|       |        /* Exact major.minor version check */
  756|     34|        if (info->abi_version) {
  ------------------
  |  Branch (756:13): [True: 34, False: 0]
  ------------------
  757|     34|            if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|     34|#define XY_MASK 0xffff0000
  ------------------
                          if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |   43|     34|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|     34|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|     34|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|     34|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|     34|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|     34|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|     34|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|     34|    PY_MAJOR_VERSION,                         \
  |  |   45|     34|    PY_MINOR_VERSION,                         \
  |  |   46|     34|    PY_MICRO_VERSION,                         \
  |  |   47|     34|    PY_RELEASE_LEVEL,                         \
  |  |   48|     34|    PY_RELEASE_SERIAL)
  ------------------
                          if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|     34|#define XY_MASK 0xffff0000
  ------------------
  |  Branch (757:17): [True: 0, False: 34]
  ------------------
  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|     34|        }
  765|     34|    }
  766|     34|#undef XY_MASK
  767|       |
  768|       |    /* Free-threading/GIL */
  769|     34|    uint16_t gilflags = info->flags & (PyABIInfo_GIL | PyABIInfo_FREETHREADED);
  ------------------
  |  |   95|     34|#define PyABIInfo_GIL           0x0002
  ------------------
                  uint16_t gilflags = info->flags & (PyABIInfo_GIL | PyABIInfo_FREETHREADED);
  ------------------
  |  |   96|     34|#define PyABIInfo_FREETHREADED  0x0004
  ------------------
  770|       |#ifdef Py_GIL_DISABLED
  771|       |    if (gilflags == PyABIInfo_GIL) {
  772|       |        return _abiinfo_raise(module_name,
  773|       |                              "incompatible with free-threaded CPython");
  774|       |    }
  775|       |#else
  776|     34|    if (gilflags == PyABIInfo_FREETHREADED) {
  ------------------
  |  |   96|     34|#define PyABIInfo_FREETHREADED  0x0004
  ------------------
  |  Branch (776:9): [True: 0, False: 34]
  ------------------
  777|      0|        return _abiinfo_raise(module_name,
  778|      0|                              "only compatible with free-threaded CPython");
  779|      0|    }
  780|     34|#endif
  781|       |
  782|     34|    return 0;
  783|     34|}
modsupport.c:va_build_value:
  531|   221k|{
  532|   221k|    const char *f = format;
  533|   221k|    Py_ssize_t n = countformat(f, '\0');
  534|   221k|    va_list lva;
  535|   221k|    PyObject *retval;
  536|       |
  537|   221k|    if (n < 0)
  ------------------
  |  Branch (537:9): [True: 0, False: 221k]
  ------------------
  538|      0|        return NULL;
  539|   221k|    if (n == 0) {
  ------------------
  |  Branch (539:9): [True: 0, False: 221k]
  ------------------
  540|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  541|      0|    }
  542|   221k|    va_copy(lva, va);
  543|   221k|    if (n == 1) {
  ------------------
  |  Branch (543:9): [True: 20.7k, False: 201k]
  ------------------
  544|  20.7k|        retval = do_mkvalue(&f, &lva);
  545|   201k|    } else {
  546|   201k|        retval = do_mktuple(&f, &lva, '\0', n);
  547|   201k|    }
  548|       |    va_end(lva);
  549|   221k|    return retval;
  550|   221k|}
modsupport.c:do_mkvalue:
  287|   533k|{
  288|   533k|    for (;;) {
  289|   533k|        switch (*(*p_format)++) {
  290|  20.7k|        case '(':
  ------------------
  |  Branch (290:9): [True: 20.7k, False: 512k]
  ------------------
  291|  20.7k|            return do_mktuple(p_format, p_va, ')',
  292|  20.7k|                              countformat(*p_format, ')'));
  293|       |
  294|      0|        case '[':
  ------------------
  |  Branch (294:9): [True: 0, False: 533k]
  ------------------
  295|      0|            return do_mklist(p_format, p_va, ']',
  296|      0|                             countformat(*p_format, ']'));
  297|       |
  298|      4|        case '{':
  ------------------
  |  Branch (298:9): [True: 4, False: 533k]
  ------------------
  299|      4|            return do_mkdict(p_format, p_va, '}',
  300|      4|                             countformat(*p_format, '}'));
  301|       |
  302|      0|        case 'b':
  ------------------
  |  Branch (302:9): [True: 0, False: 533k]
  ------------------
  303|      0|        case 'B':
  ------------------
  |  Branch (303:9): [True: 0, False: 533k]
  ------------------
  304|      0|        case 'h':
  ------------------
  |  Branch (304:9): [True: 0, False: 533k]
  ------------------
  305|  30.9k|        case 'i':
  ------------------
  |  Branch (305:9): [True: 30.9k, False: 502k]
  ------------------
  306|  30.9k|            return PyLong_FromLong((long)va_arg(*p_va, int));
  307|       |
  308|      0|        case 'H':
  ------------------
  |  Branch (308:9): [True: 0, False: 533k]
  ------------------
  309|      0|            return PyLong_FromLong((long)va_arg(*p_va, unsigned int));
  310|       |
  311|      0|        case 'I':
  ------------------
  |  Branch (311:9): [True: 0, False: 533k]
  ------------------
  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|   238k|        case 'n':
  ------------------
  |  Branch (318:9): [True: 238k, False: 294k]
  ------------------
  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|   238k|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|   238k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  324|   238k|        case 'l':
  ------------------
  |  Branch (324:9): [True: 0, False: 533k]
  ------------------
  325|   238k|            return PyLong_FromLong(va_arg(*p_va, long));
  326|       |
  327|      0|        case 'k':
  ------------------
  |  Branch (327:9): [True: 0, False: 533k]
  ------------------
  328|      0|        {
  329|      0|            unsigned long n;
  330|      0|            n = va_arg(*p_va, unsigned long);
  331|      0|            return PyLong_FromUnsignedLong(n);
  332|   238k|        }
  333|       |
  334|      0|        case 'L':
  ------------------
  |  Branch (334:9): [True: 0, False: 533k]
  ------------------
  335|      0|            return PyLong_FromLongLong((long long)va_arg(*p_va, long long));
  336|       |
  337|      0|        case 'K':
  ------------------
  |  Branch (337:9): [True: 0, False: 533k]
  ------------------
  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: 533k]
  ------------------
  342|      0|        {
  343|      0|            PyObject *v;
  344|      0|            const wchar_t *u = va_arg(*p_va, wchar_t*);
  345|      0|            Py_ssize_t n;
  346|      0|            if (**p_format == '#') {
  ------------------
  |  Branch (346:17): [True: 0, False: 0]
  ------------------
  347|      0|                ++*p_format;
  348|      0|                n = va_arg(*p_va, Py_ssize_t);
  349|      0|            }
  350|      0|            else
  351|      0|                n = -1;
  352|      0|            if (u == NULL) {
  ------------------
  |  Branch (352:17): [True: 0, False: 0]
  ------------------
  353|      0|                v = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  354|      0|            }
  355|      0|            else {
  356|      0|                if (n < 0)
  ------------------
  |  Branch (356:21): [True: 0, False: 0]
  ------------------
  357|      0|                    n = wcslen(u);
  358|      0|                v = PyUnicode_FromWideChar(u, n);
  359|      0|            }
  360|      0|            return v;
  361|   238k|        }
  362|      0|        case 'f':
  ------------------
  |  Branch (362:9): [True: 0, False: 533k]
  ------------------
  363|      0|        case 'd':
  ------------------
  |  Branch (363:9): [True: 0, False: 533k]
  ------------------
  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: 533k]
  ------------------
  368|      0|            return PyComplex_FromCComplex(
  369|      0|                *((Py_complex *)va_arg(*p_va, Py_complex *)));
  370|       |
  371|      0|        case 'c':
  ------------------
  |  Branch (371:9): [True: 0, False: 533k]
  ------------------
  372|      0|        {
  373|      0|            char p[1];
  374|      0|            p[0] = (char)va_arg(*p_va, int);
  375|      0|            return PyBytes_FromStringAndSize(p, 1);
  376|      0|        }
  377|      0|        case 'C':
  ------------------
  |  Branch (377:9): [True: 0, False: 533k]
  ------------------
  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: 533k]
  ------------------
  383|      0|        {
  384|      0|            int i = va_arg(*p_va, int);
  385|      0|            return PyBool_FromLong(i);
  386|      0|        }
  387|       |
  388|  1.22k|        case 's':
  ------------------
  |  Branch (388:9): [True: 1.22k, False: 531k]
  ------------------
  389|  1.22k|        case 'z':
  ------------------
  |  Branch (389:9): [True: 8, False: 533k]
  ------------------
  390|  1.22k|        case 'U':   /* XXX deprecated alias */
  ------------------
  |  Branch (390:9): [True: 0, False: 533k]
  ------------------
  391|  1.22k|        {
  392|  1.22k|            PyObject *v;
  393|  1.22k|            const char *str = va_arg(*p_va, const char *);
  394|  1.22k|            Py_ssize_t n;
  395|  1.22k|            if (**p_format == '#') {
  ------------------
  |  Branch (395:17): [True: 0, False: 1.22k]
  ------------------
  396|      0|                ++*p_format;
  397|      0|                n = va_arg(*p_va, Py_ssize_t);
  398|      0|            }
  399|  1.22k|            else
  400|  1.22k|                n = -1;
  401|  1.22k|            if (str == NULL) {
  ------------------
  |  Branch (401:17): [True: 0, False: 1.22k]
  ------------------
  402|      0|                v = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  403|      0|            }
  404|  1.22k|            else {
  405|  1.22k|                if (n < 0) {
  ------------------
  |  Branch (405:21): [True: 1.22k, False: 0]
  ------------------
  406|  1.22k|                    size_t m = strlen(str);
  407|  1.22k|                    if (m > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  1.22k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (407:25): [True: 0, False: 1.22k]
  ------------------
  408|      0|                        PyErr_SetString(PyExc_OverflowError,
  409|      0|                            "string too long for Python string");
  410|      0|                        return NULL;
  411|      0|                    }
  412|  1.22k|                    n = (Py_ssize_t)m;
  413|  1.22k|                }
  414|  1.22k|                v = PyUnicode_FromStringAndSize(str, n);
  415|  1.22k|            }
  416|  1.22k|            return v;
  417|  1.22k|        }
  418|       |
  419|  17.3k|        case 'y':
  ------------------
  |  Branch (419:9): [True: 17.3k, False: 515k]
  ------------------
  420|  17.3k|        {
  421|  17.3k|            PyObject *v;
  422|  17.3k|            const char *str = va_arg(*p_va, const char *);
  423|  17.3k|            Py_ssize_t n;
  424|  17.3k|            if (**p_format == '#') {
  ------------------
  |  Branch (424:17): [True: 17.3k, False: 0]
  ------------------
  425|  17.3k|                ++*p_format;
  426|  17.3k|                n = va_arg(*p_va, Py_ssize_t);
  427|  17.3k|            }
  428|      0|            else
  429|      0|                n = -1;
  430|  17.3k|            if (str == NULL) {
  ------------------
  |  Branch (430:17): [True: 0, False: 17.3k]
  ------------------
  431|      0|                v = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|      0|            }
  433|  17.3k|            else {
  434|  17.3k|                if (n < 0) {
  ------------------
  |  Branch (434:21): [True: 0, False: 17.3k]
  ------------------
  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|  17.3k|                v = PyBytes_FromStringAndSize(str, n);
  444|  17.3k|            }
  445|  17.3k|            return v;
  446|  17.3k|        }
  447|       |
  448|   205k|        case 'N':
  ------------------
  |  Branch (448:9): [True: 205k, False: 327k]
  ------------------
  449|   205k|        case 'S':
  ------------------
  |  Branch (449:9): [True: 0, False: 533k]
  ------------------
  450|   223k|        case 'O':
  ------------------
  |  Branch (450:9): [True: 18.0k, False: 515k]
  ------------------
  451|   223k|        if (**p_format == '&') {
  ------------------
  |  Branch (451:13): [True: 0, False: 223k]
  ------------------
  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|   223k|        else {
  459|   223k|            PyObject *v;
  460|   223k|            v = va_arg(*p_va, PyObject *);
  461|   223k|            if (v != NULL) {
  ------------------
  |  Branch (461:17): [True: 223k, False: 0]
  ------------------
  462|   223k|                if (*(*p_format - 1) != 'N')
  ------------------
  |  Branch (462:21): [True: 18.0k, False: 205k]
  ------------------
  463|  18.0k|                    Py_INCREF(v);
  ------------------
  |  |  310|  18.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|   223k|            }
  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|   223k|            return v;
  477|   223k|        }
  478|       |
  479|      0|        case ':':
  ------------------
  |  Branch (479:9): [True: 0, False: 533k]
  ------------------
  480|      0|        case ',':
  ------------------
  |  Branch (480:9): [True: 0, False: 533k]
  ------------------
  481|      0|        case ' ':
  ------------------
  |  Branch (481:9): [True: 0, False: 533k]
  ------------------
  482|      0|        case '\t':
  ------------------
  |  Branch (482:9): [True: 0, False: 533k]
  ------------------
  483|      0|            break;
  484|       |
  485|      0|        default:
  ------------------
  |  Branch (485:9): [True: 0, False: 533k]
  ------------------
  486|      0|            PyErr_SetString(PyExc_SystemError,
  487|      0|                "bad format char passed to Py_BuildValue");
  488|      0|            return NULL;
  489|       |
  490|   533k|        }
  491|   533k|    }
  492|   533k|}
modsupport.c:check_end:
  107|   287k|{
  108|   287k|    const char *f = *p_format;
  109|   287k|    while (*f != endchar) {
  ------------------
  |  Branch (109:12): [True: 0, False: 287k]
  ------------------
  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|   287k|    if (endchar) {
  ------------------
  |  Branch (117:9): [True: 20.7k, False: 266k]
  ------------------
  118|  20.7k|        f++;
  119|  20.7k|    }
  120|   287k|    *p_format = f;
  121|   287k|    return 1;
  122|   287k|}
modsupport.c:do_mkdict:
  150|      4|{
  151|      4|    PyObject *d;
  152|      4|    Py_ssize_t i;
  153|      4|    if (n < 0)
  ------------------
  |  Branch (153:9): [True: 0, False: 4]
  ------------------
  154|      0|        return NULL;
  155|      4|    if (n % 2) {
  ------------------
  |  Branch (155:9): [True: 0, False: 4]
  ------------------
  156|      0|        PyErr_SetString(PyExc_SystemError,
  157|      0|                        "Bad dict format");
  158|      0|        do_ignore(p_format, p_va, endchar, n);
  159|      0|        return NULL;
  160|      0|    }
  161|       |    /* Note that we can't bail immediately on error as this will leak
  162|       |       refcounts on any 'N' arguments. */
  163|      4|    if ((d = PyDict_New()) == NULL) {
  ------------------
  |  Branch (163:9): [True: 0, False: 4]
  ------------------
  164|      0|        do_ignore(p_format, p_va, endchar, n);
  165|      0|        return NULL;
  166|      0|    }
  167|      6|    for (i = 0; i < n; i+= 2) {
  ------------------
  |  Branch (167:17): [True: 2, False: 4]
  ------------------
  168|      2|        PyObject *k, *v;
  169|       |
  170|      2|        k = do_mkvalue(p_format, p_va);
  171|      2|        if (k == NULL) {
  ------------------
  |  Branch (171:13): [True: 0, False: 2]
  ------------------
  172|      0|            do_ignore(p_format, p_va, endchar, n - i - 1);
  173|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|      0|            return NULL;
  175|      0|        }
  176|      2|        v = do_mkvalue(p_format, p_va);
  177|      2|        if (v == NULL || PyDict_SetItem(d, k, v) < 0) {
  ------------------
  |  Branch (177:13): [True: 0, False: 2]
  |  Branch (177:26): [True: 0, False: 2]
  ------------------
  178|      0|            do_ignore(p_format, p_va, endchar, n - i - 2);
  179|      0|            Py_DECREF(k);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|      0|            Py_XDECREF(v);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  181|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|      0|            return NULL;
  183|      0|        }
  184|      2|        Py_DECREF(k);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|      2|        Py_DECREF(v);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  186|      2|    }
  187|      4|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (187:9): [True: 0, False: 4]
  ------------------
  188|      0|        Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|      0|        return NULL;
  190|      0|    }
  191|      4|    return d;
  192|      4|}
modsupport.c:do_mktuple:
  258|   221k|{
  259|   221k|    PyObject *v;
  260|   221k|    Py_ssize_t i;
  261|   221k|    if (n < 0)
  ------------------
  |  Branch (261:9): [True: 0, False: 221k]
  ------------------
  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|   221k|    if ((v = PyTuple_New(n)) == NULL) {
  ------------------
  |  Branch (265:9): [True: 0, False: 221k]
  ------------------
  266|      0|        do_ignore(p_format, p_va, endchar, n);
  267|      0|        return NULL;
  268|      0|    }
  269|   665k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (269:17): [True: 443k, False: 221k]
  ------------------
  270|   443k|        PyObject *w = do_mkvalue(p_format, p_va);
  271|   443k|        if (w == NULL) {
  ------------------
  |  Branch (271:13): [True: 0, False: 443k]
  ------------------
  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|   443k|        PyTuple_SET_ITEM(v, i, w);
  ------------------
  |  |   40|   443k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   443k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   443k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   443k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   443k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  277|   443k|    }
  278|   221k|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (278:9): [True: 0, False: 221k]
  ------------------
  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|   221k|    return v;
  283|   221k|}
modsupport.c:countformat:
   55|   308k|{
   56|   308k|    Py_ssize_t count = 0;
   57|   308k|    int level = 0;
   58|   920k|    while (level > 0 || *format != endchar) {
  ------------------
  |  Branch (58:12): [True: 62.3k, False: 858k]
  |  Branch (58:25): [True: 550k, False: 308k]
  ------------------
   59|   612k|        switch (*format) {
   60|      0|        case '\0':
  ------------------
  |  Branch (60:9): [True: 0, False: 612k]
  ------------------
   61|       |            /* Premature end */
   62|      0|            PyErr_SetString(PyExc_SystemError,
   63|      0|                            "unmatched paren in format");
   64|      0|            return -1;
   65|  20.7k|        case '(':
  ------------------
  |  Branch (65:9): [True: 20.7k, False: 591k]
  ------------------
   66|  20.7k|        case '[':
  ------------------
  |  Branch (66:9): [True: 0, False: 612k]
  ------------------
   67|  20.7k|        case '{':
  ------------------
  |  Branch (67:9): [True: 4, False: 612k]
  ------------------
   68|  20.7k|            if (level == 0) {
  ------------------
  |  Branch (68:17): [True: 20.7k, False: 0]
  ------------------
   69|  20.7k|                count++;
   70|  20.7k|            }
   71|  20.7k|            level++;
   72|  20.7k|            break;
   73|  20.7k|        case ')':
  ------------------
  |  Branch (73:9): [True: 20.7k, False: 591k]
  ------------------
   74|  20.7k|        case ']':
  ------------------
  |  Branch (74:9): [True: 0, False: 612k]
  ------------------
   75|  20.7k|        case '}':
  ------------------
  |  Branch (75:9): [True: 4, False: 612k]
  ------------------
   76|  20.7k|            level--;
   77|  20.7k|            break;
   78|  17.3k|        case '#':
  ------------------
  |  Branch (78:9): [True: 17.3k, False: 595k]
  ------------------
   79|  17.3k|        case '&':
  ------------------
  |  Branch (79:9): [True: 0, False: 612k]
  ------------------
   80|  17.3k|        case ',':
  ------------------
  |  Branch (80:9): [True: 0, False: 612k]
  ------------------
   81|  17.3k|        case ':':
  ------------------
  |  Branch (81:9): [True: 0, False: 612k]
  ------------------
   82|  17.3k|        case ' ':
  ------------------
  |  Branch (82:9): [True: 0, False: 612k]
  ------------------
   83|  17.3k|        case '\t':
  ------------------
  |  Branch (83:9): [True: 0, False: 612k]
  ------------------
   84|  17.3k|            break;
   85|   553k|        default:
  ------------------
  |  Branch (85:9): [True: 553k, False: 58.8k]
  ------------------
   86|   553k|            if (level == 0) {
  ------------------
  |  Branch (86:17): [True: 512k, False: 41.6k]
  ------------------
   87|   512k|                count++;
   88|   512k|            }
   89|   612k|        }
   90|   612k|        format++;
   91|   612k|    }
   92|   308k|    return count;
   93|   308k|}
modsupport.c:do_mkstack:
  227|  65.3k|{
  228|  65.3k|    Py_ssize_t i;
  229|       |
  230|  65.3k|    if (n < 0) {
  ------------------
  |  Branch (230:9): [True: 0, False: 65.3k]
  ------------------
  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|   133k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (235:17): [True: 68.3k, False: 65.3k]
  ------------------
  236|  68.3k|        PyObject *w = do_mkvalue(p_format, p_va);
  237|  68.3k|        if (w == NULL) {
  ------------------
  |  Branch (237:13): [True: 0, False: 68.3k]
  ------------------
  238|      0|            do_ignore(p_format, p_va, endchar, n - i - 1);
  239|      0|            goto error;
  240|      0|        }
  241|  68.3k|        stack[i] = w;
  242|  68.3k|    }
  243|  65.3k|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (243:9): [True: 0, False: 65.3k]
  ------------------
  244|      0|        goto error;
  245|      0|    }
  246|  65.3k|    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|  65.3k|}

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

_PyPathConfig_GetGlobalModuleSearchPath:
   49|      2|{
   50|      2|    return _Py_path_config.module_search_path;
   51|      2|}
_PyPathConfig_ReadGlobal:
   78|      4|{
   79|      4|    PyStatus status = _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
   80|       |
   81|      4|#define COPY(ATTR) \
   82|      4|    do { \
   83|      4|        if (_Py_path_config.ATTR && !config->ATTR) { \
   84|      4|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.ATTR); \
   85|      4|            if (_PyStatus_EXCEPTION(status)) goto done; \
   86|      4|        } \
   87|      4|    } while (0)
   88|       |
   89|      4|#define COPY2(ATTR, SRCATTR) \
   90|      4|    do { \
   91|      4|        if (_Py_path_config.SRCATTR && !config->ATTR) { \
   92|      4|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.SRCATTR); \
   93|      4|            if (_PyStatus_EXCEPTION(status)) goto done; \
   94|      4|        } \
   95|      4|    } while (0)
   96|       |
   97|      4|#define COPY_INT(ATTR) \
   98|      4|    do { \
   99|      4|        assert(_Py_path_config.ATTR >= 0); \
  100|      4|        if ((_Py_path_config.ATTR >= 0) && (config->ATTR <= 0)) { \
  101|      4|            config->ATTR = _Py_path_config.ATTR; \
  102|      4|        } \
  103|      4|    } while (0)
  104|       |
  105|      4|    COPY(prefix);
  ------------------
  |  |   82|      4|    do { \
  |  |   83|      4|        if (_Py_path_config.ATTR && !config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (83:13): [True: 0, False: 4]
  |  |  |  Branch (83:37): [True: 0, False: 0]
  |  |  ------------------
  |  |   84|      0|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.ATTR); \
  |  |   85|      0|            if (_PyStatus_EXCEPTION(status)) goto done; \
  |  |  ------------------
  |  |  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   86|      0|        } \
  |  |   87|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (87:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  106|      4|    COPY(exec_prefix);
  ------------------
  |  |   82|      4|    do { \
  |  |   83|      4|        if (_Py_path_config.ATTR && !config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (83:13): [True: 0, False: 4]
  |  |  |  Branch (83:37): [True: 0, False: 0]
  |  |  ------------------
  |  |   84|      0|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.ATTR); \
  |  |   85|      0|            if (_PyStatus_EXCEPTION(status)) goto done; \
  |  |  ------------------
  |  |  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   86|      0|        } \
  |  |   87|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (87:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  107|      4|    COPY(stdlib_dir);
  ------------------
  |  |   82|      4|    do { \
  |  |   83|      4|        if (_Py_path_config.ATTR && !config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (83:13): [True: 0, False: 4]
  |  |  |  Branch (83:37): [True: 0, False: 0]
  |  |  ------------------
  |  |   84|      0|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.ATTR); \
  |  |   85|      0|            if (_PyStatus_EXCEPTION(status)) goto done; \
  |  |  ------------------
  |  |  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   86|      0|        } \
  |  |   87|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (87:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  108|      4|    COPY(program_name);
  ------------------
  |  |   82|      4|    do { \
  |  |   83|      4|        if (_Py_path_config.ATTR && !config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (83:13): [True: 0, False: 4]
  |  |  |  Branch (83:37): [True: 0, False: 0]
  |  |  ------------------
  |  |   84|      0|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.ATTR); \
  |  |   85|      0|            if (_PyStatus_EXCEPTION(status)) goto done; \
  |  |  ------------------
  |  |  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   86|      0|        } \
  |  |   87|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (87:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  109|      4|    COPY(home);
  ------------------
  |  |   82|      4|    do { \
  |  |   83|      4|        if (_Py_path_config.ATTR && !config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (83:13): [True: 0, False: 4]
  |  |  |  Branch (83:37): [True: 0, False: 0]
  |  |  ------------------
  |  |   84|      0|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.ATTR); \
  |  |   85|      0|            if (_PyStatus_EXCEPTION(status)) goto done; \
  |  |  ------------------
  |  |  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   86|      0|        } \
  |  |   87|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (87:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  110|      4|    COPY2(executable, program_full_path);
  ------------------
  |  |   90|      4|    do { \
  |  |   91|      4|        if (_Py_path_config.SRCATTR && !config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (91:13): [True: 0, False: 4]
  |  |  |  Branch (91:40): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|            status = PyConfig_SetString(config, &config->ATTR, _Py_path_config.SRCATTR); \
  |  |   93|      0|            if (_PyStatus_EXCEPTION(status)) goto done; \
  |  |  ------------------
  |  |  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   94|      0|        } \
  |  |   95|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (95:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  111|      4|    COPY_INT(_is_python_build);
  ------------------
  |  |   98|      4|    do { \
  |  |   99|      4|        assert(_Py_path_config.ATTR >= 0); \
  |  |  100|      4|        if ((_Py_path_config.ATTR >= 0) && (config->ATTR <= 0)) { \
  |  |  ------------------
  |  |  |  Branch (100:13): [True: 4, False: 0]
  |  |  |  Branch (100:44): [True: 4, False: 0]
  |  |  ------------------
  |  |  101|      4|            config->ATTR = _Py_path_config.ATTR; \
  |  |  102|      4|        } \
  |  |  103|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (103:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (111:5): [True: 4, False: 0]
  ------------------
  112|       |    // module_search_path must be initialised - not read
  113|      4|#undef COPY
  114|      4|#undef COPY2
  115|      4|#undef COPY_INT
  116|       |
  117|      4|done:
  118|      4|    return status;
  119|      4|}
_PyPathConfig_UpdateGlobal:
  123|      2|{
  124|      2|#define COPY(ATTR) \
  125|      2|    do { \
  126|      2|        if (config->ATTR) { \
  127|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  128|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->ATTR); \
  129|      2|            if (!_Py_path_config.ATTR) goto error; \
  130|      2|        } \
  131|      2|    } while (0)
  132|       |
  133|      2|#define COPY2(ATTR, SRCATTR) \
  134|      2|    do { \
  135|      2|        if (config->SRCATTR) { \
  136|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  137|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->SRCATTR); \
  138|      2|            if (!_Py_path_config.ATTR) goto error; \
  139|      2|        } \
  140|      2|    } while (0)
  141|       |
  142|      2|#define COPY_INT(ATTR) \
  143|      2|    do { \
  144|      2|        if (config->ATTR > 0) { \
  145|      2|            _Py_path_config.ATTR = config->ATTR; \
  146|      2|        } \
  147|      2|    } while (0)
  148|       |
  149|      2|    COPY(prefix);
  ------------------
  |  |  125|      2|    do { \
  |  |  126|      2|        if (config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (126:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  127|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  |  |  128|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->ATTR); \
  |  |  129|      2|            if (!_Py_path_config.ATTR) goto error; \
  |  |  ------------------
  |  |  |  Branch (129:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  130|      2|        } \
  |  |  131|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (131:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  150|      2|    COPY(exec_prefix);
  ------------------
  |  |  125|      2|    do { \
  |  |  126|      2|        if (config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (126:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  127|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  |  |  128|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->ATTR); \
  |  |  129|      2|            if (!_Py_path_config.ATTR) goto error; \
  |  |  ------------------
  |  |  |  Branch (129:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  130|      2|        } \
  |  |  131|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (131:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  151|      2|    COPY(stdlib_dir);
  ------------------
  |  |  125|      2|    do { \
  |  |  126|      2|        if (config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (126:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  127|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  |  |  128|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->ATTR); \
  |  |  129|      2|            if (!_Py_path_config.ATTR) goto error; \
  |  |  ------------------
  |  |  |  Branch (129:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  130|      2|        } \
  |  |  131|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (131:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  152|      2|    COPY(program_name);
  ------------------
  |  |  125|      2|    do { \
  |  |  126|      2|        if (config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (126:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  127|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  |  |  128|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->ATTR); \
  |  |  129|      2|            if (!_Py_path_config.ATTR) goto error; \
  |  |  ------------------
  |  |  |  Branch (129:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  130|      2|        } \
  |  |  131|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (131:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  153|      2|    COPY(home);
  ------------------
  |  |  125|      2|    do { \
  |  |  126|      2|        if (config->ATTR) { \
  |  |  ------------------
  |  |  |  Branch (126:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  127|      0|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  |  |  128|      0|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->ATTR); \
  |  |  129|      0|            if (!_Py_path_config.ATTR) goto error; \
  |  |  ------------------
  |  |  |  Branch (129:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  130|      0|        } \
  |  |  131|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (131:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  154|      2|    COPY2(program_full_path, executable);
  ------------------
  |  |  134|      2|    do { \
  |  |  135|      2|        if (config->SRCATTR) { \
  |  |  ------------------
  |  |  |  Branch (135:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  136|      2|            _PyMem_DefaultRawFree(_Py_path_config.ATTR); \
  |  |  137|      2|            _Py_path_config.ATTR = _PyMem_DefaultRawWcsdup(config->SRCATTR); \
  |  |  138|      2|            if (!_Py_path_config.ATTR) goto error; \
  |  |  ------------------
  |  |  |  Branch (138:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  139|      2|        } \
  |  |  140|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (140:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  155|      2|    COPY_INT(_is_python_build);
  ------------------
  |  |  143|      2|    do { \
  |  |  144|      2|        if (config->ATTR > 0) { \
  |  |  ------------------
  |  |  |  Branch (144:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  145|      0|            _Py_path_config.ATTR = config->ATTR; \
  |  |  146|      0|        } \
  |  |  147|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (147:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  156|      2|#undef COPY
  157|      2|#undef COPY2
  158|      2|#undef COPY_INT
  159|       |
  160|      2|    _PyMem_DefaultRawFree(_Py_path_config.module_search_path);
  161|      2|    _Py_path_config.module_search_path = NULL;
  162|      2|    _PyMem_DefaultRawFree(_Py_path_config.calculated_module_search_path);
  163|      2|    _Py_path_config.calculated_module_search_path = NULL;
  164|       |
  165|      2|    do {
  166|      2|        size_t cch = 1;
  167|      8|        for (Py_ssize_t i = 0; i < config->module_search_paths.length; ++i) {
  ------------------
  |  Branch (167:32): [True: 6, False: 2]
  ------------------
  168|      6|            cch += 1 + wcslen(config->module_search_paths.items[i]);
  169|      6|        }
  170|       |
  171|      2|        wchar_t *path = (wchar_t*)_PyMem_DefaultRawMalloc(sizeof(wchar_t) * cch);
  172|      2|        if (!path) {
  ------------------
  |  Branch (172:13): [True: 0, False: 2]
  ------------------
  173|      0|            goto error;
  174|      0|        }
  175|      2|        wchar_t *p = path;
  176|      8|        for (Py_ssize_t i = 0; i < config->module_search_paths.length; ++i) {
  ------------------
  |  Branch (176:32): [True: 6, False: 2]
  ------------------
  177|      6|            wcscpy(p, config->module_search_paths.items[i]);
  178|      6|            p = wcschr(p, L'\0');
  179|      6|            *p++ = DELIM;
  ------------------
  |  |   51|      6|#  define DELIM L':'
  ------------------
  180|      6|            *p = L'\0';
  181|      6|        }
  182|       |
  183|      4|        do {
  184|      4|            *p = L'\0';
  185|      4|        } while (p != path && *--p == DELIM);
  ------------------
  |  |   51|      4|#  define DELIM L':'
  ------------------
  |  Branch (185:18): [True: 4, False: 0]
  |  Branch (185:31): [True: 2, False: 2]
  ------------------
  186|      2|        _Py_path_config.calculated_module_search_path = path;
  187|      2|    } while (0);
  ------------------
  |  Branch (187:14): [Folded, False: 2]
  ------------------
  188|       |
  189|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  190|       |
  191|      0|error:
  192|      0|    return _PyStatus_NO_MEMORY();
  ------------------
  |  |   33|      0|#define _PyStatus_NO_MEMORY() _PyStatus_ERR(_PyStatus_NO_MEMORY_ERRMSG)
  |  |  ------------------
  |  |  |  |   27|      0|    (PyStatus){ \
  |  |  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  |  |  ------------------
  |  |  |  |   30|      0|        .err_msg = (ERR_MSG)}
  |  |  ------------------
  ------------------
  193|      2|}
_Py_GetStdlibDir:
  292|      2|{
  293|      2|    wchar_t *stdlib_dir = _Py_path_config.stdlib_dir;
  294|      2|    if (stdlib_dir != NULL && stdlib_dir[0] != L'\0') {
  ------------------
  |  Branch (294:9): [True: 2, False: 0]
  |  Branch (294:31): [True: 2, False: 0]
  ------------------
  295|      2|        return stdlib_dir;
  296|      2|    }
  297|      0|    return NULL;
  298|      2|}

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

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

Py_HashPointer:
  134|    567|{
  135|    567|    Py_hash_t hash = _Py_HashPointerRaw(ptr);
  136|    567|    if (hash == -1) {
  ------------------
  |  Branch (136:9): [True: 0, False: 567]
  ------------------
  137|      0|        hash = -2;
  138|      0|    }
  139|    567|    return hash;
  140|    567|}
PyObject_GenericHash:
  144|    433|{
  145|    433|    return Py_HashPointer(obj);
  146|    433|}
Py_HashBuffer:
  150|  5.36M|{
  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|  5.36M|    if (len == 0) {
  ------------------
  |  Branch (155:9): [True: 3, False: 5.36M]
  ------------------
  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|  5.36M|    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|  5.36M|    {
  190|  5.36M|        x = PyHash_Func.hash(ptr, len);
  191|  5.36M|    }
  192|       |
  193|  5.36M|    if (x == -1) {
  ------------------
  |  Branch (193:9): [True: 0, False: 5.36M]
  ------------------
  194|      0|        return -2;
  195|      0|    }
  196|  5.36M|    return x;
  197|  5.36M|}
PyHash_GetFuncDef:
  216|      2|{
  217|      2|    return &PyHash_Func;
  218|      2|}
pyhash.c:siphash13:
  371|  5.36M|siphash13(uint64_t k0, uint64_t k1, const void *src, Py_ssize_t src_sz) {
  372|  5.36M|    uint64_t b = (uint64_t)src_sz << 56;
  373|  5.36M|    const uint8_t *in = (const uint8_t*)src;
  374|       |
  375|  5.36M|    uint64_t v0 = k0 ^ 0x736f6d6570736575ULL;
  376|  5.36M|    uint64_t v1 = k1 ^ 0x646f72616e646f6dULL;
  377|  5.36M|    uint64_t v2 = k0 ^ 0x6c7967656e657261ULL;
  378|  5.36M|    uint64_t v3 = k1 ^ 0x7465646279746573ULL;
  379|       |
  380|  5.36M|    uint64_t t;
  381|  5.36M|    uint8_t *pt;
  382|       |
  383|   711M|    while (src_sz >= 8) {
  ------------------
  |  Branch (383:12): [True: 706M, False: 5.36M]
  ------------------
  384|   706M|        uint64_t mi;
  385|   706M|        memcpy(&mi, in, sizeof(mi));
  386|   706M|        mi = _le64toh(mi);
  ------------------
  |  |  332|   706M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  387|   706M|        in += sizeof(mi);
  388|   706M|        src_sz -= sizeof(mi);
  389|   706M|        v3 ^= mi;
  390|   706M|        SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|   706M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|   706M|    a += b; c += d;                 \
  |  |  |  |  357|   706M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|   706M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|   706M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|   706M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|   706M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|   706M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|   706M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|   706M|    a += b; c += d;                 \
  |  |  |  |  357|   706M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|   706M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|   706M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|   706M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|   706M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|   706M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|   706M|        v0 ^= mi;
  392|   706M|    }
  393|       |
  394|  5.36M|    t = 0;
  395|  5.36M|    pt = (uint8_t *)&t;
  396|  5.36M|    switch (src_sz) {
  ------------------
  |  Branch (396:13): [True: 5.30M, False: 62.8k]
  ------------------
  397|   339k|        case 7: pt[6] = in[6]; _Py_FALLTHROUGH;
  ------------------
  |  |  667|   339k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (397:9): [True: 339k, False: 5.02M]
  ------------------
  398|   655k|        case 6: pt[5] = in[5]; _Py_FALLTHROUGH;
  ------------------
  |  |  667|   655k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (398:9): [True: 316k, False: 5.04M]
  ------------------
  399|  1.51M|        case 5: pt[4] = in[4]; _Py_FALLTHROUGH;
  ------------------
  |  |  667|  1.51M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (399:9): [True: 857k, False: 4.50M]
  ------------------
  400|  1.62M|        case 4: memcpy(pt, in, sizeof(uint32_t)); break;
  ------------------
  |  Branch (400:9): [True: 107k, False: 5.25M]
  ------------------
  401|  3.39M|        case 3: pt[2] = in[2]; _Py_FALLTHROUGH;
  ------------------
  |  |  667|  3.39M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (401:9): [True: 3.39M, False: 1.97M]
  ------------------
  402|  3.63M|        case 2: pt[1] = in[1]; _Py_FALLTHROUGH;
  ------------------
  |  |  667|  3.63M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (402:9): [True: 239k, False: 5.12M]
  ------------------
  403|  3.67M|        case 1: pt[0] = in[0]; break;
  ------------------
  |  Branch (403:9): [True: 48.8k, False: 5.31M]
  ------------------
  404|  5.36M|    }
  405|  5.36M|    b |= _le64toh(t);
  ------------------
  |  |  332|  5.36M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  406|       |
  407|  5.36M|    v3 ^= b;
  408|  5.36M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  5.36M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  5.36M|    a += b; c += d;                 \
  |  |  |  |  357|  5.36M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  5.36M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  5.36M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  5.36M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  5.36M|    a += b; c += d;                 \
  |  |  |  |  357|  5.36M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  5.36M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  5.36M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|  5.36M|    v0 ^= b;
  410|  5.36M|    v2 ^= 0xff;
  411|  5.36M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  5.36M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  5.36M|    a += b; c += d;                 \
  |  |  |  |  357|  5.36M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  5.36M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  5.36M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  5.36M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  5.36M|    a += b; c += d;                 \
  |  |  |  |  357|  5.36M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  5.36M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  5.36M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|  5.36M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  5.36M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  5.36M|    a += b; c += d;                 \
  |  |  |  |  357|  5.36M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  5.36M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  5.36M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  5.36M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  5.36M|    a += b; c += d;                 \
  |  |  |  |  357|  5.36M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  5.36M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  5.36M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|  5.36M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  5.36M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  5.36M|    a += b; c += d;                 \
  |  |  |  |  357|  5.36M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  5.36M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  5.36M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  5.36M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  5.36M|    a += b; c += d;                 \
  |  |  |  |  357|  5.36M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  5.36M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  5.36M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  5.36M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|       |
  415|       |    /* modified */
  416|  5.36M|    t = (v0 ^ v1) ^ (v2 ^ v3);
  417|  5.36M|    return t;
  418|  5.36M|}
pyhash.c:pysiphash:
  480|  5.36M|pysiphash(const void *src, Py_ssize_t src_sz) {
  481|  5.36M|    return (Py_hash_t)siphash13(
  482|  5.36M|        _le64toh(_Py_HashSecret.siphash.k0), _le64toh(_Py_HashSecret.siphash.k1),
  ------------------
  |  |  332|  5.36M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
                      _le64toh(_Py_HashSecret.siphash.k0), _le64toh(_Py_HashSecret.siphash.k1),
  ------------------
  |  |  332|  5.36M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  483|  5.36M|        src, src_sz);
  484|  5.36M|}

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

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

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

_PyTimeFraction_Set:
   79|      4|{
   80|      4|    if (numer < 1 || denom < 1) {
  ------------------
  |  Branch (80:9): [True: 0, False: 4]
  |  Branch (80:22): [True: 0, False: 4]
  ------------------
   81|      0|        return -1;
   82|      0|    }
   83|       |
   84|      4|    PyTime_t gcd = _PyTime_GCD(numer, denom);
   85|      4|    frac->numer = numer / gcd;
   86|      4|    frac->denom = denom / gcd;
   87|      4|    return 0;
   88|      4|}
_PyLong_FromTime_t:
  226|  1.99k|{
  227|  1.99k|#if SIZEOF_TIME_T == SIZEOF_LONG_LONG
  228|  1.99k|    return PyLong_FromLongLong((long long)t);
  229|       |#elif SIZEOF_TIME_T <= SIZEOF_LONG
  230|       |    return PyLong_FromLong((long)t);
  231|       |#else
  232|       |#   error "unsupported time_t size"
  233|       |#endif
  234|  1.99k|}
_PyTime_FromSeconds:
  539|  1.00k|{
  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|  1.00k|    static_assert(INT_MAX <= PyTime_MAX / SEC_TO_NS, "PyTime_t overflow");
  544|  1.00k|    static_assert(INT_MIN >= PyTime_MIN / SEC_TO_NS, "PyTime_t underflow");
  545|       |
  546|  1.00k|    PyTime_t t = (PyTime_t)seconds;
  547|  1.00k|    assert((t >= 0 && t <= PyTime_MAX / SEC_TO_NS)
  ------------------
  |  Branch (547:5): [True: 0, False: 1.00k]
  |  Branch (547:5): [True: 0, False: 0]
  |  Branch (547:5): [True: 1.00k, False: 0]
  |  Branch (547:5): [True: 1.00k, False: 0]
  ------------------
  548|  1.00k|           || (t < 0 && t >= PyTime_MIN / SEC_TO_NS));
  549|  1.00k|    t *= SEC_TO_NS;
  ------------------
  |  |   35|  1.00k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  1.00k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  1.00k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.00k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  1.00k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|  1.00k|    return t;
  551|  1.00k|}
_PyTime_FromMicrosecondsClamp:
  556|    285|{
  557|    285|    PyTime_t ns = _PyTime_Mul(us, US_TO_NS);
  ------------------
  |  |   33|    285|#define US_TO_NS 1000
  ------------------
  558|    285|    return ns;
  559|    285|}
PyTime_AsSecondsDouble:
  705|  4.70k|{
  706|       |    /* volatile avoids optimization changing how numbers are rounded */
  707|  4.70k|    volatile double d;
  708|       |
  709|  4.70k|    if (ns % SEC_TO_NS == 0) {
  ------------------
  |  |   35|  4.70k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  4.70k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  4.70k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  4.70k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  4.70k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (709:9): [True: 0, False: 4.70k]
  ------------------
  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|  4.70k|    else {
  716|  4.70k|        d = (double)ns;
  717|  4.70k|        d /= 1e9;
  718|  4.70k|    }
  719|  4.70k|    return d;
  720|  4.70k|}
_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|  9.40k|{
 1290|  9.40k|    if (py_get_monotonic_clock(result, NULL, 0) < 0) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 9.40k]
  ------------------
 1291|      0|        *result = 0;
 1292|      0|        return -1;
 1293|      0|    }
 1294|  9.40k|    return 0;
 1295|  9.40k|}
PyTime_PerfCounterRaw:
 1321|  9.40k|{
 1322|  9.40k|    return PyTime_MonotonicRaw(result);
 1323|  9.40k|}
_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|  9.40k|{
  118|  9.40k|    if (t2 > 0 && *t1 > PyTime_MAX - t2) {
  ------------------
  |  |   12|  9.40k|#define PyTime_MAX INT64_MAX
  ------------------
  |  Branch (118:9): [True: 9.40k, False: 0]
  |  Branch (118:19): [True: 0, False: 9.40k]
  ------------------
  119|      0|        *t1 = PyTime_MAX;
  ------------------
  |  |   12|      0|#define PyTime_MAX INT64_MAX
  ------------------
  120|      0|        return -1;
  121|      0|    }
  122|  9.40k|    else if (t2 < 0 && *t1 < PyTime_MIN - t2) {
  ------------------
  |  |   11|      0|#define PyTime_MIN INT64_MIN
  ------------------
  |  Branch (122:14): [True: 0, False: 9.40k]
  |  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|  9.40k|    else {
  127|  9.40k|        *t1 += t2;
  128|  9.40k|        return 0;
  129|  9.40k|    }
  130|  9.40k|}
pytime.c:_PyTime_Mul:
  173|    285|{
  174|    285|    (void)pytime_mul(&t, k);
  175|    285|    return t;
  176|    285|}
pytime.c:pytime_mul:
  157|  9.69k|{
  158|  9.69k|    assert(k >= 0);
  ------------------
  |  Branch (158:5): [True: 9.69k, False: 0]
  ------------------
  159|  9.69k|    if (pytime_mul_check_overflow(*t, k)) {
  ------------------
  |  Branch (159:9): [True: 0, False: 9.69k]
  ------------------
  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|  9.69k|    else {
  164|  9.69k|        *t *= k;
  165|  9.69k|        return 0;
  166|  9.69k|    }
  167|  9.69k|}
pytime.c:pytime_mul_check_overflow:
  143|  9.69k|{
  144|  9.69k|    if (b != 0) {
  ------------------
  |  Branch (144:9): [True: 9.69k, False: 0]
  ------------------
  145|  9.69k|        assert(b > 0);
  ------------------
  |  Branch (145:9): [True: 9.69k, False: 0]
  ------------------
  146|  9.69k|        return ((a < PyTime_MIN / b) || (PyTime_MAX / b < a));
  ------------------
  |  |   11|  9.69k|#define PyTime_MIN INT64_MIN
  ------------------
                      return ((a < PyTime_MIN / b) || (PyTime_MAX / b < a));
  ------------------
  |  |   12|  9.69k|#define PyTime_MAX INT64_MAX
  ------------------
  |  Branch (146:17): [True: 0, False: 9.69k]
  |  Branch (146:41): [True: 0, False: 9.69k]
  ------------------
  147|  9.69k|    }
  148|      0|    else {
  149|      0|        return 0;
  150|      0|    }
  151|  9.69k|}
pytime.c:pytime_fromtimespec:
  565|  9.40k|{
  566|  9.40k|    PyTime_t t, tv_nsec;
  567|       |
  568|  9.40k|    static_assert(sizeof(ts->tv_sec) <= sizeof(PyTime_t),
  569|  9.40k|                  "timespec.tv_sec is larger than PyTime_t");
  570|  9.40k|    t = (PyTime_t)ts->tv_sec;
  571|       |
  572|  9.40k|    int res1 = pytime_mul(&t, SEC_TO_NS);
  ------------------
  |  |   35|  9.40k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  9.40k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  9.40k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  9.40k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  9.40k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|       |
  574|  9.40k|    tv_nsec = ts->tv_nsec;
  575|  9.40k|    int res2 = pytime_add(&t, tv_nsec);
  576|       |
  577|  9.40k|    *tp = t;
  578|       |
  579|  9.40k|    if (raise_exc && (res1 < 0 || res2 < 0)) {
  ------------------
  |  Branch (579:9): [True: 0, False: 9.40k]
  |  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|  9.40k|    return 0;
  584|  9.40k|}
pytime.c:py_get_monotonic_clock:
 1192|  9.40k|{
 1193|  9.40k|    assert(info == NULL || raise_exc);
  ------------------
  |  Branch (1193:5): [True: 9.40k, False: 0]
  |  Branch (1193:5): [True: 0, False: 0]
  ------------------
 1194|  9.40k|    if (raise_exc) {
  ------------------
  |  Branch (1194:9): [True: 0, False: 9.40k]
  ------------------
 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|  9.40k|    const clockid_t clk_id = CLOCK_MONOTONIC;
 1244|  9.40k|    const char *implementation = "clock_gettime(CLOCK_MONOTONIC)";
 1245|  9.40k|#endif
 1246|       |
 1247|  9.40k|    struct timespec ts;
 1248|  9.40k|    if (clock_gettime(clk_id, &ts) != 0) {
  ------------------
  |  Branch (1248:9): [True: 0, False: 9.40k]
  ------------------
 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|  9.40k|    if (pytime_fromtimespec(tp, &ts, raise_exc) < 0) {
  ------------------
  |  Branch (1256:9): [True: 0, False: 9.40k]
  ------------------
 1257|      0|        return -1;
 1258|      0|    }
 1259|       |
 1260|  9.40k|    if (info) {
  ------------------
  |  Branch (1260:9): [True: 0, False: 9.40k]
  ------------------
 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|  9.40k|#endif
 1272|  9.40k|    return 0;
 1273|  9.40k|}

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

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

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

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

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

PyThread_init_thread:
   49|      6|{
   50|      6|    if (initialized) {
  ------------------
  |  |   45|      6|#define initialized _PyRuntime.threads.initialized
  |  |  ------------------
  |  |  |  Branch (45:21): [True: 4, False: 2]
  |  |  ------------------
  ------------------
   51|      4|        return;
   52|      4|    }
   53|      2|    initialized = 1;
  ------------------
  |  |   45|      2|#define initialized _PyRuntime.threads.initialized
  ------------------
   54|      2|    PyThread__init_thread();
   55|      2|}
PyThread_allocate_lock:
   81|    101|{
   82|    101|    if (!initialized) {
  ------------------
  |  |   45|    101|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (82:9): [True: 0, False: 101]
  ------------------
   83|      0|        PyThread_init_thread();
   84|      0|    }
   85|       |
   86|    101|    PyMutex *lock = (PyMutex *)PyMem_RawMalloc(sizeof(PyMutex));
   87|    101|    if (lock) {
  ------------------
  |  Branch (87:9): [True: 101, False: 0]
  ------------------
   88|    101|        *lock = (PyMutex){0};
   89|    101|    }
   90|       |
   91|    101|    return (PyThread_type_lock)lock;
   92|    101|}
PyThread_free_lock:
   96|     95|{
   97|     95|    PyMem_RawFree(lock);
   98|     95|}
PyThread_acquire_lock_timed:
  103|    285|{
  104|    285|    PyTime_t timeout;  // relative timeout
  105|    285|    if (microseconds >= 0) {
  ------------------
  |  Branch (105:9): [True: 285, 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|    285|        timeout = _PyTime_FromMicrosecondsClamp(microseconds);
  115|    285|    }
  116|      0|    else {
  117|      0|        timeout = -1;
  118|      0|    }
  119|       |
  120|    285|    _PyLockFlags flags = _Py_LOCK_DONT_DETACH;
  121|    285|    if (intr_flag) {
  ------------------
  |  Branch (121:9): [True: 0, False: 285]
  ------------------
  122|      0|        flags |= _PY_FAIL_IF_INTERRUPTED;
  123|      0|    }
  124|       |
  125|    285|    return _PyMutex_LockTimed((PyMutex *)lock, timeout, flags);
  126|    285|}
PyThread_release_lock:
  130|    285|{
  131|    285|    PyMutex_Unlock((PyMutex *)lock);
  ------------------
  |  |   70|    285|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  132|    285|}
PyThread_acquire_lock:
  143|    285|{
  144|    285|    return PyThread_acquire_lock_timed(lock, waitflag ? -1 : 0, /*intr_flag=*/0);
  ------------------
  |  Branch (144:46): [True: 0, False: 285]
  ------------------
  145|    285|}
PyThread_GetInfo:
  310|      2|{
  311|      2|    PyObject *threadinfo, *value;
  312|      2|    int pos = 0;
  313|      2|#if (defined(_POSIX_THREADS) && defined(HAVE_CONFSTR) \
  314|      2|     && defined(_CS_GNU_LIBPTHREAD_VERSION))
  315|      2|    char buffer[255];
  316|      2|    int len;
  317|      2|#endif
  318|       |
  319|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
  320|      2|    if (_PyStructSequence_InitBuiltin(interp, &ThreadInfoType, &threadinfo_desc) < 0) {
  ------------------
  |  Branch (320:9): [True: 0, False: 2]
  ------------------
  321|      0|        return NULL;
  322|      0|    }
  323|       |
  324|      2|    threadinfo = PyStructSequence_New(&ThreadInfoType);
  325|      2|    if (threadinfo == NULL)
  ------------------
  |  Branch (325:9): [True: 0, False: 2]
  ------------------
  326|      0|        return NULL;
  327|       |
  328|      2|    value = PyUnicode_FromString(PYTHREAD_NAME);
  ------------------
  |  |   64|      2|#     define PYTHREAD_NAME "pthread"
  ------------------
  329|      2|    if (value == NULL) {
  ------------------
  |  Branch (329:9): [True: 0, False: 2]
  ------------------
  330|      0|        Py_DECREF(threadinfo);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|      0|        return NULL;
  332|      0|    }
  333|      2|    PyStructSequence_SET_ITEM(threadinfo, pos++, value);
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
  334|       |
  335|       |#ifdef HAVE_PTHREAD_STUBS
  336|       |    value = Py_NewRef(Py_None);
  337|       |#else
  338|      2|    value = PyUnicode_FromString("pymutex");
  339|      2|    if (value == NULL) {
  ------------------
  |  Branch (339:9): [True: 0, False: 2]
  ------------------
  340|      0|        Py_DECREF(threadinfo);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|      0|        return NULL;
  342|      0|    }
  343|      2|#endif
  344|      2|    PyStructSequence_SET_ITEM(threadinfo, pos++, value);
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
  345|       |
  346|      2|#if (defined(_POSIX_THREADS) && defined(HAVE_CONFSTR) \
  347|      2|     && defined(_CS_GNU_LIBPTHREAD_VERSION))
  348|      2|    value = NULL;
  349|      2|    len = confstr(_CS_GNU_LIBPTHREAD_VERSION, buffer, sizeof(buffer));
  350|      2|    if (1 < len && (size_t)len < sizeof(buffer)) {
  ------------------
  |  Branch (350:9): [True: 2, False: 0]
  |  Branch (350:20): [True: 2, False: 0]
  ------------------
  351|      2|        value = PyUnicode_DecodeFSDefaultAndSize(buffer, len-1);
  352|      2|        if (value == NULL)
  ------------------
  |  Branch (352:13): [True: 0, False: 2]
  ------------------
  353|      0|            PyErr_Clear();
  354|      2|    }
  355|      2|    if (value == NULL)
  ------------------
  |  Branch (355:9): [True: 0, False: 2]
  ------------------
  356|      0|#endif
  357|      0|    {
  358|      0|        value = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|      0|    }
  360|      2|    PyStructSequence_SET_ITEM(threadinfo, pos++, value);
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
  361|      2|    return threadinfo;
  362|      2|}

_PyThread_cond_init:
  142|      4|{
  143|      4|    return pthread_cond_init(cond, condattr_monotonic);
  ------------------
  |  |  123|      4|#define condattr_monotonic _PyRuntime.threads._condattr_monotonic.ptr
  ------------------
  144|      4|}
PyThread_get_thread_ident_ex:
  364|  12.4k|PyThread_get_thread_ident_ex(void) {
  365|  12.4k|    volatile pthread_t threadid;
  366|  12.4k|    if (!initialized)
  ------------------
  |  |   45|  12.4k|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (366:9): [True: 2, False: 12.4k]
  ------------------
  367|      2|        PyThread_init_thread();
  368|  12.4k|    threadid = pthread_self();
  369|  12.4k|    return _pthread_t_to_ident(threadid);
  370|  12.4k|}
PyThread_get_thread_ident:
  374|  2.50k|{
  375|  2.50k|    return (unsigned long) PyThread_get_thread_ident_ex();
  376|  2.50k|}
PyThread_get_thread_native_id:
  381|      2|{
  382|      2|    if (!initialized)
  ------------------
  |  |   45|      2|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (382:9): [True: 0, False: 2]
  ------------------
  383|      0|        PyThread_init_thread();
  384|       |#ifdef __APPLE__
  385|       |    uint64_t native_id;
  386|       |    (void) pthread_threadid_np(NULL, &native_id);
  387|       |#elif defined(_Py_HAVE_GETTID)
  388|       |    pid_t native_id;
  389|      2|    native_id = gettid();
  390|       |#elif defined(__linux__)
  391|       |    pid_t native_id;
  392|       |    native_id = syscall(SYS_gettid);
  393|       |#elif defined(__FreeBSD__)
  394|       |    int native_id;
  395|       |    native_id = pthread_getthreadid_np();
  396|       |#elif defined(__FreeBSD_kernel__)
  397|       |    long native_id;
  398|       |    syscall(SYS_thr_self, &native_id);
  399|       |#elif defined(__OpenBSD__)
  400|       |    pid_t native_id;
  401|       |    native_id = getthrid();
  402|       |#elif defined(_AIX)
  403|       |    tid_t native_id;
  404|       |    native_id = thread_self();
  405|       |#elif defined(__NetBSD__)
  406|       |    lwpid_t native_id;
  407|       |    native_id = _lwp_self();
  408|       |#elif defined(__DragonFly__)
  409|       |    // lwp_gettid() is only unique within a process, so combine it with the pid.
  410|       |    unsigned long native_id = (unsigned long)getpid() << 32 | lwp_gettid();
  411|       |#elif defined(__sun__) && SIZEOF_LONG >= 8
  412|       |    unsigned long native_id = (unsigned long)getpid() << 32 | thr_self();
  413|       |#endif
  414|      2|    return (unsigned long) native_id;
  415|      2|}
PyThread_tss_create:
  579|      2|{
  580|      2|    assert(key != NULL);
  ------------------
  |  Branch (580:5): [True: 2, False: 0]
  ------------------
  581|       |    /* If the key has been created, function is silently skipped. */
  582|      2|    if (key->_is_initialized) {
  ------------------
  |  Branch (582:9): [True: 0, False: 2]
  ------------------
  583|      0|        return 0;
  584|      0|    }
  585|       |
  586|      2|    int fail = pthread_key_create(&(key->_key), NULL);
  587|      2|    if (fail) {
  ------------------
  |  Branch (587:9): [True: 0, False: 2]
  ------------------
  588|      0|        return -1;
  589|      0|    }
  590|      2|    key->_is_initialized = 1;
  591|      2|    return 0;
  592|      2|}
thread.c:PyThread__init_thread:
  199|      2|{
  200|       |    // The library is only initialized once in the process,
  201|       |    // regardless of how many times the Python runtime is initialized.
  202|      2|    static int lib_initialized = 0;
  203|      2|    if (!lib_initialized) {
  ------------------
  |  Branch (203:9): [True: 2, False: 0]
  ------------------
  204|      2|        lib_initialized = 1;
  205|       |#if defined(_AIX) && defined(__GNUC__)
  206|       |        extern void pthread_init(void);
  207|       |        pthread_init();
  208|       |#endif
  209|      2|    }
  210|      2|    init_condattr();
  211|      2|}
thread.c:init_condattr:
  127|      2|{
  128|      2|#ifdef CONDATTR_MONOTONIC
  129|      2|# define ca _PyRuntime.threads._condattr_monotonic.val
  130|       |    // XXX We need to check the return code?
  131|      2|    pthread_condattr_init(&ca);
  ------------------
  |  |  129|      2|# define ca _PyRuntime.threads._condattr_monotonic.val
  ------------------
  132|       |    // XXX We need to run pthread_condattr_destroy() during runtime fini.
  133|      2|    if (pthread_condattr_setclock(&ca, CLOCK_MONOTONIC) == 0) {
  ------------------
  |  |  129|      2|# define ca _PyRuntime.threads._condattr_monotonic.val
  ------------------
  |  Branch (133:9): [True: 2, False: 0]
  ------------------
  134|      2|        condattr_monotonic = &ca;  // Use monotonic clock
  ------------------
  |  |  123|      2|#define condattr_monotonic _PyRuntime.threads._condattr_monotonic.ptr
  ------------------
                      condattr_monotonic = &ca;  // Use monotonic clock
  ------------------
  |  |  129|      2|# define ca _PyRuntime.threads._condattr_monotonic.val
  ------------------
  135|      2|    }
  136|      2|# undef ca
  137|      2|#endif  // CONDATTR_MONOTONIC
  138|      2|}
thread.c:_pthread_t_to_ident:
  308|  12.4k|_pthread_t_to_ident(pthread_t value) {
  309|       |// Cast through an integer type of the same size to avoid sign-extension.
  310|  12.4k|#if SIZEOF_PTHREAD_T == SIZEOF_VOID_P
  311|  12.4k|    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|  12.4k|}

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

_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|  1.32k|{
  108|  1.32k|    *cache_slot(type) = &empty_cache;
  109|  1.32k|}
_PyTypeCache_Insert:
  176|  3.75k|{
  177|  3.75k|    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.75k|    if (cache->available == 0) {
  ------------------
  |  Branch (180:9): [True: 525, False: 3.22k]
  ------------------
  181|    525|        if (cache_resize(type, cache) == -1) {
  ------------------
  |  Branch (181:13): [True: 0, False: 525]
  ------------------
  182|       |            // out of memory, don't cache the value
  183|      0|            return;
  184|      0|        }
  185|    525|        cache = cache_get(type);
  186|    525|        assert(cache->available > 0);
  ------------------
  |  Branch (186:9): [True: 525, False: 0]
  ------------------
  187|    525|    }
  188|  3.75k|    assert(cache->version_tag == type->tp_version_tag);
  ------------------
  |  Branch (188:5): [True: 3.75k, False: 0]
  ------------------
  189|  3.75k|    cache_insert(cache, name, value);
  190|  3.75k|}
_PyTypeCache_Lookup:
  198|  1.25M|{
  199|  1.25M|    assert(PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name));
  ------------------
  |  Branch (199:5): [True: 1.25M, False: 0]
  |  Branch (199:5): [True: 1.25M, False: 0]
  ------------------
  200|  1.25M|    struct _PyTypeCacheLookupResult miss = {PyStackRef_NULL, 0, 0};
  201|  1.25M|    struct type_cache *cache = cache_get(type);
  202|  1.25M|    if (cache == NULL) {
  ------------------
  |  Branch (202:9): [True: 0, False: 1.25M]
  ------------------
  203|      0|        return miss;
  204|      0|    }
  205|  1.25M|    Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(name);
  206|  1.25M|    assert(hash != -1);
  ------------------
  |  Branch (206:5): [True: 1.25M, False: 0]
  ------------------
  207|  1.25M|    uint32_t index = hash & cache->mask;
  208|  1.25M|    _PyStackRef out_ref;
  209|  1.27M|    for (;;) {
  210|  1.27M|        PyObject *entry_name = FT_ATOMIC_LOAD_PTR_ACQUIRE(cache->hashtable[index].name);
  ------------------
  |  |  152|  1.27M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  211|  1.27M|        if (entry_name == name) {
  ------------------
  |  Branch (211:13): [True: 1.25M, False: 25.0k]
  ------------------
  212|       |#ifdef Py_GIL_DISABLED
  213|       |            if (!_Py_TryXGetStackRef(&cache->hashtable[index].value, &out_ref)) {
  214|       |                return miss;
  215|       |            }
  216|       |#else
  217|  1.25M|            PyObject *v = cache->hashtable[index].value;
  218|  1.25M|            out_ref = v ? PyStackRef_FromPyObjectNew(v) : PyStackRef_NULL;
  ------------------
  |  |  611|  1.18M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (218:23): [True: 1.18M, False: 63.6k]
  ------------------
  219|  1.25M|#endif
  220|  1.25M|            break;
  221|  1.25M|        }
  222|  25.0k|        else if (entry_name == NULL) {
  ------------------
  |  Branch (222:18): [True: 4.01k, False: 20.9k]
  ------------------
  223|  4.01k|            return miss;
  224|  4.01k|        }
  225|  20.9k|        index = (index + 1) & cache->mask;
  226|  20.9k|    }
  227|       |    // Check the cache version against the type version tag to maintain
  228|       |    // consistency with find_name_in_mro and prevent stale cache reads
  229|  1.25M|    if (cache->version_tag != FT_ATOMIC_LOAD_UINT_RELAXED(type->tp_version_tag)) {
  ------------------
  |  |  192|  1.25M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
  |  Branch (229:9): [True: 0, False: 1.25M]
  ------------------
  230|      0|        PyStackRef_XCLOSE(out_ref);
  231|      0|        return miss;
  232|      0|    }
  233|  1.25M|    return (struct _PyTypeCacheLookupResult){out_ref, 1, cache->version_tag};
  234|  1.25M|}
_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|  1.26M|{
   84|  1.26M|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.26M|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (84:9): [True: 538k, False: 723k]
  ------------------
   85|   538k|        PyInterpreterState *interp = _PyInterpreterState_GET();
   86|   538k|        managed_static_type_state *state = _PyStaticType_GetState(interp, type);
   87|   538k|        assert(state != NULL);
  ------------------
  |  Branch (87:9): [True: 538k, False: 0]
  ------------------
   88|   538k|        return &state->_tp_cache;
   89|   538k|    }
   90|   723k|    return &type->_tp_cache;
   91|  1.26M|}
typecache.c:cache_get:
   95|  1.26M|{
   96|  1.26M|    return (struct type_cache *)FT_ATOMIC_LOAD_PTR_ACQUIRE(*cache_slot(type));
  ------------------
  |  |  152|  1.26M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
   97|  1.26M|}
typecache.c:cache_resize:
  140|    525|{
  141|    525|    uint32_t old_size = cache_size(cache);
  142|    525|    uint32_t new_size;
  143|    525|    if (cache->used == 0) {
  ------------------
  |  Branch (143:9): [True: 424, False: 101]
  ------------------
  144|       |        // the cache is the empty cache, we need to allocate a new cache with the minimum size
  145|    424|        new_size = _Py_TYPECACHE_MINSIZE;
  ------------------
  |  |   14|    424|#define _Py_TYPECACHE_MINSIZE (1 << 3)
  ------------------
  146|    424|    }
  147|    101|    else {
  148|       |        // double the cache size when resizing
  149|    101|        new_size = old_size * 2;
  150|    101|    }
  151|    525|    if (new_size > _Py_TYPECACHE_MAXSIZE) {
  ------------------
  |  |   15|    525|#define _Py_TYPECACHE_MAXSIZE (1 << 16)
  ------------------
  |  Branch (151:9): [True: 0, False: 525]
  ------------------
  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|    525|    struct type_cache *new_cache = cache_allocate(new_size);
  157|    525|    if (new_cache == NULL) {
  ------------------
  |  Branch (157:9): [True: 0, False: 525]
  ------------------
  158|      0|        return -1;
  159|      0|    }
  160|    525|    OBJECT_STAT_INC(type_cache_resizes);
  ------------------
  |  |   77|    525|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  161|  9.04k|    for (uint32_t i = 0; i < old_size; i++) {
  ------------------
  |  Branch (161:26): [True: 8.52k, False: 525]
  ------------------
  162|  8.52k|        if (cache->hashtable[i].name != NULL) {
  ------------------
  |  Branch (162:13): [True: 3.84k, False: 4.67k]
  ------------------
  163|  3.84k|            cache_insert(new_cache, cache->hashtable[i].name, cache->hashtable[i].value);
  164|  3.84k|        }
  165|  8.52k|    }
  166|    525|    new_cache->version_tag = type->tp_version_tag;
  167|    525|    cache_set(type, new_cache);
  168|    525|    cache_free_delayed(cache);
  169|    525|    return 0;
  170|    525|}
typecache.c:cache_size:
   32|  7.64k|{
   33|  7.64k|    return cache->mask + 1;
   34|  7.64k|}
typecache.c:cache_allocate:
   45|    525|{
   46|       |    // size must be a power of two
   47|    525|    assert((size & (size - 1)) == 0);
  ------------------
  |  Branch (47:5): [True: 525, False: 0]
  ------------------
   48|    525|    size_t nbytes = offsetof(struct type_cache, hashtable)
   49|    525|                    + (size_t)size * sizeof(struct type_cache_entry);
   50|    525|    struct type_cache *cache = PyMem_Calloc(1, nbytes);
   51|    525|    if (cache == NULL) {
  ------------------
  |  Branch (51:9): [True: 0, False: 525]
  ------------------
   52|      0|        return NULL;
   53|      0|    }
   54|    525|    cache->mask = size - 1;
   55|       |    // load factor of 0.75
   56|    525|    cache->available = size - (size >> 2);
   57|    525|    cache->used = 0;
   58|    525|    return cache;
   59|    525|}
typecache.c:cache_insert:
  114|  7.59k|{
  115|  7.59k|    Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(name);
  116|  7.59k|    assert(hash != -1);
  ------------------
  |  Branch (116:5): [True: 7.59k, False: 0]
  ------------------
  117|  7.59k|    uint32_t index = hash & cache->mask;
  118|  14.1k|    for (;;) {
  119|  14.1k|        if (cache->hashtable[index].name == NULL) {
  ------------------
  |  Branch (119:13): [True: 7.59k, False: 6.59k]
  ------------------
  120|  7.59k|#ifndef Py_GIL_DISABLED
  121|       |            // On free-threading, all interned strings are immortal.
  122|  7.59k|            Py_INCREF(name);
  ------------------
  |  |  310|  7.59k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|  7.59k|#endif
  124|  7.59k|            cache->hashtable[index].value = value;
  125|  7.59k|            FT_ATOMIC_STORE_PTR_RELEASE(cache->hashtable[index].name, name);
  ------------------
  |  |  166|  7.59k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  126|  7.59k|            cache->used++;
  127|  7.59k|            cache->available--;
  128|  7.59k|            return;
  129|  7.59k|        }
  130|  6.59k|        else if (cache->hashtable[index].name == name) {
  ------------------
  |  Branch (130:18): [True: 0, False: 6.59k]
  ------------------
  131|       |            /* someone else added the entry before us. */
  132|      0|            return;
  133|      0|        }
  134|  6.59k|        index = (index + 1) & cache->mask;
  135|  6.59k|    }
  136|  7.59k|}
typecache.c:cache_set:
  101|    702|{
  102|    702|    FT_ATOMIC_STORE_PTR_RELEASE(*cache_slot(type), cache);
  ------------------
  |  |  166|    702|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  103|    702|}
typecache.c:cache_free_delayed:
   63|    702|{
   64|    702|    if (cache == NULL || cache == &empty_cache) {
  ------------------
  |  Branch (64:9): [True: 0, False: 702]
  |  Branch (64:26): [True: 431, False: 271]
  ------------------
   65|    431|        return;
   66|    431|    }
   67|    271|#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.84k|    for (uint32_t i = 0; i < cache_size(cache); i++) {
  ------------------
  |  Branch (70:26): [True: 6.57k, False: 271]
  ------------------
   71|  6.57k|        if (cache->hashtable[i].name != NULL) {
  ------------------
  |  Branch (71:13): [True: 4.28k, False: 2.28k]
  ------------------
   72|  4.28k|            Py_DECREF(cache->hashtable[i].name);
  ------------------
  |  |  430|  4.28k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|  4.28k|        }
   74|  6.57k|    }
   75|    271|#endif
   76|       |    // Delay the freeing of old cache for concurrent lock-free readers
   77|    271|    _PyMem_FreeDelayed(cache, cache_nbytes(cache));
   78|    271|}
typecache.c:cache_nbytes:
   38|    271|{
   39|       |    return offsetof(struct type_cache, hashtable)
   40|    271|        + (size_t)cache_size(cache) * sizeof(struct type_cache_entry);
   41|    271|}

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

